@dynamic-labs/sdk-api 0.119.0 → 0.120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.js +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.js +2 -0
- package/src/models/BadRequest.d.ts +1 -1
- package/src/models/Flow.d.ts +1 -1
- package/src/models/FlowCreateRequest.d.ts +1 -1
- package/src/models/FlowExchange.d.ts +40 -0
- package/src/models/FlowExchange.js +31 -0
- package/src/models/FlowExchangesResponse.d.ts +3 -3
- package/src/models/FlowExchangesResponse.js +3 -3
- package/src/models/FlowQuoteAmountCurrencyEnum.d.ts +23 -0
- package/src/models/FlowQuoteAmountCurrencyEnum.js +34 -0
- package/src/models/FlowQuoteRequest.d.ts +13 -0
- package/src/models/FlowQuoteRequest.js +5 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
package/src/apis/AnalyticsApi.js
CHANGED
|
@@ -124,6 +124,7 @@ import '../models/FlowModeEnum.js';
|
|
|
124
124
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
125
125
|
import '../models/FlowCurrencyEnum.js';
|
|
126
126
|
import '../models/FlowListItem.js';
|
|
127
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
127
128
|
import '../models/GateRuleType.js';
|
|
128
129
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
129
130
|
import '../models/PasskeyTransport.js';
|
|
@@ -121,6 +121,7 @@ import '../models/FlowModeEnum.js';
|
|
|
121
121
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
122
122
|
import '../models/FlowCurrencyEnum.js';
|
|
123
123
|
import '../models/FlowListItem.js';
|
|
124
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
125
126
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
126
127
|
import '../models/PasskeyTransport.js';
|
|
@@ -126,6 +126,7 @@ import '../models/FlowModeEnum.js';
|
|
|
126
126
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
127
127
|
import '../models/FlowCurrencyEnum.js';
|
|
128
128
|
import '../models/FlowListItem.js';
|
|
129
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
129
130
|
import '../models/GateRuleType.js';
|
|
130
131
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
131
132
|
import '../models/PasskeyTransport.js';
|
package/src/apis/CaptchaApi.js
CHANGED
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
|
@@ -120,6 +120,7 @@ import '../models/FlowModeEnum.js';
|
|
|
120
120
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
121
121
|
import '../models/FlowCurrencyEnum.js';
|
|
122
122
|
import '../models/FlowListItem.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ChainsApi.js
CHANGED
|
@@ -120,6 +120,7 @@ import '../models/FlowModeEnum.js';
|
|
|
120
120
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
121
121
|
import '../models/FlowCurrencyEnum.js';
|
|
122
122
|
import '../models/FlowListItem.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
package/src/apis/CheckoutApi.js
CHANGED
|
@@ -121,6 +121,7 @@ import '../models/FlowModeEnum.js';
|
|
|
121
121
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
122
122
|
import '../models/FlowCurrencyEnum.js';
|
|
123
123
|
import '../models/FlowListItem.js';
|
|
124
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
125
126
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
126
127
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -121,6 +121,7 @@ import '../models/FlowModeEnum.js';
|
|
|
121
121
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
122
122
|
import '../models/FlowCurrencyEnum.js';
|
|
123
123
|
import '../models/FlowListItem.js';
|
|
124
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
125
126
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
126
127
|
import '../models/PasskeyTransport.js';
|
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
|
@@ -121,6 +121,7 @@ import '../models/FlowModeEnum.js';
|
|
|
121
121
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
122
122
|
import '../models/FlowCurrencyEnum.js';
|
|
123
123
|
import '../models/FlowListItem.js';
|
|
124
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
125
126
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
126
127
|
import '../models/PasskeyTransport.js';
|
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
|
@@ -110,6 +110,7 @@ import '../models/FlowModeEnum.js';
|
|
|
110
110
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
111
111
|
import '../models/FlowCurrencyEnum.js';
|
|
112
112
|
import '../models/FlowListItem.js';
|
|
113
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
113
114
|
import '../models/OnrampProviders.js';
|
|
114
115
|
import '../models/GateRuleType.js';
|
|
115
116
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
package/src/apis/EventsApi.js
CHANGED
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ExchangesApi.js
CHANGED
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ExportsApi.js
CHANGED
|
@@ -122,6 +122,7 @@ import '../models/FlowModeEnum.js';
|
|
|
122
122
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
123
123
|
import '../models/FlowCurrencyEnum.js';
|
|
124
124
|
import '../models/FlowListItem.js';
|
|
125
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
125
126
|
import '../models/GateRuleType.js';
|
|
126
127
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
127
128
|
import '../models/PasskeyTransport.js';
|
|
@@ -121,6 +121,7 @@ import '../models/FlowModeEnum.js';
|
|
|
121
121
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
122
122
|
import '../models/FlowCurrencyEnum.js';
|
|
123
123
|
import '../models/FlowListItem.js';
|
|
124
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
125
126
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
126
127
|
import '../models/PasskeyTransport.js';
|
|
@@ -120,6 +120,7 @@ import { FlowAnalyticsSummaryResponseFromJSON } from '../models/FlowAnalyticsSum
|
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
122
|
import { FlowListResponseFromJSON } from '../models/FlowListResponse.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
package/src/apis/GaslessApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import { GaslessBillingSummaryResponseFromJSON } from '../models/GaslessBillingSummaryResponse.js';
|
|
123
124
|
import { GaslessTransactionsListResponseFromJSON } from '../models/GaslessTransactionsListResponse.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
package/src/apis/GatesApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import { GateFromJSON } from '../models/Gate.js';
|
|
123
124
|
import { GateCreateRequestToJSON } from '../models/GateCreateRequest.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/InvitesApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/KybApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/MembersApi.js
CHANGED
|
@@ -120,6 +120,7 @@ import '../models/FlowModeEnum.js';
|
|
|
120
120
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
121
121
|
import '../models/FlowCurrencyEnum.js';
|
|
122
122
|
import '../models/FlowListItem.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -121,6 +121,7 @@ import '../models/FlowModeEnum.js';
|
|
|
121
121
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
122
122
|
import '../models/FlowCurrencyEnum.js';
|
|
123
123
|
import '../models/FlowListItem.js';
|
|
124
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
124
125
|
import '../models/GateRuleType.js';
|
|
125
126
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
126
127
|
import '../models/PasskeyTransport.js';
|
package/src/apis/OriginsApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ProjectsApi.js
CHANGED
|
@@ -120,6 +120,7 @@ import '../models/FlowModeEnum.js';
|
|
|
120
120
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
121
121
|
import '../models/FlowCurrencyEnum.js';
|
|
122
122
|
import '../models/FlowListItem.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ProvidersApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -171,6 +171,7 @@ import '../models/FlowExecutionStateEnum.js';
|
|
|
171
171
|
import '../models/FlowListItem.js';
|
|
172
172
|
import '../models/FlowModeEnum.js';
|
|
173
173
|
import { FlowPrepareSigningRequestToJSON } from '../models/FlowPrepareSigningRequest.js';
|
|
174
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
174
175
|
import { FlowQuoteRequestToJSON } from '../models/FlowQuoteRequest.js';
|
|
175
176
|
import { FlowRecordBroadcastRequestToJSON } from '../models/FlowRecordBroadcastRequest.js';
|
|
176
177
|
import '../models/FlowRiskStateEnum.js';
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -117,6 +117,7 @@ import '../models/FlowModeEnum.js';
|
|
|
117
117
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
118
118
|
import '../models/FlowCurrencyEnum.js';
|
|
119
119
|
import '../models/FlowListItem.js';
|
|
120
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
120
121
|
import '../models/GateRuleType.js';
|
|
121
122
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
122
123
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ServerApi.js
CHANGED
|
@@ -142,6 +142,7 @@ import '../models/FlowListItem.js';
|
|
|
142
142
|
import '../models/FlowModeEnum.js';
|
|
143
143
|
import { FlowPaymentLinkCreateRequestToJSON } from '../models/FlowPaymentLinkCreateRequest.js';
|
|
144
144
|
import { FlowPaymentLinkCreateResponseFromJSON } from '../models/FlowPaymentLinkCreateResponse.js';
|
|
145
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
145
146
|
import '../models/GateRuleType.js';
|
|
146
147
|
import { GeneratedTokenResponseFromJSON } from '../models/GeneratedTokenResponse.js';
|
|
147
148
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -120,6 +120,7 @@ import '../models/FlowModeEnum.js';
|
|
|
120
120
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
121
121
|
import '../models/FlowCurrencyEnum.js';
|
|
122
122
|
import '../models/FlowListItem.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -120,6 +120,7 @@ import '../models/FlowModeEnum.js';
|
|
|
120
120
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
121
121
|
import '../models/FlowCurrencyEnum.js';
|
|
122
122
|
import '../models/FlowListItem.js';
|
|
123
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
123
124
|
import '../models/GateRuleType.js';
|
|
124
125
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
125
126
|
import '../models/PasskeyTransport.js';
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -123,6 +123,7 @@ import '../models/FlowModeEnum.js';
|
|
|
123
123
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
124
124
|
import '../models/FlowCurrencyEnum.js';
|
|
125
125
|
import '../models/FlowListItem.js';
|
|
126
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
126
127
|
import '../models/GateRuleType.js';
|
|
127
128
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
128
129
|
import '../models/PasskeyTransport.js';
|
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -123,6 +123,7 @@ import '../models/FlowModeEnum.js';
|
|
|
123
123
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
124
124
|
import '../models/FlowCurrencyEnum.js';
|
|
125
125
|
import '../models/FlowListItem.js';
|
|
126
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
126
127
|
import '../models/GateRuleType.js';
|
|
127
128
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
128
129
|
import '../models/PasskeyTransport.js';
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/YieldApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/apis/ZendeskApi.js
CHANGED
|
@@ -119,6 +119,7 @@ import '../models/FlowModeEnum.js';
|
|
|
119
119
|
import '../models/FlowAnalyticsSummaryResponse.js';
|
|
120
120
|
import '../models/FlowCurrencyEnum.js';
|
|
121
121
|
import '../models/FlowListItem.js';
|
|
122
|
+
import '../models/FlowQuoteAmountCurrencyEnum.js';
|
|
122
123
|
import '../models/GateRuleType.js';
|
|
123
124
|
import '../models/GetEVMSponsoredTransactionStatusResponse.js';
|
|
124
125
|
import '../models/PasskeyTransport.js';
|
package/src/index.js
CHANGED
|
@@ -380,6 +380,7 @@ export { FlowAttachSourceRequestFromJSON, FlowAttachSourceRequestFromJSONTyped,
|
|
|
380
380
|
export { FlowCreateRequestFromJSON, FlowCreateRequestFromJSONTyped, FlowCreateRequestToJSON } from './models/FlowCreateRequest.js';
|
|
381
381
|
export { FlowCreateResponseFromJSON, FlowCreateResponseFromJSONTyped, FlowCreateResponseToJSON } from './models/FlowCreateResponse.js';
|
|
382
382
|
export { FlowCurrencyEnum, FlowCurrencyEnumFromJSON, FlowCurrencyEnumFromJSONTyped, FlowCurrencyEnumToJSON } from './models/FlowCurrencyEnum.js';
|
|
383
|
+
export { FlowExchangeFromJSON, FlowExchangeFromJSONTyped, FlowExchangeToJSON } from './models/FlowExchange.js';
|
|
383
384
|
export { FlowExchangeSourceFromJSON, FlowExchangeSourceFromJSONTyped, FlowExchangeSourceToJSON } from './models/FlowExchangeSource.js';
|
|
384
385
|
export { FlowExchangesResponseFromJSON, FlowExchangesResponseFromJSONTyped, FlowExchangesResponseToJSON } from './models/FlowExchangesResponse.js';
|
|
385
386
|
export { FlowExecutionStateEnum, FlowExecutionStateEnumFromJSON, FlowExecutionStateEnumFromJSONTyped, FlowExecutionStateEnumToJSON } from './models/FlowExecutionStateEnum.js';
|
|
@@ -405,6 +406,7 @@ export { FlowPaymentLinkCreateResponseFromJSON, FlowPaymentLinkCreateResponseFro
|
|
|
405
406
|
export { FlowPaymentLinkCreateResponseExtraFieldsFromJSON, FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped, FlowPaymentLinkCreateResponseExtraFieldsToJSON } from './models/FlowPaymentLinkCreateResponseExtraFields.js';
|
|
406
407
|
export { FlowPrepareSigningRequestFromJSON, FlowPrepareSigningRequestFromJSONTyped, FlowPrepareSigningRequestToJSON } from './models/FlowPrepareSigningRequest.js';
|
|
407
408
|
export { FlowQuoteFromJSON, FlowQuoteFromJSONTyped, FlowQuoteToJSON } from './models/FlowQuote.js';
|
|
409
|
+
export { FlowQuoteAmountCurrencyEnum, FlowQuoteAmountCurrencyEnumFromJSON, FlowQuoteAmountCurrencyEnumFromJSONTyped, FlowQuoteAmountCurrencyEnumToJSON } from './models/FlowQuoteAmountCurrencyEnum.js';
|
|
408
410
|
export { FlowQuoteRequestFromJSON, FlowQuoteRequestFromJSONTyped, FlowQuoteRequestToJSON } from './models/FlowQuoteRequest.js';
|
|
409
411
|
export { FlowRecordBroadcastRequestFromJSON, FlowRecordBroadcastRequestFromJSONTyped, FlowRecordBroadcastRequestToJSON } from './models/FlowRecordBroadcastRequest.js';
|
|
410
412
|
export { FlowRiskStateEnum, FlowRiskStateEnumFromJSON, FlowRiskStateEnumFromJSONTyped, FlowRiskStateEnumToJSON } from './models/FlowRiskStateEnum.js';
|
|
@@ -22,7 +22,7 @@ export interface BadRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
error?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Machine-readable reason for the 400, set only by endpoints that distinguish rejections.
|
|
25
|
+
* Machine-readable reason for the 400, set only by endpoints that distinguish rejections.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof BadRequest
|
|
28
28
|
*/
|
package/src/models/Flow.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface Flow {
|
|
|
42
42
|
*/
|
|
43
43
|
mode: FlowModeEnum;
|
|
44
44
|
/**
|
|
45
|
-
* Amount in the specified currency. Set
|
|
45
|
+
* Amount in the specified currency. Set at create by the API-key caller. Immutable for payment and withdraw flows; for deposit flows it is a suggested amount the payer can change when quoting.
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof Flow
|
|
48
48
|
*/
|
|
@@ -15,7 +15,7 @@ import { FlowFeeConfig } from './FlowFeeConfig';
|
|
|
15
15
|
import { FlowUIConfig } from './FlowUIConfig';
|
|
16
16
|
import { SettlementConfigInput } from './SettlementConfigInput';
|
|
17
17
|
/**
|
|
18
|
-
* Create-time payload for a flow.
|
|
18
|
+
* Create-time payload for a flow. currency, settlementConfig and destinationConfig are written once here (by a trusted API-key caller) and are accepted by no later endpoint; so is amount, except that a deposit flow's payer can change it when quoting. mode is supplied in the URL path.
|
|
19
19
|
* @export
|
|
20
20
|
* @interface FlowCreateRequest
|
|
21
21
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ExchangeKeyEnum } from './ExchangeKeyEnum';
|
|
13
|
+
/**
|
|
14
|
+
* An exchange a flow can be paid with, ready to display.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowExchange
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowExchange {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ExchangeKeyEnum}
|
|
22
|
+
* @memberof FlowExchange
|
|
23
|
+
*/
|
|
24
|
+
key: ExchangeKeyEnum;
|
|
25
|
+
/**
|
|
26
|
+
* The exchange's display name, e.g. "Coinbase".
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FlowExchange
|
|
29
|
+
*/
|
|
30
|
+
label: string;
|
|
31
|
+
/**
|
|
32
|
+
* Absolute HTTPS URL of the exchange's logo.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof FlowExchange
|
|
35
|
+
*/
|
|
36
|
+
iconUrl: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function FlowExchangeFromJSON(json: any): FlowExchange;
|
|
39
|
+
export declare function FlowExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowExchange;
|
|
40
|
+
export declare function FlowExchangeToJSON(value?: FlowExchange | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ExchangeKeyEnumFromJSON, ExchangeKeyEnumToJSON } from './ExchangeKeyEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowExchangeFromJSON(json) {
|
|
5
|
+
return FlowExchangeFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowExchangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'key': ExchangeKeyEnumFromJSON(json['key']),
|
|
13
|
+
'label': json['label'],
|
|
14
|
+
'iconUrl': json['iconUrl'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function FlowExchangeToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'key': ExchangeKeyEnumToJSON(value.key),
|
|
26
|
+
'label': value.label,
|
|
27
|
+
'iconUrl': value.iconUrl,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { FlowExchangeFromJSON, FlowExchangeFromJSONTyped, FlowExchangeToJSON };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { FlowExchange } from './FlowExchange';
|
|
13
13
|
/**
|
|
14
14
|
* The exchanges a flow can be paid with.
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import { ExchangeKeyEnum } from './ExchangeKeyEnum';
|
|
|
18
18
|
export interface FlowExchangesResponse {
|
|
19
19
|
/**
|
|
20
20
|
* Exchanges that can be attached as the flow's source.
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<FlowExchange>}
|
|
22
22
|
* @memberof FlowExchangesResponse
|
|
23
23
|
*/
|
|
24
|
-
exchanges: Array<
|
|
24
|
+
exchanges: Array<FlowExchange>;
|
|
25
25
|
}
|
|
26
26
|
export declare function FlowExchangesResponseFromJSON(json: any): FlowExchangesResponse;
|
|
27
27
|
export declare function FlowExchangesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowExchangesResponse;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowExchangeFromJSON, FlowExchangeToJSON } from './FlowExchange.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
function FlowExchangesResponseFromJSON(json) {
|
|
@@ -9,7 +9,7 @@ function FlowExchangesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
-
'exchanges': (json['exchanges'].map(
|
|
12
|
+
'exchanges': (json['exchanges'].map(FlowExchangeFromJSON)),
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
function FlowExchangesResponseToJSON(value) {
|
|
@@ -20,7 +20,7 @@ function FlowExchangesResponseToJSON(value) {
|
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
-
'exchanges': (value.exchanges.map(
|
|
23
|
+
'exchanges': (value.exchanges.map(FlowExchangeToJSON)),
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Currency a quote-time amount is denominated in. USD prices the amount against the source token. SOURCE_TOKEN denominates it directly in the source token (e.g. "1" for 1 ETH, not wei).
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum FlowQuoteAmountCurrencyEnum {
|
|
18
|
+
Usd = "USD",
|
|
19
|
+
SourceToken = "SOURCE_TOKEN"
|
|
20
|
+
}
|
|
21
|
+
export declare function FlowQuoteAmountCurrencyEnumFromJSON(json: any): FlowQuoteAmountCurrencyEnum;
|
|
22
|
+
export declare function FlowQuoteAmountCurrencyEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowQuoteAmountCurrencyEnum;
|
|
23
|
+
export declare function FlowQuoteAmountCurrencyEnumToJSON(value?: FlowQuoteAmountCurrencyEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Currency a quote-time amount is denominated in. USD prices the amount against the source token. SOURCE_TOKEN denominates it directly in the source token (e.g. "1" for 1 ETH, not wei).
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var FlowQuoteAmountCurrencyEnum;
|
|
20
|
+
(function (FlowQuoteAmountCurrencyEnum) {
|
|
21
|
+
FlowQuoteAmountCurrencyEnum["Usd"] = "USD";
|
|
22
|
+
FlowQuoteAmountCurrencyEnum["SourceToken"] = "SOURCE_TOKEN";
|
|
23
|
+
})(FlowQuoteAmountCurrencyEnum || (FlowQuoteAmountCurrencyEnum = {}));
|
|
24
|
+
function FlowQuoteAmountCurrencyEnumFromJSON(json) {
|
|
25
|
+
return FlowQuoteAmountCurrencyEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function FlowQuoteAmountCurrencyEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function FlowQuoteAmountCurrencyEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { FlowQuoteAmountCurrencyEnum, FlowQuoteAmountCurrencyEnumFromJSON, FlowQuoteAmountCurrencyEnumFromJSONTyped, FlowQuoteAmountCurrencyEnumToJSON };
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { FlowQuoteAmountCurrencyEnum } from './FlowQuoteAmountCurrencyEnum';
|
|
12
13
|
/**
|
|
13
14
|
* Request body for fetching a quote on a flow.
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,18 @@ export interface FlowQuoteRequest {
|
|
|
33
34
|
* @memberof FlowQuoteRequest
|
|
34
35
|
*/
|
|
35
36
|
slippage?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Amount to deposit, replacing the flow's suggested amount. Deposit flows with a wallet or deposit-address source only. A positive decimal in `amountCurrency` units. When omitted, the quote uses the flow's current (USD) amount, so resend a SOURCE_TOKEN amount on every re-quote to keep the deposit fixed in the source token.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FlowQuoteRequest
|
|
41
|
+
*/
|
|
42
|
+
amount?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Currency `amount` is denominated in. Defaults to USD.
|
|
45
|
+
* @type {FlowQuoteAmountCurrencyEnum}
|
|
46
|
+
* @memberof FlowQuoteRequest
|
|
47
|
+
*/
|
|
48
|
+
amountCurrency?: FlowQuoteAmountCurrencyEnum | null;
|
|
36
49
|
}
|
|
37
50
|
export declare function FlowQuoteRequestFromJSON(json: any): FlowQuoteRequest;
|
|
38
51
|
export declare function FlowQuoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowQuoteRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { FlowQuoteAmountCurrencyEnumFromJSON, FlowQuoteAmountCurrencyEnumToJSON } from './FlowQuoteAmountCurrencyEnum.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function FlowQuoteRequestFromJSON(json) {
|
|
@@ -12,6 +13,8 @@ function FlowQuoteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
'fromTokenAddress': !exists(json, 'fromTokenAddress') ? undefined : json['fromTokenAddress'],
|
|
13
14
|
'fromChainId': !exists(json, 'fromChainId') ? undefined : json['fromChainId'],
|
|
14
15
|
'slippage': !exists(json, 'slippage') ? undefined : json['slippage'],
|
|
16
|
+
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
17
|
+
'amountCurrency': !exists(json, 'amountCurrency') ? undefined : FlowQuoteAmountCurrencyEnumFromJSON(json['amountCurrency']),
|
|
15
18
|
};
|
|
16
19
|
}
|
|
17
20
|
function FlowQuoteRequestToJSON(value) {
|
|
@@ -25,6 +28,8 @@ function FlowQuoteRequestToJSON(value) {
|
|
|
25
28
|
'fromTokenAddress': value.fromTokenAddress,
|
|
26
29
|
'fromChainId': value.fromChainId,
|
|
27
30
|
'slippage': value.slippage,
|
|
31
|
+
'amount': value.amount,
|
|
32
|
+
'amountCurrency': FlowQuoteAmountCurrencyEnumToJSON(value.amountCurrency),
|
|
28
33
|
};
|
|
29
34
|
}
|
|
30
35
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -327,6 +327,7 @@ export * from './FlowAttachSourceRequest';
|
|
|
327
327
|
export * from './FlowCreateRequest';
|
|
328
328
|
export * from './FlowCreateResponse';
|
|
329
329
|
export * from './FlowCurrencyEnum';
|
|
330
|
+
export * from './FlowExchange';
|
|
330
331
|
export * from './FlowExchangeSource';
|
|
331
332
|
export * from './FlowExchangesResponse';
|
|
332
333
|
export * from './FlowExecutionStateEnum';
|
|
@@ -352,6 +353,7 @@ export * from './FlowPaymentLinkCreateResponse';
|
|
|
352
353
|
export * from './FlowPaymentLinkCreateResponseExtraFields';
|
|
353
354
|
export * from './FlowPrepareSigningRequest';
|
|
354
355
|
export * from './FlowQuote';
|
|
356
|
+
export * from './FlowQuoteAmountCurrencyEnum';
|
|
355
357
|
export * from './FlowQuoteRequest';
|
|
356
358
|
export * from './FlowRecordBroadcastRequest';
|
|
357
359
|
export * from './FlowRiskStateEnum';
|