@dynamic-labs/sdk-api 0.0.1041 → 0.0.1043
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/AdminActionsApi.cjs +5 -4
- package/src/apis/AdminActionsApi.js +5 -4
- package/src/apis/AllowlistsApi.cjs +5 -4
- package/src/apis/AllowlistsApi.js +5 -4
- package/src/apis/AnalyticsApi.cjs +5 -4
- package/src/apis/AnalyticsApi.js +5 -4
- package/src/apis/AuthorizedClientsApi.cjs +5 -4
- package/src/apis/AuthorizedClientsApi.js +5 -4
- package/src/apis/ChainalysisApi.cjs +5 -4
- package/src/apis/ChainalysisApi.js +5 -4
- package/src/apis/ChainsApi.cjs +5 -4
- package/src/apis/ChainsApi.js +5 -4
- package/src/apis/CheckoutApi.cjs +6 -5
- package/src/apis/CheckoutApi.js +6 -5
- package/src/apis/ClientGrantApi.cjs +5 -4
- package/src/apis/ClientGrantApi.js +5 -4
- package/src/apis/CustomFieldsApi.cjs +5 -4
- package/src/apis/CustomFieldsApi.js +5 -4
- package/src/apis/CustomHostnamesApi.cjs +5 -4
- package/src/apis/CustomHostnamesApi.js +5 -4
- package/src/apis/CustomNetworksApi.cjs +5 -4
- package/src/apis/CustomNetworksApi.js +5 -4
- package/src/apis/DeeplinkUrlsApi.cjs +5 -4
- package/src/apis/DeeplinkUrlsApi.js +5 -4
- package/src/apis/EnvironmentsApi.cjs +5 -4
- package/src/apis/EnvironmentsApi.js +5 -4
- package/src/apis/EventsApi.cjs +5 -4
- package/src/apis/EventsApi.js +5 -4
- package/src/apis/ExchangesApi.cjs +5 -4
- package/src/apis/ExchangesApi.js +5 -4
- package/src/apis/ExportsApi.cjs +5 -4
- package/src/apis/ExportsApi.js +5 -4
- package/src/apis/ExternalJwtApi.cjs +5 -4
- package/src/apis/ExternalJwtApi.js +5 -4
- package/src/apis/GatesApi.cjs +5 -4
- package/src/apis/GatesApi.js +5 -4
- package/src/apis/GlobalWalletAccessControlApi.cjs +5 -4
- package/src/apis/GlobalWalletAccessControlApi.js +5 -4
- package/src/apis/GlobalWalletConnectionsApi.cjs +5 -4
- package/src/apis/GlobalWalletConnectionsApi.js +5 -4
- package/src/apis/GlobalWalletsApi.cjs +5 -4
- package/src/apis/GlobalWalletsApi.js +5 -4
- package/src/apis/InvitesApi.cjs +5 -4
- package/src/apis/InvitesApi.js +5 -4
- package/src/apis/MembersApi.cjs +5 -4
- package/src/apis/MembersApi.js +5 -4
- package/src/apis/MfaSettingsApi.cjs +5 -4
- package/src/apis/MfaSettingsApi.js +5 -4
- package/src/apis/NameServicesApi.cjs +5 -4
- package/src/apis/NameServicesApi.js +5 -4
- package/src/apis/OrganizationSettingsApi.cjs +5 -4
- package/src/apis/OrganizationSettingsApi.js +5 -4
- package/src/apis/OrganizationsApi.cjs +5 -4
- package/src/apis/OrganizationsApi.js +5 -4
- package/src/apis/OriginsApi.cjs +5 -4
- package/src/apis/OriginsApi.js +5 -4
- package/src/apis/ProjectsApi.cjs +5 -4
- package/src/apis/ProjectsApi.js +5 -4
- package/src/apis/ProvidersApi.cjs +5 -4
- package/src/apis/ProvidersApi.js +5 -4
- package/src/apis/SDKApi.cjs +225 -287
- package/src/apis/SDKApi.d.ts +112 -140
- package/src/apis/SDKApi.js +225 -287
- package/src/apis/SDKViewsApi.cjs +5 -4
- package/src/apis/SDKViewsApi.js +5 -4
- package/src/apis/SessionsApi.cjs +5 -4
- package/src/apis/SessionsApi.js +5 -4
- package/src/apis/TestAccountApi.cjs +5 -4
- package/src/apis/TestAccountApi.js +5 -4
- package/src/apis/TokensApi.cjs +5 -4
- package/src/apis/TokensApi.js +5 -4
- package/src/apis/UserApiTokensApi.cjs +5 -4
- package/src/apis/UserApiTokensApi.js +5 -4
- package/src/apis/UsersApi.cjs +5 -4
- package/src/apis/UsersApi.js +5 -4
- package/src/apis/VisitsApi.cjs +5 -4
- package/src/apis/VisitsApi.js +5 -4
- package/src/apis/WaasApi.cjs +5 -4
- package/src/apis/WaasApi.js +5 -4
- package/src/apis/WalletConnectApi.cjs +5 -4
- package/src/apis/WalletConnectApi.js +5 -4
- package/src/apis/WalletsApi.cjs +5 -4
- package/src/apis/WalletsApi.js +5 -4
- package/src/apis/WebhooksApi.cjs +5 -4
- package/src/apis/WebhooksApi.js +5 -4
- package/src/index.cjs +100 -68
- package/src/index.js +20 -13
- package/src/models/AttachSourceRequest.cjs +3 -3
- package/src/models/AttachSourceRequest.d.ts +3 -3
- package/src/models/AttachSourceRequest.js +3 -3
- package/src/models/CheckoutTransaction.cjs +24 -24
- package/src/models/CheckoutTransaction.d.ts +24 -24
- package/src/models/CheckoutTransaction.js +24 -24
- package/src/models/Flow.cjs +109 -0
- package/src/models/Flow.d.ts +231 -0
- package/src/models/Flow.js +103 -0
- package/src/models/FlowAttachSourceRequest.cjs +44 -0
- package/src/models/FlowAttachSourceRequest.d.ts +54 -0
- package/src/models/FlowAttachSourceRequest.js +38 -0
- package/src/models/FlowCreateRequest.cjs +45 -0
- package/src/models/FlowCreateRequest.d.ts +59 -0
- package/src/models/FlowCreateRequest.js +39 -0
- package/src/models/FlowCreateResponse.cjs +33 -0
- package/src/models/FlowCreateResponse.d.ts +28 -0
- package/src/models/FlowCreateResponse.js +27 -0
- package/src/models/{CheckoutTransactionExchangeSource.cjs → FlowExchangeSource.cjs} +7 -7
- package/src/models/FlowExchangeSource.d.ts +33 -0
- package/src/models/{CheckoutTransactionExchangeSource.js → FlowExchangeSource.js} +5 -5
- package/src/models/FlowExecutionStateEnum.cjs +47 -0
- package/src/models/{CheckoutExecutionStateEnum.d.ts → FlowExecutionStateEnum.d.ts} +5 -5
- package/src/models/FlowExecutionStateEnum.js +41 -0
- package/src/models/{CheckoutFailure.cjs → FlowFailure.cjs} +7 -7
- package/src/models/{CheckoutFailure.d.ts → FlowFailure.d.ts} +12 -12
- package/src/models/{CheckoutFailure.js → FlowFailure.js} +5 -5
- package/src/models/FlowFeeBreakdown.cjs +36 -0
- package/src/models/FlowFeeBreakdown.d.ts +34 -0
- package/src/models/FlowFeeBreakdown.js +30 -0
- package/src/models/{CheckoutGasEstimate.cjs → FlowGasEstimate.cjs} +7 -7
- package/src/models/{CheckoutGasEstimate.d.ts → FlowGasEstimate.d.ts} +9 -9
- package/src/models/{CheckoutGasEstimate.js → FlowGasEstimate.js} +5 -5
- package/src/models/FlowModeEnum.cjs +41 -0
- package/src/models/FlowModeEnum.d.ts +24 -0
- package/src/models/FlowModeEnum.js +35 -0
- package/src/models/{PrepareSigningRequest.cjs → FlowPrepareSigningRequest.cjs} +7 -7
- package/src/models/FlowPrepareSigningRequest.d.ts +33 -0
- package/src/models/{PrepareSigningRequest.js → FlowPrepareSigningRequest.js} +5 -5
- package/src/models/{CheckoutTransactionQuote.cjs → FlowQuote.cjs} +10 -10
- package/src/models/{CheckoutTransactionQuote.d.ts → FlowQuote.d.ts} +18 -18
- package/src/models/{CheckoutTransactionQuote.js → FlowQuote.js} +8 -8
- package/src/models/{QuoteRequest.cjs → FlowQuoteRequest.cjs} +7 -7
- package/src/models/FlowQuoteRequest.d.ts +39 -0
- package/src/models/{QuoteRequest.js → FlowQuoteRequest.js} +5 -5
- package/src/models/{RecordBroadcastRequest.cjs → FlowRecordBroadcastRequest.cjs} +7 -7
- package/src/models/FlowRecordBroadcastRequest.d.ts +27 -0
- package/src/models/{RecordBroadcastRequest.js → FlowRecordBroadcastRequest.js} +5 -5
- package/src/models/FlowRiskStateEnum.cjs +43 -0
- package/src/models/{CheckoutRiskStateEnum.d.ts → FlowRiskStateEnum.d.ts} +5 -5
- package/src/models/FlowRiskStateEnum.js +37 -0
- package/src/models/{CheckoutSettlementData.cjs → FlowSettlementData.cjs} +7 -7
- package/src/models/{CheckoutSettlementData.d.ts → FlowSettlementData.d.ts} +10 -10
- package/src/models/{CheckoutSettlementData.js → FlowSettlementData.js} +5 -5
- package/src/models/FlowSettlementStateEnum.cjs +45 -0
- package/src/models/{CheckoutSettlementStateEnum.d.ts → FlowSettlementStateEnum.d.ts} +5 -5
- package/src/models/FlowSettlementStateEnum.js +39 -0
- package/src/models/FlowSourceResponse.cjs +37 -0
- package/src/models/FlowSourceResponse.d.ts +40 -0
- package/src/models/FlowSourceResponse.js +31 -0
- package/src/models/FlowSourceTypeEnum.cjs +41 -0
- package/src/models/FlowSourceTypeEnum.d.ts +24 -0
- package/src/models/FlowSourceTypeEnum.js +35 -0
- package/src/models/SwapSigningPayload.cjs +3 -0
- package/src/models/SwapSigningPayload.d.ts +8 -1
- package/src/models/SwapSigningPayload.js +3 -0
- package/src/models/SwapTronTransactionData.cjs +47 -0
- package/src/models/SwapTronTransactionData.d.ts +39 -0
- package/src/models/SwapTronTransactionData.js +41 -0
- package/src/models/TokenScopes.cjs +1 -0
- package/src/models/TokenScopes.d.ts +2 -1
- package/src/models/TokenScopes.js +1 -0
- package/src/models/index.d.ts +20 -13
- package/src/models/CheckoutExecutionStateEnum.cjs +0 -47
- package/src/models/CheckoutExecutionStateEnum.js +0 -41
- package/src/models/CheckoutFeeBreakdown.cjs +0 -36
- package/src/models/CheckoutFeeBreakdown.d.ts +0 -34
- package/src/models/CheckoutFeeBreakdown.js +0 -30
- package/src/models/CheckoutRiskStateEnum.cjs +0 -43
- package/src/models/CheckoutRiskStateEnum.js +0 -37
- package/src/models/CheckoutSettlementStateEnum.cjs +0 -45
- package/src/models/CheckoutSettlementStateEnum.js +0 -39
- package/src/models/CheckoutSourceTypeEnum.cjs +0 -41
- package/src/models/CheckoutSourceTypeEnum.d.ts +0 -24
- package/src/models/CheckoutSourceTypeEnum.js +0 -35
- package/src/models/CheckoutTransactionExchangeSource.d.ts +0 -33
- package/src/models/PrepareSigningRequest.d.ts +0 -33
- package/src/models/QuoteRequest.d.ts +0 -40
- package/src/models/RecordBroadcastRequest.d.ts +0 -27
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -10,16 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { Account, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, 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, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, JwksResponse, 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,
|
|
13
|
+
import { Account, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, 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, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, JwksResponse, 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, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
|
|
14
14
|
export interface AttachFlowSourceRequest {
|
|
15
15
|
environmentId: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
attachSourceRequest: AttachSourceRequest;
|
|
16
|
+
flowId: string;
|
|
17
|
+
flowAttachSourceRequest: FlowAttachSourceRequest;
|
|
19
18
|
}
|
|
20
19
|
export interface AttachFlowSourceOptionsRequest {
|
|
21
20
|
environmentId: string;
|
|
22
|
-
|
|
21
|
+
flowId: string;
|
|
23
22
|
}
|
|
24
23
|
export interface AttachSourceOperationRequest {
|
|
25
24
|
environmentId: string;
|
|
@@ -76,9 +75,15 @@ export interface BroadcastCheckoutTransactionOptionsRequest {
|
|
|
76
75
|
environmentId: string;
|
|
77
76
|
transactionId: string;
|
|
78
77
|
}
|
|
79
|
-
export interface
|
|
78
|
+
export interface BroadcastFlowRequest {
|
|
80
79
|
environmentId: string;
|
|
81
|
-
|
|
80
|
+
flowId: string;
|
|
81
|
+
xDynamicFlowSessionToken: string;
|
|
82
|
+
flowRecordBroadcastRequest: FlowRecordBroadcastRequest;
|
|
83
|
+
}
|
|
84
|
+
export interface BroadcastFlowOptionsRequest {
|
|
85
|
+
environmentId: string;
|
|
86
|
+
flowId: string;
|
|
82
87
|
}
|
|
83
88
|
export interface CancelCheckoutTransactionRequest {
|
|
84
89
|
environmentId: string;
|
|
@@ -89,14 +94,14 @@ export interface CancelCheckoutTransactionOptionsRequest {
|
|
|
89
94
|
environmentId: string;
|
|
90
95
|
transactionId: string;
|
|
91
96
|
}
|
|
92
|
-
export interface
|
|
97
|
+
export interface CancelFlowRequest {
|
|
93
98
|
environmentId: string;
|
|
94
|
-
|
|
95
|
-
|
|
99
|
+
flowId: string;
|
|
100
|
+
xDynamicFlowSessionToken: string;
|
|
96
101
|
}
|
|
97
|
-
export interface
|
|
102
|
+
export interface CancelFlowOptionsRequest {
|
|
98
103
|
environmentId: string;
|
|
99
|
-
|
|
104
|
+
flowId: string;
|
|
100
105
|
}
|
|
101
106
|
export interface CbOauthRedirectRequest {
|
|
102
107
|
environmentId: string;
|
|
@@ -173,15 +178,6 @@ export interface CreateEmbeddedWalletsOperationRequest {
|
|
|
173
178
|
export interface CreateEmbeddedWalletsOptionsRequest {
|
|
174
179
|
environmentId: string;
|
|
175
180
|
}
|
|
176
|
-
export interface CreateFlowCheckoutTransactionRequest {
|
|
177
|
-
environmentId: string;
|
|
178
|
-
checkoutId: string;
|
|
179
|
-
checkoutTransactionCreateRequest: CheckoutTransactionCreateRequest;
|
|
180
|
-
}
|
|
181
|
-
export interface CreateFlowCheckoutTransactionOptionsRequest {
|
|
182
|
-
environmentId: string;
|
|
183
|
-
checkoutId: string;
|
|
184
|
-
}
|
|
185
181
|
export interface CreateGlobalWalletConnectionRequest {
|
|
186
182
|
environmentId: string;
|
|
187
183
|
globalWalletConnectionCreateRequest: GlobalWalletConnectionCreateRequest;
|
|
@@ -520,13 +516,23 @@ export interface GetExchangeTransferDestinationsOptionsRequest {
|
|
|
520
516
|
environmentId: string;
|
|
521
517
|
exchangeKey: ExchangeKeyEnum;
|
|
522
518
|
}
|
|
523
|
-
export interface
|
|
519
|
+
export interface GetFlowRequest {
|
|
524
520
|
environmentId: string;
|
|
525
|
-
|
|
521
|
+
flowId: string;
|
|
526
522
|
}
|
|
527
|
-
export interface
|
|
523
|
+
export interface GetFlowOptionsRequest {
|
|
528
524
|
environmentId: string;
|
|
529
|
-
|
|
525
|
+
flowId: string;
|
|
526
|
+
}
|
|
527
|
+
export interface GetFlowQuoteRequest {
|
|
528
|
+
environmentId: string;
|
|
529
|
+
flowId: string;
|
|
530
|
+
xDynamicFlowSessionToken: string;
|
|
531
|
+
flowQuoteRequest: FlowQuoteRequest;
|
|
532
|
+
}
|
|
533
|
+
export interface GetFlowQuoteOptionsRequest {
|
|
534
|
+
environmentId: string;
|
|
535
|
+
flowId: string;
|
|
530
536
|
}
|
|
531
537
|
export interface GetGlobalWalletsSettingsRequest {
|
|
532
538
|
environmentId: string;
|
|
@@ -587,8 +593,8 @@ export interface GetPasskeyRegistrationOptionsOptionsRequest {
|
|
|
587
593
|
export interface GetRealtimeAuthTokenRequest {
|
|
588
594
|
environmentId: string;
|
|
589
595
|
capabilities?: string;
|
|
590
|
-
|
|
591
|
-
|
|
596
|
+
xDynamicFlowSessionToken?: string;
|
|
597
|
+
xDynamicFlowId?: string;
|
|
592
598
|
}
|
|
593
599
|
export interface GetRecoveryCodesRequest {
|
|
594
600
|
environmentId: string;
|
|
@@ -884,21 +890,21 @@ export interface PrepareCheckoutTransactionRequest {
|
|
|
884
890
|
environmentId: string;
|
|
885
891
|
transactionId: string;
|
|
886
892
|
xDynamicCheckoutSessionToken: string;
|
|
887
|
-
|
|
893
|
+
flowPrepareSigningRequest?: FlowPrepareSigningRequest;
|
|
888
894
|
}
|
|
889
895
|
export interface PrepareCheckoutTransactionOptionsRequest {
|
|
890
896
|
environmentId: string;
|
|
891
897
|
transactionId: string;
|
|
892
898
|
}
|
|
893
|
-
export interface
|
|
899
|
+
export interface PrepareFlowSigningRequest {
|
|
894
900
|
environmentId: string;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
901
|
+
flowId: string;
|
|
902
|
+
xDynamicFlowSessionToken: string;
|
|
903
|
+
flowPrepareSigningRequest?: FlowPrepareSigningRequest;
|
|
898
904
|
}
|
|
899
|
-
export interface
|
|
905
|
+
export interface PrepareFlowSigningOptionsRequest {
|
|
900
906
|
environmentId: string;
|
|
901
|
-
|
|
907
|
+
flowId: string;
|
|
902
908
|
}
|
|
903
909
|
export interface PublishEventRequest {
|
|
904
910
|
environmentId: string;
|
|
@@ -908,22 +914,12 @@ export interface QuoteCheckoutTransactionRequest {
|
|
|
908
914
|
environmentId: string;
|
|
909
915
|
transactionId: string;
|
|
910
916
|
xDynamicCheckoutSessionToken: string;
|
|
911
|
-
|
|
917
|
+
flowQuoteRequest: FlowQuoteRequest;
|
|
912
918
|
}
|
|
913
919
|
export interface QuoteCheckoutTransactionOptionsRequest {
|
|
914
920
|
environmentId: string;
|
|
915
921
|
transactionId: string;
|
|
916
922
|
}
|
|
917
|
-
export interface QuoteFlowTransactionRequest {
|
|
918
|
-
environmentId: string;
|
|
919
|
-
transactionId: string;
|
|
920
|
-
xDynamicCheckoutSessionToken: string;
|
|
921
|
-
quoteRequest: QuoteRequest;
|
|
922
|
-
}
|
|
923
|
-
export interface QuoteFlowTransactionOptionsRequest {
|
|
924
|
-
environmentId: string;
|
|
925
|
-
transactionId: string;
|
|
926
|
-
}
|
|
927
923
|
export interface RealtimeAuthOptionsRequest {
|
|
928
924
|
environmentId: string;
|
|
929
925
|
}
|
|
@@ -931,13 +927,7 @@ export interface RecordCheckoutBroadcastRequest {
|
|
|
931
927
|
environmentId: string;
|
|
932
928
|
transactionId: string;
|
|
933
929
|
xDynamicCheckoutSessionToken: string;
|
|
934
|
-
|
|
935
|
-
}
|
|
936
|
-
export interface RecordFlowBroadcastRequest {
|
|
937
|
-
environmentId: string;
|
|
938
|
-
transactionId: string;
|
|
939
|
-
xDynamicCheckoutSessionToken: string;
|
|
940
|
-
recordBroadcastRequest: RecordBroadcastRequest;
|
|
930
|
+
flowRecordBroadcastRequest: FlowRecordBroadcastRequest;
|
|
941
931
|
}
|
|
942
932
|
export interface RecoverKeySharesRequest {
|
|
943
933
|
environmentId: string;
|
|
@@ -1352,15 +1342,15 @@ export interface WalletsVerifyOptionsRequest {
|
|
|
1352
1342
|
*/
|
|
1353
1343
|
export declare class SDKApi extends runtime.BaseAPI {
|
|
1354
1344
|
/**
|
|
1355
|
-
* Sets the source wallet address and chain
|
|
1356
|
-
* Attach a source to a
|
|
1345
|
+
* Sets the source wallet address and chain on an initiated flow and mints the capability sessionToken used to drive the rest of the lifecycle. No API key or token is required (the browser has neither at this point) — the endpoint is gated by the flow still being initiated and by CORS. At most one live token exists per flow at a time.
|
|
1346
|
+
* Attach a source to a flow and mint a session token
|
|
1357
1347
|
*/
|
|
1358
|
-
attachFlowSourceRaw(requestParameters: AttachFlowSourceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
1348
|
+
attachFlowSourceRaw(requestParameters: AttachFlowSourceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FlowSourceResponse>>;
|
|
1359
1349
|
/**
|
|
1360
|
-
* Sets the source wallet address and chain
|
|
1361
|
-
* Attach a source to a
|
|
1350
|
+
* Sets the source wallet address and chain on an initiated flow and mints the capability sessionToken used to drive the rest of the lifecycle. No API key or token is required (the browser has neither at this point) — the endpoint is gated by the flow still being initiated and by CORS. At most one live token exists per flow at a time.
|
|
1351
|
+
* Attach a source to a flow and mint a session token
|
|
1362
1352
|
*/
|
|
1363
|
-
attachFlowSource(requestParameters: AttachFlowSourceRequest, initOverrides?: RequestInit): Promise<
|
|
1353
|
+
attachFlowSource(requestParameters: AttachFlowSourceRequest, initOverrides?: RequestInit): Promise<FlowSourceResponse>;
|
|
1364
1354
|
/**
|
|
1365
1355
|
* Options call for this endpoint
|
|
1366
1356
|
*/
|
|
@@ -1370,12 +1360,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1370
1360
|
*/
|
|
1371
1361
|
attachFlowSourceOptions(requestParameters: AttachFlowSourceOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1372
1362
|
/**
|
|
1373
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
1363
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/source instead. Sets the source wallet address and chain for an initiated transaction.
|
|
1374
1364
|
* Attach a source to a checkout transaction
|
|
1375
1365
|
*/
|
|
1376
1366
|
attachSourceRaw(requestParameters: AttachSourceOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
1377
1367
|
/**
|
|
1378
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
1368
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/source instead. Sets the source wallet address and chain for an initiated transaction.
|
|
1379
1369
|
* Attach a source to a checkout transaction
|
|
1380
1370
|
*/
|
|
1381
1371
|
attachSource(requestParameters: AttachSourceOperationRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
@@ -1493,21 +1483,31 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1493
1483
|
* Options call for this endpoint
|
|
1494
1484
|
*/
|
|
1495
1485
|
broadcastCheckoutTransactionOptions(requestParameters: BroadcastCheckoutTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1486
|
+
/**
|
|
1487
|
+
* Records the on-chain transaction hash and transitions the flow to the broadcasted state. This is the point of no return. The txHash is recorded against this flow only — it cannot mutate amount or destination. Authenticated by the capability sessionToken.
|
|
1488
|
+
* Record a broadcast for a flow
|
|
1489
|
+
*/
|
|
1490
|
+
broadcastFlowRaw(requestParameters: BroadcastFlowRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Records the on-chain transaction hash and transitions the flow to the broadcasted state. This is the point of no return. The txHash is recorded against this flow only — it cannot mutate amount or destination. Authenticated by the capability sessionToken.
|
|
1493
|
+
* Record a broadcast for a flow
|
|
1494
|
+
*/
|
|
1495
|
+
broadcastFlow(requestParameters: BroadcastFlowRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Options call for this endpoint
|
|
1498
1498
|
*/
|
|
1499
|
-
|
|
1499
|
+
broadcastFlowOptionsRaw(requestParameters: BroadcastFlowOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1500
1500
|
/**
|
|
1501
1501
|
* Options call for this endpoint
|
|
1502
1502
|
*/
|
|
1503
|
-
|
|
1503
|
+
broadcastFlowOptions(requestParameters: BroadcastFlowOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1504
1504
|
/**
|
|
1505
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
1505
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/cancel instead. Cancels a pre-broadcast transaction. Only allowed before the transaction is broadcasted.
|
|
1506
1506
|
* Cancel a checkout transaction
|
|
1507
1507
|
*/
|
|
1508
1508
|
cancelCheckoutTransactionRaw(requestParameters: CancelCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
1509
1509
|
/**
|
|
1510
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
1510
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/cancel instead. Cancels a pre-broadcast transaction. Only allowed before the transaction is broadcasted.
|
|
1511
1511
|
* Cancel a checkout transaction
|
|
1512
1512
|
*/
|
|
1513
1513
|
cancelCheckoutTransaction(requestParameters: CancelCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
@@ -1520,23 +1520,23 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1520
1520
|
*/
|
|
1521
1521
|
cancelCheckoutTransactionOptions(requestParameters: CancelCheckoutTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1522
1522
|
/**
|
|
1523
|
-
* Cancels a pre-broadcast
|
|
1524
|
-
* Cancel a
|
|
1523
|
+
* Cancels a pre-broadcast flow. Only allowed before the flow is broadcasted.
|
|
1524
|
+
* Cancel a flow
|
|
1525
1525
|
*/
|
|
1526
|
-
|
|
1526
|
+
cancelFlowRaw(requestParameters: CancelFlowRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
1527
1527
|
/**
|
|
1528
|
-
* Cancels a pre-broadcast
|
|
1529
|
-
* Cancel a
|
|
1528
|
+
* Cancels a pre-broadcast flow. Only allowed before the flow is broadcasted.
|
|
1529
|
+
* Cancel a flow
|
|
1530
1530
|
*/
|
|
1531
|
-
|
|
1531
|
+
cancelFlow(requestParameters: CancelFlowRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* Options call for this endpoint
|
|
1534
1534
|
*/
|
|
1535
|
-
|
|
1535
|
+
cancelFlowOptionsRaw(requestParameters: CancelFlowOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1536
1536
|
/**
|
|
1537
1537
|
* Options call for this endpoint
|
|
1538
1538
|
*/
|
|
1539
|
-
|
|
1539
|
+
cancelFlowOptions(requestParameters: CancelFlowOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1540
1540
|
/**
|
|
1541
1541
|
* This endpoint proxies requests to `/sdk/{environmentId}/providers/coinbasesocial/redirect` because Coinbase does not allow the string `coinbase` on the redirect URL path
|
|
1542
1542
|
* Handle Coinbase OAuth redirect
|
|
@@ -1709,24 +1709,6 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
1709
1709
|
* Options call for this endpoint
|
|
1710
1710
|
*/
|
|
1711
1711
|
createEmbeddedWalletsOptions(requestParameters: CreateEmbeddedWalletsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1712
|
-
/**
|
|
1713
|
-
* Creates a new checkout transaction for the specified checkout.
|
|
1714
|
-
* Create a checkout transaction
|
|
1715
|
-
*/
|
|
1716
|
-
createFlowCheckoutTransactionRaw(requestParameters: CreateFlowCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransactionCreateResponse>>;
|
|
1717
|
-
/**
|
|
1718
|
-
* Creates a new checkout transaction for the specified checkout.
|
|
1719
|
-
* Create a checkout transaction
|
|
1720
|
-
*/
|
|
1721
|
-
createFlowCheckoutTransaction(requestParameters: CreateFlowCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<CheckoutTransactionCreateResponse>;
|
|
1722
|
-
/**
|
|
1723
|
-
* Options call for this endpoint
|
|
1724
|
-
*/
|
|
1725
|
-
createFlowCheckoutTransactionOptionsRaw(requestParameters: CreateFlowCheckoutTransactionOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
1726
|
-
/**
|
|
1727
|
-
* Options call for this endpoint
|
|
1728
|
-
*/
|
|
1729
|
-
createFlowCheckoutTransactionOptions(requestParameters: CreateFlowCheckoutTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
1730
1712
|
/**
|
|
1731
1713
|
* Creates a new global wallet connection for the authenticated user.
|
|
1732
1714
|
* Create a global wallet connection
|
|
@@ -2324,12 +2306,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2324
2306
|
*/
|
|
2325
2307
|
getBackupTokenOptions(requestParameters: GetBackupTokenOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2326
2308
|
/**
|
|
2327
|
-
* Deprecated: use GET /sdk/{environmentId}/flow/
|
|
2309
|
+
* Deprecated: use GET /sdk/{environmentId}/flow/{flowId} instead.
|
|
2328
2310
|
* Get a checkout transaction by ID
|
|
2329
2311
|
*/
|
|
2330
2312
|
getCheckoutTransactionRaw(requestParameters: GetCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
2331
2313
|
/**
|
|
2332
|
-
* Deprecated: use GET /sdk/{environmentId}/flow/
|
|
2314
|
+
* Deprecated: use GET /sdk/{environmentId}/flow/{flowId} instead.
|
|
2333
2315
|
* Get a checkout transaction by ID
|
|
2334
2316
|
*/
|
|
2335
2317
|
getCheckoutTransaction(requestParameters: GetCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
@@ -2536,21 +2518,39 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2536
2518
|
*/
|
|
2537
2519
|
getExchangeTransferDestinationsOptions(requestParameters: GetExchangeTransferDestinationsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2538
2520
|
/**
|
|
2539
|
-
* Get a
|
|
2521
|
+
* Get a flow by ID
|
|
2540
2522
|
*/
|
|
2541
|
-
|
|
2523
|
+
getFlowRaw(requestParameters: GetFlowRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
2542
2524
|
/**
|
|
2543
|
-
* Get a
|
|
2525
|
+
* Get a flow by ID
|
|
2526
|
+
*/
|
|
2527
|
+
getFlow(requestParameters: GetFlowRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
2528
|
+
/**
|
|
2529
|
+
* Options call for this endpoint
|
|
2530
|
+
*/
|
|
2531
|
+
getFlowOptionsRaw(requestParameters: GetFlowOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
2532
|
+
/**
|
|
2533
|
+
* Options call for this endpoint
|
|
2534
|
+
*/
|
|
2535
|
+
getFlowOptions(requestParameters: GetFlowOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2536
|
+
/**
|
|
2537
|
+
* Fetches a swap quote and stores a versioned snapshot on the flow. Authenticated by the capability sessionToken minted at source.
|
|
2538
|
+
* Get a quote for a flow
|
|
2544
2539
|
*/
|
|
2545
|
-
|
|
2540
|
+
getFlowQuoteRaw(requestParameters: GetFlowQuoteRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
2541
|
+
/**
|
|
2542
|
+
* Fetches a swap quote and stores a versioned snapshot on the flow. Authenticated by the capability sessionToken minted at source.
|
|
2543
|
+
* Get a quote for a flow
|
|
2544
|
+
*/
|
|
2545
|
+
getFlowQuote(requestParameters: GetFlowQuoteRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
2546
2546
|
/**
|
|
2547
2547
|
* Options call for this endpoint
|
|
2548
2548
|
*/
|
|
2549
|
-
|
|
2549
|
+
getFlowQuoteOptionsRaw(requestParameters: GetFlowQuoteOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Options call for this endpoint
|
|
2552
2552
|
*/
|
|
2553
|
-
|
|
2553
|
+
getFlowQuoteOptions(requestParameters: GetFlowQuoteOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2554
2554
|
/**
|
|
2555
2555
|
* Returns the global wallet settings configured for the specified environment.
|
|
2556
2556
|
* Get the global wallet settings for the environment
|
|
@@ -3328,12 +3328,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3328
3328
|
*/
|
|
3329
3329
|
prefetch(requestParameters: PrefetchOperationRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3330
3330
|
/**
|
|
3331
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
3331
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/prepare instead. Validates quote freshness and risk clearance, then transitions the transaction to signing state.
|
|
3332
3332
|
* Prepare a checkout transaction for signing
|
|
3333
3333
|
*/
|
|
3334
3334
|
prepareCheckoutTransactionRaw(requestParameters: PrepareCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
3335
3335
|
/**
|
|
3336
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
3336
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/prepare instead. Validates quote freshness and risk clearance, then transitions the transaction to signing state.
|
|
3337
3337
|
* Prepare a checkout transaction for signing
|
|
3338
3338
|
*/
|
|
3339
3339
|
prepareCheckoutTransaction(requestParameters: PrepareCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
@@ -3346,23 +3346,23 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3346
3346
|
*/
|
|
3347
3347
|
prepareCheckoutTransactionOptions(requestParameters: PrepareCheckoutTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3348
3348
|
/**
|
|
3349
|
-
* Validates quote freshness and risk clearance, then transitions the
|
|
3350
|
-
* Prepare a
|
|
3349
|
+
* Validates quote freshness and risk clearance, then transitions the flow to the signing state and returns the unsigned payload to sign. Wallet sources only. Authenticated by the capability sessionToken.
|
|
3350
|
+
* Prepare a flow for signing
|
|
3351
3351
|
*/
|
|
3352
|
-
|
|
3352
|
+
prepareFlowSigningRaw(requestParameters: PrepareFlowSigningRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
3353
3353
|
/**
|
|
3354
|
-
* Validates quote freshness and risk clearance, then transitions the
|
|
3355
|
-
* Prepare a
|
|
3354
|
+
* Validates quote freshness and risk clearance, then transitions the flow to the signing state and returns the unsigned payload to sign. Wallet sources only. Authenticated by the capability sessionToken.
|
|
3355
|
+
* Prepare a flow for signing
|
|
3356
3356
|
*/
|
|
3357
|
-
|
|
3357
|
+
prepareFlowSigning(requestParameters: PrepareFlowSigningRequest, initOverrides?: RequestInit): Promise<Flow>;
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Options call for this endpoint
|
|
3360
3360
|
*/
|
|
3361
|
-
|
|
3361
|
+
prepareFlowSigningOptionsRaw(requestParameters: PrepareFlowSigningOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3362
3362
|
/**
|
|
3363
3363
|
* Options call for this endpoint
|
|
3364
3364
|
*/
|
|
3365
|
-
|
|
3365
|
+
prepareFlowSigningOptions(requestParameters: PrepareFlowSigningOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3366
3366
|
/**
|
|
3367
3367
|
* Publishes SDK analytics events for the given environment.
|
|
3368
3368
|
* Publish SDK events
|
|
@@ -3374,12 +3374,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3374
3374
|
*/
|
|
3375
3375
|
publishEvent(requestParameters: PublishEventRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3376
3376
|
/**
|
|
3377
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
3377
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/quote instead. Fetches a swap quote and stores a snapshot on the transaction.
|
|
3378
3378
|
* Get a quote for a checkout transaction
|
|
3379
3379
|
*/
|
|
3380
3380
|
quoteCheckoutTransactionRaw(requestParameters: QuoteCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
3381
3381
|
/**
|
|
3382
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
3382
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/quote instead. Fetches a swap quote and stores a snapshot on the transaction.
|
|
3383
3383
|
* Get a quote for a checkout transaction
|
|
3384
3384
|
*/
|
|
3385
3385
|
quoteCheckoutTransaction(requestParameters: QuoteCheckoutTransactionRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
@@ -3391,24 +3391,6 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3391
3391
|
* Options call for this endpoint
|
|
3392
3392
|
*/
|
|
3393
3393
|
quoteCheckoutTransactionOptions(requestParameters: QuoteCheckoutTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3394
|
-
/**
|
|
3395
|
-
* Fetches a swap quote and stores a snapshot on the transaction.
|
|
3396
|
-
* Get a quote for a checkout transaction
|
|
3397
|
-
*/
|
|
3398
|
-
quoteFlowTransactionRaw(requestParameters: QuoteFlowTransactionRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
3399
|
-
/**
|
|
3400
|
-
* Fetches a swap quote and stores a snapshot on the transaction.
|
|
3401
|
-
* Get a quote for a checkout transaction
|
|
3402
|
-
*/
|
|
3403
|
-
quoteFlowTransaction(requestParameters: QuoteFlowTransactionRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
3404
|
-
/**
|
|
3405
|
-
* Options call for this endpoint
|
|
3406
|
-
*/
|
|
3407
|
-
quoteFlowTransactionOptionsRaw(requestParameters: QuoteFlowTransactionOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3408
|
-
/**
|
|
3409
|
-
* Options call for this endpoint
|
|
3410
|
-
*/
|
|
3411
|
-
quoteFlowTransactionOptions(requestParameters: QuoteFlowTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3412
3394
|
/**
|
|
3413
3395
|
* Options call for this endpoint
|
|
3414
3396
|
*/
|
|
@@ -3418,25 +3400,15 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3418
3400
|
*/
|
|
3419
3401
|
realtimeAuthOptions(requestParameters: RealtimeAuthOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3420
3402
|
/**
|
|
3421
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
3403
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/broadcast instead. Records the on-chain transaction hash and transitions the transaction to broadcasted state. This is the point of no return.
|
|
3422
3404
|
* Record a broadcast for a checkout transaction
|
|
3423
3405
|
*/
|
|
3424
3406
|
recordCheckoutBroadcastRaw(requestParameters: RecordCheckoutBroadcastRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
3425
3407
|
/**
|
|
3426
|
-
* Deprecated: use POST /sdk/{environmentId}/flow/
|
|
3408
|
+
* Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/broadcast instead. Records the on-chain transaction hash and transitions the transaction to broadcasted state. This is the point of no return.
|
|
3427
3409
|
* Record a broadcast for a checkout transaction
|
|
3428
3410
|
*/
|
|
3429
3411
|
recordCheckoutBroadcast(requestParameters: RecordCheckoutBroadcastRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
3430
|
-
/**
|
|
3431
|
-
* Records the on-chain transaction hash and transitions the transaction to broadcasted state. This is the point of no return.
|
|
3432
|
-
* Record a broadcast for a checkout transaction
|
|
3433
|
-
*/
|
|
3434
|
-
recordFlowBroadcastRaw(requestParameters: RecordFlowBroadcastRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<CheckoutTransaction>>;
|
|
3435
|
-
/**
|
|
3436
|
-
* Records the on-chain transaction hash and transitions the transaction to broadcasted state. This is the point of no return.
|
|
3437
|
-
* Record a broadcast for a checkout transaction
|
|
3438
|
-
*/
|
|
3439
|
-
recordFlowBroadcast(requestParameters: RecordFlowBroadcastRequest, initOverrides?: RequestInit): Promise<CheckoutTransaction>;
|
|
3440
3412
|
/**
|
|
3441
3413
|
* Recovers the client key shares for the specified WAAS wallet from backup.
|
|
3442
3414
|
* Recover WAAS keyshares
|