@dynamic-labs/sdk-api 0.32.0 → 0.34.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 (189) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +6 -0
  3. package/src/apis/AdminActionsApi.js +6 -0
  4. package/src/apis/AllowlistsApi.cjs +6 -0
  5. package/src/apis/AllowlistsApi.js +6 -0
  6. package/src/apis/AnalyticsApi.cjs +6 -0
  7. package/src/apis/AnalyticsApi.js +6 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +6 -0
  9. package/src/apis/AuthorizedClientsApi.js +6 -0
  10. package/src/apis/BusinessAccountsApi.cjs +6 -0
  11. package/src/apis/BusinessAccountsApi.js +6 -0
  12. package/src/apis/CaptchaApi.cjs +6 -0
  13. package/src/apis/CaptchaApi.js +6 -0
  14. package/src/apis/ChainalysisApi.cjs +6 -0
  15. package/src/apis/ChainalysisApi.js +6 -0
  16. package/src/apis/ChainsApi.cjs +6 -0
  17. package/src/apis/ChainsApi.js +6 -0
  18. package/src/apis/CheckoutApi.cjs +6 -0
  19. package/src/apis/CheckoutApi.js +6 -0
  20. package/src/apis/ClientGrantApi.cjs +6 -0
  21. package/src/apis/ClientGrantApi.js +6 -0
  22. package/src/apis/CustomFieldsApi.cjs +6 -0
  23. package/src/apis/CustomFieldsApi.js +6 -0
  24. package/src/apis/CustomHostnamesApi.cjs +6 -0
  25. package/src/apis/CustomHostnamesApi.js +6 -0
  26. package/src/apis/CustomNetworksApi.cjs +6 -0
  27. package/src/apis/CustomNetworksApi.js +6 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +6 -0
  29. package/src/apis/DeeplinkUrlsApi.js +6 -0
  30. package/src/apis/EnvironmentsApi.cjs +6 -0
  31. package/src/apis/EnvironmentsApi.js +6 -0
  32. package/src/apis/EventsApi.cjs +6 -0
  33. package/src/apis/EventsApi.js +6 -0
  34. package/src/apis/ExchangesApi.cjs +6 -0
  35. package/src/apis/ExchangesApi.js +6 -0
  36. package/src/apis/ExportsApi.cjs +6 -0
  37. package/src/apis/ExportsApi.js +6 -0
  38. package/src/apis/ExternalJwtApi.cjs +6 -0
  39. package/src/apis/ExternalJwtApi.js +6 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +6 -0
  41. package/src/apis/FlowAnalyticsApi.js +6 -0
  42. package/src/apis/GaslessApi.cjs +6 -0
  43. package/src/apis/GaslessApi.js +6 -0
  44. package/src/apis/GatesApi.cjs +6 -0
  45. package/src/apis/GatesApi.js +6 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +6 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +6 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +6 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +6 -0
  50. package/src/apis/GlobalWalletsApi.cjs +6 -0
  51. package/src/apis/GlobalWalletsApi.js +6 -0
  52. package/src/apis/InvitesApi.cjs +6 -0
  53. package/src/apis/InvitesApi.js +6 -0
  54. package/src/apis/KybApi.cjs +6 -0
  55. package/src/apis/KybApi.js +6 -0
  56. package/src/apis/MembersApi.cjs +6 -0
  57. package/src/apis/MembersApi.js +6 -0
  58. package/src/apis/MfaSettingsApi.cjs +6 -0
  59. package/src/apis/MfaSettingsApi.js +6 -0
  60. package/src/apis/NameServicesApi.cjs +6 -0
  61. package/src/apis/NameServicesApi.js +6 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +6 -0
  63. package/src/apis/OrganizationSettingsApi.js +6 -0
  64. package/src/apis/OrganizationsApi.cjs +6 -0
  65. package/src/apis/OrganizationsApi.js +6 -0
  66. package/src/apis/OriginsApi.cjs +6 -0
  67. package/src/apis/OriginsApi.js +6 -0
  68. package/src/apis/ProjectsApi.cjs +6 -0
  69. package/src/apis/ProjectsApi.js +6 -0
  70. package/src/apis/ProvidersApi.cjs +6 -0
  71. package/src/apis/ProvidersApi.js +6 -0
  72. package/src/apis/SDKApi.cjs +739 -4
  73. package/src/apis/SDKApi.d.ts +298 -5
  74. package/src/apis/SDKApi.js +739 -4
  75. package/src/apis/SDKViewsApi.cjs +6 -0
  76. package/src/apis/SDKViewsApi.js +6 -0
  77. package/src/apis/ScreeningPoliciesApi.cjs +6 -0
  78. package/src/apis/ScreeningPoliciesApi.js +6 -0
  79. package/src/apis/ServerApi.cjs +6 -0
  80. package/src/apis/ServerApi.js +6 -0
  81. package/src/apis/SessionsApi.cjs +6 -0
  82. package/src/apis/SessionsApi.js +6 -0
  83. package/src/apis/TestAccountApi.cjs +6 -0
  84. package/src/apis/TestAccountApi.js +6 -0
  85. package/src/apis/TokensApi.cjs +6 -0
  86. package/src/apis/TokensApi.js +6 -0
  87. package/src/apis/UserApiTokensApi.cjs +6 -0
  88. package/src/apis/UserApiTokensApi.js +6 -0
  89. package/src/apis/UsersApi.cjs +6 -0
  90. package/src/apis/UsersApi.js +6 -0
  91. package/src/apis/VisitsApi.cjs +6 -0
  92. package/src/apis/VisitsApi.js +6 -0
  93. package/src/apis/WaasApi.cjs +6 -0
  94. package/src/apis/WaasApi.js +6 -0
  95. package/src/apis/WalletConnectApi.cjs +6 -0
  96. package/src/apis/WalletConnectApi.js +6 -0
  97. package/src/apis/WalletsApi.cjs +6 -0
  98. package/src/apis/WalletsApi.js +6 -0
  99. package/src/apis/WebhooksApi.cjs +6 -0
  100. package/src/apis/WebhooksApi.js +6 -0
  101. package/src/apis/YieldApi.cjs +6 -0
  102. package/src/apis/YieldApi.js +6 -0
  103. package/src/apis/ZendeskApi.cjs +6 -0
  104. package/src/apis/ZendeskApi.js +6 -0
  105. package/src/index.cjs +116 -0
  106. package/src/index.d.ts +3 -1
  107. package/src/index.js +23 -0
  108. package/src/models/AddBusinessAccountMemberSdkRequest.cjs +6 -0
  109. package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +21 -0
  110. package/src/models/AddBusinessAccountMemberSdkRequest.js +6 -0
  111. package/src/models/ApproveBusinessAccountProposalSdkRequest.cjs +45 -0
  112. package/src/models/ApproveBusinessAccountProposalSdkRequest.d.ts +33 -0
  113. package/src/models/ApproveBusinessAccountProposalSdkRequest.js +39 -0
  114. package/src/models/BusinessAccountApprovalRequirement.cjs +60 -0
  115. package/src/models/BusinessAccountApprovalRequirement.d.ts +89 -0
  116. package/src/models/BusinessAccountApprovalRequirement.js +54 -0
  117. package/src/models/BusinessAccountApprovalRequirementStatus.cjs +43 -0
  118. package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +58 -0
  119. package/src/models/BusinessAccountApprovalRequirementStatus.js +37 -0
  120. package/src/models/BusinessAccountApprovalsPending.cjs +51 -0
  121. package/src/models/BusinessAccountApprovalsPending.d.ts +64 -0
  122. package/src/models/BusinessAccountApprovalsPending.js +45 -0
  123. package/src/models/BusinessAccountForbidden.cjs +36 -0
  124. package/src/models/BusinessAccountForbidden.d.ts +34 -0
  125. package/src/models/BusinessAccountForbidden.js +30 -0
  126. package/src/models/BusinessAccountForbiddenAllOf.cjs +34 -0
  127. package/src/models/BusinessAccountForbiddenAllOf.d.ts +28 -0
  128. package/src/models/BusinessAccountForbiddenAllOf.js +28 -0
  129. package/src/models/BusinessAccountGovernanceResponse.cjs +43 -0
  130. package/src/models/BusinessAccountGovernanceResponse.d.ts +30 -0
  131. package/src/models/BusinessAccountGovernanceResponse.js +37 -0
  132. package/src/models/BusinessAccountGovernedAction.cjs +50 -0
  133. package/src/models/BusinessAccountGovernedAction.d.ts +33 -0
  134. package/src/models/BusinessAccountGovernedAction.js +44 -0
  135. package/src/models/BusinessAccountMutationVersion.cjs +43 -0
  136. package/src/models/BusinessAccountMutationVersion.d.ts +27 -0
  137. package/src/models/BusinessAccountMutationVersion.js +37 -0
  138. package/src/models/BusinessAccountProposal.cjs +62 -0
  139. package/src/models/BusinessAccountProposal.d.ts +108 -0
  140. package/src/models/BusinessAccountProposal.js +56 -0
  141. package/src/models/BusinessAccountProposalApprovalRecord.cjs +37 -0
  142. package/src/models/BusinessAccountProposalApprovalRecord.d.ts +39 -0
  143. package/src/models/BusinessAccountProposalApprovalRecord.js +31 -0
  144. package/src/models/BusinessAccountProposalStatus.cjs +42 -0
  145. package/src/models/BusinessAccountProposalStatus.d.ts +25 -0
  146. package/src/models/BusinessAccountProposalStatus.js +36 -0
  147. package/src/models/BusinessAccountProposalSubject.cjs +35 -0
  148. package/src/models/BusinessAccountProposalSubject.d.ts +33 -0
  149. package/src/models/BusinessAccountProposalSubject.js +29 -0
  150. package/src/models/BusinessAccountRequirementCondition.cjs +43 -0
  151. package/src/models/BusinessAccountRequirementCondition.d.ts +57 -0
  152. package/src/models/BusinessAccountRequirementCondition.js +37 -0
  153. package/src/models/BusinessAccountRoleDefinition.cjs +52 -0
  154. package/src/models/BusinessAccountRoleDefinition.d.ts +35 -0
  155. package/src/models/BusinessAccountRoleDefinition.js +46 -0
  156. package/src/models/BusinessAccountRolesResponse.cjs +34 -0
  157. package/src/models/BusinessAccountRolesResponse.d.ts +30 -0
  158. package/src/models/BusinessAccountRolesResponse.js +28 -0
  159. package/src/models/BusinessAccountSigningRefused.cjs +37 -0
  160. package/src/models/BusinessAccountSigningRefused.d.ts +39 -0
  161. package/src/models/BusinessAccountSigningRefused.js +31 -0
  162. package/src/models/DefineBusinessAccountRoleSdkRequest.cjs +50 -0
  163. package/src/models/DefineBusinessAccountRoleSdkRequest.d.ts +62 -0
  164. package/src/models/DefineBusinessAccountRoleSdkRequest.js +44 -0
  165. package/src/models/DeleteBusinessAccountRoleSdkRequest.cjs +37 -0
  166. package/src/models/DeleteBusinessAccountRoleSdkRequest.d.ts +42 -0
  167. package/src/models/DeleteBusinessAccountRoleSdkRequest.js +31 -0
  168. package/src/models/RemoveBusinessAccountMemberSdkRequest.cjs +37 -0
  169. package/src/models/RemoveBusinessAccountMemberSdkRequest.d.ts +42 -0
  170. package/src/models/RemoveBusinessAccountMemberSdkRequest.js +31 -0
  171. package/src/models/RemoveBusinessAccountSignerSdkRequest.cjs +37 -0
  172. package/src/models/RemoveBusinessAccountSignerSdkRequest.d.ts +42 -0
  173. package/src/models/RemoveBusinessAccountSignerSdkRequest.js +31 -0
  174. package/src/models/RemoveBusinessAccountWalletSdkRequest.cjs +37 -0
  175. package/src/models/RemoveBusinessAccountWalletSdkRequest.d.ts +42 -0
  176. package/src/models/RemoveBusinessAccountWalletSdkRequest.js +31 -0
  177. package/src/models/SetBusinessAccountGovernanceSdkRequest.cjs +39 -0
  178. package/src/models/SetBusinessAccountGovernanceSdkRequest.d.ts +51 -0
  179. package/src/models/SetBusinessAccountGovernanceSdkRequest.js +33 -0
  180. package/src/models/TokenScope.cjs +8 -0
  181. package/src/models/TokenScope.d.ts +8 -0
  182. package/src/models/TokenScope.js +8 -0
  183. package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs +8 -12
  184. package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +21 -0
  185. package/src/models/TransferBusinessAccountOwnershipSdkRequest.js +8 -12
  186. package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +7 -0
  187. package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +21 -0
  188. package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +7 -0
  189. package/src/models/index.d.ts +23 -0
