@dynamic-labs/sdk-api-core 0.0.1082 → 0.0.1083

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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +2 -0
  3. package/src/apis/SDKApi.cjs.map +1 -1
  4. package/src/apis/SDKApi.js +2 -0
  5. package/src/apis/SDKApi.js.map +1 -1
  6. package/src/apis/WaasApi.cjs +2 -0
  7. package/src/apis/WaasApi.cjs.map +1 -1
  8. package/src/apis/WaasApi.js +2 -0
  9. package/src/apis/WaasApi.js.map +1 -1
  10. package/src/index.cjs +32 -0
  11. package/src/index.cjs.map +1 -1
  12. package/src/index.js +6 -0
  13. package/src/index.js.map +1 -1
  14. package/src/models/ReshareRequest.cjs +3 -0
  15. package/src/models/ReshareRequest.cjs.map +1 -1
  16. package/src/models/ReshareRequest.d.ts +9 -0
  17. package/src/models/ReshareRequest.js +3 -0
  18. package/src/models/ReshareRequest.js.map +1 -1
  19. package/src/models/WaasPolicyArgumentConstraint.cjs +37 -0
  20. package/src/models/WaasPolicyArgumentConstraint.cjs.map +1 -0
  21. package/src/models/WaasPolicyArgumentConstraint.d.ts +40 -0
  22. package/src/models/WaasPolicyArgumentConstraint.js +31 -0
  23. package/src/models/WaasPolicyArgumentConstraint.js.map +1 -0
  24. package/src/models/WaasPolicyConstraintCondition.cjs +44 -0
  25. package/src/models/WaasPolicyConstraintCondition.cjs.map +1 -0
  26. package/src/models/WaasPolicyConstraintCondition.d.ts +27 -0
  27. package/src/models/WaasPolicyConstraintCondition.js +38 -0
  28. package/src/models/WaasPolicyConstraintCondition.js.map +1 -0
  29. package/src/models/WaasPolicyRule.cjs +64 -0
  30. package/src/models/WaasPolicyRule.cjs.map +1 -0
  31. package/src/models/WaasPolicyRule.d.ts +110 -0
  32. package/src/models/WaasPolicyRule.js +58 -0
  33. package/src/models/WaasPolicyRule.js.map +1 -0
  34. package/src/models/WaasPolicyRuleOperationRestrictions.cjs +37 -0
  35. package/src/models/WaasPolicyRuleOperationRestrictions.cjs.map +1 -0
  36. package/src/models/WaasPolicyRuleOperationRestrictions.d.ts +39 -0
  37. package/src/models/WaasPolicyRuleOperationRestrictions.js +31 -0
  38. package/src/models/WaasPolicyRuleOperationRestrictions.js.map +1 -0
  39. package/src/models/WaasPolicyRuleType.cjs +40 -0
  40. package/src/models/WaasPolicyRuleType.cjs.map +1 -0
  41. package/src/models/WaasPolicyRuleType.d.ts +23 -0
  42. package/src/models/WaasPolicyRuleType.js +34 -0
  43. package/src/models/WaasPolicyRuleType.js.map +1 -0
  44. package/src/models/WaasPolicyRuleValueLimit.cjs +37 -0
  45. package/src/models/WaasPolicyRuleValueLimit.cjs.map +1 -0
  46. package/src/models/WaasPolicyRuleValueLimit.d.ts +39 -0
  47. package/src/models/WaasPolicyRuleValueLimit.js +31 -0
  48. package/src/models/WaasPolicyRuleValueLimit.js.map +1 -0
  49. package/src/models/index.d.ts +6 -0
