@dynamic-labs/sdk-api 0.100.0 → 0.102.0

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 (123) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -0
  9. package/src/apis/AuthorizedClientsApi.js +1 -0
  10. package/src/apis/BusinessAccountsApi.cjs +1 -0
  11. package/src/apis/BusinessAccountsApi.js +1 -0
  12. package/src/apis/CaptchaApi.cjs +1 -0
  13. package/src/apis/CaptchaApi.js +1 -0
  14. package/src/apis/ChainalysisApi.cjs +1 -0
  15. package/src/apis/ChainalysisApi.js +1 -0
  16. package/src/apis/ChainsApi.cjs +1 -0
  17. package/src/apis/ChainsApi.js +1 -0
  18. package/src/apis/CheckoutApi.cjs +1 -0
  19. package/src/apis/CheckoutApi.js +1 -0
  20. package/src/apis/ClientGrantApi.cjs +1 -0
  21. package/src/apis/ClientGrantApi.js +1 -0
  22. package/src/apis/CustomFieldsApi.cjs +1 -0
  23. package/src/apis/CustomFieldsApi.js +1 -0
  24. package/src/apis/CustomHostnamesApi.cjs +1 -0
  25. package/src/apis/CustomHostnamesApi.js +1 -0
  26. package/src/apis/CustomNetworksApi.cjs +1 -0
  27. package/src/apis/CustomNetworksApi.js +1 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  29. package/src/apis/DeeplinkUrlsApi.js +1 -0
  30. package/src/apis/EnvironmentsApi.cjs +1 -0
  31. package/src/apis/EnvironmentsApi.js +1 -0
  32. package/src/apis/EventsApi.cjs +1 -0
  33. package/src/apis/EventsApi.js +1 -0
  34. package/src/apis/ExchangesApi.cjs +1 -0
  35. package/src/apis/ExchangesApi.js +1 -0
  36. package/src/apis/ExportsApi.cjs +1 -0
  37. package/src/apis/ExportsApi.js +1 -0
  38. package/src/apis/ExternalJwtApi.cjs +1 -0
  39. package/src/apis/ExternalJwtApi.js +1 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  41. package/src/apis/FlowAnalyticsApi.js +1 -0
  42. package/src/apis/GaslessApi.cjs +1 -0
  43. package/src/apis/GaslessApi.js +1 -0
  44. package/src/apis/GatesApi.cjs +1 -0
  45. package/src/apis/GatesApi.js +1 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  50. package/src/apis/GlobalWalletsApi.cjs +1 -0
  51. package/src/apis/GlobalWalletsApi.js +1 -0
  52. package/src/apis/InvitesApi.cjs +1 -0
  53. package/src/apis/InvitesApi.js +1 -0
  54. package/src/apis/KybApi.cjs +1 -0
  55. package/src/apis/KybApi.js +1 -0
  56. package/src/apis/MembersApi.cjs +1 -0
  57. package/src/apis/MembersApi.js +1 -0
  58. package/src/apis/MfaSettingsApi.cjs +1 -0
  59. package/src/apis/MfaSettingsApi.js +1 -0
  60. package/src/apis/NameServicesApi.cjs +1 -0
  61. package/src/apis/NameServicesApi.js +1 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  63. package/src/apis/OrganizationSettingsApi.js +1 -0
  64. package/src/apis/OrganizationsApi.cjs +1 -0
  65. package/src/apis/OrganizationsApi.js +1 -0
  66. package/src/apis/OriginsApi.cjs +1 -0
  67. package/src/apis/OriginsApi.js +1 -0
  68. package/src/apis/ProjectsApi.cjs +1 -0
  69. package/src/apis/ProjectsApi.js +1 -0
  70. package/src/apis/ProvidersApi.cjs +1 -0
  71. package/src/apis/ProvidersApi.js +1 -0
  72. package/src/apis/SDKApi.cjs +51 -0
  73. package/src/apis/SDKApi.d.ts +25 -1
  74. package/src/apis/SDKApi.js +51 -0
  75. package/src/apis/SDKViewsApi.cjs +1 -0
  76. package/src/apis/SDKViewsApi.js +1 -0
  77. package/src/apis/ScreeningPoliciesApi.cjs +1 -0
  78. package/src/apis/ScreeningPoliciesApi.js +1 -0
  79. package/src/apis/ServerApi.cjs +1 -0
  80. package/src/apis/ServerApi.js +1 -0
  81. package/src/apis/SessionsApi.cjs +1 -0
  82. package/src/apis/SessionsApi.js +1 -0
  83. package/src/apis/TestAccountApi.cjs +1 -0
  84. package/src/apis/TestAccountApi.js +1 -0
  85. package/src/apis/TokensApi.cjs +1 -0
  86. package/src/apis/TokensApi.js +1 -0
  87. package/src/apis/UserApiTokensApi.cjs +1 -0
  88. package/src/apis/UserApiTokensApi.js +1 -0
  89. package/src/apis/UsersApi.cjs +1 -0
  90. package/src/apis/UsersApi.js +1 -0
  91. package/src/apis/VisitsApi.cjs +1 -0
  92. package/src/apis/VisitsApi.js +1 -0
  93. package/src/apis/WaasApi.cjs +1 -0
  94. package/src/apis/WaasApi.js +1 -0
  95. package/src/apis/WalletConnectApi.cjs +1 -0
  96. package/src/apis/WalletConnectApi.js +1 -0
  97. package/src/apis/WalletsApi.cjs +1 -0
  98. package/src/apis/WalletsApi.js +1 -0
  99. package/src/apis/WebhooksApi.cjs +1 -0
  100. package/src/apis/WebhooksApi.js +1 -0
  101. package/src/apis/YieldApi.cjs +1 -0
  102. package/src/apis/YieldApi.js +1 -0
  103. package/src/apis/ZendeskApi.cjs +1 -0
  104. package/src/apis/ZendeskApi.js +1 -0
  105. package/src/index.cjs +12 -0
  106. package/src/index.js +2 -0
  107. package/src/models/GetSVMSponsorAddressResponse.cjs +43 -0
  108. package/src/models/GetSVMSponsorAddressResponse.d.ts +27 -0
  109. package/src/models/GetSVMSponsorAddressResponse.js +37 -0
  110. package/src/models/WaasPolicyDeclarativeRule.d.ts +1 -1
  111. package/src/models/WaasPolicyDeclarativeRuleInput.cjs +56 -0
  112. package/src/models/WaasPolicyDeclarativeRuleInput.d.ts +73 -0
  113. package/src/models/WaasPolicyDeclarativeRuleInput.js +50 -0
  114. package/src/models/WaasPolicyLayerRuleOperation.cjs +3 -0
  115. package/src/models/WaasPolicyLayerRuleOperation.d.ts +7 -0
  116. package/src/models/WaasPolicyLayerRuleOperation.js +3 -0
  117. package/src/models/WaasPolicyLayerUpdateRequest.cjs +3 -0
  118. package/src/models/WaasPolicyLayerUpdateRequest.d.ts +7 -0
  119. package/src/models/WaasPolicyLayerUpdateRequest.js +3 -0
  120. package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +3 -0
  121. package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +7 -0
  122. package/src/models/WaasSignerPolicyLayerUpdateRequest.js +3 -0
  123. package/src/models/index.d.ts +2 -0
