@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,49 @@
|
|
|
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 UpdateGameTopupRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUpdateGameTopupRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function UpdateGameTopupRequestFromJSON(json) {
|
|
21
|
+
return UpdateGameTopupRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function UpdateGameTopupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'gameName': json['gameName'] == null ? undefined : json['gameName'],
|
|
29
|
+
'gameThumbnail': json['gameThumbnail'] == null ? undefined : json['gameThumbnail'],
|
|
30
|
+
'gameLink': json['gameLink'] == null ? undefined : json['gameLink'],
|
|
31
|
+
'isPopular': json['isPopular'] == null ? undefined : json['isPopular'],
|
|
32
|
+
'sortOrder': json['sortOrder'] == null ? undefined : json['sortOrder'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function UpdateGameTopupRequestToJSON(json) {
|
|
36
|
+
return UpdateGameTopupRequestToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function UpdateGameTopupRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'gameName': value['gameName'],
|
|
44
|
+
'gameThumbnail': value['gameThumbnail'],
|
|
45
|
+
'gameLink': value['gameLink'],
|
|
46
|
+
'isPopular': value['isPopular'],
|
|
47
|
+
'sortOrder': value['sortOrder'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 UpdateTournamentRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateTournamentRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateTournamentRequest
|
|
22
|
+
*/
|
|
23
|
+
tournamentName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateTournamentRequest
|
|
28
|
+
*/
|
|
29
|
+
category?: UpdateTournamentRequestCategoryEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UpdateTournamentRequest
|
|
34
|
+
*/
|
|
35
|
+
prizePool?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof UpdateTournamentRequest
|
|
40
|
+
*/
|
|
41
|
+
tournamentDatetime?: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const UpdateTournamentRequestCategoryEnum: {
|
|
47
|
+
readonly Public: "public";
|
|
48
|
+
readonly Private: "private";
|
|
49
|
+
};
|
|
50
|
+
export type UpdateTournamentRequestCategoryEnum = typeof UpdateTournamentRequestCategoryEnum[keyof typeof UpdateTournamentRequestCategoryEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the UpdateTournamentRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfUpdateTournamentRequest(value: object): value is UpdateTournamentRequest;
|
|
55
|
+
export declare function UpdateTournamentRequestFromJSON(json: any): UpdateTournamentRequest;
|
|
56
|
+
export declare function UpdateTournamentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateTournamentRequest;
|
|
57
|
+
export declare function UpdateTournamentRequestToJSON(json: any): UpdateTournamentRequest;
|
|
58
|
+
export declare function UpdateTournamentRequestToJSONTyped(value?: UpdateTournamentRequest | 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
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const UpdateTournamentRequestCategoryEnum = {
|
|
18
|
+
Public: 'public',
|
|
19
|
+
Private: 'private'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateTournamentRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfUpdateTournamentRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function UpdateTournamentRequestFromJSON(json) {
|
|
28
|
+
return UpdateTournamentRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function UpdateTournamentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
|
|
36
|
+
'category': json['category'] == null ? undefined : json['category'],
|
|
37
|
+
'prizePool': json['prizePool'] == null ? undefined : json['prizePool'],
|
|
38
|
+
'tournamentDatetime': json['tournamentDatetime'] == null ? undefined : (new Date(json['tournamentDatetime'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function UpdateTournamentRequestToJSON(json) {
|
|
42
|
+
return UpdateTournamentRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function UpdateTournamentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'tournamentName': value['tournamentName'],
|
|
50
|
+
'category': value['category'],
|
|
51
|
+
'prizePool': value['prizePool'],
|
|
52
|
+
'tournamentDatetime': value['tournamentDatetime'] == null ? undefined : ((value['tournamentDatetime']).toISOString()),
|
|
53
|
+
};
|
|
54
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -65,6 +65,20 @@ export * from './ApiEsportTournamentsGetFilterParameter';
|
|
|
65
65
|
export * from './ApiEsportTournamentsIdGet200Response';
|
|
66
66
|
export * from './ApiEsportVideogamesGet200Response';
|
|
67
67
|
export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
68
|
+
export * from './ApiGarudakuGameTopupsGet200Response';
|
|
69
|
+
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
|
|
70
|
+
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
71
|
+
export * from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
72
|
+
export * from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
73
|
+
export * from './ApiGarudakuGameTopupsIdDelete200Response';
|
|
74
|
+
export * from './ApiGarudakuGameTopupsPost200Response';
|
|
75
|
+
export * from './ApiGarudakuTournamentsGet200Response';
|
|
76
|
+
export * from './ApiGarudakuTournamentsGet200ResponseResponseObject';
|
|
77
|
+
export * from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
78
|
+
export * from './ApiGarudakuTournamentsGetFilterParameter';
|
|
79
|
+
export * from './ApiGarudakuTournamentsIdDelete200Response';
|
|
80
|
+
export * from './ApiGarudakuTournamentsPost200Response';
|
|
81
|
+
export * from './ApiGarudakuTournamentsRefreshCachePost200Response';
|
|
68
82
|
export * from './ApiHealthCheckGet200Response';
|
|
69
83
|
export * from './ApiNewsCategoriesListGet200Response';
|
|
70
84
|
export * from './ApiNewsCategoriesListGet200ResponseResponseObject';
|
|
@@ -197,5 +211,17 @@ export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
|
197
211
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
198
212
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
199
213
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
214
|
+
export * from './CreateGameTopupRequest';
|
|
215
|
+
export * from './CreateTournamentRequest';
|
|
216
|
+
export * from './GameTopup';
|
|
217
|
+
export * from './GameTopupList';
|
|
200
218
|
export * from './PrivateStreamRequest';
|
|
201
219
|
export * from './PrivateStreamResponse';
|
|
220
|
+
export * from './QueryGameTopupList';
|
|
221
|
+
export * from './QueryGameTopupListQuery';
|
|
222
|
+
export * from './QueryTournamentList';
|
|
223
|
+
export * from './QueryTournamentListQuery';
|
|
224
|
+
export * from './Tournament';
|
|
225
|
+
export * from './TournamentList';
|
|
226
|
+
export * from './UpdateGameTopupRequest';
|
|
227
|
+
export * from './UpdateTournamentRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -67,6 +67,20 @@ export * from './ApiEsportTournamentsGetFilterParameter';
|
|
|
67
67
|
export * from './ApiEsportTournamentsIdGet200Response';
|
|
68
68
|
export * from './ApiEsportVideogamesGet200Response';
|
|
69
69
|
export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
70
|
+
export * from './ApiGarudakuGameTopupsGet200Response';
|
|
71
|
+
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
|
|
72
|
+
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
73
|
+
export * from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
74
|
+
export * from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
75
|
+
export * from './ApiGarudakuGameTopupsIdDelete200Response';
|
|
76
|
+
export * from './ApiGarudakuGameTopupsPost200Response';
|
|
77
|
+
export * from './ApiGarudakuTournamentsGet200Response';
|
|
78
|
+
export * from './ApiGarudakuTournamentsGet200ResponseResponseObject';
|
|
79
|
+
export * from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
80
|
+
export * from './ApiGarudakuTournamentsGetFilterParameter';
|
|
81
|
+
export * from './ApiGarudakuTournamentsIdDelete200Response';
|
|
82
|
+
export * from './ApiGarudakuTournamentsPost200Response';
|
|
83
|
+
export * from './ApiGarudakuTournamentsRefreshCachePost200Response';
|
|
70
84
|
export * from './ApiHealthCheckGet200Response';
|
|
71
85
|
export * from './ApiNewsCategoriesListGet200Response';
|
|
72
86
|
export * from './ApiNewsCategoriesListGet200ResponseResponseObject';
|
|
@@ -199,5 +213,17 @@ export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
|
199
213
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
200
214
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
201
215
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
216
|
+
export * from './CreateGameTopupRequest';
|
|
217
|
+
export * from './CreateTournamentRequest';
|
|
218
|
+
export * from './GameTopup';
|
|
219
|
+
export * from './GameTopupList';
|
|
202
220
|
export * from './PrivateStreamRequest';
|
|
203
221
|
export * from './PrivateStreamResponse';
|
|
222
|
+
export * from './QueryGameTopupList';
|
|
223
|
+
export * from './QueryGameTopupListQuery';
|
|
224
|
+
export * from './QueryTournamentList';
|
|
225
|
+
export * from './QueryTournamentListQuery';
|
|
226
|
+
export * from './Tournament';
|
|
227
|
+
export * from './TournamentList';
|
|
228
|
+
export * from './UpdateGameTopupRequest';
|
|
229
|
+
export * from './UpdateTournamentRequest';
|
|
@@ -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 { ApiGarudakuGameTopupsGet200ResponseResponseObject } from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiGarudakuGameTopupsGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiGarudakuGameTopupsGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiGarudakuGameTopupsGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiGarudakuGameTopupsGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiGarudakuGameTopupsGet200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiGarudakuGameTopupsGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiGarudakuGameTopupsGet200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiGarudakuGameTopupsGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiGarudakuGameTopupsGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiGarudakuGameTopupsGet200Response(value: object): value is ApiGarudakuGameTopupsGet200Response {
|
|
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 ApiGarudakuGameTopupsGet200ResponseFromJSON(json: any): ApiGarudakuGameTopupsGet200Response {
|
|
67
|
+
return ApiGarudakuGameTopupsGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiGarudakuGameTopupsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsGet200Response {
|
|
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 : ApiGarudakuGameTopupsGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiGarudakuGameTopupsGet200ResponseToJSON(json: any): ApiGarudakuGameTopupsGet200Response {
|
|
84
|
+
return ApiGarudakuGameTopupsGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiGarudakuGameTopupsGet200ResponseToJSONTyped(value?: ApiGarudakuGameTopupsGet200Response | 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': ApiGarudakuGameTopupsGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,110 @@
|
|
|
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 { ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON,
|
|
19
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
|
|
20
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON,
|
|
21
|
+
ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSONTyped,
|
|
22
|
+
} from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiGarudakuGameTopupsGet200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiGarudakuGameTopupsGet200ResponseResponseObject {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>}
|
|
33
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
items: Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObject
|
|
40
|
+
*/
|
|
41
|
+
currentPage: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObject
|
|
46
|
+
*/
|
|
47
|
+
pageSize: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObject
|
|
52
|
+
*/
|
|
53
|
+
totalItems: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObject
|
|
58
|
+
*/
|
|
59
|
+
totalPages: number;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ApiGarudakuGameTopupsGet200ResponseResponseObject interface.
|
|
64
|
+
*/
|
|
65
|
+
export function instanceOfApiGarudakuGameTopupsGet200ResponseResponseObject(value: object): value is ApiGarudakuGameTopupsGet200ResponseResponseObject {
|
|
66
|
+
if (!('items' in value) || value['items'] === undefined) return false;
|
|
67
|
+
if (!('currentPage' in value) || value['currentPage'] === undefined) return false;
|
|
68
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
|
|
69
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
|
|
70
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectFromJSON(json: any): ApiGarudakuGameTopupsGet200ResponseResponseObject {
|
|
75
|
+
return ApiGarudakuGameTopupsGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsGet200ResponseResponseObject {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'items': ((json['items'] as Array<any>).map(ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
85
|
+
'currentPage': json['currentPage'],
|
|
86
|
+
'pageSize': json['pageSize'],
|
|
87
|
+
'totalItems': json['totalItems'],
|
|
88
|
+
'totalPages': json['totalPages'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectToJSON(json: any): ApiGarudakuGameTopupsGet200ResponseResponseObject {
|
|
93
|
+
return ApiGarudakuGameTopupsGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectToJSONTyped(value?: ApiGarudakuGameTopupsGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'items': ((value['items'] as Array<any>).map(ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
104
|
+
'currentPage': value['currentPage'],
|
|
105
|
+
'pageSize': value['pageSize'],
|
|
106
|
+
'totalItems': value['totalItems'],
|
|
107
|
+
'totalPages': value['totalPages'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
@@ -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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
32
|
+
*/
|
|
33
|
+
gameName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
38
|
+
*/
|
|
39
|
+
gameThumbnail: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
44
|
+
*/
|
|
45
|
+
gameLink: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
50
|
+
*/
|
|
51
|
+
isPopular?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
56
|
+
*/
|
|
57
|
+
sortOrder?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
62
|
+
*/
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner
|
|
68
|
+
*/
|
|
69
|
+
updatedAt: Date;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner(value: object): value is ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner {
|
|
76
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
77
|
+
if (!('gameName' in value) || value['gameName'] === undefined) return false;
|
|
78
|
+
if (!('gameThumbnail' in value) || value['gameThumbnail'] === undefined) return false;
|
|
79
|
+
if (!('gameLink' in value) || value['gameLink'] === undefined) return false;
|
|
80
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
81
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner {
|
|
86
|
+
return ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner {
|
|
90
|
+
if (json == null) {
|
|
91
|
+
return json;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'id': json['id'],
|
|
96
|
+
'gameName': json['gameName'],
|
|
97
|
+
'gameThumbnail': json['gameThumbnail'],
|
|
98
|
+
'gameLink': json['gameLink'],
|
|
99
|
+
'isPopular': json['isPopular'] == null ? undefined : json['isPopular'],
|
|
100
|
+
'sortOrder': json['sortOrder'] == null ? undefined : json['sortOrder'],
|
|
101
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
102
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner {
|
|
107
|
+
return ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
111
|
+
if (value == null) {
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return {
|
|
116
|
+
|
|
117
|
+
'id': value['id'],
|
|
118
|
+
'gameName': value['gameName'],
|
|
119
|
+
'gameThumbnail': value['gameThumbnail'],
|
|
120
|
+
'gameLink': value['gameLink'],
|
|
121
|
+
'isPopular': value['isPopular'],
|
|
122
|
+
'sortOrder': value['sortOrder'],
|
|
123
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
124
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|