@dynamic-labs/sdk-api-core 0.0.1110 → 0.0.1112
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/SDKApi.cjs +68 -4
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +30 -5
- package/src/apis/SDKApi.js +68 -4
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +2 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +2 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +52 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +11 -0
- package/src/index.js.map +1 -1
- package/src/models/ScreenTransactionRequest.cjs +41 -0
- package/src/models/ScreenTransactionRequest.cjs.map +1 -0
- package/src/models/ScreenTransactionRequest.d.ts +47 -0
- package/src/models/ScreenTransactionRequest.js +35 -0
- package/src/models/ScreenTransactionRequest.js.map +1 -0
- package/src/models/ScreenTransactionRequestContext.cjs +49 -0
- package/src/models/ScreenTransactionRequestContext.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContext.d.ts +63 -0
- package/src/models/ScreenTransactionRequestContext.js +43 -0
- package/src/models/ScreenTransactionRequestContext.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs +37 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.d.ts +39 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.js +31 -0
- package/src/models/ScreenTransactionRequestContextBtcTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs +33 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.js +27 -0
- package/src/models/ScreenTransactionRequestContextEvmTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextStellarTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextSuiTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextSvmTransaction.js.map +1 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.cjs +43 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.cjs.map +1 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.d.ts +27 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.js +37 -0
- package/src/models/ScreenTransactionRequestContextTronTransaction.js.map +1 -0
- package/src/models/ScreenTransactionResponse.cjs +46 -0
- package/src/models/ScreenTransactionResponse.cjs.map +1 -0
- package/src/models/ScreenTransactionResponse.d.ts +47 -0
- package/src/models/ScreenTransactionResponse.js +40 -0
- package/src/models/ScreenTransactionResponse.js.map +1 -0
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.cjs.map +1 -1
- package/src/models/WaasPolicyLayerResponseLayerContent.d.ts +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js +3 -3
- package/src/models/WaasPolicyLayerResponseLayerContent.js.map +1 -1
- package/src/models/WaasPolicyLayerResponseRule.cjs +66 -0
- package/src/models/WaasPolicyLayerResponseRule.cjs.map +1 -0
- package/src/models/WaasPolicyLayerResponseRule.d.ts +116 -0
- package/src/models/WaasPolicyLayerResponseRule.js +60 -0
- package/src/models/WaasPolicyLayerResponseRule.js.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs +47 -0
- package/src/models/WaasPolicyLayerRuleOperation.cjs.map +1 -0
- package/src/models/WaasPolicyLayerRuleOperation.d.ts +48 -0
- package/src/models/WaasPolicyLayerRuleOperation.js +41 -0
- package/src/models/WaasPolicyLayerRuleOperation.js.map +1 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -1
- package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +10 -2
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js +4 -0
- package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -1
- package/src/models/index.d.ts +11 -0
package/src/apis/SDKApi.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 { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountSigner, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, JwksResponse, LinkBusinessAccountWalletSdkRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignerPolicyLayerUpdateRequest, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldVaultListResponse } from '../models';
|
|
13
|
+
import { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountSigner, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, JwksResponse, LinkBusinessAccountWalletSdkRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, ScreenTransactionRequest, ScreenTransactionResponse, SdkSettingsRequest, SdkUser, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignerPolicyLayerUpdateRequest, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldVaultListResponse } from '../models';
|
|
14
14
|
export interface AttachFlowSourceRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
flowId: string;
|
|
@@ -1083,6 +1083,13 @@ export interface ScanUrlRequest {
|
|
|
1083
1083
|
export interface ScanUrlOptionsRequest {
|
|
1084
1084
|
environmentId: string;
|
|
1085
1085
|
}
|
|
1086
|
+
export interface ScreenTransactionOperationRequest {
|
|
1087
|
+
environmentId: string;
|
|
1088
|
+
screenTransactionRequest: ScreenTransactionRequest;
|
|
1089
|
+
}
|
|
1090
|
+
export interface ScreenTransactionOptionsRequest {
|
|
1091
|
+
environmentId: string;
|
|
1092
|
+
}
|
|
1086
1093
|
export interface SdkAddBusinessAccountMemberRequest {
|
|
1087
1094
|
environmentId: string;
|
|
1088
1095
|
businessAccountId: string;
|
|
@@ -3901,6 +3908,24 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3901
3908
|
* Options call for this endpoint
|
|
3902
3909
|
*/
|
|
3903
3910
|
scanUrlOptions(requestParameters: ScanUrlOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3911
|
+
/**
|
|
3912
|
+
* Screens a transaction payload for sanctioned addresses before signing.
|
|
3913
|
+
* Screen a transaction payload for sanctioned addresses
|
|
3914
|
+
*/
|
|
3915
|
+
screenTransactionRaw(requestParameters: ScreenTransactionOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<ScreenTransactionResponse>>;
|
|
3916
|
+
/**
|
|
3917
|
+
* Screens a transaction payload for sanctioned addresses before signing.
|
|
3918
|
+
* Screen a transaction payload for sanctioned addresses
|
|
3919
|
+
*/
|
|
3920
|
+
screenTransaction(requestParameters: ScreenTransactionOperationRequest, initOverrides?: RequestInit): Promise<ScreenTransactionResponse>;
|
|
3921
|
+
/**
|
|
3922
|
+
* Options call for this endpoint
|
|
3923
|
+
*/
|
|
3924
|
+
screenTransactionOptionsRaw(requestParameters: ScreenTransactionOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3925
|
+
/**
|
|
3926
|
+
* Options call for this endpoint
|
|
3927
|
+
*/
|
|
3928
|
+
screenTransactionOptions(requestParameters: ScreenTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3904
3929
|
/**
|
|
3905
3930
|
* Caller must be an owner or admin of the business account. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: if the target is already an active member the existing row is returned with 200.
|
|
3906
3931
|
* SDK — add a member to a business account
|
|
@@ -4534,22 +4559,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4534
4559
|
*/
|
|
4535
4560
|
updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4536
4561
|
/**
|
|
4537
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4562
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4538
4563
|
* Create, update, or remove a Rule on a signer-Layer
|
|
4539
4564
|
*/
|
|
4540
4565
|
updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
4541
4566
|
/**
|
|
4542
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4567
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4543
4568
|
* Create, update, or remove a Rule on a signer-Layer
|
|
4544
4569
|
*/
|
|
4545
4570
|
updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
|
4546
4571
|
/**
|
|
4547
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4572
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4548
4573
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
4549
4574
|
*/
|
|
4550
4575
|
updateWaasWalletSelfPolicyLayerRaw(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
4551
4576
|
/**
|
|
4552
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4577
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
4553
4578
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
4554
4579
|
*/
|
|
4555
4580
|
updateWaasWalletSelfPolicyLayer(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -224,6 +224,8 @@ import { ReshareRequestToJSON } from '../models/ReshareRequest.js';
|
|
|
224
224
|
import '../models/RoomTypeEnum.js';
|
|
225
225
|
import { ScanWebsiteUrlRequestToJSON } from '../models/ScanWebsiteUrlRequest.js';
|
|
226
226
|
import { ScanWebsiteUrlResponseFromJSON } from '../models/ScanWebsiteUrlResponse.js';
|
|
227
|
+
import { ScreenTransactionRequestToJSON } from '../models/ScreenTransactionRequest.js';
|
|
228
|
+
import { ScreenTransactionResponseFromJSON } from '../models/ScreenTransactionResponse.js';
|
|
227
229
|
import '../models/SdkEnvironmentIdWaasWalletIdAdditionalAddressesAdditionalAddresses.js';
|
|
228
230
|
import { SdkSettingsRequestToJSON } from '../models/SdkSettingsRequest.js';
|
|
229
231
|
import { SignAleoRequestWithWaasRequestToJSON } from '../models/SignAleoRequestWithWaasRequest.js';
|
|
@@ -284,6 +286,7 @@ import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
|
|
|
284
286
|
import '../models/WaasPolicyConstraintCondition.js';
|
|
285
287
|
import { WaasPolicyLayerResponseFromJSON } from '../models/WaasPolicyLayerResponse.js';
|
|
286
288
|
import '../models/WaasPolicyRuleType.js';
|
|
289
|
+
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
287
290
|
import { WaasPolicyLayerUpdateRequestToJSON } from '../models/WaasPolicyLayerUpdateRequest.js';
|
|
288
291
|
import { WaasSignerPolicyLayerUpdateRequestToJSON } from '../models/WaasSignerPolicyLayerUpdateRequest.js';
|
|
289
292
|
import '../models/WaasTransactionBroadcastSubmissionState.js';
|
|
@@ -8487,6 +8490,67 @@ class SDKApi extends BaseAPI {
|
|
|
8487
8490
|
async scanUrlOptions(requestParameters, initOverrides) {
|
|
8488
8491
|
await this.scanUrlOptionsRaw(requestParameters, initOverrides);
|
|
8489
8492
|
}
|
|
8493
|
+
/**
|
|
8494
|
+
* Screens a transaction payload for sanctioned addresses before signing.
|
|
8495
|
+
* Screen a transaction payload for sanctioned addresses
|
|
8496
|
+
*/
|
|
8497
|
+
async screenTransactionRaw(requestParameters, initOverrides) {
|
|
8498
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
8499
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling screenTransaction.');
|
|
8500
|
+
}
|
|
8501
|
+
if (requestParameters.screenTransactionRequest === null || requestParameters.screenTransactionRequest === undefined) {
|
|
8502
|
+
throw new RequiredError('screenTransactionRequest', 'Required parameter requestParameters.screenTransactionRequest was null or undefined when calling screenTransaction.');
|
|
8503
|
+
}
|
|
8504
|
+
const queryParameters = {};
|
|
8505
|
+
const headerParameters = {};
|
|
8506
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
8507
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
8508
|
+
const token = this.configuration.accessToken;
|
|
8509
|
+
const tokenString = await token("bearerAuth", []);
|
|
8510
|
+
if (tokenString) {
|
|
8511
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
8512
|
+
}
|
|
8513
|
+
}
|
|
8514
|
+
const response = await this.request({
|
|
8515
|
+
path: `/sdk/{environmentId}/wallet/screenTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
8516
|
+
method: 'POST',
|
|
8517
|
+
headers: headerParameters,
|
|
8518
|
+
query: queryParameters,
|
|
8519
|
+
body: ScreenTransactionRequestToJSON(requestParameters.screenTransactionRequest),
|
|
8520
|
+
}, initOverrides);
|
|
8521
|
+
return new JSONApiResponse(response, (jsonValue) => ScreenTransactionResponseFromJSON(jsonValue));
|
|
8522
|
+
}
|
|
8523
|
+
/**
|
|
8524
|
+
* Screens a transaction payload for sanctioned addresses before signing.
|
|
8525
|
+
* Screen a transaction payload for sanctioned addresses
|
|
8526
|
+
*/
|
|
8527
|
+
async screenTransaction(requestParameters, initOverrides) {
|
|
8528
|
+
const response = await this.screenTransactionRaw(requestParameters, initOverrides);
|
|
8529
|
+
return await response.value();
|
|
8530
|
+
}
|
|
8531
|
+
/**
|
|
8532
|
+
* Options call for this endpoint
|
|
8533
|
+
*/
|
|
8534
|
+
async screenTransactionOptionsRaw(requestParameters, initOverrides) {
|
|
8535
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
8536
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling screenTransactionOptions.');
|
|
8537
|
+
}
|
|
8538
|
+
const queryParameters = {};
|
|
8539
|
+
const headerParameters = {};
|
|
8540
|
+
const response = await this.request({
|
|
8541
|
+
path: `/sdk/{environmentId}/wallet/screenTransaction`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
8542
|
+
method: 'OPTIONS',
|
|
8543
|
+
headers: headerParameters,
|
|
8544
|
+
query: queryParameters,
|
|
8545
|
+
}, initOverrides);
|
|
8546
|
+
return new VoidApiResponse(response);
|
|
8547
|
+
}
|
|
8548
|
+
/**
|
|
8549
|
+
* Options call for this endpoint
|
|
8550
|
+
*/
|
|
8551
|
+
async screenTransactionOptions(requestParameters, initOverrides) {
|
|
8552
|
+
await this.screenTransactionOptionsRaw(requestParameters, initOverrides);
|
|
8553
|
+
}
|
|
8490
8554
|
/**
|
|
8491
8555
|
* Caller must be an owner or admin of the business account. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: if the target is already an active member the existing row is returned with 200.
|
|
8492
8556
|
* SDK — add a member to a business account
|
|
@@ -10622,7 +10686,7 @@ class SDKApi extends BaseAPI {
|
|
|
10622
10686
|
await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
|
|
10623
10687
|
}
|
|
10624
10688
|
/**
|
|
10625
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10689
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10626
10690
|
* Create, update, or remove a Rule on a signer-Layer
|
|
10627
10691
|
*/
|
|
10628
10692
|
async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -10655,7 +10719,7 @@ class SDKApi extends BaseAPI {
|
|
|
10655
10719
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
10656
10720
|
}
|
|
10657
10721
|
/**
|
|
10658
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10722
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10659
10723
|
* Create, update, or remove a Rule on a signer-Layer
|
|
10660
10724
|
*/
|
|
10661
10725
|
async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -10663,7 +10727,7 @@ class SDKApi extends BaseAPI {
|
|
|
10663
10727
|
return await response.value();
|
|
10664
10728
|
}
|
|
10665
10729
|
/**
|
|
10666
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10730
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10667
10731
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
10668
10732
|
*/
|
|
10669
10733
|
async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -10696,7 +10760,7 @@ class SDKApi extends BaseAPI {
|
|
|
10696
10760
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
10697
10761
|
}
|
|
10698
10762
|
/**
|
|
10699
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the calling wallet\'s own wallet-Layer. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10763
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
|
|
10700
10764
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
10701
10765
|
*/
|
|
10702
10766
|
async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
|