@snagsolutions/sdk 0.1.0-alpha.26 → 0.1.0-alpha.260
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.
- package/CHANGELOG.md +140 -153
- package/LICENSE +1 -1
- package/README.md +15 -23
- package/core.d.ts +9 -6
- package/core.d.ts.map +1 -1
- package/core.js +36 -33
- package/core.js.map +1 -1
- package/core.mjs +36 -33
- package/core.mjs.map +1 -1
- package/index.d.mts +15 -9
- package/index.d.ts +15 -9
- package/index.d.ts.map +1 -1
- package/index.js +13 -6
- package/index.js.map +1 -1
- package/index.mjs +14 -7
- package/index.mjs.map +1 -1
- package/internal/utils/query.d.ts +2 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +33 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +6 -0
- package/internal/utils/query.mjs.map +1 -0
- package/package.json +4 -5
- package/resource.d.ts +1 -1
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs.map +1 -1
- package/resources/assets.d.ts +16 -2
- package/resources/assets.d.ts.map +1 -1
- package/resources/assets.js +8 -0
- package/resources/assets.js.map +1 -1
- package/resources/assets.mjs +8 -0
- package/resources/assets.mjs.map +1 -1
- package/resources/auctions/auctions.d.ts +341 -0
- package/resources/auctions/auctions.d.ts.map +1 -0
- package/resources/auctions/auctions.js +72 -0
- package/resources/auctions/auctions.js.map +1 -0
- package/resources/auctions/auctions.mjs +45 -0
- package/resources/auctions/auctions.mjs.map +1 -0
- package/resources/auctions/index.d.ts +3 -0
- package/resources/auctions/index.d.ts.map +1 -0
- package/resources/auctions/index.js +9 -0
- package/resources/auctions/index.js.map +1 -0
- package/resources/auctions/index.mjs +4 -0
- package/resources/auctions/index.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/index.d.ts +3 -0
- package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/index.js +9 -0
- package/resources/auctions/website-user-attributes/index.js.map +1 -0
- package/resources/auctions/website-user-attributes/index.mjs +4 -0
- package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/values.d.ts +126 -0
- package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/values.js +49 -0
- package/resources/auctions/website-user-attributes/values.js.map +1 -0
- package/resources/auctions/website-user-attributes/values.mjs +45 -0
- package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +136 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.js +76 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.mjs +49 -0
- package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
- package/resources/auctions/website-user-attributes.d.ts +2 -0
- package/resources/auctions/website-user-attributes.d.ts.map +1 -0
- package/resources/auctions/website-user-attributes.js +19 -0
- package/resources/auctions/website-user-attributes.js.map +1 -0
- package/resources/auctions/website-user-attributes.mjs +3 -0
- package/resources/auctions/website-user-attributes.mjs.map +1 -0
- package/resources/auctions.d.ts +1 -133
- package/resources/auctions.d.ts.map +1 -1
- package/resources/auctions.js +15 -22
- package/resources/auctions.js.map +1 -1
- package/resources/auctions.mjs +1 -20
- package/resources/auctions.mjs.map +1 -1
- package/resources/auth.d.ts +66 -6
- package/resources/auth.d.ts.map +1 -1
- package/resources/auth.js +6 -0
- package/resources/auth.js.map +1 -1
- package/resources/auth.mjs +6 -0
- package/resources/auth.mjs.map +1 -1
- package/resources/index.d.ts +5 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -3
- package/resources/index.mjs.map +1 -1
- package/resources/loyalty/account-streaks.d.ts +96 -0
- package/resources/loyalty/account-streaks.d.ts.map +1 -0
- package/resources/loyalty/account-streaks.js +24 -0
- package/resources/loyalty/account-streaks.js.map +1 -0
- package/resources/loyalty/account-streaks.mjs +20 -0
- package/resources/loyalty/account-streaks.mjs.map +1 -0
- package/resources/loyalty/accounts.d.ts +60 -16
- package/resources/loyalty/accounts.d.ts.map +1 -1
- package/resources/loyalty/accounts.js +14 -0
- package/resources/loyalty/accounts.js.map +1 -1
- package/resources/loyalty/accounts.mjs +14 -0
- package/resources/loyalty/accounts.mjs.map +1 -1
- package/resources/loyalty/badges.d.ts +885 -136
- package/resources/loyalty/badges.d.ts.map +1 -1
- package/resources/loyalty/badges.js +19 -1
- package/resources/loyalty/badges.js.map +1 -1
- package/resources/loyalty/badges.mjs +19 -1
- package/resources/loyalty/badges.mjs.map +1 -1
- package/resources/loyalty/currencies.d.ts +19 -0
- package/resources/loyalty/currencies.d.ts.map +1 -1
- package/resources/loyalty/currencies.js +19 -0
- package/resources/loyalty/currencies.js.map +1 -1
- package/resources/loyalty/currencies.mjs +19 -0
- package/resources/loyalty/currencies.mjs.map +1 -1
- package/resources/loyalty/index.d.ts +3 -3
- package/resources/loyalty/index.d.ts.map +1 -1
- package/resources/loyalty/index.js +5 -5
- package/resources/loyalty/index.js.map +1 -1
- package/resources/loyalty/index.mjs +2 -2
- package/resources/loyalty/index.mjs.map +1 -1
- package/resources/loyalty/loyalty.d.ts +9 -9
- package/resources/loyalty/loyalty.d.ts.map +1 -1
- package/resources/loyalty/loyalty.js +6 -6
- package/resources/loyalty/loyalty.js.map +1 -1
- package/resources/loyalty/loyalty.mjs +6 -6
- package/resources/loyalty/loyalty.mjs.map +1 -1
- package/resources/loyalty/multipliers.d.ts +39 -2
- package/resources/loyalty/multipliers.d.ts.map +1 -1
- package/resources/loyalty/multipliers.js +23 -0
- package/resources/loyalty/multipliers.js.map +1 -1
- package/resources/loyalty/multipliers.mjs +23 -0
- package/resources/loyalty/multipliers.mjs.map +1 -1
- package/resources/loyalty/questions-responses.d.ts +55 -4
- package/resources/loyalty/questions-responses.d.ts.map +1 -1
- package/resources/loyalty/questions-responses.js +9 -0
- package/resources/loyalty/questions-responses.js.map +1 -1
- package/resources/loyalty/questions-responses.mjs +9 -0
- package/resources/loyalty/questions-responses.mjs.map +1 -1
- package/resources/loyalty/questions.d.ts +60 -6
- package/resources/loyalty/questions.d.ts.map +1 -1
- package/resources/loyalty/questions.js +39 -0
- package/resources/loyalty/questions.js.map +1 -1
- package/resources/loyalty/questions.mjs +39 -0
- package/resources/loyalty/questions.mjs.map +1 -1
- package/resources/loyalty/rule-edits.d.ts +2898 -8
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-edits.js +14 -0
- package/resources/loyalty/rule-edits.js.map +1 -1
- package/resources/loyalty/rule-edits.mjs +14 -0
- package/resources/loyalty/rule-edits.mjs.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +284 -56
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.js +18 -0
- package/resources/loyalty/rule-groups.js.map +1 -1
- package/resources/loyalty/rule-groups.mjs +18 -0
- package/resources/loyalty/rule-groups.mjs.map +1 -1
- package/resources/loyalty/rules.d.ts +2368 -346
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/rules.js +40 -9
- package/resources/loyalty/rules.js.map +1 -1
- package/resources/loyalty/rules.mjs +40 -9
- package/resources/loyalty/rules.mjs.map +1 -1
- package/resources/loyalty/transactions/index.d.ts +4 -0
- package/resources/loyalty/transactions/index.d.ts.map +1 -0
- package/resources/loyalty/transactions/index.js +11 -0
- package/resources/loyalty/transactions/index.js.map +1 -0
- package/resources/loyalty/transactions/index.mjs +5 -0
- package/resources/loyalty/transactions/index.mjs.map +1 -0
- package/resources/loyalty/transactions/posts.d.ts +145 -0
- package/resources/loyalty/transactions/posts.d.ts.map +1 -0
- package/resources/loyalty/transactions/posts.js +32 -0
- package/resources/loyalty/transactions/posts.js.map +1 -0
- package/resources/loyalty/transactions/posts.mjs +28 -0
- package/resources/loyalty/transactions/posts.mjs.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts +121 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.js +30 -0
- package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.mjs +26 -0
- package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
- package/resources/loyalty/transactions/transactions.d.ts +566 -0
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
- package/resources/loyalty/transactions/transactions.js +110 -0
- package/resources/loyalty/transactions/transactions.js.map +1 -0
- package/resources/loyalty/transactions/transactions.mjs +83 -0
- package/resources/loyalty/transactions/transactions.mjs.map +1 -0
- package/resources/loyalty/transactions.d.ts +1 -253
- package/resources/loyalty/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions.js +15 -18
- package/resources/loyalty/transactions.js.map +1 -1
- package/resources/loyalty/transactions.mjs +1 -16
- package/resources/loyalty/transactions.mjs.map +1 -1
- package/resources/minting/allowlist.d.ts +84 -0
- package/resources/minting/allowlist.d.ts.map +1 -0
- package/resources/minting/allowlist.js +42 -0
- package/resources/minting/allowlist.js.map +1 -0
- package/resources/minting/allowlist.mjs +38 -0
- package/resources/minting/allowlist.mjs.map +1 -0
- package/resources/minting/contracts.d.ts +165 -0
- package/resources/minting/contracts.d.ts.map +1 -0
- package/resources/minting/contracts.js +30 -0
- package/resources/minting/contracts.js.map +1 -0
- package/resources/minting/contracts.mjs +26 -0
- package/resources/minting/contracts.mjs.map +1 -0
- package/resources/minting/index.d.ts +5 -0
- package/resources/minting/index.d.ts.map +1 -0
- package/resources/minting/index.js +13 -0
- package/resources/minting/index.js.map +1 -0
- package/resources/minting/index.mjs +6 -0
- package/resources/minting/index.mjs.map +1 -0
- package/resources/minting/minting.d.ts +146 -0
- package/resources/minting/minting.d.ts.map +1 -0
- package/resources/minting/minting.js +79 -0
- package/resources/minting/minting.js.map +1 -0
- package/resources/minting/minting.mjs +52 -0
- package/resources/minting/minting.mjs.map +1 -0
- package/resources/minting/status.d.ts +44 -0
- package/resources/minting/status.d.ts.map +1 -0
- package/resources/minting/status.js +33 -0
- package/resources/minting/status.js.map +1 -0
- package/resources/minting/status.mjs +29 -0
- package/resources/minting/status.mjs.map +1 -0
- package/resources/minting.d.ts +1 -94
- package/resources/minting.d.ts.map +1 -1
- package/resources/minting.js +15 -11
- package/resources/minting.js.map +1 -1
- package/resources/minting.mjs +1 -9
- package/resources/minting.mjs.map +1 -1
- package/resources/referral/referral.d.ts +12 -3
- package/resources/referral/referral.d.ts.map +1 -1
- package/resources/referral/referral.js +11 -5
- package/resources/referral/referral.js.map +1 -1
- package/resources/referral/referral.mjs +11 -5
- package/resources/referral/referral.mjs.map +1 -1
- package/resources/referral/users.d.ts +30 -3
- package/resources/referral/users.d.ts.map +1 -1
- package/resources/referral/users.js +12 -4
- package/resources/referral/users.js.map +1 -1
- package/resources/referral/users.mjs +12 -4
- package/resources/referral/users.mjs.map +1 -1
- package/resources/token-claims.d.ts +162 -0
- package/resources/token-claims.d.ts.map +1 -0
- package/resources/token-claims.js +46 -0
- package/resources/token-claims.js.map +1 -0
- package/resources/token-claims.mjs +42 -0
- package/resources/token-claims.mjs.map +1 -0
- package/resources/users/index.d.ts +1 -1
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/metadatas.d.ts +40 -3
- package/resources/users/metadatas.d.ts.map +1 -1
- package/resources/users/metadatas.js.map +1 -1
- package/resources/users/metadatas.mjs.map +1 -1
- package/resources/users/users.d.ts +203 -36
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js +58 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs +58 -1
- package/resources/users/users.mjs.map +1 -1
- package/resources/websites/index.d.ts +1 -1
- package/resources/websites/index.d.ts.map +1 -1
- package/resources/websites/index.js.map +1 -1
- package/resources/websites/index.mjs +1 -1
- package/resources/websites/index.mjs.map +1 -1
- package/resources/websites/website-collections.d.ts +0 -69
- package/resources/websites/website-collections.d.ts.map +1 -1
- package/resources/websites/website-collections.js +0 -16
- package/resources/websites/website-collections.js.map +1 -1
- package/resources/websites/website-collections.mjs +0 -16
- package/resources/websites/website-collections.mjs.map +1 -1
- package/resources/websites/website-user-roles.d.ts +24 -1
- package/resources/websites/website-user-roles.d.ts.map +1 -1
- package/resources/websites/website-user-roles.js +23 -0
- package/resources/websites/website-user-roles.js.map +1 -1
- package/resources/websites/website-user-roles.mjs +23 -0
- package/resources/websites/website-user-roles.mjs.map +1 -1
- package/resources/websites/websites.d.ts +21 -99
- package/resources/websites/websites.d.ts.map +1 -1
- package/resources/websites/websites.js +9 -1
- package/resources/websites/websites.js.map +1 -1
- package/resources/websites/websites.mjs +10 -2
- package/resources/websites/websites.mjs.map +1 -1
- package/src/core.ts +40 -36
- package/src/index.ts +84 -6
- package/src/internal/utils/query.ts +7 -0
- package/src/resource.ts +1 -1
- package/src/resources/assets.ts +18 -3
- package/src/resources/auctions/auctions.ts +523 -0
- package/src/resources/auctions/index.ts +19 -0
- package/src/resources/auctions/website-user-attributes/index.ts +18 -0
- package/src/resources/auctions/website-user-attributes/values.ts +170 -0
- package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +212 -0
- package/src/resources/auctions/website-user-attributes.ts +3 -0
- package/src/resources/auctions.ts +1 -207
- package/src/resources/auth.ts +124 -6
- package/src/resources/index.ts +41 -3
- package/src/resources/loyalty/account-streaks.ts +128 -0
- package/src/resources/loyalty/accounts.ts +65 -18
- package/src/resources/loyalty/badges.ts +1058 -146
- package/src/resources/loyalty/currencies.ts +19 -0
- package/src/resources/loyalty/index.ts +13 -2
- package/src/resources/loyalty/loyalty.ts +30 -12
- package/src/resources/loyalty/multipliers.ts +43 -4
- package/src/resources/loyalty/questions-responses.ts +64 -4
- package/src/resources/loyalty/questions.ts +64 -6
- package/src/resources/loyalty/rule-edits.ts +4208 -94
- package/src/resources/loyalty/rule-groups.ts +473 -64
- package/src/resources/loyalty/rules.ts +3706 -403
- package/src/resources/loyalty/transactions/index.ts +29 -0
- package/src/resources/loyalty/transactions/posts.ts +221 -0
- package/src/resources/loyalty/transactions/rule-statuses.ts +179 -0
- package/src/resources/loyalty/transactions/transactions.ts +930 -0
- package/src/resources/loyalty/transactions.ts +1 -446
- package/src/resources/minting/allowlist.ts +116 -0
- package/src/resources/minting/contracts.ts +415 -0
- package/src/resources/minting/index.ts +29 -0
- package/src/resources/minting/minting.ts +285 -0
- package/src/resources/minting/status.ts +70 -0
- package/src/resources/minting.ts +1 -157
- package/src/resources/referral/referral.ts +15 -11
- package/src/resources/referral/users.ts +45 -5
- package/src/resources/token-claims.ts +311 -0
- package/src/resources/users/index.ts +4 -0
- package/src/resources/users/metadatas.ts +66 -3
- package/src/resources/users/users.ts +277 -39
- package/src/resources/websites/index.ts +1 -6
- package/src/resources/websites/website-collections.ts +1 -146
- package/src/resources/websites/website-user-roles.ts +26 -1
- package/src/resources/websites/websites.ts +22 -127
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
- package/resources/loyalty/rule-chains.d.ts +0 -34
- package/resources/loyalty/rule-chains.d.ts.map +0 -1
- package/resources/loyalty/rule-chains.js +0 -15
- package/resources/loyalty/rule-chains.js.map +0 -1
- package/resources/loyalty/rule-chains.mjs +0 -11
- package/resources/loyalty/rule-chains.mjs.map +0 -1
- package/src/resources/loyalty/rule-chains.ts +0 -45
|
@@ -6,27 +6,89 @@ export declare class Users extends APIResource {
|
|
|
6
6
|
metadatas: MetadatasAPI.Metadatas;
|
|
7
7
|
/**
|
|
8
8
|
* This endpoint allows you to get users
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const users = await client.users.list();
|
|
13
|
+
* ```
|
|
9
14
|
*/
|
|
10
15
|
list(query?: UserListParams, options?: Core.RequestOptions): Core.APIPromise<UserListResponse>;
|
|
11
16
|
list(options?: Core.RequestOptions): Core.APIPromise<UserListResponse>;
|
|
12
17
|
/**
|
|
13
|
-
* This endpoint allows you to
|
|
18
|
+
* This endpoint allows you to connect a user to a user group
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const response = await client.users.connect({
|
|
23
|
+
* organizationId: '123e4567-e89b-12d3-a456-426614174001',
|
|
24
|
+
* walletAddress:
|
|
25
|
+
* '0x1234567890abcdef1234567890abcdef12345678',
|
|
26
|
+
* walletType: 'evm',
|
|
27
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
14
30
|
*/
|
|
15
31
|
connect(body: UserConnectParams, options?: Core.RequestOptions): Core.APIPromise<UserConnectResponse>;
|
|
16
32
|
/**
|
|
17
33
|
* This endpoint returns the total user count
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const response = await client.users.count({
|
|
38
|
+
* organizationId: '123e4567-e89b-12d3-a456-426614174001',
|
|
39
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
18
42
|
*/
|
|
19
43
|
count(query: UserCountParams, options?: Core.RequestOptions): Core.APIPromise<UserCountResponse>;
|
|
20
44
|
/**
|
|
21
|
-
* This endpoint
|
|
45
|
+
* This endpoint is used to create user devices for fraud tracking
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```ts
|
|
49
|
+
* const response = await client.users.createDevice({
|
|
50
|
+
* ipAddress: '123.456.789.012',
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
22
53
|
*/
|
|
23
|
-
|
|
54
|
+
createDevice(body: UserCreateDeviceParams, options?: Core.RequestOptions): Core.APIPromise<UserCreateDeviceResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* This endpoint allows you to disconnect a user from another user
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```ts
|
|
60
|
+
* const response = await client.users.disconnect({
|
|
61
|
+
* organizationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
62
|
+
* userId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
63
|
+
* websiteId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
disconnect(body: UserDisconnectParams, options?: Core.RequestOptions): Core.APIPromise<UserDisconnectResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Transfers a social account from one user to another when a conflict is detected.
|
|
70
|
+
* Disconnects the account from the previous user and connects it to the current
|
|
71
|
+
* user's profile. Used when a social account is already linked to a different user
|
|
72
|
+
* (MAXIMUM_ACCOUNT_LINKED error).
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* ```ts
|
|
76
|
+
* const response = await client.users.verify({
|
|
77
|
+
* accountLinkData: 'accountLinkData',
|
|
78
|
+
* });
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
verify(body: UserVerifyParams, options?: Core.RequestOptions): Core.APIPromise<UserVerifyResponse>;
|
|
24
82
|
}
|
|
25
83
|
export interface UserListResponse {
|
|
26
84
|
/**
|
|
27
85
|
* Schema for users response
|
|
28
86
|
*/
|
|
29
87
|
data: Array<UserListResponse.Data>;
|
|
88
|
+
/**
|
|
89
|
+
* Indicates if there is a next page of results
|
|
90
|
+
*/
|
|
91
|
+
hasNextPage: boolean;
|
|
30
92
|
}
|
|
31
93
|
export declare namespace UserListResponse {
|
|
32
94
|
/**
|
|
@@ -36,50 +98,54 @@ export declare namespace UserListResponse {
|
|
|
36
98
|
id: string;
|
|
37
99
|
isSnagSuperAdmin: boolean;
|
|
38
100
|
walletAddress: string;
|
|
39
|
-
/**
|
|
40
|
-
* The followers of the user, only returned if includeFollow is true
|
|
41
|
-
*/
|
|
42
|
-
_count?: Data._Count | null;
|
|
43
101
|
/**
|
|
44
102
|
* The delegations from the user, only returned if includeDelegation is true
|
|
45
103
|
*/
|
|
46
104
|
delegationsFrom?: Array<Data.DelegationsFrom> | null;
|
|
47
|
-
/**
|
|
48
|
-
* The followers of the user, only returned if includeFollow is true and the user
|
|
49
|
-
* is querying their own user
|
|
50
|
-
*/
|
|
51
|
-
followers?: Array<Data.Follower> | null;
|
|
52
105
|
/**
|
|
53
106
|
* Whether the user has notifications enabled, only returned if
|
|
54
107
|
* includeNotifications is true
|
|
55
108
|
*/
|
|
56
|
-
notifications?: boolean;
|
|
109
|
+
notifications?: boolean | null;
|
|
57
110
|
privyUserId?: string | null;
|
|
58
|
-
|
|
111
|
+
referrers?: Array<Data.Referrer> | null;
|
|
59
112
|
temporaryLoyaltyUser?: boolean | null;
|
|
60
113
|
userMetadata?: Array<Data.UserMetadata> | null;
|
|
114
|
+
websiteUserAttributes?: Array<Data.WebsiteUserAttribute> | null;
|
|
61
115
|
}
|
|
62
116
|
namespace Data {
|
|
63
|
-
/**
|
|
64
|
-
* The followers of the user, only returned if includeFollow is true
|
|
65
|
-
*/
|
|
66
|
-
interface _Count {
|
|
67
|
-
select: _Count.Select;
|
|
68
|
-
}
|
|
69
|
-
namespace _Count {
|
|
70
|
-
interface Select {
|
|
71
|
-
followers: number;
|
|
72
|
-
follows: number;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
117
|
interface DelegationsFrom {
|
|
76
118
|
walletAddress: string;
|
|
77
119
|
}
|
|
78
|
-
interface
|
|
79
|
-
|
|
120
|
+
interface Referrer {
|
|
121
|
+
eligible: boolean;
|
|
122
|
+
referralCode: Referrer.ReferralCode;
|
|
123
|
+
user: Referrer.User;
|
|
124
|
+
}
|
|
125
|
+
namespace Referrer {
|
|
126
|
+
interface ReferralCode {
|
|
127
|
+
/**
|
|
128
|
+
* Use who referred the user
|
|
129
|
+
*/
|
|
130
|
+
user: ReferralCode.User;
|
|
131
|
+
}
|
|
132
|
+
namespace ReferralCode {
|
|
133
|
+
/**
|
|
134
|
+
* Use who referred the user
|
|
135
|
+
*/
|
|
136
|
+
interface User {
|
|
137
|
+
id: string;
|
|
138
|
+
walletAddress: string;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
interface User {
|
|
142
|
+
id: string;
|
|
143
|
+
walletAddress: string;
|
|
144
|
+
}
|
|
80
145
|
}
|
|
81
146
|
interface UserMetadata {
|
|
82
147
|
bio?: string | null;
|
|
148
|
+
createdAt?: string | null;
|
|
83
149
|
discordUser?: string | null;
|
|
84
150
|
discordVerifiedAt?: string | null;
|
|
85
151
|
displayName?: string | null;
|
|
@@ -91,6 +157,11 @@ export declare namespace UserListResponse {
|
|
|
91
157
|
emailVerifiedAt?: string | null;
|
|
92
158
|
epicAccountIdentifier?: string | null;
|
|
93
159
|
epicUsername?: string | null;
|
|
160
|
+
externalLoyaltyScore?: string | null;
|
|
161
|
+
githubUser?: string | null;
|
|
162
|
+
githubUserId?: string | null;
|
|
163
|
+
googleUser?: string | null;
|
|
164
|
+
googleUserId?: string | null;
|
|
94
165
|
instagramUser?: string | null;
|
|
95
166
|
instagramVerifiedAt?: string | null;
|
|
96
167
|
isBlocked?: boolean | null;
|
|
@@ -98,16 +169,36 @@ export declare namespace UserListResponse {
|
|
|
98
169
|
logoUrl?: string | null;
|
|
99
170
|
meta?: string | null;
|
|
100
171
|
portfolioUrl?: string | null;
|
|
172
|
+
redditUser?: string | null;
|
|
173
|
+
redditUserId?: string | null;
|
|
101
174
|
steamUserId?: string | null;
|
|
102
175
|
steamUsername?: string | null;
|
|
103
176
|
telegramUserId?: string | null;
|
|
104
177
|
telegramUsername?: string | null;
|
|
105
178
|
telegramVerifiedAt?: string | null;
|
|
179
|
+
tiktokUser?: string | null;
|
|
180
|
+
tiktokUserId?: string | null;
|
|
106
181
|
twitterUser?: string | null;
|
|
107
182
|
twitterUserFollowersCount?: number | null;
|
|
108
183
|
twitterVerifiedAt?: string | null;
|
|
184
|
+
updatedAt?: string | null;
|
|
109
185
|
userGroupId?: string | null;
|
|
186
|
+
verifiedLocallyAt?: string | null;
|
|
110
187
|
walletGroupIdentifier?: string | null;
|
|
188
|
+
YTChannelId?: string | null;
|
|
189
|
+
}
|
|
190
|
+
interface WebsiteUserAttribute {
|
|
191
|
+
id: string;
|
|
192
|
+
label: string;
|
|
193
|
+
websiteUserAttributeValues: Array<WebsiteUserAttribute.WebsiteUserAttributeValue>;
|
|
194
|
+
}
|
|
195
|
+
namespace WebsiteUserAttribute {
|
|
196
|
+
interface WebsiteUserAttributeValue {
|
|
197
|
+
id: string;
|
|
198
|
+
userId: string;
|
|
199
|
+
value: string;
|
|
200
|
+
websiteUserAttributeId: string;
|
|
201
|
+
}
|
|
111
202
|
}
|
|
112
203
|
}
|
|
113
204
|
}
|
|
@@ -141,7 +232,48 @@ export interface UserCountResponse {
|
|
|
141
232
|
*/
|
|
142
233
|
totalCount: number;
|
|
143
234
|
}
|
|
144
|
-
|
|
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
|
+
* Timestamp when the wallet was created
|
|
245
|
+
*/
|
|
246
|
+
createdAt: string;
|
|
247
|
+
/**
|
|
248
|
+
* IP address of the user device
|
|
249
|
+
*/
|
|
250
|
+
ipAddress: string;
|
|
251
|
+
/**
|
|
252
|
+
* Unique identifier for the organization
|
|
253
|
+
*/
|
|
254
|
+
organizationId: string;
|
|
255
|
+
/**
|
|
256
|
+
* Source of the user device
|
|
257
|
+
*/
|
|
258
|
+
source: string;
|
|
259
|
+
/**
|
|
260
|
+
* Unique identifier for the website
|
|
261
|
+
*/
|
|
262
|
+
websiteId: string;
|
|
263
|
+
/**
|
|
264
|
+
* Device identifier of the user device
|
|
265
|
+
*/
|
|
266
|
+
deviceIdentifier?: string;
|
|
267
|
+
}
|
|
268
|
+
export interface UserDisconnectResponse {
|
|
269
|
+
/**
|
|
270
|
+
* The message of the disconnect user response
|
|
271
|
+
*/
|
|
272
|
+
message: 'Success';
|
|
273
|
+
}
|
|
274
|
+
export interface UserVerifyResponse {
|
|
275
|
+
message: string;
|
|
276
|
+
}
|
|
145
277
|
export interface UserListParams {
|
|
146
278
|
/**
|
|
147
279
|
* The address of the user
|
|
@@ -151,6 +283,10 @@ export interface UserListParams {
|
|
|
151
283
|
* Discord username of the user
|
|
152
284
|
*/
|
|
153
285
|
discordUser?: string;
|
|
286
|
+
/**
|
|
287
|
+
* Email address of the user
|
|
288
|
+
*/
|
|
289
|
+
emailAddress?: string;
|
|
154
290
|
/**
|
|
155
291
|
* External identifier for the user
|
|
156
292
|
*/
|
|
@@ -158,11 +294,7 @@ export interface UserListParams {
|
|
|
158
294
|
/**
|
|
159
295
|
* Whether to include delegations in the response
|
|
160
296
|
*/
|
|
161
|
-
includeDelegation?: boolean
|
|
162
|
-
/**
|
|
163
|
-
* Whether to include followers in the response
|
|
164
|
-
*/
|
|
165
|
-
includeFollow?: boolean | null;
|
|
297
|
+
includeDelegation?: boolean;
|
|
166
298
|
/**
|
|
167
299
|
* Number of users to return
|
|
168
300
|
*/
|
|
@@ -171,6 +303,14 @@ export interface UserListParams {
|
|
|
171
303
|
* The ID of the organization
|
|
172
304
|
*/
|
|
173
305
|
organizationId?: string;
|
|
306
|
+
/**
|
|
307
|
+
* Reddit username of the user
|
|
308
|
+
*/
|
|
309
|
+
redditUser?: string;
|
|
310
|
+
/**
|
|
311
|
+
* Reddit ID of the user
|
|
312
|
+
*/
|
|
313
|
+
redditUserId?: string;
|
|
174
314
|
/**
|
|
175
315
|
* Pagination cursor to start after a specific user ID
|
|
176
316
|
*/
|
|
@@ -191,6 +331,10 @@ export interface UserListParams {
|
|
|
191
331
|
* Telegram username of the user
|
|
192
332
|
*/
|
|
193
333
|
telegramUsername?: string;
|
|
334
|
+
/**
|
|
335
|
+
* TikTok username of the user
|
|
336
|
+
*/
|
|
337
|
+
tiktokUser?: string;
|
|
194
338
|
/**
|
|
195
339
|
* Twitter username of the user
|
|
196
340
|
*/
|
|
@@ -225,7 +369,7 @@ export interface UserConnectParams {
|
|
|
225
369
|
* The wallet address of the user
|
|
226
370
|
*/
|
|
227
371
|
walletAddress: string;
|
|
228
|
-
walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
|
|
372
|
+
walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | 'cosmos' | 'ultra' | 'agw' | 'flow_cadence' | 'substrate';
|
|
229
373
|
/**
|
|
230
374
|
* The ID of the website
|
|
231
375
|
*/
|
|
@@ -253,6 +397,7 @@ export declare namespace UserConnectParams {
|
|
|
253
397
|
message?: string;
|
|
254
398
|
signature?: string;
|
|
255
399
|
tonVerification?: VerificationData.TonVerification;
|
|
400
|
+
verifiedLocally?: boolean;
|
|
256
401
|
}
|
|
257
402
|
namespace VerificationData {
|
|
258
403
|
interface TonVerification {
|
|
@@ -292,13 +437,35 @@ export interface UserCountParams {
|
|
|
292
437
|
*/
|
|
293
438
|
websiteId: string;
|
|
294
439
|
}
|
|
440
|
+
export interface UserCreateDeviceParams {
|
|
441
|
+
/**
|
|
442
|
+
* IP address of the user device
|
|
443
|
+
*/
|
|
444
|
+
ipAddress: string;
|
|
445
|
+
/**
|
|
446
|
+
* Device identifier of the user device
|
|
447
|
+
*/
|
|
448
|
+
deviceIdentifier?: string;
|
|
449
|
+
userId?: string;
|
|
450
|
+
walletAddress?: string;
|
|
451
|
+
}
|
|
295
452
|
export interface UserDisconnectParams {
|
|
296
453
|
organizationId: string;
|
|
297
454
|
userId: string;
|
|
298
455
|
websiteId: string;
|
|
299
456
|
}
|
|
457
|
+
export interface UserVerifyParams {
|
|
458
|
+
accountLinkData: string;
|
|
459
|
+
organizationId?: string;
|
|
460
|
+
userId?: string;
|
|
461
|
+
/**
|
|
462
|
+
* The wallet address of the user
|
|
463
|
+
*/
|
|
464
|
+
walletAddress?: string;
|
|
465
|
+
websiteId?: string;
|
|
466
|
+
}
|
|
300
467
|
export declare namespace Users {
|
|
301
|
-
export { type UserListResponse as UserListResponse, type UserConnectResponse as UserConnectResponse, type UserCountResponse as UserCountResponse, type UserDisconnectResponse as UserDisconnectResponse, type UserListParams as UserListParams, type UserConnectParams as UserConnectParams, type UserCountParams as UserCountParams, type UserDisconnectParams as UserDisconnectParams, };
|
|
468
|
+
export { type UserListResponse as UserListResponse, type UserConnectResponse as UserConnectResponse, type UserCountResponse as UserCountResponse, type UserCreateDeviceResponse as UserCreateDeviceResponse, type UserDisconnectResponse as UserDisconnectResponse, type UserVerifyResponse as UserVerifyResponse, type UserListParams as UserListParams, type UserConnectParams as UserConnectParams, type UserCountParams as UserCountParams, type UserCreateDeviceParams as UserCreateDeviceParams, type UserDisconnectParams as UserDisconnectParams, type UserVerifyParams as UserVerifyParams, };
|
|
302
469
|
export { Metadatas as Metadatas, type MetadataCreateResponse as MetadataCreateResponse, type MetadataListResponse as MetadataListResponse, type MetadataCreateParams as MetadataCreateParams, type MetadataListParams as MetadataListParams, };
|
|
303
470
|
}
|
|
304
471
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACV,MAAM,aAAa,CAAC;AAErB,qBAAa,KAAM,SAAQ,WAAW;IACpC,SAAS,EAAE,YAAY,CAAC,SA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,EAAE,MAAM,CAAC;IAEhB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IAExB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
package/resources/users/users.js
CHANGED
|
@@ -41,23 +41,80 @@ class Users extends resource_1.APIResource {
|
|
|
41
41
|
return this._client.get('/api/users', { query, ...options });
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* This endpoint allows you to
|
|
44
|
+
* This endpoint allows you to connect a user to a user group
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const response = await client.users.connect({
|
|
49
|
+
* organizationId: '123e4567-e89b-12d3-a456-426614174001',
|
|
50
|
+
* walletAddress:
|
|
51
|
+
* '0x1234567890abcdef1234567890abcdef12345678',
|
|
52
|
+
* walletType: 'evm',
|
|
53
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
45
56
|
*/
|
|
46
57
|
connect(body, options) {
|
|
47
58
|
return this._client.post('/api/users/connect', { body, ...options });
|
|
48
59
|
}
|
|
49
60
|
/**
|
|
50
61
|
* This endpoint returns the total user count
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const response = await client.users.count({
|
|
66
|
+
* organizationId: '123e4567-e89b-12d3-a456-426614174001',
|
|
67
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
68
|
+
* });
|
|
69
|
+
* ```
|
|
51
70
|
*/
|
|
52
71
|
count(query, options) {
|
|
53
72
|
return this._client.get('/api/users/count', { query, ...options });
|
|
54
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* This endpoint is used to create user devices for fraud tracking
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```ts
|
|
79
|
+
* const response = await client.users.createDevice({
|
|
80
|
+
* ipAddress: '123.456.789.012',
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
createDevice(body, options) {
|
|
85
|
+
return this._client.post('/api/users/devices', { body, ...options });
|
|
86
|
+
}
|
|
55
87
|
/**
|
|
56
88
|
* This endpoint allows you to disconnect a user from another user
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```ts
|
|
92
|
+
* const response = await client.users.disconnect({
|
|
93
|
+
* organizationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
94
|
+
* userId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
95
|
+
* websiteId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
57
98
|
*/
|
|
58
99
|
disconnect(body, options) {
|
|
59
100
|
return this._client.post('/api/users/disconnect', { body, ...options });
|
|
60
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Transfers a social account from one user to another when a conflict is detected.
|
|
104
|
+
* Disconnects the account from the previous user and connects it to the current
|
|
105
|
+
* user's profile. Used when a social account is already linked to a different user
|
|
106
|
+
* (MAXIMUM_ACCOUNT_LINKED error).
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* ```ts
|
|
110
|
+
* const response = await client.users.verify({
|
|
111
|
+
* accountLinkData: 'accountLinkData',
|
|
112
|
+
* });
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
verify(body, options) {
|
|
116
|
+
return this._client.post('/api/users/verify', { body, ...options });
|
|
117
|
+
}
|
|
61
118
|
}
|
|
62
119
|
exports.Users = Users;
|
|
63
120
|
Users.Metadatas = metadatas_1.Metadatas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,6DAA4C;AAC5C,8CAMqB;AAErB,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;A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AsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AA5GD,sBA4GC;AAyhBD,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -15,23 +15,80 @@ export class Users extends APIResource {
|
|
|
15
15
|
return this._client.get('/api/users', { query, ...options });
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* This endpoint allows you to
|
|
18
|
+
* This endpoint allows you to connect a user to a user group
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const response = await client.users.connect({
|
|
23
|
+
* organizationId: '123e4567-e89b-12d3-a456-426614174001',
|
|
24
|
+
* walletAddress:
|
|
25
|
+
* '0x1234567890abcdef1234567890abcdef12345678',
|
|
26
|
+
* walletType: 'evm',
|
|
27
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
19
30
|
*/
|
|
20
31
|
connect(body, options) {
|
|
21
32
|
return this._client.post('/api/users/connect', { body, ...options });
|
|
22
33
|
}
|
|
23
34
|
/**
|
|
24
35
|
* This endpoint returns the total user count
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const response = await client.users.count({
|
|
40
|
+
* organizationId: '123e4567-e89b-12d3-a456-426614174001',
|
|
41
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
25
44
|
*/
|
|
26
45
|
count(query, options) {
|
|
27
46
|
return this._client.get('/api/users/count', { query, ...options });
|
|
28
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* This endpoint is used to create user devices for fraud tracking
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const response = await client.users.createDevice({
|
|
54
|
+
* ipAddress: '123.456.789.012',
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
createDevice(body, options) {
|
|
59
|
+
return this._client.post('/api/users/devices', { body, ...options });
|
|
60
|
+
}
|
|
29
61
|
/**
|
|
30
62
|
* This endpoint allows you to disconnect a user from another user
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```ts
|
|
66
|
+
* const response = await client.users.disconnect({
|
|
67
|
+
* organizationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
68
|
+
* userId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
69
|
+
* websiteId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
31
72
|
*/
|
|
32
73
|
disconnect(body, options) {
|
|
33
74
|
return this._client.post('/api/users/disconnect', { body, ...options });
|
|
34
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Transfers a social account from one user to another when a conflict is detected.
|
|
78
|
+
* Disconnects the account from the previous user and connects it to the current
|
|
79
|
+
* user's profile. Used when a social account is already linked to a different user
|
|
80
|
+
* (MAXIMUM_ACCOUNT_LINKED error).
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```ts
|
|
84
|
+
* const response = await client.users.verify({
|
|
85
|
+
* accountLinkData: 'accountLinkData',
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
verify(body, options) {
|
|
90
|
+
return this._client.post('/api/users/verify', { body, ...options });
|
|
91
|
+
}
|
|
35
92
|
}
|
|
36
93
|
Users.Metadatas = Metadatas;
|
|
37
94
|
//# sourceMappingURL=users.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;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AAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,UAAU,CACR,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;CACF;AAyhBD,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { WebsiteCollections
|
|
1
|
+
export { WebsiteCollections } from "./website-collections.js";
|
|
2
2
|
export { WebsiteUserRoles, type WebsiteUserRoleListResponse, type WebsiteUserRoleAssignResponse, type WebsiteUserRoleListParams, type WebsiteUserRoleAssignParams, } from "./website-user-roles.js";
|
|
3
3
|
export { Websites, type WebsiteCreateResponse, type WebsiteListResponse, type WebsiteCreateParams, type WebsiteListParams, } from "./websites.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/websites/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/websites/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAChB,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,GACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,QAAQ,EACR,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB,MAAM,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/websites/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/websites/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gEAA2D;AAAlD,yHAAA,kBAAkB,OAAA;AAC3B,8DAM8B;AAL5B,sHAAA,gBAAgB,OAAA;AAMlB,0CAMoB;AALlB,oGAAA,QAAQ,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { WebsiteCollections
|
|
2
|
+
export { WebsiteCollections } from "./website-collections.mjs";
|
|
3
3
|
export { WebsiteUserRoles, } from "./website-user-roles.mjs";
|
|
4
4
|
export { Websites, } from "./websites.mjs";
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/websites/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/websites/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,kBAAkB,EAAE;OACtB,EACL,gBAAgB,GAKjB;OACM,EACL,QAAQ,GAKT"}
|