@dynamic-labs/sdk-api 0.177.0 → 0.179.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.
- package/package.json +1 -1
- package/src/apis/ServerApi.cjs +531 -3
- package/src/apis/ServerApi.d.ts +237 -1
- package/src/apis/ServerApi.js +531 -3
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/FlowSettlementData.cjs +5 -0
- package/src/models/FlowSettlementData.d.ts +13 -0
- package/src/models/FlowSettlementData.js +5 -0
- package/src/models/FlowSettlementDataInput.cjs +38 -0
- package/src/models/FlowSettlementDataInput.d.ts +40 -0
- package/src/models/FlowSettlementDataInput.js +32 -0
- package/src/models/index.d.ts +1 -0
package/src/apis/ServerApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountPolicyLayerResponse, BusinessAccountPolicyLayerUpdateRequest, 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, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasWalletByAddressResponse } from '../models';
|
|
13
|
+
import { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountActivityExport, BusinessAccountActivityExportRequest, BusinessAccountActivityResponse, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountMemberInviteListResponse, BusinessAccountMemberInviteReceipt, BusinessAccountMutationVersion, BusinessAccountPolicyLayerResponse, BusinessAccountPolicyLayerUpdateRequest, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, CancelBusinessAccountMemberInviteSdkRequest, CreateBusinessAccountSdkRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, DefineBusinessAccountRoleSdkRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteBusinessAccountRoleSdkRequest, 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, SetBusinessAccountGovernanceSdkRequest, SignMessageWithWaasRequest, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasWalletByAddressResponse } from '../models';
|
|
14
14
|
export interface AddBusinessAccountMemberServerRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
businessAccountId: string;
|
|
@@ -30,10 +30,23 @@ export interface BuildWaasConfidentialTransactionServerRequest {
|
|
|
30
30
|
waasSignConfidentialTransferRequest: WaasSignConfidentialTransferRequest;
|
|
31
31
|
xDynRequestSigningProof?: string;
|
|
32
32
|
}
|
|
33
|
+
export interface CancelBusinessAccountMemberInviteServerRequest {
|
|
34
|
+
environmentId: string;
|
|
35
|
+
businessAccountId: string;
|
|
36
|
+
inviteId: string;
|
|
37
|
+
xDynRequestSigningProof?: string;
|
|
38
|
+
cancelBusinessAccountMemberInviteSdkRequest?: CancelBusinessAccountMemberInviteSdkRequest;
|
|
39
|
+
}
|
|
33
40
|
export interface CancelFlowServerRequest {
|
|
34
41
|
environmentId: string;
|
|
35
42
|
flowId: string;
|
|
36
43
|
}
|
|
44
|
+
export interface CreateBusinessAccountActivityExportServerRequest {
|
|
45
|
+
environmentId: string;
|
|
46
|
+
businessAccountId: string;
|
|
47
|
+
xDynRequestSigningProof?: string;
|
|
48
|
+
businessAccountActivityExportRequest?: BusinessAccountActivityExportRequest;
|
|
49
|
+
}
|
|
37
50
|
export interface CreateBusinessAccountServerRequest {
|
|
38
51
|
environmentId: string;
|
|
39
52
|
xDynRequestSigningProof?: string;
|
|
@@ -71,6 +84,19 @@ export interface CreateWaasConfidentialSeedServerRequest {
|
|
|
71
84
|
waasConfidentialSeedCreateRequest: WaasConfidentialSeedCreateRequest;
|
|
72
85
|
xDynRequestSigningProof?: string;
|
|
73
86
|
}
|
|
87
|
+
export interface DefineBusinessAccountRoleServerRequest {
|
|
88
|
+
environmentId: string;
|
|
89
|
+
businessAccountId: string;
|
|
90
|
+
defineBusinessAccountRoleSdkRequest: DefineBusinessAccountRoleSdkRequest;
|
|
91
|
+
xDynRequestSigningProof?: string;
|
|
92
|
+
}
|
|
93
|
+
export interface DeleteBusinessAccountRoleServerRequest {
|
|
94
|
+
environmentId: string;
|
|
95
|
+
businessAccountId: string;
|
|
96
|
+
role: string;
|
|
97
|
+
xDynRequestSigningProof?: string;
|
|
98
|
+
deleteBusinessAccountRoleSdkRequest?: DeleteBusinessAccountRoleSdkRequest;
|
|
99
|
+
}
|
|
74
100
|
export interface DeliverDelegatedShareServerRequest {
|
|
75
101
|
environmentId: string;
|
|
76
102
|
walletId: string;
|
|
@@ -78,6 +104,18 @@ export interface DeliverDelegatedShareServerRequest {
|
|
|
78
104
|
xDynRequestSigningProof?: string;
|
|
79
105
|
xDynWalletApiKey?: string;
|
|
80
106
|
}
|
|
107
|
+
export interface DownloadBusinessAccountActivityExportServerRequest {
|
|
108
|
+
environmentId: string;
|
|
109
|
+
businessAccountId: string;
|
|
110
|
+
exportId: string;
|
|
111
|
+
xDynRequestSigningProof?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface ExecuteBusinessAccountProposalServerRequest {
|
|
114
|
+
environmentId: string;
|
|
115
|
+
businessAccountId: string;
|
|
116
|
+
proposalId: string;
|
|
117
|
+
xDynRequestSigningProof?: string;
|
|
118
|
+
}
|
|
81
119
|
export interface ExportPrivateKeyServerRequest {
|
|
82
120
|
environmentId: string;
|
|
83
121
|
walletId: string;
|
|
@@ -89,16 +127,40 @@ export interface GetBackupTokenServerRequest {
|
|
|
89
127
|
environmentId: string;
|
|
90
128
|
xDynRequestSigningProof?: string;
|
|
91
129
|
}
|
|
130
|
+
export interface GetBusinessAccountActivityExportServerRequest {
|
|
131
|
+
environmentId: string;
|
|
132
|
+
businessAccountId: string;
|
|
133
|
+
exportId: string;
|
|
134
|
+
xDynRequestSigningProof?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface GetBusinessAccountActivityServerRequest {
|
|
137
|
+
environmentId: string;
|
|
138
|
+
businessAccountId: string;
|
|
139
|
+
limit?: number;
|
|
140
|
+
cursor?: string;
|
|
141
|
+
xDynRequestSigningProof?: string;
|
|
142
|
+
}
|
|
92
143
|
export interface GetBusinessAccountByIdServerRequest {
|
|
93
144
|
environmentId: string;
|
|
94
145
|
businessAccountId: string;
|
|
95
146
|
xDynRequestSigningProof?: string;
|
|
96
147
|
}
|
|
148
|
+
export interface GetBusinessAccountGovernanceServerRequest {
|
|
149
|
+
environmentId: string;
|
|
150
|
+
businessAccountId: string;
|
|
151
|
+
xDynRequestSigningProof?: string;
|
|
152
|
+
}
|
|
97
153
|
export interface GetBusinessAccountPolicyLayerServerRequest {
|
|
98
154
|
environmentId: string;
|
|
99
155
|
businessAccountId: string;
|
|
100
156
|
xDynRequestSigningProof?: string;
|
|
101
157
|
}
|
|
158
|
+
export interface GetBusinessAccountProposalServerRequest {
|
|
159
|
+
environmentId: string;
|
|
160
|
+
businessAccountId: string;
|
|
161
|
+
proposalId: string;
|
|
162
|
+
xDynRequestSigningProof?: string;
|
|
163
|
+
}
|
|
102
164
|
export interface GetDelegatedAccessEncryptionPublicKeyServerRequest {
|
|
103
165
|
environmentId: string;
|
|
104
166
|
xDynRequestSigningProof?: string;
|
|
@@ -143,6 +205,26 @@ export interface LinkBusinessAccountWalletServerRequest {
|
|
|
143
205
|
xDynRequestSigningProof?: string;
|
|
144
206
|
xDynWalletApiKey?: string;
|
|
145
207
|
}
|
|
208
|
+
export interface ListBusinessAccountMemberInvitesServerRequest {
|
|
209
|
+
environmentId: string;
|
|
210
|
+
businessAccountId: string;
|
|
211
|
+
xDynRequestSigningProof?: string;
|
|
212
|
+
}
|
|
213
|
+
export interface ListBusinessAccountProposalsAwaitingApprovalServerRequest {
|
|
214
|
+
environmentId: string;
|
|
215
|
+
xDynRequestSigningProof?: string;
|
|
216
|
+
}
|
|
217
|
+
export interface ListBusinessAccountProposalsServerRequest {
|
|
218
|
+
environmentId: string;
|
|
219
|
+
businessAccountId: string;
|
|
220
|
+
status?: BusinessAccountProposalStatus;
|
|
221
|
+
xDynRequestSigningProof?: string;
|
|
222
|
+
}
|
|
223
|
+
export interface ListBusinessAccountRolesServerRequest {
|
|
224
|
+
environmentId: string;
|
|
225
|
+
businessAccountId: string;
|
|
226
|
+
xDynRequestSigningProof?: string;
|
|
227
|
+
}
|
|
146
228
|
export interface ListBusinessAccountsServerRequest {
|
|
147
229
|
environmentId: string;
|
|
148
230
|
externalRef?: Array<string>;
|
|
@@ -193,6 +275,12 @@ export interface RevokeDelegatedShareSetServerRequest {
|
|
|
193
275
|
xDynRequestSigningProof?: string;
|
|
194
276
|
xDynWalletApiKey?: string;
|
|
195
277
|
}
|
|
278
|
+
export interface SetBusinessAccountGovernanceServerRequest {
|
|
279
|
+
environmentId: string;
|
|
280
|
+
businessAccountId: string;
|
|
281
|
+
setBusinessAccountGovernanceSdkRequest: SetBusinessAccountGovernanceSdkRequest;
|
|
282
|
+
xDynRequestSigningProof?: string;
|
|
283
|
+
}
|
|
196
284
|
export interface SignMessageServerRequest {
|
|
197
285
|
environmentId: string;
|
|
198
286
|
walletId: string;
|
|
@@ -281,6 +369,16 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
281
369
|
* Server — build Token-2022 confidential-transfer transactions
|
|
282
370
|
*/
|
|
283
371
|
buildWaasConfidentialTransactionServer(requestParameters: BuildWaasConfidentialTransactionServerRequest, initOverrides?: RequestInit): Promise<WaasSignConfidentialTransferResponse>;
|
|
372
|
+
/**
|
|
373
|
+
* Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
|
|
374
|
+
* Server — cancel a pending business account member invite
|
|
375
|
+
*/
|
|
376
|
+
cancelBusinessAccountMemberInviteServerRaw(requestParameters: CancelBusinessAccountMemberInviteServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMemberInviteReceipt>>;
|
|
377
|
+
/**
|
|
378
|
+
* Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
|
|
379
|
+
* Server — cancel a pending business account member invite
|
|
380
|
+
*/
|
|
381
|
+
cancelBusinessAccountMemberInviteServer(requestParameters: CancelBusinessAccountMemberInviteServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMemberInviteReceipt>;
|
|
284
382
|
/**
|
|
285
383
|
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 flow_invalid_transition if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
286
384
|
* Cancel a flow
|
|
@@ -291,6 +389,16 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
291
389
|
* Cancel a flow
|
|
292
390
|
*/
|
|
293
391
|
cancelFlowServer(requestParameters: CancelFlowServerRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
392
|
+
/**
|
|
393
|
+
* Queues a CSV export of the account\'s activity, optionally filtered by date range and action type. Poll the returned export\'s status, then download it via the download endpoint or its `downloadUrl`. Caller must be an owner or admin member.
|
|
394
|
+
* Server — create a CSV export of the business account\'s audit trail
|
|
395
|
+
*/
|
|
396
|
+
createBusinessAccountActivityExportServerRaw(requestParameters: CreateBusinessAccountActivityExportServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityExport>>;
|
|
397
|
+
/**
|
|
398
|
+
* Queues a CSV export of the account\'s activity, optionally filtered by date range and action type. Poll the returned export\'s status, then download it via the download endpoint or its `downloadUrl`. Caller must be an owner or admin member.
|
|
399
|
+
* Server — create a CSV export of the business account\'s audit trail
|
|
400
|
+
*/
|
|
401
|
+
createBusinessAccountActivityExportServer(requestParameters: CreateBusinessAccountActivityExportServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityExport>;
|
|
294
402
|
/**
|
|
295
403
|
* 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.
|
|
296
404
|
* Server — create a business account
|
|
@@ -361,6 +469,26 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
361
469
|
* Server — create a Solana confidential-transfer seed
|
|
362
470
|
*/
|
|
363
471
|
createWaasConfidentialSeedServer(requestParameters: CreateWaasConfidentialSeedServerRequest, initOverrides?: RequestInit): Promise<WaasConfidentialSeedResponse>;
|
|
472
|
+
/**
|
|
473
|
+
* Defines a role that inherits a built-in one. The role lives only in the signed authorization document, so there is no separate role resource. Requires step-up authentication.
|
|
474
|
+
* Server — define a customer role for a business account
|
|
475
|
+
*/
|
|
476
|
+
defineBusinessAccountRoleServerRaw(requestParameters: DefineBusinessAccountRoleServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
477
|
+
/**
|
|
478
|
+
* Defines a role that inherits a built-in one. The role lives only in the signed authorization document, so there is no separate role resource. Requires step-up authentication.
|
|
479
|
+
* Server — define a customer role for a business account
|
|
480
|
+
*/
|
|
481
|
+
defineBusinessAccountRoleServer(requestParameters: DefineBusinessAccountRoleServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
482
|
+
/**
|
|
483
|
+
* Refused while the role still holds members or is named by an approval requirement, so a delete cannot strand people or leave a rule unsatisfiable. Requires step-up authentication.
|
|
484
|
+
* Server — delete a customer role from a business account
|
|
485
|
+
*/
|
|
486
|
+
deleteBusinessAccountRoleServerRaw(requestParameters: DeleteBusinessAccountRoleServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
487
|
+
/**
|
|
488
|
+
* Refused while the role still holds members or is named by an approval requirement, so a delete cannot strand people or leave a rule unsatisfiable. Requires step-up authentication.
|
|
489
|
+
* Server — delete a customer role from a business account
|
|
490
|
+
*/
|
|
491
|
+
deleteBusinessAccountRoleServer(requestParameters: DeleteBusinessAccountRoleServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
364
492
|
/**
|
|
365
493
|
* Accepts delivery of the encrypted delegated share.
|
|
366
494
|
* Server — deliver encrypted delegated share
|
|
@@ -371,6 +499,26 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
371
499
|
* Server — deliver encrypted delegated share
|
|
372
500
|
*/
|
|
373
501
|
deliverDelegatedShareServer(requestParameters: DeliverDelegatedShareServerRequest, initOverrides?: RequestInit): Promise<DelegatedShareDeliveryResponse>;
|
|
502
|
+
/**
|
|
503
|
+
* Redirects to a pre-signed S3 URL for the exported CSV.
|
|
504
|
+
* Server — download a completed business account activity export
|
|
505
|
+
*/
|
|
506
|
+
downloadBusinessAccountActivityExportServerRaw(requestParameters: DownloadBusinessAccountActivityExportServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
|
|
507
|
+
/**
|
|
508
|
+
* Redirects to a pre-signed S3 URL for the exported CSV.
|
|
509
|
+
* Server — download a completed business account activity export
|
|
510
|
+
*/
|
|
511
|
+
downloadBusinessAccountActivityExportServer(requestParameters: DownloadBusinessAccountActivityExportServerRequest, initOverrides?: RequestInit): Promise<string>;
|
|
512
|
+
/**
|
|
513
|
+
* Submits the stored intent and its unrevoked approvals to the enclave, which decides whether the requirements are met. On success the original mutation runs — the same code path an ungoverned account takes — and the proposal is consumed. Returns 202 with the requirement tallies when consent is still short, leaving the proposal open so more approvals can arrive. No step-up: the approvals are what authorize the change, and the caller adds no consent of their own.
|
|
514
|
+
* Server — apply a proposal whose approvals now satisfy it
|
|
515
|
+
*/
|
|
516
|
+
executeBusinessAccountProposalServerRaw(requestParameters: ExecuteBusinessAccountProposalServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
517
|
+
/**
|
|
518
|
+
* Submits the stored intent and its unrevoked approvals to the enclave, which decides whether the requirements are met. On success the original mutation runs — the same code path an ungoverned account takes — and the proposal is consumed. Returns 202 with the requirement tallies when consent is still short, leaving the proposal open so more approvals can arrive. No step-up: the approvals are what authorize the change, and the caller adds no consent of their own.
|
|
519
|
+
* Server — apply a proposal whose approvals now satisfy it
|
|
520
|
+
*/
|
|
521
|
+
executeBusinessAccountProposalServer(requestParameters: ExecuteBusinessAccountProposalServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
374
522
|
/**
|
|
375
523
|
* Exports the private key of a WAAS wallet through an MPC ceremony.
|
|
376
524
|
* Server — export a WAAS wallet private key
|
|
@@ -391,6 +539,24 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
391
539
|
* Server — generate a short-lived JWT token for use with WAAS client backups.
|
|
392
540
|
*/
|
|
393
541
|
getBackupTokenServer(requestParameters: GetBackupTokenServerRequest, initOverrides?: RequestInit): Promise<GeneratedTokenResponse>;
|
|
542
|
+
/**
|
|
543
|
+
* Server — get a business account activity export\'s status
|
|
544
|
+
*/
|
|
545
|
+
getBusinessAccountActivityExportServerRaw(requestParameters: GetBusinessAccountActivityExportServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityExport>>;
|
|
546
|
+
/**
|
|
547
|
+
* Server — get a business account activity export\'s status
|
|
548
|
+
*/
|
|
549
|
+
getBusinessAccountActivityExportServer(requestParameters: GetBusinessAccountActivityExportServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityExport>;
|
|
550
|
+
/**
|
|
551
|
+
* Retrieve the audit trail of a business account, newest first. Caller must be an owner or admin member. Returns 404 when the caller is not a member (404 not 403 so we don\'t leak business-account existence).
|
|
552
|
+
* Server — list business account activity
|
|
553
|
+
*/
|
|
554
|
+
getBusinessAccountActivityServerRaw(requestParameters: GetBusinessAccountActivityServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityResponse>>;
|
|
555
|
+
/**
|
|
556
|
+
* Retrieve the audit trail of a business account, newest first. Caller must be an owner or admin member. Returns 404 when the caller is not a member (404 not 403 so we don\'t leak business-account existence).
|
|
557
|
+
* Server — list business account activity
|
|
558
|
+
*/
|
|
559
|
+
getBusinessAccountActivityServer(requestParameters: GetBusinessAccountActivityServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityResponse>;
|
|
394
560
|
/**
|
|
395
561
|
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
396
562
|
* Server — get a business account with embedded members and signers
|
|
@@ -401,6 +567,16 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
401
567
|
* Server — get a business account with embedded members and signers
|
|
402
568
|
*/
|
|
403
569
|
getBusinessAccountByIdServer(requestParameters: GetBusinessAccountByIdServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
570
|
+
/**
|
|
571
|
+
* Readable by any member: names which of the account\'s actions need consent before attempting one. Also needed to use `PUT`, which replaces the section wholesale — changing one action means merging against this value first. Empty object when nothing is governed; that is an answer, not a 404.
|
|
572
|
+
* Server — read the approval requirements in force
|
|
573
|
+
*/
|
|
574
|
+
getBusinessAccountGovernanceServerRaw(requestParameters: GetBusinessAccountGovernanceServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountGovernanceResponse>>;
|
|
575
|
+
/**
|
|
576
|
+
* Readable by any member: names which of the account\'s actions need consent before attempting one. Also needed to use `PUT`, which replaces the section wholesale — changing one action means merging against this value first. Empty object when nothing is governed; that is an answer, not a 404.
|
|
577
|
+
* Server — read the approval requirements in force
|
|
578
|
+
*/
|
|
579
|
+
getBusinessAccountGovernanceServer(requestParameters: GetBusinessAccountGovernanceServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountGovernanceResponse>;
|
|
404
580
|
/**
|
|
405
581
|
* Returns the Composition account-Layer content for the business account, the Rules that apply to every wallet in it. Business-account owner or admin only.
|
|
406
582
|
* Server — get the business account\'s account-Layer Rules
|
|
@@ -411,6 +587,16 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
411
587
|
* Server — get the business account\'s account-Layer Rules
|
|
412
588
|
*/
|
|
413
589
|
getBusinessAccountPolicyLayerServer(requestParameters: GetBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountPolicyLayerResponse>;
|
|
590
|
+
/**
|
|
591
|
+
* Returns the stored intent verbatim. An approver signs THESE bytes: a re-derived intent would carry a different `intentId` and `createdAt`, and every approval already collected would stop verifying.
|
|
592
|
+
* Server — read one proposal, including the intent to sign
|
|
593
|
+
*/
|
|
594
|
+
getBusinessAccountProposalServerRaw(requestParameters: GetBusinessAccountProposalServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountProposal>>;
|
|
595
|
+
/**
|
|
596
|
+
* Returns the stored intent verbatim. An approver signs THESE bytes: a re-derived intent would carry a different `intentId` and `createdAt`, and every approval already collected would stop verifying.
|
|
597
|
+
* Server — read one proposal, including the intent to sign
|
|
598
|
+
*/
|
|
599
|
+
getBusinessAccountProposalServer(requestParameters: GetBusinessAccountProposalServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
|
|
414
600
|
/**
|
|
415
601
|
* Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
|
|
416
602
|
* Server — get delegated access encryption public key for an environment
|
|
@@ -501,6 +687,46 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
501
687
|
* Server — add an existing wallet to a business account
|
|
502
688
|
*/
|
|
503
689
|
linkBusinessAccountWalletServer(requestParameters: LinkBusinessAccountWalletServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
690
|
+
/**
|
|
691
|
+
* Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
|
|
692
|
+
* Server — list pending business account member invites
|
|
693
|
+
*/
|
|
694
|
+
listBusinessAccountMemberInvitesServerRaw(requestParameters: ListBusinessAccountMemberInvitesServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMemberInviteListResponse>>;
|
|
695
|
+
/**
|
|
696
|
+
* Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
|
|
697
|
+
* Server — list pending business account member invites
|
|
698
|
+
*/
|
|
699
|
+
listBusinessAccountMemberInvitesServer(requestParameters: ListBusinessAccountMemberInvitesServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMemberInviteListResponse>;
|
|
700
|
+
/**
|
|
701
|
+
* Every pending proposal waiting on the caller, across all the business accounts they belong to in this environment — without it an approver can only learn of one out of band. Scoped to the caller\'s own memberships, so it can never include another tenant\'s proposals. Proposals the caller initiated are excluded: proposing is not approving.
|
|
702
|
+
* Server — list proposals awaiting the caller\'s approval, across accounts
|
|
703
|
+
*/
|
|
704
|
+
listBusinessAccountProposalsAwaitingApprovalServerRaw(requestParameters: ListBusinessAccountProposalsAwaitingApprovalServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<BusinessAccountProposal>>>;
|
|
705
|
+
/**
|
|
706
|
+
* Every pending proposal waiting on the caller, across all the business accounts they belong to in this environment — without it an approver can only learn of one out of band. Scoped to the caller\'s own memberships, so it can never include another tenant\'s proposals. Proposals the caller initiated are excluded: proposing is not approving.
|
|
707
|
+
* Server — list proposals awaiting the caller\'s approval, across accounts
|
|
708
|
+
*/
|
|
709
|
+
listBusinessAccountProposalsAwaitingApprovalServer(requestParameters: ListBusinessAccountProposalsAwaitingApprovalServerRequest, initOverrides?: RequestInit): Promise<Array<BusinessAccountProposal>>;
|
|
710
|
+
/**
|
|
711
|
+
* Every proposal for the account, newest first. Any member may read them: knowing what is pending is what lets an approver act, and the list carries no signing material — only who has already consented.
|
|
712
|
+
* Server — list the governed mutations awaiting approval
|
|
713
|
+
*/
|
|
714
|
+
listBusinessAccountProposalsServerRaw(requestParameters: ListBusinessAccountProposalsServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<BusinessAccountProposal>>>;
|
|
715
|
+
/**
|
|
716
|
+
* Every proposal for the account, newest first. Any member may read them: knowing what is pending is what lets an approver act, and the list carries no signing material — only who has already consented.
|
|
717
|
+
* Server — list the governed mutations awaiting approval
|
|
718
|
+
*/
|
|
719
|
+
listBusinessAccountProposalsServer(requestParameters: ListBusinessAccountProposalsServerRequest, initOverrides?: RequestInit): Promise<Array<BusinessAccountProposal>>;
|
|
720
|
+
/**
|
|
721
|
+
* Readable by any member. Names the roles the account has defined and the built-in each inherits, which is what a caller needs before referring to one in governance or when assigning a member. Returns an empty object when none are defined; that is an answer, not a missing resource.
|
|
722
|
+
* Server — list the customer-defined roles for a business account
|
|
723
|
+
*/
|
|
724
|
+
listBusinessAccountRolesServerRaw(requestParameters: ListBusinessAccountRolesServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountRolesResponse>>;
|
|
725
|
+
/**
|
|
726
|
+
* Readable by any member. Names the roles the account has defined and the built-in each inherits, which is what a caller needs before referring to one in governance or when assigning a member. Returns an empty object when none are defined; that is an answer, not a missing resource.
|
|
727
|
+
* Server — list the customer-defined roles for a business account
|
|
728
|
+
*/
|
|
729
|
+
listBusinessAccountRolesServer(requestParameters: ListBusinessAccountRolesServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountRolesResponse>;
|
|
504
730
|
/**
|
|
505
731
|
* Server — list business accounts the caller is a member of
|
|
506
732
|
*/
|
|
@@ -569,6 +795,16 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
569
795
|
* Server — revoke a delegated share set
|
|
570
796
|
*/
|
|
571
797
|
revokeDelegatedShareSetServer(requestParameters: RevokeDelegatedShareSetServerRequest, initOverrides?: RequestInit): Promise<void>;
|
|
798
|
+
/**
|
|
799
|
+
* Replaces the governance section wholesale, matching the enclave: a caller sending one action\'s rules drops the others. Requires step-up authentication, because governance decides what every other mutation requires.
|
|
800
|
+
* Server — replace the approval requirements for a business account
|
|
801
|
+
*/
|
|
802
|
+
setBusinessAccountGovernanceServerRaw(requestParameters: SetBusinessAccountGovernanceServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
803
|
+
/**
|
|
804
|
+
* Replaces the governance section wholesale, matching the enclave: a caller sending one action\'s rules drops the others. Requires step-up authentication, because governance decides what every other mutation requires.
|
|
805
|
+
* Server — replace the approval requirements for a business account
|
|
806
|
+
*/
|
|
807
|
+
setBusinessAccountGovernanceServer(requestParameters: SetBusinessAccountGovernanceServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
572
808
|
/**
|
|
573
809
|
* Signs a message using the specified WAAS wallet through an MPC ceremony.
|
|
574
810
|
* Server — sign a message with a WAAS wallet
|