@privy-io/api-types 0.20.0 → 0.22.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.
Files changed (146) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/client.d.mts +25 -16
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +25 -16
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/actions.d.mts +14 -0
  12. package/resources/actions.d.mts.map +1 -0
  13. package/resources/actions.d.ts +14 -0
  14. package/resources/actions.d.ts.map +1 -0
  15. package/resources/actions.js +9 -0
  16. package/resources/actions.js.map +1 -0
  17. package/resources/actions.mjs +5 -0
  18. package/resources/actions.mjs.map +1 -0
  19. package/resources/apps.d.mts +4 -0
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +4 -0
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/cards.d.mts +449 -0
  24. package/resources/cards.d.mts.map +1 -0
  25. package/resources/cards.d.ts +449 -0
  26. package/resources/cards.d.ts.map +1 -0
  27. package/resources/cards.js +9 -0
  28. package/resources/cards.js.map +1 -0
  29. package/resources/cards.mjs +5 -0
  30. package/resources/cards.mjs.map +1 -0
  31. package/resources/client-auth.d.mts +22 -5
  32. package/resources/client-auth.d.mts.map +1 -1
  33. package/resources/client-auth.d.ts +22 -5
  34. package/resources/client-auth.d.ts.map +1 -1
  35. package/resources/fiat.d.mts +921 -2
  36. package/resources/fiat.d.mts.map +1 -1
  37. package/resources/fiat.d.ts +921 -2
  38. package/resources/fiat.d.ts.map +1 -1
  39. package/resources/fiat.js.map +1 -1
  40. package/resources/fiat.mjs.map +1 -1
  41. package/resources/index.d.mts +11 -8
  42. package/resources/index.d.mts.map +1 -1
  43. package/resources/index.d.ts +11 -8
  44. package/resources/index.d.ts.map +1 -1
  45. package/resources/index.js +7 -1
  46. package/resources/index.js.map +1 -1
  47. package/resources/index.mjs +3 -0
  48. package/resources/index.mjs.map +1 -1
  49. package/resources/intents.d.mts +1 -0
  50. package/resources/intents.d.mts.map +1 -1
  51. package/resources/intents.d.ts +1 -0
  52. package/resources/intents.d.ts.map +1 -1
  53. package/resources/onramps.d.mts +39 -1
  54. package/resources/onramps.d.mts.map +1 -1
  55. package/resources/onramps.d.ts +39 -1
  56. package/resources/onramps.d.ts.map +1 -1
  57. package/resources/onramps.js.map +1 -1
  58. package/resources/onramps.mjs.map +1 -1
  59. package/resources/organizations.d.mts +54 -1
  60. package/resources/organizations.d.mts.map +1 -1
  61. package/resources/organizations.d.ts +54 -1
  62. package/resources/organizations.d.ts.map +1 -1
  63. package/resources/organizations.js.map +1 -1
  64. package/resources/organizations.mjs.map +1 -1
  65. package/resources/policies.d.mts +26 -3
  66. package/resources/policies.d.mts.map +1 -1
  67. package/resources/policies.d.ts +26 -3
  68. package/resources/policies.d.ts.map +1 -1
  69. package/resources/shared.d.mts +31 -1
  70. package/resources/shared.d.mts.map +1 -1
  71. package/resources/shared.d.ts +31 -1
  72. package/resources/shared.d.ts.map +1 -1
  73. package/resources/swaps.d.mts +11 -1
  74. package/resources/swaps.d.mts.map +1 -1
  75. package/resources/swaps.d.ts +11 -1
  76. package/resources/swaps.d.ts.map +1 -1
  77. package/resources/transactions.d.mts +3 -0
  78. package/resources/transactions.d.mts.map +1 -1
  79. package/resources/transactions.d.ts +3 -0
  80. package/resources/transactions.d.ts.map +1 -1
  81. package/resources/wallet-automations.d.mts +387 -0
  82. package/resources/wallet-automations.d.mts.map +1 -0
  83. package/resources/wallet-automations.d.ts +387 -0
  84. package/resources/wallet-automations.d.ts.map +1 -0
  85. package/resources/wallet-automations.js +9 -0
  86. package/resources/wallet-automations.js.map +1 -0
  87. package/resources/wallet-automations.mjs +5 -0
  88. package/resources/wallet-automations.mjs.map +1 -0
  89. package/resources/wallets/actions.d.mts +207 -8
  90. package/resources/wallets/actions.d.mts.map +1 -1
  91. package/resources/wallets/actions.d.ts +207 -8
  92. package/resources/wallets/actions.d.ts.map +1 -1
  93. package/resources/wallets/actions.js.map +1 -1
  94. package/resources/wallets/actions.mjs.map +1 -1
  95. package/resources/wallets/balance.d.mts +3 -3
  96. package/resources/wallets/balance.d.mts.map +1 -1
  97. package/resources/wallets/balance.d.ts +3 -3
  98. package/resources/wallets/balance.d.ts.map +1 -1
  99. package/resources/wallets/index.d.mts +2 -2
  100. package/resources/wallets/index.d.mts.map +1 -1
  101. package/resources/wallets/index.d.ts +2 -2
  102. package/resources/wallets/index.d.ts.map +1 -1
  103. package/resources/wallets/index.js.map +1 -1
  104. package/resources/wallets/index.mjs.map +1 -1
  105. package/resources/wallets/transactions.d.mts +11 -2
  106. package/resources/wallets/transactions.d.mts.map +1 -1
  107. package/resources/wallets/transactions.d.ts +11 -2
  108. package/resources/wallets/transactions.d.ts.map +1 -1
  109. package/resources/wallets/wallets.d.mts +672 -48
  110. package/resources/wallets/wallets.d.mts.map +1 -1
  111. package/resources/wallets/wallets.d.ts +672 -48
  112. package/resources/wallets/wallets.d.ts.map +1 -1
  113. package/resources/wallets/wallets.js.map +1 -1
  114. package/resources/wallets/wallets.mjs.map +1 -1
  115. package/resources/webhooks.d.mts +686 -3
  116. package/resources/webhooks.d.mts.map +1 -1
  117. package/resources/webhooks.d.ts +686 -3
  118. package/resources/webhooks.d.ts.map +1 -1
  119. package/resources/webhooks.js.map +1 -1
  120. package/resources/webhooks.mjs.map +1 -1
  121. package/src/client.ts +481 -0
  122. package/src/resources/actions.ts +17 -0
  123. package/src/resources/apps.ts +5 -0
  124. package/src/resources/cards.ts +586 -0
  125. package/src/resources/client-auth.ts +29 -4
  126. package/src/resources/fiat.ts +1226 -3
  127. package/src/resources/index.ts +236 -0
  128. package/src/resources/intents.ts +2 -0
  129. package/src/resources/onramps.ts +43 -0
  130. package/src/resources/organizations.ts +68 -0
  131. package/src/resources/policies.ts +61 -0
  132. package/src/resources/shared.ts +44 -0
  133. package/src/resources/swaps.ts +13 -1
  134. package/src/resources/transactions.ts +3 -0
  135. package/src/resources/wallet-automations.ts +529 -0
  136. package/src/resources/wallets/actions.ts +261 -7
  137. package/src/resources/wallets/balance.ts +41 -1
  138. package/src/resources/wallets/index.ts +55 -0
  139. package/src/resources/wallets/transactions.ts +11 -1
  140. package/src/resources/wallets/wallets.ts +888 -39
  141. package/src/resources/webhooks.ts +878 -9
  142. package/src/version.ts +1 -1
  143. package/version.d.mts +1 -1
  144. package/version.d.ts +1 -1
  145. package/version.js +1 -1
  146. package/version.mjs +1 -1
