@dynamic-labs/sdk-api-core 0.0.450 → 0.0.452
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/package.json +1 -1
- package/src/apis/SDKApi.cjs +2 -3
- package/src/apis/SDKApi.d.ts +5 -5
- package/src/apis/SDKApi.js +2 -3
- package/src/index.cjs +0 -4
- package/src/index.js +0 -1
- package/src/models/FarcasterSignInRequest.cjs +4 -12
- package/src/models/FarcasterSignInRequest.d.ts +6 -0
- package/src/models/FarcasterSignInRequest.js +4 -12
- package/src/models/index.d.ts +0 -1
- package/src/models/MFAAuthResponse.cjs +0 -45
- package/src/models/MFAAuthResponse.d.ts +0 -33
- package/src/models/MFAAuthResponse.js +0 -39
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -46,7 +46,6 @@ var InitPasskeyRecoveryRequest = require('../models/InitPasskeyRecoveryRequest.c
|
|
|
46
46
|
var InitPasskeyRecoveryResponse = require('../models/InitPasskeyRecoveryResponse.cjs');
|
|
47
47
|
var JwksResponse = require('../models/JwksResponse.cjs');
|
|
48
48
|
var MFAAuthRecoveryDevicePostRequest = require('../models/MFAAuthRecoveryDevicePostRequest.cjs');
|
|
49
|
-
var MFAAuthResponse = require('../models/MFAAuthResponse.cjs');
|
|
50
49
|
var MFAAuthTotpDevicePostRequest = require('../models/MFAAuthTotpDevicePostRequest.cjs');
|
|
51
50
|
var MFADevice = require('../models/MFADevice.cjs');
|
|
52
51
|
require('../models/MFADeviceType.cjs');
|
|
@@ -126,7 +125,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
126
125
|
query: queryParameters,
|
|
127
126
|
body: MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestToJSON(requestParameters.mFAAuthRecoveryDevicePostRequest),
|
|
128
127
|
}, initOverrides);
|
|
129
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
128
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
|
|
130
129
|
});
|
|
131
130
|
}
|
|
132
131
|
/**
|
|
@@ -193,7 +192,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
193
192
|
query: queryParameters,
|
|
194
193
|
body: MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestToJSON(requestParameters.mFAAuthTotpDevicePostRequest),
|
|
195
194
|
}, initOverrides);
|
|
196
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
195
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => VerifyResponse.VerifyResponseFromJSON(jsonValue));
|
|
197
196
|
});
|
|
198
197
|
}
|
|
199
198
|
/**
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest,
|
|
13
|
+
import { CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExportEmbeddedWalletResponse, FarcasterSignInRequest, GetUserPasskeysResponse, HealthcheckResponse, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFARegenRecoveryCodesResponse, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, NetworkConfigurationResponse, NonceResponse, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, SdkSettingsRequest, SdkUser, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SupportedOnrampsResponse, TokenBalance, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UserFields, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest } from '../models';
|
|
14
14
|
export interface AuthMfaRecoveryRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
mFAAuthRecoveryDevicePostRequest: MFAAuthRecoveryDevicePostRequest;
|
|
@@ -450,11 +450,11 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
450
450
|
/**
|
|
451
451
|
* Upgrade JWT scope with valid MFA session
|
|
452
452
|
*/
|
|
453
|
-
authMfaRecoveryRaw(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
453
|
+
authMfaRecoveryRaw(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
|
|
454
454
|
/**
|
|
455
455
|
* Upgrade JWT scope with valid MFA session
|
|
456
456
|
*/
|
|
457
|
-
authMfaRecovery(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<
|
|
457
|
+
authMfaRecovery(requestParameters: AuthMfaRecoveryRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
|
|
458
458
|
/**
|
|
459
459
|
* Options call for this endpoint
|
|
460
460
|
*/
|
|
@@ -466,11 +466,11 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
466
466
|
/**
|
|
467
467
|
* Upgrade JWT scope with valid MFA session
|
|
468
468
|
*/
|
|
469
|
-
authMfaTotpDeviceRaw(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
469
|
+
authMfaTotpDeviceRaw(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<VerifyResponse>>;
|
|
470
470
|
/**
|
|
471
471
|
* Upgrade JWT scope with valid MFA session
|
|
472
472
|
*/
|
|
473
|
-
authMfaTotpDevice(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<
|
|
473
|
+
authMfaTotpDevice(requestParameters: AuthMfaTotpDeviceRequest, initOverrides?: RequestInit): Promise<VerifyResponse>;
|
|
474
474
|
/**
|
|
475
475
|
* Options call for this endpoint
|
|
476
476
|
*/
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -42,7 +42,6 @@ import { InitPasskeyRecoveryRequestToJSON } from '../models/InitPasskeyRecoveryR
|
|
|
42
42
|
import { InitPasskeyRecoveryResponseFromJSON } from '../models/InitPasskeyRecoveryResponse.js';
|
|
43
43
|
import { JwksResponseFromJSON } from '../models/JwksResponse.js';
|
|
44
44
|
import { MFAAuthRecoveryDevicePostRequestToJSON } from '../models/MFAAuthRecoveryDevicePostRequest.js';
|
|
45
|
-
import { MFAAuthResponseFromJSON } from '../models/MFAAuthResponse.js';
|
|
46
45
|
import { MFAAuthTotpDevicePostRequestToJSON } from '../models/MFAAuthTotpDevicePostRequest.js';
|
|
47
46
|
import { MFADeviceFromJSON } from '../models/MFADevice.js';
|
|
48
47
|
import '../models/MFADeviceType.js';
|
|
@@ -122,7 +121,7 @@ class SDKApi extends BaseAPI {
|
|
|
122
121
|
query: queryParameters,
|
|
123
122
|
body: MFAAuthRecoveryDevicePostRequestToJSON(requestParameters.mFAAuthRecoveryDevicePostRequest),
|
|
124
123
|
}, initOverrides);
|
|
125
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
124
|
+
return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
|
|
126
125
|
});
|
|
127
126
|
}
|
|
128
127
|
/**
|
|
@@ -189,7 +188,7 @@ class SDKApi extends BaseAPI {
|
|
|
189
188
|
query: queryParameters,
|
|
190
189
|
body: MFAAuthTotpDevicePostRequestToJSON(requestParameters.mFAAuthTotpDevicePostRequest),
|
|
191
190
|
}, initOverrides);
|
|
192
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
191
|
+
return new JSONApiResponse(response, (jsonValue) => VerifyResponseFromJSON(jsonValue));
|
|
193
192
|
});
|
|
194
193
|
}
|
|
195
194
|
/**
|
package/src/index.cjs
CHANGED
|
@@ -69,7 +69,6 @@ var JwtVerifiedCredential = require('./models/JwtVerifiedCredential.cjs');
|
|
|
69
69
|
var JwtVerifiedCredentialFormatEnum = require('./models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
70
70
|
var KycFieldType = require('./models/KycFieldType.cjs');
|
|
71
71
|
var MFAAuthRecoveryDevicePostRequest = require('./models/MFAAuthRecoveryDevicePostRequest.cjs');
|
|
72
|
-
var MFAAuthResponse = require('./models/MFAAuthResponse.cjs');
|
|
73
72
|
var MFAAuthTotpDevicePostRequest = require('./models/MFAAuthTotpDevicePostRequest.cjs');
|
|
74
73
|
var MFADevice = require('./models/MFADevice.cjs');
|
|
75
74
|
var MFADeviceType = require('./models/MFADeviceType.cjs');
|
|
@@ -456,9 +455,6 @@ exports.KycFieldTypeToJSON = KycFieldType.KycFieldTypeToJSON;
|
|
|
456
455
|
exports.MFAAuthRecoveryDevicePostRequestFromJSON = MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestFromJSON;
|
|
457
456
|
exports.MFAAuthRecoveryDevicePostRequestFromJSONTyped = MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestFromJSONTyped;
|
|
458
457
|
exports.MFAAuthRecoveryDevicePostRequestToJSON = MFAAuthRecoveryDevicePostRequest.MFAAuthRecoveryDevicePostRequestToJSON;
|
|
459
|
-
exports.MFAAuthResponseFromJSON = MFAAuthResponse.MFAAuthResponseFromJSON;
|
|
460
|
-
exports.MFAAuthResponseFromJSONTyped = MFAAuthResponse.MFAAuthResponseFromJSONTyped;
|
|
461
|
-
exports.MFAAuthResponseToJSON = MFAAuthResponse.MFAAuthResponseToJSON;
|
|
462
458
|
exports.MFAAuthTotpDevicePostRequestFromJSON = MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestFromJSON;
|
|
463
459
|
exports.MFAAuthTotpDevicePostRequestFromJSONTyped = MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestFromJSONTyped;
|
|
464
460
|
exports.MFAAuthTotpDevicePostRequestToJSON = MFAAuthTotpDevicePostRequest.MFAAuthTotpDevicePostRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -65,7 +65,6 @@ export { JwtVerifiedCredentialFromJSON, JwtVerifiedCredentialFromJSONTyped, JwtV
|
|
|
65
65
|
export { JwtVerifiedCredentialFormatEnum, JwtVerifiedCredentialFormatEnumFromJSON, JwtVerifiedCredentialFormatEnumFromJSONTyped, JwtVerifiedCredentialFormatEnumToJSON } from './models/JwtVerifiedCredentialFormatEnum.js';
|
|
66
66
|
export { KycFieldType, KycFieldTypeFromJSON, KycFieldTypeFromJSONTyped, KycFieldTypeToJSON } from './models/KycFieldType.js';
|
|
67
67
|
export { MFAAuthRecoveryDevicePostRequestFromJSON, MFAAuthRecoveryDevicePostRequestFromJSONTyped, MFAAuthRecoveryDevicePostRequestToJSON } from './models/MFAAuthRecoveryDevicePostRequest.js';
|
|
68
|
-
export { MFAAuthResponseFromJSON, MFAAuthResponseFromJSONTyped, MFAAuthResponseToJSON } from './models/MFAAuthResponse.js';
|
|
69
68
|
export { MFAAuthTotpDevicePostRequestFromJSON, MFAAuthTotpDevicePostRequestFromJSONTyped, MFAAuthTotpDevicePostRequestToJSON } from './models/MFAAuthTotpDevicePostRequest.js';
|
|
70
69
|
export { MFADeviceFromJSON, MFADeviceFromJSONTyped, MFADeviceToJSON } from './models/MFADevice.js';
|
|
71
70
|
export { MFADeviceType, MFADeviceTypeFromJSON, MFADeviceTypeFromJSONTyped, MFADeviceTypeToJSON } from './models/MFADeviceType.js';
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
8
|
function FarcasterSignInRequestFromJSON(json) {
|
|
19
9
|
return FarcasterSignInRequestFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -28,6 +18,7 @@ function FarcasterSignInRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
18
|
'nonce': json['nonce'],
|
|
29
19
|
'message': json['message'],
|
|
30
20
|
'signature': json['signature'],
|
|
21
|
+
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
31
22
|
};
|
|
32
23
|
}
|
|
33
24
|
function FarcasterSignInRequestToJSON(value) {
|
|
@@ -43,6 +34,7 @@ function FarcasterSignInRequestToJSON(value) {
|
|
|
43
34
|
'nonce': value.nonce,
|
|
44
35
|
'message': value.message,
|
|
45
36
|
'signature': value.signature,
|
|
37
|
+
'captchaToken': value.captchaToken,
|
|
46
38
|
};
|
|
47
39
|
}
|
|
48
40
|
|
|
@@ -45,6 +45,12 @@ export interface FarcasterSignInRequest {
|
|
|
45
45
|
* @memberof FarcasterSignInRequest
|
|
46
46
|
*/
|
|
47
47
|
signature: string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional captcha token to verify that the user is not a bot
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FarcasterSignInRequest
|
|
52
|
+
*/
|
|
53
|
+
captchaToken?: string;
|
|
48
54
|
}
|
|
49
55
|
export declare function FarcasterSignInRequestFromJSON(json: any): FarcasterSignInRequest;
|
|
50
56
|
export declare function FarcasterSignInRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FarcasterSignInRequest;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dashboard API
|
|
5
|
-
* Dashboard API documentation
|
|
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
4
|
function FarcasterSignInRequestFromJSON(json) {
|
|
15
5
|
return FarcasterSignInRequestFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -24,6 +14,7 @@ function FarcasterSignInRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
'nonce': json['nonce'],
|
|
25
15
|
'message': json['message'],
|
|
26
16
|
'signature': json['signature'],
|
|
17
|
+
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
27
18
|
};
|
|
28
19
|
}
|
|
29
20
|
function FarcasterSignInRequestToJSON(value) {
|
|
@@ -39,6 +30,7 @@ function FarcasterSignInRequestToJSON(value) {
|
|
|
39
30
|
'nonce': value.nonce,
|
|
40
31
|
'message': value.message,
|
|
41
32
|
'signature': value.signature,
|
|
33
|
+
'captchaToken': value.captchaToken,
|
|
42
34
|
};
|
|
43
35
|
}
|
|
44
36
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -63,7 +63,6 @@ export * from './JwtVerifiedCredential';
|
|
|
63
63
|
export * from './JwtVerifiedCredentialFormatEnum';
|
|
64
64
|
export * from './KycFieldType';
|
|
65
65
|
export * from './MFAAuthRecoveryDevicePostRequest';
|
|
66
|
-
export * from './MFAAuthResponse';
|
|
67
66
|
export * from './MFAAuthTotpDevicePostRequest';
|
|
68
67
|
export * from './MFADevice';
|
|
69
68
|
export * from './MFADeviceType';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
/**
|
|
8
|
-
* Dashboard API
|
|
9
|
-
* Dashboard API documentation
|
|
10
|
-
*
|
|
11
|
-
* The version of the OpenAPI document: 1.0.0
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
-
* https://openapi-generator.tech
|
|
16
|
-
* Do not edit the class manually.
|
|
17
|
-
*/
|
|
18
|
-
function MFAAuthResponseFromJSON(json) {
|
|
19
|
-
return MFAAuthResponseFromJSONTyped(json);
|
|
20
|
-
}
|
|
21
|
-
function MFAAuthResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'jwt': json['jwt'],
|
|
27
|
-
'minifiedJwt': json['minifiedJwt'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function MFAAuthResponseToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'jwt': value.jwt,
|
|
39
|
-
'minifiedJwt': value.minifiedJwt,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
exports.MFAAuthResponseFromJSON = MFAAuthResponseFromJSON;
|
|
44
|
-
exports.MFAAuthResponseFromJSONTyped = MFAAuthResponseFromJSONTyped;
|
|
45
|
-
exports.MFAAuthResponseToJSON = MFAAuthResponseToJSON;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard API
|
|
3
|
-
* Dashboard API documentation
|
|
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 MFAAuthResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface MFAAuthResponse {
|
|
18
|
-
/**
|
|
19
|
-
* The JWT token for the user
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MFAAuthResponse
|
|
22
|
-
*/
|
|
23
|
-
jwt: string;
|
|
24
|
-
/**
|
|
25
|
-
* The JWT token for the user
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MFAAuthResponse
|
|
28
|
-
*/
|
|
29
|
-
minifiedJwt: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function MFAAuthResponseFromJSON(json: any): MFAAuthResponse;
|
|
32
|
-
export declare function MFAAuthResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAAuthResponse;
|
|
33
|
-
export declare function MFAAuthResponseToJSON(value?: MFAAuthResponse | null): any;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Dashboard API
|
|
5
|
-
* Dashboard API documentation
|
|
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
|
-
function MFAAuthResponseFromJSON(json) {
|
|
15
|
-
return MFAAuthResponseFromJSONTyped(json);
|
|
16
|
-
}
|
|
17
|
-
function MFAAuthResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
if ((json === undefined) || (json === null)) {
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
return {
|
|
22
|
-
'jwt': json['jwt'],
|
|
23
|
-
'minifiedJwt': json['minifiedJwt'],
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function MFAAuthResponseToJSON(value) {
|
|
27
|
-
if (value === undefined) {
|
|
28
|
-
return undefined;
|
|
29
|
-
}
|
|
30
|
-
if (value === null) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'jwt': value.jwt,
|
|
35
|
-
'minifiedJwt': value.minifiedJwt,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export { MFAAuthResponseFromJSON, MFAAuthResponseFromJSONTyped, MFAAuthResponseToJSON };
|