@privy-io/api-types 0.14.0 → 0.16.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/CHANGELOG.md +119 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +33 -27
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -27
- package/client.d.ts.map +1 -1
- package/client.js +17 -3
- package/client.js.map +1 -1
- package/client.mjs +17 -3
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/accounts.d.mts +6 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +6 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.mjs.map +1 -1
- package/resources/aggregations.d.mts +14 -4
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +14 -4
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/aggregations.mjs.map +1 -1
- package/resources/analytics.d.mts +1 -1
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +1 -1
- package/resources/analytics.d.ts.map +1 -1
- package/resources/analytics.mjs.map +1 -1
- package/resources/apps.d.mts +42 -37
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +42 -37
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +176 -217
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +176 -217
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/cross-app.mjs.map +1 -1
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/embedded-wallets.mjs.map +1 -1
- package/resources/fiat.d.mts.map +1 -1
- package/resources/fiat.d.ts.map +1 -1
- package/resources/fiat.mjs.map +1 -1
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts.map +1 -1
- package/resources/funding.mjs.map +1 -1
- package/resources/index.d.mts +15 -13
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +15 -13
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +112 -79
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +112 -79
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +9 -8
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +9 -8
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +252 -154
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +252 -154
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/kraken-embed.js.map +1 -1
- package/resources/kraken-embed.mjs.map +1 -1
- package/resources/oauth.d.mts +77 -0
- package/resources/oauth.d.mts.map +1 -0
- package/resources/oauth.d.ts +77 -0
- package/resources/oauth.d.ts.map +1 -0
- package/resources/oauth.js +9 -0
- package/resources/oauth.js.map +1 -0
- package/resources/oauth.mjs +5 -0
- package/resources/oauth.mjs.map +1 -0
- package/resources/onramps.d.mts +458 -0
- package/resources/onramps.d.mts.map +1 -0
- package/resources/onramps.d.ts +458 -0
- package/resources/onramps.d.ts.map +1 -0
- package/resources/onramps.js +9 -0
- package/resources/onramps.js.map +1 -0
- package/resources/onramps.mjs +5 -0
- package/resources/onramps.mjs.map +1 -0
- package/resources/organizations.d.mts.map +1 -1
- package/resources/organizations.d.ts.map +1 -1
- package/resources/organizations.mjs.map +1 -1
- package/resources/policies.d.mts +73 -18
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +73 -18
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.mjs.map +1 -1
- package/resources/shared.d.mts +38 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +38 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/swaps.d.mts +44 -5
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +44 -5
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +207 -9
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +207 -9
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallet-actions.js.map +1 -1
- package/resources/wallet-actions.mjs.map +1 -1
- package/resources/wallets/balance.d.mts +8 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +8 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +5 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +5 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +749 -84
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +749 -84
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +15 -2
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +15 -2
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/wallets.d.mts.map +1 -1
- package/resources/wallets.d.ts.map +1 -1
- package/resources/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +314 -54
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +314 -54
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +26 -27
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +26 -27
- package/resources/yield.d.ts.map +1 -1
- package/resources/yield.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +389 -65
- package/src/resources/accounts.ts +7 -1
- package/src/resources/aggregations.ts +16 -3
- package/src/resources/analytics.ts +1 -1
- package/src/resources/apps.ts +57 -51
- package/src/resources/client-auth.ts +215 -308
- package/src/resources/index.ts +180 -25
- package/src/resources/intents.ts +132 -91
- package/src/resources/key-quorums.ts +11 -9
- package/src/resources/kraken-embed.ts +591 -432
- package/src/resources/oauth.ts +96 -0
- package/src/resources/onramps.ts +652 -0
- package/src/resources/policies.ts +106 -16
- package/src/resources/shared.ts +53 -0
- package/src/resources/swaps.ts +52 -5
- package/src/resources/users.ts +3 -0
- package/src/resources/wallet-actions.ts +274 -8
- package/src/resources/wallets/balance.ts +13 -1
- package/src/resources/wallets/index.ts +43 -0
- package/src/resources/wallets/transactions.ts +6 -0
- package/src/resources/wallets/wallets.ts +969 -93
- package/src/resources/webhooks.ts +383 -57
- package/src/resources/yield.ts +29 -30
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as EmbeddedWalletsAPI from './embedded-wallets';
|
|
5
|
-
import * as FiatAPI from './fiat';
|
|
6
5
|
import * as UsersAPI from './users';
|
|
7
6
|
|
|
8
7
|
export class ClientAuth extends APIResource {}
|
|
@@ -64,7 +63,10 @@ export interface AuthenticateSiwsInput {
|
|
|
64
63
|
|
|
65
64
|
connectorType?: string | null;
|
|
66
65
|
|
|
67
|
-
|
|
66
|
+
/**
|
|
67
|
+
* The type of SIWS message being signed.
|
|
68
|
+
*/
|
|
69
|
+
message_type?: SiwsMessageType;
|
|
68
70
|
|
|
69
71
|
/**
|
|
70
72
|
* Whether to allow sign-up during authentication.
|
|
@@ -91,6 +93,9 @@ export interface BridgeBrlFiatVirtualAccountDepositInstructions {
|
|
|
91
93
|
payment_rails: Array<'pix'>;
|
|
92
94
|
}
|
|
93
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Supported destination stablecoin assets for fiat-to-crypto transfers.
|
|
98
|
+
*/
|
|
94
99
|
export type BridgeDestinationAsset = 'usdb' | 'usdc' | 'usdt' | 'dai' | 'pyusd' | 'eurc';
|
|
95
100
|
|
|
96
101
|
/**
|
|
@@ -112,31 +117,6 @@ export interface BridgeEurFiatVirtualAccountDepositInstructions {
|
|
|
112
117
|
payment_rails: Array<'sepa'>;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
|
-
/**
|
|
116
|
-
* The response for getting a native onramp provider customer.
|
|
117
|
-
*/
|
|
118
|
-
export interface BridgeFiatCustomerResponse {
|
|
119
|
-
has_accepted_terms: boolean;
|
|
120
|
-
|
|
121
|
-
provider: 'bridge';
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Status of the KYC verification process.
|
|
125
|
-
*/
|
|
126
|
-
status: FiatAPI.OnrampKYCStatus;
|
|
127
|
-
|
|
128
|
-
kyc_url?: string;
|
|
129
|
-
|
|
130
|
-
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* A rejection reason for a customer KYC verification.
|
|
135
|
-
*/
|
|
136
|
-
export interface BridgeFiatRejectionReason {
|
|
137
|
-
reason: string;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
120
|
/**
|
|
141
121
|
* The deposit instructions for a virtual account.
|
|
142
122
|
*/
|
|
@@ -147,9 +127,15 @@ export type BridgeFiatVirtualAccountDepositInstructions =
|
|
|
147
127
|
| BridgeBrlFiatVirtualAccountDepositInstructions
|
|
148
128
|
| BridgeGbpFiatVirtualAccountDepositInstructions;
|
|
149
129
|
|
|
130
|
+
/**
|
|
131
|
+
* The destination chain, asset, and address for a virtual account transfer.
|
|
132
|
+
*/
|
|
150
133
|
export interface BridgeFiatVirtualAccountDestination {
|
|
151
134
|
address: string;
|
|
152
135
|
|
|
136
|
+
/**
|
|
137
|
+
* Supported destination stablecoin assets for fiat-to-crypto transfers.
|
|
138
|
+
*/
|
|
153
139
|
asset: BridgeDestinationAsset;
|
|
154
140
|
|
|
155
141
|
chain: string;
|
|
@@ -159,10 +145,16 @@ export interface BridgeFiatVirtualAccountDestination {
|
|
|
159
145
|
* The request input for creating virtual account.
|
|
160
146
|
*/
|
|
161
147
|
export interface BridgeFiatVirtualAccountRequest {
|
|
148
|
+
/**
|
|
149
|
+
* The destination chain, asset, and address for a virtual account transfer.
|
|
150
|
+
*/
|
|
162
151
|
destination: BridgeFiatVirtualAccountDestination;
|
|
163
152
|
|
|
164
153
|
provider: 'bridge';
|
|
165
154
|
|
|
155
|
+
/**
|
|
156
|
+
* The source fiat currency configuration for a virtual account.
|
|
157
|
+
*/
|
|
166
158
|
source: BridgeFiatVirtualAccountSource;
|
|
167
159
|
}
|
|
168
160
|
|
|
@@ -175,6 +167,9 @@ export interface BridgeFiatVirtualAccountResponse {
|
|
|
175
167
|
*/
|
|
176
168
|
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
177
169
|
|
|
170
|
+
/**
|
|
171
|
+
* The destination chain, asset, and address for a virtual account transfer.
|
|
172
|
+
*/
|
|
178
173
|
destination: BridgeFiatVirtualAccountDestination;
|
|
179
174
|
|
|
180
175
|
provider: 'bridge';
|
|
@@ -182,7 +177,13 @@ export interface BridgeFiatVirtualAccountResponse {
|
|
|
182
177
|
status: string;
|
|
183
178
|
}
|
|
184
179
|
|
|
180
|
+
/**
|
|
181
|
+
* The source fiat currency configuration for a virtual account.
|
|
182
|
+
*/
|
|
185
183
|
export interface BridgeFiatVirtualAccountSource {
|
|
184
|
+
/**
|
|
185
|
+
* Supported source fiat currencies for virtual account deposits.
|
|
186
|
+
*/
|
|
186
187
|
asset: BridgeSourceAsset;
|
|
187
188
|
}
|
|
188
189
|
|
|
@@ -227,32 +228,20 @@ export interface BridgeMxnFiatVirtualAccountDepositInstructions {
|
|
|
227
228
|
*/
|
|
228
229
|
export type BridgeOnrampProvider = 'bridge' | 'bridge-sandbox';
|
|
229
230
|
|
|
230
|
-
/**
|
|
231
|
-
* The response for getting a native onramp provider customer.
|
|
232
|
-
*/
|
|
233
|
-
export interface BridgeSandboxFiatCustomerResponse {
|
|
234
|
-
has_accepted_terms: boolean;
|
|
235
|
-
|
|
236
|
-
provider: 'bridge-sandbox';
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* Status of the KYC verification process.
|
|
240
|
-
*/
|
|
241
|
-
status: FiatAPI.OnrampKYCStatus;
|
|
242
|
-
|
|
243
|
-
kyc_url?: string;
|
|
244
|
-
|
|
245
|
-
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
231
|
/**
|
|
249
232
|
* The request input for creating virtual account.
|
|
250
233
|
*/
|
|
251
234
|
export interface BridgeSandboxFiatVirtualAccountRequest {
|
|
235
|
+
/**
|
|
236
|
+
* The destination chain, asset, and address for a virtual account transfer.
|
|
237
|
+
*/
|
|
252
238
|
destination: BridgeFiatVirtualAccountDestination;
|
|
253
239
|
|
|
254
240
|
provider: 'bridge-sandbox';
|
|
255
241
|
|
|
242
|
+
/**
|
|
243
|
+
* The source fiat currency configuration for a virtual account.
|
|
244
|
+
*/
|
|
256
245
|
source: BridgeFiatVirtualAccountSource;
|
|
257
246
|
}
|
|
258
247
|
|
|
@@ -265,6 +254,9 @@ export interface BridgeSandboxFiatVirtualAccountResponse {
|
|
|
265
254
|
*/
|
|
266
255
|
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
267
256
|
|
|
257
|
+
/**
|
|
258
|
+
* The destination chain, asset, and address for a virtual account transfer.
|
|
259
|
+
*/
|
|
268
260
|
destination: BridgeFiatVirtualAccountDestination;
|
|
269
261
|
|
|
270
262
|
provider: 'bridge-sandbox';
|
|
@@ -272,6 +264,9 @@ export interface BridgeSandboxFiatVirtualAccountResponse {
|
|
|
272
264
|
status: string;
|
|
273
265
|
}
|
|
274
266
|
|
|
267
|
+
/**
|
|
268
|
+
* Supported source fiat currencies for virtual account deposits.
|
|
269
|
+
*/
|
|
275
270
|
export type BridgeSourceAsset = 'usd' | 'eur' | 'mxn' | 'brl' | 'gbp';
|
|
276
271
|
|
|
277
272
|
/**
|
|
@@ -295,31 +290,6 @@ export interface BridgeUsdFiatVirtualAccountDepositInstructions {
|
|
|
295
290
|
payment_rails: Array<'ach_push' | 'wire'>;
|
|
296
291
|
}
|
|
297
292
|
|
|
298
|
-
/**
|
|
299
|
-
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
300
|
-
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
301
|
-
*/
|
|
302
|
-
export type Caip2ChainID = string;
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* The request input for creating (or updating) a native onramp provider customer.
|
|
306
|
-
*/
|
|
307
|
-
export interface CreateOrUpdateFiatCustomerRequestInput {
|
|
308
|
-
has_accepted_terms: boolean;
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Valid set of onramp providers
|
|
312
|
-
*/
|
|
313
|
-
provider: OnrampProvider;
|
|
314
|
-
|
|
315
|
-
kyc_redirect_url?: string;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
320
|
-
*/
|
|
321
|
-
export type CryptoCurrencyCode = string;
|
|
322
|
-
|
|
323
293
|
/**
|
|
324
294
|
* The request body for authenticating with a custom JWT.
|
|
325
295
|
*/
|
|
@@ -345,6 +315,37 @@ export interface CustomJwtLinkRequestBody {
|
|
|
345
315
|
*/
|
|
346
316
|
export type CustomOAuthProviderID = `custom:${string}`;
|
|
347
317
|
|
|
318
|
+
/**
|
|
319
|
+
* The action to take on the device authorization request.
|
|
320
|
+
*/
|
|
321
|
+
export type DeviceVerifyAction = 'approve' | 'deny';
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Request body for approving or denying a device authorization request. The user
|
|
325
|
+
* must be authenticated and belong to the target app.
|
|
326
|
+
*/
|
|
327
|
+
export interface DeviceVerifyRequestBody {
|
|
328
|
+
/**
|
|
329
|
+
* The action to take on the device authorization request.
|
|
330
|
+
*/
|
|
331
|
+
action: DeviceVerifyAction;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* The user code displayed on the CLI device.
|
|
335
|
+
*/
|
|
336
|
+
user_code: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Response indicating the device authorization action was processed.
|
|
341
|
+
*/
|
|
342
|
+
export interface DeviceVerifyResponse {
|
|
343
|
+
/**
|
|
344
|
+
* Whether the action was processed successfully.
|
|
345
|
+
*/
|
|
346
|
+
success: boolean;
|
|
347
|
+
}
|
|
348
|
+
|
|
348
349
|
/**
|
|
349
350
|
* The ID of an external OAuth provider.
|
|
350
351
|
*/
|
|
@@ -669,114 +670,6 @@ export interface FarcasterV2InitResponseBody {
|
|
|
669
670
|
nonce: string;
|
|
670
671
|
}
|
|
671
672
|
|
|
672
|
-
/**
|
|
673
|
-
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
674
|
-
*/
|
|
675
|
-
export type FiatAmount = string;
|
|
676
|
-
|
|
677
|
-
/**
|
|
678
|
-
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
679
|
-
*/
|
|
680
|
-
export type FiatCurrencyCode = string;
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* The response for getting a native onramp provider customer.
|
|
684
|
-
*/
|
|
685
|
-
export type FiatCustomerResponse = BridgeFiatCustomerResponse | BridgeSandboxFiatCustomerResponse;
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
689
|
-
*/
|
|
690
|
-
export interface FiatOnrampDestination {
|
|
691
|
-
address: string;
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
695
|
-
*/
|
|
696
|
-
asset: CryptoCurrencyCode;
|
|
697
|
-
|
|
698
|
-
/**
|
|
699
|
-
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
700
|
-
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
701
|
-
*/
|
|
702
|
-
chain: Caip2ChainID;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
/**
|
|
706
|
-
* Whether to use the sandbox or production environment for fiat onramp.
|
|
707
|
-
*/
|
|
708
|
-
export type FiatOnrampEnvironment = 'sandbox' | 'production';
|
|
709
|
-
|
|
710
|
-
/**
|
|
711
|
-
* The fiat onramp provider to use.
|
|
712
|
-
*/
|
|
713
|
-
export type FiatOnrampProvider =
|
|
714
|
-
| 'meld'
|
|
715
|
-
| 'meld-sandbox'
|
|
716
|
-
| 'moonpay'
|
|
717
|
-
| 'moonpay-sandbox'
|
|
718
|
-
| 'coinbase'
|
|
719
|
-
| 'coinbase-sandbox';
|
|
720
|
-
|
|
721
|
-
/**
|
|
722
|
-
* An error from a specific fiat onramp provider when fetching quotes.
|
|
723
|
-
*/
|
|
724
|
-
export interface FiatOnrampProviderError {
|
|
725
|
-
error: string;
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* The fiat onramp provider to use.
|
|
729
|
-
*/
|
|
730
|
-
provider: FiatOnrampProvider;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
/**
|
|
734
|
-
* A single fiat onramp quote from a provider.
|
|
735
|
-
*/
|
|
736
|
-
export interface FiatOnrampQuote {
|
|
737
|
-
payment_method: string;
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* The fiat onramp provider to use.
|
|
741
|
-
*/
|
|
742
|
-
provider: FiatOnrampProvider;
|
|
743
|
-
|
|
744
|
-
destination_currency_code?: string | null;
|
|
745
|
-
|
|
746
|
-
source_amount?: number | null;
|
|
747
|
-
|
|
748
|
-
source_currency_code?: string | null;
|
|
749
|
-
|
|
750
|
-
sub_provider?: string | null;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
/**
|
|
754
|
-
* Source currency details for a fiat onramp quote request.
|
|
755
|
-
*/
|
|
756
|
-
export interface FiatOnrampSource {
|
|
757
|
-
/**
|
|
758
|
-
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
759
|
-
*/
|
|
760
|
-
amount: FiatAmount;
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
764
|
-
*/
|
|
765
|
-
asset: FiatCurrencyCode;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
/**
|
|
769
|
-
* Normalized fiat onramp transaction status.
|
|
770
|
-
*/
|
|
771
|
-
export type FiatOnrampTransactionStatus =
|
|
772
|
-
| 'pending'
|
|
773
|
-
| 'processing'
|
|
774
|
-
| 'completed'
|
|
775
|
-
| 'failed'
|
|
776
|
-
| 'cancelled'
|
|
777
|
-
| 'refunded'
|
|
778
|
-
| 'unknown';
|
|
779
|
-
|
|
780
673
|
/**
|
|
781
674
|
* The request input for creating virtual account.
|
|
782
675
|
*/
|
|
@@ -791,110 +684,6 @@ export type FiatVirtualAccountResponse =
|
|
|
791
684
|
| BridgeFiatVirtualAccountResponse
|
|
792
685
|
| BridgeSandboxFiatVirtualAccountResponse;
|
|
793
686
|
|
|
794
|
-
/**
|
|
795
|
-
* The request input for getting a native onramp provider customer.
|
|
796
|
-
*/
|
|
797
|
-
export interface GetFiatCustomerRequestInput {
|
|
798
|
-
/**
|
|
799
|
-
* Valid set of onramp providers
|
|
800
|
-
*/
|
|
801
|
-
provider: OnrampProvider;
|
|
802
|
-
|
|
803
|
-
kyc_redirect_url?: string;
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* The request input for getting fiat onramp quotes.
|
|
808
|
-
*/
|
|
809
|
-
export interface GetFiatOnrampQuotesInput {
|
|
810
|
-
/**
|
|
811
|
-
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
812
|
-
*/
|
|
813
|
-
destination: FiatOnrampDestination;
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* Whether to use the sandbox or production environment for fiat onramp.
|
|
817
|
-
*/
|
|
818
|
-
environment: FiatOnrampEnvironment;
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* Source currency details for a fiat onramp quote request.
|
|
822
|
-
*/
|
|
823
|
-
source: FiatOnrampSource;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* The response containing fiat onramp quotes.
|
|
828
|
-
*/
|
|
829
|
-
export interface GetFiatOnrampQuotesResponse {
|
|
830
|
-
quotes: Array<FiatOnrampQuote>;
|
|
831
|
-
|
|
832
|
-
provider_errors?: Array<FiatOnrampProviderError>;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* The request input for checking a fiat onramp session status.
|
|
837
|
-
*/
|
|
838
|
-
export interface GetFiatOnrampTransactionStatusInput {
|
|
839
|
-
/**
|
|
840
|
-
* The fiat onramp provider to use.
|
|
841
|
-
*/
|
|
842
|
-
provider: FiatOnrampProvider;
|
|
843
|
-
|
|
844
|
-
session_id: string;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* The response containing the fiat onramp session status.
|
|
849
|
-
*/
|
|
850
|
-
export interface GetFiatOnrampTransactionStatusResponse {
|
|
851
|
-
raw_status: string;
|
|
852
|
-
|
|
853
|
-
session_id: string;
|
|
854
|
-
|
|
855
|
-
/**
|
|
856
|
-
* Normalized fiat onramp transaction status.
|
|
857
|
-
*/
|
|
858
|
-
status: FiatOnrampTransactionStatus;
|
|
859
|
-
|
|
860
|
-
transaction_id?: string;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* The request input for getting a fiat onramp provider session URL.
|
|
865
|
-
*/
|
|
866
|
-
export interface GetFiatOnrampURLInput {
|
|
867
|
-
/**
|
|
868
|
-
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
869
|
-
*/
|
|
870
|
-
destination: FiatOnrampDestination;
|
|
871
|
-
|
|
872
|
-
payment_method: string;
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
* The fiat onramp provider to use.
|
|
876
|
-
*/
|
|
877
|
-
provider: FiatOnrampProvider;
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* Source currency details for a fiat onramp quote request.
|
|
881
|
-
*/
|
|
882
|
-
source: FiatOnrampSource;
|
|
883
|
-
|
|
884
|
-
redirect_url?: string;
|
|
885
|
-
|
|
886
|
-
sub_provider?: string;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* The response containing a fiat onramp provider session URL.
|
|
891
|
-
*/
|
|
892
|
-
export interface GetFiatOnrampURLResponse {
|
|
893
|
-
session_id: string;
|
|
894
|
-
|
|
895
|
-
url: string;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
687
|
/**
|
|
899
688
|
* The request body for authenticating a guest.
|
|
900
689
|
*/
|
|
@@ -1104,6 +893,122 @@ export interface OAuthLinkResponseBody extends UsersAPI.User {
|
|
|
1104
893
|
*/
|
|
1105
894
|
export type OAuthProviderID = ExternalOAuthProviderID | PrivyOAuthProviderID | CustomOAuthProviderID;
|
|
1106
895
|
|
|
896
|
+
/**
|
|
897
|
+
* Request body for the authorization_code grant type.
|
|
898
|
+
*/
|
|
899
|
+
export interface OAuthTokenAuthorizationCodeRequestBody {
|
|
900
|
+
/**
|
|
901
|
+
* The authorization code received from the authorization endpoint.
|
|
902
|
+
*/
|
|
903
|
+
code: string;
|
|
904
|
+
|
|
905
|
+
grant_type: 'authorization_code';
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* The client ID. Alternative to Basic auth header.
|
|
909
|
+
*/
|
|
910
|
+
client_id?: string;
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* The client secret. Alternative to Basic auth header.
|
|
914
|
+
*/
|
|
915
|
+
client_secret?: string;
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* The redirect URI used in the authorization request.
|
|
919
|
+
*/
|
|
920
|
+
redirect_uri?: string;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Error response returned while the device authorization is still pending (RFC
|
|
925
|
+
* 8628 Section 3.5).
|
|
926
|
+
*/
|
|
927
|
+
export interface OAuthTokenDeviceCodePendingError {
|
|
928
|
+
/**
|
|
929
|
+
* The error code indicating why the token request failed.
|
|
930
|
+
*/
|
|
931
|
+
error: 'authorization_pending' | 'slow_down' | 'access_denied' | 'expired_token';
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Human-readable description of the error.
|
|
935
|
+
*/
|
|
936
|
+
error_description?: string;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* The minimum polling interval in seconds.
|
|
940
|
+
*/
|
|
941
|
+
interval?: number;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Request body for the urn:ietf:params:oauth:grant-type:device_code grant type
|
|
946
|
+
* (RFC 8628). Used by CLI clients to poll for authorization.
|
|
947
|
+
*/
|
|
948
|
+
export interface OAuthTokenDeviceCodeRequestBody {
|
|
949
|
+
/**
|
|
950
|
+
* The device code received from the device authorization endpoint.
|
|
951
|
+
*/
|
|
952
|
+
device_code: string;
|
|
953
|
+
|
|
954
|
+
grant_type: 'urn:ietf:params:oauth:grant-type:device_code';
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* The OAuth grant type for the token request.
|
|
959
|
+
*/
|
|
960
|
+
export type OAuthTokenGrantType =
|
|
961
|
+
| 'authorization_code'
|
|
962
|
+
| 'urn:ietf:params:oauth:grant-type:device_code'
|
|
963
|
+
| 'refresh_token';
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Request body for the refresh_token grant type. Rotates the refresh token and
|
|
967
|
+
* issues a new access token.
|
|
968
|
+
*/
|
|
969
|
+
export interface OAuthTokenRefreshTokenRequestBody {
|
|
970
|
+
grant_type: 'refresh_token';
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* The refresh token to exchange for a new access token.
|
|
974
|
+
*/
|
|
975
|
+
refresh_token: string;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Request body for the OAuth token endpoint, discriminated by grant_type.
|
|
980
|
+
*/
|
|
981
|
+
export type OAuthTokenRequestBody =
|
|
982
|
+
| OAuthTokenAuthorizationCodeRequestBody
|
|
983
|
+
| OAuthTokenDeviceCodeRequestBody
|
|
984
|
+
| OAuthTokenRefreshTokenRequestBody;
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Successful token response per RFC 6749 Section 5.1.
|
|
988
|
+
*/
|
|
989
|
+
export interface OAuthTokenSuccessResponse {
|
|
990
|
+
/**
|
|
991
|
+
* The issued access token.
|
|
992
|
+
*/
|
|
993
|
+
access_token: string;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* The type of token issued.
|
|
997
|
+
*/
|
|
998
|
+
token_type: 'Bearer';
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* The lifetime in seconds of the access token.
|
|
1002
|
+
*/
|
|
1003
|
+
expires_in?: number;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* A refresh token for obtaining new access tokens. Issued for device_code and
|
|
1007
|
+
* refresh_token grants.
|
|
1008
|
+
*/
|
|
1009
|
+
refresh_token?: string;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1107
1012
|
/**
|
|
1108
1013
|
* The request body for transferring an OAuth account.
|
|
1109
1014
|
*/
|
|
@@ -1768,7 +1673,10 @@ export interface SiwsAuthenticateRequestBody {
|
|
|
1768
1673
|
|
|
1769
1674
|
connectorType?: string | null;
|
|
1770
1675
|
|
|
1771
|
-
|
|
1676
|
+
/**
|
|
1677
|
+
* The type of SIWS message being signed.
|
|
1678
|
+
*/
|
|
1679
|
+
message_type?: SiwsMessageType;
|
|
1772
1680
|
|
|
1773
1681
|
/**
|
|
1774
1682
|
* Whether to allow sign-up during authentication.
|
|
@@ -1815,7 +1723,10 @@ export interface SiwsInput {
|
|
|
1815
1723
|
|
|
1816
1724
|
connectorType?: string | null;
|
|
1817
1725
|
|
|
1818
|
-
|
|
1726
|
+
/**
|
|
1727
|
+
* The type of SIWS message being signed.
|
|
1728
|
+
*/
|
|
1729
|
+
message_type?: SiwsMessageType;
|
|
1819
1730
|
|
|
1820
1731
|
walletClientType?: string | null;
|
|
1821
1732
|
}
|
|
@@ -1830,11 +1741,19 @@ export interface SiwsLinkRequestBody {
|
|
|
1830
1741
|
|
|
1831
1742
|
connectorType?: string | null;
|
|
1832
1743
|
|
|
1833
|
-
|
|
1744
|
+
/**
|
|
1745
|
+
* The type of SIWS message being signed.
|
|
1746
|
+
*/
|
|
1747
|
+
message_type?: SiwsMessageType;
|
|
1834
1748
|
|
|
1835
1749
|
walletClientType?: string | null;
|
|
1836
1750
|
}
|
|
1837
1751
|
|
|
1752
|
+
/**
|
|
1753
|
+
* The type of SIWS message being signed.
|
|
1754
|
+
*/
|
|
1755
|
+
export type SiwsMessageType = 'transaction' | 'plain' | 'offchain-message';
|
|
1756
|
+
|
|
1838
1757
|
/**
|
|
1839
1758
|
* A SIWS nonce response.
|
|
1840
1759
|
*/
|
|
@@ -2074,8 +1993,6 @@ export declare namespace ClientAuth {
|
|
|
2074
1993
|
type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions,
|
|
2075
1994
|
type BridgeDestinationAsset as BridgeDestinationAsset,
|
|
2076
1995
|
type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions,
|
|
2077
|
-
type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse,
|
|
2078
|
-
type BridgeFiatRejectionReason as BridgeFiatRejectionReason,
|
|
2079
1996
|
type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions,
|
|
2080
1997
|
type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination,
|
|
2081
1998
|
type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest,
|
|
@@ -2084,17 +2001,16 @@ export declare namespace ClientAuth {
|
|
|
2084
2001
|
type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions,
|
|
2085
2002
|
type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions,
|
|
2086
2003
|
type BridgeOnrampProvider as BridgeOnrampProvider,
|
|
2087
|
-
type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse,
|
|
2088
2004
|
type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest,
|
|
2089
2005
|
type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
|
|
2090
2006
|
type BridgeSourceAsset as BridgeSourceAsset,
|
|
2091
2007
|
type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions,
|
|
2092
|
-
type Caip2ChainID as Caip2ChainID,
|
|
2093
|
-
type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput,
|
|
2094
|
-
type CryptoCurrencyCode as CryptoCurrencyCode,
|
|
2095
2008
|
type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
|
|
2096
2009
|
type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
|
|
2097
2010
|
type CustomOAuthProviderID as CustomOAuthProviderID,
|
|
2011
|
+
type DeviceVerifyAction as DeviceVerifyAction,
|
|
2012
|
+
type DeviceVerifyRequestBody as DeviceVerifyRequestBody,
|
|
2013
|
+
type DeviceVerifyResponse as DeviceVerifyResponse,
|
|
2098
2014
|
type ExternalOAuthProviderID as ExternalOAuthProviderID,
|
|
2099
2015
|
type FarcasterAuthenticateInput as FarcasterAuthenticateInput,
|
|
2100
2016
|
type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody,
|
|
@@ -2123,25 +2039,8 @@ export declare namespace ClientAuth {
|
|
|
2123
2039
|
type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody,
|
|
2124
2040
|
type FarcasterV2InitResponse as FarcasterV2InitResponse,
|
|
2125
2041
|
type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody,
|
|
2126
|
-
type FiatAmount as FiatAmount,
|
|
2127
|
-
type FiatCurrencyCode as FiatCurrencyCode,
|
|
2128
|
-
type FiatCustomerResponse as FiatCustomerResponse,
|
|
2129
|
-
type FiatOnrampDestination as FiatOnrampDestination,
|
|
2130
|
-
type FiatOnrampEnvironment as FiatOnrampEnvironment,
|
|
2131
|
-
type FiatOnrampProvider as FiatOnrampProvider,
|
|
2132
|
-
type FiatOnrampProviderError as FiatOnrampProviderError,
|
|
2133
|
-
type FiatOnrampQuote as FiatOnrampQuote,
|
|
2134
|
-
type FiatOnrampSource as FiatOnrampSource,
|
|
2135
|
-
type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus,
|
|
2136
2042
|
type FiatVirtualAccountRequest as FiatVirtualAccountRequest,
|
|
2137
2043
|
type FiatVirtualAccountResponse as FiatVirtualAccountResponse,
|
|
2138
|
-
type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput,
|
|
2139
|
-
type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput,
|
|
2140
|
-
type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse,
|
|
2141
|
-
type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput,
|
|
2142
|
-
type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse,
|
|
2143
|
-
type GetFiatOnrampURLInput as GetFiatOnrampURLInput,
|
|
2144
|
-
type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse,
|
|
2145
2044
|
type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody,
|
|
2146
2045
|
type LinkJwtInput as LinkJwtInput,
|
|
2147
2046
|
type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody,
|
|
@@ -2164,6 +2063,13 @@ export declare namespace ClientAuth {
|
|
|
2164
2063
|
type OAuthLinkRequestBody as OAuthLinkRequestBody,
|
|
2165
2064
|
type OAuthLinkResponseBody as OAuthLinkResponseBody,
|
|
2166
2065
|
type OAuthProviderID as OAuthProviderID,
|
|
2066
|
+
type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody,
|
|
2067
|
+
type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError,
|
|
2068
|
+
type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody,
|
|
2069
|
+
type OAuthTokenGrantType as OAuthTokenGrantType,
|
|
2070
|
+
type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody,
|
|
2071
|
+
type OAuthTokenRequestBody as OAuthTokenRequestBody,
|
|
2072
|
+
type OAuthTokenSuccessResponse as OAuthTokenSuccessResponse,
|
|
2167
2073
|
type OAuthTransferRequestBody as OAuthTransferRequestBody,
|
|
2168
2074
|
type OAuthTransferUserInfo as OAuthTransferUserInfo,
|
|
2169
2075
|
type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta,
|
|
@@ -2224,6 +2130,7 @@ export declare namespace ClientAuth {
|
|
|
2224
2130
|
type SiwsInitResponseBody as SiwsInitResponseBody,
|
|
2225
2131
|
type SiwsInput as SiwsInput,
|
|
2226
2132
|
type SiwsLinkRequestBody as SiwsLinkRequestBody,
|
|
2133
|
+
type SiwsMessageType as SiwsMessageType,
|
|
2227
2134
|
type SiwsNonce as SiwsNonce,
|
|
2228
2135
|
type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody,
|
|
2229
2136
|
type SmartWalletSiweInput as SmartWalletSiweInput,
|