@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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/apis/FeatureApi.ts +216 -0
  3. package/apis/RedemptionApi.ts +121 -0
  4. package/apis/index.ts +1 -0
  5. package/deploy.log +343 -9
  6. package/dist/apis/FeatureApi.d.ts +59 -0
  7. package/dist/apis/FeatureApi.js +151 -0
  8. package/dist/apis/RedemptionApi.d.ts +31 -1
  9. package/dist/apis/RedemptionApi.js +84 -1
  10. package/dist/apis/index.d.ts +1 -0
  11. package/dist/apis/index.js +1 -0
  12. package/dist/models/ApiFeatureGet200Response.d.ts +51 -0
  13. package/dist/models/ApiFeatureGet200Response.js +54 -0
  14. package/dist/models/ApiFeatureGet200ResponseResponseObjectInner.d.ts +69 -0
  15. package/dist/models/ApiFeatureGet200ResponseResponseObjectInner.js +62 -0
  16. package/dist/models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.d.ts +52 -0
  17. package/dist/models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.js +51 -0
  18. package/dist/models/ApiFeaturePut200Response.d.ts +51 -0
  19. package/dist/models/ApiFeaturePut200Response.js +54 -0
  20. package/dist/models/ApiFeaturePutRequest.d.ts +69 -0
  21. package/dist/models/ApiFeaturePutRequest.js +60 -0
  22. package/dist/models/ApiFeaturePutRequestNavigate.d.ts +52 -0
  23. package/dist/models/ApiFeaturePutRequestNavigate.js +49 -0
  24. package/dist/models/ApiFeatureSwitchPutRequest.d.ts +46 -0
  25. package/dist/models/ApiFeatureSwitchPutRequest.js +54 -0
  26. package/dist/models/ApiWeb3RedemptionGetFilterParameter.d.ts +7 -0
  27. package/dist/models/ApiWeb3RedemptionGetFilterParameter.js +3 -0
  28. package/dist/models/ApiWeb3RedemptionIdActionPutRequest.d.ts +53 -0
  29. package/dist/models/ApiWeb3RedemptionIdActionPutRequest.js +55 -0
  30. package/dist/models/index.d.ts +8 -0
  31. package/dist/models/index.js +8 -0
  32. package/models/ApiFeatureGet200Response.ts +100 -0
  33. package/models/ApiFeatureGet200ResponseResponseObjectInner.ts +125 -0
  34. package/models/ApiFeatureGet200ResponseResponseObjectInnerNavigate.ts +91 -0
  35. package/models/ApiFeaturePut200Response.ts +100 -0
  36. package/models/ApiFeaturePutRequest.ts +124 -0
  37. package/models/ApiFeaturePutRequestNavigate.ts +90 -0
  38. package/models/ApiFeatureSwitchPutRequest.ts +86 -0
  39. package/models/ApiWeb3RedemptionGetFilterParameter.ts +15 -0
  40. package/models/ApiWeb3RedemptionIdActionPutRequest.ts +94 -0
  41. package/models/index.ts +8 -0
  42. package/package.json +1 -1
