@privy-io/api-types 0.15.0 → 0.17.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 (158) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/client.d.mts +30 -33
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +30 -33
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -4
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -4
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +6 -2
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +6 -2
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/aggregations.d.mts +14 -4
  16. package/resources/aggregations.d.mts.map +1 -1
  17. package/resources/aggregations.d.ts +14 -4
  18. package/resources/aggregations.d.ts.map +1 -1
  19. package/resources/apps.d.mts +44 -23
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +44 -23
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/client-auth.d.mts +32 -8
  24. package/resources/client-auth.d.mts.map +1 -1
  25. package/resources/client-auth.d.ts +32 -8
  26. package/resources/client-auth.d.ts.map +1 -1
  27. package/resources/embedded-wallets.d.mts +6 -0
  28. package/resources/embedded-wallets.d.mts.map +1 -1
  29. package/resources/embedded-wallets.d.ts +6 -0
  30. package/resources/embedded-wallets.d.ts.map +1 -1
  31. package/resources/index.d.mts +15 -16
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +15 -16
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +1 -3
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +0 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/intents.d.mts +65 -79
  40. package/resources/intents.d.mts.map +1 -1
  41. package/resources/intents.d.ts +65 -79
  42. package/resources/intents.d.ts.map +1 -1
  43. package/resources/intents.js.map +1 -1
  44. package/resources/intents.mjs.map +1 -1
  45. package/resources/key-quorums.d.mts +9 -8
  46. package/resources/key-quorums.d.mts.map +1 -1
  47. package/resources/key-quorums.d.ts +9 -8
  48. package/resources/key-quorums.d.ts.map +1 -1
  49. package/resources/kraken-embed.d.mts +208 -218
  50. package/resources/kraken-embed.d.mts.map +1 -1
  51. package/resources/kraken-embed.d.ts +208 -218
  52. package/resources/kraken-embed.d.ts.map +1 -1
  53. package/resources/kraken-embed.js.map +1 -1
  54. package/resources/kraken-embed.mjs.map +1 -1
  55. package/resources/onramps.d.mts +50 -48
  56. package/resources/onramps.d.mts.map +1 -1
  57. package/resources/onramps.d.ts +50 -48
  58. package/resources/onramps.d.ts.map +1 -1
  59. package/resources/policies.d.mts +93 -24
  60. package/resources/policies.d.mts.map +1 -1
  61. package/resources/policies.d.ts +93 -24
  62. package/resources/policies.d.ts.map +1 -1
  63. package/resources/shared.d.mts +15 -3
  64. package/resources/shared.d.mts.map +1 -1
  65. package/resources/shared.d.ts +15 -3
  66. package/resources/shared.d.ts.map +1 -1
  67. package/resources/swaps.d.mts +3 -2
  68. package/resources/swaps.d.mts.map +1 -1
  69. package/resources/swaps.d.ts +3 -2
  70. package/resources/swaps.d.ts.map +1 -1
  71. package/resources/transactions.d.mts +9 -2
  72. package/resources/transactions.d.mts.map +1 -1
  73. package/resources/transactions.d.ts +9 -2
  74. package/resources/transactions.d.ts.map +1 -1
  75. package/resources/users.d.mts +33 -7
  76. package/resources/users.d.mts.map +1 -1
  77. package/resources/users.d.ts +33 -7
  78. package/resources/users.d.ts.map +1 -1
  79. package/resources/{wallet-actions.d.ts → wallets/actions.d.mts} +383 -68
  80. package/resources/wallets/actions.d.mts.map +1 -0
  81. package/resources/{wallet-actions.d.mts → wallets/actions.d.ts} +383 -68
  82. package/resources/wallets/actions.d.ts.map +1 -0
  83. package/resources/wallets/actions.js +9 -0
  84. package/resources/wallets/actions.js.map +1 -0
  85. package/resources/wallets/actions.mjs +5 -0
  86. package/resources/wallets/actions.mjs.map +1 -0
  87. package/resources/wallets/balance.d.mts +11 -4
  88. package/resources/wallets/balance.d.mts.map +1 -1
  89. package/resources/wallets/balance.d.ts +11 -4
  90. package/resources/wallets/balance.d.ts.map +1 -1
  91. package/resources/wallets/index.d.mts +2 -1
  92. package/resources/wallets/index.d.mts.map +1 -1
  93. package/resources/wallets/index.d.ts +2 -1
  94. package/resources/wallets/index.d.ts.map +1 -1
  95. package/resources/wallets/index.js +3 -1
  96. package/resources/wallets/index.js.map +1 -1
  97. package/resources/wallets/index.mjs +1 -0
  98. package/resources/wallets/index.mjs.map +1 -1
  99. package/resources/wallets/transactions.d.mts +14 -3
  100. package/resources/wallets/transactions.d.mts.map +1 -1
  101. package/resources/wallets/transactions.d.ts +14 -3
  102. package/resources/wallets/transactions.d.ts.map +1 -1
  103. package/resources/wallets/transactions.js.map +1 -1
  104. package/resources/wallets/transactions.mjs.map +1 -1
  105. package/resources/wallets/wallets.d.mts +846 -97
  106. package/resources/wallets/wallets.d.mts.map +1 -1
  107. package/resources/wallets/wallets.d.ts +846 -97
  108. package/resources/wallets/wallets.d.ts.map +1 -1
  109. package/resources/wallets/wallets.js +19 -2
  110. package/resources/wallets/wallets.js.map +1 -1
  111. package/resources/wallets/wallets.mjs +19 -2
  112. package/resources/wallets/wallets.mjs.map +1 -1
  113. package/resources/webhooks.d.mts +596 -108
  114. package/resources/webhooks.d.mts.map +1 -1
  115. package/resources/webhooks.d.ts +596 -108
  116. package/resources/webhooks.d.ts.map +1 -1
  117. package/resources/webhooks.js.map +1 -1
  118. package/resources/webhooks.mjs.map +1 -1
  119. package/resources/yield.d.mts +30 -30
  120. package/resources/yield.d.mts.map +1 -1
  121. package/resources/yield.d.ts +30 -30
  122. package/resources/yield.d.ts.map +1 -1
  123. package/resources/yield.js.map +1 -1
  124. package/resources/yield.mjs.map +1 -1
  125. package/src/client.ts +223 -76
  126. package/src/resources/accounts.ts +7 -1
  127. package/src/resources/aggregations.ts +16 -3
  128. package/src/resources/apps.ts +60 -30
  129. package/src/resources/client-auth.ts +41 -7
  130. package/src/resources/embedded-wallets.ts +7 -0
  131. package/src/resources/index.ts +107 -36
  132. package/src/resources/intents.ts +73 -91
  133. package/src/resources/key-quorums.ts +11 -9
  134. package/src/resources/kraken-embed.ts +560 -1065
  135. package/src/resources/onramps.ts +69 -54
  136. package/src/resources/policies.ts +162 -52
  137. package/src/resources/shared.ts +18 -2
  138. package/src/resources/swaps.ts +3 -2
  139. package/src/resources/transactions.ts +18 -9
  140. package/src/resources/users.ts +38 -6
  141. package/src/resources/{wallet-actions.ts → wallets/actions.ts} +496 -78
  142. package/src/resources/wallets/balance.ts +26 -56
  143. package/src/resources/wallets/index.ts +93 -0
  144. package/src/resources/wallets/transactions.ts +17 -10
  145. package/src/resources/wallets/wallets.ts +1312 -177
  146. package/src/resources/webhooks.ts +729 -118
  147. package/src/resources/yield.ts +33 -41
  148. package/src/version.ts +1 -1
  149. package/version.d.mts +1 -1
  150. package/version.d.ts +1 -1
  151. package/version.js +1 -1
  152. package/version.mjs +1 -1
  153. package/resources/wallet-actions.d.mts.map +0 -1
  154. package/resources/wallet-actions.d.ts.map +0 -1
  155. package/resources/wallet-actions.js +0 -9
  156. package/resources/wallet-actions.js.map +0 -1
  157. package/resources/wallet-actions.mjs +0 -5
  158. package/resources/wallet-actions.mjs.map +0 -1