@@ -0,0 +1,449 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as AppsAPI from "./apps.js";
3
+ import * as SharedAPI from "./shared.js";
4
+ export declare class Cards extends APIResource {
5
+ }
6
+ /**
7
+ * A single agreement the user must accept for the issuing bank.
8
+ */
9
+ export interface CardIssuingBankAgreement {
10
+ /**
11
+ * Stable identifier for this agreement, e.g. "cardholder_agreement". Match on this
12
+ * rather than on `name`, which is display copy and can be reworded.
13
+ */
14
+ id: string;
15
+ /**
16
+ * Display name, e.g. "Cardholder Agreement".
17
+ */
18
+ name: string;
19
+ /**
20
+ * Link to the agreement. Empty when the document has not been published yet.
21
+ */
22
+ url: (string & {}) | '';
23
+ }
24
+ /**
25
+ * The bank issuing the card and the agreements the user must accept for it. Served
26
+ * from the backend so the agreements can change without an SDK release, and so
27
+ * swapping banks does not require a client change.
28
+ */
29
+ export interface CardIssuingBankInfo {
30
+ /**
31
+ * Agreements the user must accept for this bank, in the order they should be
32
+ * presented. Render every entry — the set and size vary by bank.
33
+ */
34
+ agreements: Array<CardIssuingBankAgreement>;
35
+ /**
36
+ * Display name of the issuing bank, e.g. "Lead Bank".
37
+ */
38
+ name: string;
39
+ }
40
+ /**
41
+ * Why a lost or stolen card is being canceled.
42
+ */
43
+ export type CardIssuingCancellationReason = 'lost' | 'stolen';
44
+ /**
45
+ * Stripe Issuing card state bound to a Privy user and wallet.
46
+ */
47
+ export interface CardIssuingCardResponse {
48
+ id: string;
49
+ /**
50
+ * The asset the card funds from. 'usdc' on EVM and Solana, 'pathusd' on Tempo.
51
+ */
52
+ asset: string;
53
+ /**
54
+ * USD balance of the card funding wallet on the configured chain, or null when
55
+ * unavailable.
56
+ */
57
+ balance_formatted: string | null;
58
+ brand: string | null;
59
+ /**
60
+ * Cardholder metadata for a card.
61
+ */
62
+ cardholder: CardIssuingCardholder;
63
+ /**
64
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
65
+ */
66
+ chain_id: AppsAPI.Caip2;
67
+ /**
68
+ * Unix timestamp, in seconds, of when the card was created.
69
+ */
70
+ created_at: number;
71
+ /**
72
+ * Card expiration month from 1 to 12, or null when unavailable.
73
+ */
74
+ exp_month: number | null;
75
+ /**
76
+ * Four-digit card expiration year, or null when unavailable.
77
+ */
78
+ exp_year: number | null;
79
+ last4: string | null;
80
+ provider_id: string;
81
+ status: string;
82
+ wallet_id: string;
83
+ }
84
+ /**
85
+ * Lifecycle status of a card. Active unfreezes the card, inactive freezes it, and
86
+ * canceled closes it.
87
+ */
88
+ export type CardIssuingCardStatus = 'active' | 'inactive' | 'canceled';
89
+ /**
90
+ * Cardholder metadata for a card.
91
+ */
92
+ export interface CardIssuingCardholder {
93
+ /**
94
+ * Cardholder name printed on the card, or null when unavailable.
95
+ */
96
+ name: string | null;
97
+ }
98
+ /**
99
+ * Stripe Issuing cards bound to the authenticated Privy user.
100
+ */
101
+ export interface CardIssuingCardsResponse {
102
+ data: Array<CardIssuingCardResponse>;
103
+ next_cursor: string | null;
104
+ }
105
+ /**
106
+ * Browser-safe configuration for rendering Stripe Issuing card details.
107
+ */
108
+ export interface CardIssuingConfig {
109
+ /**
110
+ * Stripe publishable key for initializing Stripe.js in the browser.
111
+ */
112
+ publishable_key: string;
113
+ }
114
+ /**
115
+ * Query parameters for reading an app's card-issuing client configuration.
116
+ */
117
+ export interface CardIssuingConfigQueryParams {
118
+ /**
119
+ * The Privy API environment.
120
+ */
121
+ environment: SharedAPI.IntegrationEnvironment;
122
+ }
123
+ /**
124
+ * Browser-safe card-issuing configuration for the authenticated user's app.
125
+ */
126
+ export interface CardIssuingConfigResponse {
127
+ /**
128
+ * Browser-safe configuration for rendering Stripe Issuing card details.
129
+ */
130
+ data: CardIssuingConfig;
131
+ }
132
+ /**
133
+ * Input for creating a virtual Stripe Issuing card for a Privy wallet.
134
+ */
135
+ export interface CardIssuingCreateCardInput {
136
+ /**
137
+ * The asset to fund the card. Must be 'usdc' on EVM and Solana, or 'pathusd' on
138
+ * Tempo.
139
+ */
140
+ asset: string;
141
+ /**
142
+ * A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
143
+ */
144
+ chain_id: AppsAPI.Caip2;
145
+ /**
146
+ * The Privy API environment.
147
+ */
148
+ environment: SharedAPI.IntegrationEnvironment;
149
+ wallet_id: string;
150
+ }
151
+ /**
152
+ * A cards customer exists and must accept the bank agreements. Privy records these
153
+ * rather than the provider, so this step is reached even when the provider already
154
+ * has its own terms — for example a customer onboarded through another product.
155
+ */
156
+ export interface CardIssuingCustomerBankTermsRequiredResponse {
157
+ /**
158
+ * The bank issuing the card and the agreements the user must accept for it. Served
159
+ * from the backend so the agreements can change without an SDK release, and so
160
+ * swapping banks does not require a client change.
161
+ */
162
+ bank_info: CardIssuingBankInfo;
163
+ status: 'bank_terms_required';
164
+ }
165
+ /**
166
+ * Request body for recording that the user accepted the agreements Privy tracks.
167
+ * Send one field per screen the user accepted. Acceptances are recorded once —
168
+ * re-sending a field that is already recorded leaves the original timestamp
169
+ * unchanged.
170
+ */
171
+ export interface CardIssuingCustomerConsentsRequestBody {
172
+ /**
173
+ * The Privy API environment.
174
+ */
175
+ environment: SharedAPI.IntegrationEnvironment;
176
+ /**
177
+ * Set to true when the user accepted the bank agreements. Requires the electronic
178
+ * disclosure to be accepted first, in this request or a previous one.
179
+ */
180
+ accept_bank_terms?: boolean;
181
+ /**
182
+ * Set to true when the user accepted the electronic disclosure (E-Sign consent).
183
+ */
184
+ accept_electronic_disclosure?: boolean;
185
+ }
186
+ /**
187
+ * A cards customer exists and the user must accept the electronic disclosure
188
+ * (E-Sign consent) before any other agreement can be accepted electronically.
189
+ */
190
+ export interface CardIssuingCustomerElectronicDisclosureRequiredResponse {
191
+ /**
192
+ * The disclosure the user must accept, rendered by the client.
193
+ */
194
+ disclosure_url: string;
195
+ status: 'electronic_disclosure_required';
196
+ }
197
+ /**
198
+ * The cards customer cannot continue onboarding or issue cards.
199
+ */
200
+ export interface CardIssuingCustomerErrorResponse {
201
+ status: 'error';
202
+ }
203
+ /**
204
+ * Input for getting or creating a cards customer.
205
+ */
206
+ export interface CardIssuingCustomerInput {
207
+ /**
208
+ * The Privy API environment.
209
+ */
210
+ environment: SharedAPI.IntegrationEnvironment;
211
+ }
212
+ /**
213
+ * A Bridge cards customer exists and must complete KYC before card creation.
214
+ */
215
+ export interface CardIssuingCustomerKYCRequiredResponse {
216
+ kyc_url: string;
217
+ status: 'kyc_required';
218
+ }
219
+ /**
220
+ * No cards customer has been created for this Privy user.
221
+ */
222
+ export interface CardIssuingCustomerNotCreatedResponse {
223
+ status: 'not_created';
224
+ }
225
+ /**
226
+ * A cards customer waiting for card issuing to become available.
227
+ */
228
+ export interface CardIssuingCustomerPendingResponse {
229
+ status: 'pending';
230
+ }
231
+ /**
232
+ * A cards customer exists and must accept the provider terms hosted at `tos_url`
233
+ * before KYC. Reached only once the bank agreements are recorded.
234
+ */
235
+ export interface CardIssuingCustomerProviderTermsRequiredResponse {
236
+ status: 'provider_terms_required';
237
+ tos_url: string;
238
+ }
239
+ /**
240
+ * A cards customer that has completed onboarding and can issue cards.
241
+ */
242
+ export interface CardIssuingCustomerReadyResponse {
243
+ status: 'ready';
244
+ }
245
+ /**
246
+ * The cards customer was rejected during verification.
247
+ */
248
+ export interface CardIssuingCustomerRejectedResponse {
249
+ status: 'rejected';
250
+ rejection_reasons?: Array<CardIssuingCustomerRejectionReason>;
251
+ }
252
+ /**
253
+ * A customer-facing reason the cards customer was rejected.
254
+ */
255
+ export interface CardIssuingCustomerRejectionReason {
256
+ reason: string;
257
+ }
258
+ /**
259
+ * Cards customer state for a Privy user.
260
+ */
261
+ export interface CardIssuingCustomerResponse {
262
+ /**
263
+ * No cards customer has been created for this Privy user.
264
+ */
265
+ data: CardIssuingCustomerNotCreatedResponse | CardIssuingCustomerElectronicDisclosureRequiredResponse | CardIssuingCustomerBankTermsRequiredResponse | CardIssuingCustomerProviderTermsRequiredResponse | CardIssuingCustomerKYCRequiredResponse | CardIssuingCustomerPendingResponse | CardIssuingCustomerUnderReviewResponse | CardIssuingCustomerRejectedResponse | CardIssuingCustomerErrorResponse | CardIssuingCustomerReadyResponse;
266
+ }
267
+ /**
268
+ * A cards customer undergoing provider review before onboarding can continue.
269
+ */
270
+ export interface CardIssuingCustomerUnderReviewResponse {
271
+ status: 'under_review';
272
+ }
273
+ /**
274
+ * Dispute associated with card activity.
275
+ */
276
+ export interface CardIssuingDispute {
277
+ /**
278
+ * Status of a dispute for card activity.
279
+ */
280
+ status: CardIssuingDisputeStatus;
281
+ }
282
+ /**
283
+ * Status of a dispute for card activity.
284
+ */
285
+ export type CardIssuingDisputeStatus = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won';
286
+ /**
287
+ * Short-lived Stripe authorization for displaying card details.
288
+ */
289
+ export interface CardIssuingEphemeralKey {
290
+ /**
291
+ * Secret used only by Stripe Issuing Elements in the authenticated browser.
292
+ */
293
+ ephemeral_key_secret: string;
294
+ }
295
+ /**
296
+ * Request body for authorizing Stripe Issuing Elements to display card details.
297
+ */
298
+ export interface CardIssuingEphemeralKeyRequestBody {
299
+ /**
300
+ * The Privy API environment.
301
+ */
302
+ environment: SharedAPI.IntegrationEnvironment;
303
+ /**
304
+ * Browser nonce returned by Stripe.js for the card provider ID.
305
+ */
306
+ nonce: string;
307
+ }
308
+ /**
309
+ * Short-lived Stripe authorization for displaying an authenticated card.
310
+ */
311
+ export interface CardIssuingEphemeralKeyResponse {
312
+ /**
313
+ * Short-lived Stripe authorization for displaying card details.
314
+ */
315
+ data: CardIssuingEphemeralKey;
316
+ }
317
+ /**
318
+ * Query parameters for listing cards bound to the authenticated Privy user.
319
+ */
320
+ export interface CardIssuingListCardsInput {
321
+ /**
322
+ * The Privy API environment.
323
+ */
324
+ environment: SharedAPI.IntegrationEnvironment;
325
+ /**
326
+ * Cursor returned by the previous page.
327
+ */
328
+ cursor?: string;
329
+ /**
330
+ * Maximum number of cards to return.
331
+ */
332
+ limit?: number;
333
+ }
334
+ /**
335
+ * Query parameters for listing activity for a Privy card.
336
+ */
337
+ export interface CardIssuingListTransactionsInput {
338
+ /**
339
+ * The Privy API environment.
340
+ */
341
+ environment: SharedAPI.IntegrationEnvironment;
342
+ /**
343
+ * Opaque cursor returned by the previous page.
344
+ */
345
+ cursor?: string;
346
+ /**
347
+ * Maximum number of records requested from each card activity source.
348
+ */
349
+ limit?: number;
350
+ }
351
+ /**
352
+ * Merchant metadata for card activity.
353
+ */
354
+ export interface CardIssuingMerchant {
355
+ name: string | null;
356
+ }
357
+ /**
358
+ * Encrypted PIN to set on the card.
359
+ */
360
+ export interface CardIssuingPinUpdate {
361
+ /**
362
+ * The PIN, encrypted with the Stripe Issuing key.
363
+ */
364
+ encrypted_number: string;
365
+ }
366
+ /**
367
+ * Input for replacing a lost, stolen, or expired card.
368
+ */
369
+ export interface CardIssuingReplaceCardRequestBody {
370
+ /**
371
+ * The Privy API environment.
372
+ */
373
+ environment: SharedAPI.IntegrationEnvironment;
374
+ /**
375
+ * Why a card is being replaced.
376
+ */
377
+ replacement_reason: CardIssuingReplacementReason;
378
+ }
379
+ /**
380
+ * Why a card is being replaced.
381
+ */
382
+ export type CardIssuingReplacementReason = 'lost' | 'stolen' | 'expired';
383
+ /**
384
+ * Query parameters for downloading a monthly card statement.
385
+ */
386
+ export interface CardIssuingStatementQueryParams {
387
+ /**
388
+ * The Privy API environment.
389
+ */
390
+ environment: SharedAPI.IntegrationEnvironment;
391
+ }
392
+ /**
393
+ * Card activity
394
+ */
395
+ export interface CardIssuingTransactionResponse {
396
+ id: string;
397
+ amount: number;
398
+ created: number;
399
+ currency: string;
400
+ /**
401
+ * Dispute associated with card activity.
402
+ */
403
+ dispute: CardIssuingDispute | null;
404
+ /**
405
+ * Merchant metadata for card activity.
406
+ */
407
+ merchant: CardIssuingMerchant;
408
+ /**
409
+ * Status for card activity.
410
+ */
411
+ status: CardIssuingTransactionStatus;
412
+ }
413
+ /**
414
+ * Status for card activity.
415
+ */
416
+ export type CardIssuingTransactionStatus = 'pending' | 'posted' | 'declined' | 'expired' | 'reversed';
417
+ /**
418
+ * A chronological list of card activity.
419
+ */
420
+ export interface CardIssuingTransactionsResponse {
421
+ data: Array<CardIssuingTransactionResponse>;
422
+ next_cursor: string | null;
423
+ }
424
+ /**
425
+ * Input for updating a card.
426
+ */
427
+ export interface CardIssuingUpdateCardInput {
428
+ /**
429
+ * The Privy API environment.
430
+ */
431
+ environment: SharedAPI.IntegrationEnvironment;
432
+ /**
433
+ * Why a lost or stolen card is being canceled.
434
+ */
435
+ cancellation_reason?: CardIssuingCancellationReason;
436
+ /**
437
+ * Encrypted PIN to set on the card.
438
+ */
439
+ pin?: CardIssuingPinUpdate;
440
+ /**
441
+ * Lifecycle status of a card. Active unfreezes the card, inactive freezes it, and
442
+ * canceled closes it.
443
+ */
444
+ status?: CardIssuingCardStatus;
445
+ }
446
+ export declare namespace Cards {
447
+ export { type CardIssuingBankAgreement as CardIssuingBankAgreement, type CardIssuingBankInfo as CardIssuingBankInfo, type CardIssuingCancellationReason as CardIssuingCancellationReason, type CardIssuingCardResponse as CardIssuingCardResponse, type CardIssuingCardStatus as CardIssuingCardStatus, type CardIssuingCardholder as CardIssuingCardholder, type CardIssuingCardsResponse as CardIssuingCardsResponse, type CardIssuingConfig as CardIssuingConfig, type CardIssuingConfigQueryParams as CardIssuingConfigQueryParams, type CardIssuingConfigResponse as CardIssuingConfigResponse, type CardIssuingCreateCardInput as CardIssuingCreateCardInput, type CardIssuingCustomerBankTermsRequiredResponse as CardIssuingCustomerBankTermsRequiredResponse, type CardIssuingCustomerConsentsRequestBody as CardIssuingCustomerConsentsRequestBody, type CardIssuingCustomerElectronicDisclosureRequiredResponse as CardIssuingCustomerElectronicDisclosureRequiredResponse, type CardIssuingCustomerErrorResponse as CardIssuingCustomerErrorResponse, type CardIssuingCustomerInput as CardIssuingCustomerInput, type CardIssuingCustomerKYCRequiredResponse as CardIssuingCustomerKYCRequiredResponse, type CardIssuingCustomerNotCreatedResponse as CardIssuingCustomerNotCreatedResponse, type CardIssuingCustomerPendingResponse as CardIssuingCustomerPendingResponse, type CardIssuingCustomerProviderTermsRequiredResponse as CardIssuingCustomerProviderTermsRequiredResponse, type CardIssuingCustomerReadyResponse as CardIssuingCustomerReadyResponse, type CardIssuingCustomerRejectedResponse as CardIssuingCustomerRejectedResponse, type CardIssuingCustomerRejectionReason as CardIssuingCustomerRejectionReason, type CardIssuingCustomerResponse as CardIssuingCustomerResponse, type CardIssuingCustomerUnderReviewResponse as CardIssuingCustomerUnderReviewResponse, type CardIssuingDispute as CardIssuingDispute, type CardIssuingDisputeStatus as CardIssuingDisputeStatus, type CardIssuingEphemeralKey as CardIssuingEphemeralKey, type CardIssuingEphemeralKeyRequestBody as CardIssuingEphemeralKeyRequestBody, type CardIssuingEphemeralKeyResponse as CardIssuingEphemeralKeyResponse, type CardIssuingListCardsInput as CardIssuingListCardsInput, type CardIssuingListTransactionsInput as CardIssuingListTransactionsInput, type CardIssuingMerchant as CardIssuingMerchant, type CardIssuingPinUpdate as CardIssuingPinUpdate, type CardIssuingReplaceCardRequestBody as CardIssuingReplaceCardRequestBody, type CardIssuingReplacementReason as CardIssuingReplacementReason, type CardIssuingStatementQueryParams as CardIssuingStatementQueryParams, type CardIssuingTransactionResponse as CardIssuingTransactionResponse, type CardIssuingTransactionStatus as CardIssuingTransactionStatus, type CardIssuingTransactionsResponse as CardIssuingTransactionsResponse, type CardIssuingUpdateCardInput as CardIssuingUpdateCardInput, };
448
+ }
449
+ //# sourceMappingURL=cards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../src/resources/cards.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,KAAK,SAAS,oBAAiB;AAEtC,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,EAAE,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAE5C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,qBAAqB,CAAC;IAElC;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC;IAExB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CA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IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Cards = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class Cards extends resource_1.APIResource {
7
+ }
8
+ exports.Cards = Cards;
9
+ //# sourceMappingURL=cards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cards.js","sourceRoot":"","sources":["../src/resources/cards.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class Cards extends APIResource {
4
+ }
5
+ //# sourceMappingURL=cards.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cards.mjs","sourceRoot":"","sources":["../src/resources/cards.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
@@ -791,15 +791,22 @@ export interface OAuthTokenSuccessResponse {
791
791
  refresh_token?: string;
792
792
  }
793
793
  /**
794
- * The request body for transferring an OAuth account.
794
+ * OAuth transfer request body for native SDKs using PKCE.
795
795
  */
796
- export interface OAuthTransferRequestBody {
796
+ export interface OAuthTransferNativeSDKRequestBody {
797
+ authorization_code: string;
797
798
  nonce: string;
799
+ state_code: string;
798
800
  /**
799
- * User info for an OAuth transfer.
801
+ * The type of OAuth authorization code.
800
802
  */
801
- userInfo: OAuthTransferUserInfo;
803
+ code_type?: OAuthCodeType;
804
+ code_verifier?: string;
802
805
  }
806
+ /**
807
+ * The request body for transferring an OAuth account.
808
+ */
809
+ export type OAuthTransferRequestBody = OAuthTransferNativeSDKRequestBody | OAuthTransferWebSDKRequestBody;
803
810
  /**
804
811
  * User info for an OAuth transfer.
805
812
  */
@@ -823,6 +830,16 @@ export interface OAuthTransferUserInfo {
823
830
  export interface OAuthTransferUserInfoMeta {
824
831
  providerAppId?: string;
825
832
  }
833
+ /**
834
+ * OAuth transfer request body for the web SDK.
835
+ */
836
+ export interface OAuthTransferWebSDKRequestBody {
837
+ nonce: string;
838
+ /**
839
+ * User info for an OAuth transfer.
840
+ */
841
+ userInfo: OAuthTransferUserInfo;
842
+ }
826
843
  /**
827
844
  * The request body for unlinking an OAuth account.
828
845
  */
@@ -1535,6 +1552,6 @@ export interface UnlinkPasskeyInput {
1535
1552
  remove_as_mfa?: boolean;
1536
1553
  }
1537
1554
  export declare namespace ClientAuth {
1538
- export { type AuthenticateJwtInput as AuthenticateJwtInput, type AuthenticateMode as AuthenticateMode, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateSiweInput as AuthenticateSiweInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeOnrampProvider as BridgeOnrampProvider, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type BridgeSourceAsset as BridgeSourceAsset, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type BridgeUsdFiatVirtualAccountDepositPaymentRail as BridgeUsdFiatVirtualAccountDepositPaymentRail, type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type CustomOAuthProviderID as CustomOAuthProviderID, type DeviceVerifyAction as DeviceVerifyAction, type DeviceVerifyRequestBody as DeviceVerifyRequestBody, type DeviceVerifyResponse as DeviceVerifyResponse, type ExternalOAuthProviderID as ExternalOAuthProviderID, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitInput as FarcasterInitInput, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkInput as FarcasterUnlinkInput, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type LinkJwtInput as LinkJwtInput, type MfaEmailEnrollRequestBody as MfaEmailEnrollRequestBody, type MfaEmailInitEnrollInput as MfaEmailInitEnrollInput, type MfaEmailInitRequestBody as MfaEmailInitRequestBody, type MfaEmailInitVerifyInput as MfaEmailInitVerifyInput, type MfaEmailVerifyRequestBody as MfaEmailVerifyRequestBody, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthCodeType as OAuthCodeType, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthProviderID as OAuthProviderID, type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody, type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError, type OAuthTokenDeviceCodePendingErrorCode as OAuthTokenDeviceCodePendingErrorCode, type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody, type OAuthTokenGrantType as OAuthTokenGrantType, type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody, type OAuthTokenRequestBody as OAuthTokenRequestBody, type OAuthTokenSuccessResponse as OAuthTokenSuccessResponse, type OAuthTransferRequestBody as OAuthTransferRequestBody, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OnrampProvider as OnrampProvider, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyInitInput as PasskeyInitInput, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type PrivyOAuthProviderID as PrivyOAuthProviderID, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type SiweAddressInput as SiweAddressInput, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitInput as SiweInitInput, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweInput as SiweInput, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweNonce as SiweNonce, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAddressInput as SiwsAddressInput, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitInput as SiwsInitInput, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsInput as SiwsInput, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsMessageType as SiwsMessageType, type SiwsNonce as SiwsNonce, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type SmartWalletSiweInput as SmartWalletSiweInput, type TelegramAuthResult as TelegramAuthResult, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkInput as TelegramUnlinkInput, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type TelegramWebAppData as TelegramWebAppData, type TransferFarcasterInput as TransferFarcasterInput, type TransferSiweInput as TransferSiweInput, type TransferSiwsInput as TransferSiwsInput, type TransferTelegramInput as TransferTelegramInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, };
1555
+ export { type AuthenticateJwtInput as AuthenticateJwtInput, type AuthenticateMode as AuthenticateMode, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateSiweInput as AuthenticateSiweInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeOnrampProvider as BridgeOnrampProvider, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type BridgeSourceAsset as BridgeSourceAsset, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type BridgeUsdFiatVirtualAccountDepositPaymentRail as BridgeUsdFiatVirtualAccountDepositPaymentRail, type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type CustomOAuthProviderID as CustomOAuthProviderID, type DeviceVerifyAction as DeviceVerifyAction, type DeviceVerifyRequestBody as DeviceVerifyRequestBody, type DeviceVerifyResponse as DeviceVerifyResponse, type ExternalOAuthProviderID as ExternalOAuthProviderID, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitInput as FarcasterInitInput, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkInput as FarcasterUnlinkInput, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type LinkJwtInput as LinkJwtInput, type MfaEmailEnrollRequestBody as MfaEmailEnrollRequestBody, type MfaEmailInitEnrollInput as MfaEmailInitEnrollInput, type MfaEmailInitRequestBody as MfaEmailInitRequestBody, type MfaEmailInitVerifyInput as MfaEmailInitVerifyInput, type MfaEmailVerifyRequestBody as MfaEmailVerifyRequestBody, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthCodeType as OAuthCodeType, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthProviderID as OAuthProviderID, type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody, type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError, type OAuthTokenDeviceCodePendingErrorCode as OAuthTokenDeviceCodePendingErrorCode, type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody, type OAuthTokenGrantType as OAuthTokenGrantType, type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody, type OAuthTokenRequestBody as OAuthTokenRequestBody, type OAuthTokenSuccessResponse as OAuthTokenSuccessResponse, type OAuthTransferNativeSDKRequestBody as OAuthTransferNativeSDKRequestBody, type OAuthTransferRequestBody as OAuthTransferRequestBody, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OAuthTransferWebSDKRequestBody as OAuthTransferWebSDKRequestBody, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OnrampProvider as OnrampProvider, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyInitInput as PasskeyInitInput, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type PrivyOAuthProviderID as PrivyOAuthProviderID, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type SiweAddressInput as SiweAddressInput, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitInput as SiweInitInput, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweInput as SiweInput, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweNonce as SiweNonce, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAddressInput as SiwsAddressInput, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitInput as SiwsInitInput, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsInput as SiwsInput, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsMessageType as SiwsMessageType, type SiwsNonce as SiwsNonce, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type SmartWalletSiweInput as SmartWalletSiweInput, type TelegramAuthResult as TelegramAuthResult, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkInput as TelegramUnlinkInput, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type TelegramWebAppData as TelegramWebAppData, type TransferFarcasterInput as TransferFarcasterInput, type TransferSiweInput as TransferSiweInput, type TransferSiwsInput as TransferSiwsInput, type TransferTelegramInput as TransferTelegramInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, };
1539
1556
  }
1540
1557
  //# sourceMappingURL=client-auth.d.mts.map