@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
|
@@ -1,48 +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
|
-
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
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
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;
|
|
@@ -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
|
-
* @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
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
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;
|
|
@@ -1,60 +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
|
-
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
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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;
|
|
@@ -1,58 +0,0 @@
|
|
|
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;
|
|
@@ -1,81 +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 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
|
-
|
|
@@ -1,73 +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 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
|
-
|
|
@@ -1,104 +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 CreateTournamentRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface CreateTournamentRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof CreateTournamentRequest
|
|
26
|
-
*/
|
|
27
|
-
tournamentName: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof CreateTournamentRequest
|
|
32
|
-
*/
|
|
33
|
-
category: CreateTournamentRequestCategoryEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof CreateTournamentRequest
|
|
38
|
-
*/
|
|
39
|
-
prizePool: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Date}
|
|
43
|
-
* @memberof CreateTournamentRequest
|
|
44
|
-
*/
|
|
45
|
-
tournamentDatetime: Date;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export const CreateTournamentRequestCategoryEnum = {
|
|
53
|
-
Public: 'public',
|
|
54
|
-
Private: 'private'
|
|
55
|
-
} as const;
|
|
56
|
-
export type CreateTournamentRequestCategoryEnum = typeof CreateTournamentRequestCategoryEnum[keyof typeof CreateTournamentRequestCategoryEnum];
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Check if a given object implements the CreateTournamentRequest interface.
|
|
61
|
-
*/
|
|
62
|
-
export function instanceOfCreateTournamentRequest(value: object): value is CreateTournamentRequest {
|
|
63
|
-
if (!('tournamentName' in value) || value['tournamentName'] === undefined) return false;
|
|
64
|
-
if (!('category' in value) || value['category'] === undefined) return false;
|
|
65
|
-
if (!('prizePool' in value) || value['prizePool'] === undefined) return false;
|
|
66
|
-
if (!('tournamentDatetime' in value) || value['tournamentDatetime'] === undefined) return false;
|
|
67
|
-
return true;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function CreateTournamentRequestFromJSON(json: any): CreateTournamentRequest {
|
|
71
|
-
return CreateTournamentRequestFromJSONTyped(json, false);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function CreateTournamentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTournamentRequest {
|
|
75
|
-
if (json == null) {
|
|
76
|
-
return json;
|
|
77
|
-
}
|
|
78
|
-
return {
|
|
79
|
-
|
|
80
|
-
'tournamentName': json['tournamentName'],
|
|
81
|
-
'category': json['category'],
|
|
82
|
-
'prizePool': json['prizePool'],
|
|
83
|
-
'tournamentDatetime': (new Date(json['tournamentDatetime'])),
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function CreateTournamentRequestToJSON(json: any): CreateTournamentRequest {
|
|
88
|
-
return CreateTournamentRequestToJSONTyped(json, false);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export function CreateTournamentRequestToJSONTyped(value?: CreateTournamentRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
92
|
-
if (value == null) {
|
|
93
|
-
return value;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return {
|
|
97
|
-
|
|
98
|
-
'tournamentName': value['tournamentName'],
|
|
99
|
-
'category': value['category'],
|
|
100
|
-
'prizePool': value['prizePool'],
|
|
101
|
-
'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
|