@drxsuperapp/sdk 1.1.250 → 1.1.251
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 +27 -0
- package/apis/GarudakuApi.ts +792 -0
- package/apis/index.ts +1 -0
- package/deploy.log +93 -9
- package/dist/apis/GarudakuApi.d.ts +193 -0
- package/dist/apis/GarudakuApi.js +543 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApiGarudakuGameTopupsGet200Response.d.ts +51 -0
- package/dist/models/ApiGarudakuGameTopupsGet200Response.js +54 -0
- package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.d.ts +74 -0
- package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.js +67 -0
- package/dist/models/ApiGarudakuGameTopupsGetFilterParameter.d.ts +60 -0
- package/dist/models/ApiGarudakuGameTopupsGetFilterParameter.js +53 -0
- package/dist/models/ApiGarudakuGameTopupsGetFilterParameterIsPopular.d.ts +32 -0
- package/dist/models/ApiGarudakuGameTopupsGetFilterParameterIsPopular.js +41 -0
- package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.d.ts +44 -0
- package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.js +45 -0
- package/dist/models/ApiGarudakuGameTopupsPost200Response.d.ts +51 -0
- package/dist/models/ApiGarudakuGameTopupsPost200Response.js +54 -0
- package/dist/models/ApiGarudakuTournamentsGet200Response.d.ts +51 -0
- package/dist/models/ApiGarudakuTournamentsGet200Response.js +54 -0
- package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.d.ts +76 -0
- package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.js +74 -0
- package/dist/models/ApiGarudakuTournamentsGetFilterParameter.d.ts +65 -0
- package/dist/models/ApiGarudakuTournamentsGetFilterParameter.js +54 -0
- package/dist/models/ApiGarudakuTournamentsIdDelete200Response.d.ts +44 -0
- package/dist/models/ApiGarudakuTournamentsIdDelete200Response.js +45 -0
- package/dist/models/ApiGarudakuTournamentsPost200Response.d.ts +51 -0
- package/dist/models/ApiGarudakuTournamentsPost200Response.js +54 -0
- package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.d.ts +38 -0
- package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.js +43 -0
- package/dist/models/CreateGameTopupRequest.d.ts +56 -0
- package/dist/models/CreateGameTopupRequest.js +55 -0
- package/dist/models/CreateTournamentRequest.d.ts +58 -0
- package/dist/models/CreateTournamentRequest.js +62 -0
- package/dist/models/GameTopup.d.ts +74 -0
- package/dist/models/GameTopup.js +67 -0
- package/dist/models/GameTopupList.d.ts +57 -0
- package/dist/models/GameTopupList.js +60 -0
- package/dist/models/QueryGameTopupList.d.ts +33 -0
- package/dist/models/QueryGameTopupList.js +44 -0
- package/dist/models/QueryGameTopupListQuery.d.ts +52 -0
- package/dist/models/QueryGameTopupListQuery.js +48 -0
- package/dist/models/QueryTournamentList.d.ts +33 -0
- package/dist/models/QueryTournamentList.js +44 -0
- package/dist/models/QueryTournamentListQuery.d.ts +52 -0
- package/dist/models/QueryTournamentListQuery.js +48 -0
- package/dist/models/Tournament.d.ts +76 -0
- package/dist/models/Tournament.js +74 -0
- package/dist/models/TournamentList.d.ts +57 -0
- package/dist/models/TournamentList.js +60 -0
- package/dist/models/UpdateGameTopupRequest.d.ts +56 -0
- package/dist/models/UpdateGameTopupRequest.js +49 -0
- package/dist/models/UpdateTournamentRequest.d.ts +58 -0
- package/dist/models/UpdateTournamentRequest.js +54 -0
- package/dist/models/index.d.ts +26 -0
- package/dist/models/index.js +26 -0
- package/models/ApiGarudakuGameTopupsGet200Response.ts +100 -0
- package/models/ApiGarudakuGameTopupsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.ts +127 -0
- package/models/ApiGarudakuGameTopupsGetFilterParameter.ts +126 -0
- package/models/ApiGarudakuGameTopupsGetFilterParameterIsPopular.ts +65 -0
- package/models/ApiGarudakuGameTopupsIdDelete200Response.ts +81 -0
- package/models/ApiGarudakuGameTopupsPost200Response.ts +100 -0
- package/models/ApiGarudakuTournamentsGet200Response.ts +100 -0
- package/models/ApiGarudakuTournamentsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.ts +131 -0
- package/models/ApiGarudakuTournamentsGetFilterParameter.ts +127 -0
- package/models/ApiGarudakuTournamentsIdDelete200Response.ts +81 -0
- package/models/ApiGarudakuTournamentsPost200Response.ts +100 -0
- package/models/ApiGarudakuTournamentsRefreshCachePost200Response.ts +73 -0
- package/models/CreateGameTopupRequest.ts +100 -0
- package/models/CreateTournamentRequest.ts +104 -0
- package/models/GameTopup.ts +127 -0
- package/models/GameTopupList.ts +110 -0
- package/models/QueryGameTopupList.ts +74 -0
- package/models/QueryGameTopupListQuery.ts +98 -0
- package/models/QueryTournamentList.ts +74 -0
- package/models/QueryTournamentListQuery.ts +98 -0
- package/models/Tournament.ts +131 -0
- package/models/TournamentList.ts +110 -0
- package/models/UpdateGameTopupRequest.ts +97 -0
- package/models/UpdateTournamentRequest.ts +100 -0
- package/models/index.ts +26 -0
- package/package.json +1 -1
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
32
|
+
*/
|
|
33
|
+
tournamentName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
38
|
+
*/
|
|
39
|
+
category: ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerCategoryEnum;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
44
|
+
*/
|
|
45
|
+
prizePool: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
50
|
+
*/
|
|
51
|
+
tournamentDatetime: Date;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
56
|
+
*/
|
|
57
|
+
createdAt: Date;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner
|
|
62
|
+
*/
|
|
63
|
+
updatedAt: Date;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerCategoryEnum = {
|
|
71
|
+
Public: 'public',
|
|
72
|
+
Private: 'private'
|
|
73
|
+
} as const;
|
|
74
|
+
export type ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerCategoryEnum = typeof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerCategoryEnum[keyof typeof ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerCategoryEnum];
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner interface.
|
|
79
|
+
*/
|
|
80
|
+
export function instanceOfApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner(value: object): value is ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner {
|
|
81
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
82
|
+
if (!('tournamentName' in value) || value['tournamentName'] === undefined) return false;
|
|
83
|
+
if (!('category' in value) || value['category'] === undefined) return false;
|
|
84
|
+
if (!('prizePool' in value) || value['prizePool'] === undefined) return false;
|
|
85
|
+
if (!('tournamentDatetime' in value) || value['tournamentDatetime'] === undefined) return false;
|
|
86
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
87
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner {
|
|
92
|
+
return ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'id': json['id'],
|
|
102
|
+
'tournamentName': json['tournamentName'],
|
|
103
|
+
'category': json['category'],
|
|
104
|
+
'prizePool': json['prizePool'],
|
|
105
|
+
'tournamentDatetime': (new Date(json['tournamentDatetime'])),
|
|
106
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
107
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner {
|
|
112
|
+
return ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
116
|
+
if (value == null) {
|
|
117
|
+
return value;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return {
|
|
121
|
+
|
|
122
|
+
'id': value['id'],
|
|
123
|
+
'tournamentName': value['tournamentName'],
|
|
124
|
+
'category': value['category'],
|
|
125
|
+
'prizePool': value['prizePool'],
|
|
126
|
+
'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
|
|
127
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
128
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
17
|
+
import {
|
|
18
|
+
ApiPadelMatchesGetFilterParameterNameFromJSON,
|
|
19
|
+
ApiPadelMatchesGetFilterParameterNameFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesGetFilterParameterNameToJSON,
|
|
21
|
+
ApiPadelMatchesGetFilterParameterNameToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesGetFilterParameterName';
|
|
23
|
+
import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
|
|
24
|
+
import {
|
|
25
|
+
ApiPadelMatchesGetFilterParameterIdFromJSON,
|
|
26
|
+
ApiPadelMatchesGetFilterParameterIdFromJSONTyped,
|
|
27
|
+
ApiPadelMatchesGetFilterParameterIdToJSON,
|
|
28
|
+
ApiPadelMatchesGetFilterParameterIdToJSONTyped,
|
|
29
|
+
} from './ApiPadelMatchesGetFilterParameterId';
|
|
30
|
+
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
31
|
+
import {
|
|
32
|
+
ApiPadelMatchesGetFilterParameterPlayedAtFromJSON,
|
|
33
|
+
ApiPadelMatchesGetFilterParameterPlayedAtFromJSONTyped,
|
|
34
|
+
ApiPadelMatchesGetFilterParameterPlayedAtToJSON,
|
|
35
|
+
ApiPadelMatchesGetFilterParameterPlayedAtToJSONTyped,
|
|
36
|
+
} from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ApiGarudakuTournamentsGetFilterParameter
|
|
42
|
+
*/
|
|
43
|
+
export interface ApiGarudakuTournamentsGetFilterParameter {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
47
|
+
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
48
|
+
*/
|
|
49
|
+
tournamentName?: ApiPadelMatchesGetFilterParameterName;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
53
|
+
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
54
|
+
*/
|
|
55
|
+
category?: ApiPadelMatchesGetFilterParameterName;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ApiPadelMatchesGetFilterParameterId}
|
|
59
|
+
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
60
|
+
*/
|
|
61
|
+
prizePool?: ApiPadelMatchesGetFilterParameterId;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
65
|
+
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
66
|
+
*/
|
|
67
|
+
tournamentDatetime?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
71
|
+
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
72
|
+
*/
|
|
73
|
+
createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
77
|
+
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
78
|
+
*/
|
|
79
|
+
updatedAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the ApiGarudakuTournamentsGetFilterParameter interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfApiGarudakuTournamentsGetFilterParameter(value: object): value is ApiGarudakuTournamentsGetFilterParameter {
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function ApiGarudakuTournamentsGetFilterParameterFromJSON(json: any): ApiGarudakuTournamentsGetFilterParameter {
|
|
90
|
+
return ApiGarudakuTournamentsGetFilterParameterFromJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function ApiGarudakuTournamentsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsGetFilterParameter {
|
|
94
|
+
if (json == null) {
|
|
95
|
+
return json;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'tournamentName': json['tournamentName'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['tournamentName']),
|
|
100
|
+
'category': json['category'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['category']),
|
|
101
|
+
'prizePool': json['prizePool'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['prizePool']),
|
|
102
|
+
'tournamentDatetime': json['tournamentDatetime'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['tournamentDatetime']),
|
|
103
|
+
'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
|
|
104
|
+
'updatedAt': json['updatedAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['updatedAt']),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function ApiGarudakuTournamentsGetFilterParameterToJSON(json: any): ApiGarudakuTournamentsGetFilterParameter {
|
|
109
|
+
return ApiGarudakuTournamentsGetFilterParameterToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function ApiGarudakuTournamentsGetFilterParameterToJSONTyped(value?: ApiGarudakuTournamentsGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'tournamentName': ApiPadelMatchesGetFilterParameterNameToJSON(value['tournamentName']),
|
|
120
|
+
'category': ApiPadelMatchesGetFilterParameterNameToJSON(value['category']),
|
|
121
|
+
'prizePool': ApiPadelMatchesGetFilterParameterIdToJSON(value['prizePool']),
|
|
122
|
+
'tournamentDatetime': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['tournamentDatetime']),
|
|
123
|
+
'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
124
|
+
'updatedAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['updatedAt']),
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiGarudakuTournamentsIdDelete200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiGarudakuTournamentsIdDelete200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ApiGarudakuTournamentsIdDelete200Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiGarudakuTournamentsIdDelete200Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {object}
|
|
37
|
+
* @memberof ApiGarudakuTournamentsIdDelete200Response
|
|
38
|
+
*/
|
|
39
|
+
data?: object;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ApiGarudakuTournamentsIdDelete200Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfApiGarudakuTournamentsIdDelete200Response(value: object): value is ApiGarudakuTournamentsIdDelete200Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ApiGarudakuTournamentsIdDelete200ResponseFromJSON(json: any): ApiGarudakuTournamentsIdDelete200Response {
|
|
50
|
+
return ApiGarudakuTournamentsIdDelete200ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ApiGarudakuTournamentsIdDelete200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsIdDelete200Response {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
60
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
61
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ApiGarudakuTournamentsIdDelete200ResponseToJSON(json: any): ApiGarudakuTournamentsIdDelete200Response {
|
|
66
|
+
return ApiGarudakuTournamentsIdDelete200ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ApiGarudakuTournamentsIdDelete200ResponseToJSONTyped(value?: ApiGarudakuTournamentsIdDelete200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': value['success'],
|
|
77
|
+
'message': value['message'],
|
|
78
|
+
'data': value['data'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON,
|
|
19
|
+
ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
|
|
20
|
+
ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON,
|
|
21
|
+
ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped,
|
|
22
|
+
} from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiGarudakuTournamentsPost200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiGarudakuTournamentsPost200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiGarudakuTournamentsPost200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiGarudakuTournamentsPost200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner}
|
|
45
|
+
* @memberof ApiGarudakuTournamentsPost200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiGarudakuTournamentsPost200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiGarudakuTournamentsPost200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiGarudakuTournamentsPost200Response(value: object): value is ApiGarudakuTournamentsPost200Response {
|
|
60
|
+
if (!('success' in value) || value['success'] === undefined) return false;
|
|
61
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
62
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ApiGarudakuTournamentsPost200ResponseFromJSON(json: any): ApiGarudakuTournamentsPost200Response {
|
|
67
|
+
return ApiGarudakuTournamentsPost200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiGarudakuTournamentsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsPost200Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': json['success'],
|
|
77
|
+
'message': json['message'],
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiGarudakuTournamentsPost200ResponseToJSON(json: any): ApiGarudakuTournamentsPost200Response {
|
|
84
|
+
return ApiGarudakuTournamentsPost200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiGarudakuTournamentsPost200ResponseToJSONTyped(value?: ApiGarudakuTournamentsPost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'success': value['success'],
|
|
95
|
+
'message': value['message'],
|
|
96
|
+
'responseObject': ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiGarudakuTournamentsRefreshCachePost200Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiGarudakuTournamentsRefreshCachePost200Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ApiGarudakuTournamentsRefreshCachePost200Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiGarudakuTournamentsRefreshCachePost200Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ApiGarudakuTournamentsRefreshCachePost200Response interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfApiGarudakuTournamentsRefreshCachePost200Response(value: object): value is ApiGarudakuTournamentsRefreshCachePost200Response {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSON(json: any): ApiGarudakuTournamentsRefreshCachePost200Response {
|
|
44
|
+
return ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsRefreshCachePost200Response {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
54
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseToJSON(json: any): ApiGarudakuTournamentsRefreshCachePost200Response {
|
|
59
|
+
return ApiGarudakuTournamentsRefreshCachePost200ResponseToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseToJSONTyped(value?: ApiGarudakuTournamentsRefreshCachePost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'success': value['success'],
|
|
70
|
+
'message': value['message'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,100 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreateGameTopupRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateGameTopupRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreateGameTopupRequest
|
|
26
|
+
*/
|
|
27
|
+
gameName: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreateGameTopupRequest
|
|
32
|
+
*/
|
|
33
|
+
gameThumbnail: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreateGameTopupRequest
|
|
38
|
+
*/
|
|
39
|
+
gameLink: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof CreateGameTopupRequest
|
|
44
|
+
*/
|
|
45
|
+
isPopular?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof CreateGameTopupRequest
|
|
50
|
+
*/
|
|
51
|
+
sortOrder?: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the CreateGameTopupRequest interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfCreateGameTopupRequest(value: object): value is CreateGameTopupRequest {
|
|
58
|
+
if (!('gameName' in value) || value['gameName'] === undefined) return false;
|
|
59
|
+
if (!('gameThumbnail' in value) || value['gameThumbnail'] === undefined) return false;
|
|
60
|
+
if (!('gameLink' in value) || value['gameLink'] === undefined) return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function CreateGameTopupRequestFromJSON(json: any): CreateGameTopupRequest {
|
|
65
|
+
return CreateGameTopupRequestFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function CreateGameTopupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateGameTopupRequest {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'gameName': json['gameName'],
|
|
75
|
+
'gameThumbnail': json['gameThumbnail'],
|
|
76
|
+
'gameLink': json['gameLink'],
|
|
77
|
+
'isPopular': json['isPopular'] == null ? undefined : json['isPopular'],
|
|
78
|
+
'sortOrder': json['sortOrder'] == null ? undefined : json['sortOrder'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function CreateGameTopupRequestToJSON(json: any): CreateGameTopupRequest {
|
|
83
|
+
return CreateGameTopupRequestToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function CreateGameTopupRequestToJSONTyped(value?: CreateGameTopupRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
87
|
+
if (value == null) {
|
|
88
|
+
return value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'gameName': value['gameName'],
|
|
94
|
+
'gameThumbnail': value['gameThumbnail'],
|
|
95
|
+
'gameLink': value['gameLink'],
|
|
96
|
+
'isPopular': value['isPopular'],
|
|
97
|
+
'sortOrder': value['sortOrder'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|