@privy-io/api-types 0.13.0 → 0.15.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 (256) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts +25 -19
  9. package/client.d.mts.map +1 -1
  10. package/client.d.ts +25 -19
  11. package/client.d.ts.map +1 -1
  12. package/client.js +8 -2
  13. package/client.js.map +1 -1
  14. package/client.mjs +8 -2
  15. package/client.mjs.map +1 -1
  16. package/core/api-promise.d.mts.map +1 -1
  17. package/core/api-promise.d.ts.map +1 -1
  18. package/core/api-promise.mjs.map +1 -1
  19. package/core/error.mjs.map +1 -1
  20. package/core/pagination.d.mts.map +1 -1
  21. package/core/pagination.d.ts.map +1 -1
  22. package/core/pagination.mjs.map +1 -1
  23. package/core/resource.d.mts.map +1 -1
  24. package/core/resource.d.ts.map +1 -1
  25. package/core/uploads.d.mts.map +1 -1
  26. package/core/uploads.d.ts.map +1 -1
  27. package/core/uploads.mjs.map +1 -1
  28. package/error.d.mts +1 -0
  29. package/error.d.mts.map +1 -1
  30. package/error.d.ts +1 -0
  31. package/error.d.ts.map +1 -1
  32. package/error.mjs +1 -0
  33. package/error.mjs.map +1 -1
  34. package/index.d.mts.map +1 -1
  35. package/index.d.ts.map +1 -1
  36. package/index.mjs.map +1 -1
  37. package/internal/detect-platform.mjs.map +1 -1
  38. package/internal/headers.mjs.map +1 -1
  39. package/internal/parse.d.mts.map +1 -1
  40. package/internal/parse.d.ts.map +1 -1
  41. package/internal/parse.mjs.map +1 -1
  42. package/internal/qs/formats.d.mts.map +1 -1
  43. package/internal/qs/formats.d.ts.map +1 -1
  44. package/internal/qs/index.d.mts +2 -2
  45. package/internal/qs/index.d.mts.map +1 -1
  46. package/internal/qs/index.d.ts +2 -2
  47. package/internal/qs/index.d.ts.map +1 -1
  48. package/internal/qs/index.mjs.map +1 -1
  49. package/internal/qs/stringify.d.mts.map +1 -1
  50. package/internal/qs/stringify.d.ts.map +1 -1
  51. package/internal/qs/stringify.mjs.map +1 -1
  52. package/internal/qs/utils.d.mts.map +1 -1
  53. package/internal/qs/utils.d.ts.map +1 -1
  54. package/internal/qs/utils.mjs.map +1 -1
  55. package/internal/request-options.d.mts.map +1 -1
  56. package/internal/request-options.d.ts.map +1 -1
  57. package/internal/shims.d.mts +6 -0
  58. package/internal/shims.d.mts.map +1 -1
  59. package/internal/shims.d.ts +6 -0
  60. package/internal/shims.d.ts.map +1 -1
  61. package/internal/to-file.d.mts.map +1 -1
  62. package/internal/to-file.d.ts.map +1 -1
  63. package/internal/to-file.mjs.map +1 -1
  64. package/internal/types.d.mts +4 -4
  65. package/internal/types.d.mts.map +1 -1
  66. package/internal/types.d.ts +4 -4
  67. package/internal/types.d.ts.map +1 -1
  68. package/internal/uploads.d.mts.map +1 -1
  69. package/internal/uploads.d.ts.map +1 -1
  70. package/internal/uploads.mjs.map +1 -1
  71. package/internal/utils/base64.mjs.map +1 -1
  72. package/internal/utils/log.d.mts.map +1 -1
  73. package/internal/utils/log.d.ts.map +1 -1
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/package.json +1 -1
  82. package/pagination.d.mts +1 -0
  83. package/pagination.d.mts.map +1 -1
  84. package/pagination.d.ts +1 -0
  85. package/pagination.d.ts.map +1 -1
  86. package/pagination.mjs +1 -0
  87. package/pagination.mjs.map +1 -1
  88. package/resource.d.mts +1 -0
  89. package/resource.d.mts.map +1 -1
  90. package/resource.d.ts +1 -0
  91. package/resource.d.ts.map +1 -1
  92. package/resource.mjs +1 -0
  93. package/resource.mjs.map +1 -1
  94. package/resources/accounts.d.mts.map +1 -1
  95. package/resources/accounts.d.ts.map +1 -1
  96. package/resources/accounts.mjs.map +1 -1
  97. package/resources/aggregations.d.mts.map +1 -1
  98. package/resources/aggregations.d.ts.map +1 -1
  99. package/resources/aggregations.mjs.map +1 -1
  100. package/resources/analytics.d.mts +1 -1
  101. package/resources/analytics.d.mts.map +1 -1
  102. package/resources/analytics.d.ts +1 -1
  103. package/resources/analytics.d.ts.map +1 -1
  104. package/resources/analytics.mjs.map +1 -1
  105. package/resources/apps.d.mts +1 -17
  106. package/resources/apps.d.mts.map +1 -1
  107. package/resources/apps.d.ts +1 -17
  108. package/resources/apps.d.ts.map +1 -1
  109. package/resources/apps.mjs.map +1 -1
  110. package/resources/client-auth.d.mts +156 -213
  111. package/resources/client-auth.d.mts.map +1 -1
  112. package/resources/client-auth.d.ts +156 -213
  113. package/resources/client-auth.d.ts.map +1 -1
  114. package/resources/client-auth.js.map +1 -1
  115. package/resources/client-auth.mjs.map +1 -1
  116. package/resources/cross-app.d.mts.map +1 -1
  117. package/resources/cross-app.d.ts.map +1 -1
  118. package/resources/cross-app.mjs.map +1 -1
  119. package/resources/embedded-wallets.d.mts.map +1 -1
  120. package/resources/embedded-wallets.d.ts.map +1 -1
  121. package/resources/embedded-wallets.mjs.map +1 -1
  122. package/resources/fiat.d.mts.map +1 -1
  123. package/resources/fiat.d.ts.map +1 -1
  124. package/resources/fiat.mjs.map +1 -1
  125. package/resources/funding.d.mts.map +1 -1
  126. package/resources/funding.d.ts.map +1 -1
  127. package/resources/funding.mjs.map +1 -1
  128. package/resources/index.d.mts +11 -9
  129. package/resources/index.d.mts.map +1 -1
  130. package/resources/index.d.ts +11 -9
  131. package/resources/index.d.ts.map +1 -1
  132. package/resources/index.js +5 -1
  133. package/resources/index.js.map +1 -1
  134. package/resources/index.mjs +2 -0
  135. package/resources/index.mjs.map +1 -1
  136. package/resources/intents.d.mts +63 -2
  137. package/resources/intents.d.mts.map +1 -1
  138. package/resources/intents.d.ts +63 -2
  139. package/resources/intents.d.ts.map +1 -1
  140. package/resources/intents.mjs.map +1 -1
  141. package/resources/key-quorums.d.mts.map +1 -1
  142. package/resources/key-quorums.d.ts.map +1 -1
  143. package/resources/key-quorums.mjs.map +1 -1
  144. package/resources/kraken-embed.d.mts +653 -1
  145. package/resources/kraken-embed.d.mts.map +1 -1
  146. package/resources/kraken-embed.d.ts +653 -1
  147. package/resources/kraken-embed.d.ts.map +1 -1
  148. package/resources/kraken-embed.mjs.map +1 -1
  149. package/resources/oauth.d.mts +77 -0
  150. package/resources/oauth.d.mts.map +1 -0
  151. package/resources/oauth.d.ts +77 -0
  152. package/resources/oauth.d.ts.map +1 -0
  153. package/resources/oauth.js +9 -0
  154. package/resources/oauth.js.map +1 -0
  155. package/resources/oauth.mjs +5 -0
  156. package/resources/oauth.mjs.map +1 -0
  157. package/resources/onramps.d.mts +456 -0
  158. package/resources/onramps.d.mts.map +1 -0
  159. package/resources/onramps.d.ts +456 -0
  160. package/resources/onramps.d.ts.map +1 -0
  161. package/resources/onramps.js +9 -0
  162. package/resources/onramps.js.map +1 -0
  163. package/resources/onramps.mjs +5 -0
  164. package/resources/onramps.mjs.map +1 -0
  165. package/resources/organizations.d.mts.map +1 -1
  166. package/resources/organizations.d.ts.map +1 -1
  167. package/resources/organizations.mjs.map +1 -1
  168. package/resources/policies.d.mts +29 -3
  169. package/resources/policies.d.mts.map +1 -1
  170. package/resources/policies.d.ts +29 -3
  171. package/resources/policies.d.ts.map +1 -1
  172. package/resources/policies.mjs.map +1 -1
  173. package/resources/shared.d.mts +26 -1
  174. package/resources/shared.d.mts.map +1 -1
  175. package/resources/shared.d.ts +26 -1
  176. package/resources/shared.d.ts.map +1 -1
  177. package/resources/shared.mjs.map +1 -1
  178. package/resources/swaps.d.mts +43 -5
  179. package/resources/swaps.d.mts.map +1 -1
  180. package/resources/swaps.d.ts +43 -5
  181. package/resources/swaps.d.ts.map +1 -1
  182. package/resources/swaps.mjs.map +1 -1
  183. package/resources/transactions.d.mts.map +1 -1
  184. package/resources/transactions.d.ts.map +1 -1
  185. package/resources/transactions.mjs.map +1 -1
  186. package/resources/users.d.mts +3 -0
  187. package/resources/users.d.mts.map +1 -1
  188. package/resources/users.d.ts +3 -0
  189. package/resources/users.d.ts.map +1 -1
  190. package/resources/users.mjs.map +1 -1
  191. package/resources/wallet-actions.d.mts +86 -1
  192. package/resources/wallet-actions.d.mts.map +1 -1
  193. package/resources/wallet-actions.d.ts +86 -1
  194. package/resources/wallet-actions.d.ts.map +1 -1
  195. package/resources/wallet-actions.js.map +1 -1
  196. package/resources/wallet-actions.mjs.map +1 -1
  197. package/resources/wallets/balance.d.mts.map +1 -1
  198. package/resources/wallets/balance.d.ts.map +1 -1
  199. package/resources/wallets/balance.mjs.map +1 -1
  200. package/resources/wallets/index.d.mts +1 -1
  201. package/resources/wallets/index.d.mts.map +1 -1
  202. package/resources/wallets/index.d.ts +1 -1
  203. package/resources/wallets/index.d.ts.map +1 -1
  204. package/resources/wallets/index.js.map +1 -1
  205. package/resources/wallets/index.mjs.map +1 -1
  206. package/resources/wallets/transactions.d.mts.map +1 -1
  207. package/resources/wallets/transactions.d.ts.map +1 -1
  208. package/resources/wallets/transactions.mjs.map +1 -1
  209. package/resources/wallets/wallets.d.mts +153 -4
  210. package/resources/wallets/wallets.d.mts.map +1 -1
  211. package/resources/wallets/wallets.d.ts +153 -4
  212. package/resources/wallets/wallets.d.ts.map +1 -1
  213. package/resources/wallets/wallets.js.map +1 -1
  214. package/resources/wallets/wallets.mjs.map +1 -1
  215. package/resources/wallets.d.mts.map +1 -1
  216. package/resources/wallets.d.ts.map +1 -1
  217. package/resources/wallets.mjs.map +1 -1
  218. package/resources/webhooks.d.mts +116 -2
  219. package/resources/webhooks.d.mts.map +1 -1
  220. package/resources/webhooks.d.ts +116 -2
  221. package/resources/webhooks.d.ts.map +1 -1
  222. package/resources/webhooks.mjs.map +1 -1
  223. package/resources/yield.d.mts.map +1 -1
  224. package/resources/yield.d.ts.map +1 -1
  225. package/resources/yield.mjs.map +1 -1
  226. package/resources.d.mts.map +1 -1
  227. package/resources.d.ts.map +1 -1
  228. package/resources.mjs.map +1 -1
  229. package/src/client.ts +313 -61
  230. package/src/resources/analytics.ts +1 -1
  231. package/src/resources/apps.ts +0 -24
  232. package/src/resources/client-auth.ts +193 -304
  233. package/src/resources/index.ts +148 -25
  234. package/src/resources/intents.ts +84 -1
  235. package/src/resources/kraken-embed.ts +1661 -0
  236. package/src/resources/oauth.ts +96 -0
  237. package/src/resources/onramps.ts +637 -0
  238. package/src/resources/policies.ts +40 -0
  239. package/src/resources/shared.ts +37 -0
  240. package/src/resources/swaps.ts +51 -5
  241. package/src/resources/users.ts +3 -0
  242. package/src/resources/wallet-actions.ts +104 -0
  243. package/src/resources/wallets/index.ts +9 -0
  244. package/src/resources/wallets/wallets.ts +191 -3
  245. package/src/resources/webhooks.ts +142 -0
  246. package/src/version.ts +1 -1
  247. package/uploads.d.mts +1 -0
  248. package/uploads.d.mts.map +1 -1
  249. package/uploads.d.ts +1 -0
  250. package/uploads.d.ts.map +1 -1
  251. package/uploads.mjs +1 -0
  252. package/uploads.mjs.map +1 -1
  253. package/version.d.mts +1 -1
  254. package/version.d.ts +1 -1
  255. package/version.js +1 -1
  256. package/version.mjs +1 -1
