@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,126 @@
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 { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
17
+ import {
18
+ ApiPadelMatchesGetFilterParameterNameFromJSON,
19
+ ApiPadelMatchesGetFilterParameterNameFromJSONTyped,
20
+ ApiPadelMatchesGetFilterParameterNameToJSON,
21
+ ApiPadelMatchesGetFilterParameterNameToJSONTyped,
22
+ } from './ApiPadelMatchesGetFilterParameterName';
23
+ import type { ApiGarudakuGameTopupsGetFilterParameterIsPopular } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
24
+ import {
25
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON,
26
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSONTyped,
27
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON,
28
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSONTyped,
29
+ } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
30
+ import type { ApiPadelMatchesGetFilterParameterId } from './ApiPadelMatchesGetFilterParameterId';
31
+ import {
32
+ ApiPadelMatchesGetFilterParameterIdFromJSON,
33
+ ApiPadelMatchesGetFilterParameterIdFromJSONTyped,
34
+ ApiPadelMatchesGetFilterParameterIdToJSON,
35
+ ApiPadelMatchesGetFilterParameterIdToJSONTyped,
36
+ } from './ApiPadelMatchesGetFilterParameterId';
37
+ import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
38
+ import {
39
+ ApiPadelMatchesGetFilterParameterPlayedAtFromJSON,
40
+ ApiPadelMatchesGetFilterParameterPlayedAtFromJSONTyped,
41
+ ApiPadelMatchesGetFilterParameterPlayedAtToJSON,
42
+ ApiPadelMatchesGetFilterParameterPlayedAtToJSONTyped,
43
+ } from './ApiPadelMatchesGetFilterParameterPlayedAt';
44
+
45
+ /**
46
+ *
47
+ * @export
48
+ * @interface ApiGarudakuGameTopupsGetFilterParameter
49
+ */
50
+ export interface ApiGarudakuGameTopupsGetFilterParameter {
51
+ /**
52
+ *
53
+ * @type {ApiPadelMatchesGetFilterParameterName}
54
+ * @memberof ApiGarudakuGameTopupsGetFilterParameter
55
+ */
56
+ gameName?: ApiPadelMatchesGetFilterParameterName;
57
+ /**
58
+ *
59
+ * @type {ApiGarudakuGameTopupsGetFilterParameterIsPopular}
60
+ * @memberof ApiGarudakuGameTopupsGetFilterParameter
61
+ */
62
+ isPopular?: ApiGarudakuGameTopupsGetFilterParameterIsPopular;
63
+ /**
64
+ *
65
+ * @type {ApiPadelMatchesGetFilterParameterId}
66
+ * @memberof ApiGarudakuGameTopupsGetFilterParameter
67
+ */
68
+ sortOrder?: ApiPadelMatchesGetFilterParameterId;
69
+ /**
70
+ *
71
+ * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
72
+ * @memberof ApiGarudakuGameTopupsGetFilterParameter
73
+ */
74
+ createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
75
+ /**
76
+ *
77
+ * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
78
+ * @memberof ApiGarudakuGameTopupsGetFilterParameter
79
+ */
80
+ updatedAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
81
+ }
82
+
83
+ /**
84
+ * Check if a given object implements the ApiGarudakuGameTopupsGetFilterParameter interface.
85
+ */
86
+ export function instanceOfApiGarudakuGameTopupsGetFilterParameter(value: object): value is ApiGarudakuGameTopupsGetFilterParameter {
87
+ return true;
88
+ }
89
+
90
+ export function ApiGarudakuGameTopupsGetFilterParameterFromJSON(json: any): ApiGarudakuGameTopupsGetFilterParameter {
91
+ return ApiGarudakuGameTopupsGetFilterParameterFromJSONTyped(json, false);
92
+ }
93
+
94
+ export function ApiGarudakuGameTopupsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsGetFilterParameter {
95
+ if (json == null) {
96
+ return json;
97
+ }
98
+ return {
99
+
100
+ 'gameName': json['gameName'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['gameName']),
101
+ 'isPopular': json['isPopular'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json['isPopular']),
102
+ 'sortOrder': json['sortOrder'] == null ? undefined : ApiPadelMatchesGetFilterParameterIdFromJSON(json['sortOrder']),
103
+ 'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
104
+ 'updatedAt': json['updatedAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['updatedAt']),
105
+ };
106
+ }
107
+
108
+ export function ApiGarudakuGameTopupsGetFilterParameterToJSON(json: any): ApiGarudakuGameTopupsGetFilterParameter {
109
+ return ApiGarudakuGameTopupsGetFilterParameterToJSONTyped(json, false);
110
+ }
111
+
112
+ export function ApiGarudakuGameTopupsGetFilterParameterToJSONTyped(value?: ApiGarudakuGameTopupsGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
115
+ }
116
+
117
+ return {
118
+
119
+ 'gameName': ApiPadelMatchesGetFilterParameterNameToJSON(value['gameName']),
120
+ 'isPopular': ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(value['isPopular']),
121
+ 'sortOrder': ApiPadelMatchesGetFilterParameterIdToJSON(value['sortOrder']),
122
+ 'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
123
+ 'updatedAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['updatedAt']),
124
+ };
125
+ }
126
+
@@ -0,0 +1,65 @@
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 ApiGarudakuGameTopupsGetFilterParameterIsPopular
20
+ */
21
+ export interface ApiGarudakuGameTopupsGetFilterParameterIsPopular {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ApiGarudakuGameTopupsGetFilterParameterIsPopular
26
+ */
27
+ eq?: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ApiGarudakuGameTopupsGetFilterParameterIsPopular interface.
32
+ */
33
+ export function instanceOfApiGarudakuGameTopupsGetFilterParameterIsPopular(value: object): value is ApiGarudakuGameTopupsGetFilterParameterIsPopular {
34
+ return true;
35
+ }
36
+
37
+ export function ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json: any): ApiGarudakuGameTopupsGetFilterParameterIsPopular {
38
+ return ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsGetFilterParameterIsPopular {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'eq': json['eq'] == null ? undefined : json['eq'],
48
+ };
49
+ }
50
+
51
+ export function ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(json: any): ApiGarudakuGameTopupsGetFilterParameterIsPopular {
52
+ return ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSONTyped(value?: ApiGarudakuGameTopupsGetFilterParameterIsPopular | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'eq': value['eq'],
63
+ };
64
+ }
65
+
@@ -0,0 +1,81 @@
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 ApiGarudakuGameTopupsIdDelete200Response
20
+ */
21
+ export interface ApiGarudakuGameTopupsIdDelete200Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ApiGarudakuGameTopupsIdDelete200Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiGarudakuGameTopupsIdDelete200Response
32
+ */
33
+ message?: string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ApiGarudakuGameTopupsIdDelete200Response
38
+ */
39
+ statusCode?: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ApiGarudakuGameTopupsIdDelete200Response interface.
44
+ */
45
+ export function instanceOfApiGarudakuGameTopupsIdDelete200Response(value: object): value is ApiGarudakuGameTopupsIdDelete200Response {
46
+ return true;
47
+ }
48
+
49
+ export function ApiGarudakuGameTopupsIdDelete200ResponseFromJSON(json: any): ApiGarudakuGameTopupsIdDelete200Response {
50
+ return ApiGarudakuGameTopupsIdDelete200ResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function ApiGarudakuGameTopupsIdDelete200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsIdDelete200Response {
54
+ if (json == null) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'success': json['success'] == null ? undefined : json['success'],
60
+ 'message': json['message'] == null ? undefined : json['message'],
61
+ 'statusCode': json['statusCode'] == null ? undefined : json['statusCode'],
62
+ };
63
+ }
64
+
65
+ export function ApiGarudakuGameTopupsIdDelete200ResponseToJSON(json: any): ApiGarudakuGameTopupsIdDelete200Response {
66
+ return ApiGarudakuGameTopupsIdDelete200ResponseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function ApiGarudakuGameTopupsIdDelete200ResponseToJSONTyped(value?: ApiGarudakuGameTopupsIdDelete200Response | null, ignoreDiscriminator: boolean = false): any {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+
74
+ return {
75
+
76
+ 'success': value['success'],
77
+ 'message': value['message'],
78
+ 'statusCode': value['statusCode'],
79
+ };
80
+ }
81
+
@@ -0,0 +1,100 @@
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 ApiGarudakuGameTopupsPost200Response
28
+ */
29
+ export interface ApiGarudakuGameTopupsPost200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiGarudakuGameTopupsPost200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiGarudakuGameTopupsPost200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner}
45
+ * @memberof ApiGarudakuGameTopupsPost200Response
46
+ */
47
+ responseObject?: ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiGarudakuGameTopupsPost200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiGarudakuGameTopupsPost200Response interface.
58
+ */
59
+ export function instanceOfApiGarudakuGameTopupsPost200Response(value: object): value is ApiGarudakuGameTopupsPost200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiGarudakuGameTopupsPost200ResponseFromJSON(json: any): ApiGarudakuGameTopupsPost200Response {
67
+ return ApiGarudakuGameTopupsPost200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiGarudakuGameTopupsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuGameTopupsPost200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiGarudakuGameTopupsPost200ResponseToJSON(json: any): ApiGarudakuGameTopupsPost200Response {
84
+ return ApiGarudakuGameTopupsPost200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiGarudakuGameTopupsPost200ResponseToJSONTyped(value?: ApiGarudakuGameTopupsPost200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInnerToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,100 @@
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 { ApiGarudakuTournamentsGet200ResponseResponseObject } from './ApiGarudakuTournamentsGet200ResponseResponseObject';
17
+ import {
18
+ ApiGarudakuTournamentsGet200ResponseResponseObjectFromJSON,
19
+ ApiGarudakuTournamentsGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiGarudakuTournamentsGet200ResponseResponseObjectToJSON,
21
+ ApiGarudakuTournamentsGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiGarudakuTournamentsGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiGarudakuTournamentsGet200Response
28
+ */
29
+ export interface ApiGarudakuTournamentsGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiGarudakuTournamentsGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiGarudakuTournamentsGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiGarudakuTournamentsGet200ResponseResponseObject}
45
+ * @memberof ApiGarudakuTournamentsGet200Response
46
+ */
47
+ responseObject?: ApiGarudakuTournamentsGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiGarudakuTournamentsGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiGarudakuTournamentsGet200Response interface.
58
+ */
59
+ export function instanceOfApiGarudakuTournamentsGet200Response(value: object): value is ApiGarudakuTournamentsGet200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiGarudakuTournamentsGet200ResponseFromJSON(json: any): ApiGarudakuTournamentsGet200Response {
67
+ return ApiGarudakuTournamentsGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiGarudakuTournamentsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsGet200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiGarudakuTournamentsGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiGarudakuTournamentsGet200ResponseToJSON(json: any): ApiGarudakuTournamentsGet200Response {
84
+ return ApiGarudakuTournamentsGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiGarudakuTournamentsGet200ResponseToJSONTyped(value?: ApiGarudakuTournamentsGet200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiGarudakuTournamentsGet200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -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 { ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
17
+ import {
18
+ ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSON,
19
+ ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerFromJSONTyped,
20
+ ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSON,
21
+ ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInnerToJSONTyped,
22
+ } from './ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiGarudakuTournamentsGet200ResponseResponseObject
28
+ */
29
+ export interface ApiGarudakuTournamentsGet200ResponseResponseObject {
30
+ /**
31
+ *
32
+ * @type {Array<ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner>}
33
+ * @memberof ApiGarudakuTournamentsGet200ResponseResponseObject
34
+ */
35
+ items: Array<ApiGarudakuTournamentsGet200ResponseResponseObjectItemsInner>;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiGarudakuTournamentsGet200ResponseResponseObject
40
+ */
41
+ currentPage: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ApiGarudakuTournamentsGet200ResponseResponseObject
46
+ */
47
+ pageSize: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiGarudakuTournamentsGet200ResponseResponseObject
52
+ */
53
+ totalItems: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof ApiGarudakuTournamentsGet200ResponseResponseObject
58
+ */
59
+ totalPages: number;
60
+ }
61
+
62
+ /**
63
+ * Check if a given object implements the ApiGarudakuTournamentsGet200ResponseResponseObject interface.
64
+ */
65
+ export function instanceOfApiGarudakuTournamentsGet200ResponseResponseObject(value: object): value is ApiGarudakuTournamentsGet200ResponseResponseObject {
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 ApiGarudakuTournamentsGet200ResponseResponseObjectFromJSON(json: any): ApiGarudakuTournamentsGet200ResponseResponseObject {
75
+ return ApiGarudakuTournamentsGet200ResponseResponseObjectFromJSONTyped(json, false);
76
+ }
77
+
78
+ export function ApiGarudakuTournamentsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiGarudakuTournamentsGet200ResponseResponseObject {
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 ApiGarudakuTournamentsGet200ResponseResponseObjectToJSON(json: any): ApiGarudakuTournamentsGet200ResponseResponseObject {
93
+ return ApiGarudakuTournamentsGet200ResponseResponseObjectToJSONTyped(json, false);
94
+ }
95
+
96
+ export function ApiGarudakuTournamentsGet200ResponseResponseObjectToJSONTyped(value?: ApiGarudakuTournamentsGet200ResponseResponseObject | 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
+