package/src/index.js CHANGED
@@ -437,6 +437,7 @@ export { GetAvailableEVMGaslessRelayerResponseFromJSON, GetAvailableEVMGaslessRe
437
437
  export { GetEVMSponsoredTransactionStatusResponseFromJSON, GetEVMSponsoredTransactionStatusResponseFromJSONTyped, GetEVMSponsoredTransactionStatusResponseStatusEnum, GetEVMSponsoredTransactionStatusResponseToJSON } from './models/GetEVMSponsoredTransactionStatusResponse.js';
438
438
  export { GetPasskeyAuthenticationOptionsResponseFromJSON, GetPasskeyAuthenticationOptionsResponseFromJSONTyped, GetPasskeyAuthenticationOptionsResponseToJSON } from './models/GetPasskeyAuthenticationOptionsResponse.js';
439
439
  export { GetPasskeyRegistrationOptionsResponseFromJSON, GetPasskeyRegistrationOptionsResponseFromJSONTyped, GetPasskeyRegistrationOptionsResponseToJSON } from './models/GetPasskeyRegistrationOptionsResponse.js';
440
+ export { GetSVMSponsorAddressResponseFromJSON, GetSVMSponsorAddressResponseFromJSONTyped, GetSVMSponsorAddressResponseToJSON } from './models/GetSVMSponsorAddressResponse.js';
440
441
  export { GetUserPasskeysResponseFromJSON, GetUserPasskeysResponseFromJSONTyped, GetUserPasskeysResponseToJSON } from './models/GetUserPasskeysResponse.js';
441
442
  export { GlobalWalletAccessControlDomainCreateRequestFromJSON, GlobalWalletAccessControlDomainCreateRequestFromJSONTyped, GlobalWalletAccessControlDomainCreateRequestToJSON } from './models/GlobalWalletAccessControlDomainCreateRequest.js';
442
443
  export { GlobalWalletAccessControlDomainResponseFromJSON, GlobalWalletAccessControlDomainResponseFromJSONTyped, GlobalWalletAccessControlDomainResponseToJSON } from './models/GlobalWalletAccessControlDomainResponse.js';
@@ -959,6 +960,7 @@ export { WaasPolicyConstraintCondition, WaasPolicyConstraintConditionFromJSON, W
959
960
  export { WaasPolicyCreateRequestFromJSON, WaasPolicyCreateRequestFromJSONTyped, WaasPolicyCreateRequestToJSON } from './models/WaasPolicyCreateRequest.js';
960
961
  export { WaasPolicyDeclarativeApprovalRequirementFromJSON, WaasPolicyDeclarativeApprovalRequirementFromJSONTyped, WaasPolicyDeclarativeApprovalRequirementToJSON } from './models/WaasPolicyDeclarativeApprovalRequirement.js';
961
962
  export { WaasPolicyDeclarativeRuleFromJSON, WaasPolicyDeclarativeRuleFromJSONTyped, WaasPolicyDeclarativeRulePhaseEnum, WaasPolicyDeclarativeRuleToJSON } from './models/WaasPolicyDeclarativeRule.js';
963
+ export { WaasPolicyDeclarativeRuleInputFromJSON, WaasPolicyDeclarativeRuleInputFromJSONTyped, WaasPolicyDeclarativeRuleInputPhaseEnum, WaasPolicyDeclarativeRuleInputToJSON } from './models/WaasPolicyDeclarativeRuleInput.js';
962
964
  export { WaasPolicyDeleteRequestFromJSON, WaasPolicyDeleteRequestFromJSONTyped, WaasPolicyDeleteRequestToJSON } from './models/WaasPolicyDeleteRequest.js';
963
965
  export { WaasPolicyLayerResponseFromJSON, WaasPolicyLayerResponseFromJSONTyped, WaasPolicyLayerResponseToJSON } from './models/WaasPolicyLayerResponse.js';
964
966
  export { WaasPolicyLayerResponseLayerContentFromJSON, WaasPolicyLayerResponseLayerContentFromJSONTyped, WaasPolicyLayerResponseLayerContentToJSON } from './models/WaasPolicyLayerResponseLayerContent.js';
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function GetSVMSponsorAddressResponseFromJSON(json) {
19
+ return GetSVMSponsorAddressResponseFromJSONTyped(json);
20
+ }
21
+ function GetSVMSponsorAddressResponseFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'sponsorAddress': json['sponsorAddress'],
27
+ };
28
+ }
29
+ function GetSVMSponsorAddressResponseToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'sponsorAddress': value.sponsorAddress,
38
+ };
39
+ }
40
+
41
+ exports.GetSVMSponsorAddressResponseFromJSON = GetSVMSponsorAddressResponseFromJSON;
42
+ exports.GetSVMSponsorAddressResponseFromJSONTyped = GetSVMSponsorAddressResponseFromJSONTyped;
43
+ exports.GetSVMSponsorAddressResponseToJSON = GetSVMSponsorAddressResponseToJSON;
@@ -0,0 +1,27 @@
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
+ * Solana gas sponsor address for the environment's cluster
14
+ * @export
15
+ * @interface GetSVMSponsorAddressResponse
16
+ */
17
+ export interface GetSVMSponsorAddressResponse {
18
+ /**
19
+ * Base58 public key that signs as fee payer for sponsored Solana transactions
20
+ * @type {string}
21
+ * @memberof GetSVMSponsorAddressResponse
22
+ */
23
+ sponsorAddress: string;
24
+ }
25
+ export declare function GetSVMSponsorAddressResponseFromJSON(json: any): GetSVMSponsorAddressResponse;
26
+ export declare function GetSVMSponsorAddressResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSVMSponsorAddressResponse;
27
+ export declare function GetSVMSponsorAddressResponseToJSON(value?: GetSVMSponsorAddressResponse | null): any;
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function GetSVMSponsorAddressResponseFromJSON(json) {
15
+ return GetSVMSponsorAddressResponseFromJSONTyped(json);
16
+ }
17
+ function GetSVMSponsorAddressResponseFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'sponsorAddress': json['sponsorAddress'],
23
+ };
24
+ }
25
+ function GetSVMSponsorAddressResponseToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'sponsorAddress': value.sponsorAddress,
34
+ };
35
+ }
36
+
37
+ export { GetSVMSponsorAddressResponseFromJSON, GetSVMSponsorAddressResponseFromJSONTyped, GetSVMSponsorAddressResponseToJSON };
@@ -12,7 +12,7 @@
12
12
  import { WaasPolicyAction } from './WaasPolicyAction';
