mirror of
https://github.com/Tribufu/TribufuJS
synced 2026-08-10 13:21:05 +00:00
Release v1.2.0
This commit is contained in:
parent
1f73b2b509
commit
596fb5e642
55 changed files with 3692 additions and 1150 deletions
|
|
@ -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']),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue