From 26dbeb686740157cf39fc4d2e8165477e21e5a50 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Fri, 3 Apr 2026 13:19:35 -0300 Subject: [PATCH] Update api version --- .openapi-generator/FILES | 4 +- package.json | 2 +- src/apis/TribufuGeneratedApi.ts | 428 +---------------------------- src/models/Account.ts | 133 --------- src/models/Application.ts | 24 +- src/models/ApplicationType.ts | 4 +- src/models/AuthorizeRequest.ts | 2 +- src/models/Client.ts | 22 +- src/models/ClientInfo.ts | 2 +- src/models/ClientType.ts | 2 +- src/models/CodeChallengeMethod.ts | 2 +- src/models/CodeResponse.ts | 2 +- src/models/CreateUser.ts | 4 +- src/models/CryptoViewModel.ts | 2 +- src/models/ExternalAccount.ts | 141 ++++++++++ src/models/Game.ts | 24 +- src/models/GameServer.ts | 30 +- src/models/GameServerCluster.ts | 26 +- src/models/GameServerQuery.ts | 8 +- src/models/GameServerStatus.ts | 2 +- src/models/GrantType.ts | 2 +- src/models/Group.ts | 22 +- src/models/GroupApplication.ts | 2 +- src/models/GroupMember.ts | 26 +- src/models/GroupRank.ts | 2 +- src/models/HashViewModel.ts | 2 +- src/models/IdentityProviderType.ts | 58 ++++ src/models/IntrospectRequest.ts | 2 +- src/models/IntrospectResponse.ts | 2 +- src/models/IpAddress.ts | 2 +- src/models/LeaderboardItem.ts | 2 +- src/models/LeaderboardOrder.ts | 2 +- src/models/LoginProvider.ts | 58 ---- src/models/Package.ts | 26 +- src/models/PackageRelease.ts | 22 +- src/models/Product.ts | 38 ++- src/models/ProductPrice.ts | 8 +- src/models/ProductType.ts | 2 +- src/models/Profile.ts | 87 ++---- src/models/ProfileGame.ts | 2 +- src/models/ProfileGroup.ts | 2 +- src/models/ResponseType.ts | 2 +- src/models/RevokeRequest.ts | 2 +- src/models/Search.ts | 4 +- src/models/SearchType.ts | 2 +- src/models/ServerMetrics.ts | 2 +- src/models/StorageFile.ts | 22 +- src/models/TokenHintType.ts | 2 +- src/models/TokenRequest.ts | 2 +- src/models/TokenResponse.ts | 2 +- src/models/TokenType.ts | 2 +- src/models/UpdateProfile.ts | 2 +- src/models/UserInfo.ts | 28 +- src/models/UserType.ts | 2 +- src/models/index.ts | 4 +- src/runtime.ts | 2 +- 56 files changed, 456 insertions(+), 857 deletions(-) delete mode 100644 src/models/Account.ts create mode 100644 src/models/ExternalAccount.ts create mode 100644 src/models/IdentityProviderType.ts delete mode 100644 src/models/LoginProvider.ts diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 39fd042..fcd3c12 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,6 +1,5 @@ src/apis/TribufuGeneratedApi.ts src/apis/index.ts -src/models/Account.ts src/models/Application.ts src/models/ApplicationType.ts src/models/AuthorizeRequest.ts @@ -11,6 +10,7 @@ src/models/CodeChallengeMethod.ts src/models/CodeResponse.ts src/models/CreateUser.ts src/models/CryptoViewModel.ts +src/models/ExternalAccount.ts src/models/Game.ts src/models/GameServer.ts src/models/GameServerCluster.ts @@ -22,12 +22,12 @@ src/models/GroupApplication.ts src/models/GroupMember.ts src/models/GroupRank.ts src/models/HashViewModel.ts +src/models/IdentityProviderType.ts src/models/IntrospectRequest.ts src/models/IntrospectResponse.ts src/models/IpAddress.ts src/models/LeaderboardItem.ts src/models/LeaderboardOrder.ts -src/models/LoginProvider.ts src/models/Package.ts src/models/PackageRelease.ts src/models/Product.ts diff --git a/package.json b/package.json index 6d98383..67962b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tribufu", - "version": "1.3.0", + "version": "1.4.2", "description": "Tribufu JS SDK", "repository": "https://github.com/tribufu/tribufu-js", "author": "Tribufu ", diff --git a/src/apis/TribufuGeneratedApi.ts b/src/apis/TribufuGeneratedApi.ts index 3c4503d..b1626c2 100644 --- a/src/apis/TribufuGeneratedApi.ts +++ b/src/apis/TribufuGeneratedApi.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -15,13 +15,13 @@ import * as runtime from '../runtime'; import type { - Account, AuthorizeRequest, Client, ClientInfo, CodeResponse, CreateUser, CryptoViewModel, + ExternalAccount, Game, GameServer, GameServerCluster, @@ -49,8 +49,6 @@ import type { UserInfo, } from '../models/index'; import { - AccountFromJSON, - AccountToJSON, AuthorizeRequestFromJSON, AuthorizeRequestToJSON, ClientFromJSON, @@ -63,6 +61,8 @@ import { CreateUserToJSON, CryptoViewModelFromJSON, CryptoViewModelToJSON, + ExternalAccountFromJSON, + ExternalAccountToJSON, GameFromJSON, GameToJSON, GameServerFromJSON, @@ -208,7 +208,7 @@ export interface GenerateFlakeIdRequest { } export interface GenerateFlakeIdFromTimestampRequest { - timestamp: string; + timestamp: number; amount?: number; } @@ -559,10 +559,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/authorize`, method: 'POST', @@ -601,10 +597,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json-patch+json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/email`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -642,10 +634,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json-patch+json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/password`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -683,10 +671,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/{id}/claim`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -725,10 +709,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/{id}/claim`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -760,10 +740,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/base64`, method: 'POST', @@ -795,10 +771,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/clients`, method: 'POST', @@ -829,10 +801,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers`, method: 'POST', @@ -863,10 +831,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/clusters`, method: 'POST', @@ -898,10 +862,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/clusters`, method: 'POST', @@ -934,10 +894,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers`, method: 'POST', @@ -969,10 +925,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups`, method: 'POST', @@ -1002,10 +954,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/token`, method: 'POST', @@ -1036,10 +984,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users`, method: 'POST', @@ -1075,10 +1019,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/clients/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1113,10 +1053,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1151,10 +1087,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/clusters/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1190,10 +1122,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/clusters/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1230,10 +1158,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1269,10 +1193,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1307,10 +1227,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/packages/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'DELETE', @@ -1333,7 +1249,7 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { * 🔒 Required permissions: tribufu.utils.generate.flake * Generate one or more flake ids. */ - async generateFlakeIdRaw(requestParameters: GenerateFlakeIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { + async generateFlakeIdRaw(requestParameters: GenerateFlakeIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { const queryParameters: any = {}; if (requestParameters['amount'] != null) { @@ -1342,10 +1258,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/flake`, method: 'GET', @@ -1360,7 +1272,7 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { * 🔒 Required permissions: tribufu.utils.generate.flake * Generate one or more flake ids. */ - async generateFlakeId(amount?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async generateFlakeId(amount?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const response = await this.generateFlakeIdRaw({ amount: amount }, initOverrides); return await response.value(); } @@ -1369,7 +1281,7 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { * 🔒 Required permissions: tribufu.utils.generate.flake.timestamp * Generate one or more flake ids from a timestamp. */ - async generateFlakeIdFromTimestampRaw(requestParameters: GenerateFlakeIdFromTimestampRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { + async generateFlakeIdFromTimestampRaw(requestParameters: GenerateFlakeIdFromTimestampRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { if (requestParameters['timestamp'] == null) { throw new runtime.RequiredError( 'timestamp', @@ -1385,10 +1297,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/flake/{timestamp}`.replace(`{${"timestamp"}}`, encodeURIComponent(String(requestParameters['timestamp']))), method: 'GET', @@ -1403,7 +1311,7 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { * 🔒 Required permissions: tribufu.utils.generate.flake.timestamp * Generate one or more flake ids from a timestamp. */ - async generateFlakeIdFromTimestamp(timestamp: string, amount?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async generateFlakeIdFromTimestamp(timestamp: number, amount?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const response = await this.generateFlakeIdFromTimestampRaw({ timestamp: timestamp, amount: amount }, initOverrides); return await response.value(); } @@ -1425,10 +1333,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/password`, method: 'GET', @@ -1465,10 +1369,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/uuid`, method: 'GET', @@ -1504,10 +1404,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/clients/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1535,10 +1431,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/clientinfo`, method: 'GET', @@ -1578,10 +1470,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/clients`, method: 'GET', @@ -1609,10 +1497,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/geoip`, method: 'GET', @@ -1647,10 +1531,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1693,10 +1573,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/address/{address}:{port}`.replace(`{${"address"}}`, encodeURIComponent(String(requestParameters['address']))).replace(`{${"port"}}`, encodeURIComponent(String(requestParameters['port']))), method: 'GET', @@ -1740,10 +1616,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/address/{address}:{port}`.replace(`{${"address"}}`, encodeURIComponent(String(requestParameters['address']))).replace(`{${"port"}}`, encodeURIComponent(String(requestParameters['port']))), method: 'GET', @@ -1780,10 +1652,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1820,10 +1688,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1860,10 +1724,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/clusters/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1900,10 +1760,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/clusters/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1948,10 +1804,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/clusters/{id}/servers`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -1996,10 +1848,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/clusters/{id}/servers`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2037,10 +1885,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/clusters`, method: 'GET', @@ -2078,10 +1922,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/clusters`, method: 'GET', @@ -2126,10 +1966,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/{id}/queries`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2174,10 +2010,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/{id}/queries`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2231,10 +2063,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers`, method: 'GET', @@ -2278,10 +2106,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/country/{country}`.replace(`{${"country"}}`, encodeURIComponent(String(requestParameters['country']))), method: 'GET', @@ -2326,10 +2150,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/country/{country}`.replace(`{${"country"}}`, encodeURIComponent(String(requestParameters['country']))), method: 'GET', @@ -2359,10 +2179,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/countries`, method: 'GET', @@ -2392,10 +2208,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/countries`, method: 'GET', @@ -2425,10 +2237,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/metrics`, method: 'GET', @@ -2458,10 +2266,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/metrics`, method: 'GET', @@ -2516,10 +2320,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers`, method: 'GET', @@ -2557,10 +2357,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games`, method: 'GET', @@ -2596,10 +2392,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2635,10 +2427,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/tag/{tag}`.replace(`{${"tag"}}`, encodeURIComponent(String(requestParameters['tag']))), method: 'GET', @@ -2674,10 +2462,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/uuid/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))), method: 'GET', @@ -2713,10 +2497,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/{id}/games`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2752,10 +2532,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/{id}/members`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2792,10 +2568,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups`, method: 'GET', @@ -2830,10 +2602,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/geoip/addresses/{address}`.replace(`{${"address"}}`, encodeURIComponent(String(requestParameters['address']))), method: 'GET', @@ -2873,10 +2641,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/geoip/addresses`, method: 'GET', @@ -2909,10 +2673,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/leaderboard`, method: 'GET', @@ -2948,10 +2708,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/packages/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -2988,10 +2744,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/packages`, method: 'GET', @@ -3027,10 +2779,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/products/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3067,10 +2815,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/products`, method: 'GET', @@ -3098,10 +2842,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/jwks`, method: 'GET', @@ -3123,7 +2863,7 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { * 🔒 Required permissions: tribufu.identity.user.account.list * Get a list of connected accounts of the user. */ - async getUserAccountsRaw(requestParameters: GetUserAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { + async getUserAccountsRaw(requestParameters: GetUserAccountsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', @@ -3135,10 +2875,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/accounts`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3146,14 +2882,14 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { query: queryParameters, }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AccountFromJSON)); + return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ExternalAccountFromJSON)); } /** * 🔒 Required permissions: tribufu.identity.user.account.list * Get a list of connected accounts of the user. */ - async getUserAccounts(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { + async getUserAccounts(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const response = await this.getUserAccountsRaw({ id: id }, initOverrides); return await response.value(); } @@ -3174,10 +2910,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}/friends`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3214,10 +2946,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/friends`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3254,10 +2982,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}/games`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3294,10 +3018,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/games`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3334,10 +3054,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}/groups`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3374,10 +3090,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/groups`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3407,10 +3119,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/userinfo`, method: 'GET', @@ -3446,10 +3154,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3486,10 +3190,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3526,10 +3226,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/name/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(requestParameters['name']))), method: 'GET', @@ -3566,10 +3262,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/name/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(requestParameters['name']))), method: 'GET', @@ -3606,10 +3298,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/uuid/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))), method: 'GET', @@ -3646,10 +3334,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/uuid/{uuid}`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters['uuid']))), method: 'GET', @@ -3687,10 +3371,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles`, method: 'GET', @@ -3728,10 +3408,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users`, method: 'GET', @@ -3768,10 +3444,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}/sanctions`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3808,10 +3480,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/sanctions`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3856,10 +3524,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}/servers`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3904,10 +3568,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { const headerParameters: runtime.HTTPHeaders = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/servers`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'GET', @@ -3939,10 +3599,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/argon2`, method: 'POST', @@ -3974,10 +3630,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/bcrypt`, method: 'POST', @@ -4009,10 +3661,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/md5`, method: 'POST', @@ -4044,10 +3692,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/utils/sha256`, method: 'POST', @@ -4078,10 +3722,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/introspect`, method: 'POST', @@ -4111,10 +3751,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/revoke`, method: 'POST', @@ -4144,10 +3780,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/search`, method: 'POST', @@ -4186,10 +3818,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/oauth2/clients/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4227,10 +3855,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4268,10 +3892,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/games/servers/clusters/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4310,10 +3930,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/clusters/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4353,10 +3969,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/servers/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4395,10 +4007,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/groups/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4436,10 +4044,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/packages/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4477,10 +4081,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/profiles/{id}/profile`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', @@ -4520,10 +4120,6 @@ export class TribufuGeneratedApi extends runtime.BaseAPI { headerParameters['Content-Type'] = 'application/json'; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKey authentication - } - const response = await this.request({ path: `/v1/users/{id}/profile`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))), method: 'PUT', diff --git a/src/models/Account.ts b/src/models/Account.ts deleted file mode 100644 index 32aff11..0000000 --- a/src/models/Account.ts +++ /dev/null @@ -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()), - }; -} - diff --git a/src/models/Application.ts b/src/models/Application.ts index 6e404e3..fed3d8c 100644 --- a/src/models/Application.ts +++ b/src/models/Application.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -56,7 +56,7 @@ export interface Application { * @type {string} * @memberof Application */ - organizationId?: string | null; + organizationId?: string; /** * * @type {string} @@ -92,13 +92,19 @@ export interface Application { * @type {Date} * @memberof Application */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'libraryImageUrl': json['library_image_url'] == null ? undefined : json['library_image_url'], 'slug': json['slug'] == null ? undefined : json['slug'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -157,8 +164,9 @@ export function ApplicationToJSONTyped(value?: Application | null, ignoreDiscrim 'capsule_image_url': value['capsuleImageUrl'], 'library_image_url': value['libraryImageUrl'], 'slug': value['slug'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/ApplicationType.ts b/src/models/ApplicationType.ts index 96bdf8b..9499ea4 100644 --- a/src/models/ApplicationType.ts +++ b/src/models/ApplicationType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,7 +18,7 @@ * @export */ export const ApplicationType = { - Application: 'application', + Software: 'software', Game: 'game' } as const; export type ApplicationType = typeof ApplicationType[keyof typeof ApplicationType]; diff --git a/src/models/AuthorizeRequest.ts b/src/models/AuthorizeRequest.ts index 01f398a..755293f 100644 --- a/src/models/AuthorizeRequest.ts +++ b/src/models/AuthorizeRequest.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Client.ts b/src/models/Client.ts index 4941273..ff86122 100644 --- a/src/models/Client.ts +++ b/src/models/Client.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -98,13 +98,19 @@ export interface Client { * @type {Date} * @memberof Client */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'scopes': json['scopes'] == null ? undefined : json['scopes'], 'permissions': json['permissions'] == null ? undefined : json['permissions'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -164,8 +171,9 @@ export function ClientToJSONTyped(value?: Omit | null, ig 'background_url': value['backgroundUrl'], 'redirects': value['redirects'], 'scopes': value['scopes'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/ClientInfo.ts b/src/models/ClientInfo.ts index 7a13979..ddaec87 100644 --- a/src/models/ClientInfo.ts +++ b/src/models/ClientInfo.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ClientType.ts b/src/models/ClientType.ts index 403f759..64304c1 100644 --- a/src/models/ClientType.ts +++ b/src/models/ClientType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CodeChallengeMethod.ts b/src/models/CodeChallengeMethod.ts index 3915f2c..1168f80 100644 --- a/src/models/CodeChallengeMethod.ts +++ b/src/models/CodeChallengeMethod.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CodeResponse.ts b/src/models/CodeResponse.ts index 3def9e9..e00c7b6 100644 --- a/src/models/CodeResponse.ts +++ b/src/models/CodeResponse.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateUser.ts b/src/models/CreateUser.ts index d8962c8..e256cc8 100644 --- a/src/models/CreateUser.ts +++ b/src/models/CreateUser.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,7 +24,7 @@ export interface CreateUser { * @type {string} * @memberof CreateUser */ - uuid?: string | null; + uuid?: string; /** * * @type {string} diff --git a/src/models/CryptoViewModel.ts b/src/models/CryptoViewModel.ts index f125efa..13440e5 100644 --- a/src/models/CryptoViewModel.ts +++ b/src/models/CryptoViewModel.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ExternalAccount.ts b/src/models/ExternalAccount.ts new file mode 100644 index 0000000..a3fe8a2 --- /dev/null +++ b/src/models/ExternalAccount.ts @@ -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()), + }; +} + diff --git a/src/models/Game.ts b/src/models/Game.ts index 98dfac6..edc9e96 100644 --- a/src/models/Game.ts +++ b/src/models/Game.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -56,7 +56,7 @@ export interface Game { * @type {string} * @memberof Game */ - organizationId?: string | null; + organizationId?: string; /** * * @type {string} @@ -92,13 +92,19 @@ export interface Game { * @type {Date} * @memberof Game */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @memberof Game */ - updated?: Date | null; + updatedAt?: Date | null; + /** + * + * @type {Date} + * @memberof Game + */ + deletedAt?: Date | null; /** * * @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'], 'libraryImageUrl': json['library_image_url'] == null ? undefined : json['library_image_url'], 'slug': json['slug'] == null ? undefined : json['slug'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), 'enableServers': json['enable_servers'] == null ? undefined : json['enable_servers'], 'gamePort': json['game_port'] == null ? undefined : json['game_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'], 'library_image_url': value['libraryImageUrl'], 'slug': value['slug'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), 'enable_servers': value['enableServers'], 'game_port': value['gamePort'], 'query_port': value['queryPort'], diff --git a/src/models/GameServer.ts b/src/models/GameServer.ts index 5e6f07a..c44a2dc 100644 --- a/src/models/GameServer.ts +++ b/src/models/GameServer.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -42,7 +42,7 @@ export interface GameServer { * @type {string} * @memberof GameServer */ - ownerId?: string | null; + ownerId?: string; /** * * @type {string} @@ -90,7 +90,7 @@ export interface GameServer { * @type {string} * @memberof GameServer */ - clusterId?: string | null; + clusterId?: string; /** * * @type {string} @@ -123,10 +123,10 @@ export interface GameServer { steam?: boolean; /** * - * @type {string} + * @type {number} * @memberof GameServer */ - discordServerId?: string | null; + discordServerId?: number | null; /** * * @type {string} @@ -138,13 +138,19 @@ export interface GameServer { * @type {Date} * @memberof GameServer */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'discordServerId': json['discord_server_id'] == null ? undefined : json['discord_server_id'], 'youtubeVideoUrl': json['youtube_video_url'] == null ? undefined : json['youtube_video_url'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -221,8 +228,9 @@ export function GameServerToJSONTyped(value?: GameServer | null, ignoreDiscrimin 'steam': value['steam'], 'discord_server_id': value['discordServerId'], 'youtube_video_url': value['youtubeVideoUrl'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/GameServerCluster.ts b/src/models/GameServerCluster.ts index 655220b..fb58443 100644 --- a/src/models/GameServerCluster.ts +++ b/src/models/GameServerCluster.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -63,10 +63,10 @@ export interface GameServerCluster { ownerId?: string; /** * - * @type {string} + * @type {number} * @memberof GameServerCluster */ - discordServerId?: string | null; + discordServerId?: number | null; /** * * @type {string} @@ -96,13 +96,19 @@ export interface GameServerCluster { * @type {Date} * @memberof GameServerCluster */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'commentCount': json['comment_count'] == null ? undefined : json['comment_count'], 'serverCount': json['server_count'] == null ? undefined : json['server_count'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -163,8 +170,9 @@ export function GameServerClusterToJSONTyped(value?: GameServerCluster | null, i 'tags': value['tags'], 'comment_count': value['commentCount'], 'server_count': value['serverCount'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/GameServerQuery.ts b/src/models/GameServerQuery.ts index 2239325..37fd864 100644 --- a/src/models/GameServerQuery.ts +++ b/src/models/GameServerQuery.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -74,7 +74,7 @@ export interface GameServerQuery { * @type {Date} * @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'], 'maxPlayers': json['max_players'] == null ? undefined : json['max_players'], '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'], 'max_players': value['maxPlayers'], 'motd': value['motd'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), + 'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()), }; } diff --git a/src/models/GameServerStatus.ts b/src/models/GameServerStatus.ts index 3183b75..3af0c6f 100644 --- a/src/models/GameServerStatus.ts +++ b/src/models/GameServerStatus.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/GrantType.ts b/src/models/GrantType.ts index 75871a0..e26718c 100644 --- a/src/models/GrantType.ts +++ b/src/models/GrantType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Group.ts b/src/models/Group.ts index 3e4614c..2269081 100644 --- a/src/models/Group.ts +++ b/src/models/Group.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -108,13 +108,19 @@ export interface Group { * @type {Date} * @memberof Group */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'followerCount': json['follower_count'] == null ? undefined : json['follower_count'], 'viewCount': json['view_count'] == null ? undefined : json['view_count'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -179,8 +186,9 @@ export function GroupToJSONTyped(value?: Group | null, ignoreDiscriminator: bool 'member_count': value['memberCount'], 'follower_count': value['followerCount'], 'view_count': value['viewCount'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/GroupApplication.ts b/src/models/GroupApplication.ts index 876585c..d4dcd94 100644 --- a/src/models/GroupApplication.ts +++ b/src/models/GroupApplication.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/GroupMember.ts b/src/models/GroupMember.ts index df993e3..334275d 100644 --- a/src/models/GroupMember.ts +++ b/src/models/GroupMember.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,12 +33,6 @@ export interface GroupMember { * @memberof GroupMember */ id?: string; - /** - * - * @type {string} - * @memberof GroupMember - */ - uuid?: string; /** * * @type {string} @@ -51,24 +45,12 @@ export interface GroupMember { * @memberof GroupMember */ displayName?: string | null; - /** - * - * @type {boolean} - * @memberof GroupMember - */ - verified?: boolean; /** * * @type {string} * @memberof GroupMember */ photoUrl?: string | null; - /** - * - * @type {Date} - * @memberof GroupMember - */ - lastOnline?: Date | null; /** * * @type {GroupRank} @@ -103,12 +85,9 @@ export function GroupMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean return { 'id': json['id'] == null ? undefined : json['id'], - 'uuid': json['uuid'] == null ? undefined : json['uuid'], 'name': json['name'] == null ? undefined : json['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'], - 'lastOnline': json['last_online'] == null ? undefined : (new Date(json['last_online'])), 'rank': json['rank'] == null ? undefined : GroupRankFromJSON(json['rank']), 'since': json['since'] == null ? undefined : (new Date(json['since'])), }; @@ -126,12 +105,9 @@ export function GroupMemberToJSONTyped(value?: GroupMember | null, ignoreDiscrim return { 'id': value['id'], - 'uuid': value['uuid'], 'name': value['name'], 'display_name': value['displayName'], - 'verified': value['verified'], 'photo_url': value['photoUrl'], - 'last_online': value['lastOnline'] == null ? undefined : ((value['lastOnline'] as any).toISOString()), 'rank': GroupRankToJSON(value['rank']), 'since': value['since'] == null ? undefined : ((value['since']).toISOString()), }; diff --git a/src/models/GroupRank.ts b/src/models/GroupRank.ts index a7206ab..89880b5 100644 --- a/src/models/GroupRank.ts +++ b/src/models/GroupRank.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/HashViewModel.ts b/src/models/HashViewModel.ts index 0979879..4d1ea0f 100644 --- a/src/models/HashViewModel.ts +++ b/src/models/HashViewModel.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/IdentityProviderType.ts b/src/models/IdentityProviderType.ts new file mode 100644 index 0000000..756295a --- /dev/null +++ b/src/models/IdentityProviderType.ts @@ -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; +} + diff --git a/src/models/IntrospectRequest.ts b/src/models/IntrospectRequest.ts index 18a0959..8c7b325 100644 --- a/src/models/IntrospectRequest.ts +++ b/src/models/IntrospectRequest.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/IntrospectResponse.ts b/src/models/IntrospectResponse.ts index 7c17e4b..53fcd7d 100644 --- a/src/models/IntrospectResponse.ts +++ b/src/models/IntrospectResponse.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/IpAddress.ts b/src/models/IpAddress.ts index a9bf270..819671c 100644 --- a/src/models/IpAddress.ts +++ b/src/models/IpAddress.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/LeaderboardItem.ts b/src/models/LeaderboardItem.ts index ec1a1ed..909265d 100644 --- a/src/models/LeaderboardItem.ts +++ b/src/models/LeaderboardItem.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/LeaderboardOrder.ts b/src/models/LeaderboardOrder.ts index e6fede4..5c785a3 100644 --- a/src/models/LeaderboardOrder.ts +++ b/src/models/LeaderboardOrder.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/LoginProvider.ts b/src/models/LoginProvider.ts deleted file mode 100644 index 5901f86..0000000 --- a/src/models/LoginProvider.ts +++ /dev/null @@ -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; -} - diff --git a/src/models/Package.ts b/src/models/Package.ts index eaebc87..4842548 100644 --- a/src/models/Package.ts +++ b/src/models/Package.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -62,13 +62,13 @@ export interface Package { * @type {string} * @memberof Package */ - applicationId?: string | null; + applicationId?: string; /** * * @type {string} * @memberof Package */ - categoryId?: string | null; + categoryId?: string; /** * * @type {number} @@ -92,13 +92,19 @@ export interface Package { * @type {Date} * @memberof Package */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'lastDownload': json['last_download'] == null ? undefined : (new Date(json['last_download'])), 'releases': json['releases'] == null ? undefined : ((json['releases'] as Array).map(PackageReleaseFromJSON)), - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -156,8 +163,9 @@ export function PackageToJSONTyped(value?: Package | null, ignoreDiscriminator: 'download_count': value['downloadCount'], 'last_download': value['lastDownload'] == null ? undefined : ((value['lastDownload'] as any).toISOString()), 'releases': value['releases'] == null ? undefined : ((value['releases'] as Array).map(PackageReleaseToJSON)), - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/PackageRelease.ts b/src/models/PackageRelease.ts index a218d22..f2a240d 100644 --- a/src/models/PackageRelease.ts +++ b/src/models/PackageRelease.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -62,13 +62,19 @@ export interface PackageRelease { * @type {Date} * @memberof PackageRelease */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'notes': json['notes'] == null ? undefined : json['notes'], 'files': json['files'] == null ? undefined : ((json['files'] as Array).map(StorageFileFromJSON)), - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -114,8 +121,9 @@ export function PackageReleaseToJSONTyped(value?: Omit 'version': value['version'], 'package_id': value['packageId'], 'notes': value['notes'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/Product.ts b/src/models/Product.ts index 78f5ce1..72301d4 100644 --- a/src/models/Product.ts +++ b/src/models/Product.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,6 +46,12 @@ export interface Product { * @memberof Product */ name: string | null; + /** + * + * @type {string} + * @memberof Product + */ + sku?: string | null; /** * * @type {string} @@ -70,12 +76,6 @@ export interface Product { * @memberof Product */ imageUrl?: string | null; - /** - * - * @type {boolean} - * @memberof Product - */ - isPhysical?: boolean; /** * * @type {Array} @@ -87,13 +87,19 @@ export interface Product { * @type {Date} * @memberof Product */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'name': json['name'], + 'sku': json['sku'] == null ? undefined : json['sku'], 'description': json['description'] == null ? undefined : json['description'], 'type': json['type'] == null ? undefined : ProductTypeFromJSON(json['type']), 'slug': json['slug'] == null ? undefined : json['slug'], '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).map(ProductPriceFromJSON)), - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -142,14 +149,15 @@ export function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator: 'id': value['id'], 'name': value['name'], + 'sku': value['sku'], 'description': value['description'], 'type': ProductTypeToJSON(value['type']), 'slug': value['slug'], 'image_url': value['imageUrl'], - 'is_physical': value['isPhysical'], 'prices': value['prices'] == null ? undefined : ((value['prices'] as Array).map(ProductPriceToJSON)), - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/ProductPrice.ts b/src/models/ProductPrice.ts index 17a305f..e908c66 100644 --- a/src/models/ProductPrice.ts +++ b/src/models/ProductPrice.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -30,7 +30,7 @@ export interface ProductPrice { * @type {number} * @memberof ProductPrice */ - amount?: number; + price?: number; /** * * @type {number} @@ -58,7 +58,7 @@ export function ProductPriceFromJSONTyped(json: any, ignoreDiscriminator: boolea return { 'currency': json['currency'], - 'amount': json['amount'] == null ? undefined : json['amount'], + 'price': json['price'] == null ? undefined : json['price'], 'renewal': json['renewal'] == null ? undefined : json['renewal'], }; } @@ -75,7 +75,7 @@ export function ProductPriceToJSONTyped(value?: ProductPrice | null, ignoreDiscr return { 'currency': value['currency'], - 'amount': value['amount'], + 'price': value['price'], 'renewal': value['renewal'], }; } diff --git a/src/models/ProductType.ts b/src/models/ProductType.ts index 2c1baeb..0f1ce90 100644 --- a/src/models/ProductType.ts +++ b/src/models/ProductType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Profile.ts b/src/models/Profile.ts index d7756d3..534745a 100644 --- a/src/models/Profile.ts +++ b/src/models/Profile.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -24,109 +24,79 @@ export interface Profile { * @type {string} * @memberof Profile */ - id?: string; + readonly id?: string; /** * * @type {string} * @memberof Profile */ - uuid?: string; + readonly name?: string | null; /** * * @type {string} * @memberof Profile */ - name?: string | null; - /** - * - * @type {string} - * @memberof Profile - */ - displayName?: string | null; - /** - * - * @type {boolean} - * @memberof Profile - */ - verified?: boolean; + readonly displayName?: string | null; /** * * @type {number} * @memberof Profile */ - level?: number; + readonly level?: number; /** * * @type {number} * @memberof Profile */ - experience?: number; - /** - * - * @type {boolean} - * @memberof Profile - */ - publicBirthday?: boolean; + readonly experience?: number; /** * * @type {Date} * @memberof Profile */ - birthday?: Date | null; + readonly birthday?: Date | null; /** * * @type {number} * @memberof Profile */ - points?: number; + readonly points?: number; /** * * @type {string} * @memberof Profile */ - location?: string | null; + readonly photoUrl?: string | null; /** * * @type {string} * @memberof Profile */ - photoUrl?: string | null; - /** - * - * @type {string} - * @memberof Profile - */ - bannerUrl?: string | null; + readonly bannerUrl?: string | null; /** * * @type {Date} * @memberof Profile */ - lastOnline?: Date | null; + readonly lastOnline?: Date | null; /** * * @type {string} * @memberof Profile */ - biography?: string | null; - /** - * - * @type {number} - * @memberof Profile - */ - viewCount?: number; + readonly biography?: string | null; /** * * @type {Date} * @memberof Profile */ - created?: Date; + readonly createdAt?: Date; /** * * @type {Date} * @memberof Profile */ - updated?: Date | null; + readonly updatedAt?: Date | null; } /** @@ -147,23 +117,18 @@ export function ProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): P return { 'id': json['id'] == null ? undefined : json['id'], - 'uuid': json['uuid'] == null ? undefined : json['uuid'], 'name': json['name'] == null ? undefined : json['name'], 'displayName': json['display_name'] == null ? undefined : json['display_name'], - 'verified': json['verified'] == null ? undefined : json['verified'], 'level': json['level'] == null ? undefined : json['level'], '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'])), 'points': json['points'] == null ? undefined : json['points'], - 'location': json['location'] == null ? undefined : json['location'], 'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'], 'bannerUrl': json['banner_url'] == null ? undefined : json['banner_url'], 'lastOnline': json['last_online'] == null ? undefined : (new Date(json['last_online'])), 'biography': json['biography'] == null ? undefined : json['biography'], - 'viewCount': json['view_count'] == null ? undefined : json['view_count'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])), + 'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])), }; } @@ -171,31 +136,13 @@ export function ProfileToJSON(json: any): Profile { return ProfileToJSONTyped(json, false); } -export function ProfileToJSONTyped(value?: Profile | null, ignoreDiscriminator: boolean = false): any { +export function ProfileToJSONTyped(value?: Omit | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } 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()), }; } diff --git a/src/models/ProfileGame.ts b/src/models/ProfileGame.ts index b200bcf..6a01f67 100644 --- a/src/models/ProfileGame.ts +++ b/src/models/ProfileGame.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ProfileGroup.ts b/src/models/ProfileGroup.ts index 4646c33..48b0931 100644 --- a/src/models/ProfileGroup.ts +++ b/src/models/ProfileGroup.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ResponseType.ts b/src/models/ResponseType.ts index c213719..b43c4b3 100644 --- a/src/models/ResponseType.ts +++ b/src/models/ResponseType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/RevokeRequest.ts b/src/models/RevokeRequest.ts index d13cec1..73a3384 100644 --- a/src/models/RevokeRequest.ts +++ b/src/models/RevokeRequest.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Search.ts b/src/models/Search.ts index d0fe815..02dab6a 100644 --- a/src/models/Search.ts +++ b/src/models/Search.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ export interface Search { * @type {string} * @memberof Search */ - gameId?: string | null; + gameId?: string; } diff --git a/src/models/SearchType.ts b/src/models/SearchType.ts index b422166..d808f08 100644 --- a/src/models/SearchType.ts +++ b/src/models/SearchType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ServerMetrics.ts b/src/models/ServerMetrics.ts index 86db8a7..acf54bb 100644 --- a/src/models/ServerMetrics.ts +++ b/src/models/ServerMetrics.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StorageFile.ts b/src/models/StorageFile.ts index 501191a..059ef6d 100644 --- a/src/models/StorageFile.ts +++ b/src/models/StorageFile.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -66,13 +66,19 @@ export interface StorageFile { * @type {Date} * @memberof StorageFile */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @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'], 'hash': json['hash'] == null ? undefined : json['hash'], 'etag': json['etag'] == null ? undefined : json['etag'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + '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'])), }; } @@ -125,8 +132,9 @@ export function StorageFileToJSONTyped(value?: StorageFile | null, ignoreDiscrim 'size': value['size'], 'hash': value['hash'], 'etag': value['etag'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + '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()), }; } diff --git a/src/models/TokenHintType.ts b/src/models/TokenHintType.ts index 391bdca..54ae189 100644 --- a/src/models/TokenHintType.ts +++ b/src/models/TokenHintType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/TokenRequest.ts b/src/models/TokenRequest.ts index 308d76a..c45a6eb 100644 --- a/src/models/TokenRequest.ts +++ b/src/models/TokenRequest.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/TokenResponse.ts b/src/models/TokenResponse.ts index fefb7d5..769c3f6 100644 --- a/src/models/TokenResponse.ts +++ b/src/models/TokenResponse.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/TokenType.ts b/src/models/TokenType.ts index 51b59f3..c1ae12a 100644 --- a/src/models/TokenType.ts +++ b/src/models/TokenType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/UpdateProfile.ts b/src/models/UpdateProfile.ts index 4e7b2a3..c0d3411 100644 --- a/src/models/UpdateProfile.ts +++ b/src/models/UpdateProfile.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/UserInfo.ts b/src/models/UserInfo.ts index a18de3f..49a5613 100644 --- a/src/models/UserInfo.ts +++ b/src/models/UserInfo.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -33,12 +33,6 @@ export interface UserInfo { * @memberof UserInfo */ id?: string; - /** - * - * @type {string} - * @memberof UserInfo - */ - uuid?: string; /** * * @type {string} @@ -56,7 +50,7 @@ export interface UserInfo { * @type {string} * @memberof UserInfo */ - email?: string | null; + emailAddress?: string | null; /** * * @type {boolean} @@ -104,13 +98,13 @@ export interface UserInfo { * @type {Date} * @memberof UserInfo */ - created?: Date; + createdAt?: Date; /** * * @type {Date} * @memberof UserInfo */ - updated?: Date | null; + updatedAt?: Date | null; } @@ -134,10 +128,9 @@ export function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): return { 'id': json['id'] == null ? undefined : json['id'], - 'uuid': json['uuid'] == null ? undefined : json['uuid'], 'name': json['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'], 'type': json['type'] == null ? undefined : UserTypeFromJSON(json['type']), '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'], 'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'], 'permissions': json['permissions'] == null ? undefined : json['permissions'], - 'created': json['created'] == null ? undefined : (new Date(json['created'])), - 'updated': json['updated'] == null ? undefined : (new Date(json['updated'])), + 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])), + 'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])), }; } @@ -162,10 +155,9 @@ export function UserInfoToJSONTyped(value?: UserInfo | null, ignoreDiscriminator return { 'id': value['id'], - 'uuid': value['uuid'], 'name': value['name'], 'display_name': value['displayName'], - 'email': value['email'], + 'email_address': value['emailAddress'], 'email_verified': value['emailVerified'], 'type': UserTypeToJSON(value['type']), 'language': value['language'], @@ -173,8 +165,8 @@ export function UserInfoToJSONTyped(value?: UserInfo | null, ignoreDiscriminator 'currency': value['currency'], 'photo_url': value['photoUrl'], 'permissions': value['permissions'], - 'created': value['created'] == null ? undefined : ((value['created']).toISOString()), - 'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()), + 'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()), + 'updated_at': value['updatedAt'] == null ? undefined : ((value['updatedAt'] as any).toISOString()), }; } diff --git a/src/models/UserType.ts b/src/models/UserType.ts index fda4fc9..9e58c4e 100644 --- a/src/models/UserType.ts +++ b/src/models/UserType.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/index.ts b/src/models/index.ts index 0982d62..f59d54f 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -1,6 +1,5 @@ /* tslint:disable */ /* eslint-disable */ -export * from './Account'; export * from './Application'; export * from './ApplicationType'; export * from './AuthorizeRequest'; @@ -11,6 +10,7 @@ export * from './CodeChallengeMethod'; export * from './CodeResponse'; export * from './CreateUser'; export * from './CryptoViewModel'; +export * from './ExternalAccount'; export * from './Game'; export * from './GameServer'; export * from './GameServerCluster'; @@ -22,12 +22,12 @@ export * from './GroupApplication'; export * from './GroupMember'; export * from './GroupRank'; export * from './HashViewModel'; +export * from './IdentityProviderType'; export * from './IntrospectRequest'; export * from './IntrospectResponse'; export * from './IpAddress'; export * from './LeaderboardItem'; export * from './LeaderboardOrder'; -export * from './LoginProvider'; export * from './Package'; export * from './PackageRelease'; export * from './Product'; diff --git a/src/runtime.ts b/src/runtime.ts index 5d24ca2..f99a4e6 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -4,7 +4,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).