@drxsuperapp/sdk 1.1.363 → 1.1.372
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 +10 -0
- package/apis/FeatureApi.ts +216 -0
- package/apis/PublicRewardApi.ts +29 -3
- package/apis/RedemptionApi.ts +121 -0
- package/apis/RewardManagementApi.ts +29 -3
- package/apis/index.ts +1 -0
- package/deploy.log +34 -7
- package/dist/apis/FeatureApi.d.ts +59 -0
- package/dist/apis/FeatureApi.js +151 -0
- package/dist/apis/PublicRewardApi.d.ts +9 -3
- package/dist/apis/PublicRewardApi.js +15 -3
- package/dist/apis/RedemptionApi.d.ts +31 -1
- package/dist/apis/RedemptionApi.js +84 -1
- package/dist/apis/RewardManagementApi.d.ts +9 -3
- package/dist/apis/RewardManagementApi.js +15 -3
- 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/ApiWeb3RedemptionIdActionPutRequest.d.ts +53 -0
- package/dist/models/ApiWeb3RedemptionIdActionPutRequest.js +55 -0
- package/dist/models/ApiWeb3RewardGetFilterParameter.d.ts +33 -0
- package/dist/models/ApiWeb3RewardGetFilterParameter.js +42 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -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/ApiWeb3RedemptionIdActionPutRequest.ts +94 -0
- package/models/ApiWeb3RewardGetFilterParameter.ts +73 -0
- package/models/index.ts +9 -0
- package/package.json +1 -1
package/dist/apis/index.js
CHANGED
|
@@ -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 { ApiFeatureGet200ResponseResponseObjectInner } from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiFeatureGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiFeatureGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiFeatureGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiFeatureGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<ApiFeatureGet200ResponseResponseObjectInner>}
|
|
34
|
+
* @memberof ApiFeatureGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: Array<ApiFeatureGet200ResponseResponseObjectInner>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiFeatureGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiFeatureGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiFeatureGet200Response(value: object): value is ApiFeatureGet200Response;
|
|
48
|
+
export declare function ApiFeatureGet200ResponseFromJSON(json: any): ApiFeatureGet200Response;
|
|
49
|
+
export declare function ApiFeatureGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGet200Response;
|
|
50
|
+
export declare function ApiFeatureGet200ResponseToJSON(json: any): ApiFeatureGet200Response;
|
|
51
|
+
export declare function ApiFeatureGet200ResponseToJSONTyped(value?: ApiFeatureGet200Response | 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 { ApiFeatureGet200ResponseResponseObjectInnerFromJSON, ApiFeatureGet200ResponseResponseObjectInnerToJSON, } from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiFeatureGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiFeatureGet200Response(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 ApiFeatureGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiFeatureGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiFeatureGet200ResponseFromJSONTyped(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(ApiFeatureGet200ResponseResponseObjectInnerFromJSON)),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiFeatureGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiFeatureGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiFeatureGet200ResponseToJSONTyped(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(ApiFeatureGet200ResponseResponseObjectInnerToJSON)),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 { ApiFeatureGet200ResponseResponseObjectInnerNavigate } from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiFeatureGet200ResponseResponseObjectInner
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiFeatureGet200ResponseResponseObjectInner {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
29
|
+
*/
|
|
30
|
+
image_url: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
35
|
+
*/
|
|
36
|
+
label: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
41
|
+
*/
|
|
42
|
+
url?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
47
|
+
*/
|
|
48
|
+
requireLogin?: boolean | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
53
|
+
*/
|
|
54
|
+
sequence: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ApiFeatureGet200ResponseResponseObjectInnerNavigate}
|
|
58
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInner
|
|
59
|
+
*/
|
|
60
|
+
Navigate?: ApiFeatureGet200ResponseResponseObjectInnerNavigate | null;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ApiFeatureGet200ResponseResponseObjectInner interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfApiFeatureGet200ResponseResponseObjectInner(value: object): value is ApiFeatureGet200ResponseResponseObjectInner;
|
|
66
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerFromJSON(json: any): ApiFeatureGet200ResponseResponseObjectInner;
|
|
67
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGet200ResponseResponseObjectInner;
|
|
68
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerToJSON(json: any): ApiFeatureGet200ResponseResponseObjectInner;
|
|
69
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerToJSONTyped(value?: ApiFeatureGet200ResponseResponseObjectInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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 { ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON, ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON, } from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiFeatureGet200ResponseResponseObjectInner interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiFeatureGet200ResponseResponseObjectInner(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('image_url' in value) || value['image_url'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('sequence' in value) || value['sequence'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerFromJSON(json) {
|
|
30
|
+
return ApiFeatureGet200ResponseResponseObjectInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'image_url': json['image_url'],
|
|
39
|
+
'label': json['label'],
|
|
40
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
41
|
+
'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
|
|
42
|
+
'sequence': json['sequence'],
|
|
43
|
+
'Navigate': json['Navigate'] == null ? undefined : ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON(json['Navigate']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerToJSON(json) {
|
|
47
|
+
return ApiFeatureGet200ResponseResponseObjectInnerToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'image_url': value['image_url'],
|
|
56
|
+
'label': value['label'],
|
|
57
|
+
'url': value['url'],
|
|
58
|
+
'requireLogin': value['requireLogin'],
|
|
59
|
+
'sequence': value['sequence'],
|
|
60
|
+
'Navigate': ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON(value['Navigate']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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 ApiFeatureGet200ResponseResponseObjectInnerNavigate
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiFeatureGet200ResponseResponseObjectInnerNavigate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
|
|
28
|
+
*/
|
|
29
|
+
screen: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any | null; }}
|
|
33
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
|
|
34
|
+
*/
|
|
35
|
+
params?: {
|
|
36
|
+
[key: string]: any | null;
|
|
37
|
+
} | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
|
|
42
|
+
*/
|
|
43
|
+
requireLogin?: boolean | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the ApiFeatureGet200ResponseResponseObjectInnerNavigate interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfApiFeatureGet200ResponseResponseObjectInnerNavigate(value: object): value is ApiFeatureGet200ResponseResponseObjectInnerNavigate;
|
|
49
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON(json: any): ApiFeatureGet200ResponseResponseObjectInnerNavigate;
|
|
50
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGet200ResponseResponseObjectInnerNavigate;
|
|
51
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON(json: any): ApiFeatureGet200ResponseResponseObjectInnerNavigate;
|
|
52
|
+
export declare function ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSONTyped(value?: ApiFeatureGet200ResponseResponseObjectInnerNavigate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ApiFeatureGet200ResponseResponseObjectInnerNavigate interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiFeatureGet200ResponseResponseObjectInnerNavigate(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('screen' in value) || value['screen'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON(json) {
|
|
25
|
+
return ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'],
|
|
33
|
+
'screen': json['screen'],
|
|
34
|
+
'params': json['params'] == null ? undefined : json['params'],
|
|
35
|
+
'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON(json) {
|
|
39
|
+
return ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': value['id'],
|
|
47
|
+
'screen': value['screen'],
|
|
48
|
+
'params': value['params'],
|
|
49
|
+
'requireLogin': value['requireLogin'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 { ApiFeatureGet200ResponseResponseObjectInner } from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiFeaturePut200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiFeaturePut200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiFeaturePut200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiFeaturePut200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiFeatureGet200ResponseResponseObjectInner}
|
|
34
|
+
* @memberof ApiFeaturePut200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiFeatureGet200ResponseResponseObjectInner;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiFeaturePut200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiFeaturePut200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiFeaturePut200Response(value: object): value is ApiFeaturePut200Response;
|
|
48
|
+
export declare function ApiFeaturePut200ResponseFromJSON(json: any): ApiFeaturePut200Response;
|
|
49
|
+
export declare function ApiFeaturePut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeaturePut200Response;
|
|
50
|
+
export declare function ApiFeaturePut200ResponseToJSON(json: any): ApiFeaturePut200Response;
|
|
51
|
+
export declare function ApiFeaturePut200ResponseToJSONTyped(value?: ApiFeaturePut200Response | 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 { ApiFeatureGet200ResponseResponseObjectInnerFromJSON, ApiFeatureGet200ResponseResponseObjectInnerToJSON, } from './ApiFeatureGet200ResponseResponseObjectInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiFeaturePut200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiFeaturePut200Response(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 ApiFeaturePut200ResponseFromJSON(json) {
|
|
28
|
+
return ApiFeaturePut200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiFeaturePut200ResponseFromJSONTyped(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 : ApiFeatureGet200ResponseResponseObjectInnerFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiFeaturePut200ResponseToJSON(json) {
|
|
42
|
+
return ApiFeaturePut200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiFeaturePut200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiFeatureGet200ResponseResponseObjectInnerToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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;
|