@@ -407,7 +407,7 @@ export interface CustomTokenTransferSource {
407
407
  /**
408
408
  * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
409
409
  * USDC, "0.01" for 0.01 ETH). Not in the smallest on-chain unit (wei, lamports,
410
- * etc.).
410
+ * etc.). Maximum 100 characters.
411
411
  */
412
412
  amount: string;
413
413
 
@@ -425,6 +425,20 @@ export interface CustomTokenTransferSource {
425
425
  chain: string;
426
426
  }
427
427
 
428
+ /**
429
+ * Estimated fee paid to the developer.
430
+ */
431
+ export interface DeveloperFee {
432
+ /**
433
+ * Amount in USD (in decimals).
434
+ */
435
+ amount: string;
436
+
437
+ type: 'developer';
438
+
439
+ recipient?: string;
440
+ }
441
+
428
442
  /**
429
443
  * Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
430
444
  */
@@ -1063,11 +1077,52 @@ export type ExtendedChainType =
1063
1077
  | 'starknet'
1064
1078
  | 'spark';
1065
1079
 
1080
+ /**
1081
+ * Total fees assessed on a transfer, in BPS
1082
+ */
1083
+ export interface FeeConfiguration {
1084
+ /**
1085
+ * Discriminator: total fee specified in BPS.
1086
+ */
1087
+ type: 'total_fee_bps';
1088
+
1089
+ /**
1090
+ * Total fee in basis points (1 bps = 0.01%).
1091
+ */
1092
+ value: number;
1093
+ }
1094
+
1095
+ /**
1096
+ * An individual fee assessed on a transfer.
1097
+ */
1098
+ export type FeeLineItem = RelayerFee | PrivyFee | DeveloperFee;
1099
+
1066
1100
  /**
1067
1101
  * The wallet chain types that offer first class support.
1068
1102
  */
1069
1103
  export type FirstClassChainType = 'ethereum' | 'solana';
1070
1104
 
1105
+ /**
1106
+ * Gas cost for a blockchain action. Includes both raw base-unit amount and a
1107
+ * human-readable decimal string, plus the gas token symbol.
1108
+ */
1109
+ export interface Gas {
1110
+ /**
1111
+ * Gas cost in the gas token as a human-readable decimal string (e.g. "0.0001").
1112
+ */
1113
+ amount: string;
1114
+
1115
+ /**
1116
+ * Gas cost in the gas token's base units (e.g. wei).
1117
+ */
1118
+ base_amount: string;
1119
+
1120
+ /**
1121
+ * Gas token symbol (e.g. "ETH", "USDC").
1122
+ */
1123
+ gas_asset: string;
1124
+ }
1125
+
1071
1126
  /**
1072
1127
  * Request body for looking up a wallet by its blockchain address.
1073
1128
  */
@@ -1211,7 +1266,7 @@ export interface NamedTokenTransferSource {
1211
1266
  /**
1212
1267
  * Amount as a decimal string in the token's standard unit (e.g. "1.5" for 1.5
1213
1268
  * USDC, "0.01" for 0.01 ETH). Not in the smallest on-chain unit (wei, lamports,
1214
- * etc.).
1269
+ * etc.). Maximum 100 characters.
1215
1270
  */
1216
1271
  amount: string;
1217
1272
 
@@ -1350,6 +1405,20 @@ export interface PrivateKeySubmitInput {
1350
1405
  hpke_config?: HpkeImportConfig;
1351
1406
  }
1352
1407
 
1408
+ /**
1409
+ * Estimated fee paid to Privy.
1410
+ */
1411
+ export interface PrivyFee {
1412
+ /**
1413
+ * Amount in USD (in decimals).
1414
+ */
1415
+ amount: string;
1416
+
1417
+ type: 'privy';
1418
+
1419
+ recipient?: string;
1420
+ }
1421
+
1353
1422
  /**
1354
1423
  * A quantity value that can be either a hex string starting with '0x' or a
1355
1424
  * non-negative integer.
@@ -1444,6 +1513,20 @@ export interface RawSignResponseData {
1444
1513
  */
1445
1514
  export type RecipientPublicKey = string;
1446
1515
 
1516
+ /**
1517
+ * Estimated fee paid to the relayer.
1518
+ */
1519
+ export interface RelayerFee {
1520
+ /**
1521
+ * Amount in USD (in decimals).
1522
+ */
1523
+ amount: string;
1524
+
1525
+ type: 'relayer';
1526
+
1527
+ recipient?: string;
1528
+ }
1529
+
1447
1530
  /**
1448
1531
  * Input for exporting a wallet (private key or seed phrase) with HPKE encryption.
1449
1532
  */
@@ -2383,7 +2466,7 @@ export interface TokenOutput {
2383
2466
  */
2384
2467
  export interface TokenTransferDestination {
2385
2468
  /**
2386
- * Recipient address (hex for EVM, base58 for Solana)
2469
+ * Recipient address (hex for EVM, base58 for Solana, base58check for Tron)
2387
2470
  */
2388
2471
  address: string;
2389
2472
 
@@ -2406,6 +2489,21 @@ export interface TokenTransferDestination {
2406
2489
  */
2407
2490
  export type TokenTransferSource = NamedTokenTransferSource | CustomTokenTransferSource;
2408
2491
 
2492
+ /**
2493
+ * Total fees assessed on a transfer, in BPS
2494
+ */
2495
+ export interface TotalFeeConfigurationBps {
2496
+ /**
2497
+ * Discriminator: total fee specified in BPS.
2498
+ */
2499
+ type: 'total_fee_bps';
2500
+
2501
+ /**
2502
+ * Total fee in basis points (1 bps = 0.01%).
2503
+ */
2504
+ value: number;
2505
+ }
2506
+
2409
2507
  /**
2410
2508
  * Details of a wallet transaction, varying by transaction type.
2411
2509
  */
@@ -2417,6 +2515,82 @@ export type TransactionDetail = TransferSentTransactionDetail | TransferReceived
2417
2515
  */
2418
2516
  export type TransactionTokenAddressInput = string;
2419
2517
 
2518
+ /**
2519
+ * Request body for requesting a quote for a cross-asset or cross-chain (DADC)
2520
+ * transfer.
2521
+ */
2522
+ export interface TransferQuoteRequestBody {
2523
+ /**
2524
+ * The destination address for a token transfer. Optionally specify a different
2525
+ * asset or chain for cross-asset or cross-chain transfers.
2526
+ */
2527
+ destination: TokenTransferDestination;
2528
+
2529
+ /**
2530
+ * The source asset, amount, and chain for a token transfer. Specify either `asset`
2531
+ * (named) or `asset_address` (custom), not both.
2532
+ */
2533
+ source: TokenTransferSource;
2534
+
2535
+ /**
2536
+ * Whether the amount refers to the input token or output token.
2537
+ */
2538
+ amount_type?: AmountType;
2539
+
2540
+ /**
2541
+ * Total fees assessed on a transfer, in BPS
2542
+ */
2543
+ fee_configuration?: FeeConfiguration;
2544
+
2545
+ /**
2546
+ * Maximum allowed slippage in basis points (1 bps = 0.01%).
2547
+ */
2548
+ slippage_bps?: number;
2549
+ }
2550
+
2551
+ /**
2552
+ * Response containing a quote for a cross-asset or cross-chain (DADC) transfer.
2553
+ */
2554
+ export interface TransferQuoteResponse {
2555
+ /**
2556
+ * The destination address for a token transfer. Optionally specify a different
2557
+ * asset or chain for cross-asset or cross-chain transfers.
2558
+ */
2559
+ destination: TokenTransferDestination;
2560
+
2561
+ /**
2562
+ * Estimated fees in USD
2563
+ */
2564
+ estimated_fees: Array<FeeLineItem>;
2565
+
2566
+ /**
2567
+ * Estimated output amount in decimals
2568
+ */
2569
+ estimated_output_amount: string;
2570
+
2571
+ /**
2572
+ * Quote expiry as unix timestamp (seconds)
2573
+ */
2574
+ expires_at: number;
2575
+
2576
+ /**
2577
+ * The source asset, amount, and chain for a token transfer. Specify either `asset`
2578
+ * (named) or `asset_address` (custom), not both.
2579
+ */
2580
+ source: TokenTransferSource;
2581
+
2582
+ /**
2583
+ * Whether the amount refers to the input token or output token.
2584
+ */
2585
+ amount_type?: AmountType;
2586
+
2587
+ /**
2588
+ * Gas cost for a blockchain action. Includes both raw base-unit amount and a
2589
+ * human-readable decimal string, plus the gas token symbol.
2590
+ */
2591
+ estimated_gas?: Gas;
2592
+ }
2593
+
2420
2594
  /**
2421
2595
  * Details for a received transfer transaction.
2422
2596
  */
@@ -2480,6 +2654,11 @@ export interface TransferRequestBody {
2480
2654
  */
2481
2655
  amount_type?: AmountType;
2482
2656
 
2657
+ /**
2658
+ * Total fees assessed on a transfer, in BPS
2659
+ */
2660
+ fee_configuration?: FeeConfiguration;
2661
+
2483
2662
  /**
2484
2663
  * Maximum allowed slippage in basis points (1 bps = 0.01%).
2485
2664
  */
@@ -4478,6 +4657,7 @@ export declare namespace Wallets {
4478
4657
  type CustodialWalletCreateInput as CustodialWalletCreateInput,
4479
4658
  type CustodialWalletProvider as CustodialWalletProvider,
4480
4659
  type CustomTokenTransferSource as CustomTokenTransferSource,
4660
+ type DeveloperFee as DeveloperFee,
4481
4661
  type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput,
4482
4662
  type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams,
4483
4663
  type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse,
@@ -4521,7 +4701,10 @@ export declare namespace Wallets {
4521
4701
  type ExportSeedPhraseRpcResponse as ExportSeedPhraseRpcResponse,
4522
4702
  type ExportType as ExportType,
4523
4703
  type ExtendedChainType as ExtendedChainType,
4704
+ type FeeConfiguration as FeeConfiguration,
4705
+ type FeeLineItem as FeeLineItem,
4524
4706
  type FirstClassChainType as FirstClassChainType,
4707
+ type Gas as Gas,
4525
4708
  type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody,
4526
4709
  type HDInitInput as HDInitInput,
4527
4710
  type HDPath as HDPath,
@@ -4537,6 +4720,7 @@ export declare namespace Wallets {
4537
4720
  type PrivateKeyExportResponse as PrivateKeyExportResponse,
4538
4721
  type PrivateKeyInitInput as PrivateKeyInitInput,
4539
4722
  type PrivateKeySubmitInput as PrivateKeySubmitInput,
4723
+ type PrivyFee as PrivyFee,
4540
4724
  type Quantity as Quantity,
4541
4725
  type RawSignBytesEncoding as RawSignBytesEncoding,
4542
4726
  type RawSignBytesHashFunction as RawSignBytesHashFunction,
@@ -4547,6 +4731,7 @@ export declare namespace Wallets {
4547
4731
  type RawSignResponse as RawSignResponse,
4548
4732
  type RawSignResponseData as RawSignResponseData,
4549
4733
  type RecipientPublicKey as RecipientPublicKey,
4734
+ type RelayerFee as RelayerFee,
4550
4735
  type SeedPhraseExportInput as SeedPhraseExportInput,
4551
4736
  type SeedPhraseExportResponse as SeedPhraseExportResponse,
4552
4737
  type SigningAlgorithm as SigningAlgorithm,
@@ -4616,8 +4801,11 @@ export declare namespace Wallets {
4616
4801
  type TokenOutput as TokenOutput,
4617
4802
  type TokenTransferDestination as TokenTransferDestination,
4618
4803
  type TokenTransferSource as TokenTransferSource,
4804
+ type TotalFeeConfigurationBps as TotalFeeConfigurationBps,
4619
4805
  type TransactionDetail as TransactionDetail,
4620
4806
  type TransactionTokenAddressInput as TransactionTokenAddressInput,
4807
+ type TransferQuoteRequestBody as TransferQuoteRequestBody,
4808
+ type TransferQuoteResponse as TransferQuoteResponse,
4621
4809
  type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail,
4622
4810
  type TransferRequestBody as TransferRequestBody,
4623
4811
  type TransferSentTransactionDetail as TransferSentTransactionDetail,
@@ -482,6 +482,143 @@ export interface IntentFailedWebhookPayload {
482
482
  created_by_id?: string;
483
483
  }
484
484
 
485
+ /**
486
+ * Payload for the intent.rejected webhook event.
487
+ */
488
+ export interface IntentRejectedWebhookPayload {
489
+ /**
490
+ * Unix timestamp when the intent was created.
491
+ */
492
+ created_at: number;
493
+
494
+ /**
495
+ * Unix timestamp when the intent expires.
496
+ */
497
+ expires_at: number;
498
+
499
+ /**
500
+ * The unique ID of the intent.
501
+ */
502
+ intent_id: string;
503
+
504
+ /**
505
+ * Type of intent.
506
+ */
507
+ intent_type: IntentsAPI.IntentType;
508
+
509
+ /**
510
+ * Unix timestamp when the intent was rejected.
511
+ */
512
+ rejected_at: number;
513
+
514
+ /**
515
+ * The current status of the intent.
516
+ */
517
+ status: string;
518
+
519
+ /**
520
+ * The type of webhook event.
521
+ */
522
+ type: 'intent.rejected';
523
+
524
+ /**
525
+ * Display name of the user who created the intent.
526
+ */
527
+ created_by_display_name?: string;
528
+
529
+ /**
530
+ * The ID of the user who created the intent.
531
+ */
532
+ created_by_id?: string;
533
+ }
534
+
535
+ /**
536
+ * Payload for the kraken_embed.custom_order.cancelled webhook event.
537
+ */
538
+ export interface KrakenEmbedCustomOrderCancelledWebhookPayload {
539
+ /**
540
+ * ISO 8601 timestamp of when the custom order was cancelled.
541
+ */
542
+ cancelled_at: string;
543
+
544
+ /**
545
+ * The ID of the cancelled custom order.
546
+ */
547
+ custom_order_id: string;
548
+
549
+ /**
550
+ * A human-readable description of why the custom order was cancelled. Intended for
551
+ * display and logging purposes only.
552
+ */
553
+ reason: string;
554
+
555
+ /**
556
+ * The type of webhook event.
557
+ */
558
+ type: 'kraken_embed.custom_order.cancelled';
559
+
560
+ /**
561
+ * The ID of the user.
562
+ */
563
+ user_id: string;
564
+ }
565
+
566
+ /**
567
+ * Payload for the kraken_embed.custom_order.executed webhook event.
568
+ */
569
+ export interface KrakenEmbedCustomOrderExecutedWebhookPayload {
570
+ /**
571
+ * The ID of the executed custom order.
572
+ */
573
+ custom_order_id: string;
574
+
575
+ /**
576
+ * ISO 8601 timestamp of when the custom order was executed.
577
+ */
578
+ executed_at: string;
579
+
580
+ /**
581
+ * The type of webhook event.
582
+ */
583
+ type: 'kraken_embed.custom_order.executed';
584
+
585
+ /**
586
+ * The ID of the user.
587
+ */
588
+ user_id: string;
589
+ }
590
+
591
+ /**
592
+ * Payload for the kraken_embed.custom_order.execution_failed webhook event.
593
+ */
594
+ export interface KrakenEmbedCustomOrderExecutionFailedWebhookPayload {
595
+ /**
596
+ * The ID of the custom order that failed to execute.
597
+ */
598
+ custom_order_id: string;
599
+
600
+ /**
601
+ * ISO 8601 timestamp of when the custom order execution failed.
602
+ */
603
+ failed_at: string;
604
+
605
+ /**
606
+ * A human-readable description of why the custom order execution failed. Intended
607
+ * for display and logging purposes only.
608
+ */
609
+ reason: string;
610
+
611
+ /**
612
+ * The type of webhook event.
613
+ */
614
+ type: 'kraken_embed.custom_order.execution_failed';
615
+
616
+ /**
617
+ * The ID of the user.
618
+ */
619
+ user_id: string;
620
+ }
621
+
485
622
  /**
486
623
  * Payload for the kraken_embed.quote.cancelled webhook event.
487
624
  */
@@ -2642,6 +2779,7 @@ export type WebhookPayload =
2642
2779
  | UserOperationCompletedWebhookPayload
2643
2780
  | IntentCreatedWebhookPayload
2644
2781
  | IntentAuthorizedWebhookPayload
2782
+ | IntentRejectedWebhookPayload
2645
2783
  | IntentExecutedWebhookPayload
2646
2784
  | IntentFailedWebhookPayload
2647
2785
  | WalletActionSwapCreatedWebhookPayload
@@ -2755,6 +2893,10 @@ export declare namespace Webhooks {
2755
2893
  type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload,
2756
2894
  type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload,
2757
2895
  type IntentFailedWebhookPayload as IntentFailedWebhookPayload,
2896
+ type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload,
2897
+ type KrakenEmbedCustomOrderCancelledWebhookPayload as KrakenEmbedCustomOrderCancelledWebhookPayload,
2898
+ type KrakenEmbedCustomOrderExecutedWebhookPayload as KrakenEmbedCustomOrderExecutedWebhookPayload,
2899
+ type KrakenEmbedCustomOrderExecutionFailedWebhookPayload as KrakenEmbedCustomOrderExecutionFailedWebhookPayload,
2758
2900
  type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload,
2759
2901
  type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload,
2760
2902
  type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.13.0'; // x-release-please-version
1
+ export const VERSION = '0.15.0'; // x-release-please-version
package/uploads.d.mts CHANGED
@@ -1,2 +1,3 @@
1
+ /** @deprecated Import from ./core/uploads instead */
1
2
  export * from "./core/uploads.mjs";
2
3
  //# sourceMappingURL=uploads.d.mts.map
package/uploads.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
package/uploads.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ /** @deprecated Import from ./core/uploads instead */
1
2
  export * from "./core/uploads.js";
2
3
  //# sourceMappingURL=uploads.d.ts.map
package/uploads.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
package/uploads.mjs CHANGED
@@ -1,2 +1,3 @@
1
+ /** @deprecated Import from ./core/uploads instead */
1
2
  export * from "./core/uploads.mjs";
2
3
  //# sourceMappingURL=uploads.mjs.map
package/uploads.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.13.0";
1
+ export declare const VERSION = "0.15.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.13.0";
1
+ export declare const VERSION = "0.15.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.13.0'; // x-release-please-version
4
+ exports.VERSION = '0.15.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.13.0'; // x-release-please-version
1
+ export const VERSION = '0.15.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map