@privy-io/api-types 0.3.4 → 0.5.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 (118) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/LICENSE +1 -1
  3. package/README.md +31 -0
  4. package/client.d.mts +21 -11
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +21 -11
  7. package/client.d.ts.map +1 -1
  8. package/client.js +20 -3
  9. package/client.js.map +1 -1
  10. package/client.mjs +20 -3
  11. package/client.mjs.map +1 -1
  12. package/internal/parse.d.mts.map +1 -1
  13. package/internal/parse.d.ts.map +1 -1
  14. package/internal/parse.js +5 -0
  15. package/internal/parse.js.map +1 -1
  16. package/internal/parse.mjs +5 -0
  17. package/internal/parse.mjs.map +1 -1
  18. package/package.json +1 -1
  19. package/resources/aggregations.d.mts +507 -0
  20. package/resources/aggregations.d.mts.map +1 -0
  21. package/resources/aggregations.d.ts +507 -0
  22. package/resources/aggregations.d.ts.map +1 -0
  23. package/resources/aggregations.js +9 -0
  24. package/resources/aggregations.js.map +1 -0
  25. package/resources/aggregations.mjs +5 -0
  26. package/resources/aggregations.mjs.map +1 -0
  27. package/resources/client-auth.d.mts +183 -24
  28. package/resources/client-auth.d.mts.map +1 -1
  29. package/resources/client-auth.d.ts +183 -24
  30. package/resources/client-auth.d.ts.map +1 -1
  31. package/resources/funding.d.mts +4 -4
  32. package/resources/funding.d.mts.map +1 -1
  33. package/resources/funding.d.ts +4 -4
  34. package/resources/funding.d.ts.map +1 -1
  35. package/resources/index.d.mts +7 -4
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +7 -4
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +7 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +3 -0
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/key-quorums.d.mts +4 -1
  44. package/resources/key-quorums.d.mts.map +1 -1
  45. package/resources/key-quorums.d.ts +4 -1
  46. package/resources/key-quorums.d.ts.map +1 -1
  47. package/resources/policies.d.mts +89 -135
  48. package/resources/policies.d.mts.map +1 -1
  49. package/resources/policies.d.ts +89 -135
  50. package/resources/policies.d.ts.map +1 -1
  51. package/resources/policies.js.map +1 -1
  52. package/resources/policies.mjs.map +1 -1
  53. package/resources/users.d.mts +679 -415
  54. package/resources/users.d.mts.map +1 -1
  55. package/resources/users.d.ts +679 -415
  56. package/resources/users.d.ts.map +1 -1
  57. package/resources/wallets/balance.d.mts +11 -6
  58. package/resources/wallets/balance.d.mts.map +1 -1
  59. package/resources/wallets/balance.d.ts +11 -6
  60. package/resources/wallets/balance.d.ts.map +1 -1
  61. package/resources/wallets/balance.js +1 -2
  62. package/resources/wallets/balance.js.map +1 -1
  63. package/resources/wallets/balance.mjs +1 -2
  64. package/resources/wallets/balance.mjs.map +1 -1
  65. package/resources/wallets/index.d.mts +1 -1
  66. package/resources/wallets/index.d.mts.map +1 -1
  67. package/resources/wallets/index.d.ts +1 -1
  68. package/resources/wallets/index.d.ts.map +1 -1
  69. package/resources/wallets/index.js.map +1 -1
  70. package/resources/wallets/index.mjs.map +1 -1
  71. package/resources/wallets/transactions.d.mts +3 -3
  72. package/resources/wallets/transactions.d.mts.map +1 -1
  73. package/resources/wallets/transactions.d.ts +3 -3
  74. package/resources/wallets/transactions.d.ts.map +1 -1
  75. package/resources/wallets/wallets.d.mts +347 -65
  76. package/resources/wallets/wallets.d.mts.map +1 -1
  77. package/resources/wallets/wallets.d.ts +347 -65
  78. package/resources/wallets/wallets.d.ts.map +1 -1
  79. package/resources/wallets/wallets.js +1 -1
  80. package/resources/wallets/wallets.js.map +1 -1
  81. package/resources/wallets/wallets.mjs +1 -1
  82. package/resources/wallets/wallets.mjs.map +1 -1
  83. package/resources/webhooks.d.mts +940 -0
  84. package/resources/webhooks.d.mts.map +1 -0
  85. package/resources/webhooks.d.ts +940 -0
  86. package/resources/webhooks.d.ts.map +1 -0
  87. package/resources/webhooks.js +9 -0
  88. package/resources/webhooks.js.map +1 -0
  89. package/resources/webhooks.mjs +5 -0
  90. package/resources/webhooks.mjs.map +1 -0
  91. package/resources/yield.d.mts +264 -0
  92. package/resources/yield.d.mts.map +1 -0
  93. package/resources/yield.d.ts +264 -0
  94. package/resources/yield.d.ts.map +1 -0
  95. package/resources/yield.js +9 -0
  96. package/resources/yield.js.map +1 -0
  97. package/resources/yield.mjs +5 -0
  98. package/resources/yield.mjs.map +1 -0
  99. package/src/client.ts +331 -16
  100. package/src/internal/parse.ts +6 -0
  101. package/src/resources/aggregations.ts +853 -0
  102. package/src/resources/client-auth.ts +309 -35
  103. package/src/resources/funding.ts +4 -1
  104. package/src/resources/index.ts +156 -9
  105. package/src/resources/key-quorums.ts +4 -1
  106. package/src/resources/policies.ts +129 -214
  107. package/src/resources/users.ts +974 -650
  108. package/src/resources/wallets/balance.ts +24 -6
  109. package/src/resources/wallets/index.ts +13 -3
  110. package/src/resources/wallets/transactions.ts +11 -3
  111. package/src/resources/wallets/wallets.ts +468 -91
  112. package/src/resources/webhooks.ts +1287 -0
  113. package/src/resources/yield.ts +330 -0
  114. package/src/version.ts +1 -1
  115. package/version.d.mts +1 -1
  116. package/version.d.ts +1 -1
  117. package/version.js +1 -1
  118. package/version.mjs +1 -1
