@drxsuperapp/sdk 1.1.205 → 1.1.207
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 +3 -4
- package/apis/AuthenticationApi.ts +39 -89
- package/deploy.log +21 -19
- package/dist/apis/AuthenticationApi.d.ts +14 -27
- package/dist/apis/AuthenticationApi.js +30 -65
- package/dist/models/ApiAuthSocialMobilePost200Response.d.ts +51 -0
- package/dist/models/{ApiAuthGoogleCallbackPost200Response.js → ApiAuthSocialMobilePost200Response.js} +11 -11
- package/dist/models/ApiAuthSocialMobilePost200ResponseResponseObject.d.ts +51 -0
- package/dist/models/{ApiAuthGoogleCallbackPost200ResponseResponseObject.js → ApiAuthSocialMobilePost200ResponseResponseObject.js} +8 -8
- package/dist/models/ApiAuthSocialMobilePostRequest.d.ts +52 -0
- package/dist/models/ApiAuthSocialMobilePostRequest.js +54 -0
- package/dist/models/index.d.ts +3 -4
- package/dist/models/index.js +3 -4
- package/models/ApiAuthSocialMobilePost200Response.ts +100 -0
- package/models/{ApiAuthGoogleCallbackPost200ResponseResponseObject.ts → ApiAuthSocialMobilePost200ResponseResponseObject.ts} +14 -14
- package/models/ApiAuthSocialMobilePostRequest.ts +93 -0
- package/models/index.ts +3 -4
- package/package.json +1 -1
- package/dist/models/ApiAuthGoogleCallbackPost200Response.d.ts +0 -51
- package/dist/models/ApiAuthGoogleCallbackPost200ResponseResponseObject.d.ts +0 -51
- package/dist/models/ApiAuthGoogleCallbackPostRequest.d.ts +0 -38
- package/dist/models/ApiAuthGoogleCallbackPostRequest.js +0 -47
- package/dist/models/ApiAuthGoogleMobilePostRequest.d.ts +0 -32
- package/dist/models/ApiAuthGoogleMobilePostRequest.js +0 -43
- package/models/ApiAuthGoogleCallbackPost200Response.ts +0 -100
- package/models/ApiAuthGoogleCallbackPostRequest.ts +0 -75
- package/models/ApiAuthGoogleMobilePostRequest.ts +0 -66
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DRX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ApiAuthLoginPost200ResponseResponseObjectUser } from './ApiAuthLoginPost200ResponseResponseObjectUser';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ApiAuthGoogleCallbackPost200ResponseResponseObject
|
|
17
|
-
*/
|
|
18
|
-
export interface ApiAuthGoogleCallbackPost200ResponseResponseObject {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ApiAuthLoginPost200ResponseResponseObjectUser}
|
|
22
|
-
* @memberof ApiAuthGoogleCallbackPost200ResponseResponseObject
|
|
23
|
-
*/
|
|
24
|
-
user: ApiAuthLoginPost200ResponseResponseObjectUser;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ApiAuthGoogleCallbackPost200ResponseResponseObject
|
|
29
|
-
*/
|
|
30
|
-
accessToken: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ApiAuthGoogleCallbackPost200ResponseResponseObject
|
|
35
|
-
*/
|
|
36
|
-
refreshToken: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof ApiAuthGoogleCallbackPost200ResponseResponseObject
|
|
41
|
-
*/
|
|
42
|
-
isNewUser: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ApiAuthGoogleCallbackPost200ResponseResponseObject interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfApiAuthGoogleCallbackPost200ResponseResponseObject(value: object): value is ApiAuthGoogleCallbackPost200ResponseResponseObject;
|
|
48
|
-
export declare function ApiAuthGoogleCallbackPost200ResponseResponseObjectFromJSON(json: any): ApiAuthGoogleCallbackPost200ResponseResponseObject;
|
|
49
|
-
export declare function ApiAuthGoogleCallbackPost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthGoogleCallbackPost200ResponseResponseObject;
|
|
50
|
-
export declare function ApiAuthGoogleCallbackPost200ResponseResponseObjectToJSON(json: any): ApiAuthGoogleCallbackPost200ResponseResponseObject;
|
|
51
|
-
export declare function ApiAuthGoogleCallbackPost200ResponseResponseObjectToJSONTyped(value?: ApiAuthGoogleCallbackPost200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DRX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ApiAuthGoogleCallbackPostRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiAuthGoogleCallbackPostRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiAuthGoogleCallbackPostRequest
|
|
22
|
-
*/
|
|
23
|
-
code: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ApiAuthGoogleCallbackPostRequest
|
|
28
|
-
*/
|
|
29
|
-
redirectUri: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ApiAuthGoogleCallbackPostRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfApiAuthGoogleCallbackPostRequest(value: object): value is ApiAuthGoogleCallbackPostRequest;
|
|
35
|
-
export declare function ApiAuthGoogleCallbackPostRequestFromJSON(json: any): ApiAuthGoogleCallbackPostRequest;
|
|
36
|
-
export declare function ApiAuthGoogleCallbackPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthGoogleCallbackPostRequest;
|
|
37
|
-
export declare function ApiAuthGoogleCallbackPostRequestToJSON(json: any): ApiAuthGoogleCallbackPostRequest;
|
|
38
|
-
export declare function ApiAuthGoogleCallbackPostRequestToJSONTyped(value?: ApiAuthGoogleCallbackPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* DRX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the ApiAuthGoogleCallbackPostRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfApiAuthGoogleCallbackPostRequest(value) {
|
|
18
|
-
if (!('code' in value) || value['code'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('redirectUri' in value) || value['redirectUri'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function ApiAuthGoogleCallbackPostRequestFromJSON(json) {
|
|
25
|
-
return ApiAuthGoogleCallbackPostRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function ApiAuthGoogleCallbackPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'code': json['code'],
|
|
33
|
-
'redirectUri': json['redirectUri'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function ApiAuthGoogleCallbackPostRequestToJSON(json) {
|
|
37
|
-
return ApiAuthGoogleCallbackPostRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function ApiAuthGoogleCallbackPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'code': value['code'],
|
|
45
|
-
'redirectUri': value['redirectUri'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DRX API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ApiAuthGoogleMobilePostRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface ApiAuthGoogleMobilePostRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ApiAuthGoogleMobilePostRequest
|
|
22
|
-
*/
|
|
23
|
-
idToken: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ApiAuthGoogleMobilePostRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfApiAuthGoogleMobilePostRequest(value: object): value is ApiAuthGoogleMobilePostRequest;
|
|
29
|
-
export declare function ApiAuthGoogleMobilePostRequestFromJSON(json: any): ApiAuthGoogleMobilePostRequest;
|
|
30
|
-
export declare function ApiAuthGoogleMobilePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthGoogleMobilePostRequest;
|
|
31
|
-
export declare function ApiAuthGoogleMobilePostRequestToJSON(json: any): ApiAuthGoogleMobilePostRequest;
|
|
32
|
-
export declare function ApiAuthGoogleMobilePostRequestToJSONTyped(value?: ApiAuthGoogleMobilePostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* DRX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the ApiAuthGoogleMobilePostRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfApiAuthGoogleMobilePostRequest(value) {
|
|
18
|
-
if (!('idToken' in value) || value['idToken'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function ApiAuthGoogleMobilePostRequestFromJSON(json) {
|
|
23
|
-
return ApiAuthGoogleMobilePostRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function ApiAuthGoogleMobilePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'idToken': json['idToken'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function ApiAuthGoogleMobilePostRequestToJSON(json) {
|
|
34
|
-
return ApiAuthGoogleMobilePostRequestToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function ApiAuthGoogleMobilePostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'idToken': value['idToken'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* DRX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ApiAuthGoogleCallbackPost200ResponseResponseObject } from './ApiAuthGoogleCallbackPost200ResponseResponseObject';
|
|
17
|
-
import {
|
|
18
|
-
ApiAuthGoogleCallbackPost200ResponseResponseObjectFromJSON,
|
|
19
|
-
ApiAuthGoogleCallbackPost200ResponseResponseObjectFromJSONTyped,
|
|
20
|
-
ApiAuthGoogleCallbackPost200ResponseResponseObjectToJSON,
|
|
21
|
-
ApiAuthGoogleCallbackPost200ResponseResponseObjectToJSONTyped,
|
|
22
|
-
} from './ApiAuthGoogleCallbackPost200ResponseResponseObject';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiAuthGoogleCallbackPost200Response
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiAuthGoogleCallbackPost200Response {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof ApiAuthGoogleCallbackPost200Response
|
|
34
|
-
*/
|
|
35
|
-
success: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof ApiAuthGoogleCallbackPost200Response
|
|
40
|
-
*/
|
|
41
|
-
message: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {ApiAuthGoogleCallbackPost200ResponseResponseObject}
|
|
45
|
-
* @memberof ApiAuthGoogleCallbackPost200Response
|
|
46
|
-
*/
|
|
47
|
-
responseObject?: ApiAuthGoogleCallbackPost200ResponseResponseObject;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof ApiAuthGoogleCallbackPost200Response
|
|
52
|
-
*/
|
|
53
|
-
statusCode: number;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the ApiAuthGoogleCallbackPost200Response interface.
|
|
58
|
-
*/
|
|
59
|
-
export function instanceOfApiAuthGoogleCallbackPost200Response(value: object): value is ApiAuthGoogleCallbackPost200Response {
|
|
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 ApiAuthGoogleCallbackPost200ResponseFromJSON(json: any): ApiAuthGoogleCallbackPost200Response {
|
|
67
|
-
return ApiAuthGoogleCallbackPost200ResponseFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function ApiAuthGoogleCallbackPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthGoogleCallbackPost200Response {
|
|
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 : ApiAuthGoogleCallbackPost200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
79
|
-
'statusCode': json['statusCode'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function ApiAuthGoogleCallbackPost200ResponseToJSON(json: any): ApiAuthGoogleCallbackPost200Response {
|
|
84
|
-
return ApiAuthGoogleCallbackPost200ResponseToJSONTyped(json, false);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export function ApiAuthGoogleCallbackPost200ResponseToJSONTyped(value?: ApiAuthGoogleCallbackPost200Response | 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': ApiAuthGoogleCallbackPost200ResponseResponseObjectToJSON(value['responseObject']),
|
|
97
|
-
'statusCode': value['statusCode'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* DRX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiAuthGoogleCallbackPostRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiAuthGoogleCallbackPostRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiAuthGoogleCallbackPostRequest
|
|
26
|
-
*/
|
|
27
|
-
code: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiAuthGoogleCallbackPostRequest
|
|
32
|
-
*/
|
|
33
|
-
redirectUri: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ApiAuthGoogleCallbackPostRequest interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfApiAuthGoogleCallbackPostRequest(value: object): value is ApiAuthGoogleCallbackPostRequest {
|
|
40
|
-
if (!('code' in value) || value['code'] === undefined) return false;
|
|
41
|
-
if (!('redirectUri' in value) || value['redirectUri'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ApiAuthGoogleCallbackPostRequestFromJSON(json: any): ApiAuthGoogleCallbackPostRequest {
|
|
46
|
-
return ApiAuthGoogleCallbackPostRequestFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ApiAuthGoogleCallbackPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthGoogleCallbackPostRequest {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'code': json['code'],
|
|
56
|
-
'redirectUri': json['redirectUri'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function ApiAuthGoogleCallbackPostRequestToJSON(json: any): ApiAuthGoogleCallbackPostRequest {
|
|
61
|
-
return ApiAuthGoogleCallbackPostRequestToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function ApiAuthGoogleCallbackPostRequestToJSONTyped(value?: ApiAuthGoogleCallbackPostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'code': value['code'],
|
|
72
|
-
'redirectUri': value['redirectUri'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* DRX API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiAuthGoogleMobilePostRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiAuthGoogleMobilePostRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiAuthGoogleMobilePostRequest
|
|
26
|
-
*/
|
|
27
|
-
idToken: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ApiAuthGoogleMobilePostRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfApiAuthGoogleMobilePostRequest(value: object): value is ApiAuthGoogleMobilePostRequest {
|
|
34
|
-
if (!('idToken' in value) || value['idToken'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function ApiAuthGoogleMobilePostRequestFromJSON(json: any): ApiAuthGoogleMobilePostRequest {
|
|
39
|
-
return ApiAuthGoogleMobilePostRequestFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ApiAuthGoogleMobilePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthGoogleMobilePostRequest {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'idToken': json['idToken'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ApiAuthGoogleMobilePostRequestToJSON(json: any): ApiAuthGoogleMobilePostRequest {
|
|
53
|
-
return ApiAuthGoogleMobilePostRequestToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ApiAuthGoogleMobilePostRequestToJSONTyped(value?: ApiAuthGoogleMobilePostRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'idToken': value['idToken'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|