@privy-io/api-types 0.4.0 → 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 (103) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/client.d.mts +18 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +18 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js +17 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +17 -3
  9. package/client.mjs.map +1 -1
  10. package/internal/parse.d.mts.map +1 -1
  11. package/internal/parse.d.ts.map +1 -1
  12. package/internal/parse.js +5 -0
  13. package/internal/parse.js.map +1 -1
  14. package/internal/parse.mjs +5 -0
  15. package/internal/parse.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/resources/aggregations.d.mts +213 -2
  18. package/resources/aggregations.d.mts.map +1 -1
  19. package/resources/aggregations.d.ts +213 -2
  20. package/resources/aggregations.d.ts.map +1 -1
  21. package/resources/client-auth.d.mts +167 -1
  22. package/resources/client-auth.d.mts.map +1 -1
  23. package/resources/client-auth.d.ts +167 -1
  24. package/resources/client-auth.d.ts.map +1 -1
  25. package/resources/funding.d.mts +4 -4
  26. package/resources/funding.d.mts.map +1 -1
  27. package/resources/funding.d.ts +4 -4
  28. package/resources/funding.d.ts.map +1 -1
  29. package/resources/index.d.mts +7 -5
  30. package/resources/index.d.mts.map +1 -1
  31. package/resources/index.d.ts +7 -5
  32. package/resources/index.d.ts.map +1 -1
  33. package/resources/index.js +5 -1
  34. package/resources/index.js.map +1 -1
  35. package/resources/index.mjs +2 -0
  36. package/resources/index.mjs.map +1 -1
  37. package/resources/policies.d.mts +58 -60
  38. package/resources/policies.d.mts.map +1 -1
  39. package/resources/policies.d.ts +58 -60
  40. package/resources/policies.d.ts.map +1 -1
  41. package/resources/users.d.mts +72 -62
  42. package/resources/users.d.mts.map +1 -1
  43. package/resources/users.d.ts +72 -62
  44. package/resources/users.d.ts.map +1 -1
  45. package/resources/wallets/balance.d.mts +10 -5
  46. package/resources/wallets/balance.d.mts.map +1 -1
  47. package/resources/wallets/balance.d.ts +10 -5
  48. package/resources/wallets/balance.d.ts.map +1 -1
  49. package/resources/wallets/balance.js +1 -2
  50. package/resources/wallets/balance.js.map +1 -1
  51. package/resources/wallets/balance.mjs +1 -2
  52. package/resources/wallets/balance.mjs.map +1 -1
  53. package/resources/wallets/index.d.mts +1 -1
  54. package/resources/wallets/index.d.mts.map +1 -1
  55. package/resources/wallets/index.d.ts +1 -1
  56. package/resources/wallets/index.d.ts.map +1 -1
  57. package/resources/wallets/index.js.map +1 -1
  58. package/resources/wallets/index.mjs.map +1 -1
  59. package/resources/wallets/transactions.d.mts +2 -2
  60. package/resources/wallets/transactions.d.mts.map +1 -1
  61. package/resources/wallets/transactions.d.ts +2 -2
  62. package/resources/wallets/transactions.d.ts.map +1 -1
  63. package/resources/wallets/wallets.d.mts +192 -72
  64. package/resources/wallets/wallets.d.mts.map +1 -1
  65. package/resources/wallets/wallets.d.ts +192 -72
  66. package/resources/wallets/wallets.d.ts.map +1 -1
  67. package/resources/wallets/wallets.js.map +1 -1
  68. package/resources/wallets/wallets.mjs.map +1 -1
  69. package/resources/webhooks.d.mts +940 -0
  70. package/resources/webhooks.d.mts.map +1 -0
  71. package/resources/webhooks.d.ts +940 -0
  72. package/resources/webhooks.d.ts.map +1 -0
  73. package/resources/webhooks.js +9 -0
  74. package/resources/webhooks.js.map +1 -0
  75. package/resources/webhooks.mjs +5 -0
  76. package/resources/webhooks.mjs.map +1 -0
  77. package/resources/yield.d.mts +264 -0
  78. package/resources/yield.d.mts.map +1 -0
  79. package/resources/yield.d.ts +264 -0
  80. package/resources/yield.d.ts.map +1 -0
  81. package/resources/yield.js +9 -0
  82. package/resources/yield.js.map +1 -0
  83. package/resources/yield.mjs +5 -0
  84. package/resources/yield.mjs.map +1 -0
  85. package/src/client.ts +184 -14
  86. package/src/internal/parse.ts +6 -0
  87. package/src/resources/aggregations.ts +361 -5
  88. package/src/resources/client-auth.ts +287 -0
  89. package/src/resources/funding.ts +4 -1
  90. package/src/resources/index.ts +84 -8
  91. package/src/resources/policies.ts +78 -80
  92. package/src/resources/users.ts +128 -111
  93. package/src/resources/wallets/balance.ts +15 -5
  94. package/src/resources/wallets/index.ts +7 -3
  95. package/src/resources/wallets/transactions.ts +2 -2
  96. package/src/resources/wallets/wallets.ts +237 -91
  97. package/src/resources/webhooks.ts +1287 -0
  98. package/src/resources/yield.ts +330 -0
  99. package/src/version.ts +1 -1
  100. package/version.d.mts +1 -1
  101. package/version.d.ts +1 -1
  102. package/version.js +1 -1
  103. package/version.mjs +1 -1