@@ -13,7 +13,7 @@ export interface AccountBalanceParams {
13
13
  /**
14
14
  * When set to true, returns balances from testnet chains instead of mainnets.
15
15
  */
16
- testnet_mode?: 'true' | 'false';
16
+ testnet_mode?: ChainTestnetMode;
17
17
  }
18
18
 
19
19
  /**
@@ -236,6 +236,11 @@ export interface BalanceResponse {
236
236
  assets_by_chain?: Array<BalanceAssetByChain>;
237
237
  }
238
238
 
239
+ /**
240
+ * When set to true, returns balances from testnet chains instead of mainnets.
241
+ */
242
+ export type ChainTestnetMode = 'true' | 'false';
243
+
239
244
  /**
240
245
  * Input for creating a digital asset account from existing wallets with a
241
246
  * `wallet_ids` parameter.
@@ -326,6 +331,7 @@ export declare namespace Accounts {
326
331
  type BalanceAsset as BalanceAsset,
327
332
  type BalanceAssetByChain as BalanceAssetByChain,
328
333
  type BalanceResponse as BalanceResponse,
334
+ type ChainTestnetMode as ChainTestnetMode,
329
335
  type CreateAccountFromWalletIDsInput as CreateAccountFromWalletIDsInput,
330
336
  type CreateAccountFromWalletsConfigurationInput as CreateAccountFromWalletsConfigurationInput,
331
337
  type CreateAccountInput as CreateAccountInput,
@@ -42,7 +42,7 @@ export interface Aggregation {
42
42
  owner_id: string | null;
43
43
 
44
44
  /**
45
- * The time window configuration for an aggregation.
45
+ * A rolling time window defined by a duration in seconds.
46
46
  */
