@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.
Files changed (69) hide show
  1. package/.openapi-generator/FILES +5 -14
  2. package/apis/GarudakuApi.ts +53 -190
  3. package/deploy.log +19 -55
  4. package/dist/apis/GarudakuApi.d.ts +33 -69
  5. package/dist/apis/GarudakuApi.js +20 -117
  6. package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.d.ts +0 -12
  7. package/dist/models/ApiGarudakuGameTopupsIdDelete200Response.js +0 -4
  8. package/dist/models/ApiGarudakuGameTopupsIdPutRequest.d.ts +56 -0
  9. package/dist/models/{UpdateGameTopupRequest.js → ApiGarudakuGameTopupsIdPutRequest.js} +8 -8
  10. package/dist/models/ApiGarudakuGameTopupsPostRequest.d.ts +56 -0
  11. package/dist/models/{CreateGameTopupRequest.js → ApiGarudakuGameTopupsPostRequest.js} +8 -8
  12. package/dist/models/ApiGarudakuPrivateStreamPostRequest.d.ts +50 -0
  13. package/dist/models/ApiGarudakuPrivateStreamPostRequest.js +51 -0
  14. package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.d.ts +8 -2
  15. package/dist/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.js +4 -0
  16. package/dist/models/ApiGarudakuTournamentsGetFilterParameter.d.ts +2 -3
  17. package/dist/models/ApiGarudakuTournamentsGetFilterParameter.js +2 -3
  18. package/dist/models/ApiGarudakuTournamentsIdPutRequest.d.ts +64 -0
  19. package/dist/models/{UpdateTournamentRequest.js → ApiGarudakuTournamentsIdPutRequest.js} +11 -9
  20. package/dist/models/ApiGarudakuTournamentsPostRequest.d.ts +64 -0
  21. package/dist/models/{CreateTournamentRequest.js → ApiGarudakuTournamentsPostRequest.js} +13 -9
  22. package/dist/models/index.d.ts +5 -14
  23. package/dist/models/index.js +5 -14
  24. package/models/ApiGarudakuGameTopupsIdDelete200Response.ts +0 -16
  25. package/models/{UpdateGameTopupRequest.ts → ApiGarudakuGameTopupsIdPutRequest.ts} +15 -15
  26. package/models/{CreateGameTopupRequest.ts → ApiGarudakuGameTopupsPostRequest.ts} +15 -15
  27. package/models/ApiGarudakuPrivateStreamPostRequest.ts +91 -0
  28. package/models/ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner.ts +11 -2
  29. package/models/ApiGarudakuTournamentsGetFilterParameter.ts +4 -11
  30. package/models/ApiGarudakuTournamentsIdPutRequest.ts +108 -0
  31. package/models/ApiGarudakuTournamentsPostRequest.ts +113 -0
  32. package/models/index.ts +5 -14
  33. package/package.json +1 -1
  34. package/dist/models/ApiGarudakuTournamentsIdDelete200Response.d.ts +0 -44
  35. package/dist/models/ApiGarudakuTournamentsIdDelete200Response.js +0 -45
  36. package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.d.ts +0 -38
  37. package/dist/models/ApiGarudakuTournamentsRefreshCachePost200Response.js +0 -43
  38. package/dist/models/CreateGameTopupRequest.d.ts +0 -56
  39. package/dist/models/CreateTournamentRequest.d.ts +0 -58
  40. package/dist/models/GameTopup.d.ts +0 -74
  41. package/dist/models/GameTopup.js +0 -67
  42. package/dist/models/GameTopupList.d.ts +0 -57
  43. package/dist/models/GameTopupList.js +0 -60
  44. package/dist/models/QueryGameTopupList.d.ts +0 -33
  45. package/dist/models/QueryGameTopupList.js +0 -44
  46. package/dist/models/QueryGameTopupListQuery.d.ts +0 -52
  47. package/dist/models/QueryGameTopupListQuery.js +0 -48
  48. package/dist/models/QueryTournamentList.d.ts +0 -33
  49. package/dist/models/QueryTournamentList.js +0 -44
  50. package/dist/models/QueryTournamentListQuery.d.ts +0 -52
  51. package/dist/models/QueryTournamentListQuery.js +0 -48
  52. package/dist/models/Tournament.d.ts +0 -76
  53. package/dist/models/Tournament.js +0 -74
  54. package/dist/models/TournamentList.d.ts +0 -57
  55. package/dist/models/TournamentList.js +0 -60
  56. package/dist/models/UpdateGameTopupRequest.d.ts +0 -56
  57. package/dist/models/UpdateTournamentRequest.d.ts +0 -58
  58. package/models/ApiGarudakuTournamentsIdDelete200Response.ts +0 -81
  59. package/models/ApiGarudakuTournamentsRefreshCachePost200Response.ts +0 -73
  60. package/models/CreateTournamentRequest.ts +0 -104
  61. package/models/GameTopup.ts +0 -127
  62. package/models/GameTopupList.ts +0 -110
  63. package/models/QueryGameTopupList.ts +0 -74
  64. package/models/QueryGameTopupListQuery.ts +0 -98
  65. package/models/QueryTournamentList.ts +0 -74
  66. package/models/QueryTournamentListQuery.ts +0 -98
  67. package/models/Tournament.ts +0 -131
  68. package/models/TournamentList.ts +0 -110
  69. package/models/UpdateTournamentRequest.ts +0 -100
