@snagsolutions/sdk 0.1.0-alpha.45 → 0.1.0-alpha.46

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 (128) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +18 -16
  3. package/index.d.mts +4 -4
  4. package/index.d.ts +4 -4
  5. package/index.d.ts.map +1 -1
  6. package/index.js +1 -1
  7. package/index.js.map +1 -1
  8. package/index.mjs +1 -1
  9. package/index.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/assets.d.ts +7 -1
  12. package/resources/assets.d.ts.map +1 -1
  13. package/resources/auctions/auctions.d.ts +266 -0
  14. package/resources/auctions/auctions.d.ts.map +1 -0
  15. package/resources/auctions/auctions.js +62 -0
  16. package/resources/auctions/auctions.js.map +1 -0
  17. package/resources/auctions/auctions.mjs +35 -0
  18. package/resources/auctions/auctions.mjs.map +1 -0
  19. package/resources/auctions/index.d.ts +3 -0
  20. package/resources/auctions/index.d.ts.map +1 -0
  21. package/resources/auctions/index.js +9 -0
  22. package/resources/auctions/index.js.map +1 -0
  23. package/resources/auctions/index.mjs +4 -0
  24. package/resources/auctions/index.mjs.map +1 -0
  25. package/resources/auctions/website-user-attributes/index.d.ts +3 -0
  26. package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
  27. package/resources/auctions/website-user-attributes/index.js +9 -0
  28. package/resources/auctions/website-user-attributes/index.js.map +1 -0
  29. package/resources/auctions/website-user-attributes/index.mjs +4 -0
  30. package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
  31. package/resources/auctions/website-user-attributes/values.d.ts +94 -0
  32. package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
  33. package/resources/auctions/website-user-attributes/values.js +21 -0
  34. package/resources/auctions/website-user-attributes/values.js.map +1 -0
  35. package/resources/auctions/website-user-attributes/values.mjs +17 -0
  36. package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
  37. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +108 -0
  38. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
  39. package/resources/auctions/website-user-attributes/website-user-attributes.js +58 -0
  40. package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
  41. package/resources/auctions/website-user-attributes/website-user-attributes.mjs +31 -0
  42. package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
  43. package/resources/auctions/website-user-attributes.d.ts +2 -0
  44. package/resources/auctions/website-user-attributes.d.ts.map +1 -0
  45. package/resources/auctions/website-user-attributes.js +19 -0
  46. package/resources/auctions/website-user-attributes.js.map +1 -0
  47. package/resources/auctions/website-user-attributes.mjs +3 -0
  48. package/resources/auctions/website-user-attributes.mjs.map +1 -0
  49. package/resources/auctions.d.ts +1 -133
  50. package/resources/auctions.d.ts.map +1 -1
  51. package/resources/auctions.js +15 -22
  52. package/resources/auctions.js.map +1 -1
  53. package/resources/auctions.mjs +1 -20
  54. package/resources/auctions.mjs.map +1 -1
  55. package/resources/index.d.ts +2 -2
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js +1 -1
  58. package/resources/index.js.map +1 -1
  59. package/resources/index.mjs +1 -1
  60. package/resources/index.mjs.map +1 -1
  61. package/resources/loyalty/index.d.ts +1 -1
  62. package/resources/loyalty/index.d.ts.map +1 -1
  63. package/resources/loyalty/index.js +2 -2
  64. package/resources/loyalty/index.js.map +1 -1
  65. package/resources/loyalty/index.mjs +1 -1
  66. package/resources/loyalty/index.mjs.map +1 -1
  67. package/resources/loyalty/loyalty.d.ts +3 -3
  68. package/resources/loyalty/loyalty.d.ts.map +1 -1
  69. package/resources/loyalty/loyalty.js +2 -2
  70. package/resources/loyalty/loyalty.js.map +1 -1
  71. package/resources/loyalty/loyalty.mjs +2 -2
  72. package/resources/loyalty/loyalty.mjs.map +1 -1
  73. package/resources/loyalty/transactions/index.d.ts +3 -0
  74. package/resources/loyalty/transactions/index.d.ts.map +1 -0
  75. package/resources/loyalty/transactions/index.js +9 -0
  76. package/resources/loyalty/transactions/index.js.map +1 -0
  77. package/resources/loyalty/transactions/index.mjs +4 -0
  78. package/resources/loyalty/transactions/index.mjs.map +1 -0
  79. package/resources/loyalty/transactions/rule-statuses.d.ts +104 -0
  80. package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
  81. package/resources/loyalty/transactions/rule-statuses.js +22 -0
  82. package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
  83. package/resources/loyalty/transactions/rule-statuses.mjs +18 -0
  84. package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
  85. package/resources/loyalty/transactions/transactions.d.ts +288 -0
  86. package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
  87. package/resources/loyalty/transactions/transactions.js +58 -0
  88. package/resources/loyalty/transactions/transactions.js.map +1 -0
  89. package/resources/loyalty/transactions/transactions.mjs +31 -0
  90. package/resources/loyalty/transactions/transactions.mjs.map +1 -0
  91. package/resources/loyalty/transactions.d.ts +1 -257
  92. package/resources/loyalty/transactions.d.ts.map +1 -1
  93. package/resources/loyalty/transactions.js +15 -18
  94. package/resources/loyalty/transactions.js.map +1 -1
  95. package/resources/loyalty/transactions.mjs +1 -16
  96. package/resources/loyalty/transactions.mjs.map +1 -1
  97. package/resources/users/index.d.ts +1 -1
  98. package/resources/users/index.d.ts.map +1 -1
  99. package/resources/users/index.js.map +1 -1
  100. package/resources/users/index.mjs.map +1 -1
  101. package/resources/users/users.d.ts +60 -1
  102. package/resources/users/users.d.ts.map +1 -1
  103. package/resources/users/users.js +9 -0
  104. package/resources/users/users.js.map +1 -1
  105. package/resources/users/users.mjs +9 -0
  106. package/resources/users/users.mjs.map +1 -1
  107. package/src/index.ts +17 -1
  108. package/src/resources/assets.ts +8 -1
  109. package/src/resources/auctions/auctions.ts +417 -0
  110. package/src/resources/auctions/index.ts +18 -0
  111. package/src/resources/auctions/website-user-attributes/index.ts +18 -0
  112. package/src/resources/auctions/website-user-attributes/values.ts +137 -0
  113. package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +183 -0
  114. package/src/resources/auctions/website-user-attributes.ts +3 -0
  115. package/src/resources/auctions.ts +1 -207
  116. package/src/resources/index.ts +11 -1
  117. package/src/resources/loyalty/index.ts +3 -1
  118. package/src/resources/loyalty/loyalty.ts +6 -2
  119. package/src/resources/loyalty/transactions/index.ts +18 -0
  120. package/src/resources/loyalty/transactions/rule-statuses.ts +160 -0
  121. package/src/resources/loyalty/transactions/transactions.ts +515 -0
  122. package/src/resources/loyalty/transactions.ts +1 -453
  123. package/src/resources/users/index.ts +4 -0
  124. package/src/resources/users/users.ts +88 -0
  125. package/src/version.ts +1 -1
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
  128. package/version.mjs +1 -1
