@drxsuperapp/sdk 1.1.284 → 1.1.285
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 +8 -5
- package/apis/AppConfigApi.ts +324 -26
- package/deploy.log +43 -19
- package/dist/apis/AppConfigApi.d.ts +87 -11
- package/dist/apis/AppConfigApi.js +214 -16
- package/dist/models/ApiAdminAppConfigsGet200Response.d.ts +51 -0
- package/dist/models/{ApiUserPointRewardsGet200Response.js → ApiAdminAppConfigsGet200Response.js} +11 -11
- package/dist/models/ApiAdminAppConfigsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiAdminAppConfigsGet200ResponseResponseObject.js +59 -0
- package/dist/models/ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner.d.ts +68 -0
- package/dist/models/ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner.js +67 -0
- package/dist/models/ApiAdminAppConfigsGetFilterParameter.d.ts +70 -0
- package/dist/models/ApiAdminAppConfigsGetFilterParameter.js +55 -0
- package/dist/models/ApiAdminAppConfigsGroupGroupGet200Response.d.ts +51 -0
- package/dist/models/ApiAdminAppConfigsGroupGroupGet200Response.js +54 -0
- package/dist/models/ApiAdminAppConfigsIdPutRequest.d.ts +50 -0
- package/dist/models/ApiAdminAppConfigsIdPutRequest.js +47 -0
- package/dist/models/ApiAdminAppConfigsPost200Response.d.ts +51 -0
- package/dist/models/{ApiUserPointRewardsPut200Response.js → ApiAdminAppConfigsPost200Response.js} +11 -11
- package/dist/models/ApiAdminAppConfigsPostRequest.d.ts +50 -0
- package/dist/models/ApiAdminAppConfigsPostRequest.js +53 -0
- package/dist/models/index.d.ts +8 -5
- package/dist/models/index.js +8 -5
- package/models/ApiAdminAppConfigsGet200Response.ts +100 -0
- package/models/ApiAdminAppConfigsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner.ts +120 -0
- package/models/ApiAdminAppConfigsGetFilterParameter.ts +128 -0
- package/models/ApiAdminAppConfigsGroupGroupGet200Response.ts +100 -0
- package/models/ApiAdminAppConfigsIdPutRequest.ts +89 -0
- package/models/ApiAdminAppConfigsPost200Response.ts +100 -0
- package/models/ApiAdminAppConfigsPostRequest.ts +92 -0
- package/models/index.ts +8 -5
- package/package.json +1 -1
- package/dist/models/ApiUserPointRewardsGet200Response.d.ts +0 -51
- package/dist/models/ApiUserPointRewardsGet200ResponseResponseObject.d.ts +0 -68
- package/dist/models/ApiUserPointRewardsGet200ResponseResponseObject.js +0 -67
- package/dist/models/ApiUserPointRewardsPut200Response.d.ts +0 -51
- package/dist/models/ApiUserPointRewardsPut200ResponseResponseObject.d.ts +0 -50
- package/dist/models/ApiUserPointRewardsPut200ResponseResponseObject.js +0 -55
- package/dist/models/ApiUserPointRewardsPutRequest.d.ts +0 -51
- package/dist/models/ApiUserPointRewardsPutRequest.js +0 -59
- package/models/ApiUserPointRewardsGet200Response.ts +0 -100
- package/models/ApiUserPointRewardsGet200ResponseResponseObject.ts +0 -120
- package/models/ApiUserPointRewardsPut200Response.ts +0 -100
- package/models/ApiUserPointRewardsPut200ResponseResponseObject.ts +0 -93
- package/models/ApiUserPointRewardsPutRequest.ts +0 -91
|
@@ -0,0 +1,89 @@
|
|
|
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 ApiAdminAppConfigsIdPutRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminAppConfigsIdPutRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAdminAppConfigsIdPutRequest
|
|
26
|
+
*/
|
|
27
|
+
group?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiAdminAppConfigsIdPutRequest
|
|
32
|
+
*/
|
|
33
|
+
key?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiAdminAppConfigsIdPutRequest
|
|
38
|
+
*/
|
|
39
|
+
value?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiAdminAppConfigsIdPutRequest
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ApiAdminAppConfigsIdPutRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfApiAdminAppConfigsIdPutRequest(value: object): value is ApiAdminAppConfigsIdPutRequest {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ApiAdminAppConfigsIdPutRequestFromJSON(json: any): ApiAdminAppConfigsIdPutRequest {
|
|
56
|
+
return ApiAdminAppConfigsIdPutRequestFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ApiAdminAppConfigsIdPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminAppConfigsIdPutRequest {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'group': json['group'] == null ? undefined : json['group'],
|
|
66
|
+
'key': json['key'] == null ? undefined : json['key'],
|
|
67
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
68
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ApiAdminAppConfigsIdPutRequestToJSON(json: any): ApiAdminAppConfigsIdPutRequest {
|
|
73
|
+
return ApiAdminAppConfigsIdPutRequestToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ApiAdminAppConfigsIdPutRequestToJSONTyped(value?: ApiAdminAppConfigsIdPutRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'group': value['group'],
|
|
84
|
+
'key': value['key'],
|
|
85
|
+
'value': value['value'],
|
|
86
|
+
'description': value['description'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -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 { ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner } from './ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner';
|
|
17
|
+
import {
|
|
18
|
+
ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInnerFromJSON,
|
|
19
|
+
ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInnerFromJSONTyped,
|
|
20
|
+
ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInnerToJSON,
|
|
21
|
+
ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInnerToJSONTyped,
|
|
22
|
+
} from './ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiAdminAppConfigsPost200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiAdminAppConfigsPost200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiAdminAppConfigsPost200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiAdminAppConfigsPost200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner}
|
|
45
|
+
* @memberof ApiAdminAppConfigsPost200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiAdminAppConfigsPost200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiAdminAppConfigsPost200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiAdminAppConfigsPost200Response(value: object): value is ApiAdminAppConfigsPost200Response {
|
|
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 ApiAdminAppConfigsPost200ResponseFromJSON(json: any): ApiAdminAppConfigsPost200Response {
|
|
67
|
+
return ApiAdminAppConfigsPost200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiAdminAppConfigsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminAppConfigsPost200Response {
|
|
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 : ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInnerFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiAdminAppConfigsPost200ResponseToJSON(json: any): ApiAdminAppConfigsPost200Response {
|
|
84
|
+
return ApiAdminAppConfigsPost200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiAdminAppConfigsPost200ResponseToJSONTyped(value?: ApiAdminAppConfigsPost200Response | 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': ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInnerToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
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 ApiAdminAppConfigsPostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAdminAppConfigsPostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAdminAppConfigsPostRequest
|
|
26
|
+
*/
|
|
27
|
+
group: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiAdminAppConfigsPostRequest
|
|
32
|
+
*/
|
|
33
|
+
key: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiAdminAppConfigsPostRequest
|
|
38
|
+
*/
|
|
39
|
+
value: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ApiAdminAppConfigsPostRequest
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ApiAdminAppConfigsPostRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfApiAdminAppConfigsPostRequest(value: object): value is ApiAdminAppConfigsPostRequest {
|
|
52
|
+
if (!('group' in value) || value['group'] === undefined) return false;
|
|
53
|
+
if (!('key' in value) || value['key'] === undefined) return false;
|
|
54
|
+
if (!('value' in value) || value['value'] === undefined) return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ApiAdminAppConfigsPostRequestFromJSON(json: any): ApiAdminAppConfigsPostRequest {
|
|
59
|
+
return ApiAdminAppConfigsPostRequestFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ApiAdminAppConfigsPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminAppConfigsPostRequest {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'group': json['group'],
|
|
69
|
+
'key': json['key'],
|
|
70
|
+
'value': json['value'],
|
|
71
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function ApiAdminAppConfigsPostRequestToJSON(json: any): ApiAdminAppConfigsPostRequest {
|
|
76
|
+
return ApiAdminAppConfigsPostRequestToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function ApiAdminAppConfigsPostRequestToJSONTyped(value?: ApiAdminAppConfigsPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'group': value['group'],
|
|
87
|
+
'key': value['key'],
|
|
88
|
+
'value': value['value'],
|
|
89
|
+
'description': value['description'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './ApiAdminAppConfigsGet200Response';
|
|
4
|
+
export * from './ApiAdminAppConfigsGet200ResponseResponseObject';
|
|
5
|
+
export * from './ApiAdminAppConfigsGet200ResponseResponseObjectItemsInnerInner';
|
|
6
|
+
export * from './ApiAdminAppConfigsGetFilterParameter';
|
|
7
|
+
export * from './ApiAdminAppConfigsGroupGroupGet200Response';
|
|
8
|
+
export * from './ApiAdminAppConfigsIdPutRequest';
|
|
9
|
+
export * from './ApiAdminAppConfigsPost200Response';
|
|
10
|
+
export * from './ApiAdminAppConfigsPostRequest';
|
|
3
11
|
export * from './ApiAuthChangePasswordPostRequest';
|
|
4
12
|
export * from './ApiAuthForgotPasswordChangePasswordPost200Response';
|
|
5
13
|
export * from './ApiAuthForgotPasswordChangePasswordPost200ResponseResponseObject';
|
|
@@ -190,11 +198,6 @@ export * from './ApiUserLeaderboardGetFilterParameter';
|
|
|
190
198
|
export * from './ApiUserMeGet200Response';
|
|
191
199
|
export * from './ApiUserMeGet200ResponseResponseObject';
|
|
192
200
|
export * from './ApiUserMeGet200ResponseResponseObjectReferrer';
|
|
193
|
-
export * from './ApiUserPointRewardsGet200Response';
|
|
194
|
-
export * from './ApiUserPointRewardsGet200ResponseResponseObject';
|
|
195
|
-
export * from './ApiUserPointRewardsPut200Response';
|
|
196
|
-
export * from './ApiUserPointRewardsPut200ResponseResponseObject';
|
|
197
|
-
export * from './ApiUserPointRewardsPutRequest';
|
|
198
201
|
export * from './ApiUserPointsGet200Response';
|
|
199
202
|
export * from './ApiUserPointsGet200ResponseResponseObject';
|
|
200
203
|
export * from './ApiUserPointsHistoryGet200Response';
|
package/package.json
CHANGED
|
@@ -1,51 +0,0 @@
|
|
|
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 { ApiUserPointRewardsGet200ResponseResponseObject } from './ApiUserPointRewardsGet200ResponseResponseObject';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ApiUserPointRewardsGet200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface ApiUserPointRewardsGet200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof ApiUserPointRewardsGet200Response
|
|
23
|
-
*/
|
|
24
|
-
success: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ApiUserPointRewardsGet200Response
|
|
29
|
-
*/
|
|
30
|
-
message: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ApiUserPointRewardsGet200ResponseResponseObject}
|
|
34
|
-
* @memberof ApiUserPointRewardsGet200Response
|
|
35
|
-
*/
|
|
36
|
-
responseObject?: ApiUserPointRewardsGet200ResponseResponseObject;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ApiUserPointRewardsGet200Response
|
|
41
|
-
*/
|
|
42
|
-
statusCode: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ApiUserPointRewardsGet200Response interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfApiUserPointRewardsGet200Response(value: object): value is ApiUserPointRewardsGet200Response;
|
|
48
|
-
export declare function ApiUserPointRewardsGet200ResponseFromJSON(json: any): ApiUserPointRewardsGet200Response;
|
|
49
|
-
export declare function ApiUserPointRewardsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserPointRewardsGet200Response;
|
|
50
|
-
export declare function ApiUserPointRewardsGet200ResponseToJSON(json: any): ApiUserPointRewardsGet200Response;
|
|
51
|
-
export declare function ApiUserPointRewardsGet200ResponseToJSONTyped(value?: ApiUserPointRewardsGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,68 +0,0 @@
|
|
|
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 ApiUserPointRewardsGet200ResponseResponseObject
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiUserPointRewardsGet200ResponseResponseObject {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
22
|
-
*/
|
|
23
|
-
sIGNUP: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
28
|
-
*/
|
|
29
|
-
rEFERRAL: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
34
|
-
*/
|
|
35
|
-
nFCSCAN: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
40
|
-
*/
|
|
41
|
-
fIRSTGAME: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
46
|
-
*/
|
|
47
|
-
dAILYLOGIN: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
52
|
-
*/
|
|
53
|
-
tOURNAMENTWIN: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof ApiUserPointRewardsGet200ResponseResponseObject
|
|
58
|
-
*/
|
|
59
|
-
aDMINBONUS: number;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the ApiUserPointRewardsGet200ResponseResponseObject interface.
|
|
63
|
-
*/
|
|
64
|
-
export declare function instanceOfApiUserPointRewardsGet200ResponseResponseObject(value: object): value is ApiUserPointRewardsGet200ResponseResponseObject;
|
|
65
|
-
export declare function ApiUserPointRewardsGet200ResponseResponseObjectFromJSON(json: any): ApiUserPointRewardsGet200ResponseResponseObject;
|
|
66
|
-
export declare function ApiUserPointRewardsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserPointRewardsGet200ResponseResponseObject;
|
|
67
|
-
export declare function ApiUserPointRewardsGet200ResponseResponseObjectToJSON(json: any): ApiUserPointRewardsGet200ResponseResponseObject;
|
|
68
|
-
export declare function ApiUserPointRewardsGet200ResponseResponseObjectToJSONTyped(value?: ApiUserPointRewardsGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +0,0 @@
|
|
|
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 ApiUserPointRewardsGet200ResponseResponseObject interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfApiUserPointRewardsGet200ResponseResponseObject(value) {
|
|
18
|
-
if (!('sIGNUP' in value) || value['sIGNUP'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('rEFERRAL' in value) || value['rEFERRAL'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('nFCSCAN' in value) || value['nFCSCAN'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('fIRSTGAME' in value) || value['fIRSTGAME'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('dAILYLOGIN' in value) || value['dAILYLOGIN'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('tOURNAMENTWIN' in value) || value['tOURNAMENTWIN'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('aDMINBONUS' in value) || value['aDMINBONUS'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
export function ApiUserPointRewardsGet200ResponseResponseObjectFromJSON(json) {
|
|
35
|
-
return ApiUserPointRewardsGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
export function ApiUserPointRewardsGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'sIGNUP': json['SIGNUP'],
|
|
43
|
-
'rEFERRAL': json['REFERRAL'],
|
|
44
|
-
'nFCSCAN': json['NFC_SCAN'],
|
|
45
|
-
'fIRSTGAME': json['FIRST_GAME'],
|
|
46
|
-
'dAILYLOGIN': json['DAILY_LOGIN'],
|
|
47
|
-
'tOURNAMENTWIN': json['TOURNAMENT_WIN'],
|
|
48
|
-
'aDMINBONUS': json['ADMIN_BONUS'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
export function ApiUserPointRewardsGet200ResponseResponseObjectToJSON(json) {
|
|
52
|
-
return ApiUserPointRewardsGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
export function ApiUserPointRewardsGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'SIGNUP': value['sIGNUP'],
|
|
60
|
-
'REFERRAL': value['rEFERRAL'],
|
|
61
|
-
'NFC_SCAN': value['nFCSCAN'],
|
|
62
|
-
'FIRST_GAME': value['fIRSTGAME'],
|
|
63
|
-
'DAILY_LOGIN': value['dAILYLOGIN'],
|
|
64
|
-
'TOURNAMENT_WIN': value['tOURNAMENTWIN'],
|
|
65
|
-
'ADMIN_BONUS': value['aDMINBONUS'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
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 { ApiUserPointRewardsPut200ResponseResponseObject } from './ApiUserPointRewardsPut200ResponseResponseObject';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ApiUserPointRewardsPut200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface ApiUserPointRewardsPut200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof ApiUserPointRewardsPut200Response
|
|
23
|
-
*/
|
|
24
|
-
success: boolean;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ApiUserPointRewardsPut200Response
|
|
29
|
-
*/
|
|
30
|
-
message: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ApiUserPointRewardsPut200ResponseResponseObject}
|
|
34
|
-
* @memberof ApiUserPointRewardsPut200Response
|
|
35
|
-
*/
|
|
36
|
-
responseObject?: ApiUserPointRewardsPut200ResponseResponseObject;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof ApiUserPointRewardsPut200Response
|
|
41
|
-
*/
|
|
42
|
-
statusCode: number;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ApiUserPointRewardsPut200Response interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfApiUserPointRewardsPut200Response(value: object): value is ApiUserPointRewardsPut200Response;
|
|
48
|
-
export declare function ApiUserPointRewardsPut200ResponseFromJSON(json: any): ApiUserPointRewardsPut200Response;
|
|
49
|
-
export declare function ApiUserPointRewardsPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserPointRewardsPut200Response;
|
|
50
|
-
export declare function ApiUserPointRewardsPut200ResponseToJSON(json: any): ApiUserPointRewardsPut200Response;
|
|
51
|
-
export declare function ApiUserPointRewardsPut200ResponseToJSONTyped(value?: ApiUserPointRewardsPut200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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 ApiUserPointRewardsPut200ResponseResponseObject
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiUserPointRewardsPut200ResponseResponseObject {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof ApiUserPointRewardsPut200ResponseResponseObject
|
|
22
|
-
*/
|
|
23
|
-
success: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiUserPointRewardsPut200ResponseResponseObject
|
|
28
|
-
*/
|
|
29
|
-
message: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ApiUserPointRewardsPut200ResponseResponseObject
|
|
34
|
-
*/
|
|
35
|
-
rewardType: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ApiUserPointRewardsPut200ResponseResponseObject
|
|
40
|
-
*/
|
|
41
|
-
newValue: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the ApiUserPointRewardsPut200ResponseResponseObject interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfApiUserPointRewardsPut200ResponseResponseObject(value: object): value is ApiUserPointRewardsPut200ResponseResponseObject;
|
|
47
|
-
export declare function ApiUserPointRewardsPut200ResponseResponseObjectFromJSON(json: any): ApiUserPointRewardsPut200ResponseResponseObject;
|
|
48
|
-
export declare function ApiUserPointRewardsPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserPointRewardsPut200ResponseResponseObject;
|
|
49
|
-
export declare function ApiUserPointRewardsPut200ResponseResponseObjectToJSON(json: any): ApiUserPointRewardsPut200ResponseResponseObject;
|
|
50
|
-
export declare function ApiUserPointRewardsPut200ResponseResponseObjectToJSONTyped(value?: ApiUserPointRewardsPut200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +0,0 @@
|
|
|
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 ApiUserPointRewardsPut200ResponseResponseObject interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfApiUserPointRewardsPut200ResponseResponseObject(value) {
|
|
18
|
-
if (!('success' in value) || value['success'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('rewardType' in value) || value['rewardType'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('newValue' in value) || value['newValue'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
export function ApiUserPointRewardsPut200ResponseResponseObjectFromJSON(json) {
|
|
29
|
-
return ApiUserPointRewardsPut200ResponseResponseObjectFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
export function ApiUserPointRewardsPut200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'success': json['success'],
|
|
37
|
-
'message': json['message'],
|
|
38
|
-
'rewardType': json['rewardType'],
|
|
39
|
-
'newValue': json['newValue'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
export function ApiUserPointRewardsPut200ResponseResponseObjectToJSON(json) {
|
|
43
|
-
return ApiUserPointRewardsPut200ResponseResponseObjectToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
export function ApiUserPointRewardsPut200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'success': value['success'],
|
|
51
|
-
'message': value['message'],
|
|
52
|
-
'rewardType': value['rewardType'],
|
|
53
|
-
'newValue': value['newValue'],
|
|
54
|
-
};
|
|
55
|
-
}
|