@@ -1,131 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * DRX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface Tournament
20
- */
21
- export interface Tournament {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof Tournament
26
- */
27
- id: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof Tournament
32
- */
33
- tournamentName: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof Tournament
38
- */
39
- category: TournamentCategoryEnum;
40
- /**
41
- *
42
- * @type {number}
43
- * @memberof Tournament
44
- */
45
- prizePool: number;
46
- /**
47
- *
48
- * @type {Date}
49
- * @memberof Tournament
50
- */
51
- tournamentDatetime: Date;
52
- /**
53
- *
54
- * @type {Date}
55
- * @memberof Tournament
56
- */
57
- createdAt: Date;
58
- /**
59
- *
60
- * @type {Date}
61
- * @memberof Tournament
62
- */
63
- updatedAt: Date;
64
- }
65
-
66
-
67
- /**
68
- * @export
69
- */
70
- export const TournamentCategoryEnum = {
71
- Public: 'public',
72
- Private: 'private'
73
- } as const;
74
- export type TournamentCategoryEnum = typeof TournamentCategoryEnum[keyof typeof TournamentCategoryEnum];
75
-
76
-
77
- /**
78
- * Check if a given object implements the Tournament interface.
79
- */
80
- export function instanceOfTournament(value: object): value is Tournament {
81
- if (!('id' in value) || value['id'] === undefined) return false;
82
- if (!('tournamentName' in value) || value['tournamentName'] === undefined) return false;
83
- if (!('category' in value) || value['category'] === undefined) return false;
84
- if (!('prizePool' in value) || value['prizePool'] === undefined) return false;
85
- if (!('tournamentDatetime' in value) || value['tournamentDatetime'] === undefined) return false;
86
- if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
87
- if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
88
- return true;
89
- }
90
-
91
- export function TournamentFromJSON(json: any): Tournament {
92
- return TournamentFromJSONTyped(json, false);
93
- }
94
-
95
- export function TournamentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tournament {
96
- if (json == null) {
97
- return json;
98
- }
99
- return {
100
-
101
- 'id': json['id'],
102
- 'tournamentName': json['tournamentName'],
103
- 'category': json['category'],
104
- 'prizePool': json['prizePool'],
105
- 'tournamentDatetime': (new Date(json['tournamentDatetime'])),
106
- 'createdAt': (new Date(json['createdAt'])),
107
- 'updatedAt': (new Date(json['updatedAt'])),
108
- };
109
- }
110
-
111
- export function TournamentToJSON(json: any): Tournament {
112
- return TournamentToJSONTyped(json, false);
113
- }
114
-
115
- export function TournamentToJSONTyped(value?: Tournament | null, ignoreDiscriminator: boolean = false): any {
116
- if (value == null) {
117
- return value;
118
- }
119
-
120
- return {
121
-
122
- 'id': value['id'],
123
- 'tournamentName': value['tournamentName'],
124
- 'category': value['category'],
125
- 'prizePool': value['prizePool'],
126
- 'tournamentDatetime': ((value['tournamentDatetime']).toISOString()),
127
- 'createdAt': ((value['createdAt']).toISOString()),
128
- 'updatedAt': ((value['updatedAt']).toISOString()),
129
- };
130
- }
131
-
@@ -1,110 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * DRX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
17
- import {
18
- ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON,
19
- ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
20
- ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON,
21
- ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped,
22
- } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface TournamentList
28
- */
29
- export interface TournamentList {
30
- /**
31
- *
32
- * @type {Array<ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner>}
33
- * @memberof TournamentList
34
- */
35
- items: Array<ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner>;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof TournamentList
40
- */
41
- currentPage: number;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof TournamentList
46
- */
47
- pageSize: number;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof TournamentList
52
- */
53
- totalItems: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof TournamentList
58
- */
59
- totalPages: number;
60
- }
61
-
62
- /**
63
- * Check if a given object implements the TournamentList interface.
64
- */
65
- export function instanceOfTournamentList(value: object): value is TournamentList {
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 TournamentListFromJSON(json: any): TournamentList {
75
- return TournamentListFromJSONTyped(json, false);
76
- }
77
-
78
- export function TournamentListFromJSONTyped(json: any, ignoreDiscriminator: boolean): TournamentList {
79
- if (json == null) {
80
- return json;
81
- }
82
- return {
83
-
84
- 'items': ((json['items'] as Array<any>).map(ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON)),
85
- 'currentPage': json['currentPage'],
86
- 'pageSize': json['pageSize'],
87
- 'totalItems': json['totalItems'],
88
- 'totalPages': json['totalPages'],
89
- };
90
- }
91
-
92
- export function TournamentListToJSON(json: any): TournamentList {
93
- return TournamentListToJSONTyped(json, false);
94
- }
95
-
96
- export function TournamentListToJSONTyped(value?: TournamentList | 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(ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON)),
104
- 'currentPage': value['currentPage'],
105
- 'pageSize': value['pageSize'],
106
- 'totalItems': value['totalItems'],
107
- 'totalPages': value['totalPages'],
108
- };
109
- }
110
-
@@ -1,100 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * DRX API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface UpdateTournamentRequest
20
- */
21
- export interface UpdateTournamentRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof UpdateTournamentRequest
26
- */
27
- tournamentName?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof UpdateTournamentRequest
32
- */
33
- category?: UpdateTournamentRequestCategoryEnum;
34
- /**
35
- *
36
- * @type {number}
37
- * @memberof UpdateTournamentRequest
38
- */
39
- prizePool?: number;
40
- /**
41
- *
42
- * @type {Date}
43
- * @memberof UpdateTournamentRequest
44
- */
45
- tournamentDatetime?: Date;
46
- }
47
-
48
-
49
- /**
50
- * @export
51
- */
52
- export const UpdateTournamentRequestCategoryEnum = {
53
- Public: 'public',
54
- Private: 'private'
55
- } as const;
56
- export type UpdateTournamentRequestCategoryEnum = typeof UpdateTournamentRequestCategoryEnum[keyof typeof UpdateTournamentRequestCategoryEnum];
57
-
58
-
59
- /**
60
- * Check if a given object implements the UpdateTournamentRequest interface.
61
- */
62
- export function instanceOfUpdateTournamentRequest(value: object): value is UpdateTournamentRequest {
63
- return true;
64
- }
65
-
66
- export function UpdateTournamentRequestFromJSON(json: any): UpdateTournamentRequest {
67
- return UpdateTournamentRequestFromJSONTyped(json, false);
68
- }
69
-
70
- export function UpdateTournamentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateTournamentRequest {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'tournamentName': json['tournamentName'] == null ? undefined : json['tournamentName'],
77
- 'category': json['category'] == null ? undefined : json['category'],
78
- 'prizePool': json['prizePool'] == null ? undefined : json['prizePool'],
79
- 'tournamentDatetime': json['tournamentDatetime'] == null ? undefined : (new Date(json['tournamentDatetime'])),
80
- };
81
- }
82
-
83
- export function UpdateTournamentRequestToJSON(json: any): UpdateTournamentRequest {
84
- return UpdateTournamentRequestToJSONTyped(json, false);
85
- }
86
-
87
- export function UpdateTournamentRequestToJSONTyped(value?: UpdateTournamentRequest | null, ignoreDiscriminator: boolean = false): any {
88
- if (value == null) {
89
- return value;
90
- }
91
-
92
- return {
93
-
94
- 'tournamentName': value['tournamentName'],
95
- 'category': value['category'],
96
- 'prizePool': value['prizePool'],
97
- 'tournamentDatetime': value['tournamentDatetime'] == null ? undefined : ((value['tournamentDatetime']).toISOString()),
98
- };
99
- }
100
-