@@ -213,7 +213,7 @@ export interface GuestAuthenticateRequestBody {
213
213
  export interface MfaPasskeyEnrollmentRequestBody {
214
214
  credential_ids: Array<string>;
215
215
 
216
- remove_for_login: boolean;
216
+ remove_for_login?: boolean;
217
217
  }
218
218
 
219
219
  /**
@@ -441,23 +441,10 @@ export interface OAuthLinkRequestBody {
441
441
  * The response for linking an OAuth account.
442
442
  */
443
443
  export interface OAuthLinkResponseBody extends UsersAPI.User {
444
- oauth_tokens?: OAuthLinkResponseBody.OAuthTokens;
445
- }
446
-
447
- export namespace OAuthLinkResponseBody {
448
- export interface OAuthTokens {
449
- access_token: string;
450
-
451
- provider: string;
452
-
453
- access_token_expires_in_seconds?: number;
454
-
455
- refresh_token?: string;
456
-
457
- refresh_token_expires_in_seconds?: number;
458
-
459
- scopes?: Array<string>;
460
- }
444
+ /**
445
+ * OAuth tokens associated with the user.
446
+ */
447
+ oauth_tokens?: UsersAPI.OAuthTokens;
461
448
  }
462
449
 
463
450
  /**
@@ -884,7 +871,7 @@ export namespace PasskeyRegisterRequestBody {
884
871
  export interface PasskeyUnlinkRequestBody {
885
872
  credential_id: string;
886
873
 
887
- remove_as_mfa: boolean;
874
+ remove_as_mfa?: boolean;
888
875
  }
889
876
 
890
877
  /**
@@ -985,17 +972,17 @@ export interface PasswordlessUpdateRequestBody {
985
972
  * The request body for authenticating a SIWE ceremony.
986
973
  */
987
974
  export interface SiweAuthenticateRequestBody {
988
- chainId: string | null;
989
-
990
- connectorType: string | null;
991
-
992
975
  message: string;
993
976
 
994
977
  signature: string;
995
978
 
996
- walletClientType: string | null;
979
+ chainId?: string | null;
980
+
981
+ connectorType?: string | null;
997
982
 
998
983
  mode?: 'no-signup' | 'login-or-sign-up';
984
+
985
+ walletClientType?: string | null;
999
986
  }
1000
987
 
1001
988
  /**
@@ -1020,15 +1007,15 @@ export interface SiweInitResponseBody {
1020
1007
  * The request body for linking a SIWE ceremony.
1021
1008
  */
1022
1009
  export interface SiweLinkRequestBody {
1023
- chainId: string | null;
1024
-
1025
- connectorType: string | null;
1026
-
1027
1010
  message: string;
1028
1011
 
1029
1012
  signature: string;
1030
1013
 
1031
- walletClientType: string | null;
1014
+ chainId?: string | null;
1015
+
1016
+ connectorType?: string | null;
1017
+
1018
+ walletClientType?: string | null;
1032
1019
  }
1033
1020
 
1034
1021
  /**
@@ -1055,17 +1042,17 @@ export interface SiweUnlinkRequestBody {
1055
1042
  * The request body for authenticating a SIWS ceremony.
1056
1043
  */
1057
1044
  export interface SiwsAuthenticateRequestBody {
1058
- connectorType: string | null;
1059
-
1060
1045
  message: string;
1061
1046
 
1062
1047
  signature: string;
1063
1048
 
1064
- walletClientType: string | null;
1049
+ connectorType?: string | null;
1065
1050
 
1066
1051
  message_type?: 'transaction' | 'plain';
1067
1052
 
1068
1053
  mode?: 'no-signup' | 'login-or-sign-up';
1054
+
1055
+ walletClientType?: string | null;
1069
1056
  }
1070
1057
 
1071
1058
  /**
@@ -1090,15 +1077,15 @@ export interface SiwsInitResponseBody {
1090
1077
  * The request body for linking a SIWS ceremony.
1091
1078
  */
1092
1079
  export interface SiwsLinkRequestBody {
1093
- connectorType: string | null;
1094
-
1095
1080
  message: string;
1096
1081
 
1097
1082
  signature: string;
1098
1083
 
1099
- walletClientType: string | null;
1084
+ connectorType?: string | null;
1100
1085
 
1101
1086
  message_type?: 'transaction' | 'plain';
1087
+
1088
+ walletClientType?: string | null;
1102
1089
  }
1103
1090
 
1104
1091
  /**
@@ -1245,6 +1232,271 @@ export type CustomOAuthProviderID = `custom:${string}`;
1245
1232
  */
1246
1233
  export type OAuthProviderID = ExternalOAuthProviderID | PrivyOAuthProviderID | CustomOAuthProviderID;
1247
1234
 
1235
+ /**
1236
+ * Valid set of onramp providers
1237
+ */
1238
+ export type OnrampProvider = 'bridge' | 'bridge-sandbox';
1239
+
1240
+ /**
1241
+ * The request input for getting a native onramp provider customer.
1242
+ */
1243
+ export interface GetFiatCustomerRequestInput {
1244
+ /**
1245
+ * Valid set of onramp providers
1246
+ */
1247
+ provider: OnrampProvider;
1248
+ }
1249
+
1250
+ /**
1251
+ * The request input for creating (or updating) a native onramp provider customer.
1252
+ */
1253
+ export interface CreateOrUpdateFiatCustomerRequestInput {
1254
+ has_accepted_terms: boolean;
1255
+
1256
+ /**
1257
+ * Valid set of onramp providers
1258
+ */
1259
+ provider: OnrampProvider;
1260
+ }
1261
+
1262
+ /**
1263
+ * The response for getting a native onramp provider customer.
1264
+ */
1265
+ export interface BridgeFiatCustomerResponse {
1266
+ has_accepted_terms: boolean;
1267
+
1268
+ provider: 'bridge';
1269
+
1270
+ status:
1271
+ | 'not_found'
1272
+ | 'active'
1273
+ | 'awaiting_questionnaire'
1274
+ | 'awaiting_ubo'
1275
+ | 'incomplete'
1276
+ | 'not_started'
1277
+ | 'offboarded'
1278
+ | 'paused'
1279
+ | 'rejected'
1280
+ | 'under_review';
1281
+
1282
+ kyc_url?: string;
1283
+ }
1284
+
1285
+ /**
1286
+ * The response for getting a native onramp provider customer.
1287
+ */
1288
+ export interface BridgeSandboxFiatCustomerResponse {
1289
+ has_accepted_terms: boolean;
1290
+
1291
+ provider: 'bridge-sandbox';
1292
+
1293
+ status:
1294
+ | 'not_found'
1295
+ | 'active'
1296
+ | 'awaiting_questionnaire'
1297
+ | 'awaiting_ubo'
1298
+ | 'incomplete'
1299
+ | 'not_started'
1300
+ | 'offboarded'
1301
+ | 'paused'
1302
+ | 'rejected'
1303
+ | 'under_review';
1304
+
1305
+ kyc_url?: string;
1306
+ }
1307
+
1308
+ /**
1309
+ * The response for getting a native onramp provider customer.
1310
+ */
1311
+ export type FiatCustomerResponse = BridgeFiatCustomerResponse | BridgeSandboxFiatCustomerResponse;
1312
+
1313
+ export type BridgeDestinationAsset = 'usdb' | 'usdc' | 'usdt' | 'dai' | 'pyusd' | 'eurc';
1314
+
1315
+ export type BridgeSourceAsset = 'usd' | 'eur' | 'mxn' | 'brl' | 'gbp';
1316
+
1317
+ export interface BridgeFiatVirtualAccountSource {
1318
+ asset: BridgeSourceAsset;
1319
+ }
1320
+
1321
+ export interface BridgeFiatVirtualAccountDestination {
1322
+ address: string;
1323
+
1324
+ asset: BridgeDestinationAsset;
1325
+
1326
+ chain: string;
1327
+ }
1328
+
1329
+ /**
1330
+ * The request input for creating virtual account.
1331
+ */
1332
+ export interface BridgeFiatVirtualAccountRequest {
1333
+ destination: BridgeFiatVirtualAccountDestination;
1334
+
1335
+ provider: 'bridge';
1336
+
1337
+ source: BridgeFiatVirtualAccountSource;
1338
+ }
1339
+
1340
+ /**
1341
+ * The request input for creating virtual account.
1342
+ */
1343
+ export interface BridgeSandboxFiatVirtualAccountRequest {
1344
+ destination: BridgeFiatVirtualAccountDestination;
1345
+
1346
+ provider: 'bridge-sandbox';
1347
+
1348
+ source: BridgeFiatVirtualAccountSource;
1349
+ }
1350
+
1351
+ /**
1352
+ * The request input for creating virtual account.
1353
+ */
1354
+ export type FiatVirtualAccountRequest =
1355
+ | BridgeFiatVirtualAccountRequest
1356
+ | BridgeSandboxFiatVirtualAccountRequest;
1357
+
1358
+ /**
1359
+ * The deposit instructions for a virtual account.
1360
+ */
1361
+ export interface BridgeUsdFiatVirtualAccountDepositInstructions {
1362
+ asset: 'usd';
1363
+
1364
+ bank_account_number: string;
1365
+
1366
+ bank_address: string;
1367
+
1368
+ bank_beneficiary_address: string;
1369
+
1370
+ bank_beneficiary_name: string;
1371
+
1372
+ bank_name: string;
1373
+
1374
+ bank_routing_number: string;
1375
+
1376
+ payment_rails: Array<'ach_push' | 'wire'>;
1377
+ }
1378
+
1379
+ /**
1380
+ * The deposit instructions for a virtual account.
1381
+ */
1382
+ export interface BridgeEurFiatVirtualAccountDepositInstructions {
1383
+ account_holder_name: string;
1384
+
1385
+ asset: 'eur';
1386
+
1387
+ bank_address: string;
1388
+
1389
+ bank_name: string;
1390
+
1391
+ bic: string;
1392
+
1393
+ iban: string;
1394
+
1395
+ payment_rails: Array<'sepa'>;
1396
+ }
1397
+
1398
+ /**
1399
+ * The deposit instructions for a virtual account.
1400
+ */
1401
+ export interface BridgeMxnFiatVirtualAccountDepositInstructions {
1402
+ account_holder_name: string;
1403
+
1404
+ asset: 'mxn';
1405
+
1406
+ bank_address: string;
1407
+
1408
+ bank_name: string;
1409
+
1410
+ clabe: string;
1411
+
1412
+ payment_rails: Array<'spei'>;
1413
+ }
1414
+
1415
+ /**
1416
+ * The deposit instructions for a virtual account.
1417
+ */
1418
+ export interface BridgeBrlFiatVirtualAccountDepositInstructions {
1419
+ account_holder_name: string;
1420
+
1421
+ asset: 'brl';
1422
+
1423
+ bank_address: string;
1424
+
1425
+ bank_name: string;
1426
+
1427
+ br_code: string;
1428
+
1429
+ payment_rails: Array<'pix'>;
1430
+ }
1431
+
1432
+ /**
1433
+ * The deposit instructions for a virtual account.
1434
+ */
1435
+ export interface BridgeGbpFiatVirtualAccountDepositInstructions {
1436
+ account_holder_name: string;
1437
+
1438
+ account_number: string;
1439
+
1440
+ asset: 'gbp';
1441
+
1442
+ bank_address: string;
1443
+
1444
+ bank_name: string;
1445
+
1446
+ payment_rails: Array<'faster_payments'>;
1447
+
1448
+ sort_code: string;
1449
+ }
1450
+
1451
+ /**
1452
+ * The deposit instructions for a virtual account.
1453
+ */
1454
+ export type BridgeFiatVirtualAccountDepositInstructions =
1455
+ | BridgeUsdFiatVirtualAccountDepositInstructions
1456
+ | BridgeEurFiatVirtualAccountDepositInstructions
1457
+ | BridgeMxnFiatVirtualAccountDepositInstructions
1458
+ | BridgeBrlFiatVirtualAccountDepositInstructions
1459
+ | BridgeGbpFiatVirtualAccountDepositInstructions;
1460
+
1461
+ /**
1462
+ * The response for creating virtual account.
1463
+ */
1464
+ export interface BridgeFiatVirtualAccountResponse {
1465
+ /**
1466
+ * The deposit instructions for a virtual account.
1467
+ */
1468
+ deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
1469
+
1470
+ destination: BridgeFiatVirtualAccountDestination;
1471
+
1472
+ provider: 'bridge';
1473
+
1474
+ status: string;
1475
+ }
1476
+
1477
+ /**
1478
+ * The response for creating virtual account.
1479
+ */
1480
+ export interface BridgeSandboxFiatVirtualAccountResponse {
1481
+ /**
1482
+ * The deposit instructions for a virtual account.
1483
+ */
1484
+ deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
1485
+
1486
+ destination: BridgeFiatVirtualAccountDestination;
1487
+
1488
+ provider: 'bridge-sandbox';
1489
+
1490
+ status: string;
1491
+ }
1492
+
1493
+ /**
1494
+ * The response for creating virtual account.
1495
+ */
1496
+ export type FiatVirtualAccountResponse =
1497
+ | BridgeFiatVirtualAccountResponse
1498
+ | BridgeSandboxFiatVirtualAccountResponse;
1499
+
1248
1500
  export declare namespace ClientAuth {
1249
1501
  export {
1250
1502
  type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
@@ -1319,5 +1571,27 @@ export declare namespace ClientAuth {
1319
1571
  type PrivyOAuthProviderID as PrivyOAuthProviderID,
1320
1572
  type CustomOAuthProviderID as CustomOAuthProviderID,
1321
1573
  type OAuthProviderID as OAuthProviderID,
1574
+ type OnrampProvider as OnrampProvider,
1575
+ type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput,
1576
+ type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput,
1577
+ type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse,
1578
+ type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse,
1579
+ type FiatCustomerResponse as FiatCustomerResponse,
1580
+ type BridgeDestinationAsset as BridgeDestinationAsset,
1581
+ type BridgeSourceAsset as BridgeSourceAsset,
1582
+ type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource,
1583
+ type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination,
1584
+ type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest,
1585
+ type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest,
1586
+ type FiatVirtualAccountRequest as FiatVirtualAccountRequest,
1587
+ type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions,
1588
+ type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions,
1589
+ type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions,
1590
+ type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions,
1591
+ type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions,
1592
+ type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions,
1593
+ type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse,
1594
+ type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
1595
+ type FiatVirtualAccountResponse as FiatVirtualAccountResponse,
1322
1596
  };
1323
1597
  }
@@ -15,7 +15,7 @@ export namespace CoinbaseOnRampInitInput {
15
15
  export interface UnionMember0 {
16
16
  addresses: Array<UnionMember0.Address>;
17
17
 
18
- assets?: Array<'eth' | 'ETH' | 'USDC' | 'POL'>;
18
+ assets?: Array<'eth' | 'ETH' | 'USDC' | 'POL' | 'MON'>;
19
19
  }
20
20
 
21
21
  export namespace UnionMember0 {
@@ -32,6 +32,7 @@ export namespace CoinbaseOnRampInitInput {
32
32
  | 'polygon'
33
33
  | 'arbitrum'
34
34
  | 'stellar'
35
+ | 'monad'
35
36
  >;
36
37
  }
37
38
  }
@@ -56,6 +57,7 @@ export namespace CoinbaseOnRampInitInput {
56
57
  | 'polygon'
57
58
  | 'arbitrum'
58
59
  | 'stellar'
60
+ | 'monad'
59
61
  >;
60
62
  }
61
63
  }
@@ -127,6 +129,7 @@ export namespace MoonpayOnRampSignInput {
127
129
  | 'WBTC_ETHEREUM'
128
130
  | 'BNB_BNB'
129
131
  | 'BNB_BSC'
132
+ | 'MON_MON'
130
133
  | 'CELO'
131
134
  | 'CUSD'
132
135
  | 'DAI'
@@ -1,5 +1,14 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
+ export {
4
+ Aggregations,
5
+ type AggregationMethod,
6
+ type AggregationMetric,
7
+ type AggregationWindow,
8
+ type AggregationGroupBy,
9
+ type Aggregation,
10
+ type AggregationInput,
11
+ } from './aggregations';
3
12
  export { Analytics, type AnalyticsEventInput } from './analytics';
4
13
  export { Apps, type AppResponse } from './apps';
5
14
  export {
@@ -76,6 +85,28 @@ export {
76
85
  type PrivyOAuthProviderID,
77
86
  type CustomOAuthProviderID,
78
87
  type OAuthProviderID,
88
+ type OnrampProvider,
89
+ type GetFiatCustomerRequestInput,
90
+ type CreateOrUpdateFiatCustomerRequestInput,
91
+ type BridgeFiatCustomerResponse,
92
+ type BridgeSandboxFiatCustomerResponse,
93
+ type FiatCustomerResponse,
94
+ type BridgeDestinationAsset,
95
+ type BridgeSourceAsset,
96
+ type BridgeFiatVirtualAccountSource,
97
+ type BridgeFiatVirtualAccountDestination,
98
+ type BridgeFiatVirtualAccountRequest,
99
+ type BridgeSandboxFiatVirtualAccountRequest,
100
+ type FiatVirtualAccountRequest,
101
+ type BridgeUsdFiatVirtualAccountDepositInstructions,
102
+ type BridgeEurFiatVirtualAccountDepositInstructions,
103
+ type BridgeMxnFiatVirtualAccountDepositInstructions,
104
+ type BridgeBrlFiatVirtualAccountDepositInstructions,
105
+ type BridgeGbpFiatVirtualAccountDepositInstructions,
106
+ type BridgeFiatVirtualAccountDepositInstructions,
107
+ type BridgeFiatVirtualAccountResponse,
108
+ type BridgeSandboxFiatVirtualAccountResponse,
109
+ type FiatVirtualAccountResponse,
79
110
  } from './client-auth';
80
111
  export { CrossApp, type CrossAppConnectionsResponse } from './cross-app';
81
112
  export {
@@ -109,6 +140,11 @@ export {
109
140
  } from './key-quorums';
110
141
  export {
111
142
  Policies,
143
+ type SuiTransactionCommandOperator,
144
+ type SuiTransferObjectsCommandField,
145
+ type TronTransactionCondition,
146
+ type SuiTransactionCommandCondition,
147
+ type SuiTransferObjectsCommandCondition,
112
148
  type Policy,
113
149
  type PolicyCreateRuleResponse,
114
150
  type PolicyDeleteResponse,
@@ -131,10 +167,17 @@ export {
131
167
  } from './transactions';
132
168
  export {
133
169
  Users,
134
- type AuthenticatedUser,
135
- type LinkedAccount,
136
- type User,
137
- type UserWithIdentityToken,
170
+ type LinkedAccountEmail,
171
+ type LinkedAccountPhone,
172
+ type LinkedAccountBaseWallet,
173
+ type LinkedAccountEthereum,
174
+ type SmartWalletType,
175
+ type LinkedAccountSmartWallet,
176
+ type LinkedAccountSolana,
177
+ type LinkedAccountFarcaster,
178
+ type LinkedAccountPasskey,
179
+ type LinkedAccountTelegram,
180
+ type EmbeddedWalletRecoveryMethod,
138
181
  type LinkedAccountEthereumEmbeddedWallet,
139
182
  type LinkedAccountSolanaEmbeddedWallet,
140
183
  type LinkedAccountBitcoinSegwitEmbeddedWallet,
@@ -142,8 +185,54 @@ export {
142
185
  type LinkedAccountCurveSigningEmbeddedWallet,
143
186
  type LinkedAccountEmbeddedWallet,
144
187
  type LinkedAccountEmbeddedWalletWithID,
145
- type SmartWalletType,
146
- type LinkedAccountSmartWallet,
188
+ type LinkedAccountGoogleOAuth,
189
+ type LinkedAccountTwitterOAuth,
190
+ type LinkedAccountDiscordOAuth,
191
+ type LinkedAccountGitHubOAuth,
192
+ type LinkedAccountLinkedInOAuth,
193
+ type LinkedAccountSpotifyOAuth,
194
+ type LinkedAccountInstagramOAuth,
195
+ type LinkedAccountTiktokOAuth,
196
+ type LinkedAccountLineOAuth,
197
+ type LinkedAccountTwitchOAuth,
198
+ type LinkedAccountAppleOAuth,
199
+ type LinkedAccountCustomOAuth,
200
+ type LinkedAccountCustomJwt,
201
+ type CrossAppEmbeddedWallet,
202
+ type CrossAppSmartWallet,
203
+ type LinkedAccountCrossApp,
204
+ type LinkedAccountAuthorizationKey,
205
+ type LinkedAccount,
206
+ type LinkedAccountType,
207
+ type CustomMetadata,
208
+ type LinkedAccountWalletInput,
209
+ type LinkedAccountEmailInput,
210
+ type LinkedAccountPhoneInput,
211
+ type LinkedAccountGoogleInput,
212
+ type LinkedAccountTwitterInput,
213
+ type LinkedAccountDiscordInput,
214
+ type LinkedAccountGitHubInput,
215
+ type LinkedAccountSpotifyInput,
216
+ type LinkedAccountInstagramInput,
217
+ type LinkedAccountTiktokInput,
218
+ type LinkedAccountLineInput,
219
+ type LinkedAccountTwitchInput,
220
+ type LinkedAccountAppleInput,
221
+ type LinkedAccountLinkedInInput,
222
+ type LinkedAccountFarcasterInput,
223
+ type LinkedAccountTelegramInput,
224
+ type LinkedAccountCustomJwtInput,
225
+ type LinkedAccountPasskeyInput,
226
+ type LinkedAccountInput,
227
+ type UserBatchCreateInput,
228
+ type SMSMfaMethod,
229
+ type TotpMfaMethod,
230
+ type PasskeyMfaMethod,
231
+ type LinkedMfaMethod,
232
+ type User,
233
+ type OAuthTokens,
234
+ type UserWithIdentityToken,
235
+ type AuthenticatedUser,
147
236
  type UserCreateParams,
148
237
  type UserListParams,
149
238
  type UserGetByCustomAuthIDParams,
@@ -166,13 +255,23 @@ export {
166
255
  } from './users';
167
256
  export {
168
257
  Wallets,
258
+ type WalletRevokeResponse,
169
259
  type CurveSigningChainType,
260
+ type ExtendedChainType,
170
261
  type FirstClassChainType,
171
- type Wallet,
172
262
  type WalletChainType,
173
- type WalletRevokeResponse,
174
- type ExtendedChainType,
175
263
  type WalletCustodian,
264
+ type CustodialWalletProvider,
265
+ type CustodialWalletChainType,
266
+ type CustodialWalletCreateInput,
267
+ type CustodialWallet,
268
+ type HpkeImportConfig,
269
+ type SuiCommandName,
270
+ type Wallet,
271
+ type WalletBatchItemInput,
272
+ type WalletBatchCreateInput,
273
+ type WalletBatchCreateResult,
274
+ type WalletBatchCreateResponse,
176
275
  type EthereumPersonalSignRpcInput,
177
276
  type EthereumSignTransactionRpcInput,
178
277
  type EthereumSendTransactionRpcInput,
@@ -211,3 +310,51 @@ export {
211
310
  type WalletCreateWalletsWithRecoveryParams,
212
311
  type WalletsCursor,
213
312
  } from './wallets/wallets';
313
+ export {
314
+ Webhooks,
315
+ type UserCreatedWebhookPayload,
316
+ type UserAuthenticatedWebhookPayload,
317
+ type UserLinkedAccountWebhookPayload,
318
+ type UserUnlinkedAccountWebhookPayload,
319
+ type UserUpdatedAccountWebhookPayload,
320
+ type UserTransferredAccountWebhookPayload,
321
+ type UserWalletCreatedWebhookPayload,
322
+ type TransactionBroadcastedWebhookPayload,
323
+ type TransactionConfirmedWebhookPayload,
324
+ type TransactionExecutionRevertedWebhookPayload,
325
+ type TransactionStillPendingWebhookPayload,
326
+ type TransactionFailedWebhookPayload,
327
+ type TransactionReplacedWebhookPayload,
328
+ type TransactionProviderErrorWebhookPayload,
329
+ type FundsDepositedWebhookPayload,
330
+ type FundsWithdrawnWebhookPayload,
331
+ type PrivateKeyExportWebhookPayload,
332
+ type WalletRecoverySetupWebhookPayload,
333
+ type WalletRecoveredWebhookPayload,
334
+ type MfaEnabledWebhookPayload,
335
+ type MfaDisabledWebhookPayload,
336
+ type KrakenEmbedVerificationCompletedWebhookPayload,
337
+ type KrakenEmbedVerificationFailedWebhookPayload,
338
+ type KrakenEmbedQuoteExecutedWebhookPayload,
339
+ type KrakenEmbedQuoteExecutionFailedWebhookPayload,
340
+ type KrakenEmbedQuoteCancelledWebhookPayload,
341
+ type KrakenEmbedUserVerifiedWebhookPayload,
342
+ type KrakenEmbedUserDisabledWebhookPayload,
343
+ type KrakenEmbedUserClosedWebhookPayload,
344
+ } from './webhooks';
345
+ export {
346
+ Yield,
347
+ type EthereumYieldProvider,
348
+ type EthereumYieldSweepType,
349
+ type EthereumYieldSweepStatus,
350
+ type EthereumYieldDepositInput,
351
+ type EthereumYieldWithdrawInput,
352
+ type EthereumYieldSweepResponse,
353
+ type EthereumVaultDetailsInput,
354
+ type EthereumYieldSweepIDInput,
355
+ type EthereumVaultResponse,
356
+ type EthereumVaultDetailsResponse,
357
+ type EthereumYieldPositionsInput,
358
+ type EthereumVaultPosition,
359
+ type EthereumYieldPositionResponse,
360
+ } from './yield';
@@ -93,6 +93,9 @@ export class KeyQuorums extends APIResource {
93
93
  }
94
94
  }
95
95
 
96
+ /**
97
+ * A key quorum for authorizing wallet operations.
98
+ */
96
99
  export interface KeyQuorum {
97
100
  id: string;
98
101
 
@@ -158,7 +161,7 @@ export interface KeyQuorumUpdateParams {
158
161
  authorization_threshold?: number;
159
162
 
160
163
  /**
161
- * Body param:
164
+ * Body param
162
165
  */
163
166
  display_name?: string;
164
167