@dynamic-labs/sdk-api-core 0.0.1106 → 0.0.1108

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 (70) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +196 -11
  3. package/src/apis/SDKApi.cjs.map +1 -1
  4. package/src/apis/SDKApi.d.ts +79 -9
  5. package/src/apis/SDKApi.js +196 -11
  6. package/src/apis/SDKApi.js.map +1 -1
  7. package/src/apis/WaasApi.cjs +4 -0
  8. package/src/apis/WaasApi.cjs.map +1 -1
  9. package/src/apis/WaasApi.js +4 -0
  10. package/src/apis/WaasApi.js.map +1 -1
  11. package/src/index.cjs +56 -0
  12. package/src/index.cjs.map +1 -1
  13. package/src/index.js +10 -0
  14. package/src/index.js.map +1 -1
  15. package/src/models/UnprocessableEntityErrorCode.cjs +10 -0
  16. package/src/models/UnprocessableEntityErrorCode.cjs.map +1 -1
  17. package/src/models/UnprocessableEntityErrorCode.d.ts +11 -1
  18. package/src/models/UnprocessableEntityErrorCode.js +10 -0
  19. package/src/models/UnprocessableEntityErrorCode.js.map +1 -1
  20. package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs +49 -0
  21. package/src/models/WaasSignerPolicyLayerUpdateRequest.cjs.map +1 -0
  22. package/src/models/WaasSignerPolicyLayerUpdateRequest.d.ts +54 -0
  23. package/src/models/WaasSignerPolicyLayerUpdateRequest.js +43 -0
  24. package/src/models/WaasSignerPolicyLayerUpdateRequest.js.map +1 -0
  25. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs +33 -0
  26. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.cjs.map +1 -0
  27. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.d.ts +27 -0
  28. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js +27 -0
  29. package/src/models/WaasSignerPolicyLayerUpdateRequestAllOf.js.map +1 -0
  30. package/src/models/WaasTransactionBroadcastError.cjs +38 -0
  31. package/src/models/WaasTransactionBroadcastError.cjs.map +1 -0
  32. package/src/models/WaasTransactionBroadcastError.d.ts +41 -0
  33. package/src/models/WaasTransactionBroadcastError.js +32 -0
  34. package/src/models/WaasTransactionBroadcastError.js.map +1 -0
  35. package/src/models/WaasTransactionBroadcastErrorPayload.cjs +42 -0
  36. package/src/models/WaasTransactionBroadcastErrorPayload.cjs.map +1 -0
  37. package/src/models/WaasTransactionBroadcastErrorPayload.d.ts +52 -0
  38. package/src/models/WaasTransactionBroadcastErrorPayload.js +36 -0
  39. package/src/models/WaasTransactionBroadcastErrorPayload.js.map +1 -0
  40. package/src/models/WaasTransactionBroadcastOptions.cjs +33 -0
  41. package/src/models/WaasTransactionBroadcastOptions.cjs.map +1 -0
  42. package/src/models/WaasTransactionBroadcastOptions.d.ts +27 -0
  43. package/src/models/WaasTransactionBroadcastOptions.js +27 -0
  44. package/src/models/WaasTransactionBroadcastOptions.js.map +1 -0
  45. package/src/models/WaasTransactionBroadcastRequest.cjs +43 -0
  46. package/src/models/WaasTransactionBroadcastRequest.cjs.map +1 -0
  47. package/src/models/WaasTransactionBroadcastRequest.d.ts +53 -0
  48. package/src/models/WaasTransactionBroadcastRequest.js +37 -0
  49. package/src/models/WaasTransactionBroadcastRequest.js.map +1 -0
  50. package/src/models/WaasTransactionBroadcastResponse.cjs +39 -0
  51. package/src/models/WaasTransactionBroadcastResponse.cjs.map +1 -0
  52. package/src/models/WaasTransactionBroadcastResponse.d.ts +46 -0
  53. package/src/models/WaasTransactionBroadcastResponse.js +33 -0
  54. package/src/models/WaasTransactionBroadcastResponse.js.map +1 -0
  55. package/src/models/WaasTransactionBroadcastStatus.cjs +40 -0
  56. package/src/models/WaasTransactionBroadcastStatus.cjs.map +1 -0
  57. package/src/models/WaasTransactionBroadcastStatus.d.ts +23 -0
  58. package/src/models/WaasTransactionBroadcastStatus.js +34 -0
  59. package/src/models/WaasTransactionBroadcastStatus.js.map +1 -0
  60. package/src/models/WaasTransactionBroadcastSubmissionState.cjs +41 -0
  61. package/src/models/WaasTransactionBroadcastSubmissionState.cjs.map +1 -0
  62. package/src/models/WaasTransactionBroadcastSubmissionState.d.ts +24 -0
  63. package/src/models/WaasTransactionBroadcastSubmissionState.js +35 -0
  64. package/src/models/WaasTransactionBroadcastSubmissionState.js.map +1 -0
  65. package/src/models/WaasTransactionEncoding.cjs +42 -0
  66. package/src/models/WaasTransactionEncoding.cjs.map +1 -0
  67. package/src/models/WaasTransactionEncoding.d.ts +25 -0
  68. package/src/models/WaasTransactionEncoding.js +36 -0
  69. package/src/models/WaasTransactionEncoding.js.map +1 -0
  70. package/src/models/index.d.ts +10 -0
@@ -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, 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, 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;
@@ -86,6 +86,16 @@ export interface BroadcastFlowOptionsRequest {
86
86
  environmentId: string;
87
87
  flowId: string;
88
88
  }
89
+ export interface BroadcastWaasTransactionRequest {
90
+ environmentId: string;
91
+ walletId: string;
92
+ xIdempotencyKey: string;
93
+ waasTransactionBroadcastRequest: WaasTransactionBroadcastRequest;
94
+ }
95
+ export interface BroadcastWaasTransactionOptionsRequest {
96
+ environmentId: string;
97
+ walletId: string;
98
+ }
89
99
  export interface CancelCheckoutTransactionRequest {
90
100
  environmentId: string;
91
101
  transactionId: string;
@@ -652,6 +662,11 @@ export interface GetUserPasskeysRequest {
652
662
  export interface GetWaasSignerSelfPolicyLayerRequest {
653
663
  environmentId: string;
654
664
  walletId: string;
665
+ signerId?: string;
666
+ }
667
+ export interface GetWaasWalletSelfPolicyLayerRequest {
668
+ environmentId: string;
669
+ walletId: string;
655
670
  }
656
671
  export interface GetWaasWalletWithVerifiedCredentialsRequest {
657
672
  environmentId: string;
@@ -1347,6 +1362,11 @@ export interface UpdateUserMfaDeviceRequest {
1347
1362
  mFAUpdateDeviceRequest?: MFAUpdateDeviceRequest;
1348
1363
  }
1349
1364
  export interface UpdateWaasSignerSelfPolicyLayerRequest {
1365
+ environmentId: string;
1366
+ walletId: string;
1367
+ waasSignerPolicyLayerUpdateRequest: WaasSignerPolicyLayerUpdateRequest;
1368
+ }
1369
+ export interface UpdateWaasWalletSelfPolicyLayerRequest {
1350
1370
  environmentId: string;
1351
1371
  walletId: string;
1352
1372
  waasPolicyLayerUpdateRequest: WaasPolicyLayerUpdateRequest;
@@ -1425,6 +1445,10 @@ export interface WaasSignerSelfPolicyLayerOptionsRequest {
1425
1445
  environmentId: string;
1426
1446
  walletId: string;
1427
1447
  }
1448
+ export interface WaasWalletSelfPolicyLayerOptionsRequest {
1449
+ environmentId: string;
1450
+ walletId: string;
1451
+ }
1428
1452
  export interface WaasWalletSettingsOptionsRequest {
1429
1453
  environmentId: string;
1430
1454
  walletId: string;
@@ -1613,6 +1637,24 @@ export declare class SDKApi extends runtime.BaseAPI {
1613
1637
  * Options call for this endpoint
1614
1638
  */
1615
1639
  broadcastFlowOptions(requestParameters: BroadcastFlowOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1640
+ /**
1641
+ * Relays an already-signed transaction from a Dynamic v3 WaaS wallet to the network. The server derives chain and wallet address from `walletId`, verifies the signed payload belongs to the wallet, owns provider selection and bounded retry/failover of the identical signed bytes, and replays a stored result when `x-idempotency-key` repeats.
1642
+ * Broadcast a signed transaction from a Dynamic v3 WaaS wallet
1643
+ */
1644
+ broadcastWaasTransactionRaw(requestParameters: BroadcastWaasTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasTransactionBroadcastResponse>>;
1645
+ /**
1646
+ * Relays an already-signed transaction from a Dynamic v3 WaaS wallet to the network. The server derives chain and wallet address from `walletId`, verifies the signed payload belongs to the wallet, owns provider selection and bounded retry/failover of the identical signed bytes, and replays a stored result when `x-idempotency-key` repeats.
1647
+ * Broadcast a signed transaction from a Dynamic v3 WaaS wallet
1648
+ */
1649
+ broadcastWaasTransaction(requestParameters: BroadcastWaasTransactionRequest, initOverrides?: RequestInit): Promise<WaasTransactionBroadcastResponse>;
1650
+ /**
1651
+ * Options call for this endpoint
1652
+ */
1653
+ broadcastWaasTransactionOptionsRaw(requestParameters: BroadcastWaasTransactionOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
1654
+ /**
1655
+ * Options call for this endpoint
1656
+ */
1657
+ broadcastWaasTransactionOptions(requestParameters: BroadcastWaasTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
1616
1658
  /**
1617
1659
  * Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/cancel instead. Cancels a pre-broadcast transaction. Only allowed before the transaction is broadcasted.
1618
1660
  * Cancel a checkout transaction
@@ -2914,15 +2956,25 @@ export declare class SDKApi extends runtime.BaseAPI {
2914
2956
  */
2915
2957
  getUserPasskeys(requestParameters: GetUserPasskeysRequest, initOverrides?: RequestInit): Promise<GetUserPasskeysResponse>;
2916
2958
  /**
2917
- * Returns the Composition Layer content for the calling wallet\'s own active Signer without mutating it.
2918
- * Get the caller\'s own signer-Layer Rules
2959
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
2960
+ * Get a signer-Layer\'s Rules
2919
2961
  */
2920
2962
  getWaasSignerSelfPolicyLayerRaw(requestParameters: GetWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
2921
2963
  /**
2922
- * Returns the Composition Layer content for the calling wallet\'s own active Signer without mutating it.
2923
- * Get the caller\'s own signer-Layer Rules
2964
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
2965
+ * Get a signer-Layer\'s Rules
2924
2966
  */
2925
2967
  getWaasSignerSelfPolicyLayer(requestParameters: GetWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
2968
+ /**
2969
+ * Returns the Composition Layer content for the calling wallet\'s own wallet-Layer, without mutating it. Only the wallet\'s own owner may call this.
2970
+ * Get a wallet-Layer\'s Rules
2971
+ */
2972
+ getWaasWalletSelfPolicyLayerRaw(requestParameters: GetWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
2973
+ /**
2974
+ * Returns the Composition Layer content for the calling wallet\'s own wallet-Layer, without mutating it. Only the wallet\'s own owner may call this.
2975
+ * Get a wallet-Layer\'s Rules
2976
+ */
2977
+ getWaasWalletSelfPolicyLayer(requestParameters: GetWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
2926
2978
  /**
2927
2979
  * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
2928
2980
  * Get a WAAS wallet by address
@@ -4482,15 +4534,25 @@ export declare class SDKApi extends runtime.BaseAPI {
4482
4534
  */
4483
4535
  updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
4484
4536
  /**
4485
- * Applies a single per-Rule upsert or remove operation, restricted to Rules a dashboardAdmin granted to the calling wallet\'s own Signer.
4486
- * Loosen or remove a signer-managed default on the caller\'s own signer-Layer
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 signerId 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\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
4538
+ * Create, update, or remove a Rule on a signer-Layer
4487
4539
  */
4488
4540
  updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
4489
4541
  /**
4490
- * Applies a single per-Rule upsert or remove operation, restricted to Rules a dashboardAdmin granted to the calling wallet\'s own Signer.
4491
- * Loosen or remove a signer-managed default on the caller\'s own signer-Layer
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 signerId 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\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
4543
+ * Create, update, or remove a Rule on a signer-Layer
4492
4544
  */
4493
4545
  updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
4546
+ /**
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.
4548
+ * Create, update, or remove a Rule on a wallet-Layer
4549
+ */
4550
+ updateWaasWalletSelfPolicyLayerRaw(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
4551
+ /**
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.
4553
+ * Create, update, or remove a Rule on a wallet-Layer
4554
+ */
4555
+ updateWaasWalletSelfPolicyLayer(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
4494
4556
  /**
4495
4557
  * Updates the settings for a WAAS wallet
4496
4558
  * Update WAAS wallet settings
@@ -4677,6 +4739,14 @@ export declare class SDKApi extends runtime.BaseAPI {
4677
4739
  * Options call for this endpoint
4678
4740
  */
4679
4741
  waasSignerSelfPolicyLayerOptions(requestParameters: WaasSignerSelfPolicyLayerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4742
+ /**
4743
+ * Options call for this endpoint
4744
+ */
4745
+ waasWalletSelfPolicyLayerOptionsRaw(requestParameters: WaasWalletSelfPolicyLayerOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4746
+ /**
4747
+ * Options call for this endpoint
4748
+ */
4749
+ waasWalletSelfPolicyLayerOptions(requestParameters: WaasWalletSelfPolicyLayerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4680
4750
  /**
4681
4751
  * Options call for this endpoint
4682
4752
  */
@@ -285,6 +285,12 @@ import '../models/WaasPolicyConstraintCondition.js';
285
285
  import { WaasPolicyLayerResponseFromJSON } from '../models/WaasPolicyLayerResponse.js';
286
286
  import '../models/WaasPolicyRuleType.js';
287
287
  import { WaasPolicyLayerUpdateRequestToJSON } from '../models/WaasPolicyLayerUpdateRequest.js';
288
+ import { WaasSignerPolicyLayerUpdateRequestToJSON } from '../models/WaasSignerPolicyLayerUpdateRequest.js';
289
+ import '../models/WaasTransactionBroadcastSubmissionState.js';
290
+ import { WaasTransactionBroadcastRequestToJSON } from '../models/WaasTransactionBroadcastRequest.js';
291
+ import { WaasTransactionBroadcastResponseFromJSON } from '../models/WaasTransactionBroadcastResponse.js';
292
+ import '../models/WaasTransactionBroadcastStatus.js';
293
+ import '../models/WaasTransactionEncoding.js';
288
294
  import { WalletSanctionsResponseFromJSON } from '../models/WalletSanctionsResponse.js';
289
295
  import '../models/WalletTransactionType.js';
290
296
  import { WalletTransactionsResponseFromJSON } from '../models/WalletTransactionsResponse.js';
@@ -853,6 +859,79 @@ class SDKApi extends BaseAPI {
853
859
  async broadcastFlowOptions(requestParameters, initOverrides) {
854
860
  await this.broadcastFlowOptionsRaw(requestParameters, initOverrides);
855
861
  }
862
+ /**
863
+ * Relays an already-signed transaction from a Dynamic v3 WaaS wallet to the network. The server derives chain and wallet address from `walletId`, verifies the signed payload belongs to the wallet, owns provider selection and bounded retry/failover of the identical signed bytes, and replays a stored result when `x-idempotency-key` repeats.
864
+ * Broadcast a signed transaction from a Dynamic v3 WaaS wallet
865
+ */
866
+ async broadcastWaasTransactionRaw(requestParameters, initOverrides) {
867
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
868
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling broadcastWaasTransaction.');
869
+ }
870
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
871
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling broadcastWaasTransaction.');
872
+ }
873
+ if (requestParameters.xIdempotencyKey === null || requestParameters.xIdempotencyKey === undefined) {
874
+ throw new RequiredError('xIdempotencyKey', 'Required parameter requestParameters.xIdempotencyKey was null or undefined when calling broadcastWaasTransaction.');
875
+ }
876
+ if (requestParameters.waasTransactionBroadcastRequest === null || requestParameters.waasTransactionBroadcastRequest === undefined) {
877
+ throw new RequiredError('waasTransactionBroadcastRequest', 'Required parameter requestParameters.waasTransactionBroadcastRequest was null or undefined when calling broadcastWaasTransaction.');
878
+ }
879
+ const queryParameters = {};
880
+ const headerParameters = {};
881
+ headerParameters['Content-Type'] = 'application/json';
882
+ if (requestParameters.xIdempotencyKey !== undefined && requestParameters.xIdempotencyKey !== null) {
883
+ headerParameters['x-idempotency-key'] = String(requestParameters.xIdempotencyKey);
884
+ }
885
+ if (this.configuration && this.configuration.accessToken) {
886
+ const token = this.configuration.accessToken;
887
+ const tokenString = await token("bearerAuth", []);
888
+ if (tokenString) {
889
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
890
+ }
891
+ }
892
+ const response = await this.request({
893
+ path: `/sdk/{environmentId}/waas/{walletId}/transactions/broadcast`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
894
+ method: 'POST',
895
+ headers: headerParameters,
896
+ query: queryParameters,
897
+ body: WaasTransactionBroadcastRequestToJSON(requestParameters.waasTransactionBroadcastRequest),
898
+ }, initOverrides);
899
+ return new JSONApiResponse(response, (jsonValue) => WaasTransactionBroadcastResponseFromJSON(jsonValue));
900
+ }
901
+ /**
902
+ * Relays an already-signed transaction from a Dynamic v3 WaaS wallet to the network. The server derives chain and wallet address from `walletId`, verifies the signed payload belongs to the wallet, owns provider selection and bounded retry/failover of the identical signed bytes, and replays a stored result when `x-idempotency-key` repeats.
903
+ * Broadcast a signed transaction from a Dynamic v3 WaaS wallet
904
+ */
905
+ async broadcastWaasTransaction(requestParameters, initOverrides) {
906
+ const response = await this.broadcastWaasTransactionRaw(requestParameters, initOverrides);
907
+ return await response.value();
908
+ }
909
+ /**
910
+ * Options call for this endpoint
911
+ */
912
+ async broadcastWaasTransactionOptionsRaw(requestParameters, initOverrides) {
913
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
914
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling broadcastWaasTransactionOptions.');
915
+ }
916
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
917
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling broadcastWaasTransactionOptions.');
918
+ }
919
+ const queryParameters = {};
920
+ const headerParameters = {};
921
+ const response = await this.request({
922
+ path: `/sdk/{environmentId}/waas/{walletId}/transactions/broadcast`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
923
+ method: 'OPTIONS',
924
+ headers: headerParameters,
925
+ query: queryParameters,
926
+ }, initOverrides);
927
+ return new VoidApiResponse(response);
928
+ }
929
+ /**
930
+ * Options call for this endpoint
931
+ */
932
+ async broadcastWaasTransactionOptions(requestParameters, initOverrides) {
933
+ await this.broadcastWaasTransactionOptionsRaw(requestParameters, initOverrides);
934
+ }
856
935
  /**
857
936
  * Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/cancel instead. Cancels a pre-broadcast transaction. Only allowed before the transaction is broadcasted.
858
937
  * Cancel a checkout transaction
@@ -5231,8 +5310,8 @@ class SDKApi extends BaseAPI {
5231
5310
  return await response.value();
5232
5311
  }
5233
5312
  /**
5234
- * Returns the Composition Layer content for the calling wallet\'s own active Signer without mutating it.
5235
- * Get the caller\'s own signer-Layer Rules
5313
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
5314
+ * Get a signer-Layer\'s Rules
5236
5315
  */
5237
5316
  async getWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
5238
5317
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -5242,6 +5321,9 @@ class SDKApi extends BaseAPI {
5242
5321
  throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignerSelfPolicyLayer.');
5243
5322
  }
5244
5323
  const queryParameters = {};
5324
+ if (requestParameters.signerId !== undefined) {
5325
+ queryParameters['signerId'] = requestParameters.signerId;
5326
+ }
5245
5327
  const headerParameters = {};
5246
5328
  if (this.configuration && this.configuration.accessToken) {
5247
5329
  const token = this.configuration.accessToken;
@@ -5259,13 +5341,49 @@ class SDKApi extends BaseAPI {
5259
5341
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
5260
5342
  }
5261
5343
  /**
5262
- * Returns the Composition Layer content for the calling wallet\'s own active Signer without mutating it.
5263
- * Get the caller\'s own signer-Layer Rules
5344
+ * Returns the Composition Layer content for the calling wallet\'s own active Signer, or (given signerId) another share set of the same wallet — e.g. a delegated share set — without mutating it. Only the wallet\'s own owner may target another share set\'s signerId.
5345
+ * Get a signer-Layer\'s Rules
5264
5346
  */
5265
5347
  async getWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
5266
5348
  const response = await this.getWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides);
5267
5349
  return await response.value();
5268
5350
  }
5351
+ /**
5352
+ * Returns the Composition Layer content for the calling wallet\'s own wallet-Layer, without mutating it. Only the wallet\'s own owner may call this.
5353
+ * Get a wallet-Layer\'s Rules
5354
+ */
5355
+ async getWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
5356
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
5357
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletSelfPolicyLayer.');
5358
+ }
5359
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
5360
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasWalletSelfPolicyLayer.');
5361
+ }
5362
+ const queryParameters = {};
5363
+ const headerParameters = {};
5364
+ if (this.configuration && this.configuration.accessToken) {
5365
+ const token = this.configuration.accessToken;
5366
+ const tokenString = await token("bearerAuth", []);
5367
+ if (tokenString) {
5368
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
5369
+ }
5370
+ }
5371
+ const response = await this.request({
5372
+ path: `/sdk/{environmentId}/waas/{walletId}/policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
5373
+ method: 'GET',
5374
+ headers: headerParameters,
5375
+ query: queryParameters,
5376
+ }, initOverrides);
5377
+ return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
5378
+ }
5379
+ /**
5380
+ * Returns the Composition Layer content for the calling wallet\'s own wallet-Layer, without mutating it. Only the wallet\'s own owner may call this.
5381
+ * Get a wallet-Layer\'s Rules
5382
+ */
5383
+ async getWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
5384
+ const response = await this.getWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides);
5385
+ return await response.value();
5386
+ }
5269
5387
  /**
5270
5388
  * Fetches a single WaaS wallet and returns it with the same payload structure as the users endpoint. This endpoint returns user information along with verified credentials filtered to only include the specified WaaS wallet.
5271
5389
  * Get a WAAS wallet by address
@@ -10504,8 +10622,8 @@ class SDKApi extends BaseAPI {
10504
10622
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
10505
10623
  }
10506
10624
  /**
10507
- * Applies a single per-Rule upsert or remove operation, restricted to Rules a dashboardAdmin granted to the calling wallet\'s own Signer.
10508
- * Loosen or remove a signer-managed default on the caller\'s own signer-Layer
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 signerId 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\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10626
+ * Create, update, or remove a Rule on a signer-Layer
10509
10627
  */
10510
10628
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
10511
10629
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -10514,8 +10632,8 @@ class SDKApi extends BaseAPI {
10514
10632
  if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
10515
10633
  throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling updateWaasSignerSelfPolicyLayer.');
10516
10634
  }
10517
- if (requestParameters.waasPolicyLayerUpdateRequest === null || requestParameters.waasPolicyLayerUpdateRequest === undefined) {
10518
- throw new RequiredError('waasPolicyLayerUpdateRequest', 'Required parameter requestParameters.waasPolicyLayerUpdateRequest was null or undefined when calling updateWaasSignerSelfPolicyLayer.');
10635
+ if (requestParameters.waasSignerPolicyLayerUpdateRequest === null || requestParameters.waasSignerPolicyLayerUpdateRequest === undefined) {
10636
+ throw new RequiredError('waasSignerPolicyLayerUpdateRequest', 'Required parameter requestParameters.waasSignerPolicyLayerUpdateRequest was null or undefined when calling updateWaasSignerSelfPolicyLayer.');
10519
10637
  }
10520
10638
  const queryParameters = {};
10521
10639
  const headerParameters = {};
@@ -10532,18 +10650,59 @@ class SDKApi extends BaseAPI {
10532
10650
  method: 'PATCH',
10533
10651
  headers: headerParameters,
10534
10652
  query: queryParameters,
10535
- body: WaasPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
10653
+ body: WaasSignerPolicyLayerUpdateRequestToJSON(requestParameters.waasSignerPolicyLayerUpdateRequest),
10536
10654
  }, initOverrides);
10537
10655
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
10538
10656
  }
10539
10657
  /**
10540
- * Applies a single per-Rule upsert or remove operation, restricted to Rules a dashboardAdmin granted to the calling wallet\'s own Signer.
10541
- * Loosen or remove a signer-managed default on the caller\'s own signer-Layer
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 signerId 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\'s signerId. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
10659
+ * Create, update, or remove a Rule on a signer-Layer
10542
10660
  */
10543
10661
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
10544
10662
  const response = await this.updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides);
10545
10663
  return await response.value();
10546
10664
  }
10665
+ /**
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.
10667
+ * Create, update, or remove a Rule on a wallet-Layer
10668
+ */
10669
+ async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
10670
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10671
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling updateWaasWalletSelfPolicyLayer.');
10672
+ }
10673
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
10674
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling updateWaasWalletSelfPolicyLayer.');
10675
+ }
10676
+ if (requestParameters.waasPolicyLayerUpdateRequest === null || requestParameters.waasPolicyLayerUpdateRequest === undefined) {
10677
+ throw new RequiredError('waasPolicyLayerUpdateRequest', 'Required parameter requestParameters.waasPolicyLayerUpdateRequest was null or undefined when calling updateWaasWalletSelfPolicyLayer.');
10678
+ }
10679
+ const queryParameters = {};
10680
+ const headerParameters = {};
10681
+ headerParameters['Content-Type'] = 'application/json';
10682
+ if (this.configuration && this.configuration.accessToken) {
10683
+ const token = this.configuration.accessToken;
10684
+ const tokenString = await token("bearerAuth", []);
10685
+ if (tokenString) {
10686
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10687
+ }
10688
+ }
10689
+ const response = await this.request({
10690
+ path: `/sdk/{environmentId}/waas/{walletId}/policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
10691
+ method: 'PATCH',
10692
+ headers: headerParameters,
10693
+ query: queryParameters,
10694
+ body: WaasPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
10695
+ }, initOverrides);
10696
+ return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
10697
+ }
10698
+ /**
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.
10700
+ * Create, update, or remove a Rule on a wallet-Layer
10701
+ */
10702
+ async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
10703
+ const response = await this.updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides);
10704
+ return await response.value();
10705
+ }
10547
10706
  /**
10548
10707
  * Updates the settings for a WAAS wallet
10549
10708
  * Update WAAS wallet settings
@@ -11154,6 +11313,32 @@ class SDKApi extends BaseAPI {
11154
11313
  async waasSignerSelfPolicyLayerOptions(requestParameters, initOverrides) {
11155
11314
  await this.waasSignerSelfPolicyLayerOptionsRaw(requestParameters, initOverrides);
11156
11315
  }
11316
+ /**
11317
+ * Options call for this endpoint
11318
+ */
11319
+ async waasWalletSelfPolicyLayerOptionsRaw(requestParameters, initOverrides) {
11320
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
11321
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling waasWalletSelfPolicyLayerOptions.');
11322
+ }
11323
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
11324
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling waasWalletSelfPolicyLayerOptions.');
11325
+ }
11326
+ const queryParameters = {};
11327
+ const headerParameters = {};
11328
+ const response = await this.request({
11329
+ path: `/sdk/{environmentId}/waas/{walletId}/policy-layer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
11330
+ method: 'OPTIONS',
11331
+ headers: headerParameters,
11332
+ query: queryParameters,
11333
+ }, initOverrides);
11334
+ return new VoidApiResponse(response);
11335
+ }
11336
+ /**
11337
+ * Options call for this endpoint
11338
+ */
11339
+ async waasWalletSelfPolicyLayerOptions(requestParameters, initOverrides) {
11340
+ await this.waasWalletSelfPolicyLayerOptionsRaw(requestParameters, initOverrides);
11341
+ }
11157
11342
  /**
11158
11343
  * Options call for this endpoint
11159
11344
  */