@@ -1,455 +1,3 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../resource';
4
- import { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
6
-
7
- export class Transactions extends APIResource {
8
- /**
9
- * Create a loyalty transaction to update account balances.
10
- */
11
- createTransaction(
12
- body: TransactionCreateTransactionParams,
13
- options?: Core.RequestOptions,
14
- ): Core.APIPromise<TransactionCreateTransactionResponse> {
15
- return this._client.post('/api/loyalty/transactions', { body, ...options });
16
- }
17
-
18
- /**
19
- * Fetch loyalty transaction entries for wallets or users, representing account
20
- * balance changes.
21
- */
22
- getTransactionEntries(
23
- query?: TransactionGetTransactionEntriesParams,
24
- options?: Core.RequestOptions,
25
- ): Core.APIPromise<TransactionGetTransactionEntriesResponse>;
26
- getTransactionEntries(
27
- options?: Core.RequestOptions,
28
- ): Core.APIPromise<TransactionGetTransactionEntriesResponse>;
29
- getTransactionEntries(
30
- query: TransactionGetTransactionEntriesParams | Core.RequestOptions = {},
31
- options?: Core.RequestOptions,
32
- ): Core.APIPromise<TransactionGetTransactionEntriesResponse> {
33
- if (isRequestOptions(query)) {
34
- return this.getTransactionEntries({}, query);
35
- }
36
- return this._client.get('/api/loyalty/transaction_entries', { query, ...options });
37
- }
38
- }
39
-
40
- export interface TransactionCreateTransactionResponse {
41
- id: string;
42
-
43
- createdAt: string;
44
-
45
- description: string;
46
-
47
- entries: Array<TransactionCreateTransactionResponse.Entry>;
48
-
49
- updatedAt: string;
50
- }
51
-
52
- export namespace TransactionCreateTransactionResponse {
53
- export interface Entry {
54
- amount: number;
55
-
56
- /**
57
- * Direction of the transaction entry
58
- */
59
- direction: 'credit' | 'debit';
60
-
61
- walletAddress: string;
62
-
63
- idempotencyKey?: string;
64
- }
65
- }
66
-
67
- export interface TransactionGetTransactionEntriesResponse {
68
- data: Array<TransactionGetTransactionEntriesResponse.Data>;
69
-
70
- hasNextPage: boolean;
71
- }
72
-
73
- export namespace TransactionGetTransactionEntriesResponse {
74
- /**
75
- * Schema for a loyalty transaction entry
76
- */
77
- export interface Data {
78
- /**
79
- * Unique identifier for the transaction entry
80
- */
81
- id: string;
82
-
83
- /**
84
- * Amount involved in the transaction
85
- */
86
- amount: number;
87
-
88
- /**
89
- * Timestamp when the transaction entry was created
90
- */
91
- createdAt: string;
92
-
93
- /**
94
- * Direction of the transaction entry
95
- */
96
- direction: 'credit' | 'debit';
97
-
98
- /**
99
- * Unique identifier for the loyalty account
100
- */
101
- loyaltyAccountId: string;
102
-
103
- /**
104
- * Details of the loyalty transaction
105
- */
106
- loyaltyTransaction: Data.LoyaltyTransaction;
107
-
108
- /**
109
- * Unique identifier for the organization
110
- */
111
- organizationId: string;
112
-
113
- /**
114
- * Type of the loyalty transaction
115
- */
116
- type: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
117
-
118
- /**
119
- * Timestamp when the transaction entry was last updated
120
- */
121
- updatedAt: string;
122
-
123
- /**
124
- * Unique identifier for the website
125
- */
126
- websiteId: string;
127
-
128
- /**
129
- * Optional metadata for the transaction entry
130
- */
131
- metadata?: Record<string, unknown>;
132
- }
133
-
134
- export namespace Data {
135
- /**
136
- * Details of the loyalty transaction
137
- */
138
- export interface LoyaltyTransaction {
139
- /**
140
- * Unique identifier for the loyalty transaction
141
- */
142
- id: string;
143
-
144
- /**
145
- * Type of the loyalty transaction
146
- */
147
- type: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
148
-
149
- /**
150
- * Details of the loyalty rule associated with the transaction
151
- */
152
- loyaltyRule?: LoyaltyTransaction.LoyaltyRule;
153
- }
154
-
155
- export namespace LoyaltyTransaction {
156
- /**
157
- * Details of the loyalty rule associated with the transaction
158
- */
159
- export interface LoyaltyRule {
160
- /**
161
- * Unique identifier for the loyalty rule
162
- */
163
- id: string;
164
-
165
- /**
166
- * Type of the loyalty rule
167
- */
168
- type: string;
169
-
170
- /**
171
- * Description of the loyalty rule
172
- */
173
- description?: string;
174
-
175
- /**
176
- * Optional metadata for the loyalty rule
177
- */
178
- metadata?: Record<string, unknown>;
179
-
180
- /**
181
- * Name of the loyalty rule
182
- */
183
- name?: string;
184
- }
185
- }
186
- }
187
- }
188
-
189
- export interface TransactionCreateTransactionParams {
190
- /**
191
- * Description of the loyalty transaction
192
- */
193
- description: string;
194
-
195
- /**
196
- * Array of transaction entries
197
- */
198
- entries: Array<TransactionCreateTransactionParams.Entry>;
199
-
200
- /**
201
- * Unique identifier for the loyalty currency
202
- */
203
- loyaltyCurrencyId?: string;
204
- }
205
-
206
- export namespace TransactionCreateTransactionParams {
207
- export interface Entry {
208
- /**
209
- * Transaction entry amount.
210
- */
211
- amount: number;
212
-
213
- /**
214
- * Direction of the transaction entry for this wallet address
215
- */
216
- direction?: 'credit' | 'debit';
217
-
218
- /**
219
- * Idempotency key for the transaction entry. Creation will fail if already exists
220
- * for this wallet address.
221
- */
222
- idempotencyKey?: string;
223
-
224
- /**
225
- * Unique identifier for the loyalty currency for the wallet. Can only use
226
- * entry-level currency or transaction-level currency.
227
- */
228
- loyaltyCurrencyId?: string;
229
-
230
- /**
231
- * The wallet address of the user
232
- */
233
- walletAddress?: string;
234
- }
235
- }
236
-
237
- export interface TransactionGetTransactionEntriesParams {
238
- /**
239
- * End date to filter by (exclusive, less than)
240
- */
241
- createdAtEnd?: string;
242
-
243
- /**
244
- * Start date to filter by (inclusive, greater than or equal to)
245
- */
246
- createdAtStart?: string;
247
-
248
- /**
249
- * Direction of the transaction entry to filter by
250
- */
251
- direction?: 'credit' | 'debit';
252
-
253
- /**
254
- * Key to ensure idempotency of the request
255
- */
256
- idempotencyKey?: string;
257
-
258
- /**
259
- * Maximum number of records to return (max 1000)
260
- */
261
- limit?: number;
262
-
263
- /**
264
- * UUID of the rule group (converted to lowercase)
265
- */
266
- loyaltyRuleGroupId?: string;
267
-
268
- /**
269
- * Unique identifier for the loyalty rule to filter by
270
- */
271
- loyaltyRuleId?: string;
272
-
273
- loyaltyRuleType?:
274
- | 'Bonus'
275
- | 'BoughtOn'
276
- | 'BoughtWithRoyalties'
277
- | 'DiscordMessages'
278
- | 'Listing'
279
- | 'Lodging'
280
- | 'MintOn'
281
- | 'PoapClaim'
282
- | 'SnagSocialsConnected'
283
- | 'SnapshotFullset'
284
- | 'SnapshotHold'
285
- | 'SoldOn'
286
- | 'SoldWithRoyalties'
287
- | 'TokenHold'
288
- | 'TwitterBio'
289
- | 'TwitterHashTagPost'
290
- | 'Retweet'
291
- | 'check_in'
292
- | 'code_entry'
293
- | 'connect_wallet'
294
- | 'connected_discord'
295
- | 'connected_email'
296
- | 'connected_epic'
297
- | 'connected_steam'
298
- | 'connected_telegram'
299
- | 'connected_twitter'
300
- | 'create_partner_account'
301
- | 'discord_member'
302
- | 'drip_x_follow'
303
- | 'drip_x_new_tweet'
304
- | 'drip_x_text_in_bio'
305
- | 'drip_x_text_in_comment'
306
- | 'drip_x_text_in_name'
307
- | 'drip_x_tweet'
308
- | 'external_rule'
309
- | 'link_click'
310
- | 'manual_upload'
311
- | 'profile_completed'
312
- | 'referred_user'
313
- | 'smart_contract_event'
314
- | 'snapshot_governance'
315
- | 'telegram_join'
316
- | 'telegram_messages'
317
- | 'text_input'
318
- | 'token_hold_erc20'
319
- | 'tweet_liked_by_project'
320
- | 'twitter_comment'
321
- | 'twitter_follow'
322
- | 'twitter_followers'
323
- | 'twitter_like'
324
- | 'twitter_post_hashtag'
325
- | 'quiz'
326
- | 'poll'
327
- | 'steam_wishlist'
328
- | Array<
329
- | 'Bonus'
330
- | 'BoughtOn'
331
- | 'BoughtWithRoyalties'
332
- | 'DiscordMessages'
333
- | 'Listing'
334
- | 'Lodging'
335
- | 'MintOn'
336
- | 'PoapClaim'
337
- | 'SnagSocialsConnected'
338
- | 'SnapshotFullset'
339
- | 'SnapshotHold'
340
- | 'SoldOn'
341
- | 'SoldWithRoyalties'
342
- | 'TokenHold'
343
- | 'TwitterBio'
344
- | 'TwitterHashTagPost'
345
- | 'Retweet'
346
- | 'check_in'
347
- | 'code_entry'
348
- | 'connect_wallet'
349
- | 'connected_discord'
350
- | 'connected_email'
351
- | 'connected_epic'
352
- | 'connected_steam'
353
- | 'connected_telegram'
354
- | 'connected_twitter'
355
- | 'create_partner_account'
356
- | 'discord_member'
357
- | 'drip_x_follow'
358
- | 'drip_x_new_tweet'
359
- | 'drip_x_text_in_bio'
360
- | 'drip_x_text_in_comment'
361
- | 'drip_x_text_in_name'
362
- | 'drip_x_tweet'
363
- | 'external_rule'
364
- | 'link_click'
365
- | 'manual_upload'
366
- | 'profile_completed'
367
- | 'referred_user'
368
- | 'smart_contract_event'
369
- | 'snapshot_governance'
370
- | 'telegram_join'
371
- | 'telegram_messages'
372
- | 'text_input'
373
- | 'token_hold_erc20'
374
- | 'tweet_liked_by_project'
375
- | 'twitter_comment'
376
- | 'twitter_follow'
377
- | 'twitter_followers'
378
- | 'twitter_like'
379
- | 'twitter_post_hashtag'
380
- | 'quiz'
381
- | 'poll'
382
- | 'steam_wishlist'
383
- >;
384
-
385
- /**
386
- * Unique identifier for the loyalty transaction to filter by
387
- */
388
- loyaltyTransactionId?: string;
389
-
390
- /**
391
- * Field to order the results by
392
- */
393
- orderBy?: 'createdAt' | 'updatedAt' | 'loyaltyAccountLockVersion';
394
-
395
- /**
396
- * Unique identifier for the organization to filter by
397
- */
398
- organizationId?: string;
399
-
400
- /**
401
- * Pagination cursor to start after a specific resource ID
402
- */
403
- startingAfter?: string;
404
-
405
- /**
406
- * Type of the loyalty transaction to filter by
407
- */
408
- type?: 'auction_bid' | 'direct_mint' | 'loyalty_rule' | 'api_key' | 'order';
409
-
410
- /**
411
- * When passed in return the list of fulfilled entries for loyalty rules. If a
412
- * loyalty rule has a fulfilled entry this means the user cannot currently complete
413
- * the rule. Must be passed in with userId or walletAddress.
414
- */
415
- userCompletedLoyaltyRuleId?: string | Array<string>;
416
-
417
- /**
418
- * External identifier for the user group controlled by you
419
- */
420
- userGroupExternalIdentifier?: string;
421
-
422
- /**
423
- * Unique identifier for the user group
424
- */
425
- userGroupId?: string;
426
-
427
- /**
428
- * User ID or array of User IDs to filter by
429
- */
430
- userId?: string | Array<string>;
431
-
432
- /**
433
- * Wallet address or array of wallet addresses to filter by
434
- */
435
- walletAddress?: string | Array<string>;
436
-
437
- /**
438
- * Identifier for the wallet group to filter by
439
- */
440
- walletGroupIdentifier?: string;
441
-
442
- /**
443
- * Unique identifier for the website to filter by
444
- */
445
- websiteId?: string;
446
- }
447
-
448
- export declare namespace Transactions {
449
- export {
450
- type TransactionCreateTransactionResponse as TransactionCreateTransactionResponse,
451
- type TransactionGetTransactionEntriesResponse as TransactionGetTransactionEntriesResponse,
452
- type TransactionCreateTransactionParams as TransactionCreateTransactionParams,
453
- type TransactionGetTransactionEntriesParams as TransactionGetTransactionEntriesParams,
454
- };
455
- }
3
+ export * from './transactions/index';
@@ -12,9 +12,13 @@ export {
12
12
  type UserListResponse,
13
13
  type UserConnectResponse,
14
14
  type UserCountResponse,
15
+ type UserCreateDeviceResponse,
15
16
  type UserDisconnectResponse,
17
+ type UserVerifyResponse,
16
18
  type UserListParams,
17
19
  type UserConnectParams,
18
20
  type UserCountParams,
21
+ type UserCreateDeviceParams,
19
22
  type UserDisconnectParams,
23
+ type UserVerifyParams,
20
24
  } from './users';
@@ -44,12 +44,26 @@ export class Users extends APIResource {
44
44
  return this._client.get('/api/users/count', { query, ...options });
45
45
  }
46
46
 
47
+ /**
48
+ * This endpoint is used to create user devices for fraud tracking
49
+ */
50
+ createDevice(
51
+ body: UserCreateDeviceParams,
52
+ options?: Core.RequestOptions,
53
+ ): Core.APIPromise<UserCreateDeviceResponse> {
54
+ return this._client.post('/api/users/devices', { body, ...options });
55
+ }
56
+
47
57
  /**
48
58
  * This endpoint allows you to disconnect a user from another user
49
59
  */
50
60
  disconnect(body: UserDisconnectParams, options?: Core.RequestOptions): Core.APIPromise<unknown> {
51
61
  return this._client.post('/api/users/disconnect', { body, ...options });
52
62
  }
63
+
64
+ verify(body: UserVerifyParams, options?: Core.RequestOptions): Core.APIPromise<UserVerifyResponse> {
65
+ return this._client.post('/api/users/verify', { body, ...options });
66
+ }
53
67
  }
