@dynamic-labs/sdk-api 0.118.0 → 0.119.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 (69) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.js +3 -0
  3. package/src/apis/AllowlistsApi.js +3 -0
  4. package/src/apis/AnalyticsApi.js +3 -0
  5. package/src/apis/AuthorizedClientsApi.js +3 -0
  6. package/src/apis/BusinessAccountsApi.js +3 -0
  7. package/src/apis/CaptchaApi.js +3 -0
  8. package/src/apis/ChainalysisApi.js +3 -0
  9. package/src/apis/ChainsApi.js +3 -0
  10. package/src/apis/CheckoutApi.js +3 -0
  11. package/src/apis/ClientGrantApi.js +3 -0
  12. package/src/apis/CustomFieldsApi.js +3 -0
  13. package/src/apis/CustomHostnamesApi.js +3 -0
  14. package/src/apis/CustomNetworksApi.js +3 -0
  15. package/src/apis/DeeplinkUrlsApi.js +3 -0
  16. package/src/apis/EnvironmentsApi.js +3 -0
  17. package/src/apis/EventsApi.js +3 -0
  18. package/src/apis/ExchangesApi.js +3 -0
  19. package/src/apis/ExportsApi.js +3 -0
  20. package/src/apis/ExternalJwtApi.js +3 -0
  21. package/src/apis/FlowAnalyticsApi.js +3 -0
  22. package/src/apis/GaslessApi.js +3 -0
  23. package/src/apis/GatesApi.js +3 -0
  24. package/src/apis/GlobalWalletAccessControlApi.js +3 -0
  25. package/src/apis/GlobalWalletConnectionsApi.js +3 -0
  26. package/src/apis/GlobalWalletsApi.js +3 -0
  27. package/src/apis/InvitesApi.js +3 -0
  28. package/src/apis/KybApi.js +3 -0
  29. package/src/apis/MembersApi.js +3 -0
  30. package/src/apis/MfaSettingsApi.js +3 -0
  31. package/src/apis/NameServicesApi.js +3 -0
  32. package/src/apis/OrganizationSettingsApi.js +3 -0
  33. package/src/apis/OrganizationsApi.js +3 -0
  34. package/src/apis/OriginsApi.js +3 -0
  35. package/src/apis/ProjectsApi.js +3 -0
  36. package/src/apis/ProvidersApi.js +3 -0
  37. package/src/apis/SDKApi.js +3 -0
  38. package/src/apis/SDKViewsApi.js +3 -0
  39. package/src/apis/ScreeningPoliciesApi.js +3 -0
  40. package/src/apis/ServerApi.d.ts +324 -1
  41. package/src/apis/ServerApi.js +765 -5
  42. package/src/apis/SessionsApi.js +3 -0
  43. package/src/apis/TestAccountApi.js +3 -0
  44. package/src/apis/TokensApi.js +3 -0
  45. package/src/apis/UserApiTokensApi.js +3 -0
  46. package/src/apis/UsersApi.js +3 -0
  47. package/src/apis/VisitsApi.js +3 -0
  48. package/src/apis/WaasApi.js +3 -0
  49. package/src/apis/WalletConnectApi.js +3 -0
  50. package/src/apis/WalletsApi.js +3 -0
  51. package/src/apis/WebhooksApi.js +3 -0
  52. package/src/apis/YieldApi.js +3 -0
  53. package/src/apis/ZendeskApi.js +3 -0
  54. package/src/index.js +7 -0
  55. package/src/models/RemoveBusinessAccountMemberResponse.d.ts +28 -0
  56. package/src/models/RemoveBusinessAccountMemberResponse.js +27 -0
  57. package/src/models/RemoveBusinessAccountSignerResponse.d.ts +28 -0
  58. package/src/models/RemoveBusinessAccountSignerResponse.js +27 -0
  59. package/src/models/ServerSignerErrorCode.d.ts +34 -0
  60. package/src/models/ServerSignerErrorCode.js +45 -0
  61. package/src/models/ServerSignerProofHeader.d.ts +52 -0
  62. package/src/models/ServerSignerProofHeader.js +56 -0
  63. package/src/models/ServerSignerProofPayload.d.ts +76 -0
  64. package/src/models/ServerSignerProofPayload.js +59 -0
  65. package/src/models/WaasWalletByAddressResponse.d.ts +28 -0
  66. package/src/models/WaasWalletByAddressResponse.js +27 -0
  67. package/src/models/WaasWalletByAddressResponseWallet.d.ts +80 -0
  68. package/src/models/WaasWalletByAddressResponseWallet.js +47 -0
  69. package/src/models/index.d.ts +7 -0