13
13
  import { WaasPolicyDeclarativeApprovalRequirement } from './WaasPolicyDeclarativeApprovalRequirement';
14
14
  /**
15
- * A Rule authored in the policy rule language, evaluated by the engine as stored rather than compiled from WaasPolicyRule. Shares identity and authorship with a legacy Rule so the Layer machinery — deletion markers, authorship stamping, the edit guard — keys on the same fields and needs no second code path for anything but evaluation.
15
+ *
16
16
  * @export
17
17
  * @interface WaasPolicyDeclarativeRule
18
18
  */
@@ -0,0 +1,56 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var WaasPolicyAction = require('./WaasPolicyAction.cjs');
7
+ var WaasPolicyDeclarativeApprovalRequirement = require('./WaasPolicyDeclarativeApprovalRequirement.cjs');
8
+
9
+ /* tslint:disable */
10
+ /**
11
+ * @export
12
+ * @enum {string}
13
+ */
14
+ exports.WaasPolicyDeclarativeRuleInputPhaseEnum = void 0;
15
+ (function (WaasPolicyDeclarativeRuleInputPhaseEnum) {
16
+ WaasPolicyDeclarativeRuleInputPhaseEnum["Transaction"] = "transaction";
17
+ WaasPolicyDeclarativeRuleInputPhaseEnum["Operation"] = "operation";
18
+ })(exports.WaasPolicyDeclarativeRuleInputPhaseEnum || (exports.WaasPolicyDeclarativeRuleInputPhaseEnum = {}));
19
+ function WaasPolicyDeclarativeRuleInputFromJSON(json) {
20
+ return WaasPolicyDeclarativeRuleInputFromJSONTyped(json);
21
+ }
22
+ function WaasPolicyDeclarativeRuleInputFromJSONTyped(json, ignoreDiscriminator) {
23
+ if ((json === undefined) || (json === null)) {
24
+ return json;
25
+ }
26
+ return {
27
+ 'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
28
+ 'name': !runtime.exists(json, 'name') ? undefined : json['name'],
29
+ 'phase': json['phase'],
30
+ 'when': json['when'],
31
+ 'then': WaasPolicyAction.WaasPolicyActionFromJSON(json['then']),
32
+ 'approvalRequirements': !runtime.exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(WaasPolicyDeclarativeApprovalRequirement.WaasPolicyDeclarativeApprovalRequirementFromJSON)),
33
+ 'modifiableBySigner': !runtime.exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
34
+ };
35
+ }
36
+ function WaasPolicyDeclarativeRuleInputToJSON(value) {
37
+ if (value === undefined) {
38
+ return undefined;
39
+ }
40
+ if (value === null) {
41
+ return null;
42
+ }
43
+ return {
44
+ 'ruleId': value.ruleId,
45
+ 'name': value.name,
46
+ 'phase': value.phase,
47
+ 'when': value.when,
48
+ 'then': WaasPolicyAction.WaasPolicyActionToJSON(value.then),
49
+ 'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(WaasPolicyDeclarativeApprovalRequirement.WaasPolicyDeclarativeApprovalRequirementToJSON)),
50
+ 'modifiableBySigner': value.modifiableBySigner,
51
+ };
52
+ }
53
+
54
+ exports.WaasPolicyDeclarativeRuleInputFromJSON = WaasPolicyDeclarativeRuleInputFromJSON;
55
+ exports.WaasPolicyDeclarativeRuleInputFromJSONTyped = WaasPolicyDeclarativeRuleInputFromJSONTyped;
56
+ exports.WaasPolicyDeclarativeRuleInputToJSON = WaasPolicyDeclarativeRuleInputToJSON;
@@ -0,0 +1,73 @@
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 { WaasPolicyAction } from './WaasPolicyAction';
13
+ import { WaasPolicyDeclarativeApprovalRequirement } from './WaasPolicyDeclarativeApprovalRequirement';
14
+ /**
15
+ * A Rule authored in the policy rule language, evaluated by the engine as stored rather than compiled from WaasPolicyRule. Shares identity and authorship with a legacy Rule so the Layer machinery — deletion markers, authorship stamping, the edit guard — keys on the same fields and needs no second code path for anything but evaluation. A Layer holds one syntax or the other: a write that would leave both in one Layer is refused.
16
+ * @export
17
+ * @interface WaasPolicyDeclarativeRuleInput
18
+ */
19
+ export interface WaasPolicyDeclarativeRuleInput {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof WaasPolicyDeclarativeRuleInput
24
+ */
25
+ ruleId?: string;
26
+ /**
27
+ * Human-readable name for the rule
28
+ * @type {string}
29
+ * @memberof WaasPolicyDeclarativeRuleInput
30
+ */
31
+ name?: string;
32
+ /**
33
+ * Which question this Rule answers. A Layer is one flat list, so the phase travels on the Rule rather than being implied by its position.
34
+ * @type {string}
35
+ * @memberof WaasPolicyDeclarativeRuleInput
36
+ */
37
+ phase: WaasPolicyDeclarativeRuleInputPhaseEnum;
38
+ /**
39
+ * Condition in the policy rule language, validated against the field catalog on write and again on read
40
+ * @type {object}
41
+ * @memberof WaasPolicyDeclarativeRuleInput
42
+ */
43
+ when: object;
44
+ /**
45
+ *
46
+ * @type {WaasPolicyAction}
47
+ * @memberof WaasPolicyDeclarativeRuleInput
48
+ */
49
+ then: WaasPolicyAction;
50
+ /**
51
+ * The approvals a matching transaction needs. Required when then is REQUIRE_APPROVAL and refused on any other action. A deny in the same Layer wins first; otherwise every REQUIRE_APPROVAL Rule whose when holds, or cannot be decided, applies. A message or raw sign has no transaction to test, so every such Rule applies. Enforced only for business-account wallets. Valid on business-account, wallet and signer Layers and refused on the environment Layer. Only admins and business-account admins may author one. May not read spendWindows.
52
+ * @type {Array<WaasPolicyDeclarativeApprovalRequirement>}
53
+ * @memberof WaasPolicyDeclarativeRuleInput
54
+ */
55
+ approvalRequirements?: Array<WaasPolicyDeclarativeApprovalRequirement>;
56
+ /**
57
+ * When true, a Signer may adjust this Rule within its recognised shape
58
+ * @type {boolean}
59
+ * @memberof WaasPolicyDeclarativeRuleInput
60
+ */
61
+ modifiableBySigner?: boolean;
62
+ }
63
+ /**
64
+ * @export
65
+ * @enum {string}
66
+ */
67
+ export declare enum WaasPolicyDeclarativeRuleInputPhaseEnum {
68
+ Transaction = "transaction",
69
+ Operation = "operation"
70
+ }
71
+ export declare function WaasPolicyDeclarativeRuleInputFromJSON(json: any): WaasPolicyDeclarativeRuleInput;
72
+ export declare function WaasPolicyDeclarativeRuleInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyDeclarativeRuleInput;
73
+ export declare function WaasPolicyDeclarativeRuleInputToJSON(value?: WaasPolicyDeclarativeRuleInput | null): any;
@@ -0,0 +1,50 @@
1
+ import { exists } from '../runtime.js';
2
+ import { WaasPolicyActionFromJSON, WaasPolicyActionToJSON } from './WaasPolicyAction.js';
3
+ import { WaasPolicyDeclarativeApprovalRequirementFromJSON, WaasPolicyDeclarativeApprovalRequirementToJSON } from './WaasPolicyDeclarativeApprovalRequirement.js';
4
+
5
+ /* tslint:disable */
6
+ /**
7
+ * @export
8
+ * @enum {string}
9
+ */
10
+ var WaasPolicyDeclarativeRuleInputPhaseEnum;
11
+ (function (WaasPolicyDeclarativeRuleInputPhaseEnum) {
12
+ WaasPolicyDeclarativeRuleInputPhaseEnum["Transaction"] = "transaction";
13
+ WaasPolicyDeclarativeRuleInputPhaseEnum["Operation"] = "operation";
14
+ })(WaasPolicyDeclarativeRuleInputPhaseEnum || (WaasPolicyDeclarativeRuleInputPhaseEnum = {}));
15
+ function WaasPolicyDeclarativeRuleInputFromJSON(json) {
16
+ return WaasPolicyDeclarativeRuleInputFromJSONTyped(json);
17
+ }
18
+ function WaasPolicyDeclarativeRuleInputFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
24
+ 'name': !exists(json, 'name') ? undefined : json['name'],
25
+ 'phase': json['phase'],
26
+ 'when': json['when'],
27
+ 'then': WaasPolicyActionFromJSON(json['then']),
28
+ 'approvalRequirements': !exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(WaasPolicyDeclarativeApprovalRequirementFromJSON)),
29
+ 'modifiableBySigner': !exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
30
+ };
31
+ }
32
+ function WaasPolicyDeclarativeRuleInputToJSON(value) {
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ 'ruleId': value.ruleId,
41
+ 'name': value.name,
42
+ 'phase': value.phase,
43
+ 'when': value.when,
44
+ 'then': WaasPolicyActionToJSON(value.then),
45
+ 'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(WaasPolicyDeclarativeApprovalRequirementToJSON)),
46
+ 'modifiableBySigner': value.modifiableBySigner,
47
+ };
48
+ }
49
+
50
+ export { WaasPolicyDeclarativeRuleInputFromJSON, WaasPolicyDeclarativeRuleInputFromJSONTyped, WaasPolicyDeclarativeRuleInputPhaseEnum, WaasPolicyDeclarativeRuleInputToJSON };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var WaasPolicyDeclarativeRuleInput = require('./WaasPolicyDeclarativeRuleInput.cjs');
6
7
  var WaasPolicyRule = require('./WaasPolicyRule.cjs');