54
68
 
55
69
  export interface UserListResponse {
@@ -218,8 +232,52 @@ export interface UserCountResponse {
218
232
  totalCount: number;
219
233
  }
220
234
 
235
+ /**
236
+ * Schema for a user device
237
+ */
238
+ export interface UserCreateDeviceResponse {
239
+ /**
240
+ * Unique identifier for the user device
241
+ */
242
+ id: string;
243
+
244
+ /**
245
+ * Timestamp when the wallet was created
246
+ */
247
+ createdAt: string;
248
+
249
+ /**
250
+ * IP address of the user device
251
+ */
252
+ ipAddress: string;
253
+
254
+ /**
255
+ * Unique identifier for the organization
256
+ */
257
+ organizationId: string;
258
+
259
+ /**
260
+ * Source of the user device
261
+ */
262
+ source: string;
263
+
264
+ /**
265
+ * Unique identifier for the website
266
+ */
267
+ websiteId: string;
268
+
269
+ /**
270
+ * Device identifier of the user device
271
+ */
272
+ deviceIdentifier?: string;
273
+ }
274
+
221
275
  export type UserDisconnectResponse = unknown;
222
276
 
277
+ export interface UserVerifyResponse {
278
+ message: string;
279
+ }
280
+
223
281
  export interface UserListParams {
224
282
  /**
225
283
  * The address of the user
@@ -415,6 +473,22 @@ export interface UserCountParams {
415
473
  websiteId: string;
416
474
  }
417
475
 
476
+ export interface UserCreateDeviceParams {
477
+ /**
478
+ * IP address of the user device
479
+ */
480
+ ipAddress: string;
481
+
482
+ /**
483
+ * Device identifier of the user device
484
+ */
485
+ deviceIdentifier?: string;
486
+
487
+ userId?: string;
488
+
489
+ walletAddress?: string;
490
+ }
491
+
418
492
  export interface UserDisconnectParams {
419
493
  organizationId: string;
420
494
 
@@ -423,6 +497,16 @@ export interface UserDisconnectParams {
423
497
  websiteId: string;
424
498
  }
425
499
 
500
+ export interface UserVerifyParams {
501
+ accountLinkData: string;
502
+
503
+ organizationId?: string;
504
+
505
+ userId?: string;
506
+
507
+ websiteId?: string;
508
+ }
509
+
426
510
  Users.Metadatas = Metadatas;
427
511
 
428
512
  export declare namespace Users {
@@ -430,11 +514,15 @@ export declare namespace Users {
430
514
  type UserListResponse as UserListResponse,
431
515
  type UserConnectResponse as UserConnectResponse,
432
516
  type UserCountResponse as UserCountResponse,
517
+ type UserCreateDeviceResponse as UserCreateDeviceResponse,
433
518
  type UserDisconnectResponse as UserDisconnectResponse,
519
+ type UserVerifyResponse as UserVerifyResponse,
434
520
  type UserListParams as UserListParams,
435
521
  type UserConnectParams as UserConnectParams,
436
522
  type UserCountParams as UserCountParams,
523
+ type UserCreateDeviceParams as UserCreateDeviceParams,
437
524
  type UserDisconnectParams as UserDisconnectParams,
525
+ type UserVerifyParams as UserVerifyParams,
438
526
  };
439
527
 
440
528
  export {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.45'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.46'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.45";
1
+ export declare const VERSION = "0.1.0-alpha.46";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-alpha.45'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.46'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.45'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.46'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map