@privy-io/node 0.10.1 → 0.11.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 (214) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/client.d.mts +37 -19
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +37 -19
  5. package/client.d.ts.map +1 -1
  6. package/client.js +29 -10
  7. package/client.js.map +1 -1
  8. package/client.mjs +30 -11
  9. package/client.mjs.map +1 -1
  10. package/index.d.mts +2 -0
  11. package/index.d.mts.map +1 -1
  12. package/index.d.ts +2 -0
  13. package/index.d.ts.map +1 -1
  14. package/index.js.map +1 -1
  15. package/index.mjs.map +1 -1
  16. package/package.json +12 -1
  17. package/public-api/PrivyClient.d.mts +3 -0
  18. package/public-api/PrivyClient.d.mts.map +1 -1
  19. package/public-api/PrivyClient.d.ts +3 -0
  20. package/public-api/PrivyClient.d.ts.map +1 -1
  21. package/public-api/PrivyClient.js +5 -0
  22. package/public-api/PrivyClient.js.map +1 -1
  23. package/public-api/PrivyClient.mjs +5 -0
  24. package/public-api/PrivyClient.mjs.map +1 -1
  25. package/public-api/services/apps.d.mts +25 -0
  26. package/public-api/services/apps.d.mts.map +1 -0
  27. package/public-api/services/apps.d.ts +25 -0
  28. package/public-api/services/apps.d.ts.map +1 -0
  29. package/public-api/services/apps.js +56 -0
  30. package/public-api/services/apps.js.map +1 -0
  31. package/public-api/services/apps.mjs +52 -0
  32. package/public-api/services/apps.mjs.map +1 -0
  33. package/public-api/services/policies.d.mts +6 -2
  34. package/public-api/services/policies.d.mts.map +1 -1
  35. package/public-api/services/policies.d.ts +6 -2
  36. package/public-api/services/policies.d.ts.map +1 -1
  37. package/public-api/services/policies.js +6 -0
  38. package/public-api/services/policies.js.map +1 -1
  39. package/public-api/services/policies.mjs +6 -0
  40. package/public-api/services/policies.mjs.map +1 -1
  41. package/public-api/services/wallets.d.mts +5 -1
  42. package/public-api/services/wallets.d.mts.map +1 -1
  43. package/public-api/services/wallets.d.ts +5 -1
  44. package/public-api/services/wallets.d.ts.map +1 -1
  45. package/public-api/services/wallets.js +6 -0
  46. package/public-api/services/wallets.js.map +1 -1
  47. package/public-api/services/wallets.mjs +6 -0
  48. package/public-api/services/wallets.mjs.map +1 -1
  49. package/resources/accounts.d.mts +182 -4
  50. package/resources/accounts.d.mts.map +1 -1
  51. package/resources/accounts.d.ts +182 -4
  52. package/resources/accounts.d.ts.map +1 -1
  53. package/resources/apps/allowlist.d.mts +81 -0
  54. package/resources/apps/allowlist.d.mts.map +1 -0
  55. package/resources/apps/allowlist.d.ts +81 -0
  56. package/resources/apps/allowlist.d.ts.map +1 -0
  57. package/resources/apps/allowlist.js +56 -0
  58. package/resources/apps/allowlist.js.map +1 -0
  59. package/resources/apps/allowlist.mjs +52 -0
  60. package/resources/apps/allowlist.mjs.map +1 -0
  61. package/resources/apps/apps.d.mts +238 -0
  62. package/resources/apps/apps.d.mts.map +1 -0
  63. package/resources/apps/apps.d.ts +238 -0
  64. package/resources/apps/apps.d.ts.map +1 -0
  65. package/resources/apps/apps.js +44 -0
  66. package/resources/apps/apps.js.map +1 -0
  67. package/resources/apps/apps.mjs +39 -0
  68. package/resources/apps/apps.mjs.map +1 -0
  69. package/resources/apps/index.d.mts +3 -0
  70. package/resources/apps/index.d.mts.map +1 -0
  71. package/resources/apps/index.d.ts +3 -0
  72. package/resources/apps/index.d.ts.map +1 -0
  73. package/resources/apps/index.js +9 -0
  74. package/resources/apps/index.js.map +1 -0
  75. package/resources/apps/index.mjs +4 -0
  76. package/resources/apps/index.mjs.map +1 -0
  77. package/resources/apps.d.mts +1 -151
  78. package/resources/apps.d.mts.map +1 -1
  79. package/resources/apps.d.ts +1 -151
  80. package/resources/apps.d.ts.map +1 -1
  81. package/resources/apps.js +2 -5
  82. package/resources/apps.js.map +1 -1
  83. package/resources/apps.mjs +1 -3
  84. package/resources/apps.mjs.map +1 -1
  85. package/resources/client-auth.d.mts +144 -1
  86. package/resources/client-auth.d.mts.map +1 -1
  87. package/resources/client-auth.d.ts +144 -1
  88. package/resources/client-auth.d.ts.map +1 -1
  89. package/resources/index.d.mts +11 -10
  90. package/resources/index.d.mts.map +1 -1
  91. package/resources/index.d.ts +11 -10
  92. package/resources/index.d.ts.map +1 -1
  93. package/resources/index.js +4 -2
  94. package/resources/index.js.map +1 -1
  95. package/resources/index.mjs +3 -2
  96. package/resources/index.mjs.map +1 -1
  97. package/resources/intents.d.mts +2815 -31
  98. package/resources/intents.d.mts.map +1 -1
  99. package/resources/intents.d.ts +2815 -31
  100. package/resources/intents.d.ts.map +1 -1
  101. package/resources/intents.js +156 -0
  102. package/resources/intents.js.map +1 -1
  103. package/resources/intents.mjs +156 -0
  104. package/resources/intents.mjs.map +1 -1
  105. package/resources/key-quorums.d.mts +45 -2
  106. package/resources/key-quorums.d.mts.map +1 -1
  107. package/resources/key-quorums.d.ts +45 -2
  108. package/resources/key-quorums.d.ts.map +1 -1
  109. package/resources/key-quorums.js +18 -1
  110. package/resources/key-quorums.js.map +1 -1
  111. package/resources/key-quorums.mjs +18 -1
  112. package/resources/key-quorums.mjs.map +1 -1
  113. package/resources/kraken-embed.d.mts +62 -0
  114. package/resources/kraken-embed.d.mts.map +1 -0
  115. package/resources/kraken-embed.d.ts +62 -0
  116. package/resources/kraken-embed.d.ts.map +1 -0
  117. package/resources/kraken-embed.js +9 -0
  118. package/resources/kraken-embed.js.map +1 -0
  119. package/resources/kraken-embed.mjs +5 -0
  120. package/resources/kraken-embed.mjs.map +1 -0
  121. package/resources/policies.d.mts +63 -56
  122. package/resources/policies.d.mts.map +1 -1
  123. package/resources/policies.d.ts +63 -56
  124. package/resources/policies.d.ts.map +1 -1
  125. package/resources/policies.js +3 -0
  126. package/resources/policies.js.map +1 -1
  127. package/resources/policies.mjs +3 -0
  128. package/resources/policies.mjs.map +1 -1
  129. package/resources/transactions.d.mts +3 -0
  130. package/resources/transactions.d.mts.map +1 -1
  131. package/resources/transactions.d.ts +3 -0
  132. package/resources/transactions.d.ts.map +1 -1
  133. package/resources/transactions.js +3 -0
  134. package/resources/transactions.js.map +1 -1
  135. package/resources/transactions.mjs +3 -0
  136. package/resources/transactions.mjs.map +1 -1
  137. package/resources/users.d.mts +50 -47
  138. package/resources/users.d.mts.map +1 -1
  139. package/resources/users.d.ts +50 -47
  140. package/resources/users.d.ts.map +1 -1
  141. package/resources/users.js +3 -0
  142. package/resources/users.js.map +1 -1
  143. package/resources/users.mjs +3 -0
  144. package/resources/users.mjs.map +1 -1
  145. package/resources/wallets/balance.d.mts +7 -4
  146. package/resources/wallets/balance.d.mts.map +1 -1
  147. package/resources/wallets/balance.d.ts +7 -4
  148. package/resources/wallets/balance.d.ts.map +1 -1
  149. package/resources/wallets/balance.js +3 -0
  150. package/resources/wallets/balance.js.map +1 -1
  151. package/resources/wallets/balance.mjs +3 -0
  152. package/resources/wallets/balance.mjs.map +1 -1
  153. package/resources/wallets/index.d.mts +1 -1
  154. package/resources/wallets/index.d.mts.map +1 -1
  155. package/resources/wallets/index.d.ts +1 -1
  156. package/resources/wallets/index.d.ts.map +1 -1
  157. package/resources/wallets/index.js.map +1 -1
  158. package/resources/wallets/index.mjs.map +1 -1
  159. package/resources/wallets/transactions.d.mts +9 -6
  160. package/resources/wallets/transactions.d.mts.map +1 -1
  161. package/resources/wallets/transactions.d.ts +9 -6
  162. package/resources/wallets/transactions.d.ts.map +1 -1
  163. package/resources/wallets/transactions.js +3 -0
  164. package/resources/wallets/transactions.js.map +1 -1
  165. package/resources/wallets/transactions.mjs +3 -0
  166. package/resources/wallets/transactions.mjs.map +1 -1
  167. package/resources/wallets/wallets.d.mts +126 -69
  168. package/resources/wallets/wallets.d.mts.map +1 -1
  169. package/resources/wallets/wallets.d.ts +126 -69
  170. package/resources/wallets/wallets.d.ts.map +1 -1
  171. package/resources/wallets/wallets.js +11 -5
  172. package/resources/wallets/wallets.js.map +1 -1
  173. package/resources/wallets/wallets.mjs +11 -5
  174. package/resources/wallets/wallets.mjs.map +1 -1
  175. package/resources/webhooks.d.mts +319 -283
  176. package/resources/webhooks.d.mts.map +1 -1
  177. package/resources/webhooks.d.ts +319 -283
  178. package/resources/webhooks.d.ts.map +1 -1
  179. package/resources/webhooks.js.map +1 -1
  180. package/resources/webhooks.mjs.map +1 -1
  181. package/resources/yield.d.mts +26 -9
  182. package/resources/yield.d.mts.map +1 -1
  183. package/resources/yield.d.ts +26 -9
  184. package/resources/yield.d.ts.map +1 -1
  185. package/src/client.ts +196 -37
  186. package/src/index.ts +10 -0
  187. package/src/public-api/PrivyClient.ts +7 -0
  188. package/src/public-api/services/apps.ts +85 -0
  189. package/src/public-api/services/policies.ts +15 -1
  190. package/src/public-api/services/wallets.ts +14 -0
  191. package/src/resources/accounts.ts +217 -3
  192. package/src/resources/apps/allowlist.ts +126 -0
  193. package/src/resources/apps/apps.ts +391 -0
  194. package/src/resources/apps/index.ts +20 -0
  195. package/src/resources/apps.ts +1 -257
  196. package/src/resources/client-auth.ts +202 -0
  197. package/src/resources/index.ts +93 -21
  198. package/src/resources/intents.ts +4579 -40
  199. package/src/resources/key-quorums.ts +50 -2
  200. package/src/resources/kraken-embed.ts +85 -0
  201. package/src/resources/policies.ts +83 -76
  202. package/src/resources/transactions.ts +3 -0
  203. package/src/resources/users.ts +66 -63
  204. package/src/resources/wallets/balance.ts +9 -2
  205. package/src/resources/wallets/index.ts +4 -2
  206. package/src/resources/wallets/transactions.ts +10 -4
  207. package/src/resources/wallets/wallets.ts +171 -93
  208. package/src/resources/webhooks.ts +454 -438
  209. package/src/resources/yield.ts +39 -10
  210. package/src/version.ts +1 -1
  211. package/version.d.mts +1 -1
  212. package/version.d.ts +1 -1
  213. package/version.js +1 -1
  214. package/version.mjs +1 -1