7
8
 
8
9
  /* tslint:disable */
@@ -25,6 +26,7 @@ function WaasPolicyLayerRuleOperationFromJSONTyped(json, ignoreDiscriminator) {
25
26
  return {
26
27
  'op': json['op'],
27
28
  'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
29
+ 'declarativeRule': !runtime.exists(json, 'declarativeRule') ? undefined : WaasPolicyDeclarativeRuleInput.WaasPolicyDeclarativeRuleInputFromJSON(json['declarativeRule']),
28
30
  'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
29
31
  };
30
32
  }
@@ -38,6 +40,7 @@ function WaasPolicyLayerRuleOperationToJSON(value) {
38
40
  return {
39
41
  'op': value.op,
40
42
  'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
43
+ 'declarativeRule': WaasPolicyDeclarativeRuleInput.WaasPolicyDeclarativeRuleInputToJSON(value.declarativeRule),
41
44
  'ruleId': value.ruleId,
42
45
  };
43
46
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { WaasPolicyDeclarativeRuleInput } from './WaasPolicyDeclarativeRuleInput';
12
13
  import { WaasPolicyRule } from './WaasPolicyRule';
13
14
  /**
14
15
  *
@@ -28,6 +29,12 @@ export interface WaasPolicyLayerRuleOperation {
28
29
  * @memberof WaasPolicyLayerRuleOperation
29
30
  */
30
31
  rule?: WaasPolicyRule;
32
+ /**
33
+ *
34
+ * @type {WaasPolicyDeclarativeRuleInput}
35
+ * @memberof WaasPolicyLayerRuleOperation
36
+ */
37
+ declarativeRule?: WaasPolicyDeclarativeRuleInput;
31
38
  /**
32
39
  *
33
40
  * @type {string}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { WaasPolicyDeclarativeRuleInputFromJSON, WaasPolicyDeclarativeRuleInputToJSON } from './WaasPolicyDeclarativeRuleInput.js';
2
3
  import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
3
4
 
4
5
  /* tslint:disable */
@@ -21,6 +22,7 @@ function WaasPolicyLayerRuleOperationFromJSONTyped(json, ignoreDiscriminator) {
21
22
  return {
22
23
  'op': json['op'],
23
24
  'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
25
+ 'declarativeRule': !exists(json, 'declarativeRule') ? undefined : WaasPolicyDeclarativeRuleInputFromJSON(json['declarativeRule']),
24
26
  'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
25
27
  };
26
28
  }
@@ -34,6 +36,7 @@ function WaasPolicyLayerRuleOperationToJSON(value) {
34
36
  return {
35
37
  'op': value.op,
36
38
  'rule': WaasPolicyRuleToJSON(value.rule),
39
+ 'declarativeRule': WaasPolicyDeclarativeRuleInputToJSON(value.declarativeRule),
37
40
  'ruleId': value.ruleId,
38
41
  };
39
42
  }
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var WaasPolicyDeclarativeRuleInput = require('./WaasPolicyDeclarativeRuleInput.cjs');
6
7
  var WaasPolicyLayerRule = require('./WaasPolicyLayerRule.cjs');
7
8
  var WaasPolicyLayerRuleOperation = require('./WaasPolicyLayerRuleOperation.cjs');
8
9
  var WaasPolicyRule = require('./WaasPolicyRule.cjs');
@@ -29,6 +30,7 @@ function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
29
30
  return {
30
31
  'op': json['op'],
31
32
  'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
33
+ 'declarativeRule': !runtime.exists(json, 'declarativeRule') ? undefined : WaasPolicyDeclarativeRuleInput.WaasPolicyDeclarativeRuleInputFromJSON(json['declarativeRule']),
32
34
  'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
33
35
  'operations': !runtime.exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSON)),
