@drxsuperapp/sdk 2.0.1 → 2.0.3
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/.ai/mcp/mcp.json +0 -0
- package/.idea/vcs.xml +6 -0
- package/.openapi-generator/FILES +14 -3
- package/apis/AdminPointsApi.ts +69 -0
- package/apis/AppConfigurationApi.ts +6 -6
- package/apis/AuthenticationApi.ts +107 -9
- package/dist/apis/AdminPointsApi.d.ts +17 -1
- package/dist/apis/AdminPointsApi.js +46 -1
- package/dist/apis/AppConfigurationApi.d.ts +3 -3
- package/dist/apis/AppConfigurationApi.js +2 -2
- package/dist/apis/AuthenticationApi.d.ts +28 -5
- package/dist/apis/AuthenticationApi.js +75 -3
- package/dist/models/ApiAdminPointDropsGet200Response.d.ts +51 -0
- package/dist/models/ApiAdminPointDropsGet200Response.js +54 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObject.js +59 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.d.ts +149 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.js +123 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.d.ts +38 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.js +47 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.js +31 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.js +31 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.d.ts +26 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.js +31 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.d.ts +44 -0
- package/dist/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.js +51 -0
- package/dist/models/ApiAdminPointDropsGetFilterParameter.d.ts +58 -0
- package/dist/models/ApiAdminPointDropsGetFilterParameter.js +51 -0
- package/dist/models/ApiAdminPointDropsPost200Response.d.ts +3 -3
- package/dist/models/ApiAdminPointDropsPost200Response.js +3 -3
- package/dist/models/ApiAuthOneTimeLoginCodePost200Response.d.ts +51 -0
- package/dist/models/ApiAuthOneTimeLoginCodePost200Response.js +54 -0
- package/dist/models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.d.ts +38 -0
- package/dist/models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.js +47 -0
- package/dist/models/ApiAuthValidateGet200Response.d.ts +50 -0
- package/dist/models/{ApiWalletUnbindPost200Response.js → ApiAuthValidateGet200Response.js} +10 -11
- package/dist/models/ApiPwaTournamentPostRequest.d.ts +3 -3
- package/dist/models/ApiPwaTournamentPostRequest.js +3 -3
- package/dist/models/ApiUserGet200Response.d.ts +3 -2
- package/dist/models/ApiUserGet200Response.js +3 -2
- package/dist/models/ApiUserGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiUserGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiUserGet200ResponseResponseObjectItemsInner.d.ts +62 -0
- package/dist/models/ApiUserGet200ResponseResponseObjectItemsInner.js +63 -0
- package/dist/models/index.d.ts +14 -3
- package/dist/models/index.js +14 -3
- package/models/ApiAdminPointDropsGet200Response.ts +100 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner.ts +258 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin.ts +75 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser.ts +46 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt.ts +46 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt.ts +46 -0
- package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.ts +84 -0
- package/models/ApiAdminPointDropsGetFilterParameter.ts +112 -0
- package/models/ApiAdminPointDropsPost200Response.ts +10 -10
- package/models/ApiAdminPointDropsPost200ResponseResponseObject.ts +101 -101
- package/models/ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt.ts +46 -46
- package/models/ApiAuthOneTimeLoginCodePost200Response.ts +100 -0
- package/models/ApiAuthOneTimeLoginCodePost200ResponseResponseObject.ts +75 -0
- package/models/ApiAuthValidateGet200Response.ts +92 -0
- package/models/ApiPwaTournamentPostRequest.ts +10 -10
- package/models/ApiPwaTournamentPostRequestAdminInner.ts +46 -46
- package/models/ApiUserGet200Response.ts +12 -4
- package/models/ApiUserGet200ResponseResponseObject.ts +110 -0
- package/models/ApiUserGet200ResponseResponseObjectItemsInner.ts +111 -0
- package/models/index.ts +14 -3
- package/package.json +1 -1
- package/workflow.sh +88 -88
- package/dist/models/ApiWalletUnbindPost200Response.d.ts +0 -51
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.d.ts +0 -32
- package/dist/models/ApiWalletUnbindPost200ResponseResponseObject.js +0 -43
- package/dist/models/ApiWeb3RedeemPost200ResponseResponseObjectData.d.ts +0 -69
- package/dist/models/ApiWeb3RedeemPost200ResponseResponseObjectData.js +0 -68
|
@@ -0,0 +1,46 @@
|
|
|
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 ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt(value: object): value is ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAtFromJSON(json: any): ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt {
|
|
32
|
+
return ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAtFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAtFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAtToJSON(json: any): ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt {
|
|
40
|
+
return ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAtToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAtToJSONTyped(value?: ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
|
package/models/ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
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 ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner
|
|
32
|
+
*/
|
|
33
|
+
username: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner
|
|
38
|
+
*/
|
|
39
|
+
fullname: string | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner(value: object): value is ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner {
|
|
46
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
+
if (!('username' in value) || value['username'] === undefined) return false;
|
|
48
|
+
if (!('fullname' in value) || value['fullname'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInnerFromJSON(json: any): ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner {
|
|
53
|
+
return ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInnerFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'id': json['id'],
|
|
63
|
+
'username': json['username'],
|
|
64
|
+
'fullname': json['fullname'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInnerToJSON(json: any): ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner {
|
|
69
|
+
return ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInnerToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInnerToJSONTyped(value?: ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': value['id'],
|
|
80
|
+
'username': value['username'],
|
|
81
|
+
'fullname': value['fullname'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
17
|
+
import {
|
|
18
|
+
ApiPadelMatchesGetFilterParameterNameFromJSON,
|
|
19
|
+
ApiPadelMatchesGetFilterParameterNameFromJSONTyped,
|
|
20
|
+
ApiPadelMatchesGetFilterParameterNameToJSON,
|
|
21
|
+
ApiPadelMatchesGetFilterParameterNameToJSONTyped,
|
|
22
|
+
} from './ApiPadelMatchesGetFilterParameterName';
|
|
23
|
+
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
24
|
+
import {
|
|
25
|
+
ApiPadelMatchesGetFilterParameterPlayedAtFromJSON,
|
|
26
|
+
ApiPadelMatchesGetFilterParameterPlayedAtFromJSONTyped,
|
|
27
|
+
ApiPadelMatchesGetFilterParameterPlayedAtToJSON,
|
|
28
|
+
ApiPadelMatchesGetFilterParameterPlayedAtToJSONTyped,
|
|
29
|
+
} from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ApiAdminPointDropsGetFilterParameter
|
|
35
|
+
*/
|
|
36
|
+
export interface ApiAdminPointDropsGetFilterParameter {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
40
|
+
* @memberof ApiAdminPointDropsGetFilterParameter
|
|
41
|
+
*/
|
|
42
|
+
title?: ApiPadelMatchesGetFilterParameterName;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
46
|
+
* @memberof ApiAdminPointDropsGetFilterParameter
|
|
47
|
+
*/
|
|
48
|
+
targetType?: ApiPadelMatchesGetFilterParameterName;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
52
|
+
* @memberof ApiAdminPointDropsGetFilterParameter
|
|
53
|
+
*/
|
|
54
|
+
status?: ApiPadelMatchesGetFilterParameterName;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
58
|
+
* @memberof ApiAdminPointDropsGetFilterParameter
|
|
59
|
+
*/
|
|
60
|
+
pointType?: ApiPadelMatchesGetFilterParameterName;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
64
|
+
* @memberof ApiAdminPointDropsGetFilterParameter
|
|
65
|
+
*/
|
|
66
|
+
createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the ApiAdminPointDropsGetFilterParameter interface.
|
|
71
|
+
*/
|
|
72
|
+
export function instanceOfApiAdminPointDropsGetFilterParameter(value: object): value is ApiAdminPointDropsGetFilterParameter {
|
|
73
|
+
return true;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ApiAdminPointDropsGetFilterParameterFromJSON(json: any): ApiAdminPointDropsGetFilterParameter {
|
|
77
|
+
return ApiAdminPointDropsGetFilterParameterFromJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ApiAdminPointDropsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsGetFilterParameter {
|
|
81
|
+
if (json == null) {
|
|
82
|
+
return json;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'title': json['title'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['title']),
|
|
87
|
+
'targetType': json['targetType'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['targetType']),
|
|
88
|
+
'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
|
|
89
|
+
'pointType': json['pointType'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['pointType']),
|
|
90
|
+
'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ApiAdminPointDropsGetFilterParameterToJSON(json: any): ApiAdminPointDropsGetFilterParameter {
|
|
95
|
+
return ApiAdminPointDropsGetFilterParameterToJSONTyped(json, false);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function ApiAdminPointDropsGetFilterParameterToJSONTyped(value?: ApiAdminPointDropsGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
|
|
99
|
+
if (value == null) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return {
|
|
104
|
+
|
|
105
|
+
'title': ApiPadelMatchesGetFilterParameterNameToJSON(value['title']),
|
|
106
|
+
'targetType': ApiPadelMatchesGetFilterParameterNameToJSON(value['targetType']),
|
|
107
|
+
'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
|
|
108
|
+
'pointType': ApiPadelMatchesGetFilterParameterNameToJSON(value['pointType']),
|
|
109
|
+
'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner } from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerFromJSON,
|
|
19
|
+
ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerFromJSONTyped,
|
|
20
|
+
ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerToJSON,
|
|
21
|
+
ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerToJSONTyped,
|
|
22
|
+
} from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -41,10 +41,10 @@ export interface ApiAdminPointDropsPost200Response {
|
|
|
41
41
|
message: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner}
|
|
45
45
|
* @memberof ApiAdminPointDropsPost200Response
|
|
46
46
|
*/
|
|
47
|
-
responseObject?:
|
|
47
|
+
responseObject?: ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {number}
|
|
@@ -75,7 +75,7 @@ export function ApiAdminPointDropsPost200ResponseFromJSONTyped(json: any, ignore
|
|
|
75
75
|
|
|
76
76
|
'success': json['success'],
|
|
77
77
|
'message': json['message'],
|
|
78
|
-
'responseObject': json['responseObject'] == null ? undefined :
|
|
78
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerFromJSON(json['responseObject']),
|
|
79
79
|
'statusCode': json['statusCode'],
|
|
80
80
|
};
|
|
81
81
|
}
|
|
@@ -93,7 +93,7 @@ export function ApiAdminPointDropsPost200ResponseToJSONTyped(value?: ApiAdminPoi
|
|
|
93
93
|
|
|
94
94
|
'success': value['success'],
|
|
95
95
|
'message': value['message'],
|
|
96
|
-
'responseObject':
|
|
96
|
+
'responseObject': ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerToJSON(value['responseObject']),
|
|
97
97
|
'statusCode': value['statusCode'],
|
|
98
98
|
};
|
|
99
99
|
}
|
|
@@ -1,101 +1,101 @@
|
|
|
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 { ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt } from './ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt';
|
|
17
|
-
import {
|
|
18
|
-
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSON,
|
|
19
|
-
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSONTyped,
|
|
20
|
-
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSON,
|
|
21
|
-
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSONTyped,
|
|
22
|
-
} from './ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiAdminPointDropsPost200ResponseResponseObject
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiAdminPointDropsPost200ResponseResponseObject {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
34
|
-
*/
|
|
35
|
-
id: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
40
|
-
*/
|
|
41
|
-
title: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
46
|
-
*/
|
|
47
|
-
status: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt}
|
|
51
|
-
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
52
|
-
*/
|
|
53
|
-
createdAt: ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the ApiAdminPointDropsPost200ResponseResponseObject interface.
|
|
58
|
-
*/
|
|
59
|
-
export function instanceOfApiAdminPointDropsPost200ResponseResponseObject(value: object): value is ApiAdminPointDropsPost200ResponseResponseObject {
|
|
60
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
61
|
-
if (!('title' in value) || value['title'] === undefined) return false;
|
|
62
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
63
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectFromJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObject {
|
|
68
|
-
return ApiAdminPointDropsPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsPost200ResponseResponseObject {
|
|
72
|
-
if (json == null) {
|
|
73
|
-
return json;
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'id': json['id'],
|
|
78
|
-
'title': json['title'],
|
|
79
|
-
'status': json['status'],
|
|
80
|
-
'createdAt': ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSON(json['createdAt']),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectToJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObject {
|
|
85
|
-
return ApiAdminPointDropsPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectToJSONTyped(value?: ApiAdminPointDropsPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'id': value['id'],
|
|
96
|
-
'title': value['title'],
|
|
97
|
-
'status': value['status'],
|
|
98
|
-
'createdAt': ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSON(value['createdAt']),
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
|
-
|
|
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 { ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt } from './ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt';
|
|
17
|
+
import {
|
|
18
|
+
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSON,
|
|
19
|
+
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSONTyped,
|
|
20
|
+
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSON,
|
|
21
|
+
ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSONTyped,
|
|
22
|
+
} from './ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiAdminPointDropsPost200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiAdminPointDropsPost200ResponseResponseObject {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
46
|
+
*/
|
|
47
|
+
status: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt}
|
|
51
|
+
* @memberof ApiAdminPointDropsPost200ResponseResponseObject
|
|
52
|
+
*/
|
|
53
|
+
createdAt: ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiAdminPointDropsPost200ResponseResponseObject interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiAdminPointDropsPost200ResponseResponseObject(value: object): value is ApiAdminPointDropsPost200ResponseResponseObject {
|
|
60
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
61
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
62
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
63
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectFromJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObject {
|
|
68
|
+
return ApiAdminPointDropsPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsPost200ResponseResponseObject {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'id': json['id'],
|
|
78
|
+
'title': json['title'],
|
|
79
|
+
'status': json['status'],
|
|
80
|
+
'createdAt': ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSON(json['createdAt']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectToJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObject {
|
|
85
|
+
return ApiAdminPointDropsPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectToJSONTyped(value?: ApiAdminPointDropsPost200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'title': value['title'],
|
|
97
|
+
'status': value['status'],
|
|
98
|
+
'createdAt': ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSON(value['createdAt']),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
@@ -1,46 +1,46 @@
|
|
|
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 ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt interface.
|
|
26
|
-
*/
|
|
27
|
-
export function instanceOfApiAdminPointDropsPost200ResponseResponseObjectCreatedAt(value: object): value is ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
32
|
-
return ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
40
|
-
return ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSONTyped(value?: ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
|
|
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 ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfApiAdminPointDropsPost200ResponseResponseObjectCreatedAt(value: object): value is ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
32
|
+
return ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSON(json: any): ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt {
|
|
40
|
+
return ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ApiAdminPointDropsPost200ResponseResponseObjectCreatedAtToJSONTyped(value?: ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
|