@drxsuperapp/sdk 1.1.249 → 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,44 @@
|
|
|
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 { QueryGameTopupListQueryFromJSON, QueryGameTopupListQueryToJSON, } from './QueryGameTopupListQuery';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the QueryGameTopupList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfQueryGameTopupList(value) {
|
|
19
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function QueryGameTopupListFromJSON(json) {
|
|
24
|
+
return QueryGameTopupListFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function QueryGameTopupListFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'query': QueryGameTopupListQueryFromJSON(json['query']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function QueryGameTopupListToJSON(json) {
|
|
35
|
+
return QueryGameTopupListToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function QueryGameTopupListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'query': QueryGameTopupListQueryToJSON(value['query']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { ApiGarudakuGameTopupsGetFilterParameter } from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QueryGameTopupListQuery
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryGameTopupListQuery {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof QueryGameTopupListQuery
|
|
23
|
+
*/
|
|
24
|
+
page?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof QueryGameTopupListQuery
|
|
29
|
+
*/
|
|
30
|
+
pageSize?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Format: field:asc or field:desc.
|
|
33
|
+
* Allowed fields: gameName, isPopular, sortOrder, createdAt, updatedAt
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof QueryGameTopupListQuery
|
|
36
|
+
*/
|
|
37
|
+
sort?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ApiGarudakuGameTopupsGetFilterParameter}
|
|
41
|
+
* @memberof QueryGameTopupListQuery
|
|
42
|
+
*/
|
|
43
|
+
filter?: ApiGarudakuGameTopupsGetFilterParameter;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the QueryGameTopupListQuery interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfQueryGameTopupListQuery(value: object): value is QueryGameTopupListQuery;
|
|
49
|
+
export declare function QueryGameTopupListQueryFromJSON(json: any): QueryGameTopupListQuery;
|
|
50
|
+
export declare function QueryGameTopupListQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryGameTopupListQuery;
|
|
51
|
+
export declare function QueryGameTopupListQueryToJSON(json: any): QueryGameTopupListQuery;
|
|
52
|
+
export declare function QueryGameTopupListQueryToJSONTyped(value?: QueryGameTopupListQuery | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { ApiGarudakuGameTopupsGetFilterParameterFromJSON, ApiGarudakuGameTopupsGetFilterParameterToJSON, } from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the QueryGameTopupListQuery interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfQueryGameTopupListQuery(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function QueryGameTopupListQueryFromJSON(json) {
|
|
22
|
+
return QueryGameTopupListQueryFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function QueryGameTopupListQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
30
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
31
|
+
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
32
|
+
'filter': json['filter'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterFromJSON(json['filter']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function QueryGameTopupListQueryToJSON(json) {
|
|
36
|
+
return QueryGameTopupListQueryToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function QueryGameTopupListQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'page': value['page'],
|
|
44
|
+
'pageSize': value['pageSize'],
|
|
45
|
+
'sort': value['sort'],
|
|
46
|
+
'filter': ApiGarudakuGameTopupsGetFilterParameterToJSON(value['filter']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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 { QueryTournamentListQuery } from './QueryTournamentListQuery';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QueryTournamentList
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryTournamentList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {QueryTournamentListQuery}
|
|
22
|
+
* @memberof QueryTournamentList
|
|
23
|
+
*/
|
|
24
|
+
query: QueryTournamentListQuery;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the QueryTournamentList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfQueryTournamentList(value: object): value is QueryTournamentList;
|
|
30
|
+
export declare function QueryTournamentListFromJSON(json: any): QueryTournamentList;
|
|
31
|
+
export declare function QueryTournamentListFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryTournamentList;
|
|
32
|
+
export declare function QueryTournamentListToJSON(json: any): QueryTournamentList;
|
|
33
|
+
export declare function QueryTournamentListToJSONTyped(value?: QueryTournamentList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { QueryTournamentListQueryFromJSON, QueryTournamentListQueryToJSON, } from './QueryTournamentListQuery';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the QueryTournamentList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfQueryTournamentList(value) {
|
|
19
|
+
if (!('query' in value) || value['query'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function QueryTournamentListFromJSON(json) {
|
|
24
|
+
return QueryTournamentListFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function QueryTournamentListFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'query': QueryTournamentListQueryFromJSON(json['query']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function QueryTournamentListToJSON(json) {
|
|
35
|
+
return QueryTournamentListToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function QueryTournamentListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'query': QueryTournamentListQueryToJSON(value['query']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { ApiGarudakuTournamentsGetFilterParameter } from './ApiGarudakuTournamentsGetFilterParameter';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QueryTournamentListQuery
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryTournamentListQuery {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof QueryTournamentListQuery
|
|
23
|
+
*/
|
|
24
|
+
page?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof QueryTournamentListQuery
|
|
29
|
+
*/
|
|
30
|
+
pageSize?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Format: field:asc or field:desc.
|
|
33
|
+
* Allowed fields: tournamentName, category, prizePool, tournamentDatetime, createdAt, updatedAt
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof QueryTournamentListQuery
|
|
36
|
+
*/
|
|
37
|
+
sort?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {ApiGarudakuTournamentsGetFilterParameter}
|
|
41
|
+
* @memberof QueryTournamentListQuery
|
|
42
|
+
*/
|
|
43
|
+
filter?: ApiGarudakuTournamentsGetFilterParameter;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the QueryTournamentListQuery interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfQueryTournamentListQuery(value: object): value is QueryTournamentListQuery;
|
|
49
|
+
export declare function QueryTournamentListQueryFromJSON(json: any): QueryTournamentListQuery;
|
|
50
|
+
export declare function QueryTournamentListQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryTournamentListQuery;
|
|
51
|
+
export declare function QueryTournamentListQueryToJSON(json: any): QueryTournamentListQuery;
|
|
52
|
+
export declare function QueryTournamentListQueryToJSONTyped(value?: QueryTournamentListQuery | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { ApiGarudakuTournamentsGetFilterParameterFromJSON, ApiGarudakuTournamentsGetFilterParameterToJSON, } from './ApiGarudakuTournamentsGetFilterParameter';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the QueryTournamentListQuery interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfQueryTournamentListQuery(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function QueryTournamentListQueryFromJSON(json) {
|
|
22
|
+
return QueryTournamentListQueryFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function QueryTournamentListQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
30
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
31
|
+
'sort': json['sort'] == null ? undefined : json['sort'],
|
|
32
|
+
'filter': json['filter'] == null ? undefined : ApiGarudakuTournamentsGetFilterParameterFromJSON(json['filter']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function QueryTournamentListQueryToJSON(json) {
|
|
36
|
+
return QueryTournamentListQueryToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function QueryTournamentListQueryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'page': value['page'],
|
|
44
|
+
'pageSize': value['pageSize'],
|
|
45
|
+
'sort': value['sort'],
|
|
46
|
+
'filter': ApiGarudakuTournamentsGetFilterParameterToJSON(value['filter']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 Tournament
|
|
16
|
+
*/
|
|
17
|
+
export interface Tournament {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Tournament
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Tournament
|
|
28
|
+
*/
|
|
29
|
+
tournamentName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Tournament
|
|
34
|
+
*/
|
|
35
|
+
category: TournamentCategoryEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof Tournament
|
|
40
|
+
*/
|
|
41
|
+
prizePool: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof Tournament
|
|
46
|
+
*/
|
|
47
|
+
tournamentDatetime: Date;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof Tournament
|
|
52
|
+
*/
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof Tournament
|
|
58
|
+
*/
|
|
59
|
+
updatedAt: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const TournamentCategoryEnum: {
|
|
65
|
+
readonly Public: "public";
|
|
66
|
+
readonly Private: "private";
|
|
67
|
+
};
|
|
68
|
+
export type TournamentCategoryEnum = typeof TournamentCategoryEnum[keyof typeof TournamentCategoryEnum];
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the Tournament interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfTournament(value: object): value is Tournament;
|
|
73
|
+
export declare function TournamentFromJSON(json: any): Tournament;
|
|
74
|
+
export declare function TournamentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tournament;
|
|
75
|
+
export declare function TournamentToJSON(json: any): Tournament;
|
|
76
|
+
export declare function TournamentToJSONTyped(value?: Tournament | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 TournamentCategoryEnum = {
|
|
18
|
+
Public: 'public',
|
|
19
|
+
Private: 'private'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Tournament interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfTournament(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('tournamentName' in value) || value['tournamentName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('prizePool' in value) || value['prizePool'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('tournamentDatetime' in value) || value['tournamentDatetime'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
export function TournamentFromJSON(json) {
|
|
42
|
+
return TournamentFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function TournamentFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'tournamentName': json['tournamentName'],
|
|
51
|
+
'category': json['category'],
|
|
52
|
+
'prizePool': json['prizePool'],
|
|
53
|
+
'tournamentDatetime': (new Date(json['tournamentDatetime'])),
|
|
54
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
55
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function TournamentToJSON(json) {
|
|
59
|
+
return TournamentToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function TournamentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'tournamentName': value['tournamentName'],
|
|
68
|
+
'category': value['category'],
|
|
69
|
+
'prizePool': value['prizePool'],
|
|
70
|
+
'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
|
|
71
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
72
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TournamentList
|
|
17
|
+
*/
|
|
18
|
+
export interface TournamentList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner>}
|
|
22
|
+
* @memberof TournamentList
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TournamentList
|
|
29
|
+
*/
|
|
30
|
+
currentPage: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof TournamentList
|
|
35
|
+
*/
|
|
36
|
+
pageSize: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof TournamentList
|
|
41
|
+
*/
|
|
42
|
+
totalItems: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof TournamentList
|
|
47
|
+
*/
|
|
48
|
+
totalPages: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the TournamentList interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfTournamentList(value: object): value is TournamentList;
|
|
54
|
+
export declare function TournamentListFromJSON(json: any): TournamentList;
|
|
55
|
+
export declare function TournamentListFromJSONTyped(json: any, ignoreDiscriminator: boolean): TournamentList;
|
|
56
|
+
export declare function TournamentListToJSON(json: any): TournamentList;
|
|
57
|
+
export declare function TournamentListToJSONTyped(value?: TournamentList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON, ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the TournamentList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfTournamentList(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('currentPage' in value) || value['currentPage'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function TournamentListFromJSON(json) {
|
|
32
|
+
return TournamentListFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function TournamentListFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'items': (json['items'].map(ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
40
|
+
'currentPage': json['currentPage'],
|
|
41
|
+
'pageSize': json['pageSize'],
|
|
42
|
+
'totalItems': json['totalItems'],
|
|
43
|
+
'totalPages': json['totalPages'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function TournamentListToJSON(json) {
|
|
47
|
+
return TournamentListToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function TournamentListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
55
|
+
'currentPage': value['currentPage'],
|
|
56
|
+
'pageSize': value['pageSize'],
|
|
57
|
+
'totalItems': value['totalItems'],
|
|
58
|
+
'totalPages': value['totalPages'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 UpdateGameTopupRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateGameTopupRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateGameTopupRequest
|
|
22
|
+
*/
|
|
23
|
+
gameName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateGameTopupRequest
|
|
28
|
+
*/
|
|
29
|
+
gameThumbnail?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateGameTopupRequest
|
|
34
|
+
*/
|
|
35
|
+
gameLink?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof UpdateGameTopupRequest
|
|
40
|
+
*/
|
|
41
|
+
isPopular?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UpdateGameTopupRequest
|
|
46
|
+
*/
|
|
47
|
+
sortOrder?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the UpdateGameTopupRequest interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfUpdateGameTopupRequest(value: object): value is UpdateGameTopupRequest;
|
|
53
|
+
export declare function UpdateGameTopupRequestFromJSON(json: any): UpdateGameTopupRequest;
|
|
54
|
+
export declare function UpdateGameTopupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateGameTopupRequest;
|
|
55
|
+
export declare function UpdateGameTopupRequestToJSON(json: any): UpdateGameTopupRequest;
|
|
56
|
+
export declare function UpdateGameTopupRequestToJSONTyped(value?: UpdateGameTopupRequest | null, ignoreDiscriminator?: boolean): any;
|