34
36
  'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerRule.WaasPolicyLayerRuleFromJSON)),
@@ -44,6 +46,7 @@ function WaasPolicyLayerUpdateRequestToJSON(value) {
44
46
  return {
45
47
  'op': value.op,
46
48
  'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
49
+ 'declarativeRule': WaasPolicyDeclarativeRuleInput.WaasPolicyDeclarativeRuleInputToJSON(value.declarativeRule),
47
50
  'ruleId': value.ruleId,
48
51
  'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationToJSON)),
49
52
  'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerRule.WaasPolicyLayerRuleToJSON)),
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { WaasPolicyDeclarativeRuleInput } from './WaasPolicyDeclarativeRuleInput';
12
13
  import { WaasPolicyLayerRule } from './WaasPolicyLayerRule';
13
14
  import { WaasPolicyLayerRuleOperation } from './WaasPolicyLayerRuleOperation';
14
15
  import { WaasPolicyRule } from './WaasPolicyRule';
@@ -30,6 +31,12 @@ export interface WaasPolicyLayerUpdateRequest {
30
31
  * @memberof WaasPolicyLayerUpdateRequest
31
32
  */
32
33
  rule?: WaasPolicyRule;
34
+ /**
35
+ *
36
+ * @type {WaasPolicyDeclarativeRuleInput}
37
+ * @memberof WaasPolicyLayerUpdateRequest
38
+ */
39
+ declarativeRule?: WaasPolicyDeclarativeRuleInput;
33
40
  /**
34
41
  *
35
42
  * @type {string}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { WaasPolicyDeclarativeRuleInputFromJSON, WaasPolicyDeclarativeRuleInputToJSON } from './WaasPolicyDeclarativeRuleInput.js';
2
3
  import { WaasPolicyLayerRuleFromJSON, WaasPolicyLayerRuleToJSON } from './WaasPolicyLayerRule.js';
3
4
  import { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationToJSON } from './WaasPolicyLayerRuleOperation.js';
4
5
  import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
@@ -25,6 +26,7 @@ function WaasPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
25
26
  return {
26
27
  'op': json['op'],
27
28
  'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
29
+ 'declarativeRule': !exists(json, 'declarativeRule') ? undefined : WaasPolicyDeclarativeRuleInputFromJSON(json['declarativeRule']),
28
30
  'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
29
31
  'operations': !exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperationFromJSON)),
30
32
  'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerRuleFromJSON)),
@@ -40,6 +42,7 @@ function WaasPolicyLayerUpdateRequestToJSON(value) {
40
42
  return {
41
43
  'op': value.op,
42
44
  'rule': WaasPolicyRuleToJSON(value.rule),
45
+ 'declarativeRule': WaasPolicyDeclarativeRuleInputToJSON(value.declarativeRule),
43
46
  'ruleId': value.ruleId,
44
47
  'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperationToJSON)),
45
48
  'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerRuleToJSON)),
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var WaasPolicyDeclarativeRuleInput = require('./WaasPolicyDeclarativeRuleInput.cjs');
6
7
  var WaasPolicyLayerRule = require('./WaasPolicyLayerRule.cjs');
7
8
  var WaasPolicyLayerRuleOperation = require('./WaasPolicyLayerRuleOperation.cjs');
8
9
  var WaasPolicyRule = require('./WaasPolicyRule.cjs');
@@ -29,6 +30,7 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
29
30
  return {
30
31
  'op': json['op'],
31
32
  'rule': !runtime.exists(json, 'rule') ? undefined : WaasPolicyRule.WaasPolicyRuleFromJSON(json['rule']),
33
+ 'declarativeRule': !runtime.exists(json, 'declarativeRule') ? undefined : WaasPolicyDeclarativeRuleInput.WaasPolicyDeclarativeRuleInputFromJSON(json['declarativeRule']),
32
34
  'ruleId': !runtime.exists(json, 'ruleId') ? undefined : json['ruleId'],
33
35
  'operations': !runtime.exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationFromJSON)),
34
36
  'rules': !runtime.exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerRule.WaasPolicyLayerRuleFromJSON)),
@@ -45,6 +47,7 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
45
47
  return {
46
48
  'op': value.op,
47
49
  'rule': WaasPolicyRule.WaasPolicyRuleToJSON(value.rule),
50
+ 'declarativeRule': WaasPolicyDeclarativeRuleInput.WaasPolicyDeclarativeRuleInputToJSON(value.declarativeRule),
48
51
  'ruleId': value.ruleId,
49
52
  'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperation.WaasPolicyLayerRuleOperationToJSON)),
50
53
  'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerRule.WaasPolicyLayerRuleToJSON)),
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { WaasPolicyDeclarativeRuleInput } from './WaasPolicyDeclarativeRuleInput';
12
13
  import { WaasPolicyLayerRule } from './WaasPolicyLayerRule';
13
14
  import { WaasPolicyLayerRuleOperation } from './WaasPolicyLayerRuleOperation';
14
15
  import { WaasPolicyRule } from './WaasPolicyRule';
@@ -30,6 +31,12 @@ export interface WaasSignerPolicyLayerUpdateRequest {
30
31
  * @memberof WaasSignerPolicyLayerUpdateRequest
31
32
  */
32
33
  rule?: WaasPolicyRule;
34
+ /**
35
+ *
36
+ * @type {WaasPolicyDeclarativeRuleInput}
37
+ * @memberof WaasSignerPolicyLayerUpdateRequest
38
+ */
39
+ declarativeRule?: WaasPolicyDeclarativeRuleInput;
33
40
  /**
34
41
  *
35
42
  * @type {string}
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { WaasPolicyDeclarativeRuleInputFromJSON, WaasPolicyDeclarativeRuleInputToJSON } from './WaasPolicyDeclarativeRuleInput.js';
2
3
  import { WaasPolicyLayerRuleFromJSON, WaasPolicyLayerRuleToJSON } from './WaasPolicyLayerRule.js';
3
4
  import { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationToJSON } from './WaasPolicyLayerRuleOperation.js';
4
5
  import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
@@ -25,6 +26,7 @@ function WaasSignerPolicyLayerUpdateRequestFromJSONTyped(json, ignoreDiscriminat
25
26
  return {
26
27
  'op': json['op'],
27
28
  'rule': !exists(json, 'rule') ? undefined : WaasPolicyRuleFromJSON(json['rule']),
29
+ 'declarativeRule': !exists(json, 'declarativeRule') ? undefined : WaasPolicyDeclarativeRuleInputFromJSON(json['declarativeRule']),
28
30
  'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
29
31
  'operations': !exists(json, 'operations') ? undefined : (json['operations'].map(WaasPolicyLayerRuleOperationFromJSON)),
30
32
  'rules': !exists(json, 'rules') ? undefined : (json['rules'].map(WaasPolicyLayerRuleFromJSON)),
@@ -41,6 +43,7 @@ function WaasSignerPolicyLayerUpdateRequestToJSON(value) {
41
43
  return {
42
44
  'op': value.op,
43
45
  'rule': WaasPolicyRuleToJSON(value.rule),
46
+ 'declarativeRule': WaasPolicyDeclarativeRuleInputToJSON(value.declarativeRule),
44
47
  'ruleId': value.ruleId,
45
48
  'operations': value.operations === undefined ? undefined : (value.operations.map(WaasPolicyLayerRuleOperationToJSON)),
46
49
  'rules': value.rules === undefined ? undefined : (value.rules.map(WaasPolicyLayerRuleToJSON)),
@@ -384,6 +384,7 @@ export * from './GetAvailableEVMGaslessRelayerResponse';
384
384
  export * from './GetEVMSponsoredTransactionStatusResponse';
385
385
  export * from './GetPasskeyAuthenticationOptionsResponse';
386
386
  export * from './GetPasskeyRegistrationOptionsResponse';
387
+ export * from './GetSVMSponsorAddressResponse';
387
388
  export * from './GetUserPasskeysResponse';
388
389
  export * from './GlobalWalletAccessControlDomainCreateRequest';
389
390
  export * from './GlobalWalletAccessControlDomainResponse';
@@ -906,6 +907,7 @@ export * from './WaasPolicyConstraintCondition';
906
907
  export * from './WaasPolicyCreateRequest';
907
908
  export * from './WaasPolicyDeclarativeApprovalRequirement';
908
909
  export * from './WaasPolicyDeclarativeRule';
910
+ export * from './WaasPolicyDeclarativeRuleInput';
909
911
  export * from './WaasPolicyDeleteRequest';
910
912
  export * from './WaasPolicyLayerResponse';
911
913
  export * from './WaasPolicyLayerResponseLayerContent';