@drxsuperapp/sdk 1.1.208 → 1.1.215
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 +7 -0
- package/apis/AuthenticationApi.ts +156 -0
- package/apis/EsportApi.ts +5 -0
- package/deploy.log +26 -9
- package/dist/apis/AuthenticationApi.d.ts +40 -1
- package/dist/apis/AuthenticationApi.js +106 -1
- package/dist/apis/EsportApi.d.ts +1 -0
- package/dist/apis/EsportApi.js +3 -0
- package/dist/models/ApiAuthRegisterCompletePostRequest.d.ts +38 -0
- package/dist/models/ApiAuthRegisterCompletePostRequest.js +47 -0
- package/dist/models/ApiAuthRegisterStartPost200Response.d.ts +51 -0
- package/dist/models/ApiAuthRegisterStartPost200Response.js +54 -0
- package/dist/models/ApiAuthRegisterStartPost200ResponseResponseObject.d.ts +44 -0
- package/dist/models/ApiAuthRegisterStartPost200ResponseResponseObject.js +51 -0
- package/dist/models/ApiAuthRegisterStartPostRequest.d.ts +44 -0
- package/dist/models/ApiAuthRegisterStartPostRequest.js +51 -0
- package/dist/models/ApiAuthRegisterVerifyOtpPost200Response.d.ts +51 -0
- package/dist/models/ApiAuthRegisterVerifyOtpPost200Response.js +54 -0
- package/dist/models/ApiAuthRegisterVerifyOtpPost200ResponseResponseObject.d.ts +38 -0
- package/dist/models/ApiAuthRegisterVerifyOtpPost200ResponseResponseObject.js +47 -0
- package/dist/models/ApiAuthRegisterVerifyOtpPostRequest.d.ts +38 -0
- package/dist/models/ApiAuthRegisterVerifyOtpPostRequest.js +47 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/models/ApiAuthRegisterCompletePostRequest.ts +75 -0
- package/models/ApiAuthRegisterStartPost200Response.ts +100 -0
- package/models/ApiAuthRegisterStartPost200ResponseResponseObject.ts +84 -0
- package/models/ApiAuthRegisterStartPostRequest.ts +84 -0
- package/models/ApiAuthRegisterVerifyOtpPost200Response.ts +100 -0
- package/models/ApiAuthRegisterVerifyOtpPost200ResponseResponseObject.ts +75 -0
- package/models/ApiAuthRegisterVerifyOtpPostRequest.ts +75 -0
- package/models/index.ts +7 -0
- package/package.json +1 -1
|
@@ -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 { ApiAuthRegisterStartPost200ResponseResponseObjectFromJSON, ApiAuthRegisterStartPost200ResponseResponseObjectToJSON, } from './ApiAuthRegisterStartPost200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiAuthRegisterStartPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiAuthRegisterStartPost200Response(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 ApiAuthRegisterStartPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiAuthRegisterStartPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiAuthRegisterStartPost200ResponseFromJSONTyped(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 : ApiAuthRegisterStartPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiAuthRegisterStartPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiAuthRegisterStartPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiAuthRegisterStartPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiAuthRegisterStartPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiAuthRegisterStartPost200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiAuthRegisterStartPost200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiAuthRegisterStartPost200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiAuthRegisterStartPost200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiAuthRegisterStartPost200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
expiresAt: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiAuthRegisterStartPost200ResponseResponseObject interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiAuthRegisterStartPost200ResponseResponseObject(value: object): value is ApiAuthRegisterStartPost200ResponseResponseObject;
|
|
41
|
+
export declare function ApiAuthRegisterStartPost200ResponseResponseObjectFromJSON(json: any): ApiAuthRegisterStartPost200ResponseResponseObject;
|
|
42
|
+
export declare function ApiAuthRegisterStartPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRegisterStartPost200ResponseResponseObject;
|
|
43
|
+
export declare function ApiAuthRegisterStartPost200ResponseResponseObjectToJSON(json: any): ApiAuthRegisterStartPost200ResponseResponseObject;
|
|
44
|
+
export declare function ApiAuthRegisterStartPost200ResponseResponseObjectToJSONTyped(value?: ApiAuthRegisterStartPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ApiAuthRegisterStartPost200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiAuthRegisterStartPost200ResponseResponseObject(value) {
|
|
18
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiAuthRegisterStartPost200ResponseResponseObjectFromJSON(json) {
|
|
27
|
+
return ApiAuthRegisterStartPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiAuthRegisterStartPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'message': json['message'],
|
|
35
|
+
'email': json['email'],
|
|
36
|
+
'expiresAt': json['expiresAt'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ApiAuthRegisterStartPost200ResponseResponseObjectToJSON(json) {
|
|
40
|
+
return ApiAuthRegisterStartPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ApiAuthRegisterStartPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'message': value['message'],
|
|
48
|
+
'email': value['email'],
|
|
49
|
+
'expiresAt': value['expiresAt'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ApiAuthRegisterStartPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiAuthRegisterStartPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiAuthRegisterStartPostRequest
|
|
22
|
+
*/
|
|
23
|
+
username: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiAuthRegisterStartPostRequest
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiAuthRegisterStartPostRequest
|
|
34
|
+
*/
|
|
35
|
+
fullName: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiAuthRegisterStartPostRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiAuthRegisterStartPostRequest(value: object): value is ApiAuthRegisterStartPostRequest;
|
|
41
|
+
export declare function ApiAuthRegisterStartPostRequestFromJSON(json: any): ApiAuthRegisterStartPostRequest;
|
|
42
|
+
export declare function ApiAuthRegisterStartPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRegisterStartPostRequest;
|
|
43
|
+
export declare function ApiAuthRegisterStartPostRequestToJSON(json: any): ApiAuthRegisterStartPostRequest;
|
|
44
|
+
export declare function ApiAuthRegisterStartPostRequestToJSONTyped(value?: ApiAuthRegisterStartPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ApiAuthRegisterStartPostRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiAuthRegisterStartPostRequest(value) {
|
|
18
|
+
if (!('username' in value) || value['username'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ApiAuthRegisterStartPostRequestFromJSON(json) {
|
|
27
|
+
return ApiAuthRegisterStartPostRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ApiAuthRegisterStartPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'username': json['username'],
|
|
35
|
+
'email': json['email'],
|
|
36
|
+
'fullName': json['fullName'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ApiAuthRegisterStartPostRequestToJSON(json) {
|
|
40
|
+
return ApiAuthRegisterStartPostRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ApiAuthRegisterStartPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'username': value['username'],
|
|
48
|
+
'email': value['email'],
|
|
49
|
+
'fullName': value['fullName'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 { ApiAuthRegisterVerifyOtpPost200ResponseResponseObject } from './ApiAuthRegisterVerifyOtpPost200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiAuthRegisterVerifyOtpPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiAuthRegisterVerifyOtpPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiAuthRegisterVerifyOtpPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiAuthRegisterVerifyOtpPost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiAuthRegisterVerifyOtpPost200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiAuthRegisterVerifyOtpPost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiAuthRegisterVerifyOtpPost200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiAuthRegisterVerifyOtpPost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiAuthRegisterVerifyOtpPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiAuthRegisterVerifyOtpPost200Response(value: object): value is ApiAuthRegisterVerifyOtpPost200Response;
|
|
48
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseFromJSON(json: any): ApiAuthRegisterVerifyOtpPost200Response;
|
|
49
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRegisterVerifyOtpPost200Response;
|
|
50
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseToJSON(json: any): ApiAuthRegisterVerifyOtpPost200Response;
|
|
51
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseToJSONTyped(value?: ApiAuthRegisterVerifyOtpPost200Response | 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 { ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSON, ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSON, } from './ApiAuthRegisterVerifyOtpPost200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiAuthRegisterVerifyOtpPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiAuthRegisterVerifyOtpPost200Response(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 ApiAuthRegisterVerifyOtpPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiAuthRegisterVerifyOtpPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseFromJSONTyped(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 : ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiAuthRegisterVerifyOtpPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiAuthRegisterVerifyOtpPost200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiAuthRegisterVerifyOtpPost200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiAuthRegisterVerifyOtpPost200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ApiAuthRegisterVerifyOtpPost200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
verified: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiAuthRegisterVerifyOtpPost200ResponseResponseObject interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiAuthRegisterVerifyOtpPost200ResponseResponseObject(value: object): value is ApiAuthRegisterVerifyOtpPost200ResponseResponseObject;
|
|
35
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSON(json: any): ApiAuthRegisterVerifyOtpPost200ResponseResponseObject;
|
|
36
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRegisterVerifyOtpPost200ResponseResponseObject;
|
|
37
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSON(json: any): ApiAuthRegisterVerifyOtpPost200ResponseResponseObject;
|
|
38
|
+
export declare function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSONTyped(value?: ApiAuthRegisterVerifyOtpPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 ApiAuthRegisterVerifyOtpPost200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiAuthRegisterVerifyOtpPost200ResponseResponseObject(value) {
|
|
18
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('verified' in value) || value['verified'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSON(json) {
|
|
25
|
+
return ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'message': json['message'],
|
|
33
|
+
'verified': json['verified'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSON(json) {
|
|
37
|
+
return ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiAuthRegisterVerifyOtpPost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
'verified': value['verified'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiAuthRegisterVerifyOtpPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiAuthRegisterVerifyOtpPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiAuthRegisterVerifyOtpPostRequest
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiAuthRegisterVerifyOtpPostRequest
|
|
28
|
+
*/
|
|
29
|
+
otp: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiAuthRegisterVerifyOtpPostRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiAuthRegisterVerifyOtpPostRequest(value: object): value is ApiAuthRegisterVerifyOtpPostRequest;
|
|
35
|
+
export declare function ApiAuthRegisterVerifyOtpPostRequestFromJSON(json: any): ApiAuthRegisterVerifyOtpPostRequest;
|
|
36
|
+
export declare function ApiAuthRegisterVerifyOtpPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRegisterVerifyOtpPostRequest;
|
|
37
|
+
export declare function ApiAuthRegisterVerifyOtpPostRequestToJSON(json: any): ApiAuthRegisterVerifyOtpPostRequest;
|
|
38
|
+
export declare function ApiAuthRegisterVerifyOtpPostRequestToJSONTyped(value?: ApiAuthRegisterVerifyOtpPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 ApiAuthRegisterVerifyOtpPostRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiAuthRegisterVerifyOtpPostRequest(value) {
|
|
18
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('otp' in value) || value['otp'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiAuthRegisterVerifyOtpPostRequestFromJSON(json) {
|
|
25
|
+
return ApiAuthRegisterVerifyOtpPostRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiAuthRegisterVerifyOtpPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'email': json['email'],
|
|
33
|
+
'otp': json['otp'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiAuthRegisterVerifyOtpPostRequestToJSON(json) {
|
|
37
|
+
return ApiAuthRegisterVerifyOtpPostRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiAuthRegisterVerifyOtpPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'email': value['email'],
|
|
45
|
+
'otp': value['otp'],
|
|
46
|
+
};
|
|
47
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -4,6 +4,13 @@ export * from './ApiAuthLoginPost200ResponseResponseObjectUser';
|
|
|
4
4
|
export * from './ApiAuthLoginPostRequest';
|
|
5
5
|
export * from './ApiAuthRefreshPost200Response';
|
|
6
6
|
export * from './ApiAuthRefreshPost200ResponseResponseObject';
|
|
7
|
+
export * from './ApiAuthRegisterCompletePostRequest';
|
|
8
|
+
export * from './ApiAuthRegisterStartPost200Response';
|
|
9
|
+
export * from './ApiAuthRegisterStartPost200ResponseResponseObject';
|
|
10
|
+
export * from './ApiAuthRegisterStartPostRequest';
|
|
11
|
+
export * from './ApiAuthRegisterVerifyOtpPost200Response';
|
|
12
|
+
export * from './ApiAuthRegisterVerifyOtpPost200ResponseResponseObject';
|
|
13
|
+
export * from './ApiAuthRegisterVerifyOtpPostRequest';
|
|
7
14
|
export * from './ApiAuthSocialMobilePost200Response';
|
|
8
15
|
export * from './ApiAuthSocialMobilePost200ResponseResponseObject';
|
|
9
16
|
export * from './ApiAuthSocialMobilePostRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -6,6 +6,13 @@ export * from './ApiAuthLoginPost200ResponseResponseObjectUser';
|
|
|
6
6
|
export * from './ApiAuthLoginPostRequest';
|
|
7
7
|
export * from './ApiAuthRefreshPost200Response';
|
|
8
8
|
export * from './ApiAuthRefreshPost200ResponseResponseObject';
|
|
9
|
+
export * from './ApiAuthRegisterCompletePostRequest';
|
|
10
|
+
export * from './ApiAuthRegisterStartPost200Response';
|
|
11
|
+
export * from './ApiAuthRegisterStartPost200ResponseResponseObject';
|
|
12
|
+
export * from './ApiAuthRegisterStartPostRequest';
|
|
13
|
+
export * from './ApiAuthRegisterVerifyOtpPost200Response';
|
|
14
|
+
export * from './ApiAuthRegisterVerifyOtpPost200ResponseResponseObject';
|
|
15
|
+
export * from './ApiAuthRegisterVerifyOtpPostRequest';
|
|
9
16
|
export * from './ApiAuthSocialMobilePost200Response';
|
|
10
17
|
export * from './ApiAuthSocialMobilePost200ResponseResponseObject';
|
|
11
18
|
export * from './ApiAuthSocialMobilePostRequest';
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ApiAuthRegisterCompletePostRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ApiAuthRegisterCompletePostRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ApiAuthRegisterCompletePostRequest
|
|
26
|
+
*/
|
|
27
|
+
email: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ApiAuthRegisterCompletePostRequest
|
|
32
|
+
*/
|
|
33
|
+
password: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ApiAuthRegisterCompletePostRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfApiAuthRegisterCompletePostRequest(value: object): value is ApiAuthRegisterCompletePostRequest {
|
|
40
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
41
|
+
if (!('password' in value) || value['password'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ApiAuthRegisterCompletePostRequestFromJSON(json: any): ApiAuthRegisterCompletePostRequest {
|
|
46
|
+
return ApiAuthRegisterCompletePostRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ApiAuthRegisterCompletePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRegisterCompletePostRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'email': json['email'],
|
|
56
|
+
'password': json['password'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ApiAuthRegisterCompletePostRequestToJSON(json: any): ApiAuthRegisterCompletePostRequest {
|
|
61
|
+
return ApiAuthRegisterCompletePostRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ApiAuthRegisterCompletePostRequestToJSONTyped(value?: ApiAuthRegisterCompletePostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'email': value['email'],
|
|
72
|
+
'password': value['password'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|