@drxsuperapp/sdk 1.1.362 → 1.1.371
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +9 -0
- package/apis/FeatureApi.ts +216 -0
- package/apis/RedemptionApi.ts +121 -0
- package/apis/index.ts +1 -0
- package/deploy.log +343 -9
- package/dist/apis/FeatureApi.d.ts +59 -0
- package/dist/apis/FeatureApi.js +151 -0
- package/dist/apis/RedemptionApi.d.ts +31 -1
- package/dist/apis/RedemptionApi.js +84 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApiFeatureGet200Response.d.ts +51 -0
- package/dist/models/ApiFeatureGet200Response.js +54 -0
- package/dist/models/ApiFeatureGet200ResponseResponseObjectInner.d.ts +69 -0
- package/dist/models/ApiFeatureGet200ResponseResponseObjectInner.js +62 -0
- package/dist/models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.d.ts +52 -0
- package/dist/models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.js +51 -0
- package/dist/models/ApiFeaturePut200Response.d.ts +51 -0
- package/dist/models/ApiFeaturePut200Response.js +54 -0
- package/dist/models/ApiFeaturePutRequest.d.ts +69 -0
- package/dist/models/ApiFeaturePutRequest.js +60 -0
- package/dist/models/ApiFeaturePutRequestNavigate.d.ts +52 -0
- package/dist/models/ApiFeaturePutRequestNavigate.js +49 -0
- package/dist/models/ApiFeatureSwitchPutRequest.d.ts +46 -0
- package/dist/models/ApiFeatureSwitchPutRequest.js +54 -0
- package/dist/models/ApiWeb3RedemptionGetFilterParameter.d.ts +7 -0
- package/dist/models/ApiWeb3RedemptionGetFilterParameter.js +3 -0
- package/dist/models/ApiWeb3RedemptionIdActionPutRequest.d.ts +53 -0
- package/dist/models/ApiWeb3RedemptionIdActionPutRequest.js +55 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/models/ApiFeatureGet200Response.ts +100 -0
- package/models/ApiFeatureGet200ResponseResponseObjectInner.ts +125 -0
- package/models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.ts +91 -0
- package/models/ApiFeaturePut200Response.ts +100 -0
- package/models/ApiFeaturePutRequest.ts +124 -0
- package/models/ApiFeaturePutRequestNavigate.ts +90 -0
- package/models/ApiFeatureSwitchPutRequest.ts +86 -0
- package/models/ApiWeb3RedemptionGetFilterParameter.ts +15 -0
- package/models/ApiWeb3RedemptionIdActionPutRequest.ts +94 -0
- package/models/index.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,69 @@
|
|
|
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 { ApiFeaturePutRequestNavigate } from './ApiFeaturePutRequestNavigate';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiFeaturePutRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiFeaturePutRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiFeaturePutRequest
|
|
23
|
+
*/
|
|
24
|
+
id?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiFeaturePutRequest
|
|
29
|
+
*/
|
|
30
|
+
image_url: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ApiFeaturePutRequest
|
|
35
|
+
*/
|
|
36
|
+
label: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApiFeaturePutRequest
|
|
41
|
+
*/
|
|
42
|
+
url?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ApiFeaturePutRequest
|
|
47
|
+
*/
|
|
48
|
+
requireLogin?: boolean | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ApiFeaturePutRequest
|
|
53
|
+
*/
|
|
54
|
+
sequence: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ApiFeaturePutRequestNavigate}
|
|
58
|
+
* @memberof ApiFeaturePutRequest
|
|
59
|
+
*/
|
|
60
|
+
Navigate?: ApiFeaturePutRequestNavigate | null;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ApiFeaturePutRequest interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfApiFeaturePutRequest(value: object): value is ApiFeaturePutRequest;
|
|
66
|
+
export declare function ApiFeaturePutRequestFromJSON(json: any): ApiFeaturePutRequest;
|
|
67
|
+
export declare function ApiFeaturePutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeaturePutRequest;
|
|
68
|
+
export declare function ApiFeaturePutRequestToJSON(json: any): ApiFeaturePutRequest;
|
|
69
|
+
export declare function ApiFeaturePutRequestToJSONTyped(value?: ApiFeaturePutRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { ApiFeaturePutRequestNavigateFromJSON, ApiFeaturePutRequestNavigateToJSON, } from './ApiFeaturePutRequestNavigate';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiFeaturePutRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiFeaturePutRequest(value) {
|
|
19
|
+
if (!('image_url' in value) || value['image_url'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('sequence' in value) || value['sequence'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiFeaturePutRequestFromJSON(json) {
|
|
28
|
+
return ApiFeaturePutRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiFeaturePutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'image_url': json['image_url'],
|
|
37
|
+
'label': json['label'],
|
|
38
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
39
|
+
'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
|
|
40
|
+
'sequence': json['sequence'],
|
|
41
|
+
'Navigate': json['Navigate'] == null ? undefined : ApiFeaturePutRequestNavigateFromJSON(json['Navigate']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ApiFeaturePutRequestToJSON(json) {
|
|
45
|
+
return ApiFeaturePutRequestToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ApiFeaturePutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': value['id'],
|
|
53
|
+
'image_url': value['image_url'],
|
|
54
|
+
'label': value['label'],
|
|
55
|
+
'url': value['url'],
|
|
56
|
+
'requireLogin': value['requireLogin'],
|
|
57
|
+
'sequence': value['sequence'],
|
|
58
|
+
'Navigate': ApiFeaturePutRequestNavigateToJSON(value['Navigate']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 ApiFeaturePutRequestNavigate
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiFeaturePutRequestNavigate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiFeaturePutRequestNavigate
|
|
22
|
+
*/
|
|
23
|
+
id?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiFeaturePutRequestNavigate
|
|
28
|
+
*/
|
|
29
|
+
screen: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any | null; }}
|
|
33
|
+
* @memberof ApiFeaturePutRequestNavigate
|
|
34
|
+
*/
|
|
35
|
+
params?: {
|
|
36
|
+
[key: string]: any | null;
|
|
37
|
+
} | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ApiFeaturePutRequestNavigate
|
|
42
|
+
*/
|
|
43
|
+
requireLogin?: boolean | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ApiFeaturePutRequestNavigate interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfApiFeaturePutRequestNavigate(value: object): value is ApiFeaturePutRequestNavigate;
|
|
49
|
+
export declare function ApiFeaturePutRequestNavigateFromJSON(json: any): ApiFeaturePutRequestNavigate;
|
|
50
|
+
export declare function ApiFeaturePutRequestNavigateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeaturePutRequestNavigate;
|
|
51
|
+
export declare function ApiFeaturePutRequestNavigateToJSON(json: any): ApiFeaturePutRequestNavigate;
|
|
52
|
+
export declare function ApiFeaturePutRequestNavigateToJSONTyped(value?: ApiFeaturePutRequestNavigate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 ApiFeaturePutRequestNavigate interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiFeaturePutRequestNavigate(value) {
|
|
18
|
+
if (!('screen' in value) || value['screen'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiFeaturePutRequestNavigateFromJSON(json) {
|
|
23
|
+
return ApiFeaturePutRequestNavigateFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiFeaturePutRequestNavigateFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
31
|
+
'screen': json['screen'],
|
|
32
|
+
'params': json['params'] == null ? undefined : json['params'],
|
|
33
|
+
'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiFeaturePutRequestNavigateToJSON(json) {
|
|
37
|
+
return ApiFeaturePutRequestNavigateToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiFeaturePutRequestNavigateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value['id'],
|
|
45
|
+
'screen': value['screen'],
|
|
46
|
+
'params': value['params'],
|
|
47
|
+
'requireLogin': value['requireLogin'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -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 ApiFeatureSwitchPutRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiFeatureSwitchPutRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiFeatureSwitchPutRequest
|
|
22
|
+
*/
|
|
23
|
+
feature_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiFeatureSwitchPutRequest
|
|
28
|
+
*/
|
|
29
|
+
action: ApiFeatureSwitchPutRequestActionEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const ApiFeatureSwitchPutRequestActionEnum: {
|
|
35
|
+
readonly Up: "UP";
|
|
36
|
+
readonly Down: "DOWN";
|
|
37
|
+
};
|
|
38
|
+
export type ApiFeatureSwitchPutRequestActionEnum = typeof ApiFeatureSwitchPutRequestActionEnum[keyof typeof ApiFeatureSwitchPutRequestActionEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ApiFeatureSwitchPutRequest interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfApiFeatureSwitchPutRequest(value: object): value is ApiFeatureSwitchPutRequest;
|
|
43
|
+
export declare function ApiFeatureSwitchPutRequestFromJSON(json: any): ApiFeatureSwitchPutRequest;
|
|
44
|
+
export declare function ApiFeatureSwitchPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureSwitchPutRequest;
|
|
45
|
+
export declare function ApiFeatureSwitchPutRequestToJSON(json: any): ApiFeatureSwitchPutRequest;
|
|
46
|
+
export declare function ApiFeatureSwitchPutRequestToJSONTyped(value?: ApiFeatureSwitchPutRequest | 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
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ApiFeatureSwitchPutRequestActionEnum = {
|
|
18
|
+
Up: 'UP',
|
|
19
|
+
Down: 'DOWN'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiFeatureSwitchPutRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfApiFeatureSwitchPutRequest(value) {
|
|
25
|
+
if (!('feature_id' in value) || value['feature_id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function ApiFeatureSwitchPutRequestFromJSON(json) {
|
|
32
|
+
return ApiFeatureSwitchPutRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ApiFeatureSwitchPutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'feature_id': json['feature_id'],
|
|
40
|
+
'action': json['action'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function ApiFeatureSwitchPutRequestToJSON(json) {
|
|
44
|
+
return ApiFeatureSwitchPutRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ApiFeatureSwitchPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'feature_id': value['feature_id'],
|
|
52
|
+
'action': value['action'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
13
|
+
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -28,6 +29,12 @@ export interface ApiWeb3RedemptionGetFilterParameter {
|
|
|
28
29
|
* @memberof ApiWeb3RedemptionGetFilterParameter
|
|
29
30
|
*/
|
|
30
31
|
txHash?: ApiPadelMatchesGetFilterParameterName;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
35
|
+
* @memberof ApiWeb3RedemptionGetFilterParameter
|
|
36
|
+
*/
|
|
37
|
+
createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
31
38
|
}
|
|
32
39
|
/**
|
|
33
40
|
* Check if a given object implements the ApiWeb3RedemptionGetFilterParameter interface.
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { ApiPadelMatchesGetFilterParameterNameFromJSON, ApiPadelMatchesGetFilterParameterNameToJSON, } from './ApiPadelMatchesGetFilterParameterName';
|
|
15
|
+
import { ApiPadelMatchesGetFilterParameterPlayedAtFromJSON, ApiPadelMatchesGetFilterParameterPlayedAtToJSON, } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the ApiWeb3RedemptionGetFilterParameter interface.
|
|
17
18
|
*/
|
|
@@ -28,6 +29,7 @@ export function ApiWeb3RedemptionGetFilterParameterFromJSONTyped(json, ignoreDis
|
|
|
28
29
|
return {
|
|
29
30
|
'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
|
|
30
31
|
'txHash': json['txHash'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['txHash']),
|
|
32
|
+
'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
export function ApiWeb3RedemptionGetFilterParameterToJSON(json) {
|
|
@@ -40,5 +42,6 @@ export function ApiWeb3RedemptionGetFilterParameterToJSONTyped(value, ignoreDisc
|
|
|
40
42
|
return {
|
|
41
43
|
'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
|
|
42
44
|
'txHash': ApiPadelMatchesGetFilterParameterNameToJSON(value['txHash']),
|
|
45
|
+
'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
43
46
|
};
|
|
44
47
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 ApiWeb3RedemptionIdActionPutRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiWeb3RedemptionIdActionPutRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiWeb3RedemptionIdActionPutRequest
|
|
22
|
+
*/
|
|
23
|
+
action: ApiWeb3RedemptionIdActionPutRequestActionEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiWeb3RedemptionIdActionPutRequest
|
|
28
|
+
*/
|
|
29
|
+
remarkUser?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiWeb3RedemptionIdActionPutRequest
|
|
34
|
+
*/
|
|
35
|
+
to_send?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const ApiWeb3RedemptionIdActionPutRequestActionEnum: {
|
|
41
|
+
readonly Approved: "APPROVED";
|
|
42
|
+
readonly Rejected: "REJECTED";
|
|
43
|
+
readonly Completed: "COMPLETED";
|
|
44
|
+
};
|
|
45
|
+
export type ApiWeb3RedemptionIdActionPutRequestActionEnum = typeof ApiWeb3RedemptionIdActionPutRequestActionEnum[keyof typeof ApiWeb3RedemptionIdActionPutRequestActionEnum];
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the ApiWeb3RedemptionIdActionPutRequest interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfApiWeb3RedemptionIdActionPutRequest(value: object): value is ApiWeb3RedemptionIdActionPutRequest;
|
|
50
|
+
export declare function ApiWeb3RedemptionIdActionPutRequestFromJSON(json: any): ApiWeb3RedemptionIdActionPutRequest;
|
|
51
|
+
export declare function ApiWeb3RedemptionIdActionPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiWeb3RedemptionIdActionPutRequest;
|
|
52
|
+
export declare function ApiWeb3RedemptionIdActionPutRequestToJSON(json: any): ApiWeb3RedemptionIdActionPutRequest;
|
|
53
|
+
export declare function ApiWeb3RedemptionIdActionPutRequestToJSONTyped(value?: ApiWeb3RedemptionIdActionPutRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 ApiWeb3RedemptionIdActionPutRequestActionEnum = {
|
|
18
|
+
Approved: 'APPROVED',
|
|
19
|
+
Rejected: 'REJECTED',
|
|
20
|
+
Completed: 'COMPLETED'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiWeb3RedemptionIdActionPutRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfApiWeb3RedemptionIdActionPutRequest(value) {
|
|
26
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ApiWeb3RedemptionIdActionPutRequestFromJSON(json) {
|
|
31
|
+
return ApiWeb3RedemptionIdActionPutRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ApiWeb3RedemptionIdActionPutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'action': json['action'],
|
|
39
|
+
'remarkUser': json['remarkUser'] == null ? undefined : json['remarkUser'],
|
|
40
|
+
'to_send': json['to_send'] == null ? undefined : json['to_send'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function ApiWeb3RedemptionIdActionPutRequestToJSON(json) {
|
|
44
|
+
return ApiWeb3RedemptionIdActionPutRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ApiWeb3RedemptionIdActionPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'action': value['action'],
|
|
52
|
+
'remarkUser': value['remarkUser'],
|
|
53
|
+
'to_send': value['to_send'],
|
|
54
|
+
};
|
|
55
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -74,6 +74,13 @@ export * from './ApiEsportTournamentsGetFilterParameter';
|
|
|
74
74
|
export * from './ApiEsportTournamentsIdGet200Response';
|
|
75
75
|
export * from './ApiEsportVideogamesGet200Response';
|
|
76
76
|
export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
77
|
+
export * from './ApiFeatureGet200Response';
|
|
78
|
+
export * from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
79
|
+
export * from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
80
|
+
export * from './ApiFeaturePut200Response';
|
|
81
|
+
export * from './ApiFeaturePutRequest';
|
|
82
|
+
export * from './ApiFeaturePutRequestNavigate';
|
|
83
|
+
export * from './ApiFeatureSwitchPutRequest';
|
|
77
84
|
export * from './ApiGarudakuGameTopupsGet200Response';
|
|
78
85
|
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
|
|
79
86
|
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
@@ -254,6 +261,7 @@ export * from './ApiWeb3RedemptionGet200ResponseResponseObject';
|
|
|
254
261
|
export * from './ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner';
|
|
255
262
|
export * from './ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerReward';
|
|
256
263
|
export * from './ApiWeb3RedemptionGetFilterParameter';
|
|
264
|
+
export * from './ApiWeb3RedemptionIdActionPutRequest';
|
|
257
265
|
export * from './ApiWeb3RedemptionIdGet200Response';
|
|
258
266
|
export * from './ApiWeb3RedemptionIdGet200ResponseResponseObject';
|
|
259
267
|
export * from './ApiWeb3RedemptionIdGet200ResponseResponseObjectReward';
|
package/dist/models/index.js
CHANGED
|
@@ -76,6 +76,13 @@ export * from './ApiEsportTournamentsGetFilterParameter';
|
|
|
76
76
|
export * from './ApiEsportTournamentsIdGet200Response';
|
|
77
77
|
export * from './ApiEsportVideogamesGet200Response';
|
|
78
78
|
export * from './ApiEsportVideogamesGet200ResponseResponseObjectInner';
|
|
79
|
+
export * from './ApiFeatureGet200Response';
|
|
80
|
+
export * from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
81
|
+
export * from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
82
|
+
export * from './ApiFeaturePut200Response';
|
|
83
|
+
export * from './ApiFeaturePutRequest';
|
|
84
|
+
export * from './ApiFeaturePutRequestNavigate';
|
|
85
|
+
export * from './ApiFeatureSwitchPutRequest';
|
|
79
86
|
export * from './ApiGarudakuGameTopupsGet200Response';
|
|
80
87
|
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObject';
|
|
81
88
|
export * from './ApiGarudakuGameTopupsGet200ResponseResponseObjectItemsInner';
|
|
@@ -256,6 +263,7 @@ export * from './ApiWeb3RedemptionGet200ResponseResponseObject';
|
|
|
256
263
|
export * from './ApiWeb3RedemptionGet200ResponseResponseObjectItemsInner';
|
|
257
264
|
export * from './ApiWeb3RedemptionGet200ResponseResponseObjectItemsInnerReward';
|
|
258
265
|
export * from './ApiWeb3RedemptionGetFilterParameter';
|
|
266
|
+
export * from './ApiWeb3RedemptionIdActionPutRequest';
|
|
259
267
|
export * from './ApiWeb3RedemptionIdGet200Response';
|
|
260
268
|
export * from './ApiWeb3RedemptionIdGet200ResponseResponseObject';
|
|
261
269
|
export * from './ApiWeb3RedemptionIdGet200ResponseResponseObjectReward';
|
|
@@ -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 { ApiFeatureGet200ResponseResponseObjectInner } from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiFeatureGet200ResponseResponseObjectInnerFromJSON,
|
|
19
|
+
ApiFeatureGet200ResponseResponseObjectInnerFromJSONTyped,
|
|
20
|
+
ApiFeatureGet200ResponseResponseObjectInnerToJSON,
|
|
21
|
+
ApiFeatureGet200ResponseResponseObjectInnerToJSONTyped,
|
|
22
|
+
} from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiFeatureGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiFeatureGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiFeatureGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiFeatureGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ApiFeatureGet200ResponseResponseObjectInner>}
|
|
45
|
+
* @memberof ApiFeatureGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: Array<ApiFeatureGet200ResponseResponseObjectInner>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiFeatureGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiFeatureGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiFeatureGet200Response(value: object): value is ApiFeatureGet200Response {
|
|
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 ApiFeatureGet200ResponseFromJSON(json: any): ApiFeatureGet200Response {
|
|
67
|
+
return ApiFeatureGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiFeatureGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGet200Response {
|
|
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 : ((json['responseObject'] as Array<any>).map(ApiFeatureGet200ResponseResponseObjectInnerFromJSON)),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiFeatureGet200ResponseToJSON(json: any): ApiFeatureGet200Response {
|
|
84
|
+
return ApiFeatureGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiFeatureGet200ResponseToJSONTyped(value?: ApiFeatureGet200Response | 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': value['responseObject'] == null ? undefined : ((value['responseObject'] as Array<any>).map(ApiFeatureGet200ResponseResponseObjectInnerToJSON)),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|