@@ -1,10 +1,12 @@
1
1
  import { PrivyAPI } from '../../client';
2
+ import { APIPromise } from '../../core/api-promise';
2
3
  import { PrivyAPIError } from '../../core/error';
3
4
  import { generateAuthorizationSignatures } from '../../lib/authorization';
4
5
  import { setupHPKERecipient, setupHPKESender } from '../../lib/cryptography';
5
6
  import { entropyToBytes } from '../../lib/wallet-entropy';
6
7
  import {
7
8
  Wallet,
9
+ WalletCreateParams,
8
10
  WalletExportParams,
9
11
  WalletRawSignParams,
10
12
  WalletRawSignResponse,
@@ -39,6 +41,16 @@ export class PrivyWalletsService extends Wallets {
39
41
  return this.solanaService;
40
42
  }
41
43
 
44
+ public override create({
45
+ idempotency_key: idempotencyKey,
46
+ ...params
47
+ }: PrivyWalletsService.CreateInput): APIPromise<Wallet> {
48
+ return super.create({
49
+ ...params,
50
+ ...(idempotencyKey && { 'privy-idempotency-key': idempotencyKey }),
51
+ });
52
+ }
53
+
42
54
  public async rpc<Params extends PrivyWalletsService.RpcInput>(
43
55
  walletId: string,
44
56
  params: Params,
@@ -218,6 +230,8 @@ export class PrivyWalletsService extends Wallets {
218
230
  * @see {@link PrivyWalletsService} class.
219
231
  */
220
232
  export namespace PrivyWalletsService {
233
+ /** The input type for the {@link PrivyWalletsService.create} method. */
234
+ export type CreateInput = Prettify<WithIdempotency<WalletCreateParams>>;
221
235
  /** The input type for the {@link PrivyWalletsService.rpc} method. */
222
236
  export type RpcInput = Prettify<WithIdempotency<WithAuthorization<WalletRpcParams>>>;
223
237
  /** The input type for the {@link PrivyWalletsService.rawSign} method. */
@@ -65,19 +65,44 @@ export interface AccountWalletConfigurationItem {
65
65
  custody?: WalletsAPI.WalletCustodian;
66
66
  }
67
67
 
68
+ /**
69
+ * An optional display name for the account.
70
+ */
71
+ export type AccountDisplayName = string;
72
+
73
+ /**
74
+ * Configuration for the wallets on this account.
75
+ */
76
+ export type AccountWalletsConfiguration = Array<AccountWalletConfigurationItem>;
77
+
68
78
  /**
69
79
  * Input for creating a digital asset account.
70
80
  */
71
81
  export interface CreateAccountInput {
72
82
  /**
73
- * Configuration for wallets to create.
83
+ * Configuration for the wallets on this account.
74
84
  */
75
- wallets_configuration: Array<AccountWalletConfigurationItem>;
85
+ wallets_configuration: AccountWalletsConfiguration;
76
86
 
77
87
  /**
78
88
  * An optional display name for the account.
79
89
  */
80
- display_name?: string;
90
+ display_name?: AccountDisplayName;
91
+ }
92
+
93
+ /**
94
+ * Input for updating a digital asset account.
95
+ */
96
+ export interface UpdateAccountInput {
97
+ /**
98
+ * An optional display name for the account.
99
+ */
100
+ display_name?: AccountDisplayName;
101
+
102
+ /**
103
+ * Configuration for the wallets on this account.
104
+ */
105
+ wallets_configuration?: AccountWalletsConfiguration;
81
106
  }
82
107
 
83
108
  /**
@@ -95,12 +120,201 @@ export interface AccountsListResponse {
95
120
  next_cursor: string | null;
96
121
  }
97
122
 
123
+ /**
124
+ * A digital asset account with its aggregated balance across all wallets and
125
+ * chains.
126
+ */
127
+ export interface AssetAccountWithBalance {
128
+ /**
129
+ * The account ID.
130
+ */
131
+ id: string;
132
+
133
+ balance: AssetAccountWithBalance.Balance;
134
+
135
+ /**
136
+ * An optional display name for the account.
137
+ */
138
+ display_name: string | null;
139
+
140
+ /**
141
+ * The wallets belonging to this account.
142
+ */
143
+ wallets: Array<AccountWallet>;
144
+ }
145
+
146
+ export namespace AssetAccountWithBalance {
147
+ export interface Balance {
148
+ /**
149
+ * The individual asset balances, each computed across all supported chains.
150
+ */
151
+ assets: Array<Balance.Asset>;
152
+
153
+ /**
154
+ * The total balance across all assets.
155
+ */
156
+ total: Balance.Total;
157
+ }
158
+
159
+ export namespace Balance {
160
+ export interface Asset {
161
+ /**
162
+ * The amount of the asset held, denominated in the unit of the asset itself, with
163
+ * 1 decimal of precision.
164
+ */
165
+ amount: string;
166
+
167
+ /**
168
+ * The price of the asset in the provided currency.
169
+ */
170
+ price: Asset.Price;
171
+
172
+ /**
173
+ * The symbol of the asset (e.g. USDC, ETH).
174
+ */
175
+ symbol: string;
176
+ }
177
+
178
+ export namespace Asset {
179
+ /**
180
+ * The price of the asset in the provided currency.
181
+ */
182
+ export interface Price {
183
+ /**
184
+ * The currency code.
185
+ */
186
+ currency: 'usd';
187
+
188
+ /**
189
+ * The monetary value as a string.
190
+ */
191
+ value: string;
192
+ }
193
+ }
194
+
195
+ /**
196
+ * The total balance across all assets.
197
+ */
198
+ export interface Total {
199
+ /**
200
+ * The currency code.
201
+ */
202
+ currency: 'usd';
203
+
204
+ /**
205
+ * The monetary value as a string.
206
+ */
207
+ value: string;
208
+ }
209
+ }
210
+ }
211
+
212
+ /**
213
+ * Paginated list of digital asset accounts for the dashboard.
214
+ */
215
+ export interface AccountsDashboardListResponse {
216
+ /**
217
+ * The list of accounts, with balances included for dashboard display.
218
+ */
219
+ data: Array<AssetAccountWithBalance>;
220
+
221
+ /**
222
+ * Cursor for fetching the next page of results, or null if no more results.
223
+ */
224
+ next_cursor: string | null;
225
+ }
226
+
227
+ /**
228
+ * The balance of a digital asset account, aggregated across all wallets and
229
+ * supported chains.
230
+ */
231
+ export interface AccountBalanceResponse {
232
+ /**
233
+ * The individual asset balances, each computed across all supported chains.
234
+ */
235
+ assets: Array<AccountBalanceResponse.Asset>;
236
+
237
+ /**
238
+ * The total balance across all assets.
239
+ */
240
+ total: AccountBalanceResponse.Total;
241
+ }
242
+
243
+ export namespace AccountBalanceResponse {
244
+ export interface Asset {
245
+ /**
246
+ * The amount of the asset held, denominated in the unit of the asset itself, with
247
+ * 1 decimal of precision.
248
+ */
249
+ amount: string;
250
+
251
+ /**
252
+ * The price of the asset in the provided currency.
253
+ */
254
+ price: Asset.Price;
255
+
256
+ /**
257
+ * The symbol of the asset (e.g. USDC, ETH).
258
+ */
259
+ symbol: string;
260
+ }
261
+
262
+ export namespace Asset {
263
+ /**
264
+ * The price of the asset in the provided currency.
265
+ */
266
+ export interface Price {
267
+ /**
268
+ * The currency code.
269
+ */
270
+ currency: 'usd';
271
+
272
+ /**
273
+ * The monetary value as a string.
274
+ */
275
+ value: string;
276
+ }
277
+ }
278
+
279
+ /**
280
+ * The total balance across all assets.
281
+ */
282
+ export interface Total {
283
+ /**
284
+ * The currency code.
285
+ */
286
+ currency: 'usd';
287
+
288
+ /**
289
+ * The monetary value as a string.
290
+ */
291
+ value: string;
292
+ }
293
+ }
294
+
295
+ /**
296
+ * Query parameters for the account balance endpoint.
297
+ */
298
+ export interface AccountBalanceParams {
299
+ /**
300
+ * When set to true, returns balances from testnet chains instead of mainnets.
301
+ */
302
+ testnet_mode?: 'true' | 'false';
303
+ }
304
+
98
305
  export declare namespace Accounts {
99
306
  export {
100
307
  type AccountWallet as AccountWallet,
101
308
  type AccountResponse as AccountResponse,
102
309
  type AccountWalletConfigurationItem as AccountWalletConfigurationItem,
310
+ type AccountDisplayName as AccountDisplayName,
311
+ type AccountWalletsConfiguration as AccountWalletsConfiguration,
103
312
  type CreateAccountInput as CreateAccountInput,
313
+ type UpdateAccountInput as UpdateAccountInput,
104
314
  type AccountsListResponse as AccountsListResponse,
315
+ type AssetAccountWithBalance as AssetAccountWithBalance,
316
+ type AccountsDashboardListResponse as AccountsDashboardListResponse,
317
+ type AccountBalanceResponse as AccountBalanceResponse,
318
+ type AccountBalanceParams as AccountBalanceParams,
105
319
  };
106
320
  }
@@ -0,0 +1,126 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as AppsAPI from './apps';
5
+ import { APIPromise } from '../../core/api-promise';
6
+ import { RequestOptions } from '../../internal/request-options';
7
+ import { path } from '../../internal/utils/path';
8
+
9
+ /**
10
+ * Operations related to app settings and allowlist management
11
+ */
12
+ export class Allowlist extends APIResource {
13
+ /**
14
+ * Add a new entry to the allowlist for an app. The allowlist must be enabled.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const allowlistEntry = await client.apps.allowlist.create(
19
+ * 'app_id',
20
+ * { type: 'email', value: 'batman@privy.io' },
21
+ * );
22
+ * ```
23
+ */
24
+ create(
25
+ appID: string,
26
+ body: AllowlistCreateParams,
27
+ options?: RequestOptions,
28
+ ): APIPromise<AppsAPI.AllowlistEntry> {
29
+ return this._client.post(path`/v1/apps/${appID}/allowlist`, { body, ...options });
30
+ }
31
+
32
+ /**
33
+ * Get all allowlist entries for an app. Returns the list of users allowed to
34
+ * access the app when the allowlist is enabled.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const allowlistEntries = await client.apps.allowlist.list(
39
+ * 'app_id',
40
+ * );
41
+ * ```
42
+ */
43
+ list(appID: string, options?: RequestOptions): APIPromise<AllowlistListResponse> {
44
+ return this._client.get(path`/v1/apps/${appID}/allowlist`, options);
45
+ }
46
+
47
+ /**
48
+ * Remove an entry from the allowlist for an app. The allowlist must be enabled.
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const allowlistDeletionResponse =
53
+ * await client.apps.allowlist.delete('app_id', {
54
+ * type: 'email',
55
+ * value: 'batman@privy.io',
56
+ * });
57
+ * ```
58
+ */
59
+ delete(
60
+ appID: string,
61
+ body: AllowlistDeleteParams,
62
+ options?: RequestOptions,
63
+ ): APIPromise<AppsAPI.AllowlistDeletionResponse> {
64
+ return this._client.delete(path`/v1/apps/${appID}/allowlist`, { body, ...options });
65
+ }
66
+ }
67
+
68
+ export type AllowlistListResponse = Array<AppsAPI.AllowlistEntry>;
69
+
70
+ export type AllowlistCreateParams =
71
+ | AllowlistCreateParams.EmailInviteInput
72
+ | AllowlistCreateParams.WalletInviteInput
73
+ | AllowlistCreateParams.PhoneInviteInput;
74
+
75
+ export declare namespace AllowlistCreateParams {
76
+ export interface EmailInviteInput {
77
+ type: 'email';
78
+
79
+ value: string;
80
+ }
81
+
82
+ export interface WalletInviteInput {
83
+ type: 'wallet';
84
+
85
+ value: string;
86
+ }
87
+
88
+ export interface PhoneInviteInput {
89
+ type: 'phone';
90
+
91
+ value: string;
92
+ }
93
+ }
94
+
95
+ export type AllowlistDeleteParams =
96
+ | AllowlistDeleteParams.EmailInviteInput
97
+ | AllowlistDeleteParams.WalletInviteInput
98
+ | AllowlistDeleteParams.PhoneInviteInput;
99
+
100
+ export declare namespace AllowlistDeleteParams {
101
+ export interface EmailInviteInput {
102
+ type: 'email';
103
+
104
+ value: string;
105
+ }
106
+
107
+ export interface WalletInviteInput {
108
+ type: 'wallet';
109
+
110
+ value: string;
111
+ }
112
+
113
+ export interface PhoneInviteInput {
114
+ type: 'phone';
115
+
116
+ value: string;
117
+ }
118
+ }
119
+
120
+ export declare namespace Allowlist {
121
+ export {
122
+ type AllowlistListResponse as AllowlistListResponse,
123
+ type AllowlistCreateParams as AllowlistCreateParams,
124
+ type AllowlistDeleteParams as AllowlistDeleteParams,
125
+ };
126
+ }