mirror of
https://github.com/tribufu/sdk-js
synced 2026-02-04 02:13:07 +00:00
Release v1.2.0
This commit is contained in:
@@ -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,7 +32,7 @@ export interface Account {
|
||||
* @type {string}
|
||||
* @memberof Account
|
||||
*/
|
||||
id?: string | null;
|
||||
id: string | null;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -44,7 +44,7 @@ export interface Account {
|
||||
* @type {LoginProvider}
|
||||
* @memberof Account
|
||||
*/
|
||||
provider?: LoginProvider;
|
||||
provider: LoginProvider;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -83,6 +83,8 @@ export interface Account {
|
||||
* Check if a given object implements the Account interface.
|
||||
*/
|
||||
export function instanceOfAccount(value: object): value is Account {
|
||||
if (!('id' in value) || value['id'] === undefined) return false;
|
||||
if (!('provider' in value) || value['provider'] === undefined) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -96,9 +98,9 @@ export function AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
|
||||
}
|
||||
return {
|
||||
|
||||
'id': json['id'] == null ? undefined : json['id'],
|
||||
'id': json['id'],
|
||||
'name': json['name'] == null ? undefined : json['name'],
|
||||
'provider': json['provider'] == null ? undefined : LoginProviderFromJSON(json['provider']),
|
||||
'provider': LoginProviderFromJSON(json['provider']),
|
||||
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
||||
'authorized': json['authorized'] == null ? undefined : json['authorized'],
|
||||
'fields': json['fields'] == null ? undefined : json['fields'],
|
||||
|
||||
Reference in New Issue
Block a user