@drxsuperapp/sdk 1.1.251 → 1.1.253
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 +5 -14
- package/apis/GarudakuApi.ts +53 -190
- package/deploy.log +19 -55
- package/dist/apis/GarudakuApi.d.ts +33 -69
- package/dist/apis/GarudakuApi.js +20 -117
- package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.d.ts +0 -12
- package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.js +0 -4
- package/dist/models/ApiGarudakuGameTopupsIdPutRequest.d.ts +56 -0
- package/dist/models/{UpdateGameTopupRequest.js → ApiGarudakuGameTopupsIdPutRequest.js} +8 -8
- package/dist/models/ApiGarudakuGameTopupsPostRequest.d.ts +56 -0
- package/dist/models/{CreateGameTopupRequest.js → ApiGarudakuGameTopupsPostRequest.js} +8 -8
- package/dist/models/ApiGarudakuPrivateStreamPostRequest.d.ts +50 -0
- package/dist/models/ApiGarudakuPrivateStreamPostRequest.js +51 -0
- package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.d.ts +8 -2
- package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.js +4 -0
- package/dist/models/ApiGarudakuTournamentsGetFilterParameter.d.ts +2 -3
- package/dist/models/ApiGarudakuTournamentsGetFilterParameter.js +2 -3
- package/dist/models/ApiGarudakuTournamentsIdPutRequest.d.ts +64 -0
- package/dist/models/{UpdateTournamentRequest.js → ApiGarudakuTournamentsIdPutRequest.js} +11 -9
- package/dist/models/ApiGarudakuTournamentsPostRequest.d.ts +64 -0
- package/dist/models/{CreateTournamentRequest.js → ApiGarudakuTournamentsPostRequest.js} +13 -9
- package/dist/models/index.d.ts +5 -14
- package/dist/models/index.js +5 -14
- package/models/ApiGarudakuGameTopupsIdDelete200Response.ts +0 -16
- package/models/{UpdateGameTopupRequest.ts → ApiGarudakuGameTopupsIdPutRequest.ts} +15 -15
- package/models/{CreateGameTopupRequest.ts → ApiGarudakuGameTopupsPostRequest.ts} +15 -15
- package/models/ApiGarudakuPrivateStreamPostRequest.ts +91 -0
- package/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.ts +11 -2
- package/models/ApiGarudakuTournamentsGetFilterParameter.ts +4 -11
- package/models/ApiGarudakuTournamentsIdPutRequest.ts +108 -0
- package/models/ApiGarudakuTournamentsPostRequest.ts +113 -0
- package/models/index.ts +5 -14
- package/package.json +1 -1
- package/dist/models/ApiGarudakuTournamentsIdDelete200Response.d.ts +0 -44
- package/dist/models/ApiGarudakuTournamentsIdDelete200Response.js +0 -45
- package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.d.ts +0 -38
- package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.js +0 -43
- package/dist/models/CreateGameTopupRequest.d.ts +0 -56
- package/dist/models/CreateTournamentRequest.d.ts +0 -58
- package/dist/models/GameTopup.d.ts +0 -74
- package/dist/models/GameTopup.js +0 -67
- package/dist/models/GameTopupList.d.ts +0 -57
- package/dist/models/GameTopupList.js +0 -60
- package/dist/models/QueryGameTopupList.d.ts +0 -33
- package/dist/models/QueryGameTopupList.js +0 -44
- package/dist/models/QueryGameTopupListQuery.d.ts +0 -52
- package/dist/models/QueryGameTopupListQuery.js +0 -48
- package/dist/models/QueryTournamentList.d.ts +0 -33
- package/dist/models/QueryTournamentList.js +0 -44
- package/dist/models/QueryTournamentListQuery.d.ts +0 -52
- package/dist/models/QueryTournamentListQuery.js +0 -48
- package/dist/models/Tournament.d.ts +0 -76
- package/dist/models/Tournament.js +0 -74
- package/dist/models/TournamentList.d.ts +0 -57
- package/dist/models/TournamentList.js +0 -60
- package/dist/models/UpdateGameTopupRequest.d.ts +0 -56
- package/dist/models/UpdateTournamentRequest.d.ts +0 -58
- package/models/ApiGarudakuTournamentsIdDelete200Response.ts +0 -81
- package/models/ApiGarudakuTournamentsRefreshCachePost200Response.ts +0 -73
- package/models/CreateTournamentRequest.ts +0 -104
- package/models/GameTopup.ts +0 -127
- package/models/GameTopupList.ts +0 -110
- package/models/QueryGameTopupList.ts +0 -74
- package/models/QueryGameTopupListQuery.ts +0 -98
- package/models/QueryTournamentList.ts +0 -74
- package/models/QueryTournamentListQuery.ts +0 -98
- package/models/Tournament.ts +0 -131
- package/models/TournamentList.ts +0 -110
- package/models/UpdateTournamentRequest.ts +0 -100
package/models/GameTopup.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
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 GameTopup
|
|
20
|
-
*/
|
|
21
|
-
export interface GameTopup {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof GameTopup
|
|
26
|
-
*/
|
|
27
|
-
id: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof GameTopup
|
|
32
|
-
*/
|
|
33
|
-
gameName: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof GameTopup
|
|
38
|
-
*/
|
|
39
|
-
gameThumbnail: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof GameTopup
|
|
44
|
-
*/
|
|
45
|
-
gameLink: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof GameTopup
|
|
50
|
-
*/
|
|
51
|
-
isPopular?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof GameTopup
|
|
56
|
-
*/
|
|
57
|
-
sortOrder?: number;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Date}
|
|
61
|
-
* @memberof GameTopup
|
|
62
|
-
*/
|
|
63
|
-
createdAt: Date;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Date}
|
|
67
|
-
* @memberof GameTopup
|
|
68
|
-
*/
|
|
69
|
-
updatedAt: Date;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Check if a given object implements the GameTopup interface.
|
|
74
|
-
*/
|
|
75
|
-
export function instanceOfGameTopup(value: object): value is GameTopup {
|
|
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 GameTopupFromJSON(json: any): GameTopup {
|
|
86
|
-
return GameTopupFromJSONTyped(json, false);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export function GameTopupFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTopup {
|
|
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 GameTopupToJSON(json: any): GameTopup {
|
|
107
|
-
return GameTopupToJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function GameTopupToJSONTyped(value?: GameTopup | 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
|
-
|
package/models/GameTopupList.ts
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
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 GameTopupList
|
|
28
|
-
*/
|
|
29
|
-
export interface GameTopupList {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>}
|
|
33
|
-
* @memberof GameTopupList
|
|
34
|
-
*/
|
|
35
|
-
items: Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GameTopupList
|
|
40
|
-
*/
|
|
41
|
-
currentPage: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof GameTopupList
|
|
46
|
-
*/
|
|
47
|
-
pageSize: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof GameTopupList
|
|
52
|
-
*/
|
|
53
|
-
totalItems: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof GameTopupList
|
|
58
|
-
*/
|
|
59
|
-
totalPages: number;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Check if a given object implements the GameTopupList interface.
|
|
64
|
-
*/
|
|
65
|
-
export function instanceOfGameTopupList(value: object): value is GameTopupList {
|
|
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 GameTopupListFromJSON(json: any): GameTopupList {
|
|
75
|
-
return GameTopupListFromJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function GameTopupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTopupList {
|
|
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 GameTopupListToJSON(json: any): GameTopupList {
|
|
93
|
-
return GameTopupListToJSONTyped(json, false);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export function GameTopupListToJSONTyped(value?: GameTopupList | 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
|
-
|
|
@@ -1,74 +0,0 @@
|
|
|
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 { QueryGameTopupListQuery } from './QueryGameTopupListQuery';
|
|
17
|
-
import {
|
|
18
|
-
QueryGameTopupListQueryFromJSON,
|
|
19
|
-
QueryGameTopupListQueryFromJSONTyped,
|
|
20
|
-
QueryGameTopupListQueryToJSON,
|
|
21
|
-
QueryGameTopupListQueryToJSONTyped,
|
|
22
|
-
} from './QueryGameTopupListQuery';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface QueryGameTopupList
|
|
28
|
-
*/
|
|
29
|
-
export interface QueryGameTopupList {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {QueryGameTopupListQuery}
|
|
33
|
-
* @memberof QueryGameTopupList
|
|
34
|
-
*/
|
|
35
|
-
query: QueryGameTopupListQuery;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the QueryGameTopupList interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfQueryGameTopupList(value: object): value is QueryGameTopupList {
|
|
42
|
-
if (!('query' in value) || value['query'] === undefined) return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function QueryGameTopupListFromJSON(json: any): QueryGameTopupList {
|
|
47
|
-
return QueryGameTopupListFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function QueryGameTopupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryGameTopupList {
|
|
51
|
-
if (json == null) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
|
|
56
|
-
'query': QueryGameTopupListQueryFromJSON(json['query']),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function QueryGameTopupListToJSON(json: any): QueryGameTopupList {
|
|
61
|
-
return QueryGameTopupListToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function QueryGameTopupListToJSONTyped(value?: QueryGameTopupList | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'query': QueryGameTopupListQueryToJSON(value['query']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,98 +0,0 @@
|
|
|
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 { ApiGarudakuGameTopupsGetFilterParameter } from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
17
|
-
import {
|
|
18
|
-
ApiGarudakuGameTopupsGetFilterParameterFromJSON,
|
|
19
|
-
ApiGarudakuGameTopupsGetFilterParameterFromJSONTyped,
|
|
20
|
-
ApiGarudakuGameTopupsGetFilterParameterToJSON,
|
|
21
|
-
ApiGarudakuGameTopupsGetFilterParameterToJSONTyped,
|
|
22
|
-
} from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface QueryGameTopupListQuery
|
|
28
|
-
*/
|
|
29
|
-
export interface QueryGameTopupListQuery {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof QueryGameTopupListQuery
|
|
34
|
-
*/
|
|
35
|
-
page?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof QueryGameTopupListQuery
|
|
40
|
-
*/
|
|
41
|
-
pageSize?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Format: field:asc or field:desc.
|
|
44
|
-
* Allowed fields: gameName, isPopular, sortOrder, createdAt, updatedAt
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof QueryGameTopupListQuery
|
|
47
|
-
*/
|
|
48
|
-
sort?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {ApiGarudakuGameTopupsGetFilterParameter}
|
|
52
|
-
* @memberof QueryGameTopupListQuery
|
|
53
|
-
*/
|
|
54
|
-
filter?: ApiGarudakuGameTopupsGetFilterParameter;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the QueryGameTopupListQuery interface.
|
|
59
|
-
*/
|
|
60
|
-
export function instanceOfQueryGameTopupListQuery(value: object): value is QueryGameTopupListQuery {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function QueryGameTopupListQueryFromJSON(json: any): QueryGameTopupListQuery {
|
|
65
|
-
return QueryGameTopupListQueryFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function QueryGameTopupListQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryGameTopupListQuery {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
75
|
-
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
76
|
-
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
77
|
-
'filter': json['filter'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterFromJSON(json['filter']),
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function QueryGameTopupListQueryToJSON(json: any): QueryGameTopupListQuery {
|
|
82
|
-
return QueryGameTopupListQueryToJSONTyped(json, false);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function QueryGameTopupListQueryToJSONTyped(value?: QueryGameTopupListQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
86
|
-
if (value == null) {
|
|
87
|
-
return value;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
return {
|
|
91
|
-
|
|
92
|
-
'page': value['page'],
|
|
93
|
-
'pageSize': value['pageSize'],
|
|
94
|
-
'sort': value['sort'],
|
|
95
|
-
'filter': ApiGarudakuGameTopupsGetFilterParameterToJSON(value['filter']),
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
|
|
@@ -1,74 +0,0 @@
|
|
|
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 { QueryTournamentListQuery } from './QueryTournamentListQuery';
|
|
17
|
-
import {
|
|
18
|
-
QueryTournamentListQueryFromJSON,
|
|
19
|
-
QueryTournamentListQueryFromJSONTyped,
|
|
20
|
-
QueryTournamentListQueryToJSON,
|
|
21
|
-
QueryTournamentListQueryToJSONTyped,
|
|
22
|
-
} from './QueryTournamentListQuery';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface QueryTournamentList
|
|
28
|
-
*/
|
|
29
|
-
export interface QueryTournamentList {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {QueryTournamentListQuery}
|
|
33
|
-
* @memberof QueryTournamentList
|
|
34
|
-
*/
|
|
35
|
-
query: QueryTournamentListQuery;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the QueryTournamentList interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfQueryTournamentList(value: object): value is QueryTournamentList {
|
|
42
|
-
if (!('query' in value) || value['query'] === undefined) return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function QueryTournamentListFromJSON(json: any): QueryTournamentList {
|
|
47
|
-
return QueryTournamentListFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function QueryTournamentListFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryTournamentList {
|
|
51
|
-
if (json == null) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
|
|
56
|
-
'query': QueryTournamentListQueryFromJSON(json['query']),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function QueryTournamentListToJSON(json: any): QueryTournamentList {
|
|
61
|
-
return QueryTournamentListToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function QueryTournamentListToJSONTyped(value?: QueryTournamentList | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'query': QueryTournamentListQueryToJSON(value['query']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,98 +0,0 @@
|
|
|
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 { ApiGarudakuTournamentsGetFilterParameter } from './ApiGarudakuTournamentsGetFilterParameter';
|
|
17
|
-
import {
|
|
18
|
-
ApiGarudakuTournamentsGetFilterParameterFromJSON,
|
|
19
|
-
ApiGarudakuTournamentsGetFilterParameterFromJSONTyped,
|
|
20
|
-
ApiGarudakuTournamentsGetFilterParameterToJSON,
|
|
21
|
-
ApiGarudakuTournamentsGetFilterParameterToJSONTyped,
|
|
22
|
-
} from './ApiGarudakuTournamentsGetFilterParameter';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface QueryTournamentListQuery
|
|
28
|
-
*/
|
|
29
|
-
export interface QueryTournamentListQuery {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof QueryTournamentListQuery
|
|
34
|
-
*/
|
|
35
|
-
page?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof QueryTournamentListQuery
|
|
40
|
-
*/
|
|
41
|
-
pageSize?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Format: field:asc or field:desc.
|
|
44
|
-
* Allowed fields: tournamentName, category, prizePool, tournamentDatetime, createdAt, updatedAt
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof QueryTournamentListQuery
|
|
47
|
-
*/
|
|
48
|
-
sort?: string;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {ApiGarudakuTournamentsGetFilterParameter}
|
|
52
|
-
* @memberof QueryTournamentListQuery
|
|
53
|
-
*/
|
|
54
|
-
filter?: ApiGarudakuTournamentsGetFilterParameter;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Check if a given object implements the QueryTournamentListQuery interface.
|
|
59
|
-
*/
|
|
60
|
-
export function instanceOfQueryTournamentListQuery(value: object): value is QueryTournamentListQuery {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function QueryTournamentListQueryFromJSON(json: any): QueryTournamentListQuery {
|
|
65
|
-
return QueryTournamentListQueryFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function QueryTournamentListQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryTournamentListQuery {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
75
|
-
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
76
|
-
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
77
|
-
'filter': json['filter'] == null ? undefined : ApiGarudakuTournamentsGetFilterParameterFromJSON(json['filter']),
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export function QueryTournamentListQueryToJSON(json: any): QueryTournamentListQuery {
|
|
82
|
-
return QueryTournamentListQueryToJSONTyped(json, false);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export function QueryTournamentListQueryToJSONTyped(value?: QueryTournamentListQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
86
|
-
if (value == null) {
|
|
87
|
-
return value;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
return {
|
|
91
|
-
|
|
92
|
-
'page': value['page'],
|
|
93
|
-
'pageSize': value['pageSize'],
|
|
94
|
-
'sort': value['sort'],
|
|
95
|
-
'filter': ApiGarudakuTournamentsGetFilterParameterToJSON(value['filter']),
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
|