mirror of
https://github.com/Tribufu/TribufuJS
synced 2026-08-10 05:11:06 +00:00
Update api version
This commit is contained in:
parent
5071fdde1f
commit
26dbeb6867
56 changed files with 456 additions and 857 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
src/apis/TribufuGeneratedApi.ts
|
src/apis/TribufuGeneratedApi.ts
|
||||||
src/apis/index.ts
|
src/apis/index.ts
|
||||||
src/models/Account.ts
|
|
||||||
src/models/Application.ts
|
src/models/Application.ts
|
||||||
src/models/ApplicationType.ts
|
src/models/ApplicationType.ts
|
||||||
src/models/AuthorizeRequest.ts
|
src/models/AuthorizeRequest.ts
|
||||||
|
|
@ -11,6 +10,7 @@ src/models/CodeChallengeMethod.ts
|
||||||
src/models/CodeResponse.ts
|
src/models/CodeResponse.ts
|
||||||
src/models/CreateUser.ts
|
src/models/CreateUser.ts
|
||||||
src/models/CryptoViewModel.ts
|
src/models/CryptoViewModel.ts
|
||||||
|
src/models/ExternalAccount.ts
|
||||||
src/models/Game.ts
|
src/models/Game.ts
|
||||||
src/models/GameServer.ts
|
src/models/GameServer.ts
|
||||||
src/models/GameServerCluster.ts
|
src/models/GameServerCluster.ts
|
||||||
|
|
@ -22,12 +22,12 @@ src/models/GroupApplication.ts
|
||||||
src/models/GroupMember.ts
|
src/models/GroupMember.ts
|
||||||
src/models/GroupRank.ts
|
src/models/GroupRank.ts
|
||||||
src/models/HashViewModel.ts
|
src/models/HashViewModel.ts
|
||||||
|
src/models/IdentityProviderType.ts
|
||||||
src/models/IntrospectRequest.ts
|
src/models/IntrospectRequest.ts
|
||||||
src/models/IntrospectResponse.ts
|
src/models/IntrospectResponse.ts
|
||||||
src/models/IpAddress.ts
|
src/models/IpAddress.ts
|
||||||
src/models/LeaderboardItem.ts
|
src/models/LeaderboardItem.ts
|
||||||
src/models/LeaderboardOrder.ts
|
src/models/LeaderboardOrder.ts
|
||||||
src/models/LoginProvider.ts
|
|
||||||
src/models/Package.ts
|
src/models/Package.ts
|
||||||
src/models/PackageRelease.ts
|
src/models/PackageRelease.ts
|
||||||
src/models/Product.ts
|
src/models/Product.ts
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tribufu",
|
"name": "tribufu",
|
||||||
"version": "1.3.0",
|
"version": "1.4.2",
|
||||||
"description": "Tribufu JS SDK",
|
"description": "Tribufu JS SDK",
|
||||||
"repository": "https://github.com/tribufu/tribufu-js",
|
"repository": "https://github.com/tribufu/tribufu-js",
|
||||||
"author": "Tribufu <contact@Tribufu.com>",
|
"author": "Tribufu <contact@Tribufu.com>",
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,133 +0,0 @@
|
||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.3.0
|
|
||||||
* Contact: contact@tribufu.com
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { mapValues } from '../runtime';
|
|
||||||
import type { LoginProvider } from './LoginProvider';
|
|
||||||
import {
|
|
||||||
LoginProviderFromJSON,
|
|
||||||
LoginProviderFromJSONTyped,
|
|
||||||
LoginProviderToJSON,
|
|
||||||
LoginProviderToJSONTyped,
|
|
||||||
} from './LoginProvider';
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface Account
|
|
||||||
*/
|
|
||||||
export interface Account {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
id: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
name?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {LoginProvider}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
provider: LoginProvider;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
userId?: string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
authorized?: boolean;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {any}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
fields?: any | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
created?: Date;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof Account
|
|
||||||
*/
|
|
||||||
updated?: Date | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function AccountFromJSON(json: any): Account {
|
|
||||||
return AccountFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): Account {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'id': json['id'],
|
|
||||||
'name': json['name'] == null ? undefined : json['name'],
|
|
||||||
'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'],
|
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function AccountToJSON(json: any): Account {
|
|
||||||
return AccountToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function AccountToJSONTyped(value?: Account | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'id': value['id'],
|
|
||||||
'name': value['name'],
|
|
||||||
'provider': LoginProviderToJSON(value['provider']),
|
|
||||||
'user_id': value['userId'],
|
|
||||||
'authorized': value['authorized'],
|
|
||||||
'fields': value['fields'],
|
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -56,7 +56,7 @@ export interface Application {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Application
|
* @memberof Application
|
||||||
*/
|
*/
|
||||||
organizationId?: string | null;
|
organizationId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -92,13 +92,19 @@ export interface Application {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Application
|
* @memberof Application
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Application
|
* @memberof Application
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Application
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -131,8 +137,9 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
||||||
'capsuleImageUrl': json['capsule_image_url'] == null ? undefined : json['capsule_image_url'],
|
'capsuleImageUrl': json['capsule_image_url'] == null ? undefined : json['capsule_image_url'],
|
||||||
'libraryImageUrl': json['library_image_url'] == null ? undefined : json['library_image_url'],
|
'libraryImageUrl': json['library_image_url'] == null ? undefined : json['library_image_url'],
|
||||||
'slug': json['slug'] == null ? undefined : json['slug'],
|
'slug': json['slug'] == null ? undefined : json['slug'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -157,8 +164,9 @@ export function ApplicationToJSONTyped(value?: Application | null, ignoreDiscrim
|
||||||
'capsule_image_url': value['capsuleImageUrl'],
|
'capsule_image_url': value['capsuleImageUrl'],
|
||||||
'library_image_url': value['libraryImageUrl'],
|
'library_image_url': value['libraryImageUrl'],
|
||||||
'slug': value['slug'],
|
'slug': value['slug'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
* @export
|
* @export
|
||||||
*/
|
*/
|
||||||
export const ApplicationType = {
|
export const ApplicationType = {
|
||||||
Application: 'application',
|
Software: 'software',
|
||||||
Game: 'game'
|
Game: 'game'
|
||||||
} as const;
|
} as const;
|
||||||
export type ApplicationType = typeof ApplicationType[keyof typeof ApplicationType];
|
export type ApplicationType = typeof ApplicationType[keyof typeof ApplicationType];
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -98,13 +98,19 @@ export interface Client {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Client
|
* @memberof Client
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Client
|
* @memberof Client
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Client
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -138,8 +144,9 @@ export function ClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cl
|
||||||
'redirects': json['redirects'] == null ? undefined : json['redirects'],
|
'redirects': json['redirects'] == null ? undefined : json['redirects'],
|
||||||
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
||||||
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -164,8 +171,9 @@ export function ClientToJSONTyped(value?: Omit<Client, 'permissions'> | null, ig
|
||||||
'background_url': value['backgroundUrl'],
|
'background_url': value['backgroundUrl'],
|
||||||
'redirects': value['redirects'],
|
'redirects': value['redirects'],
|
||||||
'scopes': value['scopes'],
|
'scopes': value['scopes'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -24,7 +24,7 @@ export interface CreateUser {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof CreateUser
|
* @memberof CreateUser
|
||||||
*/
|
*/
|
||||||
uuid?: string | null;
|
uuid?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
141
src/models/ExternalAccount.ts
Normal file
141
src/models/ExternalAccount.ts
Normal file
|
|
@ -0,0 +1,141 @@
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
/**
|
||||||
|
* Tribufu API
|
||||||
|
* API to access Tribufu services.
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.4.2
|
||||||
|
* Contact: contact@tribufu.com
|
||||||
|
*
|
||||||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
* https://openapi-generator.tech
|
||||||
|
* Do not edit the class manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { mapValues } from '../runtime';
|
||||||
|
import type { IdentityProviderType } from './IdentityProviderType';
|
||||||
|
import {
|
||||||
|
IdentityProviderTypeFromJSON,
|
||||||
|
IdentityProviderTypeFromJSONTyped,
|
||||||
|
IdentityProviderTypeToJSON,
|
||||||
|
IdentityProviderTypeToJSONTyped,
|
||||||
|
} from './IdentityProviderType';
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @interface ExternalAccount
|
||||||
|
*/
|
||||||
|
export interface ExternalAccount {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
userId?: string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {IdentityProviderType}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
provider: IdentityProviderType;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
externalId: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
name?: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
authorized?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {{ [key: string]: any | null; }}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
fields?: { [key: string]: any | null; } | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
createdAt?: Date;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof ExternalAccount
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if a given object implements the ExternalAccount interface.
|
||||||
|
*/
|
||||||
|
export function instanceOfExternalAccount(value: object): value is ExternalAccount {
|
||||||
|
if (!('provider' in value) || value['provider'] === undefined) return false;
|
||||||
|
if (!('externalId' in value) || value['externalId'] === undefined) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ExternalAccountFromJSON(json: any): ExternalAccount {
|
||||||
|
return ExternalAccountFromJSONTyped(json, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ExternalAccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExternalAccount {
|
||||||
|
if (json == null) {
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
|
||||||
|
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
||||||
|
'provider': IdentityProviderTypeFromJSON(json['provider']),
|
||||||
|
'externalId': json['external_id'],
|
||||||
|
'name': json['name'] == null ? undefined : json['name'],
|
||||||
|
'authorized': json['authorized'] == null ? undefined : json['authorized'],
|
||||||
|
'fields': json['fields'] == null ? undefined : json['fields'],
|
||||||
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ExternalAccountToJSON(json: any): ExternalAccount {
|
||||||
|
return ExternalAccountToJSONTyped(json, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ExternalAccountToJSONTyped(value?: ExternalAccount | null, ignoreDiscriminator: boolean = false): any {
|
||||||
|
if (value == null) {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
|
||||||
|
'user_id': value['userId'],
|
||||||
|
'provider': IdentityProviderTypeToJSON(value['provider']),
|
||||||
|
'external_id': value['externalId'],
|
||||||
|
'name': value['name'],
|
||||||
|
'authorized': value['authorized'],
|
||||||
|
'fields': value['fields'],
|
||||||
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -56,7 +56,7 @@ export interface Game {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Game
|
* @memberof Game
|
||||||
*/
|
*/
|
||||||
organizationId?: string | null;
|
organizationId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -92,13 +92,19 @@ export interface Game {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Game
|
* @memberof Game
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Game
|
* @memberof Game
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Game
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|
@ -173,8 +179,9 @@ export function GameFromJSONTyped(json: any, ignoreDiscriminator: boolean): Game
|
||||||
'capsuleImageUrl': json['capsule_image_url'] == null ? undefined : json['capsule_image_url'],
|
'capsuleImageUrl': json['capsule_image_url'] == null ? undefined : json['capsule_image_url'],
|
||||||
'libraryImageUrl': json['library_image_url'] == null ? undefined : json['library_image_url'],
|
'libraryImageUrl': json['library_image_url'] == null ? undefined : json['library_image_url'],
|
||||||
'slug': json['slug'] == null ? undefined : json['slug'],
|
'slug': json['slug'] == null ? undefined : json['slug'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
'enableServers': json['enable_servers'] == null ? undefined : json['enable_servers'],
|
'enableServers': json['enable_servers'] == null ? undefined : json['enable_servers'],
|
||||||
'gamePort': json['game_port'] == null ? undefined : json['game_port'],
|
'gamePort': json['game_port'] == null ? undefined : json['game_port'],
|
||||||
'queryPort': json['query_port'] == null ? undefined : json['query_port'],
|
'queryPort': json['query_port'] == null ? undefined : json['query_port'],
|
||||||
|
|
@ -206,8 +213,9 @@ export function GameToJSONTyped(value?: Game | null, ignoreDiscriminator: boolea
|
||||||
'capsule_image_url': value['capsuleImageUrl'],
|
'capsule_image_url': value['capsuleImageUrl'],
|
||||||
'library_image_url': value['libraryImageUrl'],
|
'library_image_url': value['libraryImageUrl'],
|
||||||
'slug': value['slug'],
|
'slug': value['slug'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
'enable_servers': value['enableServers'],
|
'enable_servers': value['enableServers'],
|
||||||
'game_port': value['gamePort'],
|
'game_port': value['gamePort'],
|
||||||
'query_port': value['queryPort'],
|
'query_port': value['queryPort'],
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -42,7 +42,7 @@ export interface GameServer {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof GameServer
|
* @memberof GameServer
|
||||||
*/
|
*/
|
||||||
ownerId?: string | null;
|
ownerId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -90,7 +90,7 @@ export interface GameServer {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof GameServer
|
* @memberof GameServer
|
||||||
*/
|
*/
|
||||||
clusterId?: string | null;
|
clusterId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -123,10 +123,10 @@ export interface GameServer {
|
||||||
steam?: boolean;
|
steam?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {number}
|
||||||
* @memberof GameServer
|
* @memberof GameServer
|
||||||
*/
|
*/
|
||||||
discordServerId?: string | null;
|
discordServerId?: number | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -138,13 +138,19 @@ export interface GameServer {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GameServer
|
* @memberof GameServer
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GameServer
|
* @memberof GameServer
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof GameServer
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -186,8 +192,9 @@ export function GameServerFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
||||||
'steam': json['steam'] == null ? undefined : json['steam'],
|
'steam': json['steam'] == null ? undefined : json['steam'],
|
||||||
'discordServerId': json['discord_server_id'] == null ? undefined : json['discord_server_id'],
|
'discordServerId': json['discord_server_id'] == null ? undefined : json['discord_server_id'],
|
||||||
'youtubeVideoUrl': json['youtube_video_url'] == null ? undefined : json['youtube_video_url'],
|
'youtubeVideoUrl': json['youtube_video_url'] == null ? undefined : json['youtube_video_url'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -221,8 +228,9 @@ export function GameServerToJSONTyped(value?: GameServer | null, ignoreDiscrimin
|
||||||
'steam': value['steam'],
|
'steam': value['steam'],
|
||||||
'discord_server_id': value['discordServerId'],
|
'discord_server_id': value['discordServerId'],
|
||||||
'youtube_video_url': value['youtubeVideoUrl'],
|
'youtube_video_url': value['youtubeVideoUrl'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -63,10 +63,10 @@ export interface GameServerCluster {
|
||||||
ownerId?: string;
|
ownerId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {number}
|
||||||
* @memberof GameServerCluster
|
* @memberof GameServerCluster
|
||||||
*/
|
*/
|
||||||
discordServerId?: string | null;
|
discordServerId?: number | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -96,13 +96,19 @@ export interface GameServerCluster {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GameServerCluster
|
* @memberof GameServerCluster
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GameServerCluster
|
* @memberof GameServerCluster
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof GameServerCluster
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -135,8 +141,9 @@ export function GameServerClusterFromJSONTyped(json: any, ignoreDiscriminator: b
|
||||||
'tags': json['tags'] == null ? undefined : json['tags'],
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
||||||
'commentCount': json['comment_count'] == null ? undefined : json['comment_count'],
|
'commentCount': json['comment_count'] == null ? undefined : json['comment_count'],
|
||||||
'serverCount': json['server_count'] == null ? undefined : json['server_count'],
|
'serverCount': json['server_count'] == null ? undefined : json['server_count'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -163,8 +170,9 @@ export function GameServerClusterToJSONTyped(value?: GameServerCluster | null, i
|
||||||
'tags': value['tags'],
|
'tags': value['tags'],
|
||||||
'comment_count': value['commentCount'],
|
'comment_count': value['commentCount'],
|
||||||
'server_count': value['serverCount'],
|
'server_count': value['serverCount'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -74,7 +74,7 @@ export interface GameServerQuery {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GameServerQuery
|
* @memberof GameServerQuery
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -103,7 +103,7 @@ export function GameServerQueryFromJSONTyped(json: any, ignoreDiscriminator: boo
|
||||||
'currentPlayers': json['current_players'] == null ? undefined : json['current_players'],
|
'currentPlayers': json['current_players'] == null ? undefined : json['current_players'],
|
||||||
'maxPlayers': json['max_players'] == null ? undefined : json['max_players'],
|
'maxPlayers': json['max_players'] == null ? undefined : json['max_players'],
|
||||||
'motd': json['motd'] == null ? undefined : json['motd'],
|
'motd': json['motd'] == null ? undefined : json['motd'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -125,7 +125,7 @@ export function GameServerQueryToJSONTyped(value?: GameServerQuery | null, ignor
|
||||||
'current_players': value['currentPlayers'],
|
'current_players': value['currentPlayers'],
|
||||||
'max_players': value['maxPlayers'],
|
'max_players': value['maxPlayers'],
|
||||||
'motd': value['motd'],
|
'motd': value['motd'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -108,13 +108,19 @@ export interface Group {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Group
|
* @memberof Group
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Group
|
* @memberof Group
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Group
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -149,8 +155,9 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
|
||||||
'memberCount': json['member_count'] == null ? undefined : json['member_count'],
|
'memberCount': json['member_count'] == null ? undefined : json['member_count'],
|
||||||
'followerCount': json['follower_count'] == null ? undefined : json['follower_count'],
|
'followerCount': json['follower_count'] == null ? undefined : json['follower_count'],
|
||||||
'viewCount': json['view_count'] == null ? undefined : json['view_count'],
|
'viewCount': json['view_count'] == null ? undefined : json['view_count'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -179,8 +186,9 @@ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: bool
|
||||||
'member_count': value['memberCount'],
|
'member_count': value['memberCount'],
|
||||||
'follower_count': value['followerCount'],
|
'follower_count': value['followerCount'],
|
||||||
'view_count': value['viewCount'],
|
'view_count': value['viewCount'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -33,12 +33,6 @@ export interface GroupMember {
|
||||||
* @memberof GroupMember
|
* @memberof GroupMember
|
||||||
*/
|
*/
|
||||||
id?: string;
|
id?: string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof GroupMember
|
|
||||||
*/
|
|
||||||
uuid?: string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -51,24 +45,12 @@ export interface GroupMember {
|
||||||
* @memberof GroupMember
|
* @memberof GroupMember
|
||||||
*/
|
*/
|
||||||
displayName?: string | null;
|
displayName?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof GroupMember
|
|
||||||
*/
|
|
||||||
verified?: boolean;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof GroupMember
|
* @memberof GroupMember
|
||||||
*/
|
*/
|
||||||
photoUrl?: string | null;
|
photoUrl?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof GroupMember
|
|
||||||
*/
|
|
||||||
lastOnline?: Date | null;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {GroupRank}
|
* @type {GroupRank}
|
||||||
|
|
@ -103,12 +85,9 @@ export function GroupMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'id': json['id'] == null ? undefined : json['id'],
|
'id': json['id'] == null ? undefined : json['id'],
|
||||||
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
||||||
'name': json['name'] == null ? undefined : json['name'],
|
'name': json['name'] == null ? undefined : json['name'],
|
||||||
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
||||||
'verified': json['verified'] == null ? undefined : json['verified'],
|
|
||||||
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
||||||
'lastOnline': json['last_online'] == null ? undefined : (new Date(json['last_online'])),
|
|
||||||
'rank': json['rank'] == null ? undefined : GroupRankFromJSON(json['rank']),
|
'rank': json['rank'] == null ? undefined : GroupRankFromJSON(json['rank']),
|
||||||
'since': json['since'] == null ? undefined : (new Date(json['since'])),
|
'since': json['since'] == null ? undefined : (new Date(json['since'])),
|
||||||
};
|
};
|
||||||
|
|
@ -126,12 +105,9 @@ export function GroupMemberToJSONTyped(value?: GroupMember | null, ignoreDiscrim
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'id': value['id'],
|
'id': value['id'],
|
||||||
'uuid': value['uuid'],
|
|
||||||
'name': value['name'],
|
'name': value['name'],
|
||||||
'display_name': value['displayName'],
|
'display_name': value['displayName'],
|
||||||
'verified': value['verified'],
|
|
||||||
'photo_url': value['photoUrl'],
|
'photo_url': value['photoUrl'],
|
||||||
'last_online': value['lastOnline'] == null ? undefined : ((value['lastOnline'] as any).toISOString()),
|
|
||||||
'rank': GroupRankToJSON(value['rank']),
|
'rank': GroupRankToJSON(value['rank']),
|
||||||
'since': value['since'] == null ? undefined : ((value['since']).toISOString()),
|
'since': value['since'] == null ? undefined : ((value['since']).toISOString()),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
58
src/models/IdentityProviderType.ts
Normal file
58
src/models/IdentityProviderType.ts
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
/**
|
||||||
|
* Tribufu API
|
||||||
|
* API to access Tribufu services.
|
||||||
|
*
|
||||||
|
* The version of the OpenAPI document: 1.4.2
|
||||||
|
* Contact: contact@tribufu.com
|
||||||
|
*
|
||||||
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
* https://openapi-generator.tech
|
||||||
|
* Do not edit the class manually.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
*/
|
||||||
|
export const IdentityProviderType = {
|
||||||
|
Steam: 'steam',
|
||||||
|
Epic: 'epic',
|
||||||
|
Discord: 'discord',
|
||||||
|
Microsoft: 'microsoft',
|
||||||
|
Playstation: 'playstation',
|
||||||
|
Google: 'google',
|
||||||
|
Apple: 'apple'
|
||||||
|
} as const;
|
||||||
|
export type IdentityProviderType = typeof IdentityProviderType[keyof typeof IdentityProviderType];
|
||||||
|
|
||||||
|
|
||||||
|
export function instanceOfIdentityProviderType(value: any): boolean {
|
||||||
|
for (const key in IdentityProviderType) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(IdentityProviderType, key)) {
|
||||||
|
if (IdentityProviderType[key as keyof typeof IdentityProviderType] === value) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function IdentityProviderTypeFromJSON(json: any): IdentityProviderType {
|
||||||
|
return IdentityProviderTypeFromJSONTyped(json, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function IdentityProviderTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityProviderType {
|
||||||
|
return json as IdentityProviderType;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function IdentityProviderTypeToJSON(value?: IdentityProviderType | null): any {
|
||||||
|
return value as any;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function IdentityProviderTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): IdentityProviderType {
|
||||||
|
return value as IdentityProviderType;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -1,58 +0,0 @@
|
||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.3.0
|
|
||||||
* Contact: contact@tribufu.com
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
*/
|
|
||||||
export const LoginProvider = {
|
|
||||||
Steam: 'steam',
|
|
||||||
Epic: 'epic',
|
|
||||||
Discord: 'discord',
|
|
||||||
Microsoft: 'microsoft',
|
|
||||||
Playstation: 'playstation',
|
|
||||||
Google: 'google',
|
|
||||||
Apple: 'apple'
|
|
||||||
} as const;
|
|
||||||
export type LoginProvider = typeof LoginProvider[keyof typeof LoginProvider];
|
|
||||||
|
|
||||||
|
|
||||||
export function instanceOfLoginProvider(value: any): boolean {
|
|
||||||
for (const key in LoginProvider) {
|
|
||||||
if (Object.prototype.hasOwnProperty.call(LoginProvider, key)) {
|
|
||||||
if (LoginProvider[key as keyof typeof LoginProvider] === value) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginProviderFromJSON(json: any): LoginProvider {
|
|
||||||
return LoginProviderFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginProvider {
|
|
||||||
return json as LoginProvider;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginProviderToJSON(value?: LoginProvider | null): any {
|
|
||||||
return value as any;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginProviderToJSONTyped(value: any, ignoreDiscriminator: boolean): LoginProvider {
|
|
||||||
return value as LoginProvider;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -62,13 +62,13 @@ export interface Package {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Package
|
* @memberof Package
|
||||||
*/
|
*/
|
||||||
applicationId?: string | null;
|
applicationId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Package
|
* @memberof Package
|
||||||
*/
|
*/
|
||||||
categoryId?: string | null;
|
categoryId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
|
@ -92,13 +92,19 @@ export interface Package {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Package
|
* @memberof Package
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Package
|
* @memberof Package
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Package
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -130,8 +136,9 @@ export function PackageFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
||||||
'downloadCount': json['download_count'] == null ? undefined : json['download_count'],
|
'downloadCount': json['download_count'] == null ? undefined : json['download_count'],
|
||||||
'lastDownload': json['last_download'] == null ? undefined : (new Date(json['last_download'])),
|
'lastDownload': json['last_download'] == null ? undefined : (new Date(json['last_download'])),
|
||||||
'releases': json['releases'] == null ? undefined : ((json['releases'] as Array<any>).map(PackageReleaseFromJSON)),
|
'releases': json['releases'] == null ? undefined : ((json['releases'] as Array<any>).map(PackageReleaseFromJSON)),
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -156,8 +163,9 @@ export function PackageToJSONTyped(value?: Package | null, ignoreDiscriminator:
|
||||||
'download_count': value['downloadCount'],
|
'download_count': value['downloadCount'],
|
||||||
'last_download': value['lastDownload'] == null ? undefined : ((value['lastDownload'] as any).toISOString()),
|
'last_download': value['lastDownload'] == null ? undefined : ((value['lastDownload'] as any).toISOString()),
|
||||||
'releases': value['releases'] == null ? undefined : ((value['releases'] as Array<any>).map(PackageReleaseToJSON)),
|
'releases': value['releases'] == null ? undefined : ((value['releases'] as Array<any>).map(PackageReleaseToJSON)),
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -62,13 +62,19 @@ export interface PackageRelease {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof PackageRelease
|
* @memberof PackageRelease
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof PackageRelease
|
* @memberof PackageRelease
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof PackageRelease
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -94,8 +100,9 @@ export function PackageReleaseFromJSONTyped(json: any, ignoreDiscriminator: bool
|
||||||
'packageId': json['package_id'] == null ? undefined : json['package_id'],
|
'packageId': json['package_id'] == null ? undefined : json['package_id'],
|
||||||
'notes': json['notes'] == null ? undefined : json['notes'],
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
||||||
'files': json['files'] == null ? undefined : ((json['files'] as Array<any>).map(StorageFileFromJSON)),
|
'files': json['files'] == null ? undefined : ((json['files'] as Array<any>).map(StorageFileFromJSON)),
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -114,8 +121,9 @@ export function PackageReleaseToJSONTyped(value?: Omit<PackageRelease, 'files'>
|
||||||
'version': value['version'],
|
'version': value['version'],
|
||||||
'package_id': value['packageId'],
|
'package_id': value['packageId'],
|
||||||
'notes': value['notes'],
|
'notes': value['notes'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -46,6 +46,12 @@ export interface Product {
|
||||||
* @memberof Product
|
* @memberof Product
|
||||||
*/
|
*/
|
||||||
name: string | null;
|
name: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
sku?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -70,12 +76,6 @@ export interface Product {
|
||||||
* @memberof Product
|
* @memberof Product
|
||||||
*/
|
*/
|
||||||
imageUrl?: string | null;
|
imageUrl?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof Product
|
|
||||||
*/
|
|
||||||
isPhysical?: boolean;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Array<ProductPrice>}
|
* @type {Array<ProductPrice>}
|
||||||
|
|
@ -87,13 +87,19 @@ export interface Product {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Product
|
* @memberof Product
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Product
|
* @memberof Product
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -118,14 +124,15 @@ export function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
||||||
|
|
||||||
'id': json['id'] == null ? undefined : json['id'],
|
'id': json['id'] == null ? undefined : json['id'],
|
||||||
'name': json['name'],
|
'name': json['name'],
|
||||||
|
'sku': json['sku'] == null ? undefined : json['sku'],
|
||||||
'description': json['description'] == null ? undefined : json['description'],
|
'description': json['description'] == null ? undefined : json['description'],
|
||||||
'type': json['type'] == null ? undefined : ProductTypeFromJSON(json['type']),
|
'type': json['type'] == null ? undefined : ProductTypeFromJSON(json['type']),
|
||||||
'slug': json['slug'] == null ? undefined : json['slug'],
|
'slug': json['slug'] == null ? undefined : json['slug'],
|
||||||
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
||||||
'isPhysical': json['is_physical'] == null ? undefined : json['is_physical'],
|
|
||||||
'prices': json['prices'] == null ? undefined : ((json['prices'] as Array<any>).map(ProductPriceFromJSON)),
|
'prices': json['prices'] == null ? undefined : ((json['prices'] as Array<any>).map(ProductPriceFromJSON)),
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -142,14 +149,15 @@ export function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator:
|
||||||
|
|
||||||
'id': value['id'],
|
'id': value['id'],
|
||||||
'name': value['name'],
|
'name': value['name'],
|
||||||
|
'sku': value['sku'],
|
||||||
'description': value['description'],
|
'description': value['description'],
|
||||||
'type': ProductTypeToJSON(value['type']),
|
'type': ProductTypeToJSON(value['type']),
|
||||||
'slug': value['slug'],
|
'slug': value['slug'],
|
||||||
'image_url': value['imageUrl'],
|
'image_url': value['imageUrl'],
|
||||||
'is_physical': value['isPhysical'],
|
|
||||||
'prices': value['prices'] == null ? undefined : ((value['prices'] as Array<any>).map(ProductPriceToJSON)),
|
'prices': value['prices'] == null ? undefined : ((value['prices'] as Array<any>).map(ProductPriceToJSON)),
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -30,7 +30,7 @@ export interface ProductPrice {
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof ProductPrice
|
* @memberof ProductPrice
|
||||||
*/
|
*/
|
||||||
amount?: number;
|
price?: number;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
|
@ -58,7 +58,7 @@ export function ProductPriceFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'currency': json['currency'],
|
'currency': json['currency'],
|
||||||
'amount': json['amount'] == null ? undefined : json['amount'],
|
'price': json['price'] == null ? undefined : json['price'],
|
||||||
'renewal': json['renewal'] == null ? undefined : json['renewal'],
|
'renewal': json['renewal'] == null ? undefined : json['renewal'],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -75,7 +75,7 @@ export function ProductPriceToJSONTyped(value?: ProductPrice | null, ignoreDiscr
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'currency': value['currency'],
|
'currency': value['currency'],
|
||||||
'amount': value['amount'],
|
'price': value['price'],
|
||||||
'renewal': value['renewal'],
|
'renewal': value['renewal'],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -24,109 +24,79 @@ export interface Profile {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
id?: string;
|
readonly id?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
uuid?: string;
|
readonly name?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
name?: string | null;
|
readonly displayName?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Profile
|
|
||||||
*/
|
|
||||||
displayName?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof Profile
|
|
||||||
*/
|
|
||||||
verified?: boolean;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
level?: number;
|
readonly level?: number;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
experience?: number;
|
readonly experience?: number;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {boolean}
|
|
||||||
* @memberof Profile
|
|
||||||
*/
|
|
||||||
publicBirthday?: boolean;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
birthday?: Date | null;
|
readonly birthday?: Date | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
points?: number;
|
readonly points?: number;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
location?: string | null;
|
readonly photoUrl?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
photoUrl?: string | null;
|
readonly bannerUrl?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Profile
|
|
||||||
*/
|
|
||||||
bannerUrl?: string | null;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
lastOnline?: Date | null;
|
readonly lastOnline?: Date | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
biography?: string | null;
|
readonly biography?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {number}
|
|
||||||
* @memberof Profile
|
|
||||||
*/
|
|
||||||
viewCount?: number;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
readonly createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof Profile
|
* @memberof Profile
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
readonly updatedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -147,23 +117,18 @@ export function ProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'id': json['id'] == null ? undefined : json['id'],
|
'id': json['id'] == null ? undefined : json['id'],
|
||||||
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
||||||
'name': json['name'] == null ? undefined : json['name'],
|
'name': json['name'] == null ? undefined : json['name'],
|
||||||
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
||||||
'verified': json['verified'] == null ? undefined : json['verified'],
|
|
||||||
'level': json['level'] == null ? undefined : json['level'],
|
'level': json['level'] == null ? undefined : json['level'],
|
||||||
'experience': json['experience'] == null ? undefined : json['experience'],
|
'experience': json['experience'] == null ? undefined : json['experience'],
|
||||||
'publicBirthday': json['public_birthday'] == null ? undefined : json['public_birthday'],
|
|
||||||
'birthday': json['birthday'] == null ? undefined : (new Date(json['birthday'])),
|
'birthday': json['birthday'] == null ? undefined : (new Date(json['birthday'])),
|
||||||
'points': json['points'] == null ? undefined : json['points'],
|
'points': json['points'] == null ? undefined : json['points'],
|
||||||
'location': json['location'] == null ? undefined : json['location'],
|
|
||||||
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
||||||
'bannerUrl': json['banner_url'] == null ? undefined : json['banner_url'],
|
'bannerUrl': json['banner_url'] == null ? undefined : json['banner_url'],
|
||||||
'lastOnline': json['last_online'] == null ? undefined : (new Date(json['last_online'])),
|
'lastOnline': json['last_online'] == null ? undefined : (new Date(json['last_online'])),
|
||||||
'biography': json['biography'] == null ? undefined : json['biography'],
|
'biography': json['biography'] == null ? undefined : json['biography'],
|
||||||
'viewCount': json['view_count'] == null ? undefined : json['view_count'],
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -171,31 +136,13 @@ export function ProfileToJSON(json: any): Profile {
|
||||||
return ProfileToJSONTyped(json, false);
|
return ProfileToJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ProfileToJSONTyped(value?: Profile | null, ignoreDiscriminator: boolean = false): any {
|
export function ProfileToJSONTyped(value?: Omit<Profile, 'id'|'name'|'display_name'|'level'|'experience'|'birthday'|'points'|'photo_url'|'banner_url'|'last_online'|'biography'|'created_at'|'updated_at'> | null, ignoreDiscriminator: boolean = false): any {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'id': value['id'],
|
|
||||||
'uuid': value['uuid'],
|
|
||||||
'name': value['name'],
|
|
||||||
'display_name': value['displayName'],
|
|
||||||
'verified': value['verified'],
|
|
||||||
'level': value['level'],
|
|
||||||
'experience': value['experience'],
|
|
||||||
'public_birthday': value['publicBirthday'],
|
|
||||||
'birthday': value['birthday'] == null ? undefined : ((value['birthday'] as any).toISOString().substring(0,10)),
|
|
||||||
'points': value['points'],
|
|
||||||
'location': value['location'],
|
|
||||||
'photo_url': value['photoUrl'],
|
|
||||||
'banner_url': value['bannerUrl'],
|
|
||||||
'last_online': value['lastOnline'] == null ? undefined : ((value['lastOnline'] as any).toISOString()),
|
|
||||||
'biography': value['biography'],
|
|
||||||
'view_count': value['viewCount'],
|
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -50,7 +50,7 @@ export interface Search {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Search
|
* @memberof Search
|
||||||
*/
|
*/
|
||||||
gameId?: string | null;
|
gameId?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -66,13 +66,19 @@ export interface StorageFile {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof StorageFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof StorageFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof StorageFile
|
||||||
|
*/
|
||||||
|
deletedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -102,8 +108,9 @@ export function StorageFileFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
||||||
'size': json['size'] == null ? undefined : json['size'],
|
'size': json['size'] == null ? undefined : json['size'],
|
||||||
'hash': json['hash'] == null ? undefined : json['hash'],
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
||||||
'etag': json['etag'] == null ? undefined : json['etag'],
|
'etag': json['etag'] == null ? undefined : json['etag'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
|
'deletedAt': json['deleted_at'] == null ? undefined : (new Date(json['deleted_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -125,8 +132,9 @@ export function StorageFileToJSONTyped(value?: StorageFile | null, ignoreDiscrim
|
||||||
'size': value['size'],
|
'size': value['size'],
|
||||||
'hash': value['hash'],
|
'hash': value['hash'],
|
||||||
'etag': value['etag'],
|
'etag': value['etag'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
|
'deleted_at': value['deletedAt'] == null ? undefined : ((value['deletedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
@ -33,12 +33,6 @@ export interface UserInfo {
|
||||||
* @memberof UserInfo
|
* @memberof UserInfo
|
||||||
*/
|
*/
|
||||||
id?: string;
|
id?: string;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof UserInfo
|
|
||||||
*/
|
|
||||||
uuid?: string;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|
@ -56,7 +50,7 @@ export interface UserInfo {
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof UserInfo
|
* @memberof UserInfo
|
||||||
*/
|
*/
|
||||||
email?: string | null;
|
emailAddress?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|
@ -104,13 +98,13 @@ export interface UserInfo {
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof UserInfo
|
* @memberof UserInfo
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
createdAt?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof UserInfo
|
* @memberof UserInfo
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updatedAt?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -134,10 +128,9 @@ export function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'id': json['id'] == null ? undefined : json['id'],
|
'id': json['id'] == null ? undefined : json['id'],
|
||||||
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
||||||
'name': json['name'],
|
'name': json['name'],
|
||||||
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
||||||
'email': json['email'] == null ? undefined : json['email'],
|
'emailAddress': json['email_address'] == null ? undefined : json['email_address'],
|
||||||
'emailVerified': json['email_verified'] == null ? undefined : json['email_verified'],
|
'emailVerified': json['email_verified'] == null ? undefined : json['email_verified'],
|
||||||
'type': json['type'] == null ? undefined : UserTypeFromJSON(json['type']),
|
'type': json['type'] == null ? undefined : UserTypeFromJSON(json['type']),
|
||||||
'language': json['language'] == null ? undefined : json['language'],
|
'language': json['language'] == null ? undefined : json['language'],
|
||||||
|
|
@ -145,8 +138,8 @@ export function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||||
'currency': json['currency'] == null ? undefined : json['currency'],
|
'currency': json['currency'] == null ? undefined : json['currency'],
|
||||||
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
||||||
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -162,10 +155,9 @@ export function UserInfoToJSONTyped(value?: UserInfo | null, ignoreDiscriminator
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'id': value['id'],
|
'id': value['id'],
|
||||||
'uuid': value['uuid'],
|
|
||||||
'name': value['name'],
|
'name': value['name'],
|
||||||
'display_name': value['displayName'],
|
'display_name': value['displayName'],
|
||||||
'email': value['email'],
|
'email_address': value['emailAddress'],
|
||||||
'email_verified': value['emailVerified'],
|
'email_verified': value['emailVerified'],
|
||||||
'type': UserTypeToJSON(value['type']),
|
'type': UserTypeToJSON(value['type']),
|
||||||
'language': value['language'],
|
'language': value['language'],
|
||||||
|
|
@ -173,8 +165,8 @@ export function UserInfoToJSONTyped(value?: UserInfo | null, ignoreDiscriminator
|
||||||
'currency': value['currency'],
|
'currency': value['currency'],
|
||||||
'photo_url': value['photoUrl'],
|
'photo_url': value['photoUrl'],
|
||||||
'permissions': value['permissions'],
|
'permissions': value['permissions'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
export * from './Account';
|
|
||||||
export * from './Application';
|
export * from './Application';
|
||||||
export * from './ApplicationType';
|
export * from './ApplicationType';
|
||||||
export * from './AuthorizeRequest';
|
export * from './AuthorizeRequest';
|
||||||
|
|
@ -11,6 +10,7 @@ export * from './CodeChallengeMethod';
|
||||||
export * from './CodeResponse';
|
export * from './CodeResponse';
|
||||||
export * from './CreateUser';
|
export * from './CreateUser';
|
||||||
export * from './CryptoViewModel';
|
export * from './CryptoViewModel';
|
||||||
|
export * from './ExternalAccount';
|
||||||
export * from './Game';
|
export * from './Game';
|
||||||
export * from './GameServer';
|
export * from './GameServer';
|
||||||
export * from './GameServerCluster';
|
export * from './GameServerCluster';
|
||||||
|
|
@ -22,12 +22,12 @@ export * from './GroupApplication';
|
||||||
export * from './GroupMember';
|
export * from './GroupMember';
|
||||||
export * from './GroupRank';
|
export * from './GroupRank';
|
||||||
export * from './HashViewModel';
|
export * from './HashViewModel';
|
||||||
|
export * from './IdentityProviderType';
|
||||||
export * from './IntrospectRequest';
|
export * from './IntrospectRequest';
|
||||||
export * from './IntrospectResponse';
|
export * from './IntrospectResponse';
|
||||||
export * from './IpAddress';
|
export * from './IpAddress';
|
||||||
export * from './LeaderboardItem';
|
export * from './LeaderboardItem';
|
||||||
export * from './LeaderboardOrder';
|
export * from './LeaderboardOrder';
|
||||||
export * from './LoginProvider';
|
|
||||||
export * from './Package';
|
export * from './Package';
|
||||||
export * from './PackageRelease';
|
export * from './PackageRelease';
|
||||||
export * from './Product';
|
export * from './Product';
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.3.0
|
* The version of the OpenAPI document: 1.4.2
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue