@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.
Files changed (90) hide show
  1. package/.openapi-generator/FILES +27 -0
  2. package/apis/GarudakuApi.ts +792 -0
  3. package/apis/index.ts +1 -0
  4. package/deploy.log +93 -9
  5. package/dist/apis/GarudakuApi.d.ts +193 -0
  6. package/dist/apis/GarudakuApi.js +543 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/ApiGarudakuGameTopupsGet200Response.d.ts +51 -0
  10. package/dist/models/ApiGarudakuGameTopupsGet200Response.js +54 -0
  11. package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObject.d.ts +57 -0
  12. package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObject.js +60 -0
  13. package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.d.ts +74 -0
  14. package/dist/models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.js +67 -0
  15. package/dist/models/ApiGarudakuGameTopupsGetFilterParameter.d.ts +60 -0
  16. package/dist/models/ApiGarudakuGameTopupsGetFilterParameter.js +53 -0
  17. package/dist/models/ApiGarudakuGameTopupsGetFilterParameterIsPopular.d.ts +32 -0
  18. package/dist/models/ApiGarudakuGameTopupsGetFilterParameterIsPopular.js +41 -0
  19. package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.d.ts +44 -0
  20. package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.js +45 -0
  21. package/dist/models/ApiGarudakuGameTopupsPost200Response.d.ts +51 -0
  22. package/dist/models/ApiGarudakuGameTopupsPost200Response.js +54 -0
  23. package/dist/models/ApiGarudakuTournamentsGet200Response.d.ts +51 -0
  24. package/dist/models/ApiGarudakuTournamentsGet200Response.js +54 -0
  25. package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObject.d.ts +57 -0
  26. package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObject.js +60 -0
  27. package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.d.ts +76 -0
  28. package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.js +74 -0
  29. package/dist/models/ApiGarudakuTournamentsGetFilterParameter.d.ts +65 -0
  30. package/dist/models/ApiGarudakuTournamentsGetFilterParameter.js +54 -0
  31. package/dist/models/ApiGarudakuTournamentsIdDelete200Response.d.ts +44 -0
  32. package/dist/models/ApiGarudakuTournamentsIdDelete200Response.js +45 -0
  33. package/dist/models/ApiGarudakuTournamentsPost200Response.d.ts +51 -0
  34. package/dist/models/ApiGarudakuTournamentsPost200Response.js +54 -0
  35. package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.d.ts +38 -0
  36. package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.js +43 -0
  37. package/dist/models/CreateGameTopupRequest.d.ts +56 -0
  38. package/dist/models/CreateGameTopupRequest.js +55 -0
  39. package/dist/models/CreateTournamentRequest.d.ts +58 -0
  40. package/dist/models/CreateTournamentRequest.js +62 -0
  41. package/dist/models/GameTopup.d.ts +74 -0
  42. package/dist/models/GameTopup.js +67 -0
  43. package/dist/models/GameTopupList.d.ts +57 -0
  44. package/dist/models/GameTopupList.js +60 -0
  45. package/dist/models/QueryGameTopupList.d.ts +33 -0
  46. package/dist/models/QueryGameTopupList.js +44 -0
  47. package/dist/models/QueryGameTopupListQuery.d.ts +52 -0
  48. package/dist/models/QueryGameTopupListQuery.js +48 -0
  49. package/dist/models/QueryTournamentList.d.ts +33 -0
  50. package/dist/models/QueryTournamentList.js +44 -0
  51. package/dist/models/QueryTournamentListQuery.d.ts +52 -0
  52. package/dist/models/QueryTournamentListQuery.js +48 -0
  53. package/dist/models/Tournament.d.ts +76 -0
  54. package/dist/models/Tournament.js +74 -0
  55. package/dist/models/TournamentList.d.ts +57 -0
  56. package/dist/models/TournamentList.js +60 -0
  57. package/dist/models/UpdateGameTopupRequest.d.ts +56 -0
  58. package/dist/models/UpdateGameTopupRequest.js +49 -0
  59. package/dist/models/UpdateTournamentRequest.d.ts +58 -0
  60. package/dist/models/UpdateTournamentRequest.js +54 -0
  61. package/dist/models/index.d.ts +26 -0
  62. package/dist/models/index.js +26 -0
  63. package/models/ApiGarudakuGameTopupsGet200Response.ts +100 -0
  64. package/models/ApiGarudakuGameTopupsGet200ResponseResponseObject.ts +110 -0
  65. package/models/ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner.ts +127 -0
  66. package/models/ApiGarudakuGameTopupsGetFilterParameter.ts +126 -0
  67. package/models/ApiGarudakuGameTopupsGetFilterParameterIsPopular.ts +65 -0
  68. package/models/ApiGarudakuGameTopupsIdDelete200Response.ts +81 -0
  69. package/models/ApiGarudakuGameTopupsPost200Response.ts +100 -0
  70. package/models/ApiGarudakuTournamentsGet200Response.ts +100 -0
  71. package/models/ApiGarudakuTournamentsGet200ResponseResponseObject.ts +110 -0
  72. package/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.ts +131 -0
  73. package/models/ApiGarudakuTournamentsGetFilterParameter.ts +127 -0
  74. package/models/ApiGarudakuTournamentsIdDelete200Response.ts +81 -0
  75. package/models/ApiGarudakuTournamentsPost200Response.ts +100 -0
  76. package/models/ApiGarudakuTournamentsRefreshCachePost200Response.ts +73 -0
  77. package/models/CreateGameTopupRequest.ts +100 -0
  78. package/models/CreateTournamentRequest.ts +104 -0
  79. package/models/GameTopup.ts +127 -0
  80. package/models/GameTopupList.ts +110 -0
  81. package/models/QueryGameTopupList.ts +74 -0
  82. package/models/QueryGameTopupListQuery.ts +98 -0
  83. package/models/QueryTournamentList.ts +74 -0
  84. package/models/QueryTournamentListQuery.ts +98 -0
  85. package/models/Tournament.ts +131 -0
  86. package/models/TournamentList.ts +110 -0
  87. package/models/UpdateGameTopupRequest.ts +97 -0
  88. package/models/UpdateTournamentRequest.ts +100 -0
  89. package/models/index.ts +26 -0
  90. package/package.json +1 -1
@@ -0,0 +1,104 @@
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
+
@@ -0,0 +1,127 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface GameTopup
20
+ */
21
+ export interface GameTopup {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GameTopup
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof GameTopup
32
+ */
33
+ gameName: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof GameTopup
38
+ */
39
+ gameThumbnail: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof GameTopup
44
+ */
45
+ gameLink: string;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof GameTopup
50
+ */
51
+ isPopular?: boolean;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof GameTopup
56
+ */
57
+ sortOrder?: number;
58
+ /**
59
+ *
60
+ * @type {Date}
61
+ * @memberof GameTopup
62
+ */
63
+ createdAt: Date;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof GameTopup
68
+ */
69
+ updatedAt: Date;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the GameTopup interface.
74
+ */
75
+ export function instanceOfGameTopup(value: object): value is GameTopup {
76
+ if (!('id' in value) || value['id'] === undefined) return false;
77
+ if (!('gameName' in value) || value['gameName'] === undefined) return false;
78
+ if (!('gameThumbnail' in value) || value['gameThumbnail'] === undefined) return false;
79
+ if (!('gameLink' in value) || value['gameLink'] === undefined) return false;
80
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
81
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
82
+ return true;
83
+ }
84
+
85
+ export function GameTopupFromJSON(json: any): GameTopup {
86
+ return GameTopupFromJSONTyped(json, false);
87
+ }
88
+
89
+ export function GameTopupFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTopup {
90
+ if (json == null) {
91
+ return json;
92
+ }
93
+ return {
94
+
95
+ 'id': json['id'],
96
+ 'gameName': json['gameName'],
97
+ 'gameThumbnail': json['gameThumbnail'],
98
+ 'gameLink': json['gameLink'],
99
+ 'isPopular': json['isPopular'] == null ? undefined : json['isPopular'],
100
+ 'sortOrder': json['sortOrder'] == null ? undefined : json['sortOrder'],
101
+ 'createdAt': (new Date(json['createdAt'])),
102
+ 'updatedAt': (new Date(json['updatedAt'])),
103
+ };
104
+ }
105
+
106
+ export function GameTopupToJSON(json: any): GameTopup {
107
+ return GameTopupToJSONTyped(json, false);
108
+ }
109
+
110
+ export function GameTopupToJSONTyped(value?: GameTopup | null, ignoreDiscriminator: boolean = false): any {
111
+ if (value == null) {
112
+ return value;
113
+ }
114
+
115
+ return {
116
+
117
+ 'id': value['id'],
118
+ 'gameName': value['gameName'],
119
+ 'gameThumbnail': value['gameThumbnail'],
120
+ 'gameLink': value['gameLink'],
121
+ 'isPopular': value['isPopular'],
122
+ 'sortOrder': value['sortOrder'],
123
+ 'createdAt': ((value['createdAt']).toISOString()),
124
+ 'updatedAt': ((value['updatedAt']).toISOString()),
125
+ };
126
+ }
127
+
@@ -0,0 +1,110 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
17
+ import {
18
+ ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON,
19
+ ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
20
+ ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON,
21
+ ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSONTyped,
22
+ } from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface GameTopupList
28
+ */
29
+ export interface GameTopupList {
30
+ /**
31
+ *
32
+ * @type {Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>}
33
+ * @memberof GameTopupList
34
+ */
35
+ items: Array<ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner>;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof GameTopupList
40
+ */
41
+ currentPage: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof GameTopupList
46
+ */
47
+ pageSize: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof GameTopupList
52
+ */
53
+ totalItems: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof GameTopupList
58
+ */
59
+ totalPages: number;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the GameTopupList interface.
64
+ */
65
+ export function instanceOfGameTopupList(value: object): value is GameTopupList {
66
+ if (!('items' in value) || value['items'] === undefined) return false;
67
+ if (!('currentPage' in value) || value['currentPage'] === undefined) return false;
68
+ if (!('pageSize' in value) || value['pageSize'] === undefined) return false;
69
+ if (!('totalItems' in value) || value['totalItems'] === undefined) return false;
70
+ if (!('totalPages' in value) || value['totalPages'] === undefined) return false;
71
+ return true;
72
+ }
73
+
74
+ export function GameTopupListFromJSON(json: any): GameTopupList {
75
+ return GameTopupListFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function GameTopupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTopupList {
79
+ if (json == null) {
80
+ return json;
81
+ }
82
+ return {
83
+
84
+ 'items': ((json['items'] as Array<any>).map(ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON)),
85
+ 'currentPage': json['currentPage'],
86
+ 'pageSize': json['pageSize'],
87
+ 'totalItems': json['totalItems'],
88
+ 'totalPages': json['totalPages'],
89
+ };
90
+ }
91
+
92
+ export function GameTopupListToJSON(json: any): GameTopupList {
93
+ return GameTopupListToJSONTyped(json, false);
94
+ }
95
+
96
+ export function GameTopupListToJSONTyped(value?: GameTopupList | null, ignoreDiscriminator: boolean = false): any {
97
+ if (value == null) {
98
+ return value;
99
+ }
100
+
101
+ return {
102
+
103
+ 'items': ((value['items'] as Array<any>).map(ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON)),
104
+ 'currentPage': value['currentPage'],
105
+ 'pageSize': value['pageSize'],
106
+ 'totalItems': value['totalItems'],
107
+ 'totalPages': value['totalPages'],
108
+ };
109
+ }
110
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { QueryGameTopupListQuery } from './QueryGameTopupListQuery';
17
+ import {
18
+ QueryGameTopupListQueryFromJSON,
19
+ QueryGameTopupListQueryFromJSONTyped,
20
+ QueryGameTopupListQueryToJSON,
21
+ QueryGameTopupListQueryToJSONTyped,
22
+ } from './QueryGameTopupListQuery';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface QueryGameTopupList
28
+ */
29
+ export interface QueryGameTopupList {
30
+ /**
31
+ *
32
+ * @type {QueryGameTopupListQuery}
33
+ * @memberof QueryGameTopupList
34
+ */
35
+ query: QueryGameTopupListQuery;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the QueryGameTopupList interface.
40
+ */
41
+ export function instanceOfQueryGameTopupList(value: object): value is QueryGameTopupList {
42
+ if (!('query' in value) || value['query'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function QueryGameTopupListFromJSON(json: any): QueryGameTopupList {
47
+ return QueryGameTopupListFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function QueryGameTopupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryGameTopupList {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'query': QueryGameTopupListQueryFromJSON(json['query']),
57
+ };
58
+ }
59
+
60
+ export function QueryGameTopupListToJSON(json: any): QueryGameTopupList {
61
+ return QueryGameTopupListToJSONTyped(json, false);
62
+ }
63
+
64
+ export function QueryGameTopupListToJSONTyped(value?: QueryGameTopupList | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'query': QueryGameTopupListQueryToJSON(value['query']),
72
+ };
73
+ }
74
+
@@ -0,0 +1,98 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ApiGarudakuGameTopupsGetFilterParameter } from './ApiGarudakuGameTopupsGetFilterParameter';
17
+ import {
18
+ ApiGarudakuGameTopupsGetFilterParameterFromJSON,
19
+ ApiGarudakuGameTopupsGetFilterParameterFromJSONTyped,
20
+ ApiGarudakuGameTopupsGetFilterParameterToJSON,
21
+ ApiGarudakuGameTopupsGetFilterParameterToJSONTyped,
22
+ } from './ApiGarudakuGameTopupsGetFilterParameter';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface QueryGameTopupListQuery
28
+ */
29
+ export interface QueryGameTopupListQuery {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof QueryGameTopupListQuery
34
+ */
35
+ page?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof QueryGameTopupListQuery
40
+ */
41
+ pageSize?: number;
42
+ /**
43
+ * Format: field:asc or field:desc.
44
+ * Allowed fields: gameName, isPopular, sortOrder, createdAt, updatedAt
45
+ * @type {string}
46
+ * @memberof QueryGameTopupListQuery
47
+ */
48
+ sort?: string;
49
+ /**
50
+ *
51
+ * @type {ApiGarudakuGameTopupsGetFilterParameter}
52
+ * @memberof QueryGameTopupListQuery
53
+ */
54
+ filter?: ApiGarudakuGameTopupsGetFilterParameter;
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the QueryGameTopupListQuery interface.
59
+ */
60
+ export function instanceOfQueryGameTopupListQuery(value: object): value is QueryGameTopupListQuery {
61
+ return true;
62
+ }
63
+
64
+ export function QueryGameTopupListQueryFromJSON(json: any): QueryGameTopupListQuery {
65
+ return QueryGameTopupListQueryFromJSONTyped(json, false);
66
+ }
67
+
68
+ export function QueryGameTopupListQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryGameTopupListQuery {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+
74
+ 'page': json['page'] == null ? undefined : json['page'],
75
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
76
+ 'sort': json['sort'] == null ? undefined : json['sort'],
77
+ 'filter': json['filter'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterFromJSON(json['filter']),
78
+ };
79
+ }
80
+
81
+ export function QueryGameTopupListQueryToJSON(json: any): QueryGameTopupListQuery {
82
+ return QueryGameTopupListQueryToJSONTyped(json, false);
83
+ }
84
+
85
+ export function QueryGameTopupListQueryToJSONTyped(value?: QueryGameTopupListQuery | null, ignoreDiscriminator: boolean = false): any {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+
90
+ return {
91
+
92
+ 'page': value['page'],
93
+ 'pageSize': value['pageSize'],
94
+ 'sort': value['sort'],
95
+ 'filter': ApiGarudakuGameTopupsGetFilterParameterToJSON(value['filter']),
96
+ };
97
+ }
98
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { QueryTournamentListQuery } from './QueryTournamentListQuery';
17
+ import {
18
+ QueryTournamentListQueryFromJSON,
19
+ QueryTournamentListQueryFromJSONTyped,
20
+ QueryTournamentListQueryToJSON,
21
+ QueryTournamentListQueryToJSONTyped,
22
+ } from './QueryTournamentListQuery';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface QueryTournamentList
28
+ */
29
+ export interface QueryTournamentList {
30
+ /**
31
+ *
32
+ * @type {QueryTournamentListQuery}
33
+ * @memberof QueryTournamentList
34
+ */
35
+ query: QueryTournamentListQuery;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the QueryTournamentList interface.
40
+ */
41
+ export function instanceOfQueryTournamentList(value: object): value is QueryTournamentList {
42
+ if (!('query' in value) || value['query'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function QueryTournamentListFromJSON(json: any): QueryTournamentList {
47
+ return QueryTournamentListFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function QueryTournamentListFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryTournamentList {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'query': QueryTournamentListQueryFromJSON(json['query']),
57
+ };
58
+ }
59
+
60
+ export function QueryTournamentListToJSON(json: any): QueryTournamentList {
61
+ return QueryTournamentListToJSONTyped(json, false);
62
+ }
63
+
64
+ export function QueryTournamentListToJSONTyped(value?: QueryTournamentList | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'query': QueryTournamentListQueryToJSON(value['query']),
72
+ };
73
+ }
74
+
@@ -0,0 +1,98 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ApiGarudakuTournamentsGetFilterParameter } from './ApiGarudakuTournamentsGetFilterParameter';
17
+ import {
18
+ ApiGarudakuTournamentsGetFilterParameterFromJSON,
19
+ ApiGarudakuTournamentsGetFilterParameterFromJSONTyped,
20
+ ApiGarudakuTournamentsGetFilterParameterToJSON,
21
+ ApiGarudakuTournamentsGetFilterParameterToJSONTyped,
22
+ } from './ApiGarudakuTournamentsGetFilterParameter';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface QueryTournamentListQuery
28
+ */
29
+ export interface QueryTournamentListQuery {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof QueryTournamentListQuery
34
+ */
35
+ page?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof QueryTournamentListQuery
40
+ */
41
+ pageSize?: number;
42
+ /**
43
+ * Format: field:asc or field:desc.
44
+ * Allowed fields: tournamentName, category, prizePool, tournamentDatetime, createdAt, updatedAt
45
+ * @type {string}
46
+ * @memberof QueryTournamentListQuery
47
+ */
48
+ sort?: string;
49
+ /**
50
+ *
51
+ * @type {ApiGarudakuTournamentsGetFilterParameter}
52
+ * @memberof QueryTournamentListQuery
53
+ */
54
+ filter?: ApiGarudakuTournamentsGetFilterParameter;
55
+ }
56
+
57
+ /**
58
+ * Check if a given object implements the QueryTournamentListQuery interface.
59
+ */
60
+ export function instanceOfQueryTournamentListQuery(value: object): value is QueryTournamentListQuery {
61
+ return true;
62
+ }
63
+
64
+ export function QueryTournamentListQueryFromJSON(json: any): QueryTournamentListQuery {
65
+ return QueryTournamentListQueryFromJSONTyped(json, false);
66
+ }
67
+
68
+ export function QueryTournamentListQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): QueryTournamentListQuery {
69
+ if (json == null) {
70
+ return json;
71
+ }
72
+ return {
73
+
74
+ 'page': json['page'] == null ? undefined : json['page'],
75
+ 'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
76
+ 'sort': json['sort'] == null ? undefined : json['sort'],
77
+ 'filter': json['filter'] == null ? undefined : ApiGarudakuTournamentsGetFilterParameterFromJSON(json['filter']),
78
+ };
79
+ }
80
+
81
+ export function QueryTournamentListQueryToJSON(json: any): QueryTournamentListQuery {
82
+ return QueryTournamentListQueryToJSONTyped(json, false);
83
+ }
84
+
85
+ export function QueryTournamentListQueryToJSONTyped(value?: QueryTournamentListQuery | null, ignoreDiscriminator: boolean = false): any {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+
90
+ return {
91
+
92
+ 'page': value['page'],
93
+ 'pageSize': value['pageSize'],
94
+ 'sort': value['sort'],
95
+ 'filter': ApiGarudakuTournamentsGetFilterParameterToJSON(value['filter']),
96
+ };
97
+ }
98
+