@@ -0,0 +1,110 @@
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 WaasPolicyRule
21
+ */
22
+ export interface WaasPolicyRule {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof WaasPolicyRule
27
+ */
28
+ ruleId?: string;
29
+ /**
30
+ * Human-readable name for the rule
31
+ * @type {string}
32
+ * @memberof WaasPolicyRule
33
+ */
34
+ name: string;
35
+ /**
36
+ *
37
+ * @type {WaasPolicyRuleType}
38
+ * @memberof WaasPolicyRule
39
+ */
40
+ ruleType: WaasPolicyRuleType;
41
+ /**
42
+ * Target address EVM or SVM (legacy field)
43
+ * @type {string}
44
+ * @memberof WaasPolicyRule
45
+ */
46
+ address?: string | null;
47
+ /**
48
+ * Target address(es) EVM or SVM
49
+ * @type {Array<string>}
50
+ * @memberof WaasPolicyRule
51
+ */
52
+ addresses?: Array<string>;
53
+ /**
54
+ *
55
+ * @type {WaasChainEnum}
56
+ * @memberof WaasPolicyRule
57
+ */
58
+ chain: WaasChainEnum;
59
+ /**
60
+ * Chain ID for the policy rule (legacy field)
61
+ * @type {number}
62
+ * @memberof WaasPolicyRule
63
+ */
64
+ chainId?: number;
65
+ /**
66
+ * Chain IDs for the policy rule
67
+ * @type {Array<number>}
68
+ * @memberof WaasPolicyRule
69
+ */
70
+ chainIds?: Array<number>;
71
+ /**
72
+ * Contract ABI interface
73
+ * @type {Array<object>}
74
+ * @memberof WaasPolicyRule
75
+ */
76
+ contractAbi?: Array<object>;
77
+ /**
78
+ * Specific function name to permit/deny
79
+ * @type {string}
80
+ * @memberof WaasPolicyRule
81
+ */
82
+ functionName?: string;
83
+ /**
84
+ * Validation rules for function arguments
85
+ * @type {Array<WaasPolicyArgumentConstraint>}
86
+ * @memberof WaasPolicyRule
87
+ */
88
+ argumentConstraints?: Array<WaasPolicyArgumentConstraint>;
89
+ /**
90
+ *
91
+ * @type {WaasPolicyRuleValueLimit}
92
+ * @memberof WaasPolicyRule
93
+ */
94
+ valueLimit?: WaasPolicyRuleValueLimit;
95
+ /**
96
+ *
97
+ * @type {WaasPolicyRuleOperationRestrictions}
98
+ * @memberof WaasPolicyRule
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 WaasPolicyRule
105
+ */
106
+ disableBlockaidSecurityChecks?: boolean;
107
+ }
108
+ export declare function WaasPolicyRuleFromJSON(json: any): WaasPolicyRule;
109
+ export declare function WaasPolicyRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRule;
110
+ export declare function WaasPolicyRuleToJSON(value?: WaasPolicyRule | null): any;
@@ -0,0 +1,58 @@
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 WaasPolicyRuleFromJSON(json) {
10
+ return WaasPolicyRuleFromJSONTyped(json);
11
+ }
12
+ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'ruleId': !exists(json, 'ruleId') ? undefined : 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
+ };
32
+ }
33
+ function WaasPolicyRuleToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'ruleId': value.ruleId,
42
+ 'name': value.name,
43
+ 'ruleType': WaasPolicyRuleTypeToJSON(value.ruleType),
44
+ 'address': value.address,
45
+ 'addresses': value.addresses,
46
+ 'chain': WaasChainEnumToJSON(value.chain),
47
+ 'chainId': value.chainId,
48
+ 'chainIds': value.chainIds,
49
+ 'contractAbi': value.contractAbi,
50
+ 'functionName': value.functionName,
51
+ 'argumentConstraints': value.argumentConstraints === undefined ? undefined : (value.argumentConstraints.map(WaasPolicyArgumentConstraintToJSON)),
52
+ 'valueLimit': WaasPolicyRuleValueLimitToJSON(value.valueLimit),
53
+ 'operationRestrictions': WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
54
+ 'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
55
+ };
56
+ }
57
+
58
+ export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRule.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRule.ts"],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,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;KACvE,CAAC;AACN;;;;"}
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function WaasPolicyRuleOperationRestrictionsFromJSON(json) {
9
+ return WaasPolicyRuleOperationRestrictionsFromJSONTyped(json);
10
+ }
11
+ function WaasPolicyRuleOperationRestrictionsFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'blockExport': !runtime.exists(json, 'blockExport') ? undefined : json['blockExport'],
17
+ 'blockRevocation': !runtime.exists(json, 'blockRevocation') ? undefined : json['blockRevocation'],
18
+ 'blockClientSigning': !runtime.exists(json, 'blockClientSigning') ? undefined : json['blockClientSigning'],
19
+ };
20
+ }
21
+ function WaasPolicyRuleOperationRestrictionsToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'blockExport': value.blockExport,
30
+ 'blockRevocation': value.blockRevocation,
31
+ 'blockClientSigning': value.blockClientSigning,
32
+ };
33
+ }
34
+
35
+ exports.WaasPolicyRuleOperationRestrictionsFromJSON = WaasPolicyRuleOperationRestrictionsFromJSON;
36
+ exports.WaasPolicyRuleOperationRestrictionsFromJSONTyped = WaasPolicyRuleOperationRestrictionsFromJSONTyped;
37
+ exports.WaasPolicyRuleOperationRestrictionsToJSON = WaasPolicyRuleOperationRestrictionsToJSON;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRuleOperationRestrictions.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleOperationRestrictions.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAyCM,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;AAEH,QAAA,aAAa,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,iBAAiB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,iBAAiB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACzF,QAAA,oBAAoB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,oBAAoB,CAAC;KACrG,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,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;KACjD,CAAC;AACN;;;;;;"}
@@ -0,0 +1,39 @@
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
+ * Operation-level restrictions for the wallet
14
+ * @export
15
+ * @interface WaasPolicyRuleOperationRestrictions
16
+ */
17
+ export interface WaasPolicyRuleOperationRestrictions {
18
+ /**
19
+ * Block private key export
20
+ * @type {boolean}
21
+ * @memberof WaasPolicyRuleOperationRestrictions
22
+ */
23
+ blockExport?: boolean;
24
+ /**
25
+ * Block end-user revocation of delegated access
26
+ * @type {boolean}
27
+ * @memberof WaasPolicyRuleOperationRestrictions
28
+ */
29
+ blockRevocation?: boolean;
30
+ /**
31
+ * Block all end-user signing (not delegated)
32
+ * @type {boolean}
33
+ * @memberof WaasPolicyRuleOperationRestrictions
34
+ */
35
+ blockClientSigning?: boolean;
36
+ }
37
+ export declare function WaasPolicyRuleOperationRestrictionsFromJSON(json: any): WaasPolicyRuleOperationRestrictions;
38
+ export declare function WaasPolicyRuleOperationRestrictionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleOperationRestrictions;
39
+ export declare function WaasPolicyRuleOperationRestrictionsToJSON(value?: WaasPolicyRuleOperationRestrictions | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function WaasPolicyRuleOperationRestrictionsFromJSON(json) {
5
+ return WaasPolicyRuleOperationRestrictionsFromJSONTyped(json);
6
+ }
7
+ function WaasPolicyRuleOperationRestrictionsFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'blockExport': !exists(json, 'blockExport') ? undefined : json['blockExport'],
13
+ 'blockRevocation': !exists(json, 'blockRevocation') ? undefined : json['blockRevocation'],
14
+ 'blockClientSigning': !exists(json, 'blockClientSigning') ? undefined : json['blockClientSigning'],
15
+ };
16
+ }
17
+ function WaasPolicyRuleOperationRestrictionsToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'blockExport': value.blockExport,
26
+ 'blockRevocation': value.blockRevocation,
27
+ 'blockClientSigning': value.blockClientSigning,
28
+ };
29
+ }
30
+
31
+ export { WaasPolicyRuleOperationRestrictionsFromJSON, WaasPolicyRuleOperationRestrictionsFromJSONTyped, WaasPolicyRuleOperationRestrictionsToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRuleOperationRestrictions.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleOperationRestrictions.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAyCM,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;AAEH,QAAA,aAAa,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,aAAa,CAAC;AAC7E,QAAA,iBAAiB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,iBAAiB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,iBAAiB,CAAC;AACzF,QAAA,oBAAoB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,oBAAoB,CAAC;KACrG,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,aAAa,EAAE,KAAK,CAAC,WAAW;QAChC,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,oBAAoB,EAAE,KAAK,CAAC,kBAAkB;KACjD,CAAC;AACN;;;;"}
@@ -0,0 +1,40 @@
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
+ /**
19
+ * Whether the rule permits or denies the specified action
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.WaasPolicyRuleType = void 0;
24
+ (function (WaasPolicyRuleType) {
25
+ WaasPolicyRuleType["Allow"] = "allow";
26
+ WaasPolicyRuleType["Deny"] = "deny";
27
+ })(exports.WaasPolicyRuleType || (exports.WaasPolicyRuleType = {}));
28
+ function WaasPolicyRuleTypeFromJSON(json) {
29
+ return WaasPolicyRuleTypeFromJSONTyped(json);
30
+ }
31
+ function WaasPolicyRuleTypeFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ function WaasPolicyRuleTypeToJSON(value) {
35
+ return value;
36
+ }
37
+
38
+ exports.WaasPolicyRuleTypeFromJSON = WaasPolicyRuleTypeFromJSON;
39
+ exports.WaasPolicyRuleTypeFromJSONTyped = WaasPolicyRuleTypeFromJSONTyped;
40
+ exports.WaasPolicyRuleTypeToJSON = WaasPolicyRuleTypeToJSON;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRuleType.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleType.ts"],"sourcesContent":null,"names":["WaasPolicyRuleType"],"mappings":";;;;AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;AACSA,oCAGX;AAHD,CAAA,UAAY,kBAAkB,EAAA;AAC1B,IAAA,kBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,kBAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACjB,CAAC,EAHWA,0BAAkB,KAAlBA,0BAAkB,GAG7B,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,OAAO,IAA0B,CAAC;AACtC,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,OAAO,KAAY,CAAC;AACxB;;;;;;"}
@@ -0,0 +1,23 @@
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
+ * Whether the rule permits or denies the specified action
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum WaasPolicyRuleType {
18
+ Allow = "allow",
19
+ Deny = "deny"
20
+ }
21
+ export declare function WaasPolicyRuleTypeFromJSON(json: any): WaasPolicyRuleType;
22
+ export declare function WaasPolicyRuleTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleType;
23
+ export declare function WaasPolicyRuleTypeToJSON(value?: WaasPolicyRuleType | null): any;
@@ -0,0 +1,34 @@
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
+ /**
15
+ * Whether the rule permits or denies the specified action
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var WaasPolicyRuleType;
20
+ (function (WaasPolicyRuleType) {
21
+ WaasPolicyRuleType["Allow"] = "allow";
22
+ WaasPolicyRuleType["Deny"] = "deny";
23
+ })(WaasPolicyRuleType || (WaasPolicyRuleType = {}));
24
+ function WaasPolicyRuleTypeFromJSON(json) {
25
+ return WaasPolicyRuleTypeFromJSONTyped(json);
26
+ }
27
+ function WaasPolicyRuleTypeFromJSONTyped(json, ignoreDiscriminator) {
28
+ return json;
29
+ }
30
+ function WaasPolicyRuleTypeToJSON(value) {
31
+ return value;
32
+ }
33
+
34
+ export { WaasPolicyRuleType, WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeFromJSONTyped, WaasPolicyRuleTypeToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRuleType.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleType.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;IACS,mBAGX;AAHD,CAAA,UAAY,kBAAkB,EAAA;AAC1B,IAAA,kBAAA,CAAA,OAAA,CAAA,GAAA,OAAe,CAAA;AACf,IAAA,kBAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACjB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,GAG7B,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,OAAO,IAA0B,CAAC;AACtC,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,OAAO,KAAY,CAAC;AACxB;;;;"}
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function WaasPolicyRuleValueLimitFromJSON(json) {
9
+ return WaasPolicyRuleValueLimitFromJSONTyped(json);
10
+ }
11
+ function WaasPolicyRuleValueLimitFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'asset': !runtime.exists(json, 'asset') ? undefined : json['asset'],
17
+ 'maxPerCall': !runtime.exists(json, 'maxPerCall') ? undefined : json['maxPerCall'],
18
+ 'totalLimit': !runtime.exists(json, 'totalLimit') ? undefined : json['totalLimit'],
19
+ };
20
+ }
21
+ function WaasPolicyRuleValueLimitToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'asset': value.asset,
30
+ 'maxPerCall': value.maxPerCall,
31
+ 'totalLimit': value.totalLimit,
32
+ };
33
+ }
34
+
35
+ exports.WaasPolicyRuleValueLimitFromJSON = WaasPolicyRuleValueLimitFromJSON;
36
+ exports.WaasPolicyRuleValueLimitFromJSONTyped = WaasPolicyRuleValueLimitFromJSONTyped;
37
+ exports.WaasPolicyRuleValueLimitToJSON = WaasPolicyRuleValueLimitToJSON;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRuleValueLimit.cjs","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleValueLimit.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAyCM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;AAC3D,QAAA,YAAY,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;AAC1E,QAAA,YAAY,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;KAC7E,CAAC;AACN,CAAC;AAEK,SAAU,8BAA8B,CAAC,KAAuC,EAAA;AAClF,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;QACpB,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;;;"}
@@ -0,0 +1,39 @@
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
+ * Value limits for the policy rule
14
+ * @export
15
+ * @interface WaasPolicyRuleValueLimit
16
+ */
17
+ export interface WaasPolicyRuleValueLimit {
18
+ /**
19
+ * Target asset address. If undefined, refers to native token (e.g., ETH)
20
+ * @type {string}
21
+ * @memberof WaasPolicyRuleValueLimit
22
+ */
23
+ asset?: string | null;
24
+ /**
25
+ * Maximum value per function call (as string to handle bigint)
26
+ * @type {string}
27
+ * @memberof WaasPolicyRuleValueLimit
28
+ */
29
+ maxPerCall?: string;
30
+ /**
31
+ * Cumulative value limit (as string to handle bigint)
32
+ * @type {string}
33
+ * @memberof WaasPolicyRuleValueLimit
34
+ */
35
+ totalLimit?: string;
36
+ }
37
+ export declare function WaasPolicyRuleValueLimitFromJSON(json: any): WaasPolicyRuleValueLimit;
38
+ export declare function WaasPolicyRuleValueLimitFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRuleValueLimit;
39
+ export declare function WaasPolicyRuleValueLimitToJSON(value?: WaasPolicyRuleValueLimit | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function WaasPolicyRuleValueLimitFromJSON(json) {
5
+ return WaasPolicyRuleValueLimitFromJSONTyped(json);
6
+ }
7
+ function WaasPolicyRuleValueLimitFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'asset': !exists(json, 'asset') ? undefined : json['asset'],
13
+ 'maxPerCall': !exists(json, 'maxPerCall') ? undefined : json['maxPerCall'],
14
+ 'totalLimit': !exists(json, 'totalLimit') ? undefined : json['totalLimit'],
15
+ };
16
+ }
17
+ function WaasPolicyRuleValueLimitToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'asset': value.asset,
26
+ 'maxPerCall': value.maxPerCall,
27
+ 'totalLimit': value.totalLimit,
28
+ };
29
+ }
30
+
31
+ export { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitFromJSONTyped, WaasPolicyRuleValueLimitToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaasPolicyRuleValueLimit.js","sources":["../../../../../libs/sdk-api-core/src/models/WaasPolicyRuleValueLimit.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAyCM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;AAC3D,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;AAC1E,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;KAC7E,CAAC;AACN,CAAC;AAEK,SAAU,8BAA8B,CAAC,KAAuC,EAAA;AAClF,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;QACpB,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,YAAY,EAAE,KAAK,CAAC,UAAU;KACjC,CAAC;AACN;;;;"}
@@ -496,6 +496,12 @@ export * from './VerifyUnlinkRequest';
496
496
  export * from './WaasBackupOptionsEnum';
497
497
  export * from './WaasChainEnum';
498
498
  export * from './WaasDelegatedAccessEncryptionPublicKeyType';
499
+ export * from './WaasPolicyArgumentConstraint';
500
+ export * from './WaasPolicyConstraintCondition';
501
+ export * from './WaasPolicyRule';
502
+ export * from './WaasPolicyRuleOperationRestrictions';
503
+ export * from './WaasPolicyRuleType';
504
+ export * from './WaasPolicyRuleValueLimit';
499
505
  export * from './WaasShareSet';
500
506
  export * from './WaasWalletProperties';
501
507
  export * from './WaasWalletSettings';