47
47
  window: AggregationWindow;
48
48
 
@@ -93,7 +93,7 @@ export interface AggregationInput {
93
93
  name: string;
94
94
 
95
95
  /**
96
- * The time window configuration for an aggregation.
96
+ * A rolling time window defined by a duration in seconds.
97
97
  */
98
98
  window: AggregationWindow;
99
99
 
@@ -146,7 +146,7 @@ export interface AggregationMetric {
146
146
  }
147
147
 
148
148
  /**
149
- * The time window configuration for an aggregation.
149
+ * A rolling time window defined by a duration in seconds.
150
150
  */
151
151
  export interface AggregationWindow {
152
152
  /**
@@ -157,6 +157,18 @@ export interface AggregationWindow {
157
157
  type: 'rolling';
158
158
  }
159
159
 
160
+ /**
161
+ * A rolling time window defined by a duration in seconds.
162
+ */
163
+ export interface RollingAggregationWindow {
164
+ /**
165
+ * Duration of the rolling window in seconds (1-72 hours).
166
+ */
167
+ seconds: number;
168
+
169
+ type: 'rolling';
170
+ }
171
+
160
172
  export declare namespace Aggregations {
161
173
  export {
162
174
  type Aggregation as Aggregation,
@@ -165,5 +177,6 @@ export declare namespace Aggregations {
165
177
  type AggregationMethod as AggregationMethod,
166
178
  type AggregationMetric as AggregationMetric,
167
179
  type AggregationWindow as AggregationWindow,
180
+ type RollingAggregationWindow as RollingAggregationWindow,
168
181
  };
169
182
  }
@@ -28,6 +28,36 @@ export interface AllowlistEntry {
28
28
  value: string;
29
29
  }
30
30
 
31
+ /**
32
+ * Configuration for the allowlist error page shown to users not on the allowlist.
33
+ */
34
+ export interface AppAllowlistConfig {
35
+ cta_link: string | null;
36
+
37
+ cta_text: string | null;
38
+
39
+ error_detail: string | null;
40
+
41
+ error_title: string | null;
42
+ }
43
+
44
+ /**
45
+ * A custom OAuth provider configured for an app.
46
+ */
47
+ export interface AppCustomOAuthProvider {
48
+ enabled: boolean;
49
+
50
+ /**
51
+ * The ID of a custom OAuth provider, set up for this app. Must start with
52
+ * "custom:".
53
+ */
54
+ provider: ClientAuthAPI.CustomOAuthProviderID;
55
+
56
+ provider_display_name: string;
57
+
58
+ provider_icon_url: string;
59
+ }
60
+
31
61
  /**
32
62
  * The response for getting an app.
33
63
  */
@@ -42,7 +72,10 @@ export interface AppResponse {
42
72
 
43
73
  allowed_native_app_url_schemes: Array<string>;
44
74
 
45
- allowlist_config: AppResponse.AllowlistConfig;
75
+ /**
76
+ * Configuration for the allowlist error page shown to users not on the allowlist.
77
+ */
78
+ allowlist_config: AppAllowlistConfig;
46
79
 
47
80
  allowlist_enabled: boolean;
48
81
 
@@ -54,7 +87,7 @@ export interface AppResponse {
54
87
 
55
88
  custom_jwt_auth: boolean;
56
89
 
57
- custom_oauth_providers: Array<AppResponse.CustomOAuthProvider>;
90
+ custom_oauth_providers: Array<AppCustomOAuthProvider>;
58
91
 
59
92
  /**
60
93
  * Indicates that this response contains only publicly accessible data, not a
@@ -73,10 +106,15 @@ export interface AppResponse {
73
106
  */
74
107
  embedded_wallet_config: EmbeddedWalletConfigSchema;
75
108
 
76
- enabled_captcha_provider: 'turnstile' | 'hcaptcha' | null;
109
+ /**
110
+ * The captcha provider enabled for an app.
111
+ */
112
+ enabled_captcha_provider: CaptchaProvider | null;
77
113
 
78
114
  enforce_wallet_uis: boolean;
79
115
 
116
+ external_wallets_for_signup_enabled: boolean;
117
+
80
118
  farcaster_auth: boolean;
81
119
 
82
120
  farcaster_link_wallets_enabled: boolean;
@@ -103,7 +141,9 @@ export interface AppResponse {
103
141
 
104
142
  max_linked_wallets_per_user: number | null;
105
143
 
106
- mfa_methods: Array<'sms' | 'totp' | 'passkey'>;
144
+ merge_accounts_by_email: boolean;
145
+
146
+ mfa_methods: Array<MfaMethod>;
107
147
 
108
148
  name: string;
109
149
 
@@ -165,37 +205,16 @@ export interface AppResponse {
165
205
  telegram_auth_config?: TelegramAuthConfigSchema;
166
206
  }
167
207
 
168
- export namespace AppResponse {
169
- export interface AllowlistConfig {
170
- cta_link: string | null;
171
-
172
- cta_text: string | null;
173
-
174
- error_detail: string | null;
175
-
176
- error_title: string | null;
177
- }
178
-
179
- export interface CustomOAuthProvider {
180
- enabled: boolean;
181
-
182
- /**
183
- * The ID of a custom OAuth provider, set up for this app. Must start with
184
- * "custom:".
185
- */
186
- provider: ClientAuthAPI.CustomOAuthProviderID;
187
-
188
- provider_display_name: string;
189
-
190
- provider_icon_url: string;
191
- }
192
- }
193
-
194
208
  /**
195
209
  * A valid CAIP-2 chain ID (e.g. 'eip155:1').
196
210
  */
197
211
  export type Caip2 = string;
198
212
 
213
+ /**
214
+ * The captcha provider enabled for an app.
215
+ */
216
+ export type CaptchaProvider = 'turnstile' | 'hcaptcha';
217
+
199
218
  /**
200
219
  * A crypto currency identified by a CAIP-2 chain ID and optional asset.
201
220
  */
@@ -377,6 +396,11 @@ export interface GasSpendResponseBody {
377
396
  value: string;
378
397
  }
379
398
 
399
+ /**
400
+ * A multi-factor authentication method supported by the app.
401
+ */
402
+ export type MfaMethod = 'sms' | 'totp' | 'passkey';
403
+
380
404
  /**
381
405
  * Allowlist invite input for a phone number.
382
406
  */
@@ -414,6 +438,8 @@ export interface TestAccount {
414
438
  phone_number: string;
415
439
 
416
440
  updated_at: string;
441
+
442
+ name?: string | null;
417
443
  }
418
444
 
419
445
  /**
@@ -450,8 +476,11 @@ export declare namespace Apps {
450
476
  export {
451
477
  type AllowlistDeletionResponse as AllowlistDeletionResponse,
452
478
  type AllowlistEntry as AllowlistEntry,
479
+ type AppAllowlistConfig as AppAllowlistConfig,
480
+ type AppCustomOAuthProvider as AppCustomOAuthProvider,
453
481
  type AppResponse as AppResponse,
454
482
  type Caip2 as Caip2,
483
+ type CaptchaProvider as CaptchaProvider,
455
484
  type Currency as Currency,
456
485
  type CurrencyAsset as CurrencyAsset,
457
486
  type EmailDomain as EmailDomain,
@@ -468,6 +497,7 @@ export declare namespace Apps {
468
497
  type GasSpendCurrency as GasSpendCurrency,
469
498
  type GasSpendRequestBody as GasSpendRequestBody,
470
499
  type GasSpendResponseBody as GasSpendResponseBody,
500
+ type MfaMethod as MfaMethod,
471
501
  type PhoneInviteInput as PhoneInviteInput,
472
502
  type TelegramAuthConfigSchema as TelegramAuthConfigSchema,
473
503
  type TestAccount as TestAccount,
@@ -63,7 +63,10 @@ export interface AuthenticateSiwsInput {
63
63
 
64
64
  connectorType?: string | null;
65
65
 
66
- message_type?: 'transaction' | 'plain';
66
+ /**
67
+ * The type of SIWS message being signed.
68
+ */
69
+ message_type?: SiwsMessageType;
67
70
 
68
71
  /**
69
72
  * Whether to allow sign-up during authentication.
@@ -284,9 +287,14 @@ export interface BridgeUsdFiatVirtualAccountDepositInstructions {
284
287
 
285
288
  bank_routing_number: string;
286
289
 
287
- payment_rails: Array<'ach_push' | 'wire'>;
290
+ payment_rails: Array<BridgeUsdFiatVirtualAccountDepositPaymentRail>;
288
291
  }
289
292
 
293
+ /**
294
+ * Payment rails supported for USD virtual account deposits.
295
+ */
296
+ export type BridgeUsdFiatVirtualAccountDepositPaymentRail = 'ach_push' | 'wire';
297
+
290
298
  /**
291
299
  * The request body for authenticating with a custom JWT.
292
300
  */
@@ -923,9 +931,9 @@ export interface OAuthTokenAuthorizationCodeRequestBody {
923
931
  */
924
932
  export interface OAuthTokenDeviceCodePendingError {
925
933
  /**
926
- * The error code indicating why the token request failed.
934
+ * Error codes for the device authorization pending response per RFC 8628.
927
935
  */
928
- error: 'authorization_pending' | 'slow_down' | 'access_denied' | 'expired_token';
936
+ error: OAuthTokenDeviceCodePendingErrorCode;
929
937
 
930
938
  /**
931
939
  * Human-readable description of the error.
@@ -938,6 +946,15 @@ export interface OAuthTokenDeviceCodePendingError {
938
946
  interval?: number;
939
947
  }
940
948
 
949
+ /**
950
+ * Error codes for the device authorization pending response per RFC 8628.
951
+ */
952
+ export type OAuthTokenDeviceCodePendingErrorCode =
953
+ | 'authorization_pending'
954
+ | 'slow_down'
955
+ | 'access_denied'
956
+ | 'expired_token';
957
+
941
958
  /**
942
959
  * Request body for the urn:ietf:params:oauth:grant-type:device_code grant type
943
960
  * (RFC 8628). Used by CLI clients to poll for authorization.
@@ -1670,7 +1687,10 @@ export interface SiwsAuthenticateRequestBody {
1670
1687
 
1671
1688
  connectorType?: string | null;
1672
1689
 
1673
- message_type?: 'transaction' | 'plain';
1690
+ /**
1691
+ * The type of SIWS message being signed.
1692
+ */
1693
+ message_type?: SiwsMessageType;
1674
1694
 
1675
1695
  /**
1676
1696
  * Whether to allow sign-up during authentication.
@@ -1717,7 +1737,10 @@ export interface SiwsInput {
1717
1737
 
1718
1738
  connectorType?: string | null;
1719
1739
 
1720
- message_type?: 'transaction' | 'plain';
1740
+ /**
1741
+ * The type of SIWS message being signed.
1742
+ */
1743
+ message_type?: SiwsMessageType;
1721
1744
 
1722
1745
  walletClientType?: string | null;
1723
1746
  }
@@ -1732,11 +1755,19 @@ export interface SiwsLinkRequestBody {
1732
1755
 
1733
1756
  connectorType?: string | null;
1734
1757
 
1735
- message_type?: 'transaction' | 'plain';
1758
+ /**
1759
+ * The type of SIWS message being signed.
1760
+ */
1761
+ message_type?: SiwsMessageType;
1736
1762
 
1737
1763
  walletClientType?: string | null;
1738
1764
  }
1739
1765
 
1766
+ /**
1767
+ * The type of SIWS message being signed.
1768
+ */
1769
+ export type SiwsMessageType = 'transaction' | 'plain' | 'offchain-message';
1770
+
1740
1771
  /**
1741
1772
  * A SIWS nonce response.
1742
1773
  */
@@ -1988,6 +2019,7 @@ export declare namespace ClientAuth {
1988
2019
  type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse,
1989
2020
  type BridgeSourceAsset as BridgeSourceAsset,
1990
2021
  type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions,
2022
+ type BridgeUsdFiatVirtualAccountDepositPaymentRail as BridgeUsdFiatVirtualAccountDepositPaymentRail,
1991
2023
  type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody,
1992
2024
  type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody,
1993
2025
  type CustomOAuthProviderID as CustomOAuthProviderID,
@@ -2048,6 +2080,7 @@ export declare namespace ClientAuth {
2048
2080
  type OAuthProviderID as OAuthProviderID,
2049
2081
  type OAuthTokenAuthorizationCodeRequestBody as OAuthTokenAuthorizationCodeRequestBody,
2050
2082
  type OAuthTokenDeviceCodePendingError as OAuthTokenDeviceCodePendingError,
2083
+ type OAuthTokenDeviceCodePendingErrorCode as OAuthTokenDeviceCodePendingErrorCode,
2051
2084
  type OAuthTokenDeviceCodeRequestBody as OAuthTokenDeviceCodeRequestBody,
2052
2085
  type OAuthTokenGrantType as OAuthTokenGrantType,
2053
2086
  type OAuthTokenRefreshTokenRequestBody as OAuthTokenRefreshTokenRequestBody,
@@ -2113,6 +2146,7 @@ export declare namespace ClientAuth {
2113
2146
  type SiwsInitResponseBody as SiwsInitResponseBody,
2114
2147
  type SiwsInput as SiwsInput,
2115
2148
  type SiwsLinkRequestBody as SiwsLinkRequestBody,
2149
+ type SiwsMessageType as SiwsMessageType,
2116
2150
  type SiwsNonce as SiwsNonce,
2117
2151
  type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody,
2118
2152
  type SmartWalletSiweInput as SmartWalletSiweInput,
@@ -265,6 +265,13 @@ export interface WalletCreationInput {
265
265
  */
266
266
  create_smart_wallet?: boolean;
267
267
 
268
+ /**
269
+ * A customer-provided identifier for mapping to external systems. Write-once, set
270
+ * only at creation. Must be alphanumeric, hyphens, or underscores, max 64
271
+ * characters.
272
+ */
273
+ external_id?: string;
274
+
268
275
  /**
269
276
  * Policy IDs to enforce on the wallet. Currently, only one policy is supported per
270
277
  * wallet.