@drxsuperapp/sdk 1.1.491 → 1.1.493
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 +5 -0
- package/apis/NotificationManagementApi.ts +6 -3
- package/apis/SocialBindApi.ts +152 -0
- package/apis/index.ts +1 -0
- package/deploy.log +20 -9
- package/dist/apis/NotificationManagementApi.d.ts +3 -3
- package/dist/apis/NotificationManagementApi.js +2 -2
- package/dist/apis/SocialBindApi.d.ts +41 -0
- package/dist/apis/SocialBindApi.js +97 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApiBindDiscordGet200Response.d.ts +51 -0
- package/dist/models/ApiBindDiscordGet200Response.js +54 -0
- package/dist/models/ApiBindDiscordGet200ResponseResponseObject.d.ts +62 -0
- package/dist/models/ApiBindDiscordGet200ResponseResponseObject.js +64 -0
- package/dist/models/ApiBindDiscordPreconnectGet200Response.d.ts +51 -0
- package/dist/models/ApiBindDiscordPreconnectGet200Response.js +54 -0
- package/dist/models/ApiBindDiscordPreconnectGet200ResponseResponseObject.d.ts +32 -0
- package/dist/models/ApiBindDiscordPreconnectGet200ResponseResponseObject.js +43 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/models/ApiBindDiscordGet200Response.ts +100 -0
- package/models/ApiBindDiscordGet200ResponseResponseObject.ts +106 -0
- package/models/ApiBindDiscordPreconnectGet200Response.ts +100 -0
- package/models/ApiBindDiscordPreconnectGet200ResponseResponseObject.ts +66 -0
- package/models/index.ts +4 -0
- package/package.json +1 -1
|
@@ -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 ApiBindDiscordGet200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiBindDiscordGet200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
platform: ApiBindDiscordGet200ResponseResponseObjectPlatformEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
userId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {{ [key: string]: any | null; }}
|
|
39
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
40
|
+
*/
|
|
41
|
+
data: {
|
|
42
|
+
[key: string]: any | null;
|
|
43
|
+
} | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const ApiBindDiscordGet200ResponseResponseObjectPlatformEnum: {
|
|
49
|
+
readonly Discord: "DISCORD";
|
|
50
|
+
readonly Telegram: "TELEGRAM";
|
|
51
|
+
readonly Instagram: "INSTAGRAM";
|
|
52
|
+
readonly X: "X";
|
|
53
|
+
};
|
|
54
|
+
export type ApiBindDiscordGet200ResponseResponseObjectPlatformEnum = typeof ApiBindDiscordGet200ResponseResponseObjectPlatformEnum[keyof typeof ApiBindDiscordGet200ResponseResponseObjectPlatformEnum];
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the ApiBindDiscordGet200ResponseResponseObject interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfApiBindDiscordGet200ResponseResponseObject(value: object): value is ApiBindDiscordGet200ResponseResponseObject;
|
|
59
|
+
export declare function ApiBindDiscordGet200ResponseResponseObjectFromJSON(json: any): ApiBindDiscordGet200ResponseResponseObject;
|
|
60
|
+
export declare function ApiBindDiscordGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBindDiscordGet200ResponseResponseObject;
|
|
61
|
+
export declare function ApiBindDiscordGet200ResponseResponseObjectToJSON(json: any): ApiBindDiscordGet200ResponseResponseObject;
|
|
62
|
+
export declare function ApiBindDiscordGet200ResponseResponseObjectToJSONTyped(value?: ApiBindDiscordGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ApiBindDiscordGet200ResponseResponseObjectPlatformEnum = {
|
|
18
|
+
Discord: 'DISCORD',
|
|
19
|
+
Telegram: 'TELEGRAM',
|
|
20
|
+
Instagram: 'INSTAGRAM',
|
|
21
|
+
X: 'X'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ApiBindDiscordGet200ResponseResponseObject interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfApiBindDiscordGet200ResponseResponseObject(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('platform' in value) || value['platform'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function ApiBindDiscordGet200ResponseResponseObjectFromJSON(json) {
|
|
38
|
+
return ApiBindDiscordGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ApiBindDiscordGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'platform': json['platform'],
|
|
47
|
+
'userId': json['userId'],
|
|
48
|
+
'data': json['data'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function ApiBindDiscordGet200ResponseResponseObjectToJSON(json) {
|
|
52
|
+
return ApiBindDiscordGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function ApiBindDiscordGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'platform': value['platform'],
|
|
61
|
+
'userId': value['userId'],
|
|
62
|
+
'data': value['data'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiBindDiscordPreconnectGet200ResponseResponseObject } from './ApiBindDiscordPreconnectGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiBindDiscordPreconnectGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiBindDiscordPreconnectGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiBindDiscordPreconnectGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiBindDiscordPreconnectGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiBindDiscordPreconnectGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiBindDiscordPreconnectGet200Response(value: object): value is ApiBindDiscordPreconnectGet200Response;
|
|
48
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseFromJSON(json: any): ApiBindDiscordPreconnectGet200Response;
|
|
49
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBindDiscordPreconnectGet200Response;
|
|
50
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseToJSON(json: any): ApiBindDiscordPreconnectGet200Response;
|
|
51
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseToJSONTyped(value?: ApiBindDiscordPreconnectGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSON, ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSON, } from './ApiBindDiscordPreconnectGet200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiBindDiscordPreconnectGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiBindDiscordPreconnectGet200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiBindDiscordPreconnectGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiBindDiscordPreconnectGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiBindDiscordPreconnectGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiBindDiscordPreconnectGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiBindDiscordPreconnectGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiBindDiscordPreconnectGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiBindDiscordPreconnectGet200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiBindDiscordPreconnectGet200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiBindDiscordPreconnectGet200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiBindDiscordPreconnectGet200ResponseResponseObject interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiBindDiscordPreconnectGet200ResponseResponseObject(value: object): value is ApiBindDiscordPreconnectGet200ResponseResponseObject;
|
|
29
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSON(json: any): ApiBindDiscordPreconnectGet200ResponseResponseObject;
|
|
30
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBindDiscordPreconnectGet200ResponseResponseObject;
|
|
31
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSON(json: any): ApiBindDiscordPreconnectGet200ResponseResponseObject;
|
|
32
|
+
export declare function ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSONTyped(value?: ApiBindDiscordPreconnectGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ApiBindDiscordPreconnectGet200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiBindDiscordPreconnectGet200ResponseResponseObject(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSON(json) {
|
|
23
|
+
return ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'url': json['url'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSON(json) {
|
|
34
|
+
return ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'url': value['url'],
|
|
42
|
+
};
|
|
43
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -34,6 +34,10 @@ export * from './ApiAuthRegisterVerifyOtpPostRequest';
|
|
|
34
34
|
export * from './ApiAuthSocialMobilePost200Response';
|
|
35
35
|
export * from './ApiAuthSocialMobilePost200ResponseResponseObject';
|
|
36
36
|
export * from './ApiAuthSocialMobilePostRequest';
|
|
37
|
+
export * from './ApiBindDiscordGet200Response';
|
|
38
|
+
export * from './ApiBindDiscordGet200ResponseResponseObject';
|
|
39
|
+
export * from './ApiBindDiscordPreconnectGet200Response';
|
|
40
|
+
export * from './ApiBindDiscordPreconnectGet200ResponseResponseObject';
|
|
37
41
|
export * from './ApiCategoryGet200Response';
|
|
38
42
|
export * from './ApiCategoryGet200ResponseResponseObjectInner';
|
|
39
43
|
export * from './ApiCategoryPut200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -36,6 +36,10 @@ export * from './ApiAuthRegisterVerifyOtpPostRequest';
|
|
|
36
36
|
export * from './ApiAuthSocialMobilePost200Response';
|
|
37
37
|
export * from './ApiAuthSocialMobilePost200ResponseResponseObject';
|
|
38
38
|
export * from './ApiAuthSocialMobilePostRequest';
|
|
39
|
+
export * from './ApiBindDiscordGet200Response';
|
|
40
|
+
export * from './ApiBindDiscordGet200ResponseResponseObject';
|
|
41
|
+
export * from './ApiBindDiscordPreconnectGet200Response';
|
|
42
|
+
export * from './ApiBindDiscordPreconnectGet200ResponseResponseObject';
|
|
39
43
|
export * from './ApiCategoryGet200Response';
|
|
40
44
|
export * from './ApiCategoryGet200ResponseResponseObjectInner';
|
|
41
45
|
export * from './ApiCategoryPut200Response';
|
|
@@ -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 { ApiBindDiscordGet200ResponseResponseObject } from './ApiBindDiscordGet200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiBindDiscordGet200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiBindDiscordGet200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiBindDiscordGet200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiBindDiscordGet200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiBindDiscordGet200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiBindDiscordGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiBindDiscordGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiBindDiscordGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiBindDiscordGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiBindDiscordGet200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiBindDiscordGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiBindDiscordGet200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiBindDiscordGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiBindDiscordGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiBindDiscordGet200Response(value: object): value is ApiBindDiscordGet200Response {
|
|
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 ApiBindDiscordGet200ResponseFromJSON(json: any): ApiBindDiscordGet200Response {
|
|
67
|
+
return ApiBindDiscordGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiBindDiscordGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBindDiscordGet200Response {
|
|
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 : ApiBindDiscordGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiBindDiscordGet200ResponseToJSON(json: any): ApiBindDiscordGet200Response {
|
|
84
|
+
return ApiBindDiscordGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiBindDiscordGet200ResponseToJSONTyped(value?: ApiBindDiscordGet200Response | 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': ApiBindDiscordGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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 ApiBindDiscordGet200ResponseResponseObject
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiBindDiscordGet200ResponseResponseObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
32
|
+
*/
|
|
33
|
+
platform: ApiBindDiscordGet200ResponseResponseObjectPlatformEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
38
|
+
*/
|
|
39
|
+
userId: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {{ [key: string]: any | null; }}
|
|
43
|
+
* @memberof ApiBindDiscordGet200ResponseResponseObject
|
|
44
|
+
*/
|
|
45
|
+
data: { [key: string]: any | null; } | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export const ApiBindDiscordGet200ResponseResponseObjectPlatformEnum = {
|
|
53
|
+
Discord: 'DISCORD',
|
|
54
|
+
Telegram: 'TELEGRAM',
|
|
55
|
+
Instagram: 'INSTAGRAM',
|
|
56
|
+
X: 'X'
|
|
57
|
+
} as const;
|
|
58
|
+
export type ApiBindDiscordGet200ResponseResponseObjectPlatformEnum = typeof ApiBindDiscordGet200ResponseResponseObjectPlatformEnum[keyof typeof ApiBindDiscordGet200ResponseResponseObjectPlatformEnum];
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ApiBindDiscordGet200ResponseResponseObject interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfApiBindDiscordGet200ResponseResponseObject(value: object): value is ApiBindDiscordGet200ResponseResponseObject {
|
|
65
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
66
|
+
if (!('platform' in value) || value['platform'] === undefined) return false;
|
|
67
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ApiBindDiscordGet200ResponseResponseObjectFromJSON(json: any): ApiBindDiscordGet200ResponseResponseObject {
|
|
73
|
+
return ApiBindDiscordGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ApiBindDiscordGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBindDiscordGet200ResponseResponseObject {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'id': json['id'],
|
|
83
|
+
'platform': json['platform'],
|
|
84
|
+
'userId': json['userId'],
|
|
85
|
+
'data': json['data'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function ApiBindDiscordGet200ResponseResponseObjectToJSON(json: any): ApiBindDiscordGet200ResponseResponseObject {
|
|
90
|
+
return ApiBindDiscordGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function ApiBindDiscordGet200ResponseResponseObjectToJSONTyped(value?: ApiBindDiscordGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'id': value['id'],
|
|
101
|
+
'platform': value['platform'],
|
|
102
|
+
'userId': value['userId'],
|
|
103
|
+
'data': value['data'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -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 { ApiBindDiscordPreconnectGet200ResponseResponseObject } from './ApiBindDiscordPreconnectGet200ResponseResponseObject';
|
|
17
|
+
import {
|
|
18
|
+
ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSON,
|
|
19
|
+
ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSONTyped,
|
|
20
|
+
ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSON,
|
|
21
|
+
ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSONTyped,
|
|
22
|
+
} from './ApiBindDiscordPreconnectGet200ResponseResponseObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ApiBindDiscordPreconnectGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiBindDiscordPreconnectGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
34
|
+
*/
|
|
35
|
+
success: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
40
|
+
*/
|
|
41
|
+
message: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ApiBindDiscordPreconnectGet200ResponseResponseObject}
|
|
45
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
46
|
+
*/
|
|
47
|
+
responseObject?: ApiBindDiscordPreconnectGet200ResponseResponseObject;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ApiBindDiscordPreconnectGet200Response
|
|
52
|
+
*/
|
|
53
|
+
statusCode: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiBindDiscordPreconnectGet200Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfApiBindDiscordPreconnectGet200Response(value: object): value is ApiBindDiscordPreconnectGet200Response {
|
|
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 ApiBindDiscordPreconnectGet200ResponseFromJSON(json: any): ApiBindDiscordPreconnectGet200Response {
|
|
67
|
+
return ApiBindDiscordPreconnectGet200ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function ApiBindDiscordPreconnectGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiBindDiscordPreconnectGet200Response {
|
|
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 : ApiBindDiscordPreconnectGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
+
'statusCode': json['statusCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function ApiBindDiscordPreconnectGet200ResponseToJSON(json: any): ApiBindDiscordPreconnectGet200Response {
|
|
84
|
+
return ApiBindDiscordPreconnectGet200ResponseToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function ApiBindDiscordPreconnectGet200ResponseToJSONTyped(value?: ApiBindDiscordPreconnectGet200Response | 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': ApiBindDiscordPreconnectGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
+
'statusCode': value['statusCode'],
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|