@snagsolutions/sdk 0.1.0-alpha.14 → 0.1.0-alpha.15
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 +58 -0
- package/README.md +21 -13
- package/core.js +2 -1
- package/core.js.map +1 -1
- package/core.mjs +2 -1
- package/core.mjs.map +1 -1
- package/index.d.mts +6 -21
- package/index.d.ts +6 -21
- package/index.d.ts.map +1 -1
- package/index.js +8 -23
- package/index.js.map +1 -1
- package/index.mjs +8 -23
- package/index.mjs.map +1 -1
- package/package.json +8 -29
- package/resources/api/api.d.ts +365 -0
- package/resources/api/api.d.ts.map +1 -0
- package/resources/{assets/assets.js → api/api.js} +38 -13
- package/resources/api/api.js.map +1 -0
- package/resources/{assets/assets.mjs → api/api.mjs} +37 -12
- package/resources/api/api.mjs.map +1 -0
- package/resources/api/index.d.ts +9 -0
- package/resources/api/index.d.ts.map +1 -0
- package/resources/{assets → api}/index.js +11 -7
- package/resources/api/index.js.map +1 -0
- package/resources/{assets → api}/index.mjs +5 -3
- package/resources/api/index.mjs.map +1 -0
- package/resources/{loyalty/transaction-entries → api/loyalty}/accounts.d.ts +8 -4
- package/resources/api/loyalty/accounts.d.ts.map +1 -0
- package/resources/{loyalty/transaction-entries → api/loyalty}/accounts.js +1 -1
- package/resources/api/loyalty/accounts.js.map +1 -0
- package/resources/{loyalty/transaction-entries → api/loyalty}/accounts.mjs +1 -1
- package/resources/api/loyalty/accounts.mjs.map +1 -0
- package/resources/{loyalty → api/loyalty}/badges.d.ts +6 -2
- package/resources/api/loyalty/badges.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/badges.js +2 -2
- package/resources/api/loyalty/badges.js.map +1 -0
- package/resources/{loyalty → api/loyalty}/badges.mjs +2 -2
- package/resources/api/loyalty/badges.mjs.map +1 -0
- package/resources/{loyalty → api/loyalty}/currencies.d.ts +2 -2
- package/resources/api/loyalty/currencies.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/currencies.js +1 -1
- package/resources/api/loyalty/currencies.js.map +1 -0
- package/resources/{loyalty → api/loyalty}/currencies.mjs +1 -1
- package/resources/api/loyalty/currencies.mjs.map +1 -0
- package/resources/api/loyalty/index.d.ts +10 -0
- package/resources/api/loyalty/index.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/index.js +5 -3
- package/resources/api/loyalty/index.js.map +1 -0
- package/resources/{loyalty → api/loyalty}/index.mjs +4 -3
- package/resources/api/loyalty/index.mjs.map +1 -0
- package/resources/api/loyalty/loyalty.d.ts +807 -0
- package/resources/api/loyalty/loyalty.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/loyalty.js +36 -13
- package/resources/api/loyalty/loyalty.js.map +1 -0
- package/resources/api/loyalty/loyalty.mjs +59 -0
- package/resources/api/loyalty/loyalty.mjs.map +1 -0
- package/resources/{loyalty → api/loyalty}/multipliers.d.ts +15 -8
- package/resources/api/loyalty/multipliers.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/multipliers.js +9 -3
- package/resources/api/loyalty/multipliers.js.map +1 -0
- package/resources/{loyalty → api/loyalty}/multipliers.mjs +9 -3
- package/resources/api/loyalty/multipliers.mjs.map +1 -0
- package/resources/api/loyalty/questions-responses.d.ts.map +1 -0
- package/resources/api/loyalty/questions-responses.js.map +1 -0
- package/resources/api/loyalty/questions-responses.mjs.map +1 -0
- package/resources/api/loyalty/questions.d.ts.map +1 -0
- package/resources/api/loyalty/questions.js.map +1 -0
- package/resources/api/loyalty/questions.mjs.map +1 -0
- package/resources/{loyalty → api/loyalty}/rule-edits.d.ts +8 -8
- package/resources/api/loyalty/rule-edits.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/rule-edits.js +2 -2
- package/resources/api/loyalty/rule-edits.js.map +1 -0
- package/resources/{loyalty → api/loyalty}/rule-edits.mjs +2 -2
- package/resources/api/loyalty/rule-edits.mjs.map +1 -0
- package/resources/{loyalty → api/loyalty}/rules.d.ts +41 -25
- package/resources/api/loyalty/rules.d.ts.map +1 -0
- package/resources/{loyalty → api/loyalty}/rules.js +3 -3
- package/resources/api/loyalty/rules.js.map +1 -0
- package/resources/{loyalty → api/loyalty}/rules.mjs +3 -3
- package/resources/api/loyalty/rules.mjs.map +1 -0
- package/resources/api/loyalty.d.ts +2 -0
- package/resources/api/loyalty.d.ts.map +1 -0
- package/resources/api/loyalty.js +19 -0
- package/resources/api/loyalty.js.map +1 -0
- package/resources/api/loyalty.mjs +3 -0
- package/resources/api/loyalty.mjs.map +1 -0
- package/resources/{assets → api}/minting.d.ts +8 -8
- package/resources/api/minting.d.ts.map +1 -0
- package/resources/{assets → api}/minting.js +1 -1
- package/resources/api/minting.js.map +1 -0
- package/resources/{assets → api}/minting.mjs +1 -1
- package/resources/api/minting.mjs.map +1 -0
- package/resources/api/referral/index.d.ts +3 -0
- package/resources/api/referral/index.d.ts.map +1 -0
- package/resources/api/referral/index.js.map +1 -0
- package/resources/{assets → api}/referral/index.mjs +1 -1
- package/resources/api/referral/index.mjs.map +1 -0
- package/resources/api/referral/referral.d.ts +31 -0
- package/resources/api/referral/referral.d.ts.map +1 -0
- package/resources/{assets → api}/referral/referral.js +2 -2
- package/resources/api/referral/referral.js.map +1 -0
- package/resources/{assets → api}/referral/referral.mjs +3 -3
- package/resources/api/referral/referral.mjs.map +1 -0
- package/resources/{assets → api}/referral/users.d.ts +9 -9
- package/resources/api/referral/users.d.ts.map +1 -0
- package/resources/{assets → api}/referral/users.js +2 -2
- package/resources/api/referral/users.js.map +1 -0
- package/resources/{assets → api}/referral/users.mjs +2 -2
- package/resources/api/referral/users.mjs.map +1 -0
- package/resources/api/referral.d.ts +2 -0
- package/resources/api/referral.d.ts.map +1 -0
- package/resources/api/referral.js +19 -0
- package/resources/api/referral.js.map +1 -0
- package/resources/api/referral.mjs +3 -0
- package/resources/api/referral.mjs.map +1 -0
- package/resources/api/users/index.d.ts +3 -0
- package/resources/api/users/index.d.ts.map +1 -0
- package/resources/{users → api/users}/index.js +1 -3
- package/resources/api/users/index.js.map +1 -0
- package/resources/{users → api/users}/index.mjs +1 -2
- package/resources/api/users/index.mjs.map +1 -0
- package/resources/{users → api/users}/metadatas.d.ts +14 -9
- package/resources/api/users/metadatas.d.ts.map +1 -0
- package/resources/{users → api/users}/metadatas.js +4 -4
- package/resources/api/users/metadatas.js.map +1 -0
- package/resources/{users → api/users}/metadatas.mjs +4 -4
- package/resources/api/users/metadatas.mjs.map +1 -0
- package/resources/api/users/users.d.ts +133 -0
- package/resources/api/users/users.d.ts.map +1 -0
- package/resources/{users → api/users}/users.js +19 -5
- package/resources/api/users/users.js.map +1 -0
- package/resources/{assets → api/users}/users.mjs +15 -15
- package/resources/api/users/users.mjs.map +1 -0
- package/resources/api/users.d.ts +2 -0
- package/resources/api/users.d.ts.map +1 -0
- package/resources/api/users.js +19 -0
- package/resources/api/users.js.map +1 -0
- package/resources/api/users.mjs +3 -0
- package/resources/api/users.mjs.map +1 -0
- package/resources/{assets → api}/website-collections.d.ts +9 -9
- package/resources/api/website-collections.d.ts.map +1 -0
- package/resources/{assets → api}/website-collections.js +2 -2
- package/resources/api/website-collections.js.map +1 -0
- package/resources/{assets → api}/website-collections.mjs +2 -2
- package/resources/api/website-collections.mjs.map +1 -0
- package/resources/{assets → api}/website-user-roles.d.ts +28 -28
- package/resources/api/website-user-roles.d.ts.map +1 -0
- package/resources/{assets → api}/website-user-roles.js +7 -7
- package/resources/api/website-user-roles.js.map +1 -0
- package/resources/{assets → api}/website-user-roles.mjs +7 -7
- package/resources/api/website-user-roles.mjs.map +1 -0
- package/resources/{websites.d.ts → api/websites.d.ts} +2 -2
- package/resources/api/websites.d.ts.map +1 -0
- package/resources/{websites.js → api/websites.js} +2 -2
- package/resources/api/websites.js.map +1 -0
- package/resources/{websites.mjs → api/websites.mjs} +2 -2
- package/resources/api/websites.mjs.map +1 -0
- package/resources/api.d.ts +2 -0
- package/resources/api.d.ts.map +1 -0
- package/resources/api.js +19 -0
- package/resources/api.js.map +1 -0
- package/resources/api.mjs +3 -0
- package/resources/api.mjs.map +1 -0
- package/resources/index.d.ts +1 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -13
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -6
- package/resources/index.mjs.map +1 -1
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +18 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/core.ts +2 -2
- package/src/index.ts +23 -54
- package/src/resources/api/api.ts +629 -0
- package/src/resources/api/index.ts +51 -0
- package/src/resources/{loyalty/transaction-entries → api/loyalty}/accounts.ts +12 -7
- package/src/resources/{loyalty → api/loyalty}/badges.ts +8 -3
- package/src/resources/{loyalty → api/loyalty}/currencies.ts +2 -2
- package/src/resources/{loyalty → api/loyalty}/index.ts +38 -16
- package/src/resources/api/loyalty/loyalty.ts +1297 -0
- package/src/resources/{loyalty → api/loyalty}/multipliers.ts +23 -11
- package/src/resources/{loyalty → api/loyalty}/rule-edits.ts +9 -12
- package/src/resources/{loyalty → api/loyalty}/rules.ts +98 -27
- package/src/resources/api/loyalty.ts +3 -0
- package/src/resources/{assets → api}/minting.ts +15 -11
- package/src/resources/api/referral/index.ts +10 -0
- package/src/resources/api/referral/referral.ts +70 -0
- package/src/resources/{assets → api}/referral/users.ts +12 -18
- package/src/resources/api/referral.ts +3 -0
- package/src/resources/api/users/index.ts +18 -0
- package/src/resources/{users → api/users}/metadatas.ts +22 -18
- package/src/resources/api/users/users.ts +203 -0
- package/src/resources/api/users.ts +3 -0
- package/src/resources/{assets → api}/website-collections.ts +17 -16
- package/src/resources/{assets → api}/website-user-roles.ts +40 -40
- package/src/resources/{websites.ts → api/websites.ts} +3 -3
- package/src/resources/api.ts +3 -0
- package/src/resources/index.ts +8 -16
- package/src/resources.ts +1 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/assets/assets.d.ts +0 -153
- package/resources/assets/assets.d.ts.map +0 -1
- package/resources/assets/assets.js.map +0 -1
- package/resources/assets/assets.mjs.map +0 -1
- package/resources/assets/index.d.ts +0 -7
- package/resources/assets/index.d.ts.map +0 -1
- package/resources/assets/index.js.map +0 -1
- package/resources/assets/index.mjs.map +0 -1
- package/resources/assets/minting.d.ts.map +0 -1
- package/resources/assets/minting.js.map +0 -1
- package/resources/assets/minting.mjs.map +0 -1
- package/resources/assets/referral/index.d.ts +0 -3
- package/resources/assets/referral/index.d.ts.map +0 -1
- package/resources/assets/referral/index.js.map +0 -1
- package/resources/assets/referral/index.mjs.map +0 -1
- package/resources/assets/referral/referral.d.ts +0 -30
- package/resources/assets/referral/referral.d.ts.map +0 -1
- package/resources/assets/referral/referral.js.map +0 -1
- package/resources/assets/referral/referral.mjs.map +0 -1
- package/resources/assets/referral/users.d.ts.map +0 -1
- package/resources/assets/referral/users.js.map +0 -1
- package/resources/assets/referral/users.mjs.map +0 -1
- package/resources/assets/users.d.ts +0 -285
- package/resources/assets/users.d.ts.map +0 -1
- package/resources/assets/users.js +0 -34
- package/resources/assets/users.js.map +0 -1
- package/resources/assets/users.mjs.map +0 -1
- package/resources/assets/website-collections.d.ts.map +0 -1
- package/resources/assets/website-collections.js.map +0 -1
- package/resources/assets/website-collections.mjs.map +0 -1
- package/resources/assets/website-user-roles.d.ts.map +0 -1
- package/resources/assets/website-user-roles.js.map +0 -1
- package/resources/assets/website-user-roles.mjs.map +0 -1
- package/resources/auction-bids.d.ts +0 -51
- package/resources/auction-bids.d.ts.map +0 -1
- package/resources/auction-bids.js +0 -20
- package/resources/auction-bids.js.map +0 -1
- package/resources/auction-bids.mjs +0 -16
- package/resources/auction-bids.mjs.map +0 -1
- package/resources/drip/drip.d.ts +0 -14
- package/resources/drip/drip.d.ts.map +0 -1
- package/resources/drip/drip.js +0 -43
- package/resources/drip/drip.js.map +0 -1
- package/resources/drip/drip.mjs +0 -16
- package/resources/drip/drip.mjs.map +0 -1
- package/resources/drip/index.d.ts +0 -4
- package/resources/drip/index.d.ts.map +0 -1
- package/resources/drip/index.js +0 -11
- package/resources/drip/index.js.map +0 -1
- package/resources/drip/index.mjs +0 -5
- package/resources/drip/index.mjs.map +0 -1
- package/resources/drip/quests.d.ts +0 -4
- package/resources/drip/quests.d.ts.map +0 -1
- package/resources/drip/quests.js +0 -9
- package/resources/drip/quests.js.map +0 -1
- package/resources/drip/quests.mjs +0 -5
- package/resources/drip/quests.mjs.map +0 -1
- package/resources/drip/status.d.ts +0 -4
- package/resources/drip/status.d.ts.map +0 -1
- package/resources/drip/status.js +0 -9
- package/resources/drip/status.js.map +0 -1
- package/resources/drip/status.mjs +0 -5
- package/resources/drip/status.mjs.map +0 -1
- package/resources/loyalty/accounts.d.ts +0 -4
- package/resources/loyalty/accounts.d.ts.map +0 -1
- package/resources/loyalty/accounts.js +0 -9
- package/resources/loyalty/accounts.js.map +0 -1
- package/resources/loyalty/accounts.mjs +0 -5
- package/resources/loyalty/accounts.mjs.map +0 -1
- package/resources/loyalty/badges.d.ts.map +0 -1
- package/resources/loyalty/badges.js.map +0 -1
- package/resources/loyalty/badges.mjs.map +0 -1
- package/resources/loyalty/currencies.d.ts.map +0 -1
- package/resources/loyalty/currencies.js.map +0 -1
- package/resources/loyalty/currencies.mjs.map +0 -1
- package/resources/loyalty/index.d.ts +0 -9
- package/resources/loyalty/index.d.ts.map +0 -1
- package/resources/loyalty/index.js.map +0 -1
- package/resources/loyalty/index.mjs.map +0 -1
- package/resources/loyalty/loyalty.d.ts +0 -34
- package/resources/loyalty/loyalty.d.ts.map +0 -1
- package/resources/loyalty/loyalty.js.map +0 -1
- package/resources/loyalty/loyalty.mjs +0 -36
- package/resources/loyalty/loyalty.mjs.map +0 -1
- package/resources/loyalty/multipliers.d.ts.map +0 -1
- package/resources/loyalty/multipliers.js.map +0 -1
- package/resources/loyalty/multipliers.mjs.map +0 -1
- package/resources/loyalty/rule-edits.d.ts.map +0 -1
- package/resources/loyalty/rule-edits.js.map +0 -1
- package/resources/loyalty/rule-edits.mjs.map +0 -1
- package/resources/loyalty/rules.d.ts.map +0 -1
- package/resources/loyalty/rules.js.map +0 -1
- package/resources/loyalty/rules.mjs.map +0 -1
- package/resources/loyalty/transaction-entries/accounts.d.ts.map +0 -1
- package/resources/loyalty/transaction-entries/accounts.js.map +0 -1
- package/resources/loyalty/transaction-entries/accounts.mjs.map +0 -1
- package/resources/loyalty/transaction-entries/index.d.ts +0 -5
- package/resources/loyalty/transaction-entries/index.d.ts.map +0 -1
- package/resources/loyalty/transaction-entries/index.js +0 -13
- package/resources/loyalty/transaction-entries/index.js.map +0 -1
- package/resources/loyalty/transaction-entries/index.mjs +0 -6
- package/resources/loyalty/transaction-entries/index.mjs.map +0 -1
- package/resources/loyalty/transaction-entries/questions-responses.d.ts.map +0 -1
- package/resources/loyalty/transaction-entries/questions-responses.js.map +0 -1
- package/resources/loyalty/transaction-entries/questions-responses.mjs.map +0 -1
- package/resources/loyalty/transaction-entries/questions.d.ts.map +0 -1
- package/resources/loyalty/transaction-entries/questions.js.map +0 -1
- package/resources/loyalty/transaction-entries/questions.mjs.map +0 -1
- package/resources/loyalty/transaction-entries/transaction-entries.d.ts +0 -300
- package/resources/loyalty/transaction-entries/transaction-entries.d.ts.map +0 -1
- package/resources/loyalty/transaction-entries/transaction-entries.js +0 -66
- package/resources/loyalty/transaction-entries/transaction-entries.js.map +0 -1
- package/resources/loyalty/transaction-entries/transaction-entries.mjs +0 -39
- package/resources/loyalty/transaction-entries/transaction-entries.mjs.map +0 -1
- package/resources/users/index.d.ts +0 -4
- package/resources/users/index.d.ts.map +0 -1
- package/resources/users/index.js.map +0 -1
- package/resources/users/index.mjs.map +0 -1
- package/resources/users/metadatas.d.ts.map +0 -1
- package/resources/users/metadatas.js.map +0 -1
- package/resources/users/metadatas.mjs.map +0 -1
- package/resources/users/users.d.ts +0 -14
- package/resources/users/users.d.ts.map +0 -1
- package/resources/users/users.js.map +0 -1
- package/resources/users/users.mjs +0 -16
- package/resources/users/users.mjs.map +0 -1
- package/resources/users/wallets.d.ts +0 -4
- package/resources/users/wallets.d.ts.map +0 -1
- package/resources/users/wallets.js +0 -9
- package/resources/users/wallets.js.map +0 -1
- package/resources/users/wallets.mjs +0 -5
- package/resources/users/wallets.mjs.map +0 -1
- package/resources/websites.d.ts.map +0 -1
- package/resources/websites.js.map +0 -1
- package/resources/websites.mjs.map +0 -1
- package/src/resources/assets/assets.ts +0 -294
- package/src/resources/assets/index.ts +0 -38
- package/src/resources/assets/referral/index.ts +0 -14
- package/src/resources/assets/referral/referral.ts +0 -74
- package/src/resources/assets/users.ts +0 -415
- package/src/resources/auction-bids.ts +0 -77
- package/src/resources/drip/drip.ts +0 -21
- package/src/resources/drip/index.ts +0 -5
- package/src/resources/drip/quests.ts +0 -5
- package/src/resources/drip/status.ts +0 -5
- package/src/resources/loyalty/accounts.ts +0 -5
- package/src/resources/loyalty/loyalty.ts +0 -165
- package/src/resources/loyalty/transaction-entries/index.ts +0 -34
- package/src/resources/loyalty/transaction-entries/transaction-entries.ts +0 -525
- package/src/resources/users/index.ts +0 -11
- package/src/resources/users/users.ts +0 -33
- package/src/resources/users/wallets.ts +0 -5
- /package/resources/{loyalty/transaction-entries → api/loyalty}/questions-responses.d.ts +0 -0
- /package/resources/{loyalty/transaction-entries → api/loyalty}/questions-responses.js +0 -0
- /package/resources/{loyalty/transaction-entries → api/loyalty}/questions-responses.mjs +0 -0
- /package/resources/{loyalty/transaction-entries → api/loyalty}/questions.d.ts +0 -0
- /package/resources/{loyalty/transaction-entries → api/loyalty}/questions.js +0 -0
- /package/resources/{loyalty/transaction-entries → api/loyalty}/questions.mjs +0 -0
- /package/resources/{assets → api}/referral/index.js +0 -0
- /package/src/resources/{loyalty/transaction-entries → api/loyalty}/questions-responses.ts +0 -0
- /package/src/resources/{loyalty/transaction-entries → api/loyalty}/questions.ts +0 -0
|
@@ -7,35 +7,29 @@ export class Users extends APIResource {
|
|
|
7
7
|
/**
|
|
8
8
|
* This endpoint allows you to create a referral user
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
body: UserCreateReferralUserParams,
|
|
12
|
-
options?: Core.RequestOptions,
|
|
13
|
-
): Core.APIPromise<UserCreateReferralUserResponse> {
|
|
10
|
+
create(body: UserCreateParams, options?: Core.RequestOptions): Core.APIPromise<UserCreateResponse> {
|
|
14
11
|
return this._client.post('/api/referral/users', { body, ...options });
|
|
15
12
|
}
|
|
16
13
|
|
|
17
14
|
/**
|
|
18
15
|
* This endpoint allows you to get referrals
|
|
19
16
|
*/
|
|
20
|
-
|
|
21
|
-
query: UserGetReferralsParams,
|
|
22
|
-
options?: Core.RequestOptions,
|
|
23
|
-
): Core.APIPromise<UserGetReferralsResponse> {
|
|
17
|
+
list(query: UserListParams, options?: Core.RequestOptions): Core.APIPromise<UserListResponse> {
|
|
24
18
|
return this._client.get('/api/referral/users', { query, ...options });
|
|
25
19
|
}
|
|
26
20
|
}
|
|
27
21
|
|
|
28
|
-
export interface
|
|
22
|
+
export interface UserCreateResponse {
|
|
29
23
|
message: string;
|
|
30
24
|
}
|
|
31
25
|
|
|
32
|
-
export interface
|
|
33
|
-
data: Array<
|
|
26
|
+
export interface UserListResponse {
|
|
27
|
+
data: Array<UserListResponse.Data>;
|
|
34
28
|
|
|
35
29
|
hasNextPage: boolean;
|
|
36
30
|
}
|
|
37
31
|
|
|
38
|
-
export namespace
|
|
32
|
+
export namespace UserListResponse {
|
|
39
33
|
export interface Data {
|
|
40
34
|
id: string;
|
|
41
35
|
|
|
@@ -67,7 +61,7 @@ export namespace UserGetReferralsResponse {
|
|
|
67
61
|
}
|
|
68
62
|
}
|
|
69
63
|
|
|
70
|
-
export interface
|
|
64
|
+
export interface UserCreateParams {
|
|
71
65
|
userIds: Array<string>;
|
|
72
66
|
|
|
73
67
|
referralCode?: string;
|
|
@@ -75,7 +69,7 @@ export interface UserCreateReferralUserParams {
|
|
|
75
69
|
referralCodeId?: string;
|
|
76
70
|
}
|
|
77
71
|
|
|
78
|
-
export interface
|
|
72
|
+
export interface UserListParams {
|
|
79
73
|
walletAddress: string | Array<string>;
|
|
80
74
|
|
|
81
75
|
includeEligibility?: boolean | null;
|
|
@@ -91,9 +85,9 @@ export interface UserGetReferralsParams {
|
|
|
91
85
|
|
|
92
86
|
export declare namespace Users {
|
|
93
87
|
export {
|
|
94
|
-
type
|
|
95
|
-
type
|
|
96
|
-
type
|
|
97
|
-
type
|
|
88
|
+
type UserCreateResponse as UserCreateResponse,
|
|
89
|
+
type UserListResponse as UserListResponse,
|
|
90
|
+
type UserCreateParams as UserCreateParams,
|
|
91
|
+
type UserListParams as UserListParams,
|
|
98
92
|
};
|
|
99
93
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Metadatas,
|
|
5
|
+
type MetadataCreateResponse,
|
|
6
|
+
type MetadataListResponse,
|
|
7
|
+
type MetadataCreateParams,
|
|
8
|
+
type MetadataListParams,
|
|
9
|
+
} from './metadatas';
|
|
10
|
+
export {
|
|
11
|
+
Users,
|
|
12
|
+
type UserConnectResponse,
|
|
13
|
+
type UserCountResponse,
|
|
14
|
+
type UserDisconnectResponse,
|
|
15
|
+
type UserConnectParams,
|
|
16
|
+
type UserCountParams,
|
|
17
|
+
type UserDisconnectParams,
|
|
18
|
+
} from './users';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { isRequestOptions } from '
|
|
5
|
-
import * as Core from '
|
|
3
|
+
import { APIResource } from '../../../resource';
|
|
4
|
+
import { isRequestOptions } from '../../../core';
|
|
5
|
+
import * as Core from '../../../core';
|
|
6
6
|
|
|
7
7
|
export class Metadatas extends APIResource {
|
|
8
8
|
/**
|
|
@@ -23,17 +23,14 @@ export class Metadatas extends APIResource {
|
|
|
23
23
|
/**
|
|
24
24
|
* This endpoint is used to get user metadata
|
|
25
25
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
list(query?: MetadataListParams, options?: Core.RequestOptions): Core.APIPromise<MetadataListResponse>;
|
|
27
|
+
list(options?: Core.RequestOptions): Core.APIPromise<MetadataListResponse>;
|
|
28
|
+
list(
|
|
29
|
+
query: MetadataListParams | Core.RequestOptions = {},
|
|
28
30
|
options?: Core.RequestOptions,
|
|
29
|
-
): Core.APIPromise<
|
|
30
|
-
retrieve(options?: Core.RequestOptions): Core.APIPromise<MetadataRetrieveResponse>;
|
|
31
|
-
retrieve(
|
|
32
|
-
query: MetadataRetrieveParams | Core.RequestOptions = {},
|
|
33
|
-
options?: Core.RequestOptions,
|
|
34
|
-
): Core.APIPromise<MetadataRetrieveResponse> {
|
|
31
|
+
): Core.APIPromise<MetadataListResponse> {
|
|
35
32
|
if (isRequestOptions(query)) {
|
|
36
|
-
return this.
|
|
33
|
+
return this.list({}, query);
|
|
37
34
|
}
|
|
38
35
|
return this._client.get('/api/users/metadatas', { query, ...options });
|
|
39
36
|
}
|
|
@@ -104,8 +101,8 @@ export namespace MetadataCreateResponse {
|
|
|
104
101
|
/**
|
|
105
102
|
* Response schema for fetching user metadata
|
|
106
103
|
*/
|
|
107
|
-
export interface
|
|
108
|
-
data: Array<
|
|
104
|
+
export interface MetadataListResponse {
|
|
105
|
+
data: Array<MetadataListResponse.Data>;
|
|
109
106
|
|
|
110
107
|
/**
|
|
111
108
|
* Indicates if there are more records available
|
|
@@ -113,7 +110,7 @@ export interface MetadataRetrieveResponse {
|
|
|
113
110
|
hasNextPage: boolean;
|
|
114
111
|
}
|
|
115
112
|
|
|
116
|
-
export namespace
|
|
113
|
+
export namespace MetadataListResponse {
|
|
117
114
|
export interface Data {
|
|
118
115
|
/**
|
|
119
116
|
* Unique identifier for the user metadata
|
|
@@ -133,6 +130,8 @@ export interface MetadataCreateParams {
|
|
|
133
130
|
|
|
134
131
|
epicAccountIdentifier?: string | null;
|
|
135
132
|
|
|
133
|
+
externalIdentifier?: string | null;
|
|
134
|
+
|
|
136
135
|
isBlocked?: boolean;
|
|
137
136
|
|
|
138
137
|
logoUrl?: string | null;
|
|
@@ -160,7 +159,12 @@ export interface MetadataCreateParams {
|
|
|
160
159
|
walletGroupIdentifier?: string | null;
|
|
161
160
|
}
|
|
162
161
|
|
|
163
|
-
export interface
|
|
162
|
+
export interface MetadataListParams {
|
|
163
|
+
/**
|
|
164
|
+
* External identifier for the user
|
|
165
|
+
*/
|
|
166
|
+
externalIdentifier?: string | null;
|
|
167
|
+
|
|
164
168
|
/**
|
|
165
169
|
* Number of records to fetch
|
|
166
170
|
*/
|
|
@@ -195,8 +199,8 @@ export interface MetadataRetrieveParams {
|
|
|
195
199
|
export declare namespace Metadatas {
|
|
196
200
|
export {
|
|
197
201
|
type MetadataCreateResponse as MetadataCreateResponse,
|
|
198
|
-
type
|
|
202
|
+
type MetadataListResponse as MetadataListResponse,
|
|
199
203
|
type MetadataCreateParams as MetadataCreateParams,
|
|
200
|
-
type
|
|
204
|
+
type MetadataListParams as MetadataListParams,
|
|
201
205
|
};
|
|
202
206
|
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../resource';
|
|
4
|
+
import * as Core from '../../../core';
|
|
5
|
+
import * as MetadatasAPI from './metadatas';
|
|
6
|
+
import {
|
|
7
|
+
MetadataCreateParams,
|
|
8
|
+
MetadataCreateResponse,
|
|
9
|
+
MetadataListParams,
|
|
10
|
+
MetadataListResponse,
|
|
11
|
+
Metadatas,
|
|
12
|
+
} from './metadatas';
|
|
13
|
+
|
|
14
|
+
export class Users extends APIResource {
|
|
15
|
+
metadatas: MetadatasAPI.Metadatas = new MetadatasAPI.Metadatas(this._client);
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* This endpoint allows you to create a user
|
|
19
|
+
*/
|
|
20
|
+
connect(body: UserConnectParams, options?: Core.RequestOptions): Core.APIPromise<UserConnectResponse> {
|
|
21
|
+
return this._client.post('/api/users/connect', { body, ...options });
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* This endpoint returns the total user count
|
|
26
|
+
*/
|
|
27
|
+
count(query: UserCountParams, options?: Core.RequestOptions): Core.APIPromise<UserCountResponse> {
|
|
28
|
+
return this._client.get('/api/users/count', { query, ...options });
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* This endpoint allows you to disconnect a user from another user
|
|
33
|
+
*/
|
|
34
|
+
disconnect(body: UserDisconnectParams, options?: Core.RequestOptions): Core.APIPromise<unknown> {
|
|
35
|
+
return this._client.post('/api/users/disconnect', { body, ...options });
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface UserConnectResponse {
|
|
40
|
+
/**
|
|
41
|
+
* The ID of the user
|
|
42
|
+
*/
|
|
43
|
+
id: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Timestamp when the user was created
|
|
47
|
+
*/
|
|
48
|
+
createdAt: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Timestamp when the user was last updated
|
|
52
|
+
*/
|
|
53
|
+
updatedAt: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The wallet address of the user
|
|
57
|
+
*/
|
|
58
|
+
walletAddress: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Schema for counting users response
|
|
63
|
+
*/
|
|
64
|
+
export interface UserCountResponse {
|
|
65
|
+
/**
|
|
66
|
+
* Total count of users
|
|
67
|
+
*/
|
|
68
|
+
totalCount: number;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export type UserDisconnectResponse = unknown;
|
|
72
|
+
|
|
73
|
+
export interface UserConnectParams {
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the organization
|
|
76
|
+
*/
|
|
77
|
+
organizationId: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The wallet address of the user
|
|
81
|
+
*/
|
|
82
|
+
walletAddress: string;
|
|
83
|
+
|
|
84
|
+
walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the website
|
|
88
|
+
*/
|
|
89
|
+
websiteId: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Whether to confirm the disconnect
|
|
93
|
+
*/
|
|
94
|
+
confirmDisconnect?: boolean;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the user to whome this wallet is being connected
|
|
98
|
+
*/
|
|
99
|
+
userId?: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The verification data of the user walletAddress
|
|
103
|
+
*/
|
|
104
|
+
verificationData?: UserConnectParams.VerificationData;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export namespace UserConnectParams {
|
|
108
|
+
/**
|
|
109
|
+
* The verification data of the user walletAddress
|
|
110
|
+
*/
|
|
111
|
+
export interface VerificationData {
|
|
112
|
+
accessToken?: string;
|
|
113
|
+
|
|
114
|
+
dynamicAuthToken?: string;
|
|
115
|
+
|
|
116
|
+
message?: string;
|
|
117
|
+
|
|
118
|
+
signature?: string;
|
|
119
|
+
|
|
120
|
+
tonVerification?: VerificationData.TonVerification;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export namespace VerificationData {
|
|
124
|
+
export interface TonVerification {
|
|
125
|
+
account: TonVerification.Account;
|
|
126
|
+
|
|
127
|
+
proof: TonVerification.Proof;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export namespace TonVerification {
|
|
131
|
+
export interface Account {
|
|
132
|
+
address: string;
|
|
133
|
+
|
|
134
|
+
chain: '-239' | '-3';
|
|
135
|
+
|
|
136
|
+
publicKey: string;
|
|
137
|
+
|
|
138
|
+
walletStateInit?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface Proof {
|
|
142
|
+
domain: Proof.Domain;
|
|
143
|
+
|
|
144
|
+
payload: string;
|
|
145
|
+
|
|
146
|
+
signature: string;
|
|
147
|
+
|
|
148
|
+
timestamp: number;
|
|
149
|
+
|
|
150
|
+
state_init?: string;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export namespace Proof {
|
|
154
|
+
export interface Domain {
|
|
155
|
+
lengthBytes: number;
|
|
156
|
+
|
|
157
|
+
value: string;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export interface UserCountParams {
|
|
165
|
+
/**
|
|
166
|
+
* The ID of the organization
|
|
167
|
+
*/
|
|
168
|
+
organizationId: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The ID of the website
|
|
172
|
+
*/
|
|
173
|
+
websiteId: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface UserDisconnectParams {
|
|
177
|
+
organizationId: string;
|
|
178
|
+
|
|
179
|
+
userId: string;
|
|
180
|
+
|
|
181
|
+
websiteId: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
Users.Metadatas = Metadatas;
|
|
185
|
+
|
|
186
|
+
export declare namespace Users {
|
|
187
|
+
export {
|
|
188
|
+
type UserConnectResponse as UserConnectResponse,
|
|
189
|
+
type UserCountResponse as UserCountResponse,
|
|
190
|
+
type UserDisconnectResponse as UserDisconnectResponse,
|
|
191
|
+
type UserConnectParams as UserConnectParams,
|
|
192
|
+
type UserCountParams as UserCountParams,
|
|
193
|
+
type UserDisconnectParams as UserDisconnectParams,
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export {
|
|
197
|
+
Metadatas as Metadatas,
|
|
198
|
+
type MetadataCreateResponse as MetadataCreateResponse,
|
|
199
|
+
type MetadataListResponse as MetadataListResponse,
|
|
200
|
+
type MetadataCreateParams as MetadataCreateParams,
|
|
201
|
+
type MetadataListParams as MetadataListParams,
|
|
202
|
+
};
|
|
203
|
+
}
|
|
@@ -7,10 +7,7 @@ export class WebsiteCollections extends APIResource {
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new collection under a website
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
body: WebsiteCollectionCreateWebsiteCollectionParams,
|
|
12
|
-
options?: Core.RequestOptions,
|
|
13
|
-
): Core.APIPromise<void> {
|
|
10
|
+
create(body: WebsiteCollectionCreateParams, options?: Core.RequestOptions): Core.APIPromise<void> {
|
|
14
11
|
return this._client.post('/api/website_collections', {
|
|
15
12
|
body,
|
|
16
13
|
...options,
|
|
@@ -21,10 +18,10 @@ export class WebsiteCollections extends APIResource {
|
|
|
21
18
|
/**
|
|
22
19
|
* Retrieves collections for a specific website.
|
|
23
20
|
*/
|
|
24
|
-
|
|
25
|
-
query:
|
|
21
|
+
list(
|
|
22
|
+
query: WebsiteCollectionListParams,
|
|
26
23
|
options?: Core.RequestOptions,
|
|
27
|
-
): Core.APIPromise<
|
|
24
|
+
): Core.APIPromise<WebsiteCollectionListResponse> {
|
|
28
25
|
return this._client.get('/api/website_collections', { query, ...options });
|
|
29
26
|
}
|
|
30
27
|
}
|
|
@@ -32,11 +29,11 @@ export class WebsiteCollections extends APIResource {
|
|
|
32
29
|
/**
|
|
33
30
|
* Response schema for fetching website collections
|
|
34
31
|
*/
|
|
35
|
-
export interface
|
|
32
|
+
export interface WebsiteCollectionListResponse {
|
|
36
33
|
/**
|
|
37
34
|
* Array of websites
|
|
38
35
|
*/
|
|
39
|
-
data: Array<
|
|
36
|
+
data: Array<WebsiteCollectionListResponse.Data>;
|
|
40
37
|
|
|
41
38
|
/**
|
|
42
39
|
* Indicates if more pages are available
|
|
@@ -44,7 +41,7 @@ export interface WebsiteCollectionGetWebsiteCollectionsResponse {
|
|
|
44
41
|
hasNextPage: boolean;
|
|
45
42
|
}
|
|
46
43
|
|
|
47
|
-
export namespace
|
|
44
|
+
export namespace WebsiteCollectionListResponse {
|
|
48
45
|
export interface Data {
|
|
49
46
|
/**
|
|
50
47
|
* Website Collection ID
|
|
@@ -53,7 +50,7 @@ export namespace WebsiteCollectionGetWebsiteCollectionsResponse {
|
|
|
53
50
|
}
|
|
54
51
|
}
|
|
55
52
|
|
|
56
|
-
export interface
|
|
53
|
+
export interface WebsiteCollectionCreateParams {
|
|
57
54
|
collectionAddress: string;
|
|
58
55
|
|
|
59
56
|
name: string;
|
|
@@ -82,12 +79,16 @@ export interface WebsiteCollectionCreateWebsiteCollectionParams {
|
|
|
82
79
|
| 'campTestnet'
|
|
83
80
|
| 'sui'
|
|
84
81
|
| 'vanar'
|
|
82
|
+
| 'superseed'
|
|
83
|
+
| 'superseedSepolia'
|
|
85
84
|
| 'sepolia'
|
|
86
85
|
| 'optimism_sepolia'
|
|
87
86
|
| 'arbitrumSepolia'
|
|
88
87
|
| 'goerli'
|
|
89
88
|
| 'optimism_goerli'
|
|
90
|
-
| 'arbitrumGoerli'
|
|
89
|
+
| 'arbitrumGoerli'
|
|
90
|
+
| 'basecamp'
|
|
91
|
+
| 'abstract';
|
|
91
92
|
|
|
92
93
|
organizationId: string;
|
|
93
94
|
|
|
@@ -116,7 +117,7 @@ export interface WebsiteCollectionCreateWebsiteCollectionParams {
|
|
|
116
117
|
twitterUsername?: string;
|
|
117
118
|
}
|
|
118
119
|
|
|
119
|
-
export interface
|
|
120
|
+
export interface WebsiteCollectionListParams {
|
|
120
121
|
/**
|
|
121
122
|
* Filter by website ID
|
|
122
123
|
*/
|
|
@@ -140,8 +141,8 @@ export interface WebsiteCollectionGetWebsiteCollectionsParams {
|
|
|
140
141
|
|
|
141
142
|
export declare namespace WebsiteCollections {
|
|
142
143
|
export {
|
|
143
|
-
type
|
|
144
|
-
type
|
|
145
|
-
type
|
|
144
|
+
type WebsiteCollectionListResponse as WebsiteCollectionListResponse,
|
|
145
|
+
type WebsiteCollectionCreateParams as WebsiteCollectionCreateParams,
|
|
146
|
+
type WebsiteCollectionListParams as WebsiteCollectionListParams,
|
|
146
147
|
};
|
|
147
148
|
}
|
|
@@ -5,42 +5,35 @@ import * as Core from '../../core';
|
|
|
5
5
|
|
|
6
6
|
export class WebsiteUserRoles extends APIResource {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Retrieves roles of users for a specific website. If userId is provided,
|
|
9
|
+
* retrieves the role of that specific user for the website.
|
|
9
10
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
list(
|
|
12
|
+
query: WebsiteUserRoleListParams,
|
|
12
13
|
options?: Core.RequestOptions,
|
|
13
|
-
): Core.APIPromise<
|
|
14
|
-
return this._client.
|
|
14
|
+
): Core.APIPromise<WebsiteUserRoleListResponse> {
|
|
15
|
+
return this._client.get('/api/website_user_roles', { query, ...options });
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
|
-
*
|
|
19
|
-
* retrieves the role of that specific user for the website.
|
|
19
|
+
* Assign roles to users for a specific website
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
assign(
|
|
22
|
+
body: WebsiteUserRoleAssignParams,
|
|
23
23
|
options?: Core.RequestOptions,
|
|
24
|
-
): Core.APIPromise<
|
|
25
|
-
return this._client.
|
|
24
|
+
): Core.APIPromise<WebsiteUserRoleAssignResponse> {
|
|
25
|
+
return this._client.post('/api/website_user_roles', { body, ...options });
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* Schema for postWebsiteUserRoles response
|
|
31
|
-
*/
|
|
32
|
-
export interface WebsiteUserRoleAssignRolesToUsersResponse {
|
|
33
|
-
data?: unknown;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
29
|
/**
|
|
37
30
|
* Schema for getWebsiteUserRoles response
|
|
38
31
|
*/
|
|
39
|
-
export interface
|
|
40
|
-
data: Array<
|
|
32
|
+
export interface WebsiteUserRoleListResponse {
|
|
33
|
+
data: Array<WebsiteUserRoleListResponse.Data>;
|
|
41
34
|
}
|
|
42
35
|
|
|
43
|
-
export namespace
|
|
36
|
+
export namespace WebsiteUserRoleListResponse {
|
|
44
37
|
export interface Data {
|
|
45
38
|
/**
|
|
46
39
|
* UUID of the website user role
|
|
@@ -49,7 +42,26 @@ export namespace WebsiteUserRoleGetWebsiteUserRolesResponse {
|
|
|
49
42
|
}
|
|
50
43
|
}
|
|
51
44
|
|
|
52
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Schema for postWebsiteUserRoles response
|
|
47
|
+
*/
|
|
48
|
+
export interface WebsiteUserRoleAssignResponse {
|
|
49
|
+
data?: unknown;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface WebsiteUserRoleListParams {
|
|
53
|
+
/**
|
|
54
|
+
* UUID of the website
|
|
55
|
+
*/
|
|
56
|
+
websiteId: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* UUID of the user
|
|
60
|
+
*/
|
|
61
|
+
userId?: string;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface WebsiteUserRoleAssignParams {
|
|
53
65
|
/**
|
|
54
66
|
* UUID of the website
|
|
55
67
|
*/
|
|
@@ -58,10 +70,10 @@ export interface WebsiteUserRoleAssignRolesToUsersParams {
|
|
|
58
70
|
/**
|
|
59
71
|
* Array of website user roles
|
|
60
72
|
*/
|
|
61
|
-
websiteUserRoles: Array<
|
|
73
|
+
websiteUserRoles: Array<WebsiteUserRoleAssignParams.WebsiteUserRole>;
|
|
62
74
|
}
|
|
63
75
|
|
|
64
|
-
export namespace
|
|
76
|
+
export namespace WebsiteUserRoleAssignParams {
|
|
65
77
|
export interface WebsiteUserRole {
|
|
66
78
|
/**
|
|
67
79
|
* Role type of the user
|
|
@@ -85,23 +97,11 @@ export namespace WebsiteUserRoleAssignRolesToUsersParams {
|
|
|
85
97
|
}
|
|
86
98
|
}
|
|
87
99
|
|
|
88
|
-
export interface WebsiteUserRoleGetWebsiteUserRolesParams {
|
|
89
|
-
/**
|
|
90
|
-
* UUID of the website
|
|
91
|
-
*/
|
|
92
|
-
websiteId: string;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* UUID of the user
|
|
96
|
-
*/
|
|
97
|
-
userId?: string;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
100
|
export declare namespace WebsiteUserRoles {
|
|
101
101
|
export {
|
|
102
|
-
type
|
|
103
|
-
type
|
|
104
|
-
type
|
|
105
|
-
type
|
|
102
|
+
type WebsiteUserRoleListResponse as WebsiteUserRoleListResponse,
|
|
103
|
+
type WebsiteUserRoleAssignResponse as WebsiteUserRoleAssignResponse,
|
|
104
|
+
type WebsiteUserRoleListParams as WebsiteUserRoleListParams,
|
|
105
|
+
type WebsiteUserRoleAssignParams as WebsiteUserRoleAssignParams,
|
|
106
106
|
};
|
|
107
107
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import { APIResource } from '
|
|
4
|
-
import { isRequestOptions } from '
|
|
5
|
-
import * as Core from '
|
|
3
|
+
import { APIResource } from '../../resource';
|
|
4
|
+
import { isRequestOptions } from '../../core';
|
|
5
|
+
import * as Core from '../../core';
|
|
6
6
|
|
|
7
7
|
export class Websites extends APIResource {
|
|
8
8
|
/**
|
package/src/resources/index.ts
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export { Users } from './users/users';
|
|
13
|
-
export {
|
|
14
|
-
Websites,
|
|
15
|
-
type WebsiteCreateResponse,
|
|
16
|
-
type WebsiteListResponse,
|
|
17
|
-
type WebsiteCreateParams,
|
|
18
|
-
type WebsiteListParams,
|
|
19
|
-
} from './websites';
|
|
4
|
+
API,
|
|
5
|
+
type APICreateAssetUploadURLResponse,
|
|
6
|
+
type APIListAuctionsResponse,
|
|
7
|
+
type APIListUsersResponse,
|
|
8
|
+
type APICreateAssetUploadURLParams,
|
|
9
|
+
type APIListAuctionBidsParams,
|
|
10
|
+
type APIListUsersParams,
|
|
11
|
+
} from './api/api';
|
package/src/resources.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './resources/index';
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.15'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.15";
|
|
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.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.15'; // 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.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.15'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|