@dynamic-labs/sdk-api 0.0.1073 → 0.0.1074
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/models/EmailVerificationVerifyRequest.cjs +2 -0
- package/src/models/EmailVerificationVerifyRequest.d.ts +6 -0
- package/src/models/EmailVerificationVerifyRequest.js +2 -0
- package/src/models/SmsVerificationVerifyRequest.cjs +2 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +6 -0
- package/src/models/SmsVerificationVerifyRequest.js +2 -0
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
19
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
20
20
|
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
21
21
|
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
22
|
+
'allowNewMFALinking': !runtime.exists(json, 'allowNewMFALinking') ? undefined : json['allowNewMFALinking'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -34,6 +35,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
34
35
|
'captchaToken': value.captchaToken,
|
|
35
36
|
'sessionPublicKey': value.sessionPublicKey,
|
|
36
37
|
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
38
|
+
'allowNewMFALinking': value.allowNewMFALinking,
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -46,6 +46,12 @@ export interface EmailVerificationVerifyRequest {
|
|
|
46
46
|
* @memberof EmailVerificationVerifyRequest
|
|
47
47
|
*/
|
|
48
48
|
requestedScopes?: Array<TokenScope>;
|
|
49
|
+
/**
|
|
50
|
+
* When true on a sign-in request, the server returns an elevated access token with credential:link scope if MFA is optional and the user has no MFA methods registered. Ignored on post-login verify requests.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof EmailVerificationVerifyRequest
|
|
53
|
+
*/
|
|
54
|
+
allowNewMFALinking?: boolean;
|
|
49
55
|
}
|
|
50
56
|
export declare function EmailVerificationVerifyRequestFromJSON(json: any): EmailVerificationVerifyRequest;
|
|
51
57
|
export declare function EmailVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailVerificationVerifyRequest;
|
|
@@ -15,6 +15,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
15
15
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
16
16
|
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
17
17
|
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
18
|
+
'allowNewMFALinking': !exists(json, 'allowNewMFALinking') ? undefined : json['allowNewMFALinking'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
30
31
|
'captchaToken': value.captchaToken,
|
|
31
32
|
'sessionPublicKey': value.sessionPublicKey,
|
|
32
33
|
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
34
|
+
'allowNewMFALinking': value.allowNewMFALinking,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -19,6 +19,7 @@ function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
20
20
|
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
21
21
|
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
22
|
+
'allowNewMFALinking': !runtime.exists(json, 'allowNewMFALinking') ? undefined : json['allowNewMFALinking'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function SmsVerificationVerifyRequestToJSON(value) {
|
|
@@ -34,6 +35,7 @@ function SmsVerificationVerifyRequestToJSON(value) {
|
|
|
34
35
|
'captchaToken': value.captchaToken,
|
|
35
36
|
'sessionPublicKey': value.sessionPublicKey,
|
|
36
37
|
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
38
|
+
'allowNewMFALinking': value.allowNewMFALinking,
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -46,6 +46,12 @@ export interface SmsVerificationVerifyRequest {
|
|
|
46
46
|
* @memberof SmsVerificationVerifyRequest
|
|
47
47
|
*/
|
|
48
48
|
requestedScopes?: Array<TokenScope>;
|
|
49
|
+
/**
|
|
50
|
+
* When true on a sign-in request, the server returns an elevated access token with credential:link scope if MFA is optional and the user has no MFA methods registered. Ignored on post-login verify requests.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof SmsVerificationVerifyRequest
|
|
53
|
+
*/
|
|
54
|
+
allowNewMFALinking?: boolean;
|
|
49
55
|
}
|
|
50
56
|
export declare function SmsVerificationVerifyRequestFromJSON(json: any): SmsVerificationVerifyRequest;
|
|
51
57
|
export declare function SmsVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationVerifyRequest;
|
|
@@ -15,6 +15,7 @@ function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
16
16
|
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
17
17
|
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
18
|
+
'allowNewMFALinking': !exists(json, 'allowNewMFALinking') ? undefined : json['allowNewMFALinking'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function SmsVerificationVerifyRequestToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function SmsVerificationVerifyRequestToJSON(value) {
|
|
|
30
31
|
'captchaToken': value.captchaToken,
|
|
31
32
|
'sessionPublicKey': value.sessionPublicKey,
|
|
32
33
|
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
34
|
+
'allowNewMFALinking': value.allowNewMFALinking,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|