@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,47 @@
|
|
|
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 ApiAuthOneTimeLoginCodePost200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiAuthOneTimeLoginCodePost200ResponseResponseObject(value) {
|
|
18
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('expiredAt' in value) || value['expiredAt'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiAuthOneTimeLoginCodePost200ResponseResponseObjectFromJSON(json) {
|
|
25
|
+
return ApiAuthOneTimeLoginCodePost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiAuthOneTimeLoginCodePost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'code': json['code'],
|
|
33
|
+
'expiredAt': json['expiredAt'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiAuthOneTimeLoginCodePost200ResponseResponseObjectToJSON(json) {
|
|
37
|
+
return ApiAuthOneTimeLoginCodePost200ResponseResponseObjectToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiAuthOneTimeLoginCodePost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'code': value['code'],
|
|
45
|
+
'expiredAt': value['expiredAt'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 ApiAuthValidateGet200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiAuthValidateGet200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiAuthValidateGet200Response
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiAuthValidateGet200Response
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof ApiAuthValidateGet200Response
|
|
34
|
+
*/
|
|
35
|
+
responseObject?: object;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ApiAuthValidateGet200Response
|
|
40
|
+
*/
|
|
41
|
+
statusCode: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ApiAuthValidateGet200Response interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfApiAuthValidateGet200Response(value: object): value is ApiAuthValidateGet200Response;
|
|
47
|
+
export declare function ApiAuthValidateGet200ResponseFromJSON(json: any): ApiAuthValidateGet200Response;
|
|
48
|
+
export declare function ApiAuthValidateGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthValidateGet200Response;
|
|
49
|
+
export declare function ApiAuthValidateGet200ResponseToJSON(json: any): ApiAuthValidateGet200Response;
|
|
50
|
+
export declare function ApiAuthValidateGet200ResponseToJSONTyped(value?: ApiAuthValidateGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,11 +11,10 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { ApiWalletUnbindPost200ResponseResponseObjectFromJSON, ApiWalletUnbindPost200ResponseResponseObjectToJSON, } from './ApiWalletUnbindPost200ResponseResponseObject';
|
|
15
14
|
/**
|
|
16
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the ApiAuthValidateGet200Response interface.
|
|
17
16
|
*/
|
|
18
|
-
export function
|
|
17
|
+
export function instanceOfApiAuthValidateGet200Response(value) {
|
|
19
18
|
if (!('success' in value) || value['success'] === undefined)
|
|
20
19
|
return false;
|
|
21
20
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -24,31 +23,31 @@ export function instanceOfApiWalletUnbindPost200Response(value) {
|
|
|
24
23
|
return false;
|
|
25
24
|
return true;
|
|
26
25
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
26
|
+
export function ApiAuthValidateGet200ResponseFromJSON(json) {
|
|
27
|
+
return ApiAuthValidateGet200ResponseFromJSONTyped(json, false);
|
|
29
28
|
}
|
|
30
|
-
export function
|
|
29
|
+
export function ApiAuthValidateGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
30
|
if (json == null) {
|
|
32
31
|
return json;
|
|
33
32
|
}
|
|
34
33
|
return {
|
|
35
34
|
'success': json['success'],
|
|
36
35
|
'message': json['message'],
|
|
37
|
-
'responseObject': json['responseObject'] == null ? undefined :
|
|
36
|
+
'responseObject': json['responseObject'] == null ? undefined : json['responseObject'],
|
|
38
37
|
'statusCode': json['statusCode'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
40
|
+
export function ApiAuthValidateGet200ResponseToJSON(json) {
|
|
41
|
+
return ApiAuthValidateGet200ResponseToJSONTyped(json, false);
|
|
43
42
|
}
|
|
44
|
-
export function
|
|
43
|
+
export function ApiAuthValidateGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
44
|
if (value == null) {
|
|
46
45
|
return value;
|
|
47
46
|
}
|
|
48
47
|
return {
|
|
49
48
|
'success': value['success'],
|
|
50
49
|
'message': value['message'],
|
|
51
|
-
'responseObject':
|
|
50
|
+
'responseObject': value['responseObject'],
|
|
52
51
|
'statusCode': value['statusCode'],
|
|
53
52
|
};
|
|
54
53
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser } from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -24,10 +24,10 @@ export interface ApiPwaTournamentPostRequest {
|
|
|
24
24
|
name: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser>}
|
|
28
28
|
* @memberof ApiPwaTournamentPostRequest
|
|
29
29
|
*/
|
|
30
|
-
admin: Array<
|
|
30
|
+
admin: Array<ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser>;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the ApiPwaTournamentPostRequest interface.
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import {
|
|
14
|
+
import { ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUserFromJSON, ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUserToJSON, } from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser';
|
|
15
15
|
/**
|
|
16
16
|
* Check if a given object implements the ApiPwaTournamentPostRequest interface.
|
|
17
17
|
*/
|
|
@@ -31,7 +31,7 @@ export function ApiPwaTournamentPostRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
33
|
'name': json['name'],
|
|
34
|
-
'admin': (json['admin'].map(
|
|
34
|
+
'admin': (json['admin'].map(ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUserFromJSON)),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
export function ApiPwaTournamentPostRequestToJSON(json) {
|
|
@@ -43,6 +43,6 @@ export function ApiPwaTournamentPostRequestToJSONTyped(value, ignoreDiscriminato
|
|
|
43
43
|
}
|
|
44
44
|
return {
|
|
45
45
|
'name': value['name'],
|
|
46
|
-
'admin': (value['admin'].map(
|
|
46
|
+
'admin': (value['admin'].map(ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUserToJSON)),
|
|
47
47
|
};
|
|
48
48
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ApiUserGet200ResponseResponseObject } from './ApiUserGet200ResponseResponseObject';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -29,10 +30,10 @@ export interface ApiUserGet200Response {
|
|
|
29
30
|
message: string;
|
|
30
31
|
/**
|
|
31
32
|
*
|
|
32
|
-
* @type {
|
|
33
|
+
* @type {ApiUserGet200ResponseResponseObject}
|
|
33
34
|
* @memberof ApiUserGet200Response
|
|
34
35
|
*/
|
|
35
|
-
responseObject?:
|
|
36
|
+
responseObject?: ApiUserGet200ResponseResponseObject;
|
|
36
37
|
/**
|
|
37
38
|
*
|
|
38
39
|
* @type {number}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { ApiUserGet200ResponseResponseObjectFromJSON, ApiUserGet200ResponseResponseObjectToJSON, } from './ApiUserGet200ResponseResponseObject';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the ApiUserGet200Response interface.
|
|
16
17
|
*/
|
|
@@ -33,7 +34,7 @@ export function ApiUserGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
return {
|
|
34
35
|
'success': json['success'],
|
|
35
36
|
'message': json['message'],
|
|
36
|
-
'responseObject': json['responseObject'] == null ? undefined : json['responseObject'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiUserGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
37
38
|
'statusCode': json['statusCode'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
@@ -47,7 +48,7 @@ export function ApiUserGet200ResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
47
48
|
return {
|
|
48
49
|
'success': value['success'],
|
|
49
50
|
'message': value['message'],
|
|
50
|
-
'responseObject': value['responseObject'],
|
|
51
|
+
'responseObject': ApiUserGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
51
52
|
'statusCode': value['statusCode'],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { ApiUserGet200ResponseResponseObjectItemsInner } from './ApiUserGet200ResponseResponseObjectItemsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiUserGet200ResponseResponseObject
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiUserGet200ResponseResponseObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ApiUserGet200ResponseResponseObjectItemsInner>}
|
|
22
|
+
* @memberof ApiUserGet200ResponseResponseObject
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ApiUserGet200ResponseResponseObjectItemsInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiUserGet200ResponseResponseObject
|
|
29
|
+
*/
|
|
30
|
+
currentPage: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiUserGet200ResponseResponseObject
|
|
35
|
+
*/
|
|
36
|
+
totalItems: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiUserGet200ResponseResponseObject
|
|
41
|
+
*/
|
|
42
|
+
totalPages: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ApiUserGet200ResponseResponseObject
|
|
47
|
+
*/
|
|
48
|
+
pageSize: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ApiUserGet200ResponseResponseObject interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfApiUserGet200ResponseResponseObject(value: object): value is ApiUserGet200ResponseResponseObject;
|
|
54
|
+
export declare function ApiUserGet200ResponseResponseObjectFromJSON(json: any): ApiUserGet200ResponseResponseObject;
|
|
55
|
+
export declare function ApiUserGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserGet200ResponseResponseObject;
|
|
56
|
+
export declare function ApiUserGet200ResponseResponseObjectToJSON(json: any): ApiUserGet200ResponseResponseObject;
|
|
57
|
+
export declare function ApiUserGet200ResponseResponseObjectToJSONTyped(value?: ApiUserGet200ResponseResponseObject | 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 { ApiUserGet200ResponseResponseObjectItemsInnerFromJSON, ApiUserGet200ResponseResponseObjectItemsInnerToJSON, } from './ApiUserGet200ResponseResponseObjectItemsInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiUserGet200ResponseResponseObject interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiUserGet200ResponseResponseObject(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('currentPage' in value) || value['currentPage'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function ApiUserGet200ResponseResponseObjectFromJSON(json) {
|
|
32
|
+
return ApiUserGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ApiUserGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'items': (json['items'].map(ApiUserGet200ResponseResponseObjectItemsInnerFromJSON)),
|
|
40
|
+
'currentPage': json['currentPage'],
|
|
41
|
+
'totalItems': json['totalItems'],
|
|
42
|
+
'totalPages': json['totalPages'],
|
|
43
|
+
'pageSize': json['pageSize'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function ApiUserGet200ResponseResponseObjectToJSON(json) {
|
|
47
|
+
return ApiUserGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function ApiUserGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'items': (value['items'].map(ApiUserGet200ResponseResponseObjectItemsInnerToJSON)),
|
|
55
|
+
'currentPage': value['currentPage'],
|
|
56
|
+
'totalItems': value['totalItems'],
|
|
57
|
+
'totalPages': value['totalPages'],
|
|
58
|
+
'pageSize': value['pageSize'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 ApiUserGet200ResponseResponseObjectItemsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiUserGet200ResponseResponseObjectItemsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiUserGet200ResponseResponseObjectItemsInner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiUserGet200ResponseResponseObjectItemsInner
|
|
28
|
+
*/
|
|
29
|
+
fullname: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiUserGet200ResponseResponseObjectItemsInner
|
|
34
|
+
*/
|
|
35
|
+
username: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiUserGet200ResponseResponseObjectItemsInner
|
|
40
|
+
*/
|
|
41
|
+
email: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiUserGet200ResponseResponseObjectItemsInner
|
|
46
|
+
*/
|
|
47
|
+
role: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiUserGet200ResponseResponseObjectItemsInner
|
|
52
|
+
*/
|
|
53
|
+
status: number | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the ApiUserGet200ResponseResponseObjectItemsInner interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfApiUserGet200ResponseResponseObjectItemsInner(value: object): value is ApiUserGet200ResponseResponseObjectItemsInner;
|
|
59
|
+
export declare function ApiUserGet200ResponseResponseObjectItemsInnerFromJSON(json: any): ApiUserGet200ResponseResponseObjectItemsInner;
|
|
60
|
+
export declare function ApiUserGet200ResponseResponseObjectItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserGet200ResponseResponseObjectItemsInner;
|
|
61
|
+
export declare function ApiUserGet200ResponseResponseObjectItemsInnerToJSON(json: any): ApiUserGet200ResponseResponseObjectItemsInner;
|
|
62
|
+
export declare function ApiUserGet200ResponseResponseObjectItemsInnerToJSONTyped(value?: ApiUserGet200ResponseResponseObjectItemsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 ApiUserGet200ResponseResponseObjectItemsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiUserGet200ResponseResponseObjectItemsInner(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('fullname' in value) || value['fullname'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('role' in value) || value['role'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function ApiUserGet200ResponseResponseObjectItemsInnerFromJSON(json) {
|
|
33
|
+
return ApiUserGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ApiUserGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': json['id'],
|
|
41
|
+
'fullname': json['fullname'],
|
|
42
|
+
'username': json['username'],
|
|
43
|
+
'email': json['email'],
|
|
44
|
+
'role': json['role'],
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function ApiUserGet200ResponseResponseObjectItemsInnerToJSON(json) {
|
|
49
|
+
return ApiUserGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function ApiUserGet200ResponseResponseObjectItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'fullname': value['fullname'],
|
|
58
|
+
'username': value['username'],
|
|
59
|
+
'email': value['email'],
|
|
60
|
+
'role': value['role'],
|
|
61
|
+
'status': value['status'],
|
|
62
|
+
};
|
|
63
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,9 +7,16 @@ export * from './ApiAdminAppConfigsIdPutRequest';
|
|
|
7
7
|
export * from './ApiAdminAppConfigsPost200Response';
|
|
8
8
|
export * from './ApiAdminAppConfigsPostRequest';
|
|
9
9
|
export * from './ApiAdminNotificationBroadcastPostRequest';
|
|
10
|
+
export * from './ApiAdminPointDropsGet200Response';
|
|
11
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObject';
|
|
12
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner';
|
|
13
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin';
|
|
14
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser';
|
|
15
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt';
|
|
16
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt';
|
|
17
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner';
|
|
18
|
+
export * from './ApiAdminPointDropsGetFilterParameter';
|
|
10
19
|
export * from './ApiAdminPointDropsPost200Response';
|
|
11
|
-
export * from './ApiAdminPointDropsPost200ResponseResponseObject';
|
|
12
|
-
export * from './ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt';
|
|
13
20
|
export * from './ApiAdminPointDropsPostRequest';
|
|
14
21
|
export * from './ApiAdminSyncUserPointsPost200Response';
|
|
15
22
|
export * from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
@@ -24,6 +31,8 @@ export * from './ApiAuthLoginPost200Response';
|
|
|
24
31
|
export * from './ApiAuthLoginPost200ResponseResponseObject';
|
|
25
32
|
export * from './ApiAuthLoginPost200ResponseResponseObjectUser';
|
|
26
33
|
export * from './ApiAuthLoginPostRequest';
|
|
34
|
+
export * from './ApiAuthOneTimeLoginCodePost200Response';
|
|
35
|
+
export * from './ApiAuthOneTimeLoginCodePost200ResponseResponseObject';
|
|
27
36
|
export * from './ApiAuthRefreshPost200Response';
|
|
28
37
|
export * from './ApiAuthRefreshPost200ResponseResponseObject';
|
|
29
38
|
export * from './ApiAuthRegisterCompletePost200Response';
|
|
@@ -38,6 +47,7 @@ export * from './ApiAuthRegisterVerifyOtpPostRequest';
|
|
|
38
47
|
export * from './ApiAuthSocialMobilePost200Response';
|
|
39
48
|
export * from './ApiAuthSocialMobilePost200ResponseResponseObject';
|
|
40
49
|
export * from './ApiAuthSocialMobilePostRequest';
|
|
50
|
+
export * from './ApiAuthValidateGet200Response';
|
|
41
51
|
export * from './ApiBindCreateJwtGet200Response';
|
|
42
52
|
export * from './ApiBindCreateJwtGet200ResponseResponseObject';
|
|
43
53
|
export * from './ApiBindDiscordGet200Response';
|
|
@@ -204,7 +214,6 @@ export * from './ApiPwaTournamentIdGet200ResponseResponseObjectCreatedBy';
|
|
|
204
214
|
export * from './ApiPwaTournamentIdGet200ResponseResponseObjectTeamsInner';
|
|
205
215
|
export * from './ApiPwaTournamentPost200Response';
|
|
206
216
|
export * from './ApiPwaTournamentPostRequest';
|
|
207
|
-
export * from './ApiPwaTournamentPostRequestAdminInner';
|
|
208
217
|
export * from './ApiPwaTournamentTournamentIdPlayersGet200Response';
|
|
209
218
|
export * from './ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner';
|
|
210
219
|
export * from './ApiPwaTournamentTournamentIdPlayersPost200Response';
|
|
@@ -293,6 +302,8 @@ export * from './ApiUserFcmTokenPost200Response';
|
|
|
293
302
|
export * from './ApiUserFcmTokenPost200ResponseResponseObject';
|
|
294
303
|
export * from './ApiUserFcmTokenPostRequest';
|
|
295
304
|
export * from './ApiUserGet200Response';
|
|
305
|
+
export * from './ApiUserGet200ResponseResponseObject';
|
|
306
|
+
export * from './ApiUserGet200ResponseResponseObjectItemsInner';
|
|
296
307
|
export * from './ApiUserGetFilterParameter';
|
|
297
308
|
export * from './ApiUserLeaderboardGet200Response';
|
|
298
309
|
export * from './ApiUserLeaderboardGet200ResponseResponseObject';
|
package/dist/models/index.js
CHANGED
|
@@ -9,9 +9,16 @@ export * from './ApiAdminAppConfigsIdPutRequest';
|
|
|
9
9
|
export * from './ApiAdminAppConfigsPost200Response';
|
|
10
10
|
export * from './ApiAdminAppConfigsPostRequest';
|
|
11
11
|
export * from './ApiAdminNotificationBroadcastPostRequest';
|
|
12
|
+
export * from './ApiAdminPointDropsGet200Response';
|
|
13
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObject';
|
|
14
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInner';
|
|
15
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAdmin';
|
|
16
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerAmountPerUser';
|
|
17
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCompletedAt';
|
|
18
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerCreatedAt';
|
|
19
|
+
export * from './ApiAdminPointDropsGet200ResponseResponseObjectItemsInnerInnerTargetUsersInner';
|
|
20
|
+
export * from './ApiAdminPointDropsGetFilterParameter';
|
|
12
21
|
export * from './ApiAdminPointDropsPost200Response';
|
|
13
|
-
export * from './ApiAdminPointDropsPost200ResponseResponseObject';
|
|
14
|
-
export * from './ApiAdminPointDropsPost200ResponseResponseObjectCreatedAt';
|
|
15
22
|
export * from './ApiAdminPointDropsPostRequest';
|
|
16
23
|
export * from './ApiAdminSyncUserPointsPost200Response';
|
|
17
24
|
export * from './ApiAdminSyncUserPointsPost200ResponseResponseObject';
|
|
@@ -26,6 +33,8 @@ export * from './ApiAuthLoginPost200Response';
|
|
|
26
33
|
export * from './ApiAuthLoginPost200ResponseResponseObject';
|
|
27
34
|
export * from './ApiAuthLoginPost200ResponseResponseObjectUser';
|
|
28
35
|
export * from './ApiAuthLoginPostRequest';
|
|
36
|
+
export * from './ApiAuthOneTimeLoginCodePost200Response';
|
|
37
|
+
export * from './ApiAuthOneTimeLoginCodePost200ResponseResponseObject';
|
|
29
38
|
export * from './ApiAuthRefreshPost200Response';
|
|
30
39
|
export * from './ApiAuthRefreshPost200ResponseResponseObject';
|
|
31
40
|
export * from './ApiAuthRegisterCompletePost200Response';
|
|
@@ -40,6 +49,7 @@ export * from './ApiAuthRegisterVerifyOtpPostRequest';
|
|
|
40
49
|
export * from './ApiAuthSocialMobilePost200Response';
|
|
41
50
|
export * from './ApiAuthSocialMobilePost200ResponseResponseObject';
|
|
42
51
|
export * from './ApiAuthSocialMobilePostRequest';
|
|
52
|
+
export * from './ApiAuthValidateGet200Response';
|
|
43
53
|
export * from './ApiBindCreateJwtGet200Response';
|
|
44
54
|
export * from './ApiBindCreateJwtGet200ResponseResponseObject';
|
|
45
55
|
export * from './ApiBindDiscordGet200Response';
|
|
@@ -206,7 +216,6 @@ export * from './ApiPwaTournamentIdGet200ResponseResponseObjectCreatedBy';
|
|
|
206
216
|
export * from './ApiPwaTournamentIdGet200ResponseResponseObjectTeamsInner';
|
|
207
217
|
export * from './ApiPwaTournamentPost200Response';
|
|
208
218
|
export * from './ApiPwaTournamentPostRequest';
|
|
209
|
-
export * from './ApiPwaTournamentPostRequestAdminInner';
|
|
210
219
|
export * from './ApiPwaTournamentTournamentIdPlayersGet200Response';
|
|
211
220
|
export * from './ApiPwaTournamentTournamentIdPlayersGet200ResponseResponseObjectInner';
|
|
212
221
|
export * from './ApiPwaTournamentTournamentIdPlayersPost200Response';
|
|
@@ -295,6 +304,8 @@ export * from './ApiUserFcmTokenPost200Response';
|
|
|
295
304
|
export * from './ApiUserFcmTokenPost200ResponseResponseObject';
|
|
296
305
|
export * from './ApiUserFcmTokenPostRequest';
|
|
297
306
|
export * from './ApiUserGet200Response';
|
|
307
|
+
export * from './ApiUserGet200ResponseResponseObject';
|
|
308
|
+
export * from './ApiUserGet200ResponseResponseObjectItemsInner';
|
|
298
309
|
export * from './ApiUserGetFilterParameter';
|
|
299
310
|
export * from './ApiUserLeaderboardGet200Response';
|
|
300
311
|
export * from './ApiUserLeaderboardGet200ResponseResponseObject';
|