@@ -10,14 +10,22 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { AddBusinessAccountMemberSdkRequest, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, CreateBusinessAccountSdkRequest, Flow, FlowCreateRequest, FlowCreateResponse, FlowFeeBalancesResponse, FlowFeeClaimRequest, FlowFeeClaimResponse, FlowFeeClaimSubmitRequest, FlowFeeClaimSubmitResponse, FlowModeEnum, FlowPaymentLinkCreateRequest, FlowPaymentLinkCreateResponse, LinkBusinessAccountWalletSdkRequest, ServerIdentityResponse, SoftDeleteWaasWalletsRequest, SoftDeleteWaasWalletsResponse, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest } from '../models';
13
+ import { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, CreateBusinessAccountSdkRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, ExportWaasWalletPrivateKeyRequest, Flow, FlowCreateRequest, FlowCreateResponse, FlowFeeBalancesResponse, FlowFeeClaimRequest, FlowFeeClaimResponse, FlowFeeClaimSubmitRequest, FlowFeeClaimSubmitResponse, FlowModeEnum, FlowPaymentLinkCreateRequest, FlowPaymentLinkCreateResponse, GeneratedTokenResponse, ImportWaasPrivateKeyRequest, LinkBusinessAccountWalletSdkRequest, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, RefreshKeySharesRequest, RemoveBusinessAccountMemberResponse, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerResponse, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ServerIdentityResponse, SignMessageWithWaasRequest, SoftDeleteWaasWalletsRequest, SoftDeleteWaasWalletsResponse, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasWalletByAddressResponse } from '../models';
14
14
  export interface AddBusinessAccountMemberServerRequest {
15
15
  environmentId: string;
16
16
  businessAccountId: string;
17
17
  addBusinessAccountMemberSdkRequest: AddBusinessAccountMemberSdkRequest;
18
+ xDynServerSigningProof?: string;
19
+ }
20
+ export interface BackupKeySharesToLocationsServerRequest {
21
+ environmentId: string;
22
+ walletId: string;
23
+ backupKeySharesToLocationsRequest: BackupKeySharesToLocationsRequest;
24
+ xDynServerSigningProof?: string;
18
25
  }
19
26
  export interface CreateBusinessAccountServerRequest {
20
27
  environmentId: string;
28
+ xDynServerSigningProof?: string;
21
29
  createBusinessAccountSdkRequest?: CreateBusinessAccountSdkRequest;
22
30
  }
