@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
|
@@ -26,6 +26,8 @@ export function instanceOfApiGarudakuTournamentsGet200ResponseResponseObjectItem
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('tournamentName' in value) || value['tournamentName'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('tournamentLink' in value) || value['tournamentLink'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
if (!('category' in value) || value['category'] === undefined)
|
|
30
32
|
return false;
|
|
31
33
|
if (!('prizePool' in value) || value['prizePool'] === undefined)
|
|
@@ -48,6 +50,7 @@ export function ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFrom
|
|
|
48
50
|
return {
|
|
49
51
|
'id': json['id'],
|
|
50
52
|
'tournamentName': json['tournamentName'],
|
|
53
|
+
'tournamentLink': json['tournamentLink'],
|
|
51
54
|
'category': json['category'],
|
|
52
55
|
'prizePool': json['prizePool'],
|
|
53
56
|
'tournamentDatetime': (new Date(json['tournamentDatetime'])),
|
|
@@ -65,6 +68,7 @@ export function ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJS
|
|
|
65
68
|
return {
|
|
66
69
|
'id': value['id'],
|
|
67
70
|
'tournamentName': value['tournamentName'],
|
|
71
|
+
'tournamentLink': value['tournamentLink'],
|
|
68
72
|
'category': value['category'],
|
|
69
73
|
'prizePool': value['prizePool'],
|
|
70
74
|
'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
13
|
-
import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
|
|
14
13
|
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
@@ -32,10 +31,10 @@ export interface ApiGarudakuTournamentsGetFilterParameter {
|
|
|
32
31
|
category?: ApiPadelMatchesGetFilterParameterName;
|
|
33
32
|
/**
|
|
34
33
|
*
|
|
35
|
-
* @type {
|
|
34
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
36
35
|
* @memberof ApiGarudakuTournamentsGetFilterParameter
|
|
37
36
|
*/
|
|
38
|
-
prizePool?:
|
|
37
|
+
prizePool?: ApiPadelMatchesGetFilterParameterName;
|
|
39
38
|
/**
|
|
40
39
|
*
|
|
41
40
|
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ApiPadelMatchesGetFilterParameterNameFromJSON, ApiPadelMatchesGetFilterParameterNameToJSON, } from './ApiPadelMatchesGetFilterParameterName';
|
|
15
|
-
import { ApiPadelMatchesGetFilterParameterIdFromJSON, ApiPadelMatchesGetFilterParameterIdToJSON, } from './ApiPadelMatchesGetFilterParameterId';
|
|
16
15
|
import { ApiPadelMatchesGetFilterParameterPlayedAtFromJSON, ApiPadelMatchesGetFilterParameterPlayedAtToJSON, } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
17
16
|
/**
|
|
18
17
|
* Check if a given object implements the ApiGarudakuTournamentsGetFilterParameter interface.
|
|
@@ -30,7 +29,7 @@ export function ApiGarudakuTournamentsGetFilterParameterFromJSONTyped(json, igno
|
|
|
30
29
|
return {
|
|
31
30
|
'tournamentName': json['tournamentName'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['tournamentName']),
|
|
32
31
|
'category': json['category'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['category']),
|
|
33
|
-
'prizePool': json['prizePool'] == null ? undefined :
|
|
32
|
+
'prizePool': json['prizePool'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['prizePool']),
|
|
34
33
|
'tournamentDatetime': json['tournamentDatetime'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['tournamentDatetime']),
|
|
35
34
|
'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
|
|
36
35
|
'updatedAt': json['updatedAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['updatedAt']),
|
|
@@ -46,7 +45,7 @@ export function ApiGarudakuTournamentsGetFilterParameterToJSONTyped(value, ignor
|
|
|
46
45
|
return {
|
|
47
46
|
'tournamentName': ApiPadelMatchesGetFilterParameterNameToJSON(value['tournamentName']),
|
|
48
47
|
'category': ApiPadelMatchesGetFilterParameterNameToJSON(value['category']),
|
|
49
|
-
'prizePool':
|
|
48
|
+
'prizePool': ApiPadelMatchesGetFilterParameterNameToJSON(value['prizePool']),
|
|
50
49
|
'tournamentDatetime': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['tournamentDatetime']),
|
|
51
50
|
'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
52
51
|
'updatedAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['updatedAt']),
|
|
@@ -0,0 +1,64 @@
|
|
|
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 ApiGarudakuTournamentsIdPutRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiGarudakuTournamentsIdPutRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiGarudakuTournamentsIdPutRequest
|
|
22
|
+
*/
|
|
23
|
+
tournamentName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiGarudakuTournamentsIdPutRequest
|
|
28
|
+
*/
|
|
29
|
+
tournamentLink?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiGarudakuTournamentsIdPutRequest
|
|
34
|
+
*/
|
|
35
|
+
category?: ApiGarudakuTournamentsIdPutRequestCategoryEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiGarudakuTournamentsIdPutRequest
|
|
40
|
+
*/
|
|
41
|
+
prizePool?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof ApiGarudakuTournamentsIdPutRequest
|
|
46
|
+
*/
|
|
47
|
+
tournamentDatetime?: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ApiGarudakuTournamentsIdPutRequestCategoryEnum: {
|
|
53
|
+
readonly Public: "public";
|
|
54
|
+
readonly Private: "private";
|
|
55
|
+
};
|
|
56
|
+
export type ApiGarudakuTournamentsIdPutRequestCategoryEnum = typeof ApiGarudakuTournamentsIdPutRequestCategoryEnum[keyof typeof ApiGarudakuTournamentsIdPutRequestCategoryEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ApiGarudakuTournamentsIdPutRequest interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfApiGarudakuTournamentsIdPutRequest(value: object): value is ApiGarudakuTournamentsIdPutRequest;
|
|
61
|
+
export declare function ApiGarudakuTournamentsIdPutRequestFromJSON(json: any): ApiGarudakuTournamentsIdPutRequest;
|
|
62
|
+
export declare function ApiGarudakuTournamentsIdPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsIdPutRequest;
|
|
63
|
+
export declare function ApiGarudakuTournamentsIdPutRequestToJSON(json: any): ApiGarudakuTournamentsIdPutRequest;
|
|
64
|
+
export declare function ApiGarudakuTournamentsIdPutRequestToJSONTyped(value?: ApiGarudakuTournamentsIdPutRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -14,39 +14,41 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
|
-
export const
|
|
17
|
+
export const ApiGarudakuTournamentsIdPutRequestCategoryEnum = {
|
|
18
18
|
Public: 'public',
|
|
19
19
|
Private: 'private'
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ApiGarudakuTournamentsIdPutRequest interface.
|
|
23
23
|
*/
|
|
24
|
-
export function
|
|
24
|
+
export function instanceOfApiGarudakuTournamentsIdPutRequest(value) {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
27
|
+
export function ApiGarudakuTournamentsIdPutRequestFromJSON(json) {
|
|
28
|
+
return ApiGarudakuTournamentsIdPutRequestFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
export function
|
|
30
|
+
export function ApiGarudakuTournamentsIdPutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if (json == null) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
|
|
36
|
+
'tournamentLink': json['tournamentLink'] == null ? undefined : json['tournamentLink'],
|
|
36
37
|
'category': json['category'] == null ? undefined : json['category'],
|
|
37
38
|
'prizePool': json['prizePool'] == null ? undefined : json['prizePool'],
|
|
38
39
|
'tournamentDatetime': json['tournamentDatetime'] == null ? undefined : (new Date(json['tournamentDatetime'])),
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
42
|
+
export function ApiGarudakuTournamentsIdPutRequestToJSON(json) {
|
|
43
|
+
return ApiGarudakuTournamentsIdPutRequestToJSONTyped(json, false);
|
|
43
44
|
}
|
|
44
|
-
export function
|
|
45
|
+
export function ApiGarudakuTournamentsIdPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
46
|
if (value == null) {
|
|
46
47
|
return value;
|
|
47
48
|
}
|
|
48
49
|
return {
|
|
49
50
|
'tournamentName': value['tournamentName'],
|
|
51
|
+
'tournamentLink': value['tournamentLink'],
|
|
50
52
|
'category': value['category'],
|
|
51
53
|
'prizePool': value['prizePool'],
|
|
52
54
|
'tournamentDatetime': value['tournamentDatetime'] == null ? undefined : ((value['tournamentDatetime']).toISOString()),
|
|
@@ -0,0 +1,64 @@
|
|
|
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 ApiGarudakuTournamentsPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiGarudakuTournamentsPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiGarudakuTournamentsPostRequest
|
|
22
|
+
*/
|
|
23
|
+
tournamentName: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiGarudakuTournamentsPostRequest
|
|
28
|
+
*/
|
|
29
|
+
tournamentLink: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiGarudakuTournamentsPostRequest
|
|
34
|
+
*/
|
|
35
|
+
category: ApiGarudakuTournamentsPostRequestCategoryEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiGarudakuTournamentsPostRequest
|
|
40
|
+
*/
|
|
41
|
+
prizePool: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof ApiGarudakuTournamentsPostRequest
|
|
46
|
+
*/
|
|
47
|
+
tournamentDatetime: Date;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ApiGarudakuTournamentsPostRequestCategoryEnum: {
|
|
53
|
+
readonly Public: "public";
|
|
54
|
+
readonly Private: "private";
|
|
55
|
+
};
|
|
56
|
+
export type ApiGarudakuTournamentsPostRequestCategoryEnum = typeof ApiGarudakuTournamentsPostRequestCategoryEnum[keyof typeof ApiGarudakuTournamentsPostRequestCategoryEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ApiGarudakuTournamentsPostRequest interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfApiGarudakuTournamentsPostRequest(value: object): value is ApiGarudakuTournamentsPostRequest;
|
|
61
|
+
export declare function ApiGarudakuTournamentsPostRequestFromJSON(json: any): ApiGarudakuTournamentsPostRequest;
|
|
62
|
+
export declare function ApiGarudakuTournamentsPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsPostRequest;
|
|
63
|
+
export declare function ApiGarudakuTournamentsPostRequestToJSON(json: any): ApiGarudakuTournamentsPostRequest;
|
|
64
|
+
export declare function ApiGarudakuTournamentsPostRequestToJSONTyped(value?: ApiGarudakuTournamentsPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -14,16 +14,18 @@
|
|
|
14
14
|
/**
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
|
-
export const
|
|
17
|
+
export const ApiGarudakuTournamentsPostRequestCategoryEnum = {
|
|
18
18
|
Public: 'public',
|
|
19
19
|
Private: 'private'
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ApiGarudakuTournamentsPostRequest interface.
|
|
23
23
|
*/
|
|
24
|
-
export function
|
|
24
|
+
export function instanceOfApiGarudakuTournamentsPostRequest(value) {
|
|
25
25
|
if (!('tournamentName' in value) || value['tournamentName'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('tournamentLink' in value) || value['tournamentLink'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('category' in value) || value['category'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('prizePool' in value) || value['prizePool'] === undefined)
|
|
@@ -32,29 +34,31 @@ export function instanceOfCreateTournamentRequest(value) {
|
|
|
32
34
|
return false;
|
|
33
35
|
return true;
|
|
34
36
|
}
|
|
35
|
-
export function
|
|
36
|
-
return
|
|
37
|
+
export function ApiGarudakuTournamentsPostRequestFromJSON(json) {
|
|
38
|
+
return ApiGarudakuTournamentsPostRequestFromJSONTyped(json, false);
|
|
37
39
|
}
|
|
38
|
-
export function
|
|
40
|
+
export function ApiGarudakuTournamentsPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
41
|
if (json == null) {
|
|
40
42
|
return json;
|
|
41
43
|
}
|
|
42
44
|
return {
|
|
43
45
|
'tournamentName': json['tournamentName'],
|
|
46
|
+
'tournamentLink': json['tournamentLink'],
|
|
44
47
|
'category': json['category'],
|
|
45
48
|
'prizePool': json['prizePool'],
|
|
46
49
|
'tournamentDatetime': (new Date(json['tournamentDatetime'])),
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
|
-
export function
|
|
50
|
-
return
|
|
52
|
+
export function ApiGarudakuTournamentsPostRequestToJSON(json) {
|
|
53
|
+
return ApiGarudakuTournamentsPostRequestToJSONTyped(json, false);
|
|
51
54
|
}
|
|
52
|
-
export function
|
|
55
|
+
export function ApiGarudakuTournamentsPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
56
|
if (value == null) {
|
|
54
57
|
return value;
|
|
55
58
|
}
|
|
56
59
|
return {
|
|
57
60
|
'tournamentName': value['tournamentName'],
|
|
61
|
+
'tournamentLink': value['tournamentLink'],
|
|
58
62
|
'category': value['category'],
|
|
59
63
|
'prizePool': value['prizePool'],
|
|
60
64
|
'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -71,14 +71,17 @@ export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
|
71
71
|
export * from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
72
72
|
export * from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
73
73
|
export * from './ApiGarudakuGameTopupsIdDelete200Response';
|
|
74
|
+
export * from './ApiGarudakuGameTopupsIdPutRequest';
|
|
74
75
|
export * from './ApiGarudakuGameTopupsPost200Response';
|
|
76
|
+
export * from './ApiGarudakuGameTopupsPostRequest';
|
|
77
|
+
export * from './ApiGarudakuPrivateStreamPostRequest';
|
|
75
78
|
export * from './ApiGarudakuTournamentsGet200Response';
|
|
76
79
|
export * from './ApiGarudakuTournamentsGet200ResponseResponseObject';
|
|
77
80
|
export * from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
78
81
|
export * from './ApiGarudakuTournamentsGetFilterParameter';
|
|
79
|
-
export * from './
|
|
82
|
+
export * from './ApiGarudakuTournamentsIdPutRequest';
|
|
80
83
|
export * from './ApiGarudakuTournamentsPost200Response';
|
|
81
|
-
export * from './
|
|
84
|
+
export * from './ApiGarudakuTournamentsPostRequest';
|
|
82
85
|
export * from './ApiHealthCheckGet200Response';
|
|
83
86
|
export * from './ApiNewsCategoriesListGet200Response';
|
|
84
87
|
export * from './ApiNewsCategoriesListGet200ResponseResponseObject';
|
|
@@ -211,17 +214,5 @@ export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
|
211
214
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
212
215
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
213
216
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
214
|
-
export * from './CreateGameTopupRequest';
|
|
215
|
-
export * from './CreateTournamentRequest';
|
|
216
|
-
export * from './GameTopup';
|
|
217
|
-
export * from './GameTopupList';
|
|
218
217
|
export * from './PrivateStreamRequest';
|
|
219
218
|
export * from './PrivateStreamResponse';
|
|
220
|
-
export * from './QueryGameTopupList';
|
|
221
|
-
export * from './QueryGameTopupListQuery';
|
|
222
|
-
export * from './QueryTournamentList';
|
|
223
|
-
export * from './QueryTournamentListQuery';
|
|
224
|
-
export * from './Tournament';
|
|
225
|
-
export * from './TournamentList';
|
|
226
|
-
export * from './UpdateGameTopupRequest';
|
|
227
|
-
export * from './UpdateTournamentRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -73,14 +73,17 @@ export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
|
73
73
|
export * from './ApiGarudakuGameTopupsGetFilterParameter';
|
|
74
74
|
export * from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
75
75
|
export * from './ApiGarudakuGameTopupsIdDelete200Response';
|
|
76
|
+
export * from './ApiGarudakuGameTopupsIdPutRequest';
|
|
76
77
|
export * from './ApiGarudakuGameTopupsPost200Response';
|
|
78
|
+
export * from './ApiGarudakuGameTopupsPostRequest';
|
|
79
|
+
export * from './ApiGarudakuPrivateStreamPostRequest';
|
|
77
80
|
export * from './ApiGarudakuTournamentsGet200Response';
|
|
78
81
|
export * from './ApiGarudakuTournamentsGet200ResponseResponseObject';
|
|
79
82
|
export * from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
|
|
80
83
|
export * from './ApiGarudakuTournamentsGetFilterParameter';
|
|
81
|
-
export * from './
|
|
84
|
+
export * from './ApiGarudakuTournamentsIdPutRequest';
|
|
82
85
|
export * from './ApiGarudakuTournamentsPost200Response';
|
|
83
|
-
export * from './
|
|
86
|
+
export * from './ApiGarudakuTournamentsPostRequest';
|
|
84
87
|
export * from './ApiHealthCheckGet200Response';
|
|
85
88
|
export * from './ApiNewsCategoriesListGet200Response';
|
|
86
89
|
export * from './ApiNewsCategoriesListGet200ResponseResponseObject';
|
|
@@ -213,17 +216,5 @@ export * from './ApiYoutubePrivateStreamDelete200Response';
|
|
|
213
216
|
export * from './ApiYoutubePrivateStreamPost200Response';
|
|
214
217
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObject';
|
|
215
218
|
export * from './ApiYoutubePrivateStreamPost200ResponseResponseObjectPrivateStream';
|
|
216
|
-
export * from './CreateGameTopupRequest';
|
|
217
|
-
export * from './CreateTournamentRequest';
|
|
218
|
-
export * from './GameTopup';
|
|
219
|
-
export * from './GameTopupList';
|
|
220
219
|
export * from './PrivateStreamRequest';
|
|
221
220
|
export * from './PrivateStreamResponse';
|
|
222
|
-
export * from './QueryGameTopupList';
|
|
223
|
-
export * from './QueryGameTopupListQuery';
|
|
224
|
-
export * from './QueryTournamentList';
|
|
225
|
-
export * from './QueryTournamentListQuery';
|
|
226
|
-
export * from './Tournament';
|
|
227
|
-
export * from './TournamentList';
|
|
228
|
-
export * from './UpdateGameTopupRequest';
|
|
229
|
-
export * from './UpdateTournamentRequest';
|
|
@@ -19,24 +19,12 @@ import { mapValues } from '../runtime';
|
|
|
19
19
|
* @interface ApiGarudakuGameTopupsIdDelete200Response
|
|
20
20
|
*/
|
|
21
21
|
export interface ApiGarudakuGameTopupsIdDelete200Response {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {boolean}
|
|
25
|
-
* @memberof ApiGarudakuGameTopupsIdDelete200Response
|
|
26
|
-
*/
|
|
27
|
-
success?: boolean;
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {string}
|
|
31
25
|
* @memberof ApiGarudakuGameTopupsIdDelete200Response
|
|
32
26
|
*/
|
|
33
27
|
message?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof ApiGarudakuGameTopupsIdDelete200Response
|
|
38
|
-
*/
|
|
39
|
-
statusCode?: number;
|
|
40
28
|
}
|
|
41
29
|
|
|
42
30
|
/**
|
|
@@ -56,9 +44,7 @@ export function ApiGarudakuGameTopupsIdDelete200ResponseFromJSONTyped(json: any,
|
|
|
56
44
|
}
|
|
57
45
|
return {
|
|
58
46
|
|
|
59
|
-
'success': json['success'] == null ? undefined : json['success'],
|
|
60
47
|
'message': json['message'] == null ? undefined : json['message'],
|
|
61
|
-
'statusCode': json['statusCode'] == null ? undefined : json['statusCode'],
|
|
62
48
|
};
|
|
63
49
|
}
|
|
64
50
|
|
|
@@ -73,9 +59,7 @@ export function ApiGarudakuGameTopupsIdDelete200ResponseToJSONTyped(value?: ApiG
|
|
|
73
59
|
|
|
74
60
|
return {
|
|
75
61
|
|
|
76
|
-
'success': value['success'],
|
|
77
62
|
'message': value['message'],
|
|
78
|
-
'statusCode': value['statusCode'],
|
|
79
63
|
};
|
|
80
64
|
}
|
|
81
65
|
|
|
@@ -16,53 +16,53 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ApiGarudakuGameTopupsIdPutRequest
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ApiGarudakuGameTopupsIdPutRequest {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ApiGarudakuGameTopupsIdPutRequest
|
|
26
26
|
*/
|
|
27
27
|
gameName?: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ApiGarudakuGameTopupsIdPutRequest
|
|
32
32
|
*/
|
|
33
33
|
gameThumbnail?: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ApiGarudakuGameTopupsIdPutRequest
|
|
38
38
|
*/
|
|
39
39
|
gameLink?: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {boolean}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof ApiGarudakuGameTopupsIdPutRequest
|
|
44
44
|
*/
|
|
45
45
|
isPopular?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {number}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof ApiGarudakuGameTopupsIdPutRequest
|
|
50
50
|
*/
|
|
51
51
|
sortOrder?: number;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Check if a given object implements the
|
|
55
|
+
* Check if a given object implements the ApiGarudakuGameTopupsIdPutRequest interface.
|
|
56
56
|
*/
|
|
57
|
-
export function
|
|
57
|
+
export function instanceOfApiGarudakuGameTopupsIdPutRequest(value: object): value is ApiGarudakuGameTopupsIdPutRequest {
|
|
58
58
|
return true;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
export function
|
|
62
|
-
return
|
|
61
|
+
export function ApiGarudakuGameTopupsIdPutRequestFromJSON(json: any): ApiGarudakuGameTopupsIdPutRequest {
|
|
62
|
+
return ApiGarudakuGameTopupsIdPutRequestFromJSONTyped(json, false);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export function
|
|
65
|
+
export function ApiGarudakuGameTopupsIdPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsIdPutRequest {
|
|
66
66
|
if (json == null) {
|
|
67
67
|
return json;
|
|
68
68
|
}
|
|
@@ -76,11 +76,11 @@ export function UpdateGameTopupRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
80
|
-
return
|
|
79
|
+
export function ApiGarudakuGameTopupsIdPutRequestToJSON(json: any): ApiGarudakuGameTopupsIdPutRequest {
|
|
80
|
+
return ApiGarudakuGameTopupsIdPutRequestToJSONTyped(json, false);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export function
|
|
83
|
+
export function ApiGarudakuGameTopupsIdPutRequestToJSONTyped(value?: ApiGarudakuGameTopupsIdPutRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
84
84
|
if (value == null) {
|
|
85
85
|
return value;
|
|
86
86
|
}
|
|
@@ -16,56 +16,56 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ApiGarudakuGameTopupsPostRequest
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ApiGarudakuGameTopupsPostRequest {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {string}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ApiGarudakuGameTopupsPostRequest
|
|
26
26
|
*/
|
|
27
27
|
gameName: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ApiGarudakuGameTopupsPostRequest
|
|
32
32
|
*/
|
|
33
33
|
gameThumbnail: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ApiGarudakuGameTopupsPostRequest
|
|
38
38
|
*/
|
|
39
39
|
gameLink: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {boolean}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof ApiGarudakuGameTopupsPostRequest
|
|
44
44
|
*/
|
|
45
45
|
isPopular?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {number}
|
|
49
|
-
* @memberof
|
|
49
|
+
* @memberof ApiGarudakuGameTopupsPostRequest
|
|
50
50
|
*/
|
|
51
51
|
sortOrder?: number;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Check if a given object implements the
|
|
55
|
+
* Check if a given object implements the ApiGarudakuGameTopupsPostRequest interface.
|
|
56
56
|
*/
|
|
57
|
-
export function
|
|
57
|
+
export function instanceOfApiGarudakuGameTopupsPostRequest(value: object): value is ApiGarudakuGameTopupsPostRequest {
|
|
58
58
|
if (!('gameName' in value) || value['gameName'] === undefined) return false;
|
|
59
59
|
if (!('gameThumbnail' in value) || value['gameThumbnail'] === undefined) return false;
|
|
60
60
|
if (!('gameLink' in value) || value['gameLink'] === undefined) return false;
|
|
61
61
|
return true;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
export function
|
|
65
|
-
return
|
|
64
|
+
export function ApiGarudakuGameTopupsPostRequestFromJSON(json: any): ApiGarudakuGameTopupsPostRequest {
|
|
65
|
+
return ApiGarudakuGameTopupsPostRequestFromJSONTyped(json, false);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function
|
|
68
|
+
export function ApiGarudakuGameTopupsPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsPostRequest {
|
|
69
69
|
if (json == null) {
|
|
70
70
|
return json;
|
|
71
71
|
}
|
|
@@ -79,11 +79,11 @@ export function CreateGameTopupRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
export function
|
|
83
|
-
return
|
|
82
|
+
export function ApiGarudakuGameTopupsPostRequestToJSON(json: any): ApiGarudakuGameTopupsPostRequest {
|
|
83
|
+
return ApiGarudakuGameTopupsPostRequestToJSONTyped(json, false);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export function
|
|
86
|
+
export function ApiGarudakuGameTopupsPostRequestToJSONTyped(value?: ApiGarudakuGameTopupsPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
87
87
|
if (value == null) {
|
|
88
88
|
return value;
|
|
89
89
|
}
|