@@ -0,0 +1,125 @@
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 { ApiFeatureGet200ResponseResponseObjectInnerNavigate } from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
17
+ import {
18
+ ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON,
19
+ ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSONTyped,
20
+ ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON,
21
+ ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSONTyped,
22
+ } from './ApiFeatureGet200ResponseResponseObjectInnerNavigate';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiFeatureGet200ResponseResponseObjectInner
28
+ */
29
+ export interface ApiFeatureGet200ResponseResponseObjectInner {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
34
+ */
35
+ id: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
40
+ */
41
+ image_url: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
46
+ */
47
+ label: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
52
+ */
53
+ url?: string | null;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
58
+ */
59
+ requireLogin?: boolean | null;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
64
+ */
65
+ sequence: number;
66
+ /**
67
+ *
68
+ * @type {ApiFeatureGet200ResponseResponseObjectInnerNavigate}
69
+ * @memberof ApiFeatureGet200ResponseResponseObjectInner
70
+ */
71
+ Navigate?: ApiFeatureGet200ResponseResponseObjectInnerNavigate | null;
72
+ }
73
+
74
+ /**
75
+ * Check if a given object implements the ApiFeatureGet200ResponseResponseObjectInner interface.
76
+ */
77
+ export function instanceOfApiFeatureGet200ResponseResponseObjectInner(value: object): value is ApiFeatureGet200ResponseResponseObjectInner {
78
+ if (!('id' in value) || value['id'] === undefined) return false;
79
+ if (!('image_url' in value) || value['image_url'] === undefined) return false;
80
+ if (!('label' in value) || value['label'] === undefined) return false;
81
+ if (!('sequence' in value) || value['sequence'] === undefined) return false;
82
+ return true;
83
+ }
84
+
85
+ export function ApiFeatureGet200ResponseResponseObjectInnerFromJSON(json: any): ApiFeatureGet200ResponseResponseObjectInner {
86
+ return ApiFeatureGet200ResponseResponseObjectInnerFromJSONTyped(json, false);
87
+ }
88
+
89
+ export function ApiFeatureGet200ResponseResponseObjectInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGet200ResponseResponseObjectInner {
90
+ if (json == null) {
91
+ return json;
92
+ }
93
+ return {
94
+
95
+ 'id': json['id'],
96
+ 'image_url': json['image_url'],
97
+ 'label': json['label'],
98
+ 'url': json['url'] == null ? undefined : json['url'],
99
+ 'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
100
+ 'sequence': json['sequence'],
101
+ 'Navigate': json['Navigate'] == null ? undefined : ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON(json['Navigate']),
102
+ };
103
+ }
104
+
105
+ export function ApiFeatureGet200ResponseResponseObjectInnerToJSON(json: any): ApiFeatureGet200ResponseResponseObjectInner {
106
+ return ApiFeatureGet200ResponseResponseObjectInnerToJSONTyped(json, false);
107
+ }
108
+
109
+ export function ApiFeatureGet200ResponseResponseObjectInnerToJSONTyped(value?: ApiFeatureGet200ResponseResponseObjectInner | null, ignoreDiscriminator: boolean = false): any {
110
+ if (value == null) {
111
+ return value;
112
+ }
113
+
114
+ return {
115
+
116
+ 'id': value['id'],
117
+ 'image_url': value['image_url'],
118
+ 'label': value['label'],
119
+ 'url': value['url'],
120
+ 'requireLogin': value['requireLogin'],
121
+ 'sequence': value['sequence'],
122
+ 'Navigate': ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON(value['Navigate']),
123
+ };
124
+ }
125
+
@@ -0,0 +1,91 @@
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 ApiFeatureGet200ResponseResponseObjectInnerNavigate
20
+ */
21
+ export interface ApiFeatureGet200ResponseResponseObjectInnerNavigate {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
32
+ */
33
+ screen: string;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any | null; }}
37
+ * @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
38
+ */
39
+ params?: { [key: string]: any | null; } | null;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof ApiFeatureGet200ResponseResponseObjectInnerNavigate
44
+ */
45
+ requireLogin?: boolean | null;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the ApiFeatureGet200ResponseResponseObjectInnerNavigate interface.
50
+ */
51
+ export function instanceOfApiFeatureGet200ResponseResponseObjectInnerNavigate(value: object): value is ApiFeatureGet200ResponseResponseObjectInnerNavigate {
52
+ if (!('id' in value) || value['id'] === undefined) return false;
53
+ if (!('screen' in value) || value['screen'] === undefined) return false;
54
+ return true;
55
+ }
56
+
57
+ export function ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSON(json: any): ApiFeatureGet200ResponseResponseObjectInnerNavigate {
58
+ return ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSONTyped(json, false);
59
+ }
60
+
61
+ export function ApiFeatureGet200ResponseResponseObjectInnerNavigateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureGet200ResponseResponseObjectInnerNavigate {
62
+ if (json == null) {
63
+ return json;
64
+ }
65
+ return {
66
+
67
+ 'id': json['id'],
68
+ 'screen': json['screen'],
69
+ 'params': json['params'] == null ? undefined : json['params'],
70
+ 'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
71
+ };
72
+ }
73
+
74
+ export function ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSON(json: any): ApiFeatureGet200ResponseResponseObjectInnerNavigate {
75
+ return ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSONTyped(json, false);
76
+ }
77
+
78
+ export function ApiFeatureGet200ResponseResponseObjectInnerNavigateToJSONTyped(value?: ApiFeatureGet200ResponseResponseObjectInnerNavigate | null, ignoreDiscriminator: boolean = false): any {
79
+ if (value == null) {
80
+ return value;
81
+ }
82
+
83
+ return {
84
+
85
+ 'id': value['id'],
86
+ 'screen': value['screen'],
87
+ 'params': value['params'],
88
+ 'requireLogin': value['requireLogin'],
89
+ };
90
+ }
91
+
@@ -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 ApiFeaturePut200Response
28
+ */
29
+ export interface ApiFeaturePut200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiFeaturePut200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiFeaturePut200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiFeatureGet200ResponseResponseObjectInner}
45
+ * @memberof ApiFeaturePut200Response
46
+ */
47
+ responseObject?: ApiFeatureGet200ResponseResponseObjectInner;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiFeaturePut200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiFeaturePut200Response interface.
58
+ */
59
+ export function instanceOfApiFeaturePut200Response(value: object): value is ApiFeaturePut200Response {
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 ApiFeaturePut200ResponseFromJSON(json: any): ApiFeaturePut200Response {
67
+ return ApiFeaturePut200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiFeaturePut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeaturePut200Response {
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 : ApiFeatureGet200ResponseResponseObjectInnerFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiFeaturePut200ResponseToJSON(json: any): ApiFeaturePut200Response {
84
+ return ApiFeaturePut200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiFeaturePut200ResponseToJSONTyped(value?: ApiFeaturePut200Response | 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': ApiFeatureGet200ResponseResponseObjectInnerToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,124 @@
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 { ApiFeaturePutRequestNavigate } from './ApiFeaturePutRequestNavigate';
17
+ import {
18
+ ApiFeaturePutRequestNavigateFromJSON,
19
+ ApiFeaturePutRequestNavigateFromJSONTyped,
20
+ ApiFeaturePutRequestNavigateToJSON,
21
+ ApiFeaturePutRequestNavigateToJSONTyped,
22
+ } from './ApiFeaturePutRequestNavigate';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiFeaturePutRequest
28
+ */
29
+ export interface ApiFeaturePutRequest {
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiFeaturePutRequest
34
+ */
35
+ id?: string | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiFeaturePutRequest
40
+ */
41
+ image_url: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ApiFeaturePutRequest
46
+ */
47
+ label: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ApiFeaturePutRequest
52
+ */
53
+ url?: string | null;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof ApiFeaturePutRequest
58
+ */
59
+ requireLogin?: boolean | null;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof ApiFeaturePutRequest
64
+ */
65
+ sequence: number;
66
+ /**
67
+ *
68
+ * @type {ApiFeaturePutRequestNavigate}
69
+ * @memberof ApiFeaturePutRequest
70
+ */
71
+ Navigate?: ApiFeaturePutRequestNavigate | null;
72
+ }
73
+
74
+ /**
75
+ * Check if a given object implements the ApiFeaturePutRequest interface.
76
+ */
77
+ export function instanceOfApiFeaturePutRequest(value: object): value is ApiFeaturePutRequest {
78
+ if (!('image_url' in value) || value['image_url'] === undefined) return false;
79
+ if (!('label' in value) || value['label'] === undefined) return false;
80
+ if (!('sequence' in value) || value['sequence'] === undefined) return false;
81
+ return true;
82
+ }
83
+
84
+ export function ApiFeaturePutRequestFromJSON(json: any): ApiFeaturePutRequest {
85
+ return ApiFeaturePutRequestFromJSONTyped(json, false);
86
+ }
87
+
88
+ export function ApiFeaturePutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeaturePutRequest {
89
+ if (json == null) {
90
+ return json;
91
+ }
92
+ return {
93
+
94
+ 'id': json['id'] == null ? undefined : json['id'],
95
+ 'image_url': json['image_url'],
96
+ 'label': json['label'],
97
+ 'url': json['url'] == null ? undefined : json['url'],
98
+ 'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
99
+ 'sequence': json['sequence'],
100
+ 'Navigate': json['Navigate'] == null ? undefined : ApiFeaturePutRequestNavigateFromJSON(json['Navigate']),
101
+ };
102
+ }
103
+
104
+ export function ApiFeaturePutRequestToJSON(json: any): ApiFeaturePutRequest {
105
+ return ApiFeaturePutRequestToJSONTyped(json, false);
106
+ }
107
+
108
+ export function ApiFeaturePutRequestToJSONTyped(value?: ApiFeaturePutRequest | null, ignoreDiscriminator: boolean = false): any {
109
+ if (value == null) {
110
+ return value;
111
+ }
112
+
113
+ return {
114
+
115
+ 'id': value['id'],
116
+ 'image_url': value['image_url'],
117
+ 'label': value['label'],
118
+ 'url': value['url'],
119
+ 'requireLogin': value['requireLogin'],
120
+ 'sequence': value['sequence'],
121
+ 'Navigate': ApiFeaturePutRequestNavigateToJSON(value['Navigate']),
122
+ };
123
+ }
124
+
@@ -0,0 +1,90 @@
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 ApiFeaturePutRequestNavigate
20
+ */
21
+ export interface ApiFeaturePutRequestNavigate {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiFeaturePutRequestNavigate
26
+ */
27
+ id?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiFeaturePutRequestNavigate
32
+ */
33
+ screen: string;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: any | null; }}
37
+ * @memberof ApiFeaturePutRequestNavigate
38
+ */
39
+ params?: { [key: string]: any | null; } | null;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof ApiFeaturePutRequestNavigate
44
+ */
45
+ requireLogin?: boolean | null;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the ApiFeaturePutRequestNavigate interface.
50
+ */
51
+ export function instanceOfApiFeaturePutRequestNavigate(value: object): value is ApiFeaturePutRequestNavigate {
52
+ if (!('screen' in value) || value['screen'] === undefined) return false;
53
+ return true;
54
+ }
55
+
56
+ export function ApiFeaturePutRequestNavigateFromJSON(json: any): ApiFeaturePutRequestNavigate {
57
+ return ApiFeaturePutRequestNavigateFromJSONTyped(json, false);
58
+ }
59
+
60
+ export function ApiFeaturePutRequestNavigateFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeaturePutRequestNavigate {
61
+ if (json == null) {
62
+ return json;
63
+ }
64
+ return {
65
+
66
+ 'id': json['id'] == null ? undefined : json['id'],
67
+ 'screen': json['screen'],
68
+ 'params': json['params'] == null ? undefined : json['params'],
69
+ 'requireLogin': json['requireLogin'] == null ? undefined : json['requireLogin'],
70
+ };
71
+ }
72
+
73
+ export function ApiFeaturePutRequestNavigateToJSON(json: any): ApiFeaturePutRequestNavigate {
74
+ return ApiFeaturePutRequestNavigateToJSONTyped(json, false);
75
+ }
76
+
77
+ export function ApiFeaturePutRequestNavigateToJSONTyped(value?: ApiFeaturePutRequestNavigate | null, ignoreDiscriminator: boolean = false): any {
78
+ if (value == null) {
79
+ return value;
80
+ }
81
+
82
+ return {
83
+
84
+ 'id': value['id'],
85
+ 'screen': value['screen'],
86
+ 'params': value['params'],
87
+ 'requireLogin': value['requireLogin'],
88
+ };
89
+ }
90
+
@@ -0,0 +1,86 @@
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 ApiFeatureSwitchPutRequest
20
+ */
21
+ export interface ApiFeatureSwitchPutRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiFeatureSwitchPutRequest
26
+ */
27
+ feature_id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiFeatureSwitchPutRequest
32
+ */
33
+ action: ApiFeatureSwitchPutRequestActionEnum;
34
+ }
35
+
36
+
37
+ /**
38
+ * @export
39
+ */
40
+ export const ApiFeatureSwitchPutRequestActionEnum = {
41
+ Up: 'UP',
42
+ Down: 'DOWN'
43
+ } as const;
44
+ export type ApiFeatureSwitchPutRequestActionEnum = typeof ApiFeatureSwitchPutRequestActionEnum[keyof typeof ApiFeatureSwitchPutRequestActionEnum];
45
+
46
+
47
+ /**
48
+ * Check if a given object implements the ApiFeatureSwitchPutRequest interface.
49
+ */
50
+ export function instanceOfApiFeatureSwitchPutRequest(value: object): value is ApiFeatureSwitchPutRequest {
51
+ if (!('feature_id' in value) || value['feature_id'] === undefined) return false;
52
+ if (!('action' in value) || value['action'] === undefined) return false;
53
+ return true;
54
+ }
55
+
56
+ export function ApiFeatureSwitchPutRequestFromJSON(json: any): ApiFeatureSwitchPutRequest {
57
+ return ApiFeatureSwitchPutRequestFromJSONTyped(json, false);
58
+ }
59
+
60
+ export function ApiFeatureSwitchPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiFeatureSwitchPutRequest {
61
+ if (json == null) {
62
+ return json;
63
+ }
64
+ return {
65
+
66
+ 'feature_id': json['feature_id'],
67
+ 'action': json['action'],
68
+ };
69
+ }
70
+
71
+ export function ApiFeatureSwitchPutRequestToJSON(json: any): ApiFeatureSwitchPutRequest {
72
+ return ApiFeatureSwitchPutRequestToJSONTyped(json, false);
73
+ }
74
+
75
+ export function ApiFeatureSwitchPutRequestToJSONTyped(value?: ApiFeatureSwitchPutRequest | null, ignoreDiscriminator: boolean = false): any {
76
+ if (value == null) {
77
+ return value;
78
+ }
79
+
80
+ return {
81
+
82
+ 'feature_id': value['feature_id'],
83
+ 'action': value['action'],
84
+ };
85
+ }
86
+
@@ -20,6 +20,13 @@ import {
20
20
  ApiPadelMatchesGetFilterParameterNameToJSON,
21
21
  ApiPadelMatchesGetFilterParameterNameToJSONTyped,
22
22
  } from './ApiPadelMatchesGetFilterParameterName';
23
+ import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
24
+ import {
25
+ ApiPadelMatchesGetFilterParameterPlayedAtFromJSON,
26
+ ApiPadelMatchesGetFilterParameterPlayedAtFromJSONTyped,
27
+ ApiPadelMatchesGetFilterParameterPlayedAtToJSON,
28
+ ApiPadelMatchesGetFilterParameterPlayedAtToJSONTyped,
29
+ } from './ApiPadelMatchesGetFilterParameterPlayedAt';
23
30
 
24
31
  /**
25
32
  *
@@ -39,6 +46,12 @@ export interface ApiWeb3RedemptionGetFilterParameter {
39
46
  * @memberof ApiWeb3RedemptionGetFilterParameter
40
47
  */
41
48
  txHash?: ApiPadelMatchesGetFilterParameterName;
49
+ /**
50
+ *
51
+ * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
52
+ * @memberof ApiWeb3RedemptionGetFilterParameter
53
+ */
54
+ createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
42
55
  }
43
56
 
44
57
  /**
@@ -60,6 +73,7 @@ export function ApiWeb3RedemptionGetFilterParameterFromJSONTyped(json: any, igno
60
73
 
61
74
  'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
62
75
  'txHash': json['txHash'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['txHash']),
76
+ 'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
63
77
  };
64
78
  }
65
79
 
@@ -76,6 +90,7 @@ export function ApiWeb3RedemptionGetFilterParameterToJSONTyped(value?: ApiWeb3Re
76
90
 
77
91
  'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
78
92
  'txHash': ApiPadelMatchesGetFilterParameterNameToJSON(value['txHash']),
93
+ 'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
79
94
  };
80
95
  }
81
96