@dynamic-labs/sdk-api 0.0.880 → 0.0.882
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/EmailVerificationMfaRequest.cjs +3 -0
- package/src/models/EmailVerificationMfaRequest.d.ts +7 -0
- package/src/models/EmailVerificationMfaRequest.js +3 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.cjs +3 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.d.ts +7 -0
- package/src/models/MFAAuthRecoveryDevicePostRequest.js +3 -0
- package/src/models/MFAAuthTotpDevicePostRequest.cjs +3 -0
- package/src/models/MFAAuthTotpDevicePostRequest.d.ts +7 -0
- package/src/models/MFAAuthTotpDevicePostRequest.js +3 -0
- package/src/models/PasskeyAuthRequest.cjs +3 -0
- package/src/models/PasskeyAuthRequest.d.ts +7 -0
- package/src/models/PasskeyAuthRequest.js +3 -0
- package/src/models/WaasPolicyRule.cjs +2 -0
- package/src/models/WaasPolicyRule.d.ts +6 -0
- package/src/models/WaasPolicyRule.js +2 -0
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var CreateMfaToken = require('./CreateMfaToken.cjs');
|
|
7
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function EmailVerificationMfaRequestFromJSON(json) {
|
|
@@ -17,6 +18,7 @@ function EmailVerificationMfaRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'verificationUUID': json['verificationUUID'],
|
|
18
19
|
'verificationToken': json['verificationToken'],
|
|
19
20
|
'createMfaToken': !runtime.exists(json, 'createMfaToken') ? undefined : CreateMfaToken.CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
21
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function EmailVerificationMfaRequestToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function EmailVerificationMfaRequestToJSON(value) {
|
|
|
30
32
|
'verificationUUID': value.verificationUUID,
|
|
31
33
|
'verificationToken': value.verificationToken,
|
|
32
34
|
'createMfaToken': CreateMfaToken.CreateMfaTokenToJSON(value.createMfaToken),
|
|
35
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateMfaToken } from './CreateMfaToken';
|
|
13
|
+
import { TokenScope } from './TokenScope';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface EmailVerificationMfaRequest {
|
|
|
34
35
|
* @memberof EmailVerificationMfaRequest
|
|
35
36
|
*/
|
|
36
37
|
createMfaToken?: CreateMfaToken;
|
|
38
|
+
/**
|
|
39
|
+
* Optional list of scopes to include in the elevated access token.
|
|
40
|
+
* @type {Array<TokenScope>}
|
|
41
|
+
* @memberof EmailVerificationMfaRequest
|
|
42
|
+
*/
|
|
43
|
+
requestedScopes?: Array<TokenScope>;
|
|
37
44
|
}
|
|
38
45
|
export declare function EmailVerificationMfaRequestFromJSON(json: any): EmailVerificationMfaRequest;
|
|
39
46
|
export declare function EmailVerificationMfaRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailVerificationMfaRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { CreateMfaTokenFromJSON, CreateMfaTokenToJSON } from './CreateMfaToken.js';
|
|
3
|
+
import { TokenScopeFromJSON, TokenScopeToJSON } from './TokenScope.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function EmailVerificationMfaRequestFromJSON(json) {
|
|
@@ -13,6 +14,7 @@ function EmailVerificationMfaRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
14
|
'verificationUUID': json['verificationUUID'],
|
|
14
15
|
'verificationToken': json['verificationToken'],
|
|
15
16
|
'createMfaToken': !exists(json, 'createMfaToken') ? undefined : CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
17
|
+
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
function EmailVerificationMfaRequestToJSON(value) {
|
|
@@ -26,6 +28,7 @@ function EmailVerificationMfaRequestToJSON(value) {
|
|
|
26
28
|
'verificationUUID': value.verificationUUID,
|
|
27
29
|
'verificationToken': value.verificationToken,
|
|
28
30
|
'createMfaToken': CreateMfaTokenToJSON(value.createMfaToken),
|
|
31
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var CreateMfaToken = require('./CreateMfaToken.cjs');
|
|
7
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function MFAAuthRecoveryDevicePostRequestFromJSON(json) {
|
|
@@ -16,6 +17,7 @@ function MFAAuthRecoveryDevicePostRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
16
17
|
return {
|
|
17
18
|
'createMfaToken': !runtime.exists(json, 'createMfaToken') ? undefined : CreateMfaToken.CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
18
19
|
'code': json['code'],
|
|
20
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function MFAAuthRecoveryDevicePostRequestToJSON(value) {
|
|
@@ -28,6 +30,7 @@ function MFAAuthRecoveryDevicePostRequestToJSON(value) {
|
|
|
28
30
|
return {
|
|
29
31
|
'createMfaToken': CreateMfaToken.CreateMfaTokenToJSON(value.createMfaToken),
|
|
30
32
|
'code': value.code,
|
|
33
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
31
34
|
};
|
|
32
35
|
}
|
|
33
36
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateMfaToken } from './CreateMfaToken';
|
|
13
|
+
import { TokenScope } from './TokenScope';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -28,6 +29,12 @@ export interface MFAAuthRecoveryDevicePostRequest {
|
|
|
28
29
|
* @memberof MFAAuthRecoveryDevicePostRequest
|
|
29
30
|
*/
|
|
30
31
|
code: string;
|
|
32
|
+
/**
|
|
33
|
+
* Optional list of scopes to include in the elevated access token.
|
|
34
|
+
* @type {Array<TokenScope>}
|
|
35
|
+
* @memberof MFAAuthRecoveryDevicePostRequest
|
|
36
|
+
*/
|
|
37
|
+
requestedScopes?: Array<TokenScope>;
|
|
31
38
|
}
|
|
32
39
|
export declare function MFAAuthRecoveryDevicePostRequestFromJSON(json: any): MFAAuthRecoveryDevicePostRequest;
|
|
33
40
|
export declare function MFAAuthRecoveryDevicePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAAuthRecoveryDevicePostRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { CreateMfaTokenFromJSON, CreateMfaTokenToJSON } from './CreateMfaToken.js';
|
|
3
|
+
import { TokenScopeFromJSON, TokenScopeToJSON } from './TokenScope.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function MFAAuthRecoveryDevicePostRequestFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function MFAAuthRecoveryDevicePostRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
12
13
|
return {
|
|
13
14
|
'createMfaToken': !exists(json, 'createMfaToken') ? undefined : CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
14
15
|
'code': json['code'],
|
|
16
|
+
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
function MFAAuthRecoveryDevicePostRequestToJSON(value) {
|
|
@@ -24,6 +26,7 @@ function MFAAuthRecoveryDevicePostRequestToJSON(value) {
|
|
|
24
26
|
return {
|
|
25
27
|
'createMfaToken': CreateMfaTokenToJSON(value.createMfaToken),
|
|
26
28
|
'code': value.code,
|
|
29
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
27
30
|
};
|
|
28
31
|
}
|
|
29
32
|
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var CreateMfaToken = require('./CreateMfaToken.cjs');
|
|
7
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function MFAAuthTotpDevicePostRequestFromJSON(json) {
|
|
@@ -17,6 +18,7 @@ function MFAAuthTotpDevicePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'id': !runtime.exists(json, 'id') ? undefined : json['id'],
|
|
18
19
|
'createMfaToken': !runtime.exists(json, 'createMfaToken') ? undefined : CreateMfaToken.CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
19
20
|
'code': json['code'],
|
|
21
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function MFAAuthTotpDevicePostRequestToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function MFAAuthTotpDevicePostRequestToJSON(value) {
|
|
|
30
32
|
'id': value.id,
|
|
31
33
|
'createMfaToken': CreateMfaToken.CreateMfaTokenToJSON(value.createMfaToken),
|
|
32
34
|
'code': value.code,
|
|
35
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateMfaToken } from './CreateMfaToken';
|
|
13
|
+
import { TokenScope } from './TokenScope';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface MFAAuthTotpDevicePostRequest {
|
|
|
34
35
|
* @memberof MFAAuthTotpDevicePostRequest
|
|
35
36
|
*/
|
|
36
37
|
code: string;
|
|
38
|
+
/**
|
|
39
|
+
* Optional list of scopes to include in the elevated access token.
|
|
40
|
+
* @type {Array<TokenScope>}
|
|
41
|
+
* @memberof MFAAuthTotpDevicePostRequest
|
|
42
|
+
*/
|
|
43
|
+
requestedScopes?: Array<TokenScope>;
|
|
37
44
|
}
|
|
38
45
|
export declare function MFAAuthTotpDevicePostRequestFromJSON(json: any): MFAAuthTotpDevicePostRequest;
|
|
39
46
|
export declare function MFAAuthTotpDevicePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MFAAuthTotpDevicePostRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { CreateMfaTokenFromJSON, CreateMfaTokenToJSON } from './CreateMfaToken.js';
|
|
3
|
+
import { TokenScopeFromJSON, TokenScopeToJSON } from './TokenScope.js';
|
|
3
4
|
|
|
4
5
|
/* tslint:disable */
|
|
5
6
|
function MFAAuthTotpDevicePostRequestFromJSON(json) {
|
|
@@ -13,6 +14,7 @@ function MFAAuthTotpDevicePostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
14
|
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
14
15
|
'createMfaToken': !exists(json, 'createMfaToken') ? undefined : CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
15
16
|
'code': json['code'],
|
|
17
|
+
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
function MFAAuthTotpDevicePostRequestToJSON(value) {
|
|
@@ -26,6 +28,7 @@ function MFAAuthTotpDevicePostRequestToJSON(value) {
|
|
|
26
28
|
'id': value.id,
|
|
27
29
|
'createMfaToken': CreateMfaTokenToJSON(value.createMfaToken),
|
|
28
30
|
'code': value.code,
|
|
31
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -8,6 +8,7 @@ var AuthenticatorAssertionResponse = require('./AuthenticatorAssertionResponse.c
|
|
|
8
8
|
var AuthenticatorAttachment = require('./AuthenticatorAttachment.cjs');
|
|
9
9
|
var CreateMfaToken = require('./CreateMfaToken.cjs');
|
|
10
10
|
var PublicKeyCredentialType = require('./PublicKeyCredentialType.cjs');
|
|
11
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
11
12
|
|
|
12
13
|
/* tslint:disable */
|
|
13
14
|
function PasskeyAuthRequestFromJSON(json) {
|
|
@@ -25,6 +26,7 @@ function PasskeyAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
|
|
26
27
|
'type': PublicKeyCredentialType.PublicKeyCredentialTypeFromJSON(json['type']),
|
|
27
28
|
'createMfaToken': !runtime.exists(json, 'createMfaToken') ? undefined : CreateMfaToken.CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
29
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
function PasskeyAuthRequestToJSON(value) {
|
|
@@ -42,6 +44,7 @@ function PasskeyAuthRequestToJSON(value) {
|
|
|
42
44
|
'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
|
|
43
45
|
'type': PublicKeyCredentialType.PublicKeyCredentialTypeToJSON(value.type),
|
|
44
46
|
'createMfaToken': CreateMfaToken.CreateMfaTokenToJSON(value.createMfaToken),
|
|
47
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -14,6 +14,7 @@ import { AuthenticatorAssertionResponse } from './AuthenticatorAssertionResponse
|
|
|
14
14
|
import { AuthenticatorAttachment } from './AuthenticatorAttachment';
|
|
15
15
|
import { CreateMfaToken } from './CreateMfaToken';
|
|
16
16
|
import { PublicKeyCredentialType } from './PublicKeyCredentialType';
|
|
17
|
+
import { TokenScope } from './TokenScope';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
19
20
|
* @export
|
|
@@ -62,6 +63,12 @@ export interface PasskeyAuthRequest {
|
|
|
62
63
|
* @memberof PasskeyAuthRequest
|
|
63
64
|
*/
|
|
64
65
|
createMfaToken?: CreateMfaToken;
|
|
66
|
+
/**
|
|
67
|
+
* Optional list of scopes to include in the elevated access token.
|
|
68
|
+
* @type {Array<TokenScope>}
|
|
69
|
+
* @memberof PasskeyAuthRequest
|
|
70
|
+
*/
|
|
71
|
+
requestedScopes?: Array<TokenScope>;
|
|
65
72
|
}
|
|
66
73
|
export declare function PasskeyAuthRequestFromJSON(json: any): PasskeyAuthRequest;
|
|
67
74
|
export declare function PasskeyAuthRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyAuthRequest;
|
|
@@ -4,6 +4,7 @@ import { AuthenticatorAssertionResponseFromJSON, AuthenticatorAssertionResponseT
|
|
|
4
4
|
import { AuthenticatorAttachmentFromJSON, AuthenticatorAttachmentToJSON } from './AuthenticatorAttachment.js';
|
|
5
5
|
import { CreateMfaTokenFromJSON, CreateMfaTokenToJSON } from './CreateMfaToken.js';
|
|
6
6
|
import { PublicKeyCredentialTypeFromJSON, PublicKeyCredentialTypeToJSON } from './PublicKeyCredentialType.js';
|
|
7
|
+
import { TokenScopeFromJSON, TokenScopeToJSON } from './TokenScope.js';
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function PasskeyAuthRequestFromJSON(json) {
|
|
@@ -21,6 +22,7 @@ function PasskeyAuthRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
22
|
'clientExtensionResults': AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
|
|
22
23
|
'type': PublicKeyCredentialTypeFromJSON(json['type']),
|
|
23
24
|
'createMfaToken': !exists(json, 'createMfaToken') ? undefined : CreateMfaTokenFromJSON(json['createMfaToken']),
|
|
25
|
+
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
function PasskeyAuthRequestToJSON(value) {
|
|
@@ -38,6 +40,7 @@ function PasskeyAuthRequestToJSON(value) {
|
|
|
38
40
|
'clientExtensionResults': AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
|
|
39
41
|
'type': PublicKeyCredentialTypeToJSON(value.type),
|
|
40
42
|
'createMfaToken': CreateMfaTokenToJSON(value.createMfaToken),
|
|
43
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -31,6 +31,7 @@ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'argumentConstraints': !runtime.exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON)),
|
|
32
32
|
'valueLimit': !runtime.exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
33
33
|
'operationRestrictions': !runtime.exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
34
|
+
'disableBlockaidSecurityChecks': !runtime.exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
function WaasPolicyRuleToJSON(value) {
|
|
@@ -54,6 +55,7 @@ function WaasPolicyRuleToJSON(value) {
|
|
|
54
55
|
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON)),
|
|
55
56
|
'valueLimit': WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
56
57
|
'operationRestrictions': WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
58
|
+
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -98,6 +98,12 @@ export interface WaasPolicyRule {
|
|
|
98
98
|
* @memberof WaasPolicyRule
|
|
99
99
|
*/
|
|
100
100
|
operationRestrictions?: WaasPolicyRuleOperationRestrictions;
|
|
101
|
+
/**
|
|
102
|
+
* When true, disables Blockaid security enforcement for this rule. Blockaid simulation will still run for policy evaluation, but security verdicts (e.g., malicious transactions) will not block execution. Transaction approval will be determined solely by customer-defined policy rules. Use with caution as this bypasses automated security protections.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof WaasPolicyRule
|
|
105
|
+
*/
|
|
106
|
+
disableBlockaidSecurityChecks?: boolean;
|
|
101
107
|
}
|
|
102
108
|
export declare function WaasPolicyRuleFromJSON(json: any): WaasPolicyRule;
|
|
103
109
|
export declare function WaasPolicyRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRule;
|
|
@@ -27,6 +27,7 @@ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
'argumentConstraints': !exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraintFromJSON)),
|
|
28
28
|
'valueLimit': !exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
29
29
|
'operationRestrictions': !exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
30
|
+
'disableBlockaidSecurityChecks': !exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
function WaasPolicyRuleToJSON(value) {
|
|
@@ -50,6 +51,7 @@ function WaasPolicyRuleToJSON(value) {
|
|
|
50
51
|
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraintToJSON)),
|
|
51
52
|
'valueLimit': WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
52
53
|
'operationRestrictions': WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
54
|
+
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
53
55
|
};
|
|
54
56
|
}
|
|
55
57
|
|