@@ -9,18 +9,17 @@ export declare class Balance extends APIResource {
9
9
  * ```ts
10
10
  * const balance = await client.wallets.balance.get(
11
11
  * 'wallet_id',
12
- * { asset: 'usdc', chain: 'ethereum' },
13
12
  * );
14
13
  * ```
15
14
  */
16
- get(walletID: string, query: BalanceGetParams, options?: RequestOptions): APIPromise<BalanceGetResponse>;
15
+ get(walletID: string, query?: BalanceGetParams | null | undefined, options?: RequestOptions): APIPromise<BalanceGetResponse>;
17
16
  }
18
17
  export interface BalanceGetResponse {
19
18
  balances: Array<BalanceGetResponse.Balance>;
20
19
  }
21
20
  export declare namespace BalanceGetResponse {
22
21
  interface Balance {
23
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
22
+ asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
24
23
  chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
25
24
  display_values: {
26
25
  [key: string]: string;
@@ -30,8 +29,14 @@ export declare namespace BalanceGetResponse {
30
29
  }
31
30
  }
32
31
  export interface BalanceGetParams {
33
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol'>;
34
- chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | Array<'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet'>;
32
+ /**
33
+ * The token contract address(es) to query in format "chain:address" (e.g.,
34
+ * "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" or
35
+ * "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
36
+ */
37
+ token?: string | Array<string>;
38
+ asset?: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol'>;
39
+ chain?: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | Array<'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet'>;
35
40
  include_currency?: 'usd' | 'eur';
36
41
  }
37
42
  export declare namespace Balance {
@@ -1 +1 @@
1
- {"version":3,"file":"balance.d.mts","sourceRoot":"","sources":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,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,KAAK,CACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CACnB,CAAC;IAEN,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
1
+ {"version":3,"file":"balance.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,OAAO;QACtB,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;QAEjF,KAAK,EACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,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```ts
10
10
  * const balance = await client.wallets.balance.get(
11
11
  * 'wallet_id',
12
- * { asset: 'usdc', chain: 'ethereum' },
13
12
  * );
14
13
  * ```
15
14
  */
16
- get(walletID: string, query: BalanceGetParams, options?: RequestOptions): APIPromise<BalanceGetResponse>;
15
+ get(walletID: string, query?: BalanceGetParams | null | undefined, options?: RequestOptions): APIPromise<BalanceGetResponse>;
17
16
  }
18
17
  export interface BalanceGetResponse {
19
18
  balances: Array<BalanceGetResponse.Balance>;
20
19
  }
21
20
  export declare namespace BalanceGetResponse {
22
21
  interface Balance {
23
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
22
+ asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
24
23
  chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
25
24
  display_values: {
26
25
  [key: string]: string;
@@ -30,8 +29,14 @@ export declare namespace BalanceGetResponse {
30
29
  }
31
30
  }
32
31
  export interface BalanceGetParams {
33
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol'>;
34
- chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | Array<'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet'>;
32
+ /**
33
+ * The token contract address(es) to query in format "chain:address" (e.g.,
34
+ * "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" or
35
+ * "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
36
+ */
37
+ token?: string | Array<string>;
38
+ asset?: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol'>;
39
+ chain?: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet' | Array<'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet'>;
35
40
  include_currency?: 'usd' | 'eur';
36
41
  }
37
42
  export declare namespace Balance {
@@ -1 +1 @@
1
- {"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;CAGzG;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;CAC7C;AAED,yBAAiB,kBAAkB,CAAC;IAClC,UAAiB,OAA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,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC;IAErE,KAAK,CAAC,EACF,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,KAAK,CACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,SAAS,GACT,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,kBAAkB,GAClB,cAAc,GACd,eAAe,GACf,gBAAgB,CACnB,CAAC;IAEN,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,KAAK,kBAAkB,IAAI,kBAAkB,EAAE,KAAK,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;CACrG"}
@@ -12,11 +12,10 @@ class Balance extends resource_1.APIResource {
12
12
  * ```ts
13
13
  * const balance = await client.wallets.balance.get(
14
14
  * 'wallet_id',
15
- * { asset: 'usdc', chain: 'ethereum' },
16
15
  * );
17
16
  * ```
18
17
  */
19
- get(walletID, query, options) {
18
+ get(walletID, query = {}, options) {
20
19
  return this._client.get((0, path_1.path) `/v1/wallets/${walletID}/balance`, { query, ...options });
21
20
  }
22
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"balance.js","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,QAAgB,EAAE,KAAuB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AAfD,0BAeC"}
1
+ {"version":3,"file":"balance.js","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAgB,EAChB,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF;AAlBD,0BAkBC"}
@@ -9,11 +9,10 @@ export class Balance extends APIResource {
9
9
  * ```ts
10
10
  * const balance = await client.wallets.balance.get(
11
11
  * 'wallet_id',
12
- * { asset: 'usdc', chain: 'ethereum' },
13
12
  * );
14
13
  * ```
15
14
  */
16
- get(walletID, query, options) {
15
+ get(walletID, query = {}, options) {
17
16
  return this._client.get(path `/v1/wallets/${walletID}/balance`, { query, ...options });
18
17
  }
19
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"balance.mjs","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,GAAG,CAAC,QAAgB,EAAE,KAAuB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF"}
1
+ {"version":3,"file":"balance.mjs","sourceRoot":"","sources":["../../src/resources/wallets/balance.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;OASG;IACH,GAAG,CACD,QAAgB,EAChB,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,eAAe,QAAQ,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;CACF"}
@@ -1,4 +1,4 @@
1
1
  export { Balance, type BalanceGetResponse, type BalanceGetParams } from "./balance.mjs";
2
2
  export { Transactions, type TransactionGetResponse, type TransactionGetParams } from "./transactions.mjs";
3
- export { Wallets, type CurveSigningChainType, type FirstClassChainType, type Wallet, type WalletChainType, type WalletRevokeResponse, type ExtendedChainType, type WalletCustodian, type CustodialWalletProvider, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWallet, type HpkeImportConfig, type SuiCommandName, type EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse, type WalletExportResponse, type WalletInitImportResponse, type WalletRawSignResponse, type WalletRpcResponse, type WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse, type WalletCreateParams, type WalletListParams, type WalletExportParams, type WalletInitImportParams, type WalletRawSignParams, type WalletRpcParams, type WalletSubmitImportParams, type WalletUpdateParams, type WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams, type WalletsCursor, } from "./wallets.mjs";
3
+ export { Wallets, type WalletRevokeResponse, type CurveSigningChainType, type ExtendedChainType, type FirstClassChainType, type WalletChainType, type WalletCustodian, type CustodialWalletProvider, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWallet, type HpkeImportConfig, type SuiCommandName, type Wallet, type WalletBatchItemInput, type WalletBatchCreateInput, type WalletBatchCreateResult, type WalletBatchCreateResponse, type EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse, type WalletExportResponse, type WalletInitImportResponse, type WalletRawSignResponse, type WalletRpcResponse, type WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse, type WalletCreateParams, type WalletListParams, type WalletExportParams, type WalletInitImportParams, type WalletRawSignParams, type WalletRpcParams, type WalletSubmitImportParams, type WalletUpdateParams, type WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams, type WalletsCursor, } from "./wallets.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,YAAY,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACxE,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,uCAAuC,EAC5C,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EACpC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,GACnB"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,YAAY,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACxE,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,uCAAuC,EAC5C,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EACpC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,GACnB"}
@@ -1,4 +1,4 @@
1
1
  export { Balance, type BalanceGetResponse, type BalanceGetParams } from "./balance.js";
2
2
  export { Transactions, type TransactionGetResponse, type TransactionGetParams } from "./transactions.js";
3
- export { Wallets, type CurveSigningChainType, type FirstClassChainType, type Wallet, type WalletChainType, type WalletRevokeResponse, type ExtendedChainType, type WalletCustodian, type CustodialWalletProvider, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWallet, type HpkeImportConfig, type SuiCommandName, type EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse, type WalletExportResponse, type WalletInitImportResponse, type WalletRawSignResponse, type WalletRpcResponse, type WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse, type WalletCreateParams, type WalletListParams, type WalletExportParams, type WalletInitImportParams, type WalletRawSignParams, type WalletRpcParams, type WalletSubmitImportParams, type WalletUpdateParams, type WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams, type WalletsCursor, } from "./wallets.js";
3
+ export { Wallets, type WalletRevokeResponse, type CurveSigningChainType, type ExtendedChainType, type FirstClassChainType, type WalletChainType, type WalletCustodian, type CustodialWalletProvider, type CustodialWalletChainType, type CustodialWalletCreateInput, type CustodialWallet, type HpkeImportConfig, type SuiCommandName, type Wallet, type WalletBatchItemInput, type WalletBatchCreateInput, type WalletBatchCreateResult, type WalletBatchCreateResponse, type EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse, type WalletExportResponse, type WalletInitImportResponse, type WalletRawSignResponse, type WalletRpcResponse, type WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse, type WalletCreateParams, type WalletListParams, type WalletExportParams, type WalletInitImportParams, type WalletRawSignParams, type WalletRpcParams, type WalletSubmitImportParams, type WalletUpdateParams, type WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams, type WalletsCursor, } from "./wallets.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,YAAY,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACxE,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,uCAAuC,EAC5C,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EACpC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,GACnB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OAC3D,EAAE,YAAY,EAAE,KAAK,sBAAsB,EAAE,KAAK,oBAAoB,EAAE;OACxE,EACL,OAAO,EACP,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,MAAM,EACX,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oCAAoC,EACzC,KAAK,yBAAyB,EAC9B,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,EACrC,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,KAAK,uCAAuC,EAC5C,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,+BAA+B,EACpC,KAAK,qCAAqC,EAC1C,KAAK,aAAa,GACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,kDAAsG;AAA7F,4GAAA,YAAY,OAAA;AACrB,wCAoDmB;AAnDjB,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoF;AAA3E,kGAAA,OAAO,OAAA;AAChB,kDAAsG;AAA7F,4GAAA,YAAY,OAAA;AACrB,wCAwDmB;AAvDjB,kGAAA,OAAO,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkD;OAC3D,EAAE,YAAY,EAA0D;OACxE,EACL,OAAO,GAmDR"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/wallets/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAkD;OAC3D,EAAE,YAAY,EAA0D;OACxE,EACL,OAAO,GAuDR"}
@@ -32,7 +32,7 @@ export declare namespace TransactionGetResponse {
32
32
  }
33
33
  namespace Transaction {
34
34
  interface UnionMember0 {
35
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
35
+ asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
36
36
  chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
37
37
  display_values: {
38
38
  [key: string]: string;
@@ -46,7 +46,7 @@ export declare namespace TransactionGetResponse {
46
46
  type: 'transfer_sent';
47
47
  }
48
48
  interface UnionMember1 {
49
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
49
+ asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
50
50
  chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
51
51
  display_values: {
52
52
  [key: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,YAAY,EAAE,KAAK,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC;CACzD;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,WAAW;QAC1B,KAAK,EAAE,MAAM,CAAC;QAEd,UAAU,EAAE,MAAM,CAAC;QAEnB,OAAO,EAAE,WAAW,CAAC,YAAY,GAAG,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC;QAEpE,oBAAoB,EAAE,MAAM,CAAC;QAE7B,MAAM,EACF,aAAa,GACb,WAAW,GACX,oBAAoB,GACpB,QAAQ,GACR,UAAU,GACV,WAAW,GACX,gBAAgB,GAChB,SAAS,CAAC;QAEd,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;QAEhC,SAAS,EAAE,MAAM,CAAC;QAElB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB;IAED,UAAiB,WAAW,CAAC;QAC3B,UAAiB,Y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oB,EAAE,MAAM,GAAG,IAAI,CAAC;YAEpC,IAAI,EAAE,mBAAmB,CAAC;SAC3B;KACF;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EACD,MAAM,GACN,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC;IAErE,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IAElG,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
1
+ {"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../../src/resources/wallets/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,YAAY,EAAE,KAAK,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC;CACzD;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,WAAW;QAC1B,KAAK,EAAE,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
  }
33
33
  namespace Transaction {
34
34
  interface UnionMember0 {
35
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
35
+ asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
36
36
  chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
37
37
  display_values: {
38
38
  [key: string]: string;
@@ -46,7 +46,7 @@ export declare namespace TransactionGetResponse {
46
46
  type: 'transfer_sent';
47
47
  }
48
48
  interface UnionMember1 {
49
- asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
49
+ asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
50
50
  chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
51
51
  display_values: {
52
52
  [key: string]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,C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AAoB,GAClD,CAAC;CACH"}
1
+ {"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../src/resources/wallets/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,GAAG,CACD,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,oBAAoB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,sBAAsB,CAAC;CAGtC;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,YAAY,EAAE,KAAK,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC;CACzD;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,WAAW;QAC1B,KAAK,EAAE,MAAM,CAAC;QAEd,UAAU,EAAE,MAAM,CAAC;QAEnB,OAAO,EAAE,WAAW,CAAC,YAAY,GAAG,WAAW,CAAC,YAAY,GAAG,IAAI,CAAC;QAEpE,oBAAoB,EAAE,MAAM,CAAC;QAE7B,MAAM,EACF,aAAa,GACb,WAAW,GACX,oBAAoB,GACpB,QAAQ,GACR,UAAU,GACV,WAAW,GACX,gBAAgB,GAChB,SAAS,CAAC;QAEd,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;QAEhC,SAAS,EAAE,MAAM,CAAC;QAElB,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB;IAED,UAAiB,WAAW,CAAC;QAC3B,UAAiB,YAAY;YAC3B,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;YAEjF,KAAK,EACD,UAAU,GACV,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GAC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GACN,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,CAAC;IAErE,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IAElG,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -147,87 +147,28 @@ export declare class Wallets extends APIResource {
147
147
  get(walletID: string, options?: RequestOptions): APIPromise<Wallet>;
148
148
  }
149
149
  export type WalletsCursor = Cursor<Wallet>;
150
+ /**
151
+ * The response body from revoking a wallet delegation.
152
+ */
153
+ export interface WalletRevokeResponse {
154
+ message: string;
155
+ }
150
156
  /**
151
157
  * The wallet chain types that support curve-based signing.
152
158
  */
153
159
  export type CurveSigningChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet';
154
160
  /**
155
- * The wallet chain types that offer first class support.
161
+ * The wallet chain types that are not first class chains.
156
162
  */
157
- export type FirstClassChainType = 'ethereum' | 'solana';
163
+ export type ExtendedChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet' | 'spark';
158
164
  /**
159
- * A wallet managed by Privy's wallet infrastructure.
165
+ * The wallet chain types that offer first class support.
160
166
  */
161
- export interface Wallet {
162
- /**
163
- * Unique ID of the wallet. This will be the primary identifier when using the
164
- * wallet in the future.
165
- */
166
- id: string;
167
- /**
168
- * Additional signers for the wallet.
169
- */
170
- additional_signers: Array<Wallet.AdditionalSigner>;
171
- /**
172
- * Address of the wallet.
173
- */
174
- address: string;
175
- /**
176
- * The wallet chain types.
177
- */
178
- chain_type: WalletChainType;
179
- /**
180
- * Unix timestamp of when the wallet was created in milliseconds.
181
- */
182
- created_at: number;
183
- /**
184
- * Unix timestamp of when the wallet was exported in milliseconds, if the wallet
185
- * was exported.
186
- */
187
- exported_at: number | null;
188
- /**
189
- * Unix timestamp of when the wallet was imported in milliseconds, if the wallet
190
- * was imported.
191
- */
192
- imported_at: number | null;
193
- /**
194
- * The key quorum ID of the owner of the wallet.
195
- */
196
- owner_id: string | null;
197
- /**
198
- * List of policy IDs for policies that are enforced on the wallet.
199
- */
200
- policy_ids: Array<string>;
201
- /**
202
- * The compressed, raw public key for the wallet along the chain cryptographic
203
- * curve.
204
- */
205
- public_key?: string;
206
- }
207
- export declare namespace Wallet {
208
- interface AdditionalSigner {
209
- signer_id: string;
210
- /**
211
- * The array of policy IDs that will be applied to wallet requests. If specified,
212
- * this will override the base policy IDs set on the wallet.
213
- */
214
- override_policy_ids?: Array<string>;
215
- }
216
- }
167
+ export type FirstClassChainType = 'ethereum' | 'solana';
217
168
  /**
218
169
  * The wallet chain types.
219
170
  */
220
171
  export type WalletChainType = 'ethereum' | 'solana' | 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet' | 'spark';
221
- /**
222
- * The response body from revoking a wallet delegation.
223
- */
224
- export interface WalletRevokeResponse {
225
- message: string;
226
- }
227
- /**
228
- * The wallet chain types that are not first class chains.
229
- */
230
- export type ExtendedChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet' | 'spark';
231
172
  /**
232
173
  * Information about the custodian managing this wallet.
233
174
  */
@@ -325,6 +266,177 @@ export interface HpkeImportConfig {
325
266
  * SUI transaction commands allowlist for raw_sign endpoint policy evaluation
326
267
  */
327
268
  export type SuiCommandName = 'TransferObjects' | 'SplitCoins' | 'MergeCoins';
269
+ /**
270
+ * A wallet managed by Privy's wallet infrastructure.
271
+ */
272
+ export interface Wallet {
273
+ /**
274
+ * Unique ID of the wallet. This will be the primary identifier when using the
275
+ * wallet in the future.
276
+ */
277
+ id: string;
278
+ /**
279
+ * Additional signers for the wallet.
280
+ */
281
+ additional_signers: Array<Wallet.AdditionalSigner>;
282
+ /**
283
+ * Address of the wallet.
284
+ */
285
+ address: string;
286
+ /**
287
+ * The wallet chain types.
288
+ */
289
+ chain_type: WalletChainType;
290
+ /**
291
+ * Unix timestamp of when the wallet was created in milliseconds.
292
+ */
293
+ created_at: number;
294
+ /**
295
+ * Unix timestamp of when the wallet was exported in milliseconds, if the wallet
296
+ * was exported.
297
+ */
298
+ exported_at: number | null;
299
+ /**
300
+ * Unix timestamp of when the wallet was imported in milliseconds, if the wallet
301
+ * was imported.
302
+ */
303
+ imported_at: number | null;
304
+ /**
305
+ * The key quorum ID of the owner of the wallet.
306
+ */
307
+ owner_id: string | null;
308
+ /**
309
+ * List of policy IDs for policies that are enforced on the wallet.
310
+ */
311
+ policy_ids: Array<string>;
312
+ /**
313
+ * The compressed, raw public key for the wallet along the chain cryptographic
314
+ * curve.
315
+ */
316
+ public_key?: string;
317
+ }
318
+ export declare namespace Wallet {
319
+ interface AdditionalSigner {
320
+ signer_id: string;
321
+ /**
322
+ * The array of policy IDs that will be applied to wallet requests. If specified,
323
+ * this will override the base policy IDs set on the wallet.
324
+ */
325
+ override_policy_ids?: Array<string>;
326
+ }
327
+ }
328
+ /**
329
+ * Input for a single wallet in a batch creation request.
330
+ */
331
+ export interface WalletBatchItemInput {
332
+ /**
333
+ * The wallet chain types.
334
+ */
335
+ chain_type: WalletChainType;
336
+ /**
337
+ * Additional signers for the wallet.
338
+ */
339
+ additional_signers?: Array<WalletBatchItemInput.AdditionalSigner>;
340
+ /**
341
+ * The owner of the resource. If you provide this, do not specify an owner_id as it
342
+ * will be generated automatically. When updating a wallet, you can set the owner
343
+ * to null to remove the owner.
344
+ */
345
+ owner?: WalletBatchItemInput.PublicKeyOwner | WalletBatchItemInput.UserOwner | null;
346
+ /**
347
+ * The key quorum ID to set as the owner of the resource. If you provide this, do
348
+ * not specify an owner.
349
+ */
350
+ owner_id?: string;
351
+ /**
352
+ * List of policy IDs for policies that should be enforced on the wallet.
353
+ * Currently, only one policy is supported per wallet.
354
+ */
355
+ policy_ids?: Array<string>;
356
+ }
357
+ export declare namespace WalletBatchItemInput {
358
+ interface AdditionalSigner {
359
+ signer_id: string;
360
+ /**
361
+ * The array of policy IDs that will be applied to wallet requests. If specified,
362
+ * this will override the base policy IDs set on the wallet.
363
+ */
364
+ override_policy_ids?: Array<string>;
365
+ }
366
+ /**
367
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
368
+ * If you provide this, do not specify an owner_id as it will be generated
369
+ * automatically.
370
+ */
371
+ interface PublicKeyOwner {
372
+ public_key: string;
373
+ }
374
+ /**
375
+ * The user ID of the owner of the resource. The user must already exist, and this
376
+ * value must start with "did:privy:". If you provide this, do not specify an
377
+ * owner_id as it will be generated automatically.
378
+ */
379
+ interface UserOwner {
380
+ user_id: string;
381
+ }
382
+ }
383
+ /**
384
+ * Request body for batch wallet creation.
385
+ */
386
+ export interface WalletBatchCreateInput {
387
+ /**
388
+ * Array of wallet creation requests. Minimum 1, maximum 100.
389
+ */
390
+ wallets: Array<WalletBatchItemInput>;
391
+ }
392
+ /**
393
+ * A single result from a batch wallet creation operation.
394
+ */
395
+ export type WalletBatchCreateResult = WalletBatchCreateResult.WalletBatchCreateSuccess | WalletBatchCreateResult.WalletBatchCreateFailure;
396
+ export declare namespace WalletBatchCreateResult {
397
+ /**
398
+ * A successful wallet creation result within a batch operation.
399
+ */
400
+ interface WalletBatchCreateSuccess {
401
+ /**
402
+ * The index of the wallet in the original request array.
403
+ */
404
+ index: number;
405
+ success: true;
406
+ /**
407
+ * A wallet managed by Privy's wallet infrastructure.
408
+ */
409
+ wallet: WalletsAPI.Wallet;
410
+ }
411
+ /**
412
+ * A failed wallet creation result within a batch operation.
413
+ */
414
+ interface WalletBatchCreateFailure {
415
+ /**
416
+ * A PrivyErrorCode string identifying the error type (e.g., "invalid_data",
417
+ * "resource_conflict").
418
+ */
419
+ code: string;
420
+ /**
421
+ * A human-readable error message with details about what went wrong.
422
+ */
423
+ error: string;
424
+ /**
425
+ * The index of the wallet in the original request array.
426
+ */
427
+ index: number;
428
+ success: false;
429
+ }
430
+ }
431
+ /**
432
+ * Response for a batch wallet creation request.
433
+ */
434
+ export interface WalletBatchCreateResponse {
435
+ /**
436
+ * Array of results for each wallet creation request, in the same order as input.
437
+ */
438
+ results: Array<WalletBatchCreateResult>;
439
+ }
328
440
  /**
329
441
  * Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
330
442
  */
@@ -889,10 +1001,19 @@ export declare namespace WalletCreateParams {
889
1001
  }
890
1002
  }
891
1003
  export interface WalletListParams extends CursorParams {
1004
+ /**
1005
+ * Filter wallets by authorization public key. Returns wallets owned by key quorums
1006
+ * that include the specified P-256 public key (base64-encoded DER format). Cannot
1007
+ * be used together with user_id.
1008
+ */
1009
+ authorization_key?: string;
892
1010
  /**
893
1011
  * The wallet chain types.
894
1012
  */
895
1013
  chain_type?: WalletChainType;
1014
+ /**
1015
+ * Filter wallets by user ID. Cannot be used together with authorization_key.
1016
+ */
896
1017
  user_id?: string;
897
1018
  }
898
1019
  export interface WalletExportParams {
@@ -1543,8 +1664,7 @@ export interface WalletUpdateParams {
1543
1664
  */
1544
1665
  owner?: WalletUpdateParams.PublicKeyOwner | WalletUpdateParams.UserOwner | null;
1545
1666
  /**
1546
- * Body param: The key quorum ID to set as the owner of the resource. If you
1547
- * provide this, do not specify an owner.
1667
+ * Body param
1548
1668
  */
1549
1669
  owner_id?: string | null;
1550
1670
  /**
@@ -1644,7 +1764,7 @@ export declare namespace WalletCreateWalletsWithRecoveryParams {
1644
1764
  }
1645
1765
  }
1646
1766
  export declare namespace Wallets {
1647
- export { type CurveSigningChainType as CurveSigningChainType, type FirstClassChainType as FirstClassChainType, type Wallet as Wallet, type WalletChainType as WalletChainType, type WalletRevokeResponse as WalletRevokeResponse, type ExtendedChainType as ExtendedChainType, type WalletCustodian as WalletCustodian, type CustodialWalletProvider as CustodialWalletProvider, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWallet as CustodialWallet, type HpkeImportConfig as HpkeImportConfig, type SuiCommandName as SuiCommandName, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type WalletExportResponse as WalletExportResponse, type WalletInitImportResponse as WalletInitImportResponse, type WalletRawSignResponse as WalletRawSignResponse, type WalletRpcResponse as WalletRpcResponse, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletInitImportParams as WalletInitImportParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, type WalletSubmitImportParams as WalletSubmitImportParams, type WalletUpdateParams as WalletUpdateParams, type WalletAuthenticateWithJwtParams as WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams as WalletCreateWalletsWithRecoveryParams, };
1767
+ export { type WalletRevokeResponse as WalletRevokeResponse, type CurveSigningChainType as CurveSigningChainType, type ExtendedChainType as ExtendedChainType, type FirstClassChainType as FirstClassChainType, type WalletChainType as WalletChainType, type WalletCustodian as WalletCustodian, type CustodialWalletProvider as CustodialWalletProvider, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWallet as CustodialWallet, type HpkeImportConfig as HpkeImportConfig, type SuiCommandName as SuiCommandName, type Wallet as Wallet, type WalletBatchItemInput as WalletBatchItemInput, type WalletBatchCreateInput as WalletBatchCreateInput, type WalletBatchCreateResult as WalletBatchCreateResult, type WalletBatchCreateResponse as WalletBatchCreateResponse, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type WalletExportResponse as WalletExportResponse, type WalletInitImportResponse as WalletInitImportResponse, type WalletRawSignResponse as WalletRawSignResponse, type WalletRpcResponse as WalletRpcResponse, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletInitImportParams as WalletInitImportParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, type WalletSubmitImportParams as WalletSubmitImportParams, type WalletUpdateParams as WalletUpdateParams, type WalletAuthenticateWithJwtParams as WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams as WalletCreateWalletsWithRecoveryParams, };
1648
1768
  export { Transactions as Transactions, type TransactionGetResponse as TransactionGetResponse, type TransactionGetParams as TransactionGetParams, };
1649
1769
  export { Balance as Balance, type BalanceGetResponse as BalanceGetResponse, type BalanceGetParams as BalanceGetParams, };
1650
1770
  }