23
31
  export interface CreateFlowServerRequest {
@@ -29,13 +37,51 @@ export interface CreatePaymentLinkServerRequest {
29
37
  environmentId: string;
30
38
  flowPaymentLinkCreateRequest: FlowPaymentLinkCreateRequest;
31
39
  }
40
+ export interface CreateRoomsServerRequest {
41
+ environmentId: string;
42
+ walletId: string;
43
+ createRoomsRequest: CreateRoomsRequest;
44
+ xDynServerSigningProof?: string;
45
+ }
46
+ export interface CreateRoomsWithoutWalletIdServerRequest {
47
+ environmentId: string;
48
+ createRoomsWithoutWalletIdRequest: CreateRoomsWithoutWalletIdRequest;
49
+ xDynServerSigningProof?: string;
50
+ }
51
+ export interface CreateWaasAccountServerRequest {
52
+ environmentId: string;
53
+ createWaasAccountRequest: CreateWaasAccountRequest;
54
+ xDynServerSigningProof?: string;
55
+ }
56
+ export interface DeliverDelegatedShareServerRequest {
57
+ environmentId: string;
58
+ walletId: string;
59
+ delegatedShareDeliveryRequest: DelegatedShareDeliveryRequest;
60
+ xDynServerSigningProof?: string;
61
+ }
62
+ export interface ExportPrivateKeyServerRequest {
63
+ environmentId: string;
64
+ walletId: string;
65
+ exportWaasWalletPrivateKeyRequest: ExportWaasWalletPrivateKeyRequest;
66
+ xDynServerSigningProof?: string;
67
+ }
68
+ export interface GetBackupTokenServerRequest {
69
+ environmentId: string;
70
+ xDynServerSigningProof?: string;
71
+ }
32
72
  export interface GetBusinessAccountByIdServerRequest {
33
73
  environmentId: string;
34
74
  businessAccountId: string;
75
+ xDynServerSigningProof?: string;
35
76
  }
36
77
  export interface GetBusinessAccountPolicyLayerServerRequest {
37
78
  environmentId: string;
38
79
  businessAccountId: string;
80
+ xDynServerSigningProof?: string;
81
+ }
82
+ export interface GetDelegatedAccessEncryptionPublicKeyServerRequest {
83
+ environmentId: string;
84
+ xDynServerSigningProof?: string;
39
85
  }
40
86
  export interface GetFlowFeeClaimBalancesServerRequest {
41
87
  environmentId: string;
@@ -51,6 +97,16 @@ export interface GetServerIdentityServerRequest {
51
97
  environmentId: string;
52
98
  serverIdentifier?: string;
53
99
  }
100
+ export interface GetWaasWalletWithVerifiedCredentialsServerRequest {
101
+ environmentId: string;
102
+ walletAddress: string;
103
+ xDynServerSigningProof?: string;
104
+ }
105
+ export interface ImportPrivateKeyServerRequest {
106
+ environmentId: string;
107
+ importWaasPrivateKeyRequest: ImportWaasPrivateKeyRequest;
108
+ xDynServerSigningProof?: string;
109
+ }
54
110
  export interface InitiateFlowFeeClaimServerRequest {
55
111
  environmentId: string;
56
112
  flowFeeClaimRequest: FlowFeeClaimRequest;
@@ -58,23 +114,92 @@ export interface InitiateFlowFeeClaimServerRequest {
58
114
  export interface LinkBusinessAccountWalletServerRequest {
59
115
  environmentId: string;
60
116
  linkBusinessAccountWalletSdkRequest: LinkBusinessAccountWalletSdkRequest;
117
+ xDynServerSigningProof?: string;
61
118
  }
62
119
  export interface ListBusinessAccountsServerRequest {
63
120
  environmentId: string;
64
121
  externalRef?: Array<string>;
122
+ xDynServerSigningProof?: string;
123
+ }
124
+ export interface RefreshKeySharesServerRequest {
125
+ environmentId: string;
126
+ walletId: string;
127
+ xDynServerSigningProof?: string;
128
+ refreshKeySharesRequest?: RefreshKeySharesRequest;
129
+ }
130
+ export interface RemoveBusinessAccountMemberServerRequest {
131
+ environmentId: string;
132
+ businessAccountId: string;
133
+ userId: string;
134
+ xDynServerSigningProof?: string;
135
+ removeBusinessAccountMemberSdkRequest?: RemoveBusinessAccountMemberSdkRequest;
136
+ }
137
+ export interface RemoveBusinessAccountSignerServerRequest {
138
+ environmentId: string;
139
+ businessAccountId: string;
140
+ walletId: string;
141
+ signerId: string;
142
+ xDynServerSigningProof?: string;
143
+ removeBusinessAccountSignerSdkRequest?: RemoveBusinessAccountSignerSdkRequest;
144
+ }
145
+ export interface RemoveBusinessAccountWalletServerRequest {
146
+ environmentId: string;
147
+ businessAccountId: string;
148
+ walletId: string;
149
+ xDynServerSigningProof?: string;
150
+ removeBusinessAccountWalletSdkRequest?: RemoveBusinessAccountWalletSdkRequest;
151
+ }
152
+ export interface ReshareServerRequest {
153
+ environmentId: string;
154
+ walletId: string;
155
+ reshareRequest: ReshareRequest;
156
+ xDynServerSigningProof?: string;
157
+ }
158
+ export interface RevokeDelegatedShareSetServerRequest {
159
+ environmentId: string;
160
+ walletId: string;
161
+ shareSetId: string;
162
+ xDynServerSigningProof?: string;
163
+ }
164
+ export interface SignMessageServerRequest {
165
+ environmentId: string;
166
+ walletId: string;
167
+ signMessageWithWaasRequest: SignMessageWithWaasRequest;
168
+ xDynServerSigningProof?: string;
65
169
  }
66
170
  export interface SoftDeleteWaasWalletsServerRequest {
67
171
  environmentId: string;
68
172
  softDeleteWaasWalletsRequest: SoftDeleteWaasWalletsRequest;
173
+ xDynServerSigningProof?: string;
69
174
  }
70
175
  export interface SubmitFlowFeeClaimServerRequest {
71
176
  environmentId: string;
72
177
  flowFeeClaimSubmitRequest: FlowFeeClaimSubmitRequest;
73
178
  }
179
+ export interface TransferBusinessAccountOwnershipServerRequest {
180
+ environmentId: string;
181
+ businessAccountId: string;
182
+ transferBusinessAccountOwnershipSdkRequest: TransferBusinessAccountOwnershipSdkRequest;
183
+ xDynServerSigningProof?: string;
184
+ }
185
+ export interface UpdateBusinessAccountMemberRoleServerRequest {
186
+ environmentId: string;
187
+ businessAccountId: string;
188
+ userId: string;
189
+ updateBusinessAccountMemberRoleSdkRequest: UpdateBusinessAccountMemberRoleSdkRequest;
190
+ xDynServerSigningProof?: string;
191
+ }
74
192
  export interface UpdateBusinessAccountPolicyLayerServerRequest {
75
193
  environmentId: string;
76
194
  businessAccountId: string;
77
195
  waasPolicyLayerUpdateRequest: WaasPolicyLayerUpdateRequest;
196
+ xDynServerSigningProof?: string;
197
+ }
198
+ export interface UpdateBusinessAccountServerRequest {
199
+ environmentId: string;
200
+ businessAccountId: string;
201
+ updateBusinessAccountSdkRequest: UpdateBusinessAccountSdkRequest;
202
+ xDynServerSigningProof?: string;
78
203
  }
79
204
  /**
80
205
  *
@@ -90,6 +215,16 @@ export declare class ServerApi extends runtime.BaseAPI {
90
215
  * Server — add a member to a business account
91
216
  */
92
217
  addBusinessAccountMemberServer(requestParameters: AddBusinessAccountMemberServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
218
+ /**
219
+ * Records backup actions and events for multiple locations without performing the actual backups.
220
+ * Server — create backup action and event for multiple locations without performing actual backup
221
+ */
222
+ backupKeySharesToLocationsServerRaw(requestParameters: BackupKeySharesToLocationsServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BackupKeySharesToLocationsResponse>>;
223
+ /**
224
+ * Records backup actions and events for multiple locations without performing the actual backups.
225
+ * Server — create backup action and event for multiple locations without performing actual backup
226
+ */
227
+ backupKeySharesToLocationsServer(requestParameters: BackupKeySharesToLocationsServerRequest, initOverrides?: RequestInit): Promise<BackupKeySharesToLocationsResponse>;
93
228
  /**
94
229
  * Create a business account from the server SDK. The authenticated service user becomes the first `owner` member. Gated by the `enable-business-accounts` feature flag.
95
230
  * Server — create a business account
@@ -120,6 +255,66 @@ export declare class ServerApi extends runtime.BaseAPI {
120
255
  * Create a payment link
121
256
  */
122
257
  createPaymentLinkServer(requestParameters: CreatePaymentLinkServerRequest, initOverrides?: RequestInit): Promise<FlowPaymentLinkCreateResponse>;
258
+ /**
259
+ * Creates MPC ceremony rooms for the specified WAAS wallet.
260
+ * Server — create rooms for a waas mpc ceremony
261
+ */
262
+ createRoomsServerRaw(requestParameters: CreateRoomsServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CreateRoomsResponse>>;
263
+ /**
264
+ * Creates MPC ceremony rooms for the specified WAAS wallet.
265
+ * Server — create rooms for a waas mpc ceremony
266
+ */
267
+ createRoomsServer(requestParameters: CreateRoomsServerRequest, initOverrides?: RequestInit): Promise<CreateRoomsResponse>;
268
+ /**
269
+ * Creates MPC ceremony rooms without requiring an existing wallet ID.
270
+ * Server — create rooms for a waas mpc ceremony without a walletId
271
+ */
272
+ createRoomsWithoutWalletIdServerRaw(requestParameters: CreateRoomsWithoutWalletIdServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CreateRoomsWithoutWalletIdResponse>>;
273
+ /**
274
+ * Creates MPC ceremony rooms without requiring an existing wallet ID.
275
+ * Server — create rooms for a waas mpc ceremony without a walletId
276
+ */
277
+ createRoomsWithoutWalletIdServer(requestParameters: CreateRoomsWithoutWalletIdServerRequest, initOverrides?: RequestInit): Promise<CreateRoomsWithoutWalletIdResponse>;
278
+ /**
279
+ * Create a new waas account
280
+ * Server — create a WAAS wallet
281
+ */
282
+ createWaasAccountServerRaw(requestParameters: CreateWaasAccountServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OpenRoomResponseWithServerKeygenIds>>;
283
+ /**
284
+ * Create a new waas account
285
+ * Server — create a WAAS wallet
286
+ */
287
+ createWaasAccountServer(requestParameters: CreateWaasAccountServerRequest, initOverrides?: RequestInit): Promise<OpenRoomResponseWithServerKeygenIds>;
288
+ /**
289
+ * Accepts delivery of the encrypted delegated share.
290
+ * Server — deliver encrypted delegated share
291
+ */
292
+ deliverDelegatedShareServerRaw(requestParameters: DeliverDelegatedShareServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<DelegatedShareDeliveryResponse>>;
293
+ /**
294
+ * Accepts delivery of the encrypted delegated share.
295
+ * Server — deliver encrypted delegated share
296
+ */
297
+ deliverDelegatedShareServer(requestParameters: DeliverDelegatedShareServerRequest, initOverrides?: RequestInit): Promise<DelegatedShareDeliveryResponse>;
298
+ /**
299
+ * Exports the private key of a WAAS wallet through an MPC ceremony.
300
+ * Server — export a WAAS wallet private key
301
+ */
302
+ exportPrivateKeyServerRaw(requestParameters: ExportPrivateKeyServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OpenRoomResponseWithServerKeygenIds>>;
303
+ /**
304
+ * Exports the private key of a WAAS wallet through an MPC ceremony.
305
+ * Server — export a WAAS wallet private key
306
+ */
307
+ exportPrivateKeyServer(requestParameters: ExportPrivateKeyServerRequest, initOverrides?: RequestInit): Promise<OpenRoomResponseWithServerKeygenIds>;
308
+ /**
309
+ * This endpoint generates a short-lived JWT token for use with WAAS client backups. The token is valid for 1 minute and can only be used for storing and retrieving client keyshare backups. A Dynamic Auth user must be authenticated and have a Dynamic JWT to use this endpoint.
310
+ * Server — generate a short-lived JWT token for use with WAAS client backups.
311
+ */
312
+ getBackupTokenServerRaw(requestParameters: GetBackupTokenServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GeneratedTokenResponse>>;
313
+ /**
314
+ * This endpoint generates a short-lived JWT token for use with WAAS client backups. The token is valid for 1 minute and can only be used for storing and retrieving client keyshare backups. A Dynamic Auth user must be authenticated and have a Dynamic JWT to use this endpoint.
315
+ * Server — generate a short-lived JWT token for use with WAAS client backups.
316
+ */
317
+ getBackupTokenServer(requestParameters: GetBackupTokenServerRequest, initOverrides?: RequestInit): Promise<GeneratedTokenResponse>;
123
318
  /**
124
319
  * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
125
320
  * Server — get a business account with embedded members and signers
@@ -140,6 +335,16 @@ export declare class ServerApi extends runtime.BaseAPI {
140
335
  * Server — get the business account\'s account-Layer Rules
141
336
  */
142
337
  getBusinessAccountPolicyLayerServer(requestParameters: GetBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
338
+ /**
339
+ * Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
340
+ * Server — get delegated access encryption public key for an environment
341
+ */
342
+ getDelegatedAccessEncryptionPublicKeyServerRaw(requestParameters: GetDelegatedAccessEncryptionPublicKeyServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<DelegatedAccessEncryptionPublicKeyResponse>>;
343
+ /**
344
+ * Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
345
+ * Server — get delegated access encryption public key for an environment
346
+ */
347
+ getDelegatedAccessEncryptionPublicKeyServer(requestParameters: GetDelegatedAccessEncryptionPublicKeyServerRequest, initOverrides?: RequestInit): Promise<DelegatedAccessEncryptionPublicKeyResponse>;
143
348
  /**
144
349
  * Returns the recipient claimable fee balances across all providers.
145
350
  * Get claimable fee balances
@@ -168,6 +373,26 @@ export declare class ServerApi extends runtime.BaseAPI {
168
373
  * Get the environment\'s server identity
169
374
  */
170
375
  getServerIdentityServer(requestParameters: GetServerIdentityServerRequest, initOverrides?: RequestInit): Promise<ServerIdentityResponse>;
376
+ /**
377
+ * Fetches a single WaaS wallet by address, scoped to the environment.
378
+ * Server — get a WAAS wallet by address
379
+ */
380
+ getWaasWalletWithVerifiedCredentialsServerRaw(requestParameters: GetWaasWalletWithVerifiedCredentialsServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasWalletByAddressResponse>>;
381
+ /**
382
+ * Fetches a single WaaS wallet by address, scoped to the environment.
383
+ * Server — get a WAAS wallet by address
384
+ */
385
+ getWaasWalletWithVerifiedCredentialsServer(requestParameters: GetWaasWalletWithVerifiedCredentialsServerRequest, initOverrides?: RequestInit): Promise<WaasWalletByAddressResponse>;
386
+ /**
387
+ * Import a private key to create a waas account
388
+ * Server — import a private key to create a WAAS wallet
389
+ */
390
+ importPrivateKeyServerRaw(requestParameters: ImportPrivateKeyServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
391
+ /**
392
+ * Import a private key to create a waas account
393
+ * Server — import a private key to create a WAAS wallet
394
+ */
395
+ importPrivateKeyServer(requestParameters: ImportPrivateKeyServerRequest, initOverrides?: RequestInit): Promise<string>;
171
396
  /**
172
397
  * Initiates a provider-agnostic fee claim for a recipient.
173
398
  * Initiate a fee claim
@@ -196,6 +421,76 @@ export declare class ServerApi extends runtime.BaseAPI {
196
421
  * Server — list business accounts the caller is a member of
197
422
  */
198
423
  listBusinessAccountsServer(requestParameters: ListBusinessAccountsServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountList>;
424
+ /**
425
+ * Refreshes the MPC key shares for the specified WAAS wallet. `shareSetId` is required for server-mode wallets; without it the request is rejected with 422.
426
+ * Server — refresh WAAS keyshares
427
+ */
428
+ refreshKeySharesServerRaw(requestParameters: RefreshKeySharesServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
429
+ /**
430
+ * Refreshes the MPC key shares for the specified WAAS wallet. `shareSetId` is required for server-mode wallets; without it the request is rejected with 422.
431
+ * Server — refresh WAAS keyshares
432
+ */
433
+ refreshKeySharesServer(requestParameters: RefreshKeySharesServerRequest, initOverrides?: RequestInit): Promise<string>;
434
+ /**
435
+ * Owner-only. Removes the member and cascades: every one of that user\'s signer rows + share sets across the business account\'s wallets is soft-deleted in one transaction. Returns 409 if removing the member would leave any wallet with zero active signers.
436
+ * Server — sDK — remove a member from a business account
437
+ */
438
+ removeBusinessAccountMemberServerRaw(requestParameters: RemoveBusinessAccountMemberServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RemoveBusinessAccountMemberResponse>>;
439
+ /**
440
+ * Owner-only. Removes the member and cascades: every one of that user\'s signer rows + share sets across the business account\'s wallets is soft-deleted in one transaction. Returns 409 if removing the member would leave any wallet with zero active signers.
441
+ * Server — sDK — remove a member from a business account
442
+ */
443
+ removeBusinessAccountMemberServer(requestParameters: RemoveBusinessAccountMemberServerRequest, initOverrides?: RequestInit): Promise<RemoveBusinessAccountMemberResponse>;
444
+ /**
445
+ * Severs the signer\'s MPC pair on this wallet by soft-deleting the server share + the share set + the signer row in one transaction. No reshare ceremony is run — surviving signers\' share sets are independent MPC pairs and remain intact. Authorization is enforced by auth-service — owner or admin by default, wider if the account\'s governance sets `eligibleInitiatorRoles` for `removeSignerFromWallet`. Returns 409 if removing the signer would leave the wallet with zero active signers.
446
+ * Server — sDK — remove a signer from a wallet in a business account
447
+ */
448
+ removeBusinessAccountSignerServerRaw(requestParameters: RemoveBusinessAccountSignerServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RemoveBusinessAccountSignerResponse>>;
449
+ /**
450
+ * Severs the signer\'s MPC pair on this wallet by soft-deleting the server share + the share set + the signer row in one transaction. No reshare ceremony is run — surviving signers\' share sets are independent MPC pairs and remain intact. Authorization is enforced by auth-service — owner or admin by default, wider if the account\'s governance sets `eligibleInitiatorRoles` for `removeSignerFromWallet`. Returns 409 if removing the signer would leave the wallet with zero active signers.
451
+ * Server — sDK — remove a signer from a wallet in a business account
452
+ */
453
+ removeBusinessAccountSignerServer(requestParameters: RemoveBusinessAccountSignerServerRequest, initOverrides?: RequestInit): Promise<RemoveBusinessAccountSignerResponse>;
454
+ /**
455
+ * Owner/admin only. Removes the wallet from the business account and cascades: every signer + share set on the wallet is soft-deleted and the wallet itself is soft-deleted, in one transaction. Returns 404 when the wallet isn\'t part of this business account.
456
+ * Server — sDK — remove a wallet from a business account
457
+ */
458
+ removeBusinessAccountWalletServerRaw(requestParameters: RemoveBusinessAccountWalletServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountDetail>>;
459
+ /**
460
+ * Owner/admin only. Removes the wallet from the business account and cascades: every signer + share set on the wallet is soft-deleted and the wallet itself is soft-deleted, in one transaction. Returns 404 when the wallet isn\'t part of this business account.
461
+ * Server — sDK — remove a wallet from a business account
462
+ */
463
+ removeBusinessAccountWalletServer(requestParameters: RemoveBusinessAccountWalletServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
464
+ /**
465
+ * Reshares the MPC secret shares for the specified WAAS wallet.
466
+ * Server — reshare WAAS secret shares
467
+ */
468
+ reshareServerRaw(requestParameters: ReshareServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
469
+ /**
470
+ * Reshares the MPC secret shares for the specified WAAS wallet.
471
+ * Server — reshare WAAS secret shares
472
+ */
473
+ reshareServer(requestParameters: ReshareServerRequest, initOverrides?: RequestInit): Promise<string>;
474
+ /**
475
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
476
+ * Server — revoke a delegated share set
477
+ */
478
+ revokeDelegatedShareSetServerRaw(requestParameters: RevokeDelegatedShareSetServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
479
+ /**
480
+ * Soft-deletes the delegated `WaasWallets` row identified by `shareSetId` and its associated key shares. The rootUser share set is not touched. Used by the FF=on share-set-delegation revoke flow to take down delegation without running an MPC ceremony. Returns 204 on success, 404 when the share set is not owned by the wallet or has already been deleted.
481
+ * Server — revoke a delegated share set
482
+ */
483
+ revokeDelegatedShareSetServer(requestParameters: RevokeDelegatedShareSetServerRequest, initOverrides?: RequestInit): Promise<void>;
484
+ /**
485
+ * Signs a message using the specified WAAS wallet through an MPC ceremony.
486
+ * Server — sign a message with a WAAS wallet
487
+ */
488
+ signMessageServerRaw(requestParameters: SignMessageServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OpenRoomResponse>>;
489
+ /**
490
+ * Signs a message using the specified WAAS wallet through an MPC ceremony.
491
+ * Server — sign a message with a WAAS wallet
492
+ */
493
+ signMessageServer(requestParameters: SignMessageServerRequest, initOverrides?: RequestInit): Promise<OpenRoomResponse>;
199
494
  /**
200
495
  * Soft-deletes the specified WaaS wallets by ID. Only available in non-production environments.
201
496
  * Soft-delete WaaS wallets (non-production only)
@@ -216,6 +511,26 @@ export declare class ServerApi extends runtime.BaseAPI {
216
511
  * Submit a fee claim
217
512
  */
218
513
  submitFlowFeeClaimServer(requestParameters: SubmitFlowFeeClaimServerRequest, initOverrides?: RequestInit): Promise<FlowFeeClaimSubmitResponse>;
514
+ /**
515
+ * Owner-only. Promotes the target user (must already be a member) to owner and demotes the current owner to admin, atomically. The signed RBAC doc always has exactly one owner.
516
+ * Server — sDK — transfer ownership of a business account
517
+ */
518
+ transferBusinessAccountOwnershipServerRaw(requestParameters: TransferBusinessAccountOwnershipServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountDetail>>;
519
+ /**
520
+ * Owner-only. Promotes the target user (must already be a member) to owner and demotes the current owner to admin, atomically. The signed RBAC doc always has exactly one owner.
521
+ * Server — sDK — transfer ownership of a business account
522
+ */
523
+ transferBusinessAccountOwnershipServer(requestParameters: TransferBusinessAccountOwnershipServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
524
+ /**
525
+ * Owner-only. Changes the member\'s role to any role the account defines — a built-in (`admin`, `viewer`) or a customer-defined one, and between two customer-defined ones. Owner is never a target — ownership moves via transferOwnership.
526
+ * Server — sDK — change a member\'s role
527
+ */
528
+ updateBusinessAccountMemberRoleServerRaw(requestParameters: UpdateBusinessAccountMemberRoleServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMember>>;
529
+ /**
530
+ * Owner-only. Changes the member\'s role to any role the account defines — a built-in (`admin`, `viewer`) or a customer-defined one, and between two customer-defined ones. Owner is never a target — ownership moves via transferOwnership.
531
+ * Server — sDK — change a member\'s role
532
+ */
533
+ updateBusinessAccountMemberRoleServer(requestParameters: UpdateBusinessAccountMemberRoleServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
219
534
  /**
220
535
  * Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
221
536
  * Server — update the business account\'s account-Layer Rules
@@ -226,4 +541,12 @@ export declare class ServerApi extends runtime.BaseAPI {
226
541
  * Server — update the business account\'s account-Layer Rules
227
542
  */
228
543
  updateBusinessAccountPolicyLayerServer(requestParameters: UpdateBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
544
+ /**
545
+ * Server — sDK — update a business account\'s mutable fields (e.g. name)
546
+ */
547
+ updateBusinessAccountServerRaw(requestParameters: UpdateBusinessAccountServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccount>>;
548
+ /**
549
+ * Server — sDK — update a business account\'s mutable fields (e.g. name)
550
+ */
551
+ updateBusinessAccountServer(requestParameters: UpdateBusinessAccountServerRequest, initOverrides?: RequestInit): Promise<BusinessAccount>;
229
552
  }