Release v1.2.0

This commit is contained in:
Guilherme Werner 2025-08-09 20:29:17 -03:00
parent 1f73b2b509
commit 596fb5e642
55 changed files with 3692 additions and 1150 deletions

View file

@ -2,9 +2,9 @@
/* eslint-disable */
/**
* Tribufu API
* REST API to access Tribufu services.
* API to access Tribufu services.
*
* The version of the OpenAPI document: 1.1.0
* The version of the OpenAPI document: 1.2.0
* Contact: contact@tribufu.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@ -32,13 +32,13 @@ export interface RevokeRequest {
* @type {string}
* @memberof RevokeRequest
*/
token?: string | null;
token: string | null;
/**
*
* @type {TokenHintType}
* @memberof RevokeRequest
*/
tokenTypeHint?: TokenHintType;
tokenTypeHint: TokenHintType;
}
@ -47,6 +47,8 @@ export interface RevokeRequest {
* Check if a given object implements the RevokeRequest interface.
*/
export function instanceOfRevokeRequest(value: object): value is RevokeRequest {
if (!('token' in value) || value['token'] === undefined) return false;
if (!('tokenTypeHint' in value) || value['tokenTypeHint'] === undefined) return false;
return true;
}
@ -60,8 +62,8 @@ export function RevokeRequestFromJSONTyped(json: any, ignoreDiscriminator: boole
}
return {
'token': json['token'] == null ? undefined : json['token'],
'tokenTypeHint': json['token_type_hint'] == null ? undefined : TokenHintTypeFromJSON(json['token_type_hint']),
'token': json['token'],
'tokenTypeHint': TokenHintTypeFromJSON(json['token_type_hint']),
};
}