@dynamic-labs/sdk-api 0.0.1074 → 0.0.1076

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 (115) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +2 -0
  3. package/src/apis/AdminActionsApi.js +2 -0
  4. package/src/apis/AllowlistsApi.cjs +2 -0
  5. package/src/apis/AllowlistsApi.js +2 -0
  6. package/src/apis/AnalyticsApi.cjs +2 -0
  7. package/src/apis/AnalyticsApi.js +2 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +2 -0
  9. package/src/apis/AuthorizedClientsApi.js +2 -0
  10. package/src/apis/CaptchaApi.cjs +2 -0
  11. package/src/apis/CaptchaApi.js +2 -0
  12. package/src/apis/ChainalysisApi.cjs +2 -0
  13. package/src/apis/ChainalysisApi.js +2 -0
  14. package/src/apis/ChainsApi.cjs +2 -0
  15. package/src/apis/ChainsApi.js +2 -0
  16. package/src/apis/CheckoutApi.cjs +2 -0
  17. package/src/apis/CheckoutApi.js +2 -0
  18. package/src/apis/ClientGrantApi.cjs +2 -0
  19. package/src/apis/ClientGrantApi.js +2 -0
  20. package/src/apis/CustomFieldsApi.cjs +2 -0
  21. package/src/apis/CustomFieldsApi.js +2 -0
  22. package/src/apis/CustomHostnamesApi.cjs +2 -0
  23. package/src/apis/CustomHostnamesApi.js +2 -0
  24. package/src/apis/CustomNetworksApi.cjs +2 -0
  25. package/src/apis/CustomNetworksApi.js +2 -0
  26. package/src/apis/DeeplinkUrlsApi.cjs +2 -0
  27. package/src/apis/DeeplinkUrlsApi.js +2 -0
  28. package/src/apis/EnvironmentsApi.cjs +2 -0
  29. package/src/apis/EnvironmentsApi.js +2 -0
  30. package/src/apis/EventsApi.cjs +2 -0
  31. package/src/apis/EventsApi.js +2 -0
  32. package/src/apis/ExchangesApi.cjs +2 -0
  33. package/src/apis/ExchangesApi.js +2 -0
  34. package/src/apis/ExportsApi.cjs +2 -0
  35. package/src/apis/ExportsApi.js +2 -0
  36. package/src/apis/ExternalJwtApi.cjs +2 -0
  37. package/src/apis/ExternalJwtApi.js +2 -0
  38. package/src/apis/FlowAnalyticsApi.cjs +2 -0
  39. package/src/apis/FlowAnalyticsApi.js +2 -0
  40. package/src/apis/GatesApi.cjs +2 -0
  41. package/src/apis/GatesApi.js +2 -0
  42. package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
  43. package/src/apis/GlobalWalletAccessControlApi.js +2 -0
  44. package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
  45. package/src/apis/GlobalWalletConnectionsApi.js +2 -0
  46. package/src/apis/GlobalWalletsApi.cjs +2 -0
  47. package/src/apis/GlobalWalletsApi.js +2 -0
  48. package/src/apis/InvitesApi.cjs +2 -0
  49. package/src/apis/InvitesApi.js +2 -0
  50. package/src/apis/MembersApi.cjs +2 -0
  51. package/src/apis/MembersApi.js +2 -0
  52. package/src/apis/MfaSettingsApi.cjs +2 -0
  53. package/src/apis/MfaSettingsApi.js +2 -0
  54. package/src/apis/NameServicesApi.cjs +2 -0
  55. package/src/apis/NameServicesApi.js +2 -0
  56. package/src/apis/OrganizationSettingsApi.cjs +2 -0
  57. package/src/apis/OrganizationSettingsApi.js +2 -0
  58. package/src/apis/OrganizationsApi.cjs +2 -0
  59. package/src/apis/OrganizationsApi.js +2 -0
  60. package/src/apis/OriginsApi.cjs +2 -0
  61. package/src/apis/OriginsApi.js +2 -0
  62. package/src/apis/ProjectsApi.cjs +2 -0
  63. package/src/apis/ProjectsApi.js +2 -0
  64. package/src/apis/ProvidersApi.cjs +2 -0
  65. package/src/apis/ProvidersApi.js +2 -0
  66. package/src/apis/SDKApi.cjs +186 -3
  67. package/src/apis/SDKApi.d.ts +76 -5
  68. package/src/apis/SDKApi.js +186 -3
  69. package/src/apis/SDKViewsApi.cjs +2 -0
  70. package/src/apis/SDKViewsApi.js +2 -0
  71. package/src/apis/SessionsApi.cjs +2 -0
  72. package/src/apis/SessionsApi.js +2 -0
  73. package/src/apis/TestAccountApi.cjs +2 -0
  74. package/src/apis/TestAccountApi.js +2 -0
  75. package/src/apis/TokensApi.cjs +2 -0
  76. package/src/apis/TokensApi.js +2 -0
  77. package/src/apis/UserApiTokensApi.cjs +2 -0
  78. package/src/apis/UserApiTokensApi.js +2 -0
  79. package/src/apis/UsersApi.cjs +2 -0
  80. package/src/apis/UsersApi.js +2 -0
  81. package/src/apis/VisitsApi.cjs +2 -0
  82. package/src/apis/VisitsApi.js +2 -0
  83. package/src/apis/WaasApi.cjs +67 -1
  84. package/src/apis/WaasApi.d.ts +30 -1
  85. package/src/apis/WaasApi.js +67 -1
  86. package/src/apis/WalletConnectApi.cjs +2 -0
  87. package/src/apis/WalletConnectApi.js +2 -0
  88. package/src/apis/WalletsApi.cjs +2 -0
  89. package/src/apis/WalletsApi.js +2 -0
  90. package/src/apis/WebhooksApi.cjs +2 -0
  91. package/src/apis/WebhooksApi.js +2 -0
  92. package/src/index.cjs +32 -0
  93. package/src/index.js +6 -0
  94. package/src/models/InlineResponse2008.cjs +3 -3
  95. package/src/models/InlineResponse2008.d.ts +3 -3
  96. package/src/models/InlineResponse2008.js +3 -3
  97. package/src/models/InlineResponse2009.cjs +33 -0
  98. package/src/models/InlineResponse2009.d.ts +28 -0
  99. package/src/models/InlineResponse2009.js +27 -0
  100. package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs +43 -0
  101. package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +27 -0
  102. package/src/models/TransferBusinessAccountOwnershipSdkRequest.js +37 -0
  103. package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +52 -0
  104. package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +35 -0
  105. package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +46 -0
  106. package/src/models/WaasPolicyLayerResponse.cjs +40 -0
  107. package/src/models/WaasPolicyLayerResponse.d.ts +46 -0
  108. package/src/models/WaasPolicyLayerResponse.js +34 -0
  109. package/src/models/WaasPolicyLayerResponseLayerContent.cjs +34 -0
  110. package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +28 -0
  111. package/src/models/WaasPolicyLayerResponseLayerContent.js +28 -0
  112. package/src/models/WaasPolicyLayerUpdateRequest.cjs +47 -0
  113. package/src/models/WaasPolicyLayerUpdateRequest.d.ts +48 -0
  114. package/src/models/WaasPolicyLayerUpdateRequest.js +41 -0
  115. package/src/models/index.d.ts +6 -0
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { BackupKeySharesToLocationsResponse, BackupKeySharesToLocationsWithUserIdRequest, CreateUserWaasWalletsRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, RevokeDelegatedAccessRequest, RevokeDelegatedAccessResponse, UserResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasTransactionReviewConfigRequest, WaasTransactionReviewConfigResponse, WaasTransactionReviewTestRequest, WaasTransactionReviewTestResponse, WaasVerifyApiKeyResponse, WaasWalletResponse } from '../models';
13
+ import { BackupKeySharesToLocationsResponse, BackupKeySharesToLocationsWithUserIdRequest, CreateUserWaasWalletsRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, RevokeDelegatedAccessRequest, RevokeDelegatedAccessResponse, UserResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasTransactionReviewConfigRequest, WaasTransactionReviewConfigResponse, WaasTransactionReviewTestRequest, WaasTransactionReviewTestResponse, WaasVerifyApiKeyResponse, WaasWalletResponse } from '../models';
14
14
  export interface AuthenticateWaasRequest {
15
15
  environmentId: string;
16
16
  }
@@ -61,6 +61,10 @@ export interface GetDelegatedAccessEncryptionPublicKeysRequest {
61
61
  export interface GetWaasPolicyRequest {
62
62
  environmentId: string;
63
63
  }
64
+ export interface GetWaasPolicyLayerRequest {
65
+ environmentId: string;
66
+ walletId: string;
67
+ }
64
68
  export interface GetWaasTransactionReviewConfigRequest {
65
69
  environmentId: string;
66
70
  }
@@ -83,6 +87,11 @@ export interface UpdateWaasPolicyRequest {
83
87
  environmentId: string;
84
88
  waasPolicyUpdateRequest: WaasPolicyUpdateRequest;
85
89
  }
90
+ export interface UpdateWaasPolicyLayerRequest {
91
+ environmentId: string;
92
+ walletId: string;
93
+ waasPolicyLayerUpdateRequest: WaasPolicyLayerUpdateRequest;
94
+ }
86
95
  export interface UpsertWaasTransactionReviewConfigRequest {
87
96
  environmentId: string;
88
97
  waasTransactionReviewConfigRequest: WaasTransactionReviewConfigRequest;
@@ -224,6 +233,16 @@ export declare class WaasApi extends runtime.BaseAPI {
224
233
  * Get the WAAS policy for an environment
225
234
  */
226
235
  getWaasPolicy(requestParameters: GetWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
236
+ /**
237
+ * Returns the specified wallet\'s Composition Layer content without mutating it.
238
+ * Get a wallet-Layer\'s current Rules
239
+ */
240
+ getWaasPolicyLayerRaw(requestParameters: GetWaasPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
241
+ /**
242
+ * Returns the specified wallet\'s Composition Layer content without mutating it.
243
+ * Get a wallet-Layer\'s current Rules
244
+ */
245
+ getWaasPolicyLayer(requestParameters: GetWaasPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
227
246
  /**
228
247
  * Returns the webhook configuration used to review transactions before signing.
229
248
  * Get the transaction review config for an environment
@@ -284,6 +303,16 @@ export declare class WaasApi extends runtime.BaseAPI {
284
303
  * Update the WAAS policy for an environment by ruleId
285
304
  */
286
305
  updateWaasPolicy(requestParameters: UpdateWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
306
+ /**
307
+ * Applies a single per-Rule upsert or remove operation to the specified wallet\'s Composition Layer.
308
+ * Update a wallet-Layer\'s Rules by ruleId
309
+ */
310
+ updateWaasPolicyLayerRaw(requestParameters: UpdateWaasPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
311
+ /**
312
+ * Applies a single per-Rule upsert or remove operation to the specified wallet\'s Composition Layer.
313
+ * Update a wallet-Layer\'s Rules by ruleId
314
+ */
315
+ updateWaasPolicyLayer(requestParameters: UpdateWaasPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
287
316
  /**
288
317
  * Configures a webhook that is called before every transaction signing request. The webhook must respond with { \"proceed\": true } to allow signing, or { \"proceed\": false, \"reason\": \"...\" } to block it.
289
318
  * Create or update the transaction review config for an environment
@@ -129,6 +129,7 @@ import '../models/SubscriptionAdvancedScopeEnum.js';
129
129
  import '../models/SubscriptionFreeScopeEnum.js';
130
130
  import '../models/SwapQuoteRequest.js';
131
131
  import '../models/SwapStatusResponse.js';
132
+ import '../models/UpdateBusinessAccountMemberRoleSdkRequest.js';
132
133
  import '../models/UserFieldsCheckEnum.js';
133
134
  import '../models/UserFilterableFieldsEnum.js';
134
135
  import { UserResponseFromJSON } from '../models/UserResponse.js';
@@ -141,8 +142,10 @@ import { WaasDelegationCredentialsResponseFromJSON } from '../models/WaasDelegat
141
142
  import '../models/WaasPolicyConstraintCondition.js';
142
143
  import { WaasPolicyCreateRequestToJSON } from '../models/WaasPolicyCreateRequest.js';
143
144
  import { WaasPolicyDeleteRequestToJSON } from '../models/WaasPolicyDeleteRequest.js';
144
- import { WaasPolicyResponseFromJSON } from '../models/WaasPolicyResponse.js';
145
+ import { WaasPolicyLayerResponseFromJSON } from '../models/WaasPolicyLayerResponse.js';
145
146
  import '../models/WaasPolicyRuleType.js';
147
+ import { WaasPolicyLayerUpdateRequestToJSON } from '../models/WaasPolicyLayerUpdateRequest.js';
148
+ import { WaasPolicyResponseFromJSON } from '../models/WaasPolicyResponse.js';
146
149
  import { WaasPolicyUpdateRequestToJSON } from '../models/WaasPolicyUpdateRequest.js';
147
150
  import { WaasTransactionReviewConfigRequestToJSON } from '../models/WaasTransactionReviewConfigRequest.js';
148
151
  import { WaasTransactionReviewConfigResponseFromJSON } from '../models/WaasTransactionReviewConfigResponse.js';
@@ -562,6 +565,35 @@ class WaasApi extends BaseAPI {
562
565
  const response = await this.getWaasPolicyRaw(requestParameters, initOverrides);
563
566
  return await response.value();
564
567
  }
568
+ /**
569
+ * Returns the specified wallet\'s Composition Layer content without mutating it.
570
+ * Get a wallet-Layer\'s current Rules
571
+ */
572
+ async getWaasPolicyLayerRaw(requestParameters, initOverrides) {
573
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
574
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasPolicyLayer.');
575
+ }
576
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
577
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasPolicyLayer.');
578
+ }
579
+ const queryParameters = {};
580
+ const headerParameters = {};
581
+ const response = await this.request({
582
+ path: `/environments/{environmentId}/waas/wallets/{walletId}/policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
583
+ method: 'GET',
584
+ headers: headerParameters,
585
+ query: queryParameters,
586
+ }, initOverrides);
587
+ return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
588
+ }
589
+ /**
590
+ * Returns the specified wallet\'s Composition Layer content without mutating it.
591
+ * Get a wallet-Layer\'s current Rules
592
+ */
593
+ async getWaasPolicyLayer(requestParameters, initOverrides) {
594
+ const response = await this.getWaasPolicyLayerRaw(requestParameters, initOverrides);
595
+ return await response.value();
596
+ }
565
597
  /**
566
598
  * Returns the webhook configuration used to review transactions before signing.
567
599
  * Get the transaction review config for an environment
@@ -735,6 +767,40 @@ class WaasApi extends BaseAPI {
735
767
  const response = await this.updateWaasPolicyRaw(requestParameters, initOverrides);
736
768
  return await response.value();
737
769
  }
770
+ /**
771
+ * Applies a single per-Rule upsert or remove operation to the specified wallet\'s Composition Layer.
772
+ * Update a wallet-Layer\'s Rules by ruleId
773
+ */
774
+ async updateWaasPolicyLayerRaw(requestParameters, initOverrides) {
775
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
776
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling updateWaasPolicyLayer.');
777
+ }
778
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
779
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling updateWaasPolicyLayer.');
780
+ }
781
+ if (requestParameters.waasPolicyLayerUpdateRequest === null || requestParameters.waasPolicyLayerUpdateRequest === undefined) {
782
+ throw new RequiredError('waasPolicyLayerUpdateRequest', 'Required parameter requestParameters.waasPolicyLayerUpdateRequest was null or undefined when calling updateWaasPolicyLayer.');
783
+ }
784
+ const queryParameters = {};
785
+ const headerParameters = {};
786
+ headerParameters['Content-Type'] = 'application/json';
787
+ const response = await this.request({
788
+ path: `/environments/{environmentId}/waas/wallets/{walletId}/policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
789
+ method: 'PATCH',
790
+ headers: headerParameters,
791
+ query: queryParameters,
792
+ body: WaasPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
793
+ }, initOverrides);
794
+ return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
795
+ }
796
+ /**
797
+ * Applies a single per-Rule upsert or remove operation to the specified wallet\'s Composition Layer.
798
+ * Update a wallet-Layer\'s Rules by ruleId
799
+ */
800
+ async updateWaasPolicyLayer(requestParameters, initOverrides) {
801
+ const response = await this.updateWaasPolicyLayerRaw(requestParameters, initOverrides);
802
+ return await response.value();
803
+ }
738
804
  /**
739
805
  * Configures a webhook that is called before every transaction signing request. The webhook must respond with { \"proceed\": true } to allow signing, or { \"proceed\": false, \"reason\": \"...\" } to block it.
740
806
  * Create or update the transaction review config for an environment
@@ -126,6 +126,7 @@ require('../models/SubscriptionAdvancedScopeEnum.cjs');
126
126
  require('../models/SubscriptionFreeScopeEnum.cjs');
127
127
  require('../models/SwapQuoteRequest.cjs');
128
128
  require('../models/SwapStatusResponse.cjs');
129
+ require('../models/UpdateBusinessAccountMemberRoleSdkRequest.cjs');
129
130
  require('../models/UserFieldsCheckEnum.cjs');
130
131
  require('../models/UserFilterableFieldsEnum.cjs');
131
132
  require('../models/VisitorFilterableFieldsEnum.cjs');
@@ -133,6 +134,7 @@ require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
133
134
  require('../models/WaasDelegationCredentialsResponse.cjs');
134
135
  require('../models/WaasPolicyConstraintCondition.cjs');
135
136
  require('../models/WaasPolicyRuleType.cjs');
137
+ require('../models/WaasPolicyLayerUpdateRequest.cjs');
136
138
  require('../models/WaasTransactionReviewFailurePolicy.cjs');
137
139
  require('../models/WaasTransactionReviewTestScenario.cjs');
138
140
  require('../models/WaasTransactionReviewTestResponseResponseSignature.cjs');
@@ -122,6 +122,7 @@ import '../models/SubscriptionAdvancedScopeEnum.js';
122
122
  import '../models/SubscriptionFreeScopeEnum.js';
123
123
  import '../models/SwapQuoteRequest.js';
124
124
  import '../models/SwapStatusResponse.js';
125
+ import '../models/UpdateBusinessAccountMemberRoleSdkRequest.js';
125
126
  import '../models/UserFieldsCheckEnum.js';
126
127
  import '../models/UserFilterableFieldsEnum.js';
127
128
  import '../models/VisitorFilterableFieldsEnum.js';
@@ -129,6 +130,7 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
129
130
  import '../models/WaasDelegationCredentialsResponse.js';
130
131
  import '../models/WaasPolicyConstraintCondition.js';
131
132
  import '../models/WaasPolicyRuleType.js';
133
+ import '../models/WaasPolicyLayerUpdateRequest.js';
132
134
  import '../models/WaasTransactionReviewFailurePolicy.js';
133
135
  import '../models/WaasTransactionReviewTestScenario.js';
134
136
  import '../models/WaasTransactionReviewTestResponseResponseSignature.js';
@@ -130,6 +130,7 @@ require('../models/SubscriptionAdvancedScopeEnum.cjs');
130
130
  require('../models/SubscriptionFreeScopeEnum.cjs');
131
131
  require('../models/SwapQuoteRequest.cjs');
132
132
  require('../models/SwapStatusResponse.cjs');
133
+ require('../models/UpdateBusinessAccountMemberRoleSdkRequest.cjs');
133
134
  require('../models/UserFieldsCheckEnum.cjs');
134
135
  require('../models/UserFilterableFieldsEnum.cjs');
135
136
  var UserResponse = require('../models/UserResponse.cjs');
@@ -139,6 +140,7 @@ require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
139
140
  require('../models/WaasDelegationCredentialsResponse.cjs');
140
141
  require('../models/WaasPolicyConstraintCondition.cjs');
141
142
  require('../models/WaasPolicyRuleType.cjs');
143
+ require('../models/WaasPolicyLayerUpdateRequest.cjs');
142
144
  require('../models/WaasTransactionReviewFailurePolicy.cjs');
143
145
  require('../models/WaasTransactionReviewTestScenario.cjs');
144
146
  require('../models/WaasTransactionReviewTestResponseResponseSignature.cjs');
@@ -126,6 +126,7 @@ import '../models/SubscriptionAdvancedScopeEnum.js';
126
126
  import '../models/SubscriptionFreeScopeEnum.js';
127
127
  import '../models/SwapQuoteRequest.js';
128
128
  import '../models/SwapStatusResponse.js';
129
+ import '../models/UpdateBusinessAccountMemberRoleSdkRequest.js';
129
130
  import '../models/UserFieldsCheckEnum.js';
130
131
  import '../models/UserFilterableFieldsEnum.js';
131
132
  import { UserResponseFromJSON } from '../models/UserResponse.js';
@@ -135,6 +136,7 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
135
136
  import '../models/WaasDelegationCredentialsResponse.js';
136
137
  import '../models/WaasPolicyConstraintCondition.js';
137
138
  import '../models/WaasPolicyRuleType.js';
139
+ import '../models/WaasPolicyLayerUpdateRequest.js';
138
140
  import '../models/WaasTransactionReviewFailurePolicy.js';
139
141
  import '../models/WaasTransactionReviewTestScenario.js';
140
142
  import '../models/WaasTransactionReviewTestResponseResponseSignature.js';
@@ -126,6 +126,7 @@ require('../models/SubscriptionAdvancedScopeEnum.cjs');
126
126
  require('../models/SubscriptionFreeScopeEnum.cjs');
127
127
  require('../models/SwapQuoteRequest.cjs');
128
128
  require('../models/SwapStatusResponse.cjs');
129
+ require('../models/UpdateBusinessAccountMemberRoleSdkRequest.cjs');
129
130
  require('../models/UserFieldsCheckEnum.cjs');
130
131
  require('../models/UserFilterableFieldsEnum.cjs');
131
132
  require('../models/VisitorFilterableFieldsEnum.cjs');
@@ -133,6 +134,7 @@ require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
133
134
  require('../models/WaasDelegationCredentialsResponse.cjs');
134
135
  require('../models/WaasPolicyConstraintCondition.cjs');
135
136
  require('../models/WaasPolicyRuleType.cjs');
137
+ require('../models/WaasPolicyLayerUpdateRequest.cjs');
136
138
  require('../models/WaasTransactionReviewFailurePolicy.cjs');
137
139
  require('../models/WaasTransactionReviewTestScenario.cjs');
138
140
  require('../models/WaasTransactionReviewTestResponseResponseSignature.cjs');
@@ -122,6 +122,7 @@ import '../models/SubscriptionAdvancedScopeEnum.js';
122
122
  import '../models/SubscriptionFreeScopeEnum.js';
123
123
  import '../models/SwapQuoteRequest.js';
124
124
  import '../models/SwapStatusResponse.js';
125
+ import '../models/UpdateBusinessAccountMemberRoleSdkRequest.js';
125
126
  import '../models/UserFieldsCheckEnum.js';
126
127
  import '../models/UserFilterableFieldsEnum.js';
127
128
  import '../models/VisitorFilterableFieldsEnum.js';
@@ -129,6 +130,7 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
129
130
  import '../models/WaasDelegationCredentialsResponse.js';
130
131
  import '../models/WaasPolicyConstraintCondition.js';
131
132
  import '../models/WaasPolicyRuleType.js';
133
+ import '../models/WaasPolicyLayerUpdateRequest.js';
132
134
  import '../models/WaasTransactionReviewFailurePolicy.js';
133
135
  import '../models/WaasTransactionReviewTestScenario.js';
134
136
  import '../models/WaasTransactionReviewTestResponseResponseSignature.js';
package/src/index.cjs CHANGED
@@ -413,6 +413,7 @@ var InlineResponse2005 = require('./models/InlineResponse2005.cjs');
413
413
  var InlineResponse2006 = require('./models/InlineResponse2006.cjs');
414
414
  var InlineResponse2007 = require('./models/InlineResponse2007.cjs');
415
415
  var InlineResponse2008 = require('./models/InlineResponse2008.cjs');
416
+ var InlineResponse2009 = require('./models/InlineResponse2009.cjs');
416
417
  var InlineResponse201 = require('./models/InlineResponse201.cjs');
417
418
  var InlineResponse400 = require('./models/InlineResponse400.cjs');
418
419
  var IntegrationSetting = require('./models/IntegrationSetting.cjs');
@@ -715,6 +716,7 @@ var TokensResponse = require('./models/TokensResponse.cjs');
715
716
  var TooManyRequests = require('./models/TooManyRequests.cjs');
716
717
  var TransactionFeeEstimateRequest = require('./models/TransactionFeeEstimateRequest.cjs');
717
718
  var TransactionFeeEstimateResponse = require('./models/TransactionFeeEstimateResponse.cjs');
719
+ var TransferBusinessAccountOwnershipSdkRequest = require('./models/TransferBusinessAccountOwnershipSdkRequest.cjs');
718
720
  var TransferDestination = require('./models/TransferDestination.cjs');
719
721
  var TransferDestinationResponse = require('./models/TransferDestinationResponse.cjs');
720
722
  var TurnkeyCreateWalletAccountsRequestBody = require('./models/TurnkeyCreateWalletAccountsRequestBody.cjs');
@@ -730,6 +732,7 @@ var UnprocessableEntity = require('./models/UnprocessableEntity.cjs');
730
732
  var UnprocessableEntityErrorCode = require('./models/UnprocessableEntityErrorCode.cjs');
731
733
  var UnprocessableEntityErrorPayload = require('./models/UnprocessableEntityErrorPayload.cjs');
732
734
  var UpdateAuthorizedClientRequest = require('./models/UpdateAuthorizedClientRequest.cjs');
735
+ var UpdateBusinessAccountMemberRoleSdkRequest = require('./models/UpdateBusinessAccountMemberRoleSdkRequest.cjs');
733
736
  var UpdateProjectRequest = require('./models/UpdateProjectRequest.cjs');
734
737
  var UpdateProjectResponse = require('./models/UpdateProjectResponse.cjs');
735
738
  var UpdateRecoveryEmailRequest = require('./models/UpdateRecoveryEmailRequest.cjs');
@@ -778,6 +781,9 @@ var WaasPolicyArgumentConstraint = require('./models/WaasPolicyArgumentConstrain
778
781
  var WaasPolicyConstraintCondition = require('./models/WaasPolicyConstraintCondition.cjs');
779
782
  var WaasPolicyCreateRequest = require('./models/WaasPolicyCreateRequest.cjs');
780
783
  var WaasPolicyDeleteRequest = require('./models/WaasPolicyDeleteRequest.cjs');
784
+ var WaasPolicyLayerResponse = require('./models/WaasPolicyLayerResponse.cjs');
785
+ var WaasPolicyLayerResponseLayerContent = require('./models/WaasPolicyLayerResponseLayerContent.cjs');
786
+ var WaasPolicyLayerUpdateRequest = require('./models/WaasPolicyLayerUpdateRequest.cjs');
781
787
  var WaasPolicyResponse = require('./models/WaasPolicyResponse.cjs');
782
788
  var WaasPolicyRule = require('./models/WaasPolicyRule.cjs');
783
789
  var WaasPolicyRuleOperationRestrictions = require('./models/WaasPolicyRuleOperationRestrictions.cjs');
@@ -2304,6 +2310,9 @@ exports.InlineResponse2007ToJSON = InlineResponse2007.InlineResponse2007ToJSON;
2304
2310
  exports.InlineResponse2008FromJSON = InlineResponse2008.InlineResponse2008FromJSON;
2305
2311
  exports.InlineResponse2008FromJSONTyped = InlineResponse2008.InlineResponse2008FromJSONTyped;
2306
2312
  exports.InlineResponse2008ToJSON = InlineResponse2008.InlineResponse2008ToJSON;
2313
+ exports.InlineResponse2009FromJSON = InlineResponse2009.InlineResponse2009FromJSON;
2314
+ exports.InlineResponse2009FromJSONTyped = InlineResponse2009.InlineResponse2009FromJSONTyped;
2315
+ exports.InlineResponse2009ToJSON = InlineResponse2009.InlineResponse2009ToJSON;
2307
2316
  exports.InlineResponse201FromJSON = InlineResponse201.InlineResponse201FromJSON;
2308
2317
  exports.InlineResponse201FromJSONTyped = InlineResponse201.InlineResponse201FromJSONTyped;
2309
2318
  exports.InlineResponse201ToJSON = InlineResponse201.InlineResponse201ToJSON;
@@ -3406,6 +3415,9 @@ exports.TransactionFeeEstimateRequestToJSON = TransactionFeeEstimateRequest.Tran
3406
3415
  exports.TransactionFeeEstimateResponseFromJSON = TransactionFeeEstimateResponse.TransactionFeeEstimateResponseFromJSON;
3407
3416
  exports.TransactionFeeEstimateResponseFromJSONTyped = TransactionFeeEstimateResponse.TransactionFeeEstimateResponseFromJSONTyped;
3408
3417
  exports.TransactionFeeEstimateResponseToJSON = TransactionFeeEstimateResponse.TransactionFeeEstimateResponseToJSON;
3418
+ exports.TransferBusinessAccountOwnershipSdkRequestFromJSON = TransferBusinessAccountOwnershipSdkRequest.TransferBusinessAccountOwnershipSdkRequestFromJSON;
3419
+ exports.TransferBusinessAccountOwnershipSdkRequestFromJSONTyped = TransferBusinessAccountOwnershipSdkRequest.TransferBusinessAccountOwnershipSdkRequestFromJSONTyped;
3420
+ exports.TransferBusinessAccountOwnershipSdkRequestToJSON = TransferBusinessAccountOwnershipSdkRequest.TransferBusinessAccountOwnershipSdkRequestToJSON;
3409
3421
  exports.TransferDestinationFromJSON = TransferDestination.TransferDestinationFromJSON;
3410
3422
  exports.TransferDestinationFromJSONTyped = TransferDestination.TransferDestinationFromJSONTyped;
3411
3423
  exports.TransferDestinationToJSON = TransferDestination.TransferDestinationToJSON;
@@ -3455,6 +3467,13 @@ exports.UnprocessableEntityErrorPayloadToJSON = UnprocessableEntityErrorPayload.
3455
3467
  exports.UpdateAuthorizedClientRequestFromJSON = UpdateAuthorizedClientRequest.UpdateAuthorizedClientRequestFromJSON;
3456
3468
  exports.UpdateAuthorizedClientRequestFromJSONTyped = UpdateAuthorizedClientRequest.UpdateAuthorizedClientRequestFromJSONTyped;
3457
3469
  exports.UpdateAuthorizedClientRequestToJSON = UpdateAuthorizedClientRequest.UpdateAuthorizedClientRequestToJSON;
3470
+ exports.UpdateBusinessAccountMemberRoleSdkRequestFromJSON = UpdateBusinessAccountMemberRoleSdkRequest.UpdateBusinessAccountMemberRoleSdkRequestFromJSON;
3471
+ exports.UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped = UpdateBusinessAccountMemberRoleSdkRequest.UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped;
3472
+ Object.defineProperty(exports, 'UpdateBusinessAccountMemberRoleSdkRequestRoleEnum', {
3473
+ enumerable: true,
3474
+ get: function () { return UpdateBusinessAccountMemberRoleSdkRequest.UpdateBusinessAccountMemberRoleSdkRequestRoleEnum; }
3475
+ });
3476
+ exports.UpdateBusinessAccountMemberRoleSdkRequestToJSON = UpdateBusinessAccountMemberRoleSdkRequest.UpdateBusinessAccountMemberRoleSdkRequestToJSON;
3458
3477
  exports.UpdateProjectRequestFromJSON = UpdateProjectRequest.UpdateProjectRequestFromJSON;
3459
3478
  exports.UpdateProjectRequestFromJSONTyped = UpdateProjectRequest.UpdateProjectRequestFromJSONTyped;
3460
3479
  exports.UpdateProjectRequestToJSON = UpdateProjectRequest.UpdateProjectRequestToJSON;
@@ -3639,6 +3658,19 @@ exports.WaasPolicyCreateRequestToJSON = WaasPolicyCreateRequest.WaasPolicyCreate
3639
3658
  exports.WaasPolicyDeleteRequestFromJSON = WaasPolicyDeleteRequest.WaasPolicyDeleteRequestFromJSON;
3640
3659
  exports.WaasPolicyDeleteRequestFromJSONTyped = WaasPolicyDeleteRequest.WaasPolicyDeleteRequestFromJSONTyped;
3641
3660
  exports.WaasPolicyDeleteRequestToJSON = WaasPolicyDeleteRequest.WaasPolicyDeleteRequestToJSON;
3661
+ exports.WaasPolicyLayerResponseFromJSON = WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON;
3662
+ exports.WaasPolicyLayerResponseFromJSONTyped = WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSONTyped;
3663
+ exports.WaasPolicyLayerResponseToJSON = WaasPolicyLayerResponse.WaasPolicyLayerResponseToJSON;
3664
+ exports.WaasPolicyLayerResponseLayerContentFromJSON = WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentFromJSON;
3665
+ exports.WaasPolicyLayerResponseLayerContentFromJSONTyped = WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentFromJSONTyped;
3666
+ exports.WaasPolicyLayerResponseLayerContentToJSON = WaasPolicyLayerResponseLayerContent.WaasPolicyLayerResponseLayerContentToJSON;
3667
+ exports.WaasPolicyLayerUpdateRequestFromJSON = WaasPolicyLayerUpdateRequest.WaasPolicyLayerUpdateRequestFromJSON;
3668
+ exports.WaasPolicyLayerUpdateRequestFromJSONTyped = WaasPolicyLayerUpdateRequest.WaasPolicyLayerUpdateRequestFromJSONTyped;
3669
+ Object.defineProperty(exports, 'WaasPolicyLayerUpdateRequestOpEnum', {
3670
+ enumerable: true,
3671
+ get: function () { return WaasPolicyLayerUpdateRequest.WaasPolicyLayerUpdateRequestOpEnum; }
3672
+ });
3673
+ exports.WaasPolicyLayerUpdateRequestToJSON = WaasPolicyLayerUpdateRequest.WaasPolicyLayerUpdateRequestToJSON;
3642
3674
  exports.WaasPolicyResponseFromJSON = WaasPolicyResponse.WaasPolicyResponseFromJSON;
3643
3675
  exports.WaasPolicyResponseFromJSONTyped = WaasPolicyResponse.WaasPolicyResponseFromJSONTyped;
3644
3676
  exports.WaasPolicyResponseToJSON = WaasPolicyResponse.WaasPolicyResponseToJSON;
package/src/index.js CHANGED
@@ -409,6 +409,7 @@ export { InlineResponse2005FromJSON, InlineResponse2005FromJSONTyped, InlineResp
409
409
  export { InlineResponse2006FromJSON, InlineResponse2006FromJSONTyped, InlineResponse2006ToJSON } from './models/InlineResponse2006.js';
410
410
  export { InlineResponse2007FromJSON, InlineResponse2007FromJSONTyped, InlineResponse2007ToJSON } from './models/InlineResponse2007.js';
411
411
  export { InlineResponse2008FromJSON, InlineResponse2008FromJSONTyped, InlineResponse2008ToJSON } from './models/InlineResponse2008.js';
412
+ export { InlineResponse2009FromJSON, InlineResponse2009FromJSONTyped, InlineResponse2009ToJSON } from './models/InlineResponse2009.js';
412
413
  export { InlineResponse201FromJSON, InlineResponse201FromJSONTyped, InlineResponse201ToJSON } from './models/InlineResponse201.js';
413
414
  export { InlineResponse400FromJSON, InlineResponse400FromJSONTyped, InlineResponse400ToJSON } from './models/InlineResponse400.js';
414
415
  export { IntegrationSettingFromJSON, IntegrationSettingFromJSONTyped, IntegrationSettingToJSON } from './models/IntegrationSetting.js';
@@ -711,6 +712,7 @@ export { TokensResponseFromJSON, TokensResponseFromJSONTyped, TokensResponseToJS
711
712
  export { TooManyRequestsFromJSON, TooManyRequestsFromJSONTyped, TooManyRequestsToJSON } from './models/TooManyRequests.js';
712
713
  export { TransactionFeeEstimateRequestFromJSON, TransactionFeeEstimateRequestFromJSONTyped, TransactionFeeEstimateRequestToJSON } from './models/TransactionFeeEstimateRequest.js';
713
714
  export { TransactionFeeEstimateResponseFromJSON, TransactionFeeEstimateResponseFromJSONTyped, TransactionFeeEstimateResponseToJSON } from './models/TransactionFeeEstimateResponse.js';
715
+ export { TransferBusinessAccountOwnershipSdkRequestFromJSON, TransferBusinessAccountOwnershipSdkRequestFromJSONTyped, TransferBusinessAccountOwnershipSdkRequestToJSON } from './models/TransferBusinessAccountOwnershipSdkRequest.js';
714
716
  export { TransferDestinationFromJSON, TransferDestinationFromJSONTyped, TransferDestinationToJSON } from './models/TransferDestination.js';
715
717
  export { TransferDestinationResponseFromJSON, TransferDestinationResponseFromJSONTyped, TransferDestinationResponseToJSON } from './models/TransferDestinationResponse.js';
716
718
  export { TurnkeyCreateWalletAccountsRequestBodyFromJSON, TurnkeyCreateWalletAccountsRequestBodyFromJSONTyped, TurnkeyCreateWalletAccountsRequestBodyToJSON } from './models/TurnkeyCreateWalletAccountsRequestBody.js';
@@ -726,6 +728,7 @@ export { UnprocessableEntityFromJSON, UnprocessableEntityFromJSONTyped, Unproces
726
728
  export { UnprocessableEntityErrorCode, UnprocessableEntityErrorCodeFromJSON, UnprocessableEntityErrorCodeFromJSONTyped, UnprocessableEntityErrorCodeToJSON } from './models/UnprocessableEntityErrorCode.js';
727
729
  export { UnprocessableEntityErrorPayloadFromJSON, UnprocessableEntityErrorPayloadFromJSONTyped, UnprocessableEntityErrorPayloadToJSON } from './models/UnprocessableEntityErrorPayload.js';
728
730
  export { UpdateAuthorizedClientRequestFromJSON, UpdateAuthorizedClientRequestFromJSONTyped, UpdateAuthorizedClientRequestToJSON } from './models/UpdateAuthorizedClientRequest.js';
731
+ export { UpdateBusinessAccountMemberRoleSdkRequestFromJSON, UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped, UpdateBusinessAccountMemberRoleSdkRequestRoleEnum, UpdateBusinessAccountMemberRoleSdkRequestToJSON } from './models/UpdateBusinessAccountMemberRoleSdkRequest.js';
729
732
  export { UpdateProjectRequestFromJSON, UpdateProjectRequestFromJSONTyped, UpdateProjectRequestToJSON } from './models/UpdateProjectRequest.js';
730
733
  export { UpdateProjectResponseFromJSON, UpdateProjectResponseFromJSONTyped, UpdateProjectResponseToJSON } from './models/UpdateProjectResponse.js';
731
734
  export { UpdateRecoveryEmailRequestFromJSON, UpdateRecoveryEmailRequestFromJSONTyped, UpdateRecoveryEmailRequestToJSON } from './models/UpdateRecoveryEmailRequest.js';
@@ -774,6 +777,9 @@ export { WaasPolicyArgumentConstraintFromJSON, WaasPolicyArgumentConstraintFromJ
774
777
  export { WaasPolicyConstraintCondition, WaasPolicyConstraintConditionFromJSON, WaasPolicyConstraintConditionFromJSONTyped, WaasPolicyConstraintConditionToJSON } from './models/WaasPolicyConstraintCondition.js';
775
778
  export { WaasPolicyCreateRequestFromJSON, WaasPolicyCreateRequestFromJSONTyped, WaasPolicyCreateRequestToJSON } from './models/WaasPolicyCreateRequest.js';
776
779
  export { WaasPolicyDeleteRequestFromJSON, WaasPolicyDeleteRequestFromJSONTyped, WaasPolicyDeleteRequestToJSON } from './models/WaasPolicyDeleteRequest.js';
780
+ export { WaasPolicyLayerResponseFromJSON, WaasPolicyLayerResponseFromJSONTyped, WaasPolicyLayerResponseToJSON } from './models/WaasPolicyLayerResponse.js';
781
+ export { WaasPolicyLayerResponseLayerContentFromJSON, WaasPolicyLayerResponseLayerContentFromJSONTyped, WaasPolicyLayerResponseLayerContentToJSON } from './models/WaasPolicyLayerResponseLayerContent.js';
782
+ export { WaasPolicyLayerUpdateRequestFromJSON, WaasPolicyLayerUpdateRequestFromJSONTyped, WaasPolicyLayerUpdateRequestOpEnum, WaasPolicyLayerUpdateRequestToJSON } from './models/WaasPolicyLayerUpdateRequest.js';
777
783
  export { WaasPolicyResponseFromJSON, WaasPolicyResponseFromJSONTyped, WaasPolicyResponseToJSON } from './models/WaasPolicyResponse.js';
778
784
  export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJSON } from './models/WaasPolicyRule.js';
779
785
  export { WaasPolicyRuleOperationRestrictionsFromJSON, WaasPolicyRuleOperationRestrictionsFromJSONTyped, WaasPolicyRuleOperationRestrictionsToJSON } from './models/WaasPolicyRuleOperationRestrictions.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var BusinessAccountSigner = require('./BusinessAccountSigner.cjs');
5
+ var BusinessAccountMember = require('./BusinessAccountMember.cjs');
6
6
 
7
7
  /* tslint:disable */
8
8
  function InlineResponse2008FromJSON(json) {
@@ -13,7 +13,7 @@ function InlineResponse2008FromJSONTyped(json, ignoreDiscriminator) {
13
13
  return json;
14
14
  }
15
15
  return {
16
- 'signer': BusinessAccountSigner.BusinessAccountSignerFromJSON(json['signer']),
16
+ 'member': BusinessAccountMember.BusinessAccountMemberFromJSON(json['member']),
17
17
  };
18
18
  }
19
19
  function InlineResponse2008ToJSON(value) {
@@ -24,7 +24,7 @@ function InlineResponse2008ToJSON(value) {
24
24
  return null;
25
25
  }
26
26
  return {
27
- 'signer': BusinessAccountSigner.BusinessAccountSignerToJSON(value.signer),
27
+ 'member': BusinessAccountMember.BusinessAccountMemberToJSON(value.member),
28
28
  };
29
29
  }
30
30
 
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { BusinessAccountSigner } from './BusinessAccountSigner';
12
+ import { BusinessAccountMember } from './BusinessAccountMember';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import { BusinessAccountSigner } from './BusinessAccountSigner';
18
18
  export interface InlineResponse2008 {
19
19
  /**
20
20
  *
21
- * @type {BusinessAccountSigner}
21
+ * @type {BusinessAccountMember}
22
22
  * @memberof InlineResponse2008
23
23
  */
24
- signer: BusinessAccountSigner;
24
+ member: BusinessAccountMember;
25
25
  }
26
26
  export declare function InlineResponse2008FromJSON(json: any): InlineResponse2008;
27
27
  export declare function InlineResponse2008FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2008;
@@ -1,4 +1,4 @@
1
- import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
1
+ import { BusinessAccountMemberFromJSON, BusinessAccountMemberToJSON } from './BusinessAccountMember.js';
2
2
 
3
3
  /* tslint:disable */
4
4
  function InlineResponse2008FromJSON(json) {
@@ -9,7 +9,7 @@ function InlineResponse2008FromJSONTyped(json, ignoreDiscriminator) {
9
9
  return json;
10
10
  }
11
11
  return {
12
- 'signer': BusinessAccountSignerFromJSON(json['signer']),
12
+ 'member': BusinessAccountMemberFromJSON(json['member']),
13
13
  };
14
14
  }
15
15
  function InlineResponse2008ToJSON(value) {
@@ -20,7 +20,7 @@ function InlineResponse2008ToJSON(value) {
20
20
  return null;
21
21
  }
22
22
  return {
23
- 'signer': BusinessAccountSignerToJSON(value.signer),
23
+ 'member': BusinessAccountMemberToJSON(value.member),
24
24
  };
25
25
  }
26
26
 
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var BusinessAccountSigner = require('./BusinessAccountSigner.cjs');
6
+
7
+ /* tslint:disable */
8
+ function InlineResponse2009FromJSON(json) {
9
+ return InlineResponse2009FromJSONTyped(json);
10
+ }
11
+ function InlineResponse2009FromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'signer': BusinessAccountSigner.BusinessAccountSignerFromJSON(json['signer']),
17
+ };
18
+ }
19
+ function InlineResponse2009ToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'signer': BusinessAccountSigner.BusinessAccountSignerToJSON(value.signer),
28
+ };
29
+ }
30
+
31
+ exports.InlineResponse2009FromJSON = InlineResponse2009FromJSON;
32
+ exports.InlineResponse2009FromJSONTyped = InlineResponse2009FromJSONTyped;
33
+ exports.InlineResponse2009ToJSON = InlineResponse2009ToJSON;
@@ -0,0 +1,28 @@
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 { BusinessAccountSigner } from './BusinessAccountSigner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface InlineResponse2009
17
+ */
18
+ export interface InlineResponse2009 {
19
+ /**
20
+ *
21
+ * @type {BusinessAccountSigner}
22
+ * @memberof InlineResponse2009
23
+ */
24
+ signer: BusinessAccountSigner;
25
+ }
26
+ export declare function InlineResponse2009FromJSON(json: any): InlineResponse2009;
27
+ export declare function InlineResponse2009FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2009;
28
+ export declare function InlineResponse2009ToJSON(value?: InlineResponse2009 | null): any;
@@ -0,0 +1,27 @@
1
+ import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
2
+
3
+ /* tslint:disable */
4
+ function InlineResponse2009FromJSON(json) {
5
+ return InlineResponse2009FromJSONTyped(json);
6
+ }
7
+ function InlineResponse2009FromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'signer': BusinessAccountSignerFromJSON(json['signer']),
13
+ };
14
+ }
15
+ function InlineResponse2009ToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'signer': BusinessAccountSignerToJSON(value.signer),
24
+ };
25
+ }
26
+
27
+ export { InlineResponse2009FromJSON, InlineResponse2009FromJSONTyped, InlineResponse2009ToJSON };
@@ -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 TransferBusinessAccountOwnershipSdkRequestFromJSON(json) {
19
+ return TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json);
20
+ }
21
+ function TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'newOwnerUserId': json['newOwnerUserId'],
27
+ };
28
+ }
29
+ function TransferBusinessAccountOwnershipSdkRequestToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'newOwnerUserId': value.newOwnerUserId,
38
+ };
39
+ }
40
+
41
+ exports.TransferBusinessAccountOwnershipSdkRequestFromJSON = TransferBusinessAccountOwnershipSdkRequestFromJSON;
42
+ exports.TransferBusinessAccountOwnershipSdkRequestFromJSONTyped = TransferBusinessAccountOwnershipSdkRequestFromJSONTyped;
43
+ exports.TransferBusinessAccountOwnershipSdkRequestToJSON = TransferBusinessAccountOwnershipSdkRequestToJSON;
@@ -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
+ * SDK transferOwnership body. Promotes newOwnerUserId (must already be a member) to owner and demotes the current owner to admin, atomically.
14
+ * @export
15
+ * @interface TransferBusinessAccountOwnershipSdkRequest
16
+ */
17
+ export interface TransferBusinessAccountOwnershipSdkRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof TransferBusinessAccountOwnershipSdkRequest
22
+ */
23
+ newOwnerUserId: string;
24
+ }
25
+ export declare function TransferBusinessAccountOwnershipSdkRequestFromJSON(json: any): TransferBusinessAccountOwnershipSdkRequest;
26
+ export declare function TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferBusinessAccountOwnershipSdkRequest;
27
+ export declare function TransferBusinessAccountOwnershipSdkRequestToJSON(value?: TransferBusinessAccountOwnershipSdkRequest | null): any;