@@ -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
+ * The enclave refused the request and named a fault in it. Distinct from a bare `BadRequest` because the reason is what makes it actionable — a missing initiator attestation and an expired proposal are both 400s with very different fixes. Describes what the caller sent, never the document's contents.
14
+ * @export
15
+ * @interface BusinessAccountSigningRefused
16
+ */
17
+ export interface BusinessAccountSigningRefused {
18
+ /**
19
+ * The enclave's human-readable elaboration, where it has one — which requirement, how many approvers it found, how many it needed.
20
+ * @type {string}
21
+ * @memberof BusinessAccountSigningRefused
22
+ */
23
+ detail?: string;
24
+ /**
25
+ * Human-readable error message
26
+ * @type {string}
27
+ * @memberof BusinessAccountSigningRefused
28
+ */
29
+ error: string;
30
+ /**
31
+ * The enclave's semantic reason code.
32
+ * @type {string}
33
+ * @memberof BusinessAccountSigningRefused
34
+ */
35
+ reason: string;
36
+ }
37
+ export declare function BusinessAccountSigningRefusedFromJSON(json: any): BusinessAccountSigningRefused;
38
+ export declare function BusinessAccountSigningRefusedFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSigningRefused;
39
+ export declare function BusinessAccountSigningRefusedToJSON(value?: BusinessAccountSigningRefused | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function BusinessAccountSigningRefusedFromJSON(json) {
5
+ return BusinessAccountSigningRefusedFromJSONTyped(json);
6
+ }
7
+ function BusinessAccountSigningRefusedFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'detail': !exists(json, 'detail') ? undefined : json['detail'],
13
+ 'error': json['error'],
14
+ 'reason': json['reason'],
15
+ };
16
+ }
17
+ function BusinessAccountSigningRefusedToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'detail': value.detail,
26
+ 'error': value.error,
27
+ 'reason': value.reason,
28
+ };
29
+ }
30
+
31
+ export { BusinessAccountSigningRefusedFromJSON, BusinessAccountSigningRefusedFromJSONTyped, BusinessAccountSigningRefusedToJSON };
@@ -0,0 +1,50 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ /**
9
+ * @export
10
+ * @enum {string}
11
+ */
12
+ exports.DefineBusinessAccountRoleSdkRequestInheritsEnum = void 0;
13
+ (function (DefineBusinessAccountRoleSdkRequestInheritsEnum) {
14
+ DefineBusinessAccountRoleSdkRequestInheritsEnum["Admin"] = "admin";
15
+ DefineBusinessAccountRoleSdkRequestInheritsEnum["Viewer"] = "viewer";
16
+ })(exports.DefineBusinessAccountRoleSdkRequestInheritsEnum || (exports.DefineBusinessAccountRoleSdkRequestInheritsEnum = {}));
17
+ function DefineBusinessAccountRoleSdkRequestFromJSON(json) {
18
+ return DefineBusinessAccountRoleSdkRequestFromJSONTyped(json);
19
+ }
20
+ function DefineBusinessAccountRoleSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
21
+ if ((json === undefined) || (json === null)) {
22
+ return json;
23
+ }
24
+ return {
25
+ 'role': json['role'],
26
+ 'inherits': json['inherits'],
27
+ 'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
28
+ 'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
29
+ 'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
30
+ };
31
+ }
32
+ function DefineBusinessAccountRoleSdkRequestToJSON(value) {
33
+ if (value === undefined) {
34
+ return undefined;
35
+ }
36
+ if (value === null) {
37
+ return null;
38
+ }
39
+ return {
40
+ 'role': value.role,
41
+ 'inherits': value.inherits,
42
+ 'autoExecute': value.autoExecute,
43
+ 'intent': value.intent,
44
+ 'intentSignature': value.intentSignature,
45
+ };
46
+ }
47
+
48
+ exports.DefineBusinessAccountRoleSdkRequestFromJSON = DefineBusinessAccountRoleSdkRequestFromJSON;
49
+ exports.DefineBusinessAccountRoleSdkRequestFromJSONTyped = DefineBusinessAccountRoleSdkRequestFromJSONTyped;
50
+ exports.DefineBusinessAccountRoleSdkRequestToJSON = DefineBusinessAccountRoleSdkRequestToJSON;
@@ -0,0 +1,62 @@
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
+ * SDK defineRole body. A customer role always inherits a built-in one, which is what lets capability lookups and existing rules resolve through it.
14
+ * @export
15
+ * @interface DefineBusinessAccountRoleSdkRequest
16
+ */
17
+ export interface DefineBusinessAccountRoleSdkRequest {
18
+ /**
19
+ * Lowercase letters, numbers, hyphens and underscores.
20
+ * @type {string}
21
+ * @memberof DefineBusinessAccountRoleSdkRequest
22
+ */
23
+ role: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DefineBusinessAccountRoleSdkRequest
28
+ */
29
+ inherits: DefineBusinessAccountRoleSdkRequestInheritsEnum;
30
+ /**
31
+ * Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
32
+ * @type {boolean}
33
+ * @memberof DefineBusinessAccountRoleSdkRequest
34
+ */
35
+ autoExecute?: boolean;
36
+ /**
37
+ * The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
38
+ * `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
39
+ * @type {{ [key: string]: object; }}
40
+ * @memberof DefineBusinessAccountRoleSdkRequest
41
+ */
42
+ intent?: {
43
+ [key: string]: object;
44
+ };
45
+ /**
46
+ *
47
+ * @type {string}
48
+ * @memberof DefineBusinessAccountRoleSdkRequest
49
+ */
50
+ intentSignature?: string;
51
+ }
52
+ /**
53
+ * @export
54
+ * @enum {string}
55
+ */
56
+ export declare enum DefineBusinessAccountRoleSdkRequestInheritsEnum {
57
+ Admin = "admin",
58
+ Viewer = "viewer"
59
+ }
60
+ export declare function DefineBusinessAccountRoleSdkRequestFromJSON(json: any): DefineBusinessAccountRoleSdkRequest;
61
+ export declare function DefineBusinessAccountRoleSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DefineBusinessAccountRoleSdkRequest;
62
+ export declare function DefineBusinessAccountRoleSdkRequestToJSON(value?: DefineBusinessAccountRoleSdkRequest | null): any;
@@ -0,0 +1,44 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var DefineBusinessAccountRoleSdkRequestInheritsEnum;
9
+ (function (DefineBusinessAccountRoleSdkRequestInheritsEnum) {
10
+ DefineBusinessAccountRoleSdkRequestInheritsEnum["Admin"] = "admin";
11
+ DefineBusinessAccountRoleSdkRequestInheritsEnum["Viewer"] = "viewer";
12
+ })(DefineBusinessAccountRoleSdkRequestInheritsEnum || (DefineBusinessAccountRoleSdkRequestInheritsEnum = {}));
13
+ function DefineBusinessAccountRoleSdkRequestFromJSON(json) {
14
+ return DefineBusinessAccountRoleSdkRequestFromJSONTyped(json);
15
+ }
16
+ function DefineBusinessAccountRoleSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
17
+ if ((json === undefined) || (json === null)) {
18
+ return json;
19
+ }
20
+ return {
21
+ 'role': json['role'],
22
+ 'inherits': json['inherits'],
23
+ 'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
24
+ 'intent': !exists(json, 'intent') ? undefined : json['intent'],
25
+ 'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
26
+ };
27
+ }
28
+ function DefineBusinessAccountRoleSdkRequestToJSON(value) {
29
+ if (value === undefined) {
30
+ return undefined;
31
+ }
32
+ if (value === null) {
33
+ return null;
34
+ }
35
+ return {
36
+ 'role': value.role,
37
+ 'inherits': value.inherits,
38
+ 'autoExecute': value.autoExecute,
39
+ 'intent': value.intent,
40
+ 'intentSignature': value.intentSignature,
41
+ };
42
+ }
43
+
44
+ export { DefineBusinessAccountRoleSdkRequestFromJSON, DefineBusinessAccountRoleSdkRequestFromJSONTyped, DefineBusinessAccountRoleSdkRequestInheritsEnum, DefineBusinessAccountRoleSdkRequestToJSON };
@@ -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 DeleteBusinessAccountRoleSdkRequestFromJSON(json) {
9
+ return DeleteBusinessAccountRoleSdkRequestFromJSONTyped(json);
10
+ }
11
+ function DeleteBusinessAccountRoleSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
17
+ 'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
18
+ 'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
19
+ };
20
+ }
21
+ function DeleteBusinessAccountRoleSdkRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'autoExecute': value.autoExecute,
30
+ 'intent': value.intent,
31
+ 'intentSignature': value.intentSignature,
32
+ };
33
+ }
34
+
35
+ exports.DeleteBusinessAccountRoleSdkRequestFromJSON = DeleteBusinessAccountRoleSdkRequestFromJSON;
36
+ exports.DeleteBusinessAccountRoleSdkRequestFromJSONTyped = DeleteBusinessAccountRoleSdkRequestFromJSONTyped;
37
+ exports.DeleteBusinessAccountRoleSdkRequestToJSON = DeleteBusinessAccountRoleSdkRequestToJSON;
@@ -0,0 +1,42 @@
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
+ * SDK deleteRole body. Only the approval artifacts — the role itself comes from the path.
14
+ * @export
15
+ * @interface DeleteBusinessAccountRoleSdkRequest
16
+ */
17
+ export interface DeleteBusinessAccountRoleSdkRequest {
18
+ /**
19
+ * Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
20
+ * @type {boolean}
21
+ * @memberof DeleteBusinessAccountRoleSdkRequest
22
+ */
23
+ autoExecute?: boolean;
24
+ /**
25
+ * The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
26
+ * `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
27
+ * @type {{ [key: string]: object; }}
28
+ * @memberof DeleteBusinessAccountRoleSdkRequest
29
+ */
30
+ intent?: {
31
+ [key: string]: object;
32
+ };
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof DeleteBusinessAccountRoleSdkRequest
37
+ */
38
+ intentSignature?: string;
39
+ }
40
+ export declare function DeleteBusinessAccountRoleSdkRequestFromJSON(json: any): DeleteBusinessAccountRoleSdkRequest;
41
+ export declare function DeleteBusinessAccountRoleSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteBusinessAccountRoleSdkRequest;
42
+ export declare function DeleteBusinessAccountRoleSdkRequestToJSON(value?: DeleteBusinessAccountRoleSdkRequest | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function DeleteBusinessAccountRoleSdkRequestFromJSON(json) {
5
+ return DeleteBusinessAccountRoleSdkRequestFromJSONTyped(json);
6
+ }
7
+ function DeleteBusinessAccountRoleSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
13
+ 'intent': !exists(json, 'intent') ? undefined : json['intent'],
14
+ 'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
15
+ };
16
+ }
17
+ function DeleteBusinessAccountRoleSdkRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'autoExecute': value.autoExecute,
26
+ 'intent': value.intent,
27
+ 'intentSignature': value.intentSignature,
28
+ };
29
+ }
30
+
31
+ export { DeleteBusinessAccountRoleSdkRequestFromJSON, DeleteBusinessAccountRoleSdkRequestFromJSONTyped, DeleteBusinessAccountRoleSdkRequestToJSON };
@@ -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 RemoveBusinessAccountMemberSdkRequestFromJSON(json) {
9
+ return RemoveBusinessAccountMemberSdkRequestFromJSONTyped(json);
10
+ }
11
+ function RemoveBusinessAccountMemberSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
17
+ 'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
18
+ 'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
19
+ };
20
+ }
21
+ function RemoveBusinessAccountMemberSdkRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'autoExecute': value.autoExecute,
30
+ 'intent': value.intent,
31
+ 'intentSignature': value.intentSignature,
32
+ };
33
+ }
34
+
35
+ exports.RemoveBusinessAccountMemberSdkRequestFromJSON = RemoveBusinessAccountMemberSdkRequestFromJSON;
36
+ exports.RemoveBusinessAccountMemberSdkRequestFromJSONTyped = RemoveBusinessAccountMemberSdkRequestFromJSONTyped;
37
+ exports.RemoveBusinessAccountMemberSdkRequestToJSON = RemoveBusinessAccountMemberSdkRequestToJSON;
@@ -0,0 +1,42 @@
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
+ * SDK removeMember body. Only the approval artifacts — the member comes from the path. Send nothing when the account does not govern removeMember.
14
+ * @export
15
+ * @interface RemoveBusinessAccountMemberSdkRequest
16
+ */
17
+ export interface RemoveBusinessAccountMemberSdkRequest {
18
+ /**
19
+ * Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
20
+ * @type {boolean}
21
+ * @memberof RemoveBusinessAccountMemberSdkRequest
22
+ */
23
+ autoExecute?: boolean;
24
+ /**
25
+ * The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
26
+ * `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
27
+ * @type {{ [key: string]: object; }}
28
+ * @memberof RemoveBusinessAccountMemberSdkRequest
29
+ */
30
+ intent?: {
31
+ [key: string]: object;
32
+ };
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof RemoveBusinessAccountMemberSdkRequest
37
+ */
38
+ intentSignature?: string;
39
+ }
40
+ export declare function RemoveBusinessAccountMemberSdkRequestFromJSON(json: any): RemoveBusinessAccountMemberSdkRequest;
41
+ export declare function RemoveBusinessAccountMemberSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveBusinessAccountMemberSdkRequest;
42
+ export declare function RemoveBusinessAccountMemberSdkRequestToJSON(value?: RemoveBusinessAccountMemberSdkRequest | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function RemoveBusinessAccountMemberSdkRequestFromJSON(json) {
5
+ return RemoveBusinessAccountMemberSdkRequestFromJSONTyped(json);
6
+ }
7
+ function RemoveBusinessAccountMemberSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
13
+ 'intent': !exists(json, 'intent') ? undefined : json['intent'],
14
+ 'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
15
+ };
16
+ }
17
+ function RemoveBusinessAccountMemberSdkRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'autoExecute': value.autoExecute,
26
+ 'intent': value.intent,
27
+ 'intentSignature': value.intentSignature,
28
+ };
29
+ }
30
+
31
+ export { RemoveBusinessAccountMemberSdkRequestFromJSON, RemoveBusinessAccountMemberSdkRequestFromJSONTyped, RemoveBusinessAccountMemberSdkRequestToJSON };
@@ -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 RemoveBusinessAccountSignerSdkRequestFromJSON(json) {
9
+ return RemoveBusinessAccountSignerSdkRequestFromJSONTyped(json);
10
+ }
11
+ function RemoveBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
17
+ 'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
18
+ 'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
19
+ };
20
+ }
21
+ function RemoveBusinessAccountSignerSdkRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'autoExecute': value.autoExecute,
30
+ 'intent': value.intent,
31
+ 'intentSignature': value.intentSignature,
32
+ };
33
+ }
34
+
35
+ exports.RemoveBusinessAccountSignerSdkRequestFromJSON = RemoveBusinessAccountSignerSdkRequestFromJSON;
36
+ exports.RemoveBusinessAccountSignerSdkRequestFromJSONTyped = RemoveBusinessAccountSignerSdkRequestFromJSONTyped;
37
+ exports.RemoveBusinessAccountSignerSdkRequestToJSON = RemoveBusinessAccountSignerSdkRequestToJSON;
@@ -0,0 +1,42 @@
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
+ * SDK removeSigner body. Only the approval artifacts — the signer comes from the path. Send nothing when the account does not govern removeSignerFromWallet.
14
+ * @export
15
+ * @interface RemoveBusinessAccountSignerSdkRequest
16
+ */
17
+ export interface RemoveBusinessAccountSignerSdkRequest {
18
+ /**
19
+ * Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
20
+ * @type {boolean}
21
+ * @memberof RemoveBusinessAccountSignerSdkRequest
22
+ */
23
+ autoExecute?: boolean;
24
+ /**
25
+ * The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
26
+ * `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
27
+ * @type {{ [key: string]: object; }}
28
+ * @memberof RemoveBusinessAccountSignerSdkRequest
29
+ */
30
+ intent?: {
31
+ [key: string]: object;
32
+ };
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof RemoveBusinessAccountSignerSdkRequest
37
+ */
38
+ intentSignature?: string;
39
+ }
40
+ export declare function RemoveBusinessAccountSignerSdkRequestFromJSON(json: any): RemoveBusinessAccountSignerSdkRequest;
41
+ export declare function RemoveBusinessAccountSignerSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveBusinessAccountSignerSdkRequest;
42
+ export declare function RemoveBusinessAccountSignerSdkRequestToJSON(value?: RemoveBusinessAccountSignerSdkRequest | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function RemoveBusinessAccountSignerSdkRequestFromJSON(json) {
5
+ return RemoveBusinessAccountSignerSdkRequestFromJSONTyped(json);
6
+ }
7
+ function RemoveBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
13
+ 'intent': !exists(json, 'intent') ? undefined : json['intent'],
14
+ 'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
15
+ };
16
+ }
17
+ function RemoveBusinessAccountSignerSdkRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'autoExecute': value.autoExecute,
26
+ 'intent': value.intent,
27
+ 'intentSignature': value.intentSignature,
28
+ };
29
+ }
30
+
31
+ export { RemoveBusinessAccountSignerSdkRequestFromJSON, RemoveBusinessAccountSignerSdkRequestFromJSONTyped, RemoveBusinessAccountSignerSdkRequestToJSON };
@@ -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 RemoveBusinessAccountWalletSdkRequestFromJSON(json) {
9
+ return RemoveBusinessAccountWalletSdkRequestFromJSONTyped(json);
10
+ }
11
+ function RemoveBusinessAccountWalletSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
17
+ 'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
18
+ 'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
19
+ };
20
+ }
21
+ function RemoveBusinessAccountWalletSdkRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'autoExecute': value.autoExecute,
30
+ 'intent': value.intent,
31
+ 'intentSignature': value.intentSignature,
32
+ };
33
+ }
34
+
35
+ exports.RemoveBusinessAccountWalletSdkRequestFromJSON = RemoveBusinessAccountWalletSdkRequestFromJSON;
36
+ exports.RemoveBusinessAccountWalletSdkRequestFromJSONTyped = RemoveBusinessAccountWalletSdkRequestFromJSONTyped;
37
+ exports.RemoveBusinessAccountWalletSdkRequestToJSON = RemoveBusinessAccountWalletSdkRequestToJSON;
@@ -0,0 +1,42 @@
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
+ * SDK removeWallet body. Only the approval artifacts — the wallet comes from the path. Send nothing when the account does not govern removeWallet.
14
+ * @export
15
+ * @interface RemoveBusinessAccountWalletSdkRequest
16
+ */
17
+ export interface RemoveBusinessAccountWalletSdkRequest {
18
+ /**
19
+ * Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
20
+ * @type {boolean}
21
+ * @memberof RemoveBusinessAccountWalletSdkRequest
22
+ */
23
+ autoExecute?: boolean;
24
+ /**
25
+ * The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
26
+ * `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
27
+ * @type {{ [key: string]: object; }}
28
+ * @memberof RemoveBusinessAccountWalletSdkRequest
29
+ */
30
+ intent?: {
31
+ [key: string]: object;
32
+ };
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof RemoveBusinessAccountWalletSdkRequest
37
+ */
38
+ intentSignature?: string;
39
+ }
40
+ export declare function RemoveBusinessAccountWalletSdkRequestFromJSON(json: any): RemoveBusinessAccountWalletSdkRequest;
41
+ export declare function RemoveBusinessAccountWalletSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RemoveBusinessAccountWalletSdkRequest;
42
+ export declare function RemoveBusinessAccountWalletSdkRequestToJSON(value?: RemoveBusinessAccountWalletSdkRequest | null): any;