@dynamic-labs/sdk-api-core 0.0.1109 → 0.0.1111
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 +9 -8
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +7 -7
- package/src/apis/SDKApi.js +9 -8
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +12 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs.map +1 -1
- package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseRule.cjs +66 -0
- package/src/models/WaasPolicyLayerResponseRule.cjs.map +1 -0
- package/src/models/WaasPolicyLayerResponseRule.d.ts +116 -0
- package/src/models/WaasPolicyLayerResponseRule.js +60 -0
- package/src/models/WaasPolicyLayerResponseRule.js.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs +47 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.d.ts +48 -0
- package/src/models/WaasPolicyLayerRuleOperation.js +41 -0
- package/src/models/WaasPolicyLayerRuleOperation.js.map +1 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +6 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +17 -4
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js +6 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs +2 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.d.ts +7 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js +2 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js.map +1 -1
- package/src/models/index.d.ts +2 -0
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -109,6 +109,7 @@ require('../models/SwapStatusResponse.cjs');
|
|
|
109
109
|
require('../models/UnprocessableEntityErrorCode.cjs');
|
|
110
110
|
require('../models/UserFieldsCheckEnum.cjs');
|
|
111
111
|
require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
|
|
112
|
+
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
112
113
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
|
113
114
|
require('../models/WaasSignerPolicyLayerUpdateRequest.cjs');
|
|
114
115
|
require('../models/WaasTransactionBroadcastSubmissionState.cjs');
|
package/src/apis/WaasApi.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasApi.cjs","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","DelegatedAccessEncryptionPublicKeyResponseFromJSON","runtime.VoidApiResponse"],"mappings":"
|
|
1
|
+
{"version":3,"file":"WaasApi.cjs","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","DelegatedAccessEncryptionPublicKeyResponseFromJSON","runtime.VoidApiResponse"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA0CA;;AAEG;AACU,MAAA,OAAQ,SAAQA,eAAe,CAAA;AAExC;;;AAGG;AACH,IAAA,MAAM,wCAAwC,CAAC,iBAA+D,EAAE,aAA2B,EAAA;AACvI,QAAA,IAAI,iBAAiB,CAAC,aAAa,KAAK,IAAI,IAAI,iBAAiB,CAAC,aAAa,KAAK,SAAS,EAAE;YAC3F,MAAM,IAAIC,qBAAqB,CAAC,eAAe,EAAC,8HAA8H,CAAC,CAAC;SACnL;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;AAEjD,QAAA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;AAChC,YAAA,IAAI,EAAE,CAA+D,6DAAA,CAAA,CAAC,OAAO,CAAC,CAAA,CAAA,EAAI,eAAe,CAAG,CAAA,CAAA,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAC;AAClK,YAAA,MAAM,EAAE,KAAK;AACb,YAAA,OAAO,EAAE,gBAAgB;AACzB,YAAA,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;AAElB,QAAA,OAAO,IAAIC,uBAAuB,CAAC,QAAQ,EAAE,CAAC,SAAS,KAAKC,6FAAkD,CAAC,SAAS,CAAC,CAAC,CAAC;KAC9H;AAED;;;AAGG;AACH,IAAA,MAAM,qCAAqC,CAAC,iBAA+D,EAAE,aAA2B,EAAA;QACpI,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,wCAAwC,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;AACvG,QAAA,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;KACjC;AAED;;;AAGG;AACH,IAAA,MAAM,4CAA4C,CAAC,iBAAmE,EAAE,aAA2B,EAAA;AAC/I,QAAA,IAAI,iBAAiB,CAAC,aAAa,KAAK,IAAI,IAAI,iBAAiB,CAAC,aAAa,KAAK,SAAS,EAAE;YAC3F,MAAM,IAAIF,qBAAqB,CAAC,eAAe,EAAC,kIAAkI,CAAC,CAAC;SACvL;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;AAEjD,QAAA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;AAChC,YAAA,IAAI,EAAE,CAA+D,6DAAA,CAAA,CAAC,OAAO,CAAC,CAAA,CAAA,EAAI,eAAe,CAAG,CAAA,CAAA,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAC;AAClK,YAAA,MAAM,EAAE,SAAS;AACjB,YAAA,OAAO,EAAE,gBAAgB;AACzB,YAAA,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;AAElB,QAAA,OAAO,IAAIG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;KAChD;AAED;;;AAGG;AACH,IAAA,MAAM,yCAAyC,CAAC,iBAAmE,EAAE,aAA2B,EAAA;QAC5I,MAAM,IAAI,CAAC,4CAA4C,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;KAC7F;AAEJ;;;;"}
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -105,6 +105,7 @@ import '../models/SwapStatusResponse.js';
|
|
|
105
105
|
import '../models/UnprocessableEntityErrorCode.js';
|
|
106
106
|
import '../models/UserFieldsCheckEnum.js';
|
|
107
107
|
import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
|
|
108
|
+
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
108
109
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|
|
109
110
|
import '../models/WaasSignerPolicyLayerUpdateRequest.js';
|
|
110
111
|
import '../models/WaasTransactionBroadcastSubmissionState.js';
|
package/src/apis/WaasApi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasApi.js","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","runtime.VoidApiResponse"],"mappings":"
|
|
1
|
+
{"version":3,"file":"WaasApi.js","sources":["../../../../../libs/sdk-api-core/src/apis/WaasApi.ts"],"sourcesContent":null,"names":["runtime.BaseAPI","runtime.RequiredError","runtime.JSONApiResponse","runtime.VoidApiResponse"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AA0CA;;AAEG;AACU,MAAA,OAAQ,SAAQA,OAAe,CAAA;AAExC;;;AAGG;AACH,IAAA,MAAM,wCAAwC,CAAC,iBAA+D,EAAE,aAA2B,EAAA;AACvI,QAAA,IAAI,iBAAiB,CAAC,aAAa,KAAK,IAAI,IAAI,iBAAiB,CAAC,aAAa,KAAK,SAAS,EAAE;YAC3F,MAAM,IAAIC,aAAqB,CAAC,eAAe,EAAC,8HAA8H,CAAC,CAAC;SACnL;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;AAEjD,QAAA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;AAChC,YAAA,IAAI,EAAE,CAA+D,6DAAA,CAAA,CAAC,OAAO,CAAC,CAAA,CAAA,EAAI,eAAe,CAAG,CAAA,CAAA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IE,eAAuB,CAAC,QAAQ,CAAC,CAAC;KAChD;AAED;;;AAGG;AACH,IAAA,MAAM,yCAAyC,CAAC,iBAAmE,EAAE,aAA2B,EAAA;QAC5I,MAAM,IAAI,CAAC,4CAA4C,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;KAC7F;AAEJ;;;;"}
|
package/src/index.cjs
CHANGED
|
@@ -509,6 +509,8 @@ var WaasPolicyArgumentConstraint = require('./models/WaasPolicyArgumentConstrain
|
|
|
509
509
|
var WaasPolicyConstraintCondition = require('./models/WaasPolicyConstraintCondition.cjs');
|
|
510
510
|
var WaasPolicyLayerResponse = require('./models/WaasPolicyLayerResponse.cjs');
|
|
511
511
|
var WaasPolicyLayerResponseLayerContent = require('./models/WaasPolicyLayerResponseLayerContent.cjs');
|
|
512
|
+
var WaasPolicyLayerResponseRule = require('./models/WaasPolicyLayerResponseRule.cjs');
|
|
513
|
+
var WaasPolicyLayerRuleOperation = require('./models/WaasPolicyLayerRuleOperation.cjs');
|
|
512
514
|
var WaasPolicyLayerUpdateRequest = require('./models/WaasPolicyLayerUpdateRequest.cjs');
|
|
513
515
|
var WaasPolicyRule = require('./models/WaasPolicyRule.cjs');
|
|
514
516
|
var WaasPolicyRuleOperationRestrictions = require('./models/WaasPolicyRuleOperationRestrictions.cjs');
|
|
@@ -2517,6 +2519,16 @@ exports.WaasPolicyLayerResponseToJSON = WaasPolicyLayerResponse.WaasPolicyLayerR
|
|
|
2517
2519
|
exports.WaasPolicyLayerResponseLayerContentFromJSON = WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentFromJSON;
|
|
2518
2520
|
exports.WaasPolicyLayerResponseLayerContentFromJSONTyped = WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentFromJSONTyped;
|
|
2519
2521
|
exports.WaasPolicyLayerResponseLayerContentToJSON = WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentToJSON;
|
|
2522
|
+
exports.WaasPolicyLayerResponseRuleFromJSON = WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleFromJSON;
|
|
2523
|
+
exports.WaasPolicyLayerResponseRuleFromJSONTyped = WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleFromJSONTyped;
|
|
2524
|
+
exports.WaasPolicyLayerResponseRuleToJSON = WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleToJSON;
|
|
2525
|
+
exports.WaasPolicyLayerRuleOperationFromJSON = WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSON;
|
|
2526
|
+
exports.WaasPolicyLayerRuleOperationFromJSONTyped = WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSONTyped;
|
|
2527
|
+
Object.defineProperty(exports, 'WaasPolicyLayerRuleOperationOpEnum', {
|
|
2528
|
+
enumerable: true,
|
|
2529
|
+
get: function () { return WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationOpEnum; }
|
|
2530
|
+
});
|
|
2531
|
+
exports.WaasPolicyLayerRuleOperationToJSON = WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationToJSON;
|
|
2520
2532
|
exports.WaasPolicyLayerUpdateRequestFromJSON = WaasPolicyLayerUpdateRequest.WaasPolicyLayerUpdateRequestFromJSON;
|
|
2521
2533
|
exports.WaasPolicyLayerUpdateRequestFromJSONTyped = WaasPolicyLayerUpdateRequest.WaasPolicyLayerUpdateRequestFromJSONTyped;
|
|
2522
2534
|
Object.defineProperty(exports, 'WaasPolicyLayerUpdateRequestOpEnum', {
|
package/src/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/src/index.js
CHANGED
|
@@ -505,6 +505,8 @@ export { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintFromJ
|
|
|
505
505
|
export { WaasPolicyConstraintCondition, WaasPolicyConstraintConditionFromJSON, WaasPolicyConstraintConditionFromJSONTyped, WaasPolicyConstraintConditionToJSON } from './models/WaasPolicyConstraintCondition.js';
|
|
506
506
|
export { WaasPolicyLayerResponseFromJSON, WaasPolicyLayerResponseFromJSONTyped, WaasPolicyLayerResponseToJSON } from './models/WaasPolicyLayerResponse.js';
|
|
507
507
|
export { WaasPolicyLayerResponseLayerContentFromJSON, WaasPolicyLayerResponseLayerContentFromJSONTyped, WaasPolicyLayerResponseLayerContentToJSON } from './models/WaasPolicyLayerResponseLayerContent.js';
|
|
508
|
+
export { WaasPolicyLayerResponseRuleFromJSON, WaasPolicyLayerResponseRuleFromJSONTyped, WaasPolicyLayerResponseRuleToJSON } from './models/WaasPolicyLayerResponseRule.js';
|
|
509
|
+
export { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationFromJSONTyped, WaasPolicyLayerRuleOperationOpEnum, WaasPolicyLayerRuleOperationToJSON } from './models/WaasPolicyLayerRuleOperation.js';
|
|
508
510
|
export { WaasPolicyLayerUpdateRequestFromJSON, WaasPolicyLayerUpdateRequestFromJSONTyped, WaasPolicyLayerUpdateRequestOpEnum, WaasPolicyLayerUpdateRequestToJSON } from './models/WaasPolicyLayerUpdateRequest.js';
|
|
509
511
|
export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJSON } from './models/WaasPolicyRule.js';
|
|
510
512
|
export { WaasPolicyRuleOperationRestrictionsFromJSON, WaasPolicyRuleOperationRestrictionsFromJSONTyped, WaasPolicyRuleOperationRestrictionsToJSON } from './models/WaasPolicyRuleOperationRestrictions.js';
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var WaasPolicyLayerResponseRule = require('./WaasPolicyLayerResponseRule.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function WaasPolicyLayerResponseLayerContentFromJSON(json) {
|
|
@@ -14,7 +14,7 @@ function WaasPolicyLayerResponseLayerContentFromJSONTyped(json, ignoreDiscrimina
|
|
|
14
14
|
return json;
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
|
-
'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(
|
|
17
|
+
'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleFromJSON)),
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
@@ -25,7 +25,7 @@ function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
|
25
25
|
return null;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
-
'rules': value.rules === undefined ? undefined : (value.rules.map(
|
|
28
|
+
'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerResponseRule.WaasPolicyLayerResponseRuleToJSON)),
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasPolicyLayerResponseLayerContent.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerResponseLayerContent.ts"],"sourcesContent":null,"names":["exists","
|
|
1
|
+
{"version":3,"file":"WaasPolicyLayerResponseLayerContent.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerResponseLayerContent.ts"],"sourcesContent":null,"names":["exists","WaasPolicyLayerResponseRuleFromJSON","WaasPolicyLayerResponseRuleToJSON"],"mappings":";;;;;;;AAAA;AAoCM,SAAU,2CAA2C,CAAC,IAAS,EAAA;AACjE,IAAA,OAAO,gDAAgD,CAAC,IAAW,CAAC,CAAC;AACzE,CAAC;AAEe,SAAA,gDAAgD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACpG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAACC,+DAAmC,CAAC,CAAC;KACzH,CAAC;AACN,CAAC;AAEK,SAAU,yCAAyC,CAAC,KAAkD,EAAA;AACxG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,KAAoB,CAAC,GAAG,CAACC,6DAAiC,CAAC,CAAC;KACxH,CAAC;AACN;;;;;;"}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { WaasPolicyLayerResponseRule } from './WaasPolicyLayerResponseRule';
|
|
13
13
|
/**
|
|
14
14
|
* The decrypted, mutated wallet-Layer document
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import { WaasPolicyRule } from './WaasPolicyRule';
|
|
|
18
18
|
export interface WaasPolicyLayerResponseLayerContent {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<WaasPolicyLayerResponseRule>}
|
|
22
22
|
* @memberof WaasPolicyLayerResponseLayerContent
|
|
23
23
|
*/
|
|
24
|
-
rules?: Array<
|
|
24
|
+
rules?: Array<WaasPolicyLayerResponseRule>;
|
|
25
25
|
}
|
|
26
26
|
export declare function WaasPolicyLayerResponseLayerContentFromJSON(json: any): WaasPolicyLayerResponseLayerContent;
|
|
27
27
|
export declare function WaasPolicyLayerResponseLayerContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerResponseLayerContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { WaasPolicyLayerResponseRuleFromJSON, WaasPolicyLayerResponseRuleToJSON } from './WaasPolicyLayerResponseRule.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function WaasPolicyLayerResponseLayerContentFromJSON(json) {
|
|
@@ -10,7 +10,7 @@ function WaasPolicyLayerResponseLayerContentFromJSONTyped(json, ignoreDiscrimina
|
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
|
-
'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(
|
|
13
|
+
'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerResponseRuleFromJSON)),
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
@@ -21,7 +21,7 @@ function WaasPolicyLayerResponseLayerContentToJSON(value) {
|
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
23
|
return {
|
|
24
|
-
'rules': value.rules === undefined ? undefined : (value.rules.map(
|
|
24
|
+
'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerResponseRuleToJSON)),
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaasPolicyLayerResponseLayerContent.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerResponseLayerContent.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAoCM,SAAU,2CAA2C,CAAC,IAAS,EAAA;AACjE,IAAA,OAAO,gDAAgD,CAAC,IAAW,CAAC,CAAC;AACzE,CAAC;AAEe,SAAA,gDAAgD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACpG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"WaasPolicyLayerResponseLayerContent.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerResponseLayerContent.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAoCM,SAAU,2CAA2C,CAAC,IAAS,EAAA;AACjE,IAAA,OAAO,gDAAgD,CAAC,IAAW,CAAC,CAAC;AACzE,CAAC;AAEe,SAAA,gDAAgD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACpG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,OAAO,CAAgB,CAAC,GAAG,CAAC,mCAAmC,CAAC,CAAC;KACzH,CAAC;AACN,CAAC;AAEK,SAAU,yCAAyC,CAAC,KAAkD,EAAA;AACxG,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,KAAoB,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;KACxH,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasChainEnum = require('./WaasChainEnum.cjs');
|
|
7
|
+
var WaasPolicyArgumentConstraint = require('./WaasPolicyArgumentConstraint.cjs');
|
|
8
|
+
var WaasPolicyRuleOperationRestrictions = require('./WaasPolicyRuleOperationRestrictions.cjs');
|
|
9
|
+
var WaasPolicyRuleType = require('./WaasPolicyRuleType.cjs');
|
|
10
|
+
var WaasPolicyRuleValueLimit = require('./WaasPolicyRuleValueLimit.cjs');
|
|
11
|
+
|
|
12
|
+
/* tslint:disable */
|
|
13
|
+
function WaasPolicyLayerResponseRuleFromJSON(json) {
|
|
14
|
+
return WaasPolicyLayerResponseRuleFromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function WaasPolicyLayerResponseRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'ruleId': json['ruleId'],
|
|
22
|
+
'name': json['name'],
|
|
23
|
+
'ruleType': WaasPolicyRuleType.WaasPolicyRuleTypeFromJSON(json['ruleType']),
|
|
24
|
+
'address': !runtime.exists(json, 'address') ? undefined : json['address'],
|
|
25
|
+
'addresses': !runtime.exists(json, 'addresses') ? undefined : json['addresses'],
|
|
26
|
+
'chain': WaasChainEnum.WaasChainEnumFromJSON(json['chain']),
|
|
27
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
28
|
+
'chainIds': !runtime.exists(json, 'chainIds') ? undefined : json['chainIds'],
|
|
29
|
+
'contractAbi': !runtime.exists(json, 'contractAbi') ? undefined : json['contractAbi'],
|
|
30
|
+
'functionName': !runtime.exists(json, 'functionName') ? undefined : json['functionName'],
|
|
31
|
+
'argumentConstraints': !runtime.exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintFromJSON)),
|
|
32
|
+
'valueLimit': !runtime.exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
33
|
+
'operationRestrictions': !runtime.exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
34
|
+
'disableBlockaidSecurityChecks': !runtime.exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
35
|
+
'modifiableBySigner': !runtime.exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function WaasPolicyLayerResponseRuleToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'ruleId': value.ruleId,
|
|
47
|
+
'name': value.name,
|
|
48
|
+
'ruleType': WaasPolicyRuleType.WaasPolicyRuleTypeToJSON(value.ruleType),
|
|
49
|
+
'address': value.address,
|
|
50
|
+
'addresses': value.addresses,
|
|
51
|
+
'chain': WaasChainEnum.WaasChainEnumToJSON(value.chain),
|
|
52
|
+
'chainId': value.chainId,
|
|
53
|
+
'chainIds': value.chainIds,
|
|
54
|
+
'contractAbi': value.contractAbi,
|
|
55
|
+
'functionName': value.functionName,
|
|
56
|
+
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraint.WaasPolicyArgumentConstraintToJSON)),
|
|
57
|
+
'valueLimit': WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
58
|
+
'operationRestrictions': WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
59
|
+
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
60
|
+
'modifiableBySigner': value.modifiableBySigner,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
exports.WaasPolicyLayerResponseRuleFromJSON = WaasPolicyLayerResponseRuleFromJSON;
|
|
65
|
+
exports.WaasPolicyLayerResponseRuleFromJSONTyped = WaasPolicyLayerResponseRuleFromJSONTyped;
|
|
66
|
+
exports.WaasPolicyLayerResponseRuleToJSON = WaasPolicyLayerResponseRuleToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyLayerResponseRule.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerResponseRule.ts"],"sourcesContent":null,"names":["WaasPolicyRuleTypeFromJSON","exists","WaasChainEnumFromJSON","WaasPolicyArgumentConstraintFromJSON","WaasPolicyRuleValueLimitFromJSON","WaasPolicyRuleOperationRestrictionsFromJSON","WaasPolicyRuleTypeToJSON","WaasChainEnumToJSON","WaasPolicyArgumentConstraintToJSON","WaasPolicyRuleValueLimitToJSON","WaasPolicyRuleOperationRestrictionsToJSON"],"mappings":";;;;;;;;;;;AAAA;AAsJM,SAAU,mCAAmC,CAAC,IAAS,EAAA;AACzD,IAAA,OAAO,wCAAwC,C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AAK,CAAC,mBAAkC,CAAC,GAAG,CAACC,+DAAkC,CAAC,CAAC;AAChK,QAAA,YAAY,EAAEC,uDAA8B,CAAC,KAAK,CAAC,UAAU,CAAC;AAC9D,QAAA,uBAAuB,EAAEC,6EAAyC,CAAC,KAAK,CAAC,qBAAqB,CAAC;QAC/F,+BAA+B,EAAE,KAAK,CAAC,6BAA6B;QACpE,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;KACjD,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,116 @@
|
|
|
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
|
+
import { WaasChainEnum } from './WaasChainEnum';
|
|
13
|
+
import { WaasPolicyArgumentConstraint } from './WaasPolicyArgumentConstraint';
|
|
14
|
+
import { WaasPolicyRuleOperationRestrictions } from './WaasPolicyRuleOperationRestrictions';
|
|
15
|
+
import { WaasPolicyRuleType } from './WaasPolicyRuleType';
|
|
16
|
+
import { WaasPolicyRuleValueLimit } from './WaasPolicyRuleValueLimit';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface WaasPolicyLayerResponseRule
|
|
21
|
+
*/
|
|
22
|
+
export interface WaasPolicyLayerResponseRule {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
27
|
+
*/
|
|
28
|
+
ruleId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Human-readable name for the rule
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {WaasPolicyRuleType}
|
|
38
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
39
|
+
*/
|
|
40
|
+
ruleType: WaasPolicyRuleType;
|
|
41
|
+
/**
|
|
42
|
+
* Target address EVM or SVM (legacy field)
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
45
|
+
*/
|
|
46
|
+
address?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Target address(es) EVM or SVM
|
|
49
|
+
* @type {Array<string>}
|
|
50
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
51
|
+
*/
|
|
52
|
+
addresses?: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {WaasChainEnum}
|
|
56
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
57
|
+
*/
|
|
58
|
+
chain: WaasChainEnum;
|
|
59
|
+
/**
|
|
60
|
+
* Chain ID for the policy rule (legacy field)
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
63
|
+
*/
|
|
64
|
+
chainId?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Chain IDs for the policy rule
|
|
67
|
+
* @type {Array<number>}
|
|
68
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
69
|
+
*/
|
|
70
|
+
chainIds?: Array<number>;
|
|
71
|
+
/**
|
|
72
|
+
* Contract ABI interface
|
|
73
|
+
* @type {Array<object>}
|
|
74
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
75
|
+
*/
|
|
76
|
+
contractAbi?: Array<object>;
|
|
77
|
+
/**
|
|
78
|
+
* Specific function name to permit/deny
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
81
|
+
*/
|
|
82
|
+
functionName?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Validation rules for function arguments
|
|
85
|
+
* @type {Array<WaasPolicyArgumentConstraint>}
|
|
86
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
87
|
+
*/
|
|
88
|
+
argumentConstraints?: Array<WaasPolicyArgumentConstraint>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {WaasPolicyRuleValueLimit}
|
|
92
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
93
|
+
*/
|
|
94
|
+
valueLimit?: WaasPolicyRuleValueLimit;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {WaasPolicyRuleOperationRestrictions}
|
|
98
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
99
|
+
*/
|
|
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 WaasPolicyLayerResponseRule
|
|
105
|
+
*/
|
|
106
|
+
disableBlockaidSecurityChecks?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* When true, a Signer is permitted to modify this Rule. Cannot be combined with operationRestrictions or disableBlockaidSecurityChecks on the same Rule.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof WaasPolicyLayerResponseRule
|
|
111
|
+
*/
|
|
112
|
+
modifiableBySigner?: boolean;
|
|
113
|
+
}
|
|
114
|
+
export declare function WaasPolicyLayerResponseRuleFromJSON(json: any): WaasPolicyLayerResponseRule;
|
|
115
|
+
export declare function WaasPolicyLayerResponseRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerResponseRule;
|
|
116
|
+
export declare function WaasPolicyLayerResponseRuleToJSON(value?: WaasPolicyLayerResponseRule | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
|
|
3
|
+
import { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintToJSON } from './WaasPolicyArgumentConstraint.js';
|
|
4
|
+
import { WaasPolicyRuleOperationRestrictionsFromJSON, WaasPolicyRuleOperationRestrictionsToJSON } from './WaasPolicyRuleOperationRestrictions.js';
|
|
5
|
+
import { WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeToJSON } from './WaasPolicyRuleType.js';
|
|
6
|
+
import { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitToJSON } from './WaasPolicyRuleValueLimit.js';
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WaasPolicyLayerResponseRuleFromJSON(json) {
|
|
10
|
+
return WaasPolicyLayerResponseRuleFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WaasPolicyLayerResponseRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'ruleId': json['ruleId'],
|
|
18
|
+
'name': json['name'],
|
|
19
|
+
'ruleType': WaasPolicyRuleTypeFromJSON(json['ruleType']),
|
|
20
|
+
'address': !exists(json, 'address') ? undefined : json['address'],
|
|
21
|
+
'addresses': !exists(json, 'addresses') ? undefined : json['addresses'],
|
|
22
|
+
'chain': WaasChainEnumFromJSON(json['chain']),
|
|
23
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
24
|
+
'chainIds': !exists(json, 'chainIds') ? undefined : json['chainIds'],
|
|
25
|
+
'contractAbi': !exists(json, 'contractAbi') ? undefined : json['contractAbi'],
|
|
26
|
+
'functionName': !exists(json, 'functionName') ? undefined : json['functionName'],
|
|
27
|
+
'argumentConstraints': !exists(json, 'argumentConstraints') ? undefined : (json['argumentConstraints'].map(WaasPolicyArgumentConstraintFromJSON)),
|
|
28
|
+
'valueLimit': !exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
29
|
+
'operationRestrictions': !exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
30
|
+
'disableBlockaidSecurityChecks': !exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
31
|
+
'modifiableBySigner': !exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function WaasPolicyLayerResponseRuleToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'ruleId': value.ruleId,
|
|
43
|
+
'name': value.name,
|
|
44
|
+
'ruleType': WaasPolicyRuleTypeToJSON(value.ruleType),
|
|
45
|
+
'address': value.address,
|
|
46
|
+
'addresses': value.addresses,
|
|
47
|
+
'chain': WaasChainEnumToJSON(value.chain),
|
|
48
|
+
'chainId': value.chainId,
|
|
49
|
+
'chainIds': value.chainIds,
|
|
50
|
+
'contractAbi': value.contractAbi,
|
|
51
|
+
'functionName': value.functionName,
|
|
52
|
+
'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraintToJSON)),
|
|
53
|
+
'valueLimit': WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
54
|
+
'operationRestrictions': WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
55
|
+
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
56
|
+
'modifiableBySigner': value.modifiableBySigner,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { WaasPolicyLayerResponseRuleFromJSON, WaasPolicyLayerResponseRuleFromJSONTyped, WaasPolicyLayerResponseRuleToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyLayerResponseRule.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerResponseRule.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;;;AAAA;AAsJM,SAAU,mCAAmC,CAAC,IAAS,EAAA;AACzD,IAAA,OAAO,wCAAwC,CAAC,IAAW,CAAC,CAAC;AACjE,CAAC;AAEe,SAAA,wCAAwC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC5F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,UAAU,EAAE,0BAA0B,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AACxD,QAAA,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;AACvE,QAAA,OAAO,EAAE,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAC7C,QAAA,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;AACpE,QAAA,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,a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S;AAC5B,QAAA,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC;QACzC,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,cAAc,EAAE,KAAK,CAAC,YAAY;QAClC,qBAAqB,EAAE,KAAK,CAAC,mBAAmB,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,mBAAkC,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;AAChK,QAAA,YAAY,EAAE,8BAA8B,CAAC,KAAK,CAAC,UAAU,CAAC;AAC9D,QAAA,uBAAuB,EAAE,yCAAyC,CAAC,KAAK,CAAC,qBAAqB,CAAC;QAC/F,+BAA+B,EAAE,KAAK,CAAC,6BAA6B;QACpE,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;KACjD,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WaasPolicyRule = require('./WaasPolicyRule.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
/**
|
|
10
|
+
* @export
|
|
11
|
+
* @enum {string}
|
|
12
|
+
*/
|
|
13
|
+
exports.WaasPolicyLayerRuleOperationOpEnum = void 0;
|
|
14
|
+
(function (WaasPolicyLayerRuleOperationOpEnum) {
|
|
15
|
+
WaasPolicyLayerRuleOperationOpEnum["Upsert"] = "upsert";
|
|
16
|
+
WaasPolicyLayerRuleOperationOpEnum["Remove"] = "remove";
|
|
17
|
+
})(exports.WaasPolicyLayerRuleOperationOpEnum || (exports.WaasPolicyLayerRuleOperationOpEnum = {}));
|
|
18
|
+
function WaasPolicyLayerRuleOperationFromJSON(json) {
|
|
19
|
+
return WaasPolicyLayerRuleOperationFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function WaasPolicyLayerRuleOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'op': json['op'],
|
|
27
|
+
'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
|
|
28
|
+
'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function WaasPolicyLayerRuleOperationToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'op': value.op,
|
|
40
|
+
'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
|
|
41
|
+
'ruleId': value.ruleId,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.WaasPolicyLayerRuleOperationFromJSON = WaasPolicyLayerRuleOperationFromJSON;
|
|
46
|
+
exports.WaasPolicyLayerRuleOperationFromJSONTyped = WaasPolicyLayerRuleOperationFromJSONTyped;
|
|
47
|
+
exports.WaasPolicyLayerRuleOperationToJSON = WaasPolicyLayerRuleOperationToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyLayerRuleOperation.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerRuleOperation.ts"],"sourcesContent":null,"names":["WaasPolicyLayerRuleOperationOpEnum","exists","WaasPolicyRuleFromJSON","WaasPolicyRuleToJSON"],"mappings":";;;;;;;AAAA;AAgDA;;;AAGE;AACUA,oDAGX;AAHD,CAAA,UAAY,kCAAkC,EAAA;AAC1C,IAAA,kCAAA,CAAA,QAAA,CAAA,GAAA,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 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 { WaasPolicyRule } from './WaasPolicyRule';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WaasPolicyLayerRuleOperation
|
|
17
|
+
*/
|
|
18
|
+
export interface WaasPolicyLayerRuleOperation {
|
|
19
|
+
/**
|
|
20
|
+
* The per-Rule operation to apply within a batch
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WaasPolicyLayerRuleOperation
|
|
23
|
+
*/
|
|
24
|
+
op: WaasPolicyLayerRuleOperationOpEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {WaasPolicyRule}
|
|
28
|
+
* @memberof WaasPolicyLayerRuleOperation
|
|
29
|
+
*/
|
|
30
|
+
rule?: WaasPolicyRule;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WaasPolicyLayerRuleOperation
|
|
35
|
+
*/
|
|
36
|
+
ruleId?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
export declare enum WaasPolicyLayerRuleOperationOpEnum {
|
|
43
|
+
Upsert = "upsert",
|
|
44
|
+
Remove = "remove"
|
|
45
|
+
}
|
|
46
|
+
export declare function WaasPolicyLayerRuleOperationFromJSON(json: any): WaasPolicyLayerRuleOperation;
|
|
47
|
+
export declare function WaasPolicyLayerRuleOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerRuleOperation;
|
|
48
|
+
export declare function WaasPolicyLayerRuleOperationToJSON(value?: WaasPolicyLayerRuleOperation | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var WaasPolicyLayerRuleOperationOpEnum;
|
|
10
|
+
(function (WaasPolicyLayerRuleOperationOpEnum) {
|
|
11
|
+
WaasPolicyLayerRuleOperationOpEnum["Upsert"] = "upsert";
|
|
12
|
+
WaasPolicyLayerRuleOperationOpEnum["Remove"] = "remove";
|
|
13
|
+
})(WaasPolicyLayerRuleOperationOpEnum || (WaasPolicyLayerRuleOperationOpEnum = {}));
|
|
14
|
+
function WaasPolicyLayerRuleOperationFromJSON(json) {
|
|
15
|
+
return WaasPolicyLayerRuleOperationFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function WaasPolicyLayerRuleOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'op': json['op'],
|
|
23
|
+
'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
|
|
24
|
+
'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function WaasPolicyLayerRuleOperationToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'op': value.op,
|
|
36
|
+
'rule': WaasPolicyRuleToJSON(value.rule),
|
|
37
|
+
'ruleId': value.ruleId,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationFromJSONTyped, WaasPolicyLayerRuleOperationOpEnum, WaasPolicyLayerRuleOperationToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WaasPolicyLayerRuleOperation.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyLayerRuleOperation.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAgDA;;;AAGE;IACU,mCAGX;AAHD,CAAA,UAAY,kCAAkC,EAAA;AAC1C,IAAA,kCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,kCAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACrB,CAAC,EAHW,kCAAkC,KAAlC,kCAAkC,GAG7C,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,oCAAoC,CAAC,IAAS,EAAA;AAC1D,IAAA,OAAO,yCAAyC,CAAC,IAAW,CAAC,CAAC;AAClE,CAAC;AAEe,SAAA,yCAAyC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC7F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAChF,QAAA,QAAQ,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC;KACjE,CAAC;AACN,CAAC;AAEK,SAAU,kCAAkC,CAAC,KAA2C,EAAA;AAC1F,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EA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