Release v1.2.0

This commit is contained in:
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,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'],