mirror of
https://github.com/tribufu/sdk-js
synced 2026-02-04 10:23:08 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ff962a166e |
@@ -18,7 +18,7 @@ src/models/GameServerQuery.ts
|
|||||||
src/models/GameServerStatus.ts
|
src/models/GameServerStatus.ts
|
||||||
src/models/GrantType.ts
|
src/models/GrantType.ts
|
||||||
src/models/Group.ts
|
src/models/Group.ts
|
||||||
src/models/GroupGame.ts
|
src/models/GroupApplication.ts
|
||||||
src/models/GroupMember.ts
|
src/models/GroupMember.ts
|
||||||
src/models/GroupRank.ts
|
src/models/GroupRank.ts
|
||||||
src/models/HashViewModel.ts
|
src/models/HashViewModel.ts
|
||||||
@@ -28,9 +28,11 @@ src/models/IpAddress.ts
|
|||||||
src/models/LeaderboardItem.ts
|
src/models/LeaderboardItem.ts
|
||||||
src/models/LeaderboardOrder.ts
|
src/models/LeaderboardOrder.ts
|
||||||
src/models/LoginProvider.ts
|
src/models/LoginProvider.ts
|
||||||
src/models/ModelFile.ts
|
|
||||||
src/models/Package.ts
|
src/models/Package.ts
|
||||||
src/models/PackageRelease.ts
|
src/models/PackageRelease.ts
|
||||||
|
src/models/Product.ts
|
||||||
|
src/models/ProductPrice.ts
|
||||||
|
src/models/ProductType.ts
|
||||||
src/models/Profile.ts
|
src/models/Profile.ts
|
||||||
src/models/ProfileGame.ts
|
src/models/ProfileGame.ts
|
||||||
src/models/ProfileGroup.ts
|
src/models/ProfileGroup.ts
|
||||||
@@ -39,8 +41,7 @@ src/models/RevokeRequest.ts
|
|||||||
src/models/Search.ts
|
src/models/Search.ts
|
||||||
src/models/SearchType.ts
|
src/models/SearchType.ts
|
||||||
src/models/ServerMetrics.ts
|
src/models/ServerMetrics.ts
|
||||||
src/models/Subscription.ts
|
src/models/StorageFile.ts
|
||||||
src/models/SubscriptionPrice.ts
|
|
||||||
src/models/TokenHintType.ts
|
src/models/TokenHintType.ts
|
||||||
src/models/TokenRequest.ts
|
src/models/TokenRequest.ts
|
||||||
src/models/TokenResponse.ts
|
src/models/TokenResponse.ts
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tribufu",
|
"name": "tribufu",
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"description": "Tribufu JS SDK",
|
"description": "Tribufu JS SDK",
|
||||||
"repository": "https://github.com/tribufu/tribufu-js",
|
"repository": "https://github.com/tribufu/tribufu-js",
|
||||||
"author": "Tribufu <contact@Tribufu.com>",
|
"author": "Tribufu <contact@Tribufu.com>",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env pwsh
|
#!/usr/bin/env pwsh
|
||||||
|
|
||||||
java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
|
java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
|
||||||
-i http://localhost:5000/openapi.json `
|
-i https://api.tribufu.com/openapi.json `
|
||||||
-g typescript-fetch `
|
-g typescript-fetch `
|
||||||
-o . `
|
-o . `
|
||||||
--global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false `
|
--global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false `
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -56,7 +56,7 @@ export interface Application {
|
|||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Application
|
* @memberof Application
|
||||||
*/
|
*/
|
||||||
organizationId?: string;
|
organizationId?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -57,12 +57,6 @@ export interface Client {
|
|||||||
* @memberof Client
|
* @memberof Client
|
||||||
*/
|
*/
|
||||||
trusted?: boolean;
|
trusted?: boolean;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Client
|
|
||||||
*/
|
|
||||||
packageId?: string | null;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -81,12 +75,6 @@ export interface Client {
|
|||||||
* @memberof Client
|
* @memberof Client
|
||||||
*/
|
*/
|
||||||
backgroundUrl?: string | null;
|
backgroundUrl?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Client
|
|
||||||
*/
|
|
||||||
customSchema?: string | null;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -144,11 +132,9 @@ export function ClientFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cl
|
|||||||
'type': json['type'] == null ? undefined : ClientTypeFromJSON(json['type']),
|
'type': json['type'] == null ? undefined : ClientTypeFromJSON(json['type']),
|
||||||
'organizationId': json['organization_id'] == null ? undefined : json['organization_id'],
|
'organizationId': json['organization_id'] == null ? undefined : json['organization_id'],
|
||||||
'trusted': json['trusted'] == null ? undefined : json['trusted'],
|
'trusted': json['trusted'] == null ? undefined : json['trusted'],
|
||||||
'packageId': json['package_id'] == null ? undefined : json['package_id'],
|
|
||||||
'websiteUrl': json['website_url'] == null ? undefined : json['website_url'],
|
'websiteUrl': json['website_url'] == null ? undefined : json['website_url'],
|
||||||
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
'photoUrl': json['photo_url'] == null ? undefined : json['photo_url'],
|
||||||
'backgroundUrl': json['background_url'] == null ? undefined : json['background_url'],
|
'backgroundUrl': json['background_url'] == null ? undefined : json['background_url'],
|
||||||
'customSchema': json['custom_schema'] == null ? undefined : json['custom_schema'],
|
|
||||||
'redirects': json['redirects'] == null ? undefined : json['redirects'],
|
'redirects': json['redirects'] == null ? undefined : json['redirects'],
|
||||||
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
'scopes': json['scopes'] == null ? undefined : json['scopes'],
|
||||||
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
'permissions': json['permissions'] == null ? undefined : json['permissions'],
|
||||||
@@ -173,11 +159,9 @@ export function ClientToJSONTyped(value?: Omit<Client, 'permissions'> | null, ig
|
|||||||
'type': ClientTypeToJSON(value['type']),
|
'type': ClientTypeToJSON(value['type']),
|
||||||
'organization_id': value['organizationId'],
|
'organization_id': value['organizationId'],
|
||||||
'trusted': value['trusted'],
|
'trusted': value['trusted'],
|
||||||
'package_id': value['packageId'],
|
|
||||||
'website_url': value['websiteUrl'],
|
'website_url': value['websiteUrl'],
|
||||||
'photo_url': value['photoUrl'],
|
'photo_url': value['photoUrl'],
|
||||||
'background_url': value['backgroundUrl'],
|
'background_url': value['backgroundUrl'],
|
||||||
'custom_schema': value['customSchema'],
|
|
||||||
'redirects': value['redirects'],
|
'redirects': value['redirects'],
|
||||||
'scopes': value['scopes'],
|
'scopes': value['scopes'],
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -56,7 +56,7 @@ export interface Game {
|
|||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Game
|
* @memberof Game
|
||||||
*/
|
*/
|
||||||
organizationId?: string;
|
organizationId?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -42,7 +42,7 @@ export interface Group {
|
|||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof Group
|
* @memberof Group
|
||||||
*/
|
*/
|
||||||
tag: string | null;
|
tag?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -122,7 +122,6 @@ export interface Group {
|
|||||||
*/
|
*/
|
||||||
export function instanceOfGroup(value: object): value is Group {
|
export function instanceOfGroup(value: object): value is Group {
|
||||||
if (!('name' in value) || value['name'] === undefined) return false;
|
if (!('name' in value) || value['name'] === undefined) return false;
|
||||||
if (!('tag' in value) || value['tag'] === undefined) return false;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,7 +138,7 @@ export function GroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): Gro
|
|||||||
'id': json['id'] == null ? undefined : json['id'],
|
'id': json['id'] == null ? undefined : json['id'],
|
||||||
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
||||||
'name': json['name'],
|
'name': json['name'],
|
||||||
'tag': json['tag'],
|
'tag': json['tag'] == null ? undefined : json['tag'],
|
||||||
'description': json['description'] == null ? undefined : json['description'],
|
'description': json['description'] == null ? undefined : json['description'],
|
||||||
'type': json['type'] == null ? undefined : json['type'],
|
'type': json['type'] == null ? undefined : json['type'],
|
||||||
'privacy': json['privacy'] == null ? undefined : json['privacy'],
|
'privacy': json['privacy'] == null ? undefined : json['privacy'],
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -31,66 +31,66 @@ import {
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
* @interface GroupGame
|
* @interface GroupApplication
|
||||||
*/
|
*/
|
||||||
export interface GroupGame {
|
export interface GroupApplication {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
groupId: string;
|
groupId: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Group}
|
* @type {Group}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
group?: Group;
|
group?: Group;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
applicationId?: string;
|
applicationId?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Application}
|
* @type {Application}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
application?: Application;
|
application?: Application;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {any}
|
* @type {any}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
stats?: any | null;
|
stats?: any | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
acquired?: Date;
|
acquired?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof GroupGame
|
* @memberof GroupApplication
|
||||||
*/
|
*/
|
||||||
lastUsed?: Date | null;
|
lastUsed?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a given object implements the GroupGame interface.
|
* Check if a given object implements the GroupApplication interface.
|
||||||
*/
|
*/
|
||||||
export function instanceOfGroupGame(value: object): value is GroupGame {
|
export function instanceOfGroupApplication(value: object): value is GroupApplication {
|
||||||
if (!('groupId' in value) || value['groupId'] === undefined) return false;
|
if (!('groupId' in value) || value['groupId'] === undefined) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GroupGameFromJSON(json: any): GroupGame {
|
export function GroupApplicationFromJSON(json: any): GroupApplication {
|
||||||
return GroupGameFromJSONTyped(json, false);
|
return GroupApplicationFromJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GroupGameFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupGame {
|
export function GroupApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupApplication {
|
||||||
if (json == null) {
|
if (json == null) {
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
@@ -106,11 +106,11 @@ export function GroupGameFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GroupGameToJSON(json: any): GroupGame {
|
export function GroupApplicationToJSON(json: any): GroupApplication {
|
||||||
return GroupGameToJSONTyped(json, false);
|
return GroupApplicationToJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GroupGameToJSONTyped(value?: GroupGame | null, ignoreDiscriminator: boolean = false): any {
|
export function GroupApplicationToJSONTyped(value?: GroupApplication | null, ignoreDiscriminator: boolean = false): any {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -43,6 +43,12 @@ export interface IpAddress {
|
|||||||
* @memberof IpAddress
|
* @memberof IpAddress
|
||||||
*/
|
*/
|
||||||
reserved?: boolean;
|
reserved?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof IpAddress
|
||||||
|
*/
|
||||||
|
banned?: boolean;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -72,7 +78,7 @@ export interface IpAddress {
|
|||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof IpAddress
|
* @memberof IpAddress
|
||||||
*/
|
*/
|
||||||
region?: string | null;
|
province?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -150,11 +156,12 @@ export function IpAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|||||||
'version': json['version'] == null ? undefined : json['version'],
|
'version': json['version'] == null ? undefined : json['version'],
|
||||||
'network': json['network'] == null ? undefined : json['network'],
|
'network': json['network'] == null ? undefined : json['network'],
|
||||||
'reserved': json['reserved'] == null ? undefined : json['reserved'],
|
'reserved': json['reserved'] == null ? undefined : json['reserved'],
|
||||||
|
'banned': json['banned'] == null ? undefined : json['banned'],
|
||||||
'asn': json['asn'] == null ? undefined : json['asn'],
|
'asn': json['asn'] == null ? undefined : json['asn'],
|
||||||
'isp': json['isp'] == null ? undefined : json['isp'],
|
'isp': json['isp'] == null ? undefined : json['isp'],
|
||||||
'continent': json['continent'] == null ? undefined : json['continent'],
|
'continent': json['continent'] == null ? undefined : json['continent'],
|
||||||
'country': json['country'] == null ? undefined : json['country'],
|
'country': json['country'] == null ? undefined : json['country'],
|
||||||
'region': json['region'] == null ? undefined : json['region'],
|
'province': json['province'] == null ? undefined : json['province'],
|
||||||
'city': json['city'] == null ? undefined : json['city'],
|
'city': json['city'] == null ? undefined : json['city'],
|
||||||
'postalCode': json['postal_code'] == null ? undefined : json['postal_code'],
|
'postalCode': json['postal_code'] == null ? undefined : json['postal_code'],
|
||||||
'callingCode': json['calling_code'] == null ? undefined : json['calling_code'],
|
'callingCode': json['calling_code'] == null ? undefined : json['calling_code'],
|
||||||
@@ -182,11 +189,12 @@ export function IpAddressToJSONTyped(value?: IpAddress | null, ignoreDiscriminat
|
|||||||
'version': value['version'],
|
'version': value['version'],
|
||||||
'network': value['network'],
|
'network': value['network'],
|
||||||
'reserved': value['reserved'],
|
'reserved': value['reserved'],
|
||||||
|
'banned': value['banned'],
|
||||||
'asn': value['asn'],
|
'asn': value['asn'],
|
||||||
'isp': value['isp'],
|
'isp': value['isp'],
|
||||||
'continent': value['continent'],
|
'continent': value['continent'],
|
||||||
'country': value['country'],
|
'country': value['country'],
|
||||||
'region': value['region'],
|
'province': value['province'],
|
||||||
'city': value['city'],
|
'city': value['city'],
|
||||||
'postal_code': value['postalCode'],
|
'postal_code': value['postalCode'],
|
||||||
'calling_code': value['callingCode'],
|
'calling_code': value['callingCode'],
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -1,73 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* REST API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.1.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';
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface LoginRequest
|
|
||||||
*/
|
|
||||||
export interface LoginRequest {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof LoginRequest
|
|
||||||
*/
|
|
||||||
login?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof LoginRequest
|
|
||||||
*/
|
|
||||||
password?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if a given object implements the LoginRequest interface.
|
|
||||||
*/
|
|
||||||
export function instanceOfLoginRequest(value: object): value is LoginRequest {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginRequestFromJSON(json: any): LoginRequest {
|
|
||||||
return LoginRequestFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginRequest {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'login': json['login'] == null ? undefined : json['login'],
|
|
||||||
'password': json['password'] == null ? undefined : json['password'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginRequestToJSON(json: any): LoginRequest {
|
|
||||||
return LoginRequestToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginRequestToJSONTyped(value?: LoginRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'login': value['login'],
|
|
||||||
'password': value['password'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* REST API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.1.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 { UserInfo } from './UserInfo';
|
|
||||||
import {
|
|
||||||
UserInfoFromJSON,
|
|
||||||
UserInfoFromJSONTyped,
|
|
||||||
UserInfoToJSON,
|
|
||||||
UserInfoToJSONTyped,
|
|
||||||
} from './UserInfo';
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface LoginResponse
|
|
||||||
*/
|
|
||||||
export interface LoginResponse {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {UserInfo}
|
|
||||||
* @memberof LoginResponse
|
|
||||||
*/
|
|
||||||
user?: UserInfo;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof LoginResponse
|
|
||||||
*/
|
|
||||||
accessToken?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof LoginResponse
|
|
||||||
*/
|
|
||||||
refreshToken?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {number}
|
|
||||||
* @memberof LoginResponse
|
|
||||||
*/
|
|
||||||
expiresIn?: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if a given object implements the LoginResponse interface.
|
|
||||||
*/
|
|
||||||
export function instanceOfLoginResponse(value: object): value is LoginResponse {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginResponseFromJSON(json: any): LoginResponse {
|
|
||||||
return LoginResponseFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginResponse {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'user': json['user'] == null ? undefined : UserInfoFromJSON(json['user']),
|
|
||||||
'accessToken': json['access_token'] == null ? undefined : json['access_token'],
|
|
||||||
'refreshToken': json['refresh_token'] == null ? undefined : json['refresh_token'],
|
|
||||||
'expiresIn': json['expires_in'] == null ? undefined : json['expires_in'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginResponseToJSON(json: any): LoginResponse {
|
|
||||||
return LoginResponseToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function LoginResponseToJSONTyped(value?: LoginResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'user': UserInfoToJSON(value['user']),
|
|
||||||
'access_token': value['accessToken'],
|
|
||||||
'refresh_token': value['refreshToken'],
|
|
||||||
'expires_in': value['expiresIn'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -63,6 +63,12 @@ export interface Package {
|
|||||||
* @memberof Package
|
* @memberof Package
|
||||||
*/
|
*/
|
||||||
applicationId?: string | null;
|
applicationId?: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Package
|
||||||
|
*/
|
||||||
|
categoryId?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
@@ -120,6 +126,7 @@ export function PackageFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|||||||
'authorId': json['author_id'] == null ? undefined : json['author_id'],
|
'authorId': json['author_id'] == null ? undefined : json['author_id'],
|
||||||
'imageUrl': json['image_url'],
|
'imageUrl': json['image_url'],
|
||||||
'applicationId': json['application_id'] == null ? undefined : json['application_id'],
|
'applicationId': json['application_id'] == null ? undefined : json['application_id'],
|
||||||
|
'categoryId': json['category_id'] == null ? undefined : json['category_id'],
|
||||||
'downloadCount': json['download_count'] == null ? undefined : json['download_count'],
|
'downloadCount': json['download_count'] == null ? undefined : json['download_count'],
|
||||||
'lastDownload': json['last_download'] == null ? undefined : (new Date(json['last_download'])),
|
'lastDownload': json['last_download'] == null ? undefined : (new Date(json['last_download'])),
|
||||||
'releases': json['releases'] == null ? undefined : ((json['releases'] as Array<any>).map(PackageReleaseFromJSON)),
|
'releases': json['releases'] == null ? undefined : ((json['releases'] as Array<any>).map(PackageReleaseFromJSON)),
|
||||||
@@ -145,6 +152,7 @@ export function PackageToJSONTyped(value?: Package | null, ignoreDiscriminator:
|
|||||||
'author_id': value['authorId'],
|
'author_id': value['authorId'],
|
||||||
'image_url': value['imageUrl'],
|
'image_url': value['imageUrl'],
|
||||||
'application_id': value['applicationId'],
|
'application_id': value['applicationId'],
|
||||||
|
'category_id': value['categoryId'],
|
||||||
'download_count': value['downloadCount'],
|
'download_count': value['downloadCount'],
|
||||||
'last_download': value['lastDownload'] == null ? undefined : ((value['lastDownload'] as any).toISOString()),
|
'last_download': value['lastDownload'] == null ? undefined : ((value['lastDownload'] as any).toISOString()),
|
||||||
'releases': value['releases'] == null ? undefined : ((value['releases'] as Array<any>).map(PackageReleaseToJSON)),
|
'releases': value['releases'] == null ? undefined : ((value['releases'] as Array<any>).map(PackageReleaseToJSON)),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -13,6 +13,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { mapValues } from '../runtime';
|
import { mapValues } from '../runtime';
|
||||||
|
import type { StorageFile } from './StorageFile';
|
||||||
|
import {
|
||||||
|
StorageFileFromJSON,
|
||||||
|
StorageFileFromJSONTyped,
|
||||||
|
StorageFileToJSON,
|
||||||
|
StorageFileToJSONTyped,
|
||||||
|
} from './StorageFile';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
@@ -45,10 +53,10 @@ export interface PackageRelease {
|
|||||||
notes?: string | null;
|
notes?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Array<any>}
|
* @type {Array<StorageFile>}
|
||||||
* @memberof PackageRelease
|
* @memberof PackageRelease
|
||||||
*/
|
*/
|
||||||
readonly files?: Array<any> | null;
|
readonly files?: Array<StorageFile> | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
@@ -85,7 +93,7 @@ export function PackageReleaseFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|||||||
'version': json['version'],
|
'version': json['version'],
|
||||||
'packageId': json['package_id'] == null ? undefined : json['package_id'],
|
'packageId': json['package_id'] == null ? undefined : json['package_id'],
|
||||||
'notes': json['notes'] == null ? undefined : json['notes'],
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
||||||
'files': json['files'] == null ? undefined : json['files'],
|
'files': json['files'] == null ? undefined : ((json['files'] as Array<any>).map(StorageFileFromJSON)),
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
||||||
};
|
};
|
||||||
|
|||||||
155
src/models/Product.ts
Normal file
155
src/models/Product.ts
Normal file
@@ -0,0 +1,155 @@
|
|||||||
|
/* 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 { ProductType } from './ProductType';
|
||||||
|
import {
|
||||||
|
ProductTypeFromJSON,
|
||||||
|
ProductTypeFromJSONTyped,
|
||||||
|
ProductTypeToJSON,
|
||||||
|
ProductTypeToJSONTyped,
|
||||||
|
} from './ProductType';
|
||||||
|
import type { ProductPrice } from './ProductPrice';
|
||||||
|
import {
|
||||||
|
ProductPriceFromJSON,
|
||||||
|
ProductPriceFromJSONTyped,
|
||||||
|
ProductPriceToJSON,
|
||||||
|
ProductPriceToJSONTyped,
|
||||||
|
} from './ProductPrice';
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @export
|
||||||
|
* @interface Product
|
||||||
|
*/
|
||||||
|
export interface Product {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
id?: string;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
name: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
description?: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {ProductType}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
type?: ProductType;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
slug?: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {string}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
imageUrl?: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {boolean}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
isPhysical?: boolean;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Array<ProductPrice>}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
prices?: Array<ProductPrice> | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
created?: Date;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {Date}
|
||||||
|
* @memberof Product
|
||||||
|
*/
|
||||||
|
updated?: Date | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if a given object implements the Product interface.
|
||||||
|
*/
|
||||||
|
export function instanceOfProduct(value: object): value is Product {
|
||||||
|
if (!('name' in value) || value['name'] === undefined) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductFromJSON(json: any): Product {
|
||||||
|
return ProductFromJSONTyped(json, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product {
|
||||||
|
if (json == null) {
|
||||||
|
return json;
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
|
||||||
|
'id': json['id'] == null ? undefined : json['id'],
|
||||||
|
'name': json['name'],
|
||||||
|
'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<any>).map(ProductPriceFromJSON)),
|
||||||
|
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
||||||
|
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductToJSON(json: any): Product {
|
||||||
|
return ProductToJSONTyped(json, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator: boolean = false): any {
|
||||||
|
if (value == null) {
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
|
||||||
|
'id': value['id'],
|
||||||
|
'name': value['name'],
|
||||||
|
'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<any>).map(ProductPriceToJSON)),
|
||||||
|
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
||||||
|
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -16,59 +16,58 @@ import { mapValues } from '../runtime';
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
* @interface SubscriptionPrice
|
* @interface ProductPrice
|
||||||
*/
|
*/
|
||||||
export interface SubscriptionPrice {
|
export interface ProductPrice {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof SubscriptionPrice
|
* @memberof ProductPrice
|
||||||
*/
|
*/
|
||||||
currency: string | null;
|
currency: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof SubscriptionPrice
|
* @memberof ProductPrice
|
||||||
*/
|
*/
|
||||||
amount: number;
|
amount?: number;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {number}
|
* @type {number}
|
||||||
* @memberof SubscriptionPrice
|
* @memberof ProductPrice
|
||||||
*/
|
*/
|
||||||
renewal?: number | null;
|
renewal?: number | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a given object implements the SubscriptionPrice interface.
|
* Check if a given object implements the ProductPrice interface.
|
||||||
*/
|
*/
|
||||||
export function instanceOfSubscriptionPrice(value: object): value is SubscriptionPrice {
|
export function instanceOfProductPrice(value: object): value is ProductPrice {
|
||||||
if (!('currency' in value) || value['currency'] === undefined) return false;
|
if (!('currency' in value) || value['currency'] === undefined) return false;
|
||||||
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function SubscriptionPriceFromJSON(json: any): SubscriptionPrice {
|
export function ProductPriceFromJSON(json: any): ProductPrice {
|
||||||
return SubscriptionPriceFromJSONTyped(json, false);
|
return ProductPriceFromJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function SubscriptionPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPrice {
|
export function ProductPriceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductPrice {
|
||||||
if (json == null) {
|
if (json == null) {
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
||||||
'currency': json['currency'],
|
'currency': json['currency'],
|
||||||
'amount': json['amount'],
|
'amount': json['amount'] == null ? undefined : json['amount'],
|
||||||
'renewal': json['renewal'] == null ? undefined : json['renewal'],
|
'renewal': json['renewal'] == null ? undefined : json['renewal'],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function SubscriptionPriceToJSON(json: any): SubscriptionPrice {
|
export function ProductPriceToJSON(json: any): ProductPrice {
|
||||||
return SubscriptionPriceToJSONTyped(json, false);
|
return ProductPriceToJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function SubscriptionPriceToJSONTyped(value?: SubscriptionPrice | null, ignoreDiscriminator: boolean = false): any {
|
export function ProductPriceToJSONTyped(value?: ProductPrice | null, ignoreDiscriminator: boolean = false): any {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
53
src/models/ProductType.ts
Normal file
53
src/models/ProductType.ts
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
/* 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 ProductType = {
|
||||||
|
Product: 'product',
|
||||||
|
Subscription: 'subscription'
|
||||||
|
} as const;
|
||||||
|
export type ProductType = typeof ProductType[keyof typeof ProductType];
|
||||||
|
|
||||||
|
|
||||||
|
export function instanceOfProductType(value: any): boolean {
|
||||||
|
for (const key in ProductType) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(ProductType, key)) {
|
||||||
|
if (ProductType[key as keyof typeof ProductType] === value) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductTypeFromJSON(json: any): ProductType {
|
||||||
|
return ProductTypeFromJSONTyped(json, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductType {
|
||||||
|
return json as ProductType;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductTypeToJSON(value?: ProductType | null): any {
|
||||||
|
return value as any;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProductTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductType {
|
||||||
|
return value as ProductType;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* REST API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.1.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';
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface RefreshRequest
|
|
||||||
*/
|
|
||||||
export interface RefreshRequest {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof RefreshRequest
|
|
||||||
*/
|
|
||||||
refreshToken?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if a given object implements the RefreshRequest interface.
|
|
||||||
*/
|
|
||||||
export function instanceOfRefreshRequest(value: object): value is RefreshRequest {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RefreshRequestFromJSON(json: any): RefreshRequest {
|
|
||||||
return RefreshRequestFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RefreshRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshRequest {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'refreshToken': json['refresh_token'] == null ? undefined : json['refresh_token'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RefreshRequestToJSON(json: any): RefreshRequest {
|
|
||||||
return RefreshRequestToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RefreshRequestToJSONTyped(value?: RefreshRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'refresh_token': value['refreshToken'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* REST API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.1.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';
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface RegisterRequest
|
|
||||||
*/
|
|
||||||
export interface RegisterRequest {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof RegisterRequest
|
|
||||||
*/
|
|
||||||
uuid?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof RegisterRequest
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof RegisterRequest
|
|
||||||
*/
|
|
||||||
email?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof RegisterRequest
|
|
||||||
*/
|
|
||||||
password: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if a given object implements the RegisterRequest interface.
|
|
||||||
*/
|
|
||||||
export function instanceOfRegisterRequest(value: object): value is RegisterRequest {
|
|
||||||
if (!('name' in value) || value['name'] === undefined) return false;
|
|
||||||
if (!('password' in value) || value['password'] === undefined) return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RegisterRequestFromJSON(json: any): RegisterRequest {
|
|
||||||
return RegisterRequestFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterRequest {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
||||||
'name': json['name'],
|
|
||||||
'email': json['email'] == null ? undefined : json['email'],
|
|
||||||
'password': json['password'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RegisterRequestToJSON(json: any): RegisterRequest {
|
|
||||||
return RegisterRequestToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function RegisterRequestToJSONTyped(value?: RegisterRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'uuid': value['uuid'],
|
|
||||||
'name': value['name'],
|
|
||||||
'email': value['email'],
|
|
||||||
'password': value['password'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -1,99 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* REST API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.1.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 { SearchType } from './SearchType';
|
|
||||||
import {
|
|
||||||
SearchTypeFromJSON,
|
|
||||||
SearchTypeFromJSONTyped,
|
|
||||||
SearchTypeToJSON,
|
|
||||||
SearchTypeToJSONTyped,
|
|
||||||
} from './SearchType';
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface SearchRequest
|
|
||||||
*/
|
|
||||||
export interface SearchRequest {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {SearchType}
|
|
||||||
* @memberof SearchRequest
|
|
||||||
*/
|
|
||||||
type?: SearchType;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SearchRequest
|
|
||||||
*/
|
|
||||||
query?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {number}
|
|
||||||
* @memberof SearchRequest
|
|
||||||
*/
|
|
||||||
page?: number | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof SearchRequest
|
|
||||||
*/
|
|
||||||
gameId?: string | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if a given object implements the SearchRequest interface.
|
|
||||||
*/
|
|
||||||
export function instanceOfSearchRequest(value: object): value is SearchRequest {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SearchRequestFromJSON(json: any): SearchRequest {
|
|
||||||
return SearchRequestFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SearchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRequest {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'type': json['type'] == null ? undefined : SearchTypeFromJSON(json['type']),
|
|
||||||
'query': json['query'] == null ? undefined : json['query'],
|
|
||||||
'page': json['page'] == null ? undefined : json['page'],
|
|
||||||
'gameId': json['game_id'] == null ? undefined : json['game_id'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SearchRequestToJSON(json: any): SearchRequest {
|
|
||||||
return SearchRequestToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SearchRequestToJSONTyped(value?: SearchRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'type': SearchTypeToJSON(value['type']),
|
|
||||||
'query': value['query'],
|
|
||||||
'page': value['page'],
|
|
||||||
'game_id': value['gameId'],
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -1,54 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* REST API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.1.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 ServerStatus = {
|
|
||||||
Unknown: 'unknown',
|
|
||||||
Offline: 'offline',
|
|
||||||
Online: 'online'
|
|
||||||
} as const;
|
|
||||||
export type ServerStatus = typeof ServerStatus[keyof typeof ServerStatus];
|
|
||||||
|
|
||||||
|
|
||||||
export function instanceOfServerStatus(value: any): boolean {
|
|
||||||
for (const key in ServerStatus) {
|
|
||||||
if (Object.prototype.hasOwnProperty.call(ServerStatus, key)) {
|
|
||||||
if (ServerStatus[key as keyof typeof ServerStatus] === value) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function ServerStatusFromJSON(json: any): ServerStatus {
|
|
||||||
return ServerStatusFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function ServerStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServerStatus {
|
|
||||||
return json as ServerStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function ServerStatusToJSON(value?: ServerStatus | null): any {
|
|
||||||
return value as any;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function ServerStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ServerStatus {
|
|
||||||
return value as ServerStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
@@ -16,80 +16,80 @@ import { mapValues } from '../runtime';
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
* @interface ModelFile
|
* @interface StorageFile
|
||||||
*/
|
*/
|
||||||
export interface ModelFile {
|
export interface StorageFile {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
id?: string;
|
id?: string;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
name: string | null;
|
name: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
contentType: string | null;
|
contentType: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
url: string | null;
|
url: string | null;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @type {number}
|
||||||
|
* @memberof StorageFile
|
||||||
|
*/
|
||||||
|
size?: number;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
hash?: string | null;
|
hash?: string | null;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
etag?: string | null;
|
etag?: string | null;
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {number}
|
|
||||||
* @memberof ModelFile
|
|
||||||
*/
|
|
||||||
size?: number;
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
created?: Date;
|
created?: Date;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @type {Date}
|
* @type {Date}
|
||||||
* @memberof ModelFile
|
* @memberof StorageFile
|
||||||
*/
|
*/
|
||||||
updated?: Date | null;
|
updated?: Date | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if a given object implements the ModelFile interface.
|
* Check if a given object implements the StorageFile interface.
|
||||||
*/
|
*/
|
||||||
export function instanceOfModelFile(value: object): value is ModelFile {
|
export function instanceOfStorageFile(value: object): value is StorageFile {
|
||||||
if (!('name' in value) || value['name'] === undefined) return false;
|
if (!('name' in value) || value['name'] === undefined) return false;
|
||||||
if (!('contentType' in value) || value['contentType'] === undefined) return false;
|
if (!('contentType' in value) || value['contentType'] === undefined) return false;
|
||||||
if (!('url' in value) || value['url'] === undefined) return false;
|
if (!('url' in value) || value['url'] === undefined) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ModelFileFromJSON(json: any): ModelFile {
|
export function StorageFileFromJSON(json: any): StorageFile {
|
||||||
return ModelFileFromJSONTyped(json, false);
|
return StorageFileFromJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ModelFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelFile {
|
export function StorageFileFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorageFile {
|
||||||
if (json == null) {
|
if (json == null) {
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
@@ -99,19 +99,19 @@ export function ModelFileFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|||||||
'name': json['name'],
|
'name': json['name'],
|
||||||
'contentType': json['content_type'],
|
'contentType': json['content_type'],
|
||||||
'url': json['url'],
|
'url': json['url'],
|
||||||
|
'size': json['size'] == null ? undefined : json['size'],
|
||||||
'hash': json['hash'] == null ? undefined : json['hash'],
|
'hash': json['hash'] == null ? undefined : json['hash'],
|
||||||
'etag': json['etag'] == null ? undefined : json['etag'],
|
'etag': json['etag'] == null ? undefined : json['etag'],
|
||||||
'size': json['size'] == null ? undefined : json['size'],
|
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ModelFileToJSON(json: any): ModelFile {
|
export function StorageFileToJSON(json: any): StorageFile {
|
||||||
return ModelFileToJSONTyped(json, false);
|
return StorageFileToJSONTyped(json, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function ModelFileToJSONTyped(value?: ModelFile | null, ignoreDiscriminator: boolean = false): any {
|
export function StorageFileToJSONTyped(value?: StorageFile | null, ignoreDiscriminator: boolean = false): any {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
@@ -122,9 +122,9 @@ export function ModelFileToJSONTyped(value?: ModelFile | null, ignoreDiscriminat
|
|||||||
'name': value['name'],
|
'name': value['name'],
|
||||||
'content_type': value['contentType'],
|
'content_type': value['contentType'],
|
||||||
'url': value['url'],
|
'url': value['url'],
|
||||||
|
'size': value['size'],
|
||||||
'hash': value['hash'],
|
'hash': value['hash'],
|
||||||
'etag': value['etag'],
|
'etag': value['etag'],
|
||||||
'size': value['size'],
|
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
||||||
};
|
};
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
/**
|
|
||||||
* Tribufu API
|
|
||||||
* API to access Tribufu services.
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.2.0
|
|
||||||
* Contact: contact@tribufu.com
|
|
||||||
*
|
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
* https://openapi-generator.tech
|
|
||||||
* Do not edit the class manually.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { mapValues } from '../runtime';
|
|
||||||
import type { SubscriptionPrice } from './SubscriptionPrice';
|
|
||||||
import {
|
|
||||||
SubscriptionPriceFromJSON,
|
|
||||||
SubscriptionPriceFromJSONTyped,
|
|
||||||
SubscriptionPriceToJSON,
|
|
||||||
SubscriptionPriceToJSONTyped,
|
|
||||||
} from './SubscriptionPrice';
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @export
|
|
||||||
* @interface Subscription
|
|
||||||
*/
|
|
||||||
export interface Subscription {
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
id?: string;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
name: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
description?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {string}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
imageUrl?: string | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {Array<SubscriptionPrice>}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
prices?: Array<SubscriptionPrice> | null;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
created?: Date;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @type {Date}
|
|
||||||
* @memberof Subscription
|
|
||||||
*/
|
|
||||||
updated?: Date | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if a given object implements the Subscription interface.
|
|
||||||
*/
|
|
||||||
export function instanceOfSubscription(value: object): value is Subscription {
|
|
||||||
if (!('name' in value) || value['name'] === undefined) return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SubscriptionFromJSON(json: any): Subscription {
|
|
||||||
return SubscriptionFromJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Subscription {
|
|
||||||
if (json == null) {
|
|
||||||
return json;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
|
|
||||||
'id': json['id'] == null ? undefined : json['id'],
|
|
||||||
'name': json['name'],
|
|
||||||
'description': json['description'] == null ? undefined : json['description'],
|
|
||||||
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
|
||||||
'prices': json['prices'] == null ? undefined : ((json['prices'] as Array<any>).map(SubscriptionPriceFromJSON)),
|
|
||||||
'created': json['created'] == null ? undefined : (new Date(json['created'])),
|
|
||||||
'updated': json['updated'] == null ? undefined : (new Date(json['updated'])),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SubscriptionToJSON(json: any): Subscription {
|
|
||||||
return SubscriptionToJSONTyped(json, false);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function SubscriptionToJSONTyped(value?: Subscription | null, ignoreDiscriminator: boolean = false): any {
|
|
||||||
if (value == null) {
|
|
||||||
return value;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
|
|
||||||
'id': value['id'],
|
|
||||||
'name': value['name'],
|
|
||||||
'description': value['description'],
|
|
||||||
'image_url': value['imageUrl'],
|
|
||||||
'prices': value['prices'] == null ? undefined : ((value['prices'] as Array<any>).map(SubscriptionPriceToJSON)),
|
|
||||||
'created': value['created'] == null ? undefined : ((value['created']).toISOString()),
|
|
||||||
'updated': value['updated'] == null ? undefined : ((value['updated'] as any).toISOString()),
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ export * from './GameServerQuery';
|
|||||||
export * from './GameServerStatus';
|
export * from './GameServerStatus';
|
||||||
export * from './GrantType';
|
export * from './GrantType';
|
||||||
export * from './Group';
|
export * from './Group';
|
||||||
export * from './GroupGame';
|
export * from './GroupApplication';
|
||||||
export * from './GroupMember';
|
export * from './GroupMember';
|
||||||
export * from './GroupRank';
|
export * from './GroupRank';
|
||||||
export * from './HashViewModel';
|
export * from './HashViewModel';
|
||||||
@@ -28,9 +28,11 @@ export * from './IpAddress';
|
|||||||
export * from './LeaderboardItem';
|
export * from './LeaderboardItem';
|
||||||
export * from './LeaderboardOrder';
|
export * from './LeaderboardOrder';
|
||||||
export * from './LoginProvider';
|
export * from './LoginProvider';
|
||||||
export * from './ModelFile';
|
|
||||||
export * from './Package';
|
export * from './Package';
|
||||||
export * from './PackageRelease';
|
export * from './PackageRelease';
|
||||||
|
export * from './Product';
|
||||||
|
export * from './ProductPrice';
|
||||||
|
export * from './ProductType';
|
||||||
export * from './Profile';
|
export * from './Profile';
|
||||||
export * from './ProfileGame';
|
export * from './ProfileGame';
|
||||||
export * from './ProfileGroup';
|
export * from './ProfileGroup';
|
||||||
@@ -39,8 +41,7 @@ export * from './RevokeRequest';
|
|||||||
export * from './Search';
|
export * from './Search';
|
||||||
export * from './SearchType';
|
export * from './SearchType';
|
||||||
export * from './ServerMetrics';
|
export * from './ServerMetrics';
|
||||||
export * from './Subscription';
|
export * from './StorageFile';
|
||||||
export * from './SubscriptionPrice';
|
|
||||||
export * from './TokenHintType';
|
export * from './TokenHintType';
|
||||||
export * from './TokenRequest';
|
export * from './TokenRequest';
|
||||||
export * from './TokenResponse';
|
export * from './TokenResponse';
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Tribufu API
|
* Tribufu API
|
||||||
* API to access Tribufu services.
|
* API to access Tribufu services.
|
||||||
*
|
*
|
||||||
* The version of the OpenAPI document: 1.2.0
|
* The version of the OpenAPI document: 1.3.0
|
||||||
* Contact: contact@tribufu.com
|
* Contact: contact@tribufu.com
|
||||||
*
|
*
|
||||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||||
|
|||||||
Reference in New Issue
Block a user