mirror of
https://github.com/Tribufu/TribufuJS
synced 2026-08-09 12:51: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 TokenResponse {
|
|||
* @type {TokenType}
|
||||
* @memberof TokenResponse
|
||||
*/
|
||||
tokenType?: TokenType;
|
||||
tokenType: TokenType;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof TokenResponse
|
||||
*/
|
||||
accessToken?: string | null;
|
||||
accessToken: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
|
|
@ -71,6 +71,8 @@ export interface TokenResponse {
|
|||
* Check if a given object implements the TokenResponse interface.
|
||||
*/
|
||||
export function instanceOfTokenResponse(value: object): value is TokenResponse {
|
||||
if (!('tokenType' in value) || value['tokenType'] === undefined) return false;
|
||||
if (!('accessToken' in value) || value['accessToken'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -84,8 +86,8 @@ export function TokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|||
}
|
||||
return {
|
||||
|
||||
'tokenType': json['token_type'] == null ? undefined : TokenTypeFromJSON(json['token_type']),
|
||||
'accessToken': json['access_token'] == null ? undefined : json['access_token'],
|
||||
'tokenType': TokenTypeFromJSON(json['token_type']),
|
||||
'accessToken': json['access_token'],
|
||||
'refreshToken': json['refresh_token'] == null ? undefined : json['refresh_token'],
|
||||
'scope': json['scope'] == null ? undefined : json['scope'],
|
||||
'state': json['state'] == null ? undefined : json['state'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue