@dynamic-labs/sdk-api 0.119.0 → 0.121.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 +2 -0
- package/src/apis/AllowlistsApi.js +2 -0
- package/src/apis/AnalyticsApi.js +2 -0
- package/src/apis/AuthorizedClientsApi.js +2 -0
- package/src/apis/BusinessAccountsApi.js +2 -0
- package/src/apis/CaptchaApi.js +2 -0
- package/src/apis/ChainalysisApi.js +2 -0
- package/src/apis/ChainsApi.js +2 -0
- package/src/apis/CheckoutApi.js +2 -0
- package/src/apis/ClientGrantApi.js +2 -0
- package/src/apis/CustomFieldsApi.js +2 -0
- package/src/apis/CustomHostnamesApi.js +2 -0
- package/src/apis/CustomNetworksApi.js +2 -0
- package/src/apis/DeeplinkUrlsApi.js +2 -0
- package/src/apis/EnvironmentsApi.js +2 -0
- package/src/apis/EventsApi.js +2 -0
- package/src/apis/ExchangesApi.js +2 -0
- package/src/apis/ExportsApi.js +2 -0
- package/src/apis/ExternalJwtApi.js +2 -0
- package/src/apis/FlowAnalyticsApi.js +2 -0
- package/src/apis/GaslessApi.js +2 -0
- package/src/apis/GatesApi.js +2 -0
- package/src/apis/GlobalWalletAccessControlApi.js +2 -0
- package/src/apis/GlobalWalletConnectionsApi.js +2 -0
- package/src/apis/GlobalWalletsApi.js +2 -0
- package/src/apis/InvitesApi.js +2 -0
- package/src/apis/KybApi.js +2 -0
- package/src/apis/MembersApi.js +2 -0
- package/src/apis/MfaSettingsApi.js +2 -0
- package/src/apis/NameServicesApi.js +2 -0
- package/src/apis/OrganizationSettingsApi.js +2 -0
- package/src/apis/OrganizationsApi.js +2 -0
- package/src/apis/OriginsApi.js +2 -0
- package/src/apis/ProjectsApi.js +2 -0
- package/src/apis/ProvidersApi.js +2 -0
- package/src/apis/SDKApi.js +2 -0
- package/src/apis/SDKViewsApi.js +2 -0
- package/src/apis/ScreeningPoliciesApi.js +2 -0
- package/src/apis/ServerApi.js +2 -0
- package/src/apis/SessionsApi.js +2 -0
- package/src/apis/TestAccountApi.js +2 -0
- package/src/apis/TokensApi.js +2 -0
- package/src/apis/UserApiTokensApi.js +2 -0
- package/src/apis/UsersApi.js +2 -0
- package/src/apis/VisitsApi.js +2 -0
- package/src/apis/WaasApi.js +2 -0
- package/src/apis/WalletConnectApi.js +2 -0
- package/src/apis/WalletsApi.js +2 -0
- package/src/apis/WebhooksApi.js +2 -0
- package/src/apis/YieldApi.js +2 -0
- package/src/apis/ZendeskApi.js +2 -0
- package/src/index.js +3 -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/ReshareRequest.d.ts +7 -0
- package/src/models/ReshareRequest.js +3 -0
- package/src/models/ReshareRequestOfflineRecoveryEncryptionKey.d.ts +45 -0
- package/src/models/ReshareRequestOfflineRecoveryEncryptionKey.js +47 -0
- package/src/models/index.d.ts +3 -0
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';
|
|
@@ -148,6 +149,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
148
149
|
import '../models/PublishEventsEvents.js';
|
|
149
150
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
150
151
|
import '../models/ReshareKind.js';
|
|
152
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
151
153
|
import '../models/ServerSigningKeyStatus.js';
|
|
152
154
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
153
155
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -185,6 +186,7 @@ import { RemoveBusinessAccountSignerSdkRequestToJSON } from '../models/RemoveBus
|
|
|
185
186
|
import { RemoveBusinessAccountWalletSdkRequestToJSON } from '../models/RemoveBusinessAccountWalletSdkRequest.js';
|
|
186
187
|
import '../models/ReshareKind.js';
|
|
187
188
|
import { ReshareRequestToJSON } from '../models/ReshareRequest.js';
|
|
189
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
188
190
|
import '../models/ServerSigningKeyStatus.js';
|
|
189
191
|
import '../models/RoomTypeEnum.js';
|
|
190
192
|
import '../models/SanctionsWalletBlockedEventPayload.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';
|
|
@@ -151,6 +152,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
151
152
|
import '../models/PublishEventsEvents.js';
|
|
152
153
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
153
154
|
import '../models/ReshareKind.js';
|
|
155
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
154
156
|
import { RevokeAllSessionsResponseFromJSON } from '../models/RevokeAllSessionsResponse.js';
|
|
155
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
156
158
|
import '../models/SanctionsWalletBlockedEventPayload.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -152,6 +153,7 @@ import '../models/TokenScopes.js';
|
|
|
152
153
|
import '../models/PublishEventsEvents.js';
|
|
153
154
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
154
155
|
import '../models/ReshareKind.js';
|
|
156
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
155
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
156
158
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
157
159
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -152,6 +153,7 @@ import { PostTokenFieldsToJSON } from '../models/PostTokenFields.js';
|
|
|
152
153
|
import '../models/PublishEventsEvents.js';
|
|
153
154
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
154
155
|
import '../models/ReshareKind.js';
|
|
156
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
155
157
|
import '../models/ServerSigningKeyStatus.js';
|
|
156
158
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
157
159
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -154,6 +155,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
154
155
|
import '../models/PublishEventsEvents.js';
|
|
155
156
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
156
157
|
import '../models/ReshareKind.js';
|
|
158
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
157
159
|
import '../models/ServerSigningKeyStatus.js';
|
|
158
160
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
159
161
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -155,6 +156,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
155
156
|
import '../models/PublishEventsEvents.js';
|
|
156
157
|
import { RegisterServerSigningKeyRequestToJSON } from '../models/RegisterServerSigningKeyRequest.js';
|
|
157
158
|
import '../models/ReshareKind.js';
|
|
159
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
158
160
|
import { RevokeDelegatedAccessRequestToJSON } from '../models/RevokeDelegatedAccessRequest.js';
|
|
159
161
|
import { RevokeDelegatedAccessResponseFromJSON } from '../models/RevokeDelegatedAccessResponse.js';
|
|
160
162
|
import { RevokedServerSigningKeyResponseFromJSON } from '../models/RevokedServerSigningKeyResponse.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -154,6 +155,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
154
155
|
import '../models/PublishEventsEvents.js';
|
|
155
156
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
156
157
|
import '../models/ReshareKind.js';
|
|
158
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
157
159
|
import '../models/ServerSigningKeyStatus.js';
|
|
158
160
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
159
161
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -150,6 +151,7 @@ import '../models/WhenToImplementEnum.js';
|
|
|
150
151
|
import '../models/PublishEventsEvents.js';
|
|
151
152
|
import '../models/ServerSigningRegistrationConsent.js';
|
|
152
153
|
import '../models/ReshareKind.js';
|
|
154
|
+
import '../models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
153
155
|
import '../models/ServerSigningKeyStatus.js';
|
|
154
156
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
155
157
|
import '../models/ScreenTransactionResponse.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';
|
|
@@ -715,6 +717,7 @@ export { RemoveBusinessAccountSignerSdkRequestFromJSON, RemoveBusinessAccountSig
|
|
|
715
717
|
export { RemoveBusinessAccountWalletSdkRequestFromJSON, RemoveBusinessAccountWalletSdkRequestFromJSONTyped, RemoveBusinessAccountWalletSdkRequestToJSON } from './models/RemoveBusinessAccountWalletSdkRequest.js';
|
|
716
718
|
export { ReshareKind, ReshareKindFromJSON, ReshareKindFromJSONTyped, ReshareKindToJSON } from './models/ReshareKind.js';
|
|
717
719
|
export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.js';
|
|
720
|
+
export { ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum, ReshareRequestOfflineRecoveryEncryptionKeyFromJSON, ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped, ReshareRequestOfflineRecoveryEncryptionKeyToJSON } from './models/ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
718
721
|
export { ResidentKeyRequirement, ResidentKeyRequirementFromJSON, ResidentKeyRequirementFromJSONTyped, ResidentKeyRequirementToJSON } from './models/ResidentKeyRequirement.js';
|
|
719
722
|
export { RetentionTrendResultFromJSON, RetentionTrendResultFromJSONTyped, RetentionTrendResultToJSON } from './models/RetentionTrendResult.js';
|
|
720
723
|
export { RevokeAllSessionsResponseFromJSON, RevokeAllSessionsResponseFromJSONTyped, RevokeAllSessionsResponseToJSON } from './models/RevokeAllSessionsResponse.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
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ReshareKind } from './ReshareKind';
|
|
13
|
+
import { ReshareRequestOfflineRecoveryEncryptionKey } from './ReshareRequestOfflineRecoveryEncryptionKey';
|
|
13
14
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
14
15
|
import { WaasPolicyRule } from './WaasPolicyRule';
|
|
15
16
|
/**
|
|
@@ -73,6 +74,12 @@ export interface ReshareRequest {
|
|
|
73
74
|
* @memberof ReshareRequest
|
|
74
75
|
*/
|
|
75
76
|
initialSignerRules?: Array<WaasPolicyRule>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {ReshareRequestOfflineRecoveryEncryptionKey}
|
|
80
|
+
* @memberof ReshareRequest
|
|
81
|
+
*/
|
|
82
|
+
offlineRecoveryEncryptionKey?: ReshareRequestOfflineRecoveryEncryptionKey;
|
|
76
83
|
}
|
|
77
84
|
export declare function ReshareRequestFromJSON(json: any): ReshareRequest;
|
|
78
85
|
export declare function ReshareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequest;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { ReshareKindFromJSON, ReshareKindToJSON } from './ReshareKind.js';
|
|
3
|
+
import { ReshareRequestOfflineRecoveryEncryptionKeyFromJSON, ReshareRequestOfflineRecoveryEncryptionKeyToJSON } from './ReshareRequestOfflineRecoveryEncryptionKey.js';
|
|
3
4
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
4
5
|
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
5
6
|
|
|
@@ -20,6 +21,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
'reshareKind': !exists(json, 'reshareKind') ? undefined : ReshareKindFromJSON(json['reshareKind']),
|
|
21
22
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
22
23
|
'initialSignerRules': !exists(json, 'initialSignerRules') ? undefined : (json['initialSignerRules'].map(WaasPolicyRuleFromJSON)),
|
|
24
|
+
'offlineRecoveryEncryptionKey': !exists(json, 'offlineRecoveryEncryptionKey') ? undefined : ReshareRequestOfflineRecoveryEncryptionKeyFromJSON(json['offlineRecoveryEncryptionKey']),
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
27
|
function ReshareRequestToJSON(value) {
|
|
@@ -38,6 +40,7 @@ function ReshareRequestToJSON(value) {
|
|
|
38
40
|
'reshareKind': ReshareKindToJSON(value.reshareKind),
|
|
39
41
|
'shareSetId': value.shareSetId,
|
|
40
42
|
'initialSignerRules': value.initialSignerRules === undefined ? undefined : (value.initialSignerRules.map(WaasPolicyRuleToJSON)),
|
|
43
|
+
'offlineRecoveryEncryptionKey': ReshareRequestOfflineRecoveryEncryptionKeyToJSON(value.offlineRecoveryEncryptionKey),
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Caller-supplied RSA public key to encrypt the recovery share to on an
|
|
14
|
+
* `offlineRecovery` reshare — e.g. a per-wallet or per-user key whose
|
|
15
|
+
* private key lives with the end user. When provided, the recovery share
|
|
16
|
+
* delivered via the `wallet.offlineRecovery.created` webhook is encrypted
|
|
17
|
+
* to this key instead of the env's delegated-access key. Rejected on any
|
|
18
|
+
* other reshare kind.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ReshareRequestOfflineRecoveryEncryptionKey
|
|
21
|
+
*/
|
|
22
|
+
export interface ReshareRequestOfflineRecoveryEncryptionKey {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ReshareRequestOfflineRecoveryEncryptionKey
|
|
27
|
+
*/
|
|
28
|
+
alg: ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Base64-encoded RSA public key (full PEM or raw key data).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ReshareRequestOfflineRecoveryEncryptionKey
|
|
33
|
+
*/
|
|
34
|
+
publicKeyPemB64: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @export
|
|
38
|
+
* @enum {string}
|
|
39
|
+
*/
|
|
40
|
+
export declare enum ReshareRequestOfflineRecoveryEncryptionKeyAlgEnum {
|
|
41
|
+
HybridRsaAes256 = "HYBRID-RSA-AES-256"
|
|
42
|
+
}
|
|
43
|
+
export declare function ReshareRequestOfflineRecoveryEncryptionKeyFromJSON(json: any): ReshareRequestOfflineRecoveryEncryptionKey;
|
|
44
|
+
export declare function ReshareRequestOfflineRecoveryEncryptionKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequestOfflineRecoveryEncryptionKey;
|
|
45
|
+
export declare function ReshareRequestOfflineRecoveryEncryptionKeyToJSON(value?: ReshareRequestOfflineRecoveryEncryptionKey | null): any;
|