@drxsuperapp/sdk 1.1.514 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +418 -371
- package/.openapi-generator-ignore +23 -23
- package/api.ts +1491 -1491
- package/apis/AdminPointsApi.ts +80 -0
- package/apis/CalendarRewardsApi.ts +196 -0
- package/apis/PWATournamentManagementApi.ts +177 -0
- package/apis/PWATournamentPlayerApi.ts +262 -0
- package/apis/PWATournamentTeamApi.ts +265 -0
- package/apis/index.ts +5 -0
- package/base.ts +86 -86
- package/common.ts +150 -150
- package/configuration.ts +115 -115
- package/dist/apis/AdminPointsApi.d.ts +31 -0
- package/dist/apis/AdminPointsApi.js +55 -0
- package/dist/apis/CalendarRewardsApi.d.ts +58 -0
- package/dist/apis/CalendarRewardsApi.js +152 -0
- package/dist/apis/PWATournamentManagementApi.d.ts +54 -0
- package/dist/apis/PWATournamentManagementApi.js +124 -0
- package/dist/apis/PWATournamentPlayerApi.d.ts +73 -0
- package/dist/apis/PWATournamentPlayerApi.js +171 -0
- package/dist/apis/PWATournamentTeamApi.d.ts +73 -0
- package/dist/apis/PWATournamentTeamApi.js +171 -0
- package/dist/apis/index.d.ts +5 -0
- package/dist/apis/index.js +5 -0
- package/dist/models/ApiAdminPointDropsPost200Response.d.ts +51 -0
- package/dist/models/ApiAdminPointDropsPost200Response.js +54 -0
- package/dist/models/ApiAdminPointDropsPost200ResponseResponseObject.d.ts +51 -0
- package/dist/models/ApiAdminPointDropsPost200ResponseResponseObject.js +56 -0
- package/dist/models/ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt.js +31 -0
- package/dist/models/ApiAdminPointDropsPostRequest.d.ts +74 -0
- package/dist/models/ApiAdminPointDropsPostRequest.js +73 -0
- package/dist/models/ApiCalendarRewardCheckInPost200Response.d.ts +51 -0
- package/dist/models/ApiCalendarRewardCheckInPost200Response.js +54 -0
- package/dist/models/ApiCalendarRewardCheckInPost200ResponseResponseObject.d.ts +44 -0
- package/dist/models/ApiCalendarRewardCheckInPost200ResponseResponseObject.js +47 -0
- package/dist/models/ApiCalendarRewardClaimWeeklyPost200Response.d.ts +51 -0
- package/dist/models/ApiCalendarRewardClaimWeeklyPost200Response.js +54 -0
- package/dist/models/ApiCalendarRewardClaimWeeklyPost200ResponseResponseObject.d.ts +44 -0
- package/dist/models/ApiCalendarRewardClaimWeeklyPost200ResponseResponseObject.js +51 -0
- package/dist/models/ApiCalendarRewardStatusGet200Response.d.ts +51 -0
- package/dist/models/ApiCalendarRewardStatusGet200Response.js +54 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObject.d.ts +60 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObject.js +63 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectAttendanceHistoryInner.d.ts +38 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectAttendanceHistoryInner.js +47 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectConfig.d.ts +50 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectConfig.js +55 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectToday.d.ts +38 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectToday.js +47 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectWeek.d.ts +56 -0
- package/dist/models/ApiCalendarRewardStatusGet200ResponseResponseObjectWeek.js +59 -0
- package/dist/models/ApiPwaTournamentGet200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentGet200Response.js +54 -0
- package/dist/models/ApiPwaTournamentGet200ResponseResponseObjectInner.d.ts +38 -0
- package/dist/models/ApiPwaTournamentGet200ResponseResponseObjectInner.js +47 -0
- package/dist/models/ApiPwaTournamentIdGet200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentIdGet200Response.js +54 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObject.d.ts +99 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObject.js +91 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectBracket.d.ts +39 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectBracket.js +47 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectBracketRoundsInnerInner.d.ts +74 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectBracketRoundsInnerInner.js +71 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectCreatedBy.d.ts +38 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectCreatedBy.js +47 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectTeamsInner.d.ts +45 -0
- package/dist/models/ApiPwaTournamentIdGet200ResponseResponseObjectTeamsInner.js +52 -0
- package/dist/models/ApiPwaTournamentPost200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentPost200Response.js +54 -0
- package/dist/models/ApiPwaTournamentPostRequest.d.ts +39 -0
- package/dist/models/ApiPwaTournamentPostRequest.js +48 -0
- package/dist/models/ApiPwaTournamentPostRequestAdminInner.d.ts +26 -0
- package/dist/models/ApiPwaTournamentPostRequestAdminInner.js +31 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersGet200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersGet200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner.d.ts +44 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner.js +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersPost200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersPost200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersPostRequest.d.ts +32 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersPostRequest.js +43 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePost200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePost200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject.d.ts +44 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject.js +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePostRequest.d.ts +33 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePostRequest.js +44 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner.d.ts +38 -0
- package/dist/models/ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner.js +45 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsGet200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsGet200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsGet200ResponseResponseObjectInner.d.ts +63 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsGet200ResponseResponseObjectInner.js +64 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsPost200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsPost200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsPostRequest.d.ts +38 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsPostRequest.js +47 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsSavePost200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsSavePost200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsSavePost200ResponseResponseObject.d.ts +63 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsSavePost200ResponseResponseObject.js +64 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsSavePostRequestInner.d.ts +44 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsSavePostRequestInner.js +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsTeamIdDelete200Response.d.ts +51 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsTeamIdDelete200Response.js +54 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsTeamIdDelete200ResponseResponseObject.d.ts +50 -0
- package/dist/models/ApiPwaTournamentTournamentIdTeamsTeamIdDelete200ResponseResponseObject.js +55 -0
- package/dist/models/ApiWalletUnbindPost200Response.d.ts +51 -0
- package/dist/models/ApiWalletUnbindPost200Response.js +54 -0
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.d.ts +32 -0
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.js +43 -0
- package/dist/models/ApiWeb3RedeemPost200ResponseResponseObjectData.d.ts +69 -0
- package/dist/models/ApiWeb3RedeemPost200ResponseResponseObjectData.js +68 -0
- package/dist/models/index.d.ts +42 -0
- package/dist/models/index.js +42 -0
- package/ecosystem.config.js +13 -13
- package/git_push.sh +57 -57
- package/hooks.json +30 -30
- package/models/ApiAdminPointDropsPost200Response.ts +100 -0
- package/models/ApiAdminPointDropsPost200ResponseResponseObject.ts +101 -0
- package/models/ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt.ts +46 -0
- package/models/ApiAdminPointDropsPostRequest.ts +123 -0
- package/models/ApiCalendarRewardCheckInPost200Response.ts +100 -0
- package/models/ApiCalendarRewardCheckInPost200ResponseResponseObject.ts +82 -0
- package/models/ApiCalendarRewardClaimWeeklyPost200Response.ts +100 -0
- package/models/ApiCalendarRewardClaimWeeklyPost200ResponseResponseObject.ts +84 -0
- package/models/ApiCalendarRewardStatusGet200Response.ts +100 -0
- package/models/ApiCalendarRewardStatusGet200ResponseResponseObject.ts +131 -0
- package/models/ApiCalendarRewardStatusGet200ResponseResponseObjectAttendanceHistoryInner.ts +75 -0
- package/models/ApiCalendarRewardStatusGet200ResponseResponseObjectConfig.ts +93 -0
- package/models/ApiCalendarRewardStatusGet200ResponseResponseObjectToday.ts +75 -0
- package/models/ApiCalendarRewardStatusGet200ResponseResponseObjectWeek.ts +102 -0
- package/models/ApiPwaTournamentGet200Response.ts +100 -0
- package/models/ApiPwaTournamentGet200ResponseResponseObjectInner.ts +75 -0
- package/models/ApiPwaTournamentIdGet200Response.ts +100 -0
- package/models/ApiPwaTournamentIdGet200ResponseResponseObject.ts +188 -0
- package/models/ApiPwaTournamentIdGet200ResponseResponseObjectBracket.ts +83 -0
- package/models/ApiPwaTournamentIdGet200ResponseResponseObjectBracketRoundsInnerInner.ts +129 -0
- package/models/ApiPwaTournamentIdGet200ResponseResponseObjectCreatedBy.ts +75 -0
- package/models/ApiPwaTournamentIdGet200ResponseResponseObjectTeamsInner.ts +92 -0
- package/models/ApiPwaTournamentPost200Response.ts +100 -0
- package/models/ApiPwaTournamentPostRequest.ts +83 -0
- package/models/ApiPwaTournamentPostRequestAdminInner.ts +46 -0
- package/models/ApiPwaTournamentTournamentIdPlayersGet200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner.ts +84 -0
- package/models/ApiPwaTournamentTournamentIdPlayersPost200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdPlayersPostRequest.ts +66 -0
- package/models/ApiPwaTournamentTournamentIdPlayersSavePost200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject.ts +84 -0
- package/models/ApiPwaTournamentTournamentIdPlayersSavePostRequest.ts +74 -0
- package/models/ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner.ts +74 -0
- package/models/ApiPwaTournamentTournamentIdTeamsGet200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdTeamsGet200ResponseResponseObjectInner.ts +119 -0
- package/models/ApiPwaTournamentTournamentIdTeamsPost200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdTeamsPostRequest.ts +75 -0
- package/models/ApiPwaTournamentTournamentIdTeamsSavePost200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdTeamsSavePost200ResponseResponseObject.ts +119 -0
- package/models/ApiPwaTournamentTournamentIdTeamsSavePostRequestInner.ts +84 -0
- package/models/ApiPwaTournamentTournamentIdTeamsTeamIdDelete200Response.ts +100 -0
- package/models/ApiPwaTournamentTournamentIdTeamsTeamIdDelete200ResponseResponseObject.ts +93 -0
- package/models/index.ts +42 -0
- package/openapitools.json +7 -7
- package/package.json +30 -30
- package/tsconfig.json +17 -17
- package/workflow.sh +88 -88
- package/deploy.log +0 -931
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner } from './ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiPwaTournamentTournamentIdPlayersGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiPwaTournamentTournamentIdPlayersGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner>}
|
|
34
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: Array<ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersGet200Response(value: object): value is ApiPwaTournamentTournamentIdPlayersGet200Response;
|
|
48
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersGet200Response;
|
|
49
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersGet200Response;
|
|
50
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseToJSON(json: any): ApiPwaTournamentTournamentIdPlayersGet200Response;
|
|
51
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSON, ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSON, } from './ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiPwaTournamentTournamentIdPlayersGet200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiPwaTournamentTournamentIdPlayersGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : (json['responseObject'].map(ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSON)),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiPwaTournamentTournamentIdPlayersGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': value['responseObject'] == null ? undefined : (value['responseObject'].map(ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSON)),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner
|
|
28
|
+
*/
|
|
29
|
+
tournamentId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner(value: object): value is ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner;
|
|
41
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner;
|
|
42
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner;
|
|
43
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSON(json: any): ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner;
|
|
44
|
+
export declare function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('tournamentId' in value) || value['tournamentId'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSON(json) {
|
|
27
|
+
return ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': json['id'],
|
|
35
|
+
'tournamentId': json['tournamentId'],
|
|
36
|
+
'name': json['name'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSON(json) {
|
|
40
|
+
return ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': value['id'],
|
|
48
|
+
'tournamentId': value['tournamentId'],
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner } from './ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiPwaTournamentTournamentIdPlayersPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiPwaTournamentTournamentIdPlayersPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersPost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner}
|
|
34
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersPost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersPost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersPost200Response(value: object): value is ApiPwaTournamentTournamentIdPlayersPost200Response;
|
|
48
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPost200ResponseFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersPost200Response;
|
|
49
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersPost200Response;
|
|
50
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPost200ResponseToJSON(json: any): ApiPwaTournamentTournamentIdPlayersPost200Response;
|
|
51
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPost200ResponseToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSON, ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSON, } from './ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiPwaTournamentTournamentIdPlayersPost200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiPwaTournamentTournamentIdPlayersPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiPwaTournamentTournamentIdPlayersPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiPwaTournamentTournamentIdPlayersPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiPwaTournamentTournamentIdPlayersPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiPwaTournamentTournamentIdPlayersPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiPwaTournamentTournamentIdPlayersPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInnerToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiPwaTournamentTournamentIdPlayersPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPwaTournamentTournamentIdPlayersPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersPostRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersPostRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersPostRequest(value: object): value is ApiPwaTournamentTournamentIdPlayersPostRequest;
|
|
29
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPostRequestFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersPostRequest;
|
|
30
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersPostRequest;
|
|
31
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPostRequestToJSON(json: any): ApiPwaTournamentTournamentIdPlayersPostRequest;
|
|
32
|
+
export declare function ApiPwaTournamentTournamentIdPlayersPostRequestToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersPostRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPwaTournamentTournamentIdPlayersPostRequest(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiPwaTournamentTournamentIdPlayersPostRequestFromJSON(json) {
|
|
23
|
+
return ApiPwaTournamentTournamentIdPlayersPostRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiPwaTournamentTournamentIdPlayersPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'name': json['name'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ApiPwaTournamentTournamentIdPlayersPostRequestToJSON(json) {
|
|
34
|
+
return ApiPwaTournamentTournamentIdPlayersPostRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiPwaTournamentTournamentIdPlayersPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': value['name'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject } from './ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiPwaTournamentTournamentIdPlayersSavePost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiPwaTournamentTournamentIdPlayersSavePost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersSavePost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersSavePost200Response(value: object): value is ApiPwaTournamentTournamentIdPlayersSavePost200Response;
|
|
48
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersSavePost200Response;
|
|
49
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersSavePost200Response;
|
|
50
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseToJSON(json: any): ApiPwaTournamentTournamentIdPlayersSavePost200Response;
|
|
51
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersSavePost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSON, ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSON, } from './ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersSavePost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiPwaTournamentTournamentIdPlayersSavePost200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiPwaTournamentTournamentIdPlayersSavePost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseToJSON(json) {
|
|
42
|
+
return ApiPwaTournamentTournamentIdPlayersSavePost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
totalPlayers: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
isPowerOfTwo: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
nextAllowed: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject(value: object): value is ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject;
|
|
41
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject;
|
|
42
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject;
|
|
43
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSON(json: any): ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject;
|
|
44
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObject(value) {
|
|
18
|
+
if (!('totalPlayers' in value) || value['totalPlayers'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('isPowerOfTwo' in value) || value['isPowerOfTwo'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('nextAllowed' in value) || value['nextAllowed'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSON(json) {
|
|
27
|
+
return ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'totalPlayers': json['totalPlayers'],
|
|
35
|
+
'isPowerOfTwo': json['isPowerOfTwo'],
|
|
36
|
+
'nextAllowed': json['nextAllowed'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSON(json) {
|
|
40
|
+
return ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ApiPwaTournamentTournamentIdPlayersSavePost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'totalPlayers': value['totalPlayers'],
|
|
48
|
+
'isPowerOfTwo': value['isPowerOfTwo'],
|
|
49
|
+
'nextAllowed': value['nextAllowed'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner } from './ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiPwaTournamentTournamentIdPlayersSavePostRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiPwaTournamentTournamentIdPlayersSavePostRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner>}
|
|
22
|
+
* @memberof ApiPwaTournamentTournamentIdPlayersSavePostRequest
|
|
23
|
+
*/
|
|
24
|
+
players: Array<ApiPwaTournamentTournamentIdPlayersSavePostRequestPlayersInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ApiPwaTournamentTournamentIdPlayersSavePostRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfApiPwaTournamentTournamentIdPlayersSavePostRequest(value: object): value is ApiPwaTournamentTournamentIdPlayersSavePostRequest;
|
|
30
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePostRequestFromJSON(json: any): ApiPwaTournamentTournamentIdPlayersSavePostRequest;
|
|
31
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPwaTournamentTournamentIdPlayersSavePostRequest;
|
|
32
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePostRequestToJSON(json: any): ApiPwaTournamentTournamentIdPlayersSavePostRequest;
|
|
33
|
+
export declare function ApiPwaTournamentTournamentIdPlayersSavePostRequestToJSONTyped(value?: ApiPwaTournamentTournamentIdPlayersSavePostRequest | null, ignoreDiscriminator?: boolean): any;
|