@drxsuperapp/sdk 1.1.388 → 1.1.389

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 (63) hide show
  1. package/.openapi-generator/FILES +18 -0
  2. package/apis/PoolWalletManagementApi.ts +259 -0
  3. package/apis/SwapApi.ts +415 -0
  4. package/apis/index.ts +2 -0
  5. package/deploy.log +78 -9
  6. package/dist/apis/PoolWalletManagementApi.d.ts +74 -0
  7. package/dist/apis/PoolWalletManagementApi.js +175 -0
  8. package/dist/apis/SwapApi.d.ts +113 -0
  9. package/dist/apis/SwapApi.js +288 -0
  10. package/dist/apis/index.d.ts +2 -0
  11. package/dist/apis/index.js +2 -0
  12. package/dist/models/ApiPoolWalletActivePurposeGet200Response.d.ts +51 -0
  13. package/dist/models/ApiPoolWalletActivePurposeGet200Response.js +54 -0
  14. package/dist/models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.d.ts +62 -0
  15. package/dist/models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.js +61 -0
  16. package/dist/models/ApiPoolWalletGet200Response.d.ts +51 -0
  17. package/dist/models/ApiPoolWalletGet200Response.js +54 -0
  18. package/dist/models/ApiPoolWalletGetFilterParameter.d.ts +40 -0
  19. package/dist/models/ApiPoolWalletGetFilterParameter.js +45 -0
  20. package/dist/models/ApiPoolWalletIdPutRequest.d.ts +38 -0
  21. package/dist/models/ApiPoolWalletIdPutRequest.js +43 -0
  22. package/dist/models/ApiWeb3AdminSwapIdActionPutRequest.d.ts +46 -0
  23. package/dist/models/ApiWeb3AdminSwapIdActionPutRequest.js +52 -0
  24. package/dist/models/ApiWeb3SwapGet200Response.d.ts +51 -0
  25. package/dist/models/ApiWeb3SwapGet200Response.js +54 -0
  26. package/dist/models/ApiWeb3SwapGet200ResponseResponseObject.d.ts +57 -0
  27. package/dist/models/ApiWeb3SwapGet200ResponseResponseObject.js +60 -0
  28. package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.d.ts +87 -0
  29. package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.js +83 -0
  30. package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.d.ts +50 -0
  31. package/dist/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.js +55 -0
  32. package/dist/models/ApiWeb3SwapGetFilterParameter.d.ts +46 -0
  33. package/dist/models/ApiWeb3SwapGetFilterParameter.js +47 -0
  34. package/dist/models/ApiWeb3SwapLimitsGet200Response.d.ts +51 -0
  35. package/dist/models/ApiWeb3SwapLimitsGet200Response.js +54 -0
  36. package/dist/models/ApiWeb3SwapLimitsGet200ResponseResponseObject.d.ts +62 -0
  37. package/dist/models/ApiWeb3SwapLimitsGet200ResponseResponseObject.js +63 -0
  38. package/dist/models/ApiWeb3SwapPost200Response.d.ts +51 -0
  39. package/dist/models/ApiWeb3SwapPost200Response.js +54 -0
  40. package/dist/models/ApiWeb3SwapPost200ResponseResponseObject.d.ts +135 -0
  41. package/dist/models/ApiWeb3SwapPost200ResponseResponseObject.js +113 -0
  42. package/dist/models/ApiWeb3SwapPostRequest.d.ts +32 -0
  43. package/dist/models/ApiWeb3SwapPostRequest.js +43 -0
  44. package/dist/models/index.d.ts +16 -0
  45. package/dist/models/index.js +16 -0
  46. package/models/ApiPoolWalletActivePurposeGet200Response.ts +100 -0
  47. package/models/ApiPoolWalletActivePurposeGet200ResponseResponseObject.ts +110 -0
  48. package/models/ApiPoolWalletGet200Response.ts +100 -0
  49. package/models/ApiPoolWalletGetFilterParameter.ts +88 -0
  50. package/models/ApiPoolWalletIdPutRequest.ts +73 -0
  51. package/models/ApiWeb3AdminSwapIdActionPutRequest.ts +85 -0
  52. package/models/ApiWeb3SwapGet200Response.ts +100 -0
  53. package/models/ApiWeb3SwapGet200ResponseResponseObject.ts +110 -0
  54. package/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInner.ts +152 -0
  55. package/models/ApiWeb3SwapGet200ResponseResponseObjectItemsInnerUser.ts +93 -0
  56. package/models/ApiWeb3SwapGetFilterParameter.ts +96 -0
  57. package/models/ApiWeb3SwapLimitsGet200Response.ts +100 -0
  58. package/models/ApiWeb3SwapLimitsGet200ResponseResponseObject.ts +111 -0
  59. package/models/ApiWeb3SwapPost200Response.ts +100 -0
  60. package/models/ApiWeb3SwapPost200ResponseResponseObject.ts +223 -0
  61. package/models/ApiWeb3SwapPostRequest.ts +66 -0
  62. package/models/index.ts +16 -0
  63. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiPoolWalletActivePurposeGet200ResponseResponseObject } from './ApiPoolWalletActivePurposeGet200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiPoolWalletActivePurposeGet200Response
17
+ */
18
+ export interface ApiPoolWalletActivePurposeGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiPoolWalletActivePurposeGet200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiPoolWalletActivePurposeGet200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiPoolWalletActivePurposeGet200ResponseResponseObject}
34
+ * @memberof ApiPoolWalletActivePurposeGet200Response
35
+ */
36
+ responseObject?: ApiPoolWalletActivePurposeGet200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiPoolWalletActivePurposeGet200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiPoolWalletActivePurposeGet200Response interface.
46
+ */
47
+ export declare function instanceOfApiPoolWalletActivePurposeGet200Response(value: object): value is ApiPoolWalletActivePurposeGet200Response;
48
+ export declare function ApiPoolWalletActivePurposeGet200ResponseFromJSON(json: any): ApiPoolWalletActivePurposeGet200Response;
49
+ export declare function ApiPoolWalletActivePurposeGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPoolWalletActivePurposeGet200Response;
50
+ export declare function ApiPoolWalletActivePurposeGet200ResponseToJSON(json: any): ApiPoolWalletActivePurposeGet200Response;
51
+ export declare function ApiPoolWalletActivePurposeGet200ResponseToJSONTyped(value?: ApiPoolWalletActivePurposeGet200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSON, ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSON, } from './ApiPoolWalletActivePurposeGet200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiPoolWalletActivePurposeGet200Response interface.
17
+ */
18
+ export function instanceOfApiPoolWalletActivePurposeGet200Response(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiPoolWalletActivePurposeGet200ResponseFromJSON(json) {
28
+ return ApiPoolWalletActivePurposeGet200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiPoolWalletActivePurposeGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiPoolWalletActivePurposeGet200ResponseToJSON(json) {
42
+ return ApiPoolWalletActivePurposeGet200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiPoolWalletActivePurposeGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,62 @@
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 ApiPoolWalletActivePurposeGet200ResponseResponseObject
16
+ */
17
+ export interface ApiPoolWalletActivePurposeGet200ResponseResponseObject {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiPoolWalletActivePurposeGet200ResponseResponseObject
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiPoolWalletActivePurposeGet200ResponseResponseObject
28
+ */
29
+ address: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiPoolWalletActivePurposeGet200ResponseResponseObject
34
+ */
35
+ purpose: string;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof ApiPoolWalletActivePurposeGet200ResponseResponseObject
40
+ */
41
+ isActive: boolean;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof ApiPoolWalletActivePurposeGet200ResponseResponseObject
46
+ */
47
+ createdAt: Date;
48
+ /**
49
+ *
50
+ * @type {Date}
51
+ * @memberof ApiPoolWalletActivePurposeGet200ResponseResponseObject
52
+ */
53
+ updatedAt?: Date;
54
+ }
55
+ /**
56
+ * Check if a given object implements the ApiPoolWalletActivePurposeGet200ResponseResponseObject interface.
57
+ */
58
+ export declare function instanceOfApiPoolWalletActivePurposeGet200ResponseResponseObject(value: object): value is ApiPoolWalletActivePurposeGet200ResponseResponseObject;
59
+ export declare function ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSON(json: any): ApiPoolWalletActivePurposeGet200ResponseResponseObject;
60
+ export declare function ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPoolWalletActivePurposeGet200ResponseResponseObject;
61
+ export declare function ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSON(json: any): ApiPoolWalletActivePurposeGet200ResponseResponseObject;
62
+ export declare function ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSONTyped(value?: ApiPoolWalletActivePurposeGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApiPoolWalletActivePurposeGet200ResponseResponseObject interface.
16
+ */
17
+ export function instanceOfApiPoolWalletActivePurposeGet200ResponseResponseObject(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('address' in value) || value['address'] === undefined)
21
+ return false;
22
+ if (!('purpose' in value) || value['purpose'] === undefined)
23
+ return false;
24
+ if (!('isActive' in value) || value['isActive'] === undefined)
25
+ return false;
26
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ export function ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSON(json) {
31
+ return ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSONTyped(json, false);
32
+ }
33
+ export function ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'id': json['id'],
39
+ 'address': json['address'],
40
+ 'purpose': json['purpose'],
41
+ 'isActive': json['isActive'],
42
+ 'createdAt': (new Date(json['createdAt'])),
43
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
44
+ };
45
+ }
46
+ export function ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSON(json) {
47
+ return ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSONTyped(json, false);
48
+ }
49
+ export function ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'id': value['id'],
55
+ 'address': value['address'],
56
+ 'purpose': value['purpose'],
57
+ 'isActive': value['isActive'],
58
+ 'createdAt': ((value['createdAt']).toISOString()),
59
+ 'updatedAt': value['updatedAt'] == null ? undefined : ((value['updatedAt']).toISOString()),
60
+ };
61
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiPoolWalletActivePurposeGet200ResponseResponseObject } from './ApiPoolWalletActivePurposeGet200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiPoolWalletGet200Response
17
+ */
18
+ export interface ApiPoolWalletGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiPoolWalletGet200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiPoolWalletGet200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {Array<ApiPoolWalletActivePurposeGet200ResponseResponseObject>}
34
+ * @memberof ApiPoolWalletGet200Response
35
+ */
36
+ responseObject?: Array<ApiPoolWalletActivePurposeGet200ResponseResponseObject>;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiPoolWalletGet200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiPoolWalletGet200Response interface.
46
+ */
47
+ export declare function instanceOfApiPoolWalletGet200Response(value: object): value is ApiPoolWalletGet200Response;
48
+ export declare function ApiPoolWalletGet200ResponseFromJSON(json: any): ApiPoolWalletGet200Response;
49
+ export declare function ApiPoolWalletGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPoolWalletGet200Response;
50
+ export declare function ApiPoolWalletGet200ResponseToJSON(json: any): ApiPoolWalletGet200Response;
51
+ export declare function ApiPoolWalletGet200ResponseToJSONTyped(value?: ApiPoolWalletGet200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSON, ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSON, } from './ApiPoolWalletActivePurposeGet200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiPoolWalletGet200Response interface.
17
+ */
18
+ export function instanceOfApiPoolWalletGet200Response(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ if (!('message' in value) || value['message'] === undefined)
22
+ return false;
23
+ if (!('statusCode' in value) || value['statusCode'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiPoolWalletGet200ResponseFromJSON(json) {
28
+ return ApiPoolWalletGet200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiPoolWalletGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'responseObject': json['responseObject'] == null ? undefined : (json['responseObject'].map(ApiPoolWalletActivePurposeGet200ResponseResponseObjectFromJSON)),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiPoolWalletGet200ResponseToJSON(json) {
42
+ return ApiPoolWalletGet200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiPoolWalletGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': value['responseObject'] == null ? undefined : (value['responseObject'].map(ApiPoolWalletActivePurposeGet200ResponseResponseObjectToJSON)),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
13
+ import type { ApiGarudakuGameTopupsGetFilterParameterIsPopular } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ApiPoolWalletGetFilterParameter
18
+ */
19
+ export interface ApiPoolWalletGetFilterParameter {
20
+ /**
21
+ *
22
+ * @type {ApiGarudakuGameTopupsGetFilterParameterIsPopular}
23
+ * @memberof ApiPoolWalletGetFilterParameter
24
+ */
25
+ isActive?: ApiGarudakuGameTopupsGetFilterParameterIsPopular;
26
+ /**
27
+ *
28
+ * @type {ApiPadelMatchesGetFilterParameterName}
29
+ * @memberof ApiPoolWalletGetFilterParameter
30
+ */
31
+ purpose?: ApiPadelMatchesGetFilterParameterName;
32
+ }
33
+ /**
34
+ * Check if a given object implements the ApiPoolWalletGetFilterParameter interface.
35
+ */
36
+ export declare function instanceOfApiPoolWalletGetFilterParameter(value: object): value is ApiPoolWalletGetFilterParameter;
37
+ export declare function ApiPoolWalletGetFilterParameterFromJSON(json: any): ApiPoolWalletGetFilterParameter;
38
+ export declare function ApiPoolWalletGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPoolWalletGetFilterParameter;
39
+ export declare function ApiPoolWalletGetFilterParameterToJSON(json: any): ApiPoolWalletGetFilterParameter;
40
+ export declare function ApiPoolWalletGetFilterParameterToJSONTyped(value?: ApiPoolWalletGetFilterParameter | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiPadelMatchesGetFilterParameterNameFromJSON, ApiPadelMatchesGetFilterParameterNameToJSON, } from './ApiPadelMatchesGetFilterParameterName';
15
+ import { ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON, ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON, } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
16
+ /**
17
+ * Check if a given object implements the ApiPoolWalletGetFilterParameter interface.
18
+ */
19
+ export function instanceOfApiPoolWalletGetFilterParameter(value) {
20
+ return true;
21
+ }
22
+ export function ApiPoolWalletGetFilterParameterFromJSON(json) {
23
+ return ApiPoolWalletGetFilterParameterFromJSONTyped(json, false);
24
+ }
25
+ export function ApiPoolWalletGetFilterParameterFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'isActive': json['isActive'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json['isActive']),
31
+ 'purpose': json['purpose'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['purpose']),
32
+ };
33
+ }
34
+ export function ApiPoolWalletGetFilterParameterToJSON(json) {
35
+ return ApiPoolWalletGetFilterParameterToJSONTyped(json, false);
36
+ }
37
+ export function ApiPoolWalletGetFilterParameterToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'isActive': ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(value['isActive']),
43
+ 'purpose': ApiPadelMatchesGetFilterParameterNameToJSON(value['purpose']),
44
+ };
45
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiPoolWalletIdPutRequest
16
+ */
17
+ export interface ApiPoolWalletIdPutRequest {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof ApiPoolWalletIdPutRequest
22
+ */
23
+ isActive?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiPoolWalletIdPutRequest
28
+ */
29
+ purpose?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ApiPoolWalletIdPutRequest interface.
33
+ */
34
+ export declare function instanceOfApiPoolWalletIdPutRequest(value: object): value is ApiPoolWalletIdPutRequest;
35
+ export declare function ApiPoolWalletIdPutRequestFromJSON(json: any): ApiPoolWalletIdPutRequest;
36
+ export declare function ApiPoolWalletIdPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPoolWalletIdPutRequest;
37
+ export declare function ApiPoolWalletIdPutRequestToJSON(json: any): ApiPoolWalletIdPutRequest;
38
+ export declare function ApiPoolWalletIdPutRequestToJSONTyped(value?: ApiPoolWalletIdPutRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApiPoolWalletIdPutRequest interface.
16
+ */
17
+ export function instanceOfApiPoolWalletIdPutRequest(value) {
18
+ return true;
19
+ }
20
+ export function ApiPoolWalletIdPutRequestFromJSON(json) {
21
+ return ApiPoolWalletIdPutRequestFromJSONTyped(json, false);
22
+ }
23
+ export function ApiPoolWalletIdPutRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'isActive': json['isActive'] == null ? undefined : json['isActive'],
29
+ 'purpose': json['purpose'] == null ? undefined : json['purpose'],
30
+ };
31
+ }
32
+ export function ApiPoolWalletIdPutRequestToJSON(json) {
33
+ return ApiPoolWalletIdPutRequestToJSONTyped(json, false);
34
+ }
35
+ export function ApiPoolWalletIdPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'isActive': value['isActive'],
41
+ 'purpose': value['purpose'],
42
+ };
43
+ }
@@ -0,0 +1,46 @@
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 ApiWeb3AdminSwapIdActionPutRequest
16
+ */
17
+ export interface ApiWeb3AdminSwapIdActionPutRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiWeb3AdminSwapIdActionPutRequest
22
+ */
23
+ action: ApiWeb3AdminSwapIdActionPutRequestActionEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiWeb3AdminSwapIdActionPutRequest
28
+ */
29
+ remarks?: string | null;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const ApiWeb3AdminSwapIdActionPutRequestActionEnum: {
35
+ readonly Approved: "APPROVED";
36
+ readonly Rejected: "REJECTED";
37
+ };
38
+ export type ApiWeb3AdminSwapIdActionPutRequestActionEnum = typeof ApiWeb3AdminSwapIdActionPutRequestActionEnum[keyof typeof ApiWeb3AdminSwapIdActionPutRequestActionEnum];
39
+ /**
40
+ * Check if a given object implements the ApiWeb3AdminSwapIdActionPutRequest interface.
41
+ */
42
+ export declare function instanceOfApiWeb3AdminSwapIdActionPutRequest(value: object): value is ApiWeb3AdminSwapIdActionPutRequest;
43
+ export declare function ApiWeb3AdminSwapIdActionPutRequestFromJSON(json: any): ApiWeb3AdminSwapIdActionPutRequest;
44
+ export declare function ApiWeb3AdminSwapIdActionPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWeb3AdminSwapIdActionPutRequest;
45
+ export declare function ApiWeb3AdminSwapIdActionPutRequestToJSON(json: any): ApiWeb3AdminSwapIdActionPutRequest;
46
+ export declare function ApiWeb3AdminSwapIdActionPutRequestToJSONTyped(value?: ApiWeb3AdminSwapIdActionPutRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DRX API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const ApiWeb3AdminSwapIdActionPutRequestActionEnum = {
18
+ Approved: 'APPROVED',
19
+ Rejected: 'REJECTED'
20
+ };
21
+ /**
22
+ * Check if a given object implements the ApiWeb3AdminSwapIdActionPutRequest interface.
23
+ */
24
+ export function instanceOfApiWeb3AdminSwapIdActionPutRequest(value) {
25
+ if (!('action' in value) || value['action'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function ApiWeb3AdminSwapIdActionPutRequestFromJSON(json) {
30
+ return ApiWeb3AdminSwapIdActionPutRequestFromJSONTyped(json, false);
31
+ }
32
+ export function ApiWeb3AdminSwapIdActionPutRequestFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'action': json['action'],
38
+ 'remarks': json['remarks'] == null ? undefined : json['remarks'],
39
+ };
40
+ }
41
+ export function ApiWeb3AdminSwapIdActionPutRequestToJSON(json) {
42
+ return ApiWeb3AdminSwapIdActionPutRequestToJSONTyped(json, false);
43
+ }
44
+ export function ApiWeb3AdminSwapIdActionPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'action': value['action'],
50
+ 'remarks': value['remarks'],
51
+ };
52
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * DRX API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ApiWeb3SwapGet200ResponseResponseObject } from './ApiWeb3SwapGet200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiWeb3SwapGet200Response
17
+ */
18
+ export interface ApiWeb3SwapGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiWeb3SwapGet200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiWeb3SwapGet200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiWeb3SwapGet200ResponseResponseObject}
34
+ * @memberof ApiWeb3SwapGet200Response
35
+ */
36
+ responseObject?: ApiWeb3SwapGet200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiWeb3SwapGet200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiWeb3SwapGet200Response interface.
46
+ */
47
+ export declare function instanceOfApiWeb3SwapGet200Response(value: object): value is ApiWeb3SwapGet200Response;
48
+ export declare function ApiWeb3SwapGet200ResponseFromJSON(json: any): ApiWeb3SwapGet200Response;
49
+ export declare function ApiWeb3SwapGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWeb3SwapGet200Response;
50
+ export declare function ApiWeb3SwapGet200ResponseToJSON(json: any): ApiWeb3SwapGet200Response;
51
+ export declare function ApiWeb3SwapGet200ResponseToJSONTyped(value?: ApiWeb3SwapGet200Response | null, ignoreDiscriminator?: boolean): any;