@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,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
|
+
import { ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON, ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiGarudakuTournamentsPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiGarudakuTournamentsPost200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiGarudakuTournamentsPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiGarudakuTournamentsPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiGarudakuTournamentsPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiGarudakuTournamentsPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiGarudakuTournamentsPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiGarudakuTournamentsPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiGarudakuTournamentsRefreshCachePost200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiGarudakuTournamentsRefreshCachePost200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiGarudakuTournamentsRefreshCachePost200Response
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiGarudakuTournamentsRefreshCachePost200Response
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiGarudakuTournamentsRefreshCachePost200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiGarudakuTournamentsRefreshCachePost200Response(value: object): value is ApiGarudakuTournamentsRefreshCachePost200Response;
|
|
35
|
+
export declare function ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSON(json: any): ApiGarudakuTournamentsRefreshCachePost200Response;
|
|
36
|
+
export declare function ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsRefreshCachePost200Response;
|
|
37
|
+
export declare function ApiGarudakuTournamentsRefreshCachePost200ResponseToJSON(json: any): ApiGarudakuTournamentsRefreshCachePost200Response;
|
|
38
|
+
export declare function ApiGarudakuTournamentsRefreshCachePost200ResponseToJSONTyped(value?: ApiGarudakuTournamentsRefreshCachePost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ApiGarudakuTournamentsRefreshCachePost200Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiGarudakuTournamentsRefreshCachePost200Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSON(json) {
|
|
21
|
+
return ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseToJSON(json) {
|
|
33
|
+
return ApiGarudakuTournamentsRefreshCachePost200ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ApiGarudakuTournamentsRefreshCachePost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': value['success'],
|
|
41
|
+
'message': value['message'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 CreateGameTopupRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateGameTopupRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateGameTopupRequest
|
|
22
|
+
*/
|
|
23
|
+
gameName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateGameTopupRequest
|
|
28
|
+
*/
|
|
29
|
+
gameThumbnail: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateGameTopupRequest
|
|
34
|
+
*/
|
|
35
|
+
gameLink: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CreateGameTopupRequest
|
|
40
|
+
*/
|
|
41
|
+
isPopular?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CreateGameTopupRequest
|
|
46
|
+
*/
|
|
47
|
+
sortOrder?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CreateGameTopupRequest interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfCreateGameTopupRequest(value: object): value is CreateGameTopupRequest;
|
|
53
|
+
export declare function CreateGameTopupRequestFromJSON(json: any): CreateGameTopupRequest;
|
|
54
|
+
export declare function CreateGameTopupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateGameTopupRequest;
|
|
55
|
+
export declare function CreateGameTopupRequestToJSON(json: any): CreateGameTopupRequest;
|
|
56
|
+
export declare function CreateGameTopupRequestToJSONTyped(value?: CreateGameTopupRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 CreateGameTopupRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateGameTopupRequest(value) {
|
|
18
|
+
if (!('gameName' in value) || value['gameName'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('gameThumbnail' in value) || value['gameThumbnail'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('gameLink' in value) || value['gameLink'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function CreateGameTopupRequestFromJSON(json) {
|
|
27
|
+
return CreateGameTopupRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function CreateGameTopupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'gameName': json['gameName'],
|
|
35
|
+
'gameThumbnail': json['gameThumbnail'],
|
|
36
|
+
'gameLink': json['gameLink'],
|
|
37
|
+
'isPopular': json['isPopular'] == null ? undefined : json['isPopular'],
|
|
38
|
+
'sortOrder': json['sortOrder'] == null ? undefined : json['sortOrder'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function CreateGameTopupRequestToJSON(json) {
|
|
42
|
+
return CreateGameTopupRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function CreateGameTopupRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'gameName': value['gameName'],
|
|
50
|
+
'gameThumbnail': value['gameThumbnail'],
|
|
51
|
+
'gameLink': value['gameLink'],
|
|
52
|
+
'isPopular': value['isPopular'],
|
|
53
|
+
'sortOrder': value['sortOrder'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 CreateTournamentRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateTournamentRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateTournamentRequest
|
|
22
|
+
*/
|
|
23
|
+
tournamentName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateTournamentRequest
|
|
28
|
+
*/
|
|
29
|
+
category: CreateTournamentRequestCategoryEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof CreateTournamentRequest
|
|
34
|
+
*/
|
|
35
|
+
prizePool: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof CreateTournamentRequest
|
|
40
|
+
*/
|
|
41
|
+
tournamentDatetime: Date;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const CreateTournamentRequestCategoryEnum: {
|
|
47
|
+
readonly Public: "public";
|
|
48
|
+
readonly Private: "private";
|
|
49
|
+
};
|
|
50
|
+
export type CreateTournamentRequestCategoryEnum = typeof CreateTournamentRequestCategoryEnum[keyof typeof CreateTournamentRequestCategoryEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the CreateTournamentRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfCreateTournamentRequest(value: object): value is CreateTournamentRequest;
|
|
55
|
+
export declare function CreateTournamentRequestFromJSON(json: any): CreateTournamentRequest;
|
|
56
|
+
export declare function CreateTournamentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTournamentRequest;
|
|
57
|
+
export declare function CreateTournamentRequestToJSON(json: any): CreateTournamentRequest;
|
|
58
|
+
export declare function CreateTournamentRequestToJSONTyped(value?: CreateTournamentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 CreateTournamentRequestCategoryEnum = {
|
|
18
|
+
Public: 'public',
|
|
19
|
+
Private: 'private'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateTournamentRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfCreateTournamentRequest(value) {
|
|
25
|
+
if (!('tournamentName' in value) || value['tournamentName'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('prizePool' in value) || value['prizePool'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('tournamentDatetime' in value) || value['tournamentDatetime'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
export function CreateTournamentRequestFromJSON(json) {
|
|
36
|
+
return CreateTournamentRequestFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function CreateTournamentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'tournamentName': json['tournamentName'],
|
|
44
|
+
'category': json['category'],
|
|
45
|
+
'prizePool': json['prizePool'],
|
|
46
|
+
'tournamentDatetime': (new Date(json['tournamentDatetime'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function CreateTournamentRequestToJSON(json) {
|
|
50
|
+
return CreateTournamentRequestToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function CreateTournamentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'tournamentName': value['tournamentName'],
|
|
58
|
+
'category': value['category'],
|
|
59
|
+
'prizePool': value['prizePool'],
|
|
60
|
+
'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 GameTopup
|
|
16
|
+
*/
|
|
17
|
+
export interface GameTopup {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GameTopup
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GameTopup
|
|
28
|
+
*/
|
|
29
|
+
gameName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GameTopup
|
|
34
|
+
*/
|
|
35
|
+
gameThumbnail: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GameTopup
|
|
40
|
+
*/
|
|
41
|
+
gameLink: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof GameTopup
|
|
46
|
+
*/
|
|
47
|
+
isPopular?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GameTopup
|
|
52
|
+
*/
|
|
53
|
+
sortOrder?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof GameTopup
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof GameTopup
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the GameTopup interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfGameTopup(value: object): value is GameTopup;
|
|
71
|
+
export declare function GameTopupFromJSON(json: any): GameTopup;
|
|
72
|
+
export declare function GameTopupFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTopup;
|
|
73
|
+
export declare function GameTopupToJSON(json: any): GameTopup;
|
|
74
|
+
export declare function GameTopupToJSONTyped(value?: GameTopup | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 GameTopup interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGameTopup(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('gameName' in value) || value['gameName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('gameThumbnail' in value) || value['gameThumbnail'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('gameLink' in value) || value['gameLink'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function GameTopupFromJSON(json) {
|
|
33
|
+
return GameTopupFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function GameTopupFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'gameName': json['gameName'],
|
|
42
|
+
'gameThumbnail': json['gameThumbnail'],
|
|
43
|
+
'gameLink': json['gameLink'],
|
|
44
|
+
'isPopular': json['isPopular'] == null ? undefined : json['isPopular'],
|
|
45
|
+
'sortOrder': json['sortOrder'] == null ? undefined : json['sortOrder'],
|
|
46
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
47
|
+
'updatedAt': (new Date(json['updatedAt'])),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function GameTopupToJSON(json) {
|
|
51
|
+
return GameTopupToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function GameTopupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'gameName': value['gameName'],
|
|
60
|
+
'gameThumbnail': value['gameThumbnail'],
|
|
61
|
+
'gameLink': value['gameLink'],
|
|
62
|
+
'isPopular': value['isPopular'],
|
|
63
|
+
'sortOrder': value['sortOrder'],
|
|
64
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
65
|
+
'updatedAt': ((value['updatedAt']).toISOString()),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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 { ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GameTopupList
|
|
17
|
+
*/
|
|
18
|
+
export interface GameTopupList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>}
|
|
22
|
+
* @memberof GameTopupList
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GameTopupList
|
|
29
|
+
*/
|
|
30
|
+
currentPage: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GameTopupList
|
|
35
|
+
*/
|
|
36
|
+
pageSize: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GameTopupList
|
|
41
|
+
*/
|
|
42
|
+
totalItems: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof GameTopupList
|
|
47
|
+
*/
|
|
48
|
+
totalPages: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the GameTopupList interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfGameTopupList(value: object): value is GameTopupList;
|
|
54
|
+
export declare function GameTopupListFromJSON(json: any): GameTopupList;
|
|
55
|
+
export declare function GameTopupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTopupList;
|
|
56
|
+
export declare function GameTopupListToJSON(json: any): GameTopupList;
|
|
57
|
+
export declare function GameTopupListToJSONTyped(value?: GameTopupList | 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 { ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON, ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GameTopupList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGameTopupList(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 GameTopupListFromJSON(json) {
|
|
32
|
+
return GameTopupListFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function GameTopupListFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'items': (json['items'].map(ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
40
|
+
'currentPage': json['currentPage'],
|
|
41
|
+
'pageSize': json['pageSize'],
|
|
42
|
+
'totalItems': json['totalItems'],
|
|
43
|
+
'totalPages': json['totalPages'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function GameTopupListToJSON(json) {
|
|
47
|
+
return GameTopupListToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function GameTopupListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
55
|
+
'currentPage': value['currentPage'],
|
|
56
|
+
'pageSize': value['pageSize'],
|
|
57
|
+
'totalItems': value['totalItems'],
|
|
58
|
+
'totalPages': value['totalPages'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -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 { QueryGameTopupListQuery } from './QueryGameTopupListQuery';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QueryGameTopupList
|
|
17
|
+
*/
|
|
18
|
+
export interface QueryGameTopupList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {QueryGameTopupListQuery}
|
|
22
|
+
* @memberof QueryGameTopupList
|
|
23
|
+
*/
|
|
24
|
+
query: QueryGameTopupListQuery;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the QueryGameTopupList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfQueryGameTopupList(value: object): value is QueryGameTopupList;
|
|
30
|
+
export declare function QueryGameTopupListFromJSON(json: any): QueryGameTopupList;
|
|
31
|
+
export declare function QueryGameTopupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryGameTopupList;
|
|
32
|
+
export declare function QueryGameTopupListToJSON(json: any): QueryGameTopupList;
|
|
33
|
+
export declare function QueryGameTopupListToJSONTyped(value?: QueryGameTopupList | null, ignoreDiscriminator?: boolean): any;
|