@snagsolutions/sdk 0.1.0-alpha.15 → 0.1.0-alpha.150
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 +1243 -45
- package/README.md +17 -29
- package/_shims/index.d.ts +2 -0
- package/_shims/index.js +5 -1
- package/_shims/index.mjs +5 -1
- package/core.d.ts +19 -5
- package/core.d.ts.map +1 -1
- package/core.js +26 -17
- package/core.js.map +1 -1
- package/core.mjs +27 -18
- package/core.mjs.map +1 -1
- package/index.d.mts +30 -6
- package/index.d.ts +30 -6
- package/index.d.ts.map +1 -1
- package/index.js +36 -11
- package/index.js.map +1 -1
- package/index.mjs +36 -11
- package/index.mjs.map +1 -1
- 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 +64 -0
- package/resources/assets.d.ts.map +1 -0
- package/resources/assets.js +25 -0
- package/resources/assets.js.map +1 -0
- package/resources/assets.mjs +21 -0
- package/resources/assets.mjs.map +1 -0
- package/resources/auctions/auctions.d.ts +285 -0
- package/resources/auctions/auctions.d.ts.map +1 -0
- package/resources/auctions/auctions.js +76 -0
- package/resources/auctions/auctions.js.map +1 -0
- package/resources/auctions/auctions.mjs +49 -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 +122 -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 +132 -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 +2 -0
- package/resources/auctions.d.ts.map +1 -0
- package/resources/{api.js → auctions.js} +2 -2
- package/resources/auctions.js.map +1 -0
- package/resources/{api.mjs → auctions.mjs} +2 -2
- package/resources/auctions.mjs.map +1 -0
- package/resources/auth.d.ts +48 -0
- package/resources/auth.d.ts.map +1 -0
- package/resources/auth.js +16 -0
- package/resources/auth.js.map +1 -0
- package/resources/auth.mjs +12 -0
- package/resources/auth.mjs.map +1 -0
- package/resources/index.d.ts +8 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +17 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -1
- package/resources/index.mjs.map +1 -1
- package/resources/loyalty/account-streaks.d.ts +81 -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/{api/loyalty → loyalty}/accounts.d.ts +36 -27
- package/resources/loyalty/accounts.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/accounts.js +17 -4
- package/resources/loyalty/accounts.js.map +1 -0
- package/resources/loyalty/accounts.mjs +33 -0
- package/resources/loyalty/accounts.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/badges.d.ts +474 -24
- package/resources/loyalty/badges.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/badges.js +21 -3
- package/resources/loyalty/badges.js.map +1 -0
- package/resources/{api/loyalty → loyalty}/badges.mjs +21 -3
- package/resources/loyalty/badges.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/currencies.d.ts +27 -2
- package/resources/loyalty/currencies.d.ts.map +1 -0
- package/resources/loyalty/currencies.js +40 -0
- package/resources/loyalty/currencies.js.map +1 -0
- package/resources/loyalty/currencies.mjs +36 -0
- package/resources/loyalty/currencies.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/index.d.ts +6 -3
- package/resources/loyalty/index.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/index.js +7 -1
- package/resources/loyalty/index.js.map +1 -0
- package/resources/{api/loyalty → loyalty}/index.mjs +4 -1
- package/resources/loyalty/index.mjs.map +1 -0
- package/resources/loyalty/loyalty.d.ts +50 -0
- package/resources/loyalty/loyalty.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/loyalty.js +13 -20
- package/resources/loyalty/loyalty.js.map +1 -0
- package/resources/{api/loyalty → loyalty}/loyalty.mjs +13 -20
- package/resources/loyalty/loyalty.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/multipliers.d.ts +65 -4
- package/resources/loyalty/multipliers.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/multipliers.js +25 -2
- package/resources/loyalty/multipliers.js.map +1 -0
- package/resources/{api/loyalty → loyalty}/multipliers.mjs +25 -2
- package/resources/loyalty/multipliers.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/questions-responses.d.ts +41 -2
- package/resources/loyalty/questions-responses.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/questions-responses.js +11 -2
- package/resources/loyalty/questions-responses.js.map +1 -0
- package/resources/{api/loyalty → loyalty}/questions-responses.mjs +11 -2
- package/resources/loyalty/questions-responses.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/questions.d.ts +39 -4
- package/resources/loyalty/questions.d.ts.map +1 -0
- package/resources/loyalty/questions.js +58 -0
- package/resources/loyalty/questions.js.map +1 -0
- package/resources/loyalty/questions.mjs +54 -0
- package/resources/loyalty/questions.mjs.map +1 -0
- package/resources/loyalty/rule-edits.d.ts +2904 -0
- package/resources/loyalty/rule-edits.d.ts.map +1 -0
- package/resources/{api/loyalty → loyalty}/rule-edits.js +15 -1
- package/resources/loyalty/rule-edits.js.map +1 -0
- package/resources/{api/loyalty → loyalty}/rule-edits.mjs +15 -1
- package/resources/loyalty/rule-edits.mjs.map +1 -0
- package/resources/{api/loyalty/loyalty.d.ts → loyalty/rule-groups.d.ts} +275 -320
- package/resources/loyalty/rule-groups.d.ts.map +1 -0
- package/resources/loyalty/rule-groups.js +52 -0
- package/resources/loyalty/rule-groups.js.map +1 -0
- package/resources/loyalty/rule-groups.mjs +48 -0
- package/resources/loyalty/rule-groups.mjs.map +1 -0
- package/resources/{api/loyalty → loyalty}/rules.d.ts +1743 -224
- package/resources/loyalty/rules.d.ts.map +1 -0
- package/resources/loyalty/rules.js +77 -0
- package/resources/loyalty/rules.js.map +1 -0
- package/resources/loyalty/rules.mjs +73 -0
- package/resources/loyalty/rules.mjs.map +1 -0
- package/resources/loyalty/transactions/index.d.ts +3 -0
- package/resources/loyalty/transactions/index.d.ts.map +1 -0
- package/resources/loyalty/transactions/index.js +9 -0
- package/resources/loyalty/transactions/index.js.map +1 -0
- package/resources/loyalty/transactions/index.mjs +4 -0
- package/resources/loyalty/transactions/index.mjs.map +1 -0
- package/resources/loyalty/transactions/rule-statuses.d.ts +120 -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 +410 -0
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
- package/resources/loyalty/transactions/transactions.js +76 -0
- package/resources/loyalty/transactions/transactions.js.map +1 -0
- package/resources/loyalty/transactions/transactions.mjs +49 -0
- package/resources/loyalty/transactions/transactions.mjs.map +1 -0
- package/resources/loyalty/transactions.d.ts +2 -0
- package/resources/loyalty/transactions.d.ts.map +1 -0
- package/resources/loyalty/transactions.js +19 -0
- package/resources/loyalty/transactions.js.map +1 -0
- package/resources/loyalty/transactions.mjs +3 -0
- package/resources/loyalty/transactions.mjs.map +1 -0
- package/resources/loyalty.d.ts.map +1 -0
- package/resources/loyalty.js.map +1 -0
- package/resources/loyalty.mjs.map +1 -0
- package/resources/{api/minting.d.ts → minting.d.ts} +7 -7
- package/resources/minting.d.ts.map +1 -0
- package/resources/{api/minting.js → minting.js} +1 -1
- package/resources/minting.js.map +1 -0
- package/resources/{api/minting.mjs → minting.mjs} +1 -1
- package/resources/minting.mjs.map +1 -0
- package/resources/referral/index.d.ts.map +1 -0
- package/resources/referral/index.js.map +1 -0
- package/resources/referral/index.mjs.map +1 -0
- package/resources/{api/referral → referral}/referral.d.ts +13 -5
- package/resources/referral/referral.d.ts.map +1 -0
- package/resources/{api/referral → referral}/referral.js +12 -6
- package/resources/referral/referral.js.map +1 -0
- package/resources/{api/referral → referral}/referral.mjs +12 -6
- package/resources/referral/referral.mjs.map +1 -0
- package/resources/{api/referral → referral}/users.d.ts +30 -3
- package/resources/referral/users.d.ts.map +1 -0
- package/resources/{api/referral → referral}/users.js +15 -1
- package/resources/referral/users.js.map +1 -0
- package/resources/{api/referral → referral}/users.mjs +15 -1
- package/resources/referral/users.mjs.map +1 -0
- package/resources/referral.d.ts.map +1 -0
- package/resources/referral.js.map +1 -0
- package/resources/referral.mjs.map +1 -0
- package/resources/users/index.d.ts +3 -0
- package/resources/users/index.d.ts.map +1 -0
- package/resources/users/index.js.map +1 -0
- package/resources/users/index.mjs.map +1 -0
- package/resources/{api/users → users}/metadatas.d.ts +34 -2
- package/resources/users/metadatas.d.ts.map +1 -0
- package/resources/{api/users → users}/metadatas.js +2 -2
- package/resources/users/metadatas.js.map +1 -0
- package/resources/{api/users → users}/metadatas.mjs +2 -2
- package/resources/users/metadatas.mjs.map +1 -0
- package/resources/users/users.d.ts +422 -0
- package/resources/users/users.d.ts.map +1 -0
- package/resources/{api/users → users}/users.js +61 -2
- package/resources/users/users.js.map +1 -0
- package/resources/users/users.mjs +89 -0
- package/resources/users/users.mjs.map +1 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs.map +1 -0
- package/resources/websites/index.d.ts +4 -0
- package/resources/websites/index.d.ts.map +1 -0
- package/resources/websites/index.js +11 -0
- package/resources/websites/index.js.map +1 -0
- package/resources/{api → websites}/index.mjs +0 -5
- package/resources/websites/index.mjs.map +1 -0
- package/resources/{api → websites}/website-collections.d.ts +22 -1
- package/resources/websites/website-collections.d.ts.map +1 -0
- package/resources/{api → websites}/website-collections.js +21 -0
- package/resources/websites/website-collections.js.map +1 -0
- package/resources/websites/website-collections.mjs +42 -0
- package/resources/websites/website-collections.mjs.map +1 -0
- package/resources/{api → websites}/website-user-roles.d.ts +23 -0
- package/resources/websites/website-user-roles.d.ts.map +1 -0
- package/resources/{api → websites}/website-user-roles.js +23 -0
- package/resources/websites/website-user-roles.js.map +1 -0
- package/resources/websites/website-user-roles.mjs +41 -0
- package/resources/websites/website-user-roles.mjs.map +1 -0
- package/resources/{api → websites}/websites.d.ts +20 -0
- package/resources/websites/websites.d.ts.map +1 -0
- package/resources/websites/websites.js +63 -0
- package/resources/websites/websites.js.map +1 -0
- package/resources/websites/websites.mjs +36 -0
- package/resources/websites/websites.mjs.map +1 -0
- package/resources/websites.d.ts +2 -0
- package/resources/websites.d.ts.map +1 -0
- package/resources/websites.js +19 -0
- package/resources/websites.js.map +1 -0
- package/resources/websites.mjs +3 -0
- package/resources/websites.mjs.map +1 -0
- package/src/_shims/index.d.ts +2 -0
- package/src/_shims/index.js +5 -1
- package/src/_shims/index.mjs +5 -1
- package/src/core.ts +45 -17
- package/src/index.ts +126 -24
- package/src/resource.ts +1 -1
- package/src/resources/assets.ts +93 -0
- package/src/resources/auctions/auctions.ts +436 -0
- package/src/resources/auctions/index.ts +18 -0
- package/src/resources/auctions/website-user-attributes/index.ts +18 -0
- package/src/resources/auctions/website-user-attributes/values.ts +165 -0
- package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +207 -0
- package/src/resources/auctions/website-user-attributes.ts +3 -0
- package/src/resources/{api.ts → auctions.ts} +1 -1
- package/src/resources/auth.ts +79 -0
- package/src/resources/index.ts +37 -8
- package/src/resources/loyalty/account-streaks.ts +110 -0
- package/src/resources/{api/loyalty → loyalty}/accounts.ts +41 -35
- package/src/resources/{api/loyalty → loyalty}/badges.ts +570 -27
- package/src/resources/{api/loyalty → loyalty}/currencies.ts +27 -2
- package/src/resources/{api/loyalty → loyalty}/index.ts +28 -11
- package/src/resources/loyalty/loyalty.ts +259 -0
- package/src/resources/{api/loyalty → loyalty}/multipliers.ts +70 -7
- package/src/resources/{api/loyalty → loyalty}/questions-responses.ts +48 -3
- package/src/resources/{api/loyalty → loyalty}/questions.ts +40 -4
- package/src/resources/loyalty/rule-edits.ts +3988 -0
- package/src/resources/{api/loyalty/loyalty.ts → loyalty/rule-groups.ts} +437 -550
- package/src/resources/{api/loyalty → loyalty}/rules.ts +2906 -530
- package/src/resources/loyalty/transactions/index.ts +18 -0
- package/src/resources/loyalty/transactions/rule-statuses.ts +178 -0
- package/src/resources/loyalty/transactions/transactions.ts +677 -0
- package/src/resources/loyalty/transactions.ts +3 -0
- package/src/resources/{api/minting.ts → minting.ts} +37 -23
- package/src/resources/{api/referral → referral}/referral.ts +15 -13
- package/src/resources/{api/referral → referral}/users.ts +35 -4
- package/src/resources/{api/users → users}/index.ts +6 -0
- package/src/resources/{api/users → users}/metadatas.ts +62 -3
- package/src/resources/users/users.ts +603 -0
- package/src/resources/websites/index.ts +22 -0
- package/src/resources/{api → websites}/website-collections.ts +52 -17
- package/src/resources/{api → websites}/website-user-roles.ts +23 -0
- package/src/resources/{api → websites}/websites.ts +52 -0
- package/src/resources/websites.ts +3 -0
- 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/api/api.d.ts +0 -365
- package/resources/api/api.d.ts.map +0 -1
- package/resources/api/api.js +0 -94
- package/resources/api/api.js.map +0 -1
- package/resources/api/api.mjs +0 -67
- package/resources/api/api.mjs.map +0 -1
- package/resources/api/index.d.ts +0 -9
- package/resources/api/index.d.ts.map +0 -1
- package/resources/api/index.js +0 -21
- package/resources/api/index.js.map +0 -1
- package/resources/api/index.mjs.map +0 -1
- package/resources/api/loyalty/accounts.d.ts.map +0 -1
- package/resources/api/loyalty/accounts.js.map +0 -1
- package/resources/api/loyalty/accounts.mjs +0 -20
- package/resources/api/loyalty/accounts.mjs.map +0 -1
- package/resources/api/loyalty/badges.d.ts.map +0 -1
- package/resources/api/loyalty/badges.js.map +0 -1
- package/resources/api/loyalty/badges.mjs.map +0 -1
- package/resources/api/loyalty/currencies.d.ts.map +0 -1
- package/resources/api/loyalty/currencies.js +0 -21
- package/resources/api/loyalty/currencies.js.map +0 -1
- package/resources/api/loyalty/currencies.mjs +0 -17
- package/resources/api/loyalty/currencies.mjs.map +0 -1
- package/resources/api/loyalty/index.d.ts.map +0 -1
- package/resources/api/loyalty/index.js.map +0 -1
- package/resources/api/loyalty/index.mjs.map +0 -1
- package/resources/api/loyalty/loyalty.d.ts.map +0 -1
- package/resources/api/loyalty/loyalty.js.map +0 -1
- package/resources/api/loyalty/loyalty.mjs.map +0 -1
- package/resources/api/loyalty/multipliers.d.ts.map +0 -1
- package/resources/api/loyalty/multipliers.js.map +0 -1
- package/resources/api/loyalty/multipliers.mjs.map +0 -1
- package/resources/api/loyalty/questions-responses.d.ts.map +0 -1
- package/resources/api/loyalty/questions-responses.js.map +0 -1
- package/resources/api/loyalty/questions-responses.mjs.map +0 -1
- package/resources/api/loyalty/questions.d.ts.map +0 -1
- package/resources/api/loyalty/questions.js +0 -27
- package/resources/api/loyalty/questions.js.map +0 -1
- package/resources/api/loyalty/questions.mjs +0 -23
- package/resources/api/loyalty/questions.mjs.map +0 -1
- package/resources/api/loyalty/rule-edits.d.ts +0 -330
- package/resources/api/loyalty/rule-edits.d.ts.map +0 -1
- package/resources/api/loyalty/rule-edits.js.map +0 -1
- package/resources/api/loyalty/rule-edits.mjs.map +0 -1
- package/resources/api/loyalty/rules.d.ts.map +0 -1
- package/resources/api/loyalty/rules.js +0 -46
- package/resources/api/loyalty/rules.js.map +0 -1
- package/resources/api/loyalty/rules.mjs +0 -42
- package/resources/api/loyalty/rules.mjs.map +0 -1
- package/resources/api/loyalty.d.ts.map +0 -1
- package/resources/api/loyalty.js.map +0 -1
- package/resources/api/loyalty.mjs.map +0 -1
- package/resources/api/minting.d.ts.map +0 -1
- package/resources/api/minting.js.map +0 -1
- package/resources/api/minting.mjs.map +0 -1
- package/resources/api/referral/index.d.ts.map +0 -1
- package/resources/api/referral/index.js.map +0 -1
- package/resources/api/referral/index.mjs.map +0 -1
- package/resources/api/referral/referral.d.ts.map +0 -1
- package/resources/api/referral/referral.js.map +0 -1
- package/resources/api/referral/referral.mjs.map +0 -1
- package/resources/api/referral/users.d.ts.map +0 -1
- package/resources/api/referral/users.js.map +0 -1
- package/resources/api/referral/users.mjs.map +0 -1
- package/resources/api/referral.d.ts.map +0 -1
- package/resources/api/referral.js.map +0 -1
- package/resources/api/referral.mjs.map +0 -1
- package/resources/api/users/index.d.ts +0 -3
- package/resources/api/users/index.d.ts.map +0 -1
- package/resources/api/users/index.js.map +0 -1
- package/resources/api/users/index.mjs.map +0 -1
- package/resources/api/users/metadatas.d.ts.map +0 -1
- package/resources/api/users/metadatas.js.map +0 -1
- package/resources/api/users/metadatas.mjs.map +0 -1
- package/resources/api/users/users.d.ts +0 -133
- package/resources/api/users/users.d.ts.map +0 -1
- package/resources/api/users/users.js.map +0 -1
- package/resources/api/users/users.mjs +0 -30
- package/resources/api/users/users.mjs.map +0 -1
- package/resources/api/users.d.ts.map +0 -1
- package/resources/api/users.js.map +0 -1
- package/resources/api/users.mjs.map +0 -1
- package/resources/api/website-collections.d.ts.map +0 -1
- package/resources/api/website-collections.js.map +0 -1
- package/resources/api/website-collections.mjs +0 -21
- package/resources/api/website-collections.mjs.map +0 -1
- package/resources/api/website-user-roles.d.ts.map +0 -1
- package/resources/api/website-user-roles.js.map +0 -1
- package/resources/api/website-user-roles.mjs +0 -18
- package/resources/api/website-user-roles.mjs.map +0 -1
- package/resources/api/websites.d.ts.map +0 -1
- package/resources/api/websites.js +0 -22
- package/resources/api/websites.js.map +0 -1
- package/resources/api/websites.mjs +0 -18
- package/resources/api/websites.mjs.map +0 -1
- package/resources/api.d.ts +0 -2
- package/resources/api.d.ts.map +0 -1
- package/resources/api.js.map +0 -1
- package/resources/api.mjs.map +0 -1
- package/src/resources/api/api.ts +0 -629
- package/src/resources/api/index.ts +0 -51
- package/src/resources/api/loyalty/rule-edits.ts +0 -418
- package/src/resources/api/users/users.ts +0 -203
- /package/resources/{api/loyalty.d.ts → loyalty.d.ts} +0 -0
- /package/resources/{api/loyalty.js → loyalty.js} +0 -0
- /package/resources/{api/loyalty.mjs → loyalty.mjs} +0 -0
- /package/resources/{api/referral → referral}/index.d.ts +0 -0
- /package/resources/{api/referral → referral}/index.js +0 -0
- /package/resources/{api/referral → referral}/index.mjs +0 -0
- /package/resources/{api/referral.d.ts → referral.d.ts} +0 -0
- /package/resources/{api/referral.js → referral.js} +0 -0
- /package/resources/{api/referral.mjs → referral.mjs} +0 -0
- /package/resources/{api/users → users}/index.js +0 -0
- /package/resources/{api/users → users}/index.mjs +0 -0
- /package/resources/{api/users.d.ts → users.d.ts} +0 -0
- /package/resources/{api/users.js → users.js} +0 -0
- /package/resources/{api/users.mjs → users.mjs} +0 -0
- /package/src/resources/{api/loyalty.ts → loyalty.ts} +0 -0
- /package/src/resources/{api/referral → referral}/index.ts +0 -0
- /package/src/resources/{api/referral.ts → referral.ts} +0 -0
- /package/src/resources/{api/users.ts → users.ts} +0 -0
|
@@ -7,6 +7,14 @@ export class WebsiteUserRoles extends APIResource {
|
|
|
7
7
|
/**
|
|
8
8
|
* Retrieves roles of users for a specific website. If userId is provided,
|
|
9
9
|
* retrieves the role of that specific user for the website.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const websiteUserRoles =
|
|
14
|
+
* await client.websites.websiteUserRoles.list({
|
|
15
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
10
18
|
*/
|
|
11
19
|
list(
|
|
12
20
|
query: WebsiteUserRoleListParams,
|
|
@@ -17,6 +25,21 @@ export class WebsiteUserRoles extends APIResource {
|
|
|
17
25
|
|
|
18
26
|
/**
|
|
19
27
|
* Assign roles to users for a specific website
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response =
|
|
32
|
+
* await client.websites.websiteUserRoles.assign({
|
|
33
|
+
* websiteId: '123e4567-e89b-12d3-a456-426614174000',
|
|
34
|
+
* websiteUserRoles: [
|
|
35
|
+
* {
|
|
36
|
+
* roleType: 'WEBSITE_SUPER_ADMIN',
|
|
37
|
+
* walletAddress:
|
|
38
|
+
* '0x1234567890abcdef1234567890abcdef12345678',
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
20
43
|
*/
|
|
21
44
|
assign(
|
|
22
45
|
body: WebsiteUserRoleAssignParams,
|
|
@@ -3,10 +3,39 @@
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import { isRequestOptions } from '../../core';
|
|
5
5
|
import * as Core from '../../core';
|
|
6
|
+
import * as WebsiteCollectionsAPI from './website-collections';
|
|
7
|
+
import {
|
|
8
|
+
WebsiteCollectionCreateParams,
|
|
9
|
+
WebsiteCollectionListParams,
|
|
10
|
+
WebsiteCollectionListResponse,
|
|
11
|
+
WebsiteCollections,
|
|
12
|
+
} from './website-collections';
|
|
13
|
+
import * as WebsiteUserRolesAPI from './website-user-roles';
|
|
14
|
+
import {
|
|
15
|
+
WebsiteUserRoleAssignParams,
|
|
16
|
+
WebsiteUserRoleAssignResponse,
|
|
17
|
+
WebsiteUserRoleListParams,
|
|
18
|
+
WebsiteUserRoleListResponse,
|
|
19
|
+
WebsiteUserRoles,
|
|
20
|
+
} from './website-user-roles';
|
|
6
21
|
|
|
7
22
|
export class Websites extends APIResource {
|
|
23
|
+
websiteCollections: WebsiteCollectionsAPI.WebsiteCollections = new WebsiteCollectionsAPI.WebsiteCollections(
|
|
24
|
+
this._client,
|
|
25
|
+
);
|
|
26
|
+
websiteUserRoles: WebsiteUserRolesAPI.WebsiteUserRoles = new WebsiteUserRolesAPI.WebsiteUserRoles(
|
|
27
|
+
this._client,
|
|
28
|
+
);
|
|
29
|
+
|
|
8
30
|
/**
|
|
9
31
|
* Creates a new website
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const website = await client.websites.create({
|
|
36
|
+
* name: 'My New Website',
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
10
39
|
*/
|
|
11
40
|
create(body: WebsiteCreateParams, options?: Core.RequestOptions): Core.APIPromise<WebsiteCreateResponse> {
|
|
12
41
|
return this._client.post('/api/websites', { body, ...options });
|
|
@@ -15,6 +44,11 @@ export class Websites extends APIResource {
|
|
|
15
44
|
/**
|
|
16
45
|
* Returns a list of websites. Includes optional query parameters for filtering and
|
|
17
46
|
* pagination.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const websites = await client.websites.list();
|
|
51
|
+
* ```
|
|
18
52
|
*/
|
|
19
53
|
list(query?: WebsiteListParams, options?: Core.RequestOptions): Core.APIPromise<WebsiteListResponse>;
|
|
20
54
|
list(options?: Core.RequestOptions): Core.APIPromise<WebsiteListResponse>;
|
|
@@ -249,6 +283,9 @@ export interface WebsiteListParams {
|
|
|
249
283
|
startingAfter?: string;
|
|
250
284
|
}
|
|
251
285
|
|
|
286
|
+
Websites.WebsiteCollections = WebsiteCollections;
|
|
287
|
+
Websites.WebsiteUserRoles = WebsiteUserRoles;
|
|
288
|
+
|
|
252
289
|
export declare namespace Websites {
|
|
253
290
|
export {
|
|
254
291
|
type WebsiteCreateResponse as WebsiteCreateResponse,
|
|
@@ -256,4 +293,19 @@ export declare namespace Websites {
|
|
|
256
293
|
type WebsiteCreateParams as WebsiteCreateParams,
|
|
257
294
|
type WebsiteListParams as WebsiteListParams,
|
|
258
295
|
};
|
|
296
|
+
|
|
297
|
+
export {
|
|
298
|
+
WebsiteCollections as WebsiteCollections,
|
|
299
|
+
type WebsiteCollectionListResponse as WebsiteCollectionListResponse,
|
|
300
|
+
type WebsiteCollectionCreateParams as WebsiteCollectionCreateParams,
|
|
301
|
+
type WebsiteCollectionListParams as WebsiteCollectionListParams,
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
export {
|
|
305
|
+
WebsiteUserRoles as WebsiteUserRoles,
|
|
306
|
+
type WebsiteUserRoleListResponse as WebsiteUserRoleListResponse,
|
|
307
|
+
type WebsiteUserRoleAssignResponse as WebsiteUserRoleAssignResponse,
|
|
308
|
+
type WebsiteUserRoleListParams as WebsiteUserRoleListParams,
|
|
309
|
+
type WebsiteUserRoleAssignParams as WebsiteUserRoleAssignParams,
|
|
310
|
+
};
|
|
259
311
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.150'; // 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.150";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,oBAAoB,CAAC"}
|
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.150'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,iBAAiB,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.150'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,iBAAiB,CAAC,CAAC,2BAA2B"}
|
package/resources/api/api.d.ts
DELETED
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../resource.js";
|
|
2
|
-
import * as Core from "../../core.js";
|
|
3
|
-
import * as MintingAPI from "./minting.js";
|
|
4
|
-
import { Minting, MintingGetAssetsParams, MintingGetAssetsResponse } from "./minting.js";
|
|
5
|
-
import * as WebsiteCollectionsAPI from "./website-collections.js";
|
|
6
|
-
import { WebsiteCollectionCreateParams, WebsiteCollectionListParams, WebsiteCollectionListResponse, WebsiteCollections } from "./website-collections.js";
|
|
7
|
-
import * as WebsiteUserRolesAPI from "./website-user-roles.js";
|
|
8
|
-
import { WebsiteUserRoleAssignParams, WebsiteUserRoleAssignResponse, WebsiteUserRoleListParams, WebsiteUserRoleListResponse, WebsiteUserRoles } from "./website-user-roles.js";
|
|
9
|
-
import * as WebsitesAPI from "./websites.js";
|
|
10
|
-
import { WebsiteCreateParams, WebsiteCreateResponse, WebsiteListParams, WebsiteListResponse, Websites } from "./websites.js";
|
|
11
|
-
import * as LoyaltyAPI from "./loyalty/loyalty.js";
|
|
12
|
-
import { Loyalty, LoyaltyCreateTransactionParams, LoyaltyCreateTransactionResponse, LoyaltyGetRuleGroupsParams, LoyaltyGetRuleGroupsResponse, LoyaltyListTransactionEntriesParams, LoyaltyListTransactionEntriesResponse } from "./loyalty/loyalty.js";
|
|
13
|
-
import * as ReferralAPI from "./referral/referral.js";
|
|
14
|
-
import { Referral, ReferralCreateCodeParams, ReferralCreateCodeResponse } from "./referral/referral.js";
|
|
15
|
-
import * as UsersAPI from "./users/users.js";
|
|
16
|
-
import { UserConnectParams, UserConnectResponse, UserCountParams, UserCountResponse, UserDisconnectParams, UserDisconnectResponse, Users } from "./users/users.js";
|
|
17
|
-
export declare class API extends APIResource {
|
|
18
|
-
users: UsersAPI.Users;
|
|
19
|
-
loyalty: LoyaltyAPI.Loyalty;
|
|
20
|
-
minting: MintingAPI.Minting;
|
|
21
|
-
referral: ReferralAPI.Referral;
|
|
22
|
-
websites: WebsitesAPI.Websites;
|
|
23
|
-
websiteCollections: WebsiteCollectionsAPI.WebsiteCollections;
|
|
24
|
-
websiteUserRoles: WebsiteUserRolesAPI.WebsiteUserRoles;
|
|
25
|
-
/**
|
|
26
|
-
* This endpoint enables you to upload a file to the resource. Returns a presigned
|
|
27
|
-
* URL and the asset's public URL. Call PUT with the file as the body to upload the
|
|
28
|
-
* asset using the presigned URL.
|
|
29
|
-
*/
|
|
30
|
-
createAssetUploadURL(body: APICreateAssetUploadURLParams, options?: Core.RequestOptions): Core.APIPromise<APICreateAssetUploadURLResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Returns a list of auction bids with optional filtering and pagination.
|
|
33
|
-
*/
|
|
34
|
-
listAuctionBids(query?: APIListAuctionBidsParams, options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
35
|
-
listAuctionBids(options?: Core.RequestOptions): Core.APIPromise<void>;
|
|
36
|
-
/**
|
|
37
|
-
* Returns a list of auctions with optional filtering and pagination.
|
|
38
|
-
*/
|
|
39
|
-
listAuctions(options?: Core.RequestOptions): Core.APIPromise<APIListAuctionsResponse>;
|
|
40
|
-
/**
|
|
41
|
-
* This endpoint allows you to get users
|
|
42
|
-
*/
|
|
43
|
-
listUsers(query?: APIListUsersParams, options?: Core.RequestOptions): Core.APIPromise<APIListUsersResponse>;
|
|
44
|
-
listUsers(options?: Core.RequestOptions): Core.APIPromise<APIListUsersResponse>;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Response returned upon successful generation of the signed URL for uploading the
|
|
48
|
-
* file.
|
|
49
|
-
*/
|
|
50
|
-
export interface APICreateAssetUploadURLResponse {
|
|
51
|
-
/**
|
|
52
|
-
* The pre-signed URL to be used for uploading the file.
|
|
53
|
-
*/
|
|
54
|
-
signedUrl: string;
|
|
55
|
-
/**
|
|
56
|
-
* The URL of the uploaded file.
|
|
57
|
-
*/
|
|
58
|
-
url: string;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Schema for the response when fetching auctions
|
|
62
|
-
*/
|
|
63
|
-
export interface APIListAuctionsResponse {
|
|
64
|
-
data: Array<APIListAuctionsResponse.Data>;
|
|
65
|
-
hasNextPage: boolean;
|
|
66
|
-
}
|
|
67
|
-
export declare namespace APIListAuctionsResponse {
|
|
68
|
-
interface Data {
|
|
69
|
-
id: string;
|
|
70
|
-
auctionBids: Array<Data.AuctionBid>;
|
|
71
|
-
auctionItems: Array<Data.AuctionItem>;
|
|
72
|
-
biddersOwnCollectionAddresses: Array<string>;
|
|
73
|
-
createdAt: string;
|
|
74
|
-
currencyAddress: string | null;
|
|
75
|
-
currencyDecimals: number;
|
|
76
|
-
deletedAt: string | null;
|
|
77
|
-
description: string;
|
|
78
|
-
endsAt: string;
|
|
79
|
-
extendedDurationInSeconds: number | null;
|
|
80
|
-
hideBids: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Schema representing a loyalty currency
|
|
83
|
-
*/
|
|
84
|
-
loyaltyCurrency: Data.LoyaltyCurrency | null;
|
|
85
|
-
loyaltyCurrencyId: string | null;
|
|
86
|
-
minBidAmount: string;
|
|
87
|
-
minBidIncrement: string | null;
|
|
88
|
-
mintingContractId: string;
|
|
89
|
-
name: string;
|
|
90
|
-
network: 'ethereum' | 'zksync';
|
|
91
|
-
organizationId: string;
|
|
92
|
-
reservePrice: string | null;
|
|
93
|
-
signature: string;
|
|
94
|
-
startsAt: string;
|
|
95
|
-
status: 'in_progress' | 'completed' | 'cancelled';
|
|
96
|
-
type: 'first_price' | 'second_price' | 'english';
|
|
97
|
-
updatedAt: string;
|
|
98
|
-
userId: string;
|
|
99
|
-
websiteId: string;
|
|
100
|
-
}
|
|
101
|
-
namespace Data {
|
|
102
|
-
/**
|
|
103
|
-
* Schema representing an auction bid
|
|
104
|
-
*/
|
|
105
|
-
interface AuctionBid {
|
|
106
|
-
id: string;
|
|
107
|
-
amount: string;
|
|
108
|
-
createdAt: string;
|
|
109
|
-
}
|
|
110
|
-
interface AuctionItem {
|
|
111
|
-
id: string;
|
|
112
|
-
/**
|
|
113
|
-
* Schema representing a minting contract asset
|
|
114
|
-
*/
|
|
115
|
-
mintingContractAsset: AuctionItem.MintingContractAsset;
|
|
116
|
-
quantity: number;
|
|
117
|
-
sortId: number;
|
|
118
|
-
}
|
|
119
|
-
namespace AuctionItem {
|
|
120
|
-
/**
|
|
121
|
-
* Schema representing a minting contract asset
|
|
122
|
-
*/
|
|
123
|
-
interface MintingContractAsset {
|
|
124
|
-
id: string;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Schema representing a loyalty currency
|
|
129
|
-
*/
|
|
130
|
-
interface LoyaltyCurrency {
|
|
131
|
-
id: string;
|
|
132
|
-
decimals: number;
|
|
133
|
-
imageUrl: string | null;
|
|
134
|
-
name: string;
|
|
135
|
-
symbol: string;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
export interface APIListUsersResponse {
|
|
140
|
-
/**
|
|
141
|
-
* Schema for users response
|
|
142
|
-
*/
|
|
143
|
-
data: Array<APIListUsersResponse.Data>;
|
|
144
|
-
}
|
|
145
|
-
export declare namespace APIListUsersResponse {
|
|
146
|
-
interface Data {
|
|
147
|
-
id: string;
|
|
148
|
-
isSnagSuperAdmin: boolean;
|
|
149
|
-
walletAddress: string;
|
|
150
|
-
/**
|
|
151
|
-
* The followers of the user, only returned if includeFollow is true
|
|
152
|
-
*/
|
|
153
|
-
_count?: Data._Count | null;
|
|
154
|
-
/**
|
|
155
|
-
* The delegations from the user, only returned if includeDelegation is true
|
|
156
|
-
*/
|
|
157
|
-
delegationsFrom?: Array<Data.DelegationsFrom> | null;
|
|
158
|
-
/**
|
|
159
|
-
* The followers of the user, only returned if includeFollow is true and the user
|
|
160
|
-
* is querying their own user
|
|
161
|
-
*/
|
|
162
|
-
followers?: Array<Data.Follower> | null;
|
|
163
|
-
/**
|
|
164
|
-
* Whether the user has notifications enabled, only returned if
|
|
165
|
-
* includeNotifications is true
|
|
166
|
-
*/
|
|
167
|
-
notifications?: boolean;
|
|
168
|
-
privyUserId?: string | null;
|
|
169
|
-
stardustProfileId?: string | null;
|
|
170
|
-
temporaryLoyaltyUser?: boolean | null;
|
|
171
|
-
userMetadata?: Array<Data.UserMetadata> | null;
|
|
172
|
-
}
|
|
173
|
-
namespace Data {
|
|
174
|
-
/**
|
|
175
|
-
* The followers of the user, only returned if includeFollow is true
|
|
176
|
-
*/
|
|
177
|
-
interface _Count {
|
|
178
|
-
select: _Count.Select;
|
|
179
|
-
}
|
|
180
|
-
namespace _Count {
|
|
181
|
-
interface Select {
|
|
182
|
-
followers: number;
|
|
183
|
-
follows: number;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
interface DelegationsFrom {
|
|
187
|
-
walletAddress: string;
|
|
188
|
-
}
|
|
189
|
-
interface Follower {
|
|
190
|
-
userId: string;
|
|
191
|
-
}
|
|
192
|
-
interface UserMetadata {
|
|
193
|
-
bio?: string | null;
|
|
194
|
-
discordUser?: string | null;
|
|
195
|
-
discordVerifiedAt?: string | null;
|
|
196
|
-
displayName?: string | null;
|
|
197
|
-
/**
|
|
198
|
-
* The email address of the user, only returned if the user is querying their own
|
|
199
|
-
* user
|
|
200
|
-
*/
|
|
201
|
-
emailAddress?: string | null;
|
|
202
|
-
emailVerifiedAt?: string | null;
|
|
203
|
-
epicAccountIdentifier?: string | null;
|
|
204
|
-
epicUsername?: string | null;
|
|
205
|
-
instagramUser?: string | null;
|
|
206
|
-
instagramVerifiedAt?: string | null;
|
|
207
|
-
isBlocked?: boolean | null;
|
|
208
|
-
location?: string | null;
|
|
209
|
-
logoUrl?: string | null;
|
|
210
|
-
meta?: string | null;
|
|
211
|
-
portfolioUrl?: string | null;
|
|
212
|
-
steamUserId?: string | null;
|
|
213
|
-
steamUsername?: string | null;
|
|
214
|
-
telegramUserId?: string | null;
|
|
215
|
-
telegramUsername?: string | null;
|
|
216
|
-
telegramVerifiedAt?: string | null;
|
|
217
|
-
twitterUser?: string | null;
|
|
218
|
-
twitterUserFollowersCount?: number | null;
|
|
219
|
-
twitterVerifiedAt?: string | null;
|
|
220
|
-
userGroupId?: string | null;
|
|
221
|
-
walletGroupIdentifier?: string | null;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
export interface APICreateAssetUploadURLParams {
|
|
226
|
-
/**
|
|
227
|
-
* The name of the file, must match the regex pattern (converted to lowercase)
|
|
228
|
-
*/
|
|
229
|
-
fileName: string;
|
|
230
|
-
/**
|
|
231
|
-
* The file path, must be a valid enum value.
|
|
232
|
-
*/
|
|
233
|
-
filePath?: 'announcements' | 'images' | 'videos' | 'banners' | 'fonts' | 'posts' | 'profiles' | 'minting' | 'loyalty';
|
|
234
|
-
/**
|
|
235
|
-
* UUID of the organization (optional, converted to lowercase)
|
|
236
|
-
*/
|
|
237
|
-
organizationId?: string;
|
|
238
|
-
/**
|
|
239
|
-
* UUID of the user (optional, converted to lowercase)
|
|
240
|
-
*/
|
|
241
|
-
userId?: string;
|
|
242
|
-
/**
|
|
243
|
-
* UUID of the website (optional, converted to lowercase)
|
|
244
|
-
*/
|
|
245
|
-
websiteId?: string;
|
|
246
|
-
}
|
|
247
|
-
export interface APIListAuctionBidsParams {
|
|
248
|
-
/**
|
|
249
|
-
* The bid ID
|
|
250
|
-
*/
|
|
251
|
-
id?: string;
|
|
252
|
-
/**
|
|
253
|
-
* ID of the auction
|
|
254
|
-
*/
|
|
255
|
-
auctionId?: string;
|
|
256
|
-
/**
|
|
257
|
-
* Maximum number of bids to return
|
|
258
|
-
*/
|
|
259
|
-
limit?: number;
|
|
260
|
-
/**
|
|
261
|
-
* ID of the organization
|
|
262
|
-
*/
|
|
263
|
-
organizationId?: string;
|
|
264
|
-
/**
|
|
265
|
-
* Pagination cursor to start after a specific bid ID
|
|
266
|
-
*/
|
|
267
|
-
startingAfter?: string;
|
|
268
|
-
/**
|
|
269
|
-
* Status of the bid
|
|
270
|
-
*/
|
|
271
|
-
status?: 'submitted' | 'accepted' | 'rejected' | 'fulfilled';
|
|
272
|
-
/**
|
|
273
|
-
* ID of the user who made the bid
|
|
274
|
-
*/
|
|
275
|
-
userId?: string;
|
|
276
|
-
/**
|
|
277
|
-
* Wallet address of the bidder
|
|
278
|
-
*/
|
|
279
|
-
walletAddress?: string;
|
|
280
|
-
/**
|
|
281
|
-
* ID of the website
|
|
282
|
-
*/
|
|
283
|
-
websiteId?: string;
|
|
284
|
-
}
|
|
285
|
-
export interface APIListUsersParams {
|
|
286
|
-
/**
|
|
287
|
-
* The address of the user
|
|
288
|
-
*/
|
|
289
|
-
address?: string;
|
|
290
|
-
/**
|
|
291
|
-
* Discord username of the user
|
|
292
|
-
*/
|
|
293
|
-
discordUser?: string;
|
|
294
|
-
/**
|
|
295
|
-
* External identifier for the user
|
|
296
|
-
*/
|
|
297
|
-
externalIdentifier?: string;
|
|
298
|
-
/**
|
|
299
|
-
* Whether to include delegations in the response
|
|
300
|
-
*/
|
|
301
|
-
includeDelegation?: boolean | null;
|
|
302
|
-
/**
|
|
303
|
-
* Whether to include followers in the response
|
|
304
|
-
*/
|
|
305
|
-
includeFollow?: boolean | null;
|
|
306
|
-
/**
|
|
307
|
-
* Number of users to return
|
|
308
|
-
*/
|
|
309
|
-
limit?: number;
|
|
310
|
-
/**
|
|
311
|
-
* The ID of the organization
|
|
312
|
-
*/
|
|
313
|
-
organizationId?: string;
|
|
314
|
-
/**
|
|
315
|
-
* Pagination cursor to start after a specific user ID
|
|
316
|
-
*/
|
|
317
|
-
startingAfter?: string;
|
|
318
|
-
/**
|
|
319
|
-
* Steam username of the user
|
|
320
|
-
*/
|
|
321
|
-
steamUsername?: string;
|
|
322
|
-
/**
|
|
323
|
-
* Telegram ID of the user
|
|
324
|
-
*/
|
|
325
|
-
telegramUserId?: string;
|
|
326
|
-
/**
|
|
327
|
-
* Telegram username of the user
|
|
328
|
-
*/
|
|
329
|
-
telegramUsername?: string;
|
|
330
|
-
/**
|
|
331
|
-
* Twitter username of the user
|
|
332
|
-
*/
|
|
333
|
-
twitterUser?: string;
|
|
334
|
-
/**
|
|
335
|
-
* External identifier for the user group controlled by you
|
|
336
|
-
*/
|
|
337
|
-
userGroupExternalIdentifier?: string;
|
|
338
|
-
/**
|
|
339
|
-
* The ID of the user group
|
|
340
|
-
*/
|
|
341
|
-
userGroupId?: string;
|
|
342
|
-
/**
|
|
343
|
-
* The ID of the user
|
|
344
|
-
*/
|
|
345
|
-
userId?: string | Array<string>;
|
|
346
|
-
/**
|
|
347
|
-
* The wallet address of the user
|
|
348
|
-
*/
|
|
349
|
-
walletAddress?: string;
|
|
350
|
-
/**
|
|
351
|
-
* The ID of the website
|
|
352
|
-
*/
|
|
353
|
-
websiteId?: string;
|
|
354
|
-
}
|
|
355
|
-
export declare namespace API {
|
|
356
|
-
export { type APICreateAssetUploadURLResponse as APICreateAssetUploadURLResponse, type APIListAuctionsResponse as APIListAuctionsResponse, type APIListUsersResponse as APIListUsersResponse, type APICreateAssetUploadURLParams as APICreateAssetUploadURLParams, type APIListAuctionBidsParams as APIListAuctionBidsParams, type APIListUsersParams as APIListUsersParams, };
|
|
357
|
-
export { Users as Users, type UserConnectResponse as UserConnectResponse, type UserCountResponse as UserCountResponse, type UserDisconnectResponse as UserDisconnectResponse, type UserConnectParams as UserConnectParams, type UserCountParams as UserCountParams, type UserDisconnectParams as UserDisconnectParams, };
|
|
358
|
-
export { Loyalty as Loyalty, type LoyaltyCreateTransactionResponse as LoyaltyCreateTransactionResponse, type LoyaltyGetRuleGroupsResponse as LoyaltyGetRuleGroupsResponse, type LoyaltyListTransactionEntriesResponse as LoyaltyListTransactionEntriesResponse, type LoyaltyCreateTransactionParams as LoyaltyCreateTransactionParams, type LoyaltyGetRuleGroupsParams as LoyaltyGetRuleGroupsParams, type LoyaltyListTransactionEntriesParams as LoyaltyListTransactionEntriesParams, };
|
|
359
|
-
export { Minting as Minting, type MintingGetAssetsResponse as MintingGetAssetsResponse, type MintingGetAssetsParams as MintingGetAssetsParams, };
|
|
360
|
-
export { Referral as Referral, type ReferralCreateCodeResponse as ReferralCreateCodeResponse, type ReferralCreateCodeParams as ReferralCreateCodeParams, };
|
|
361
|
-
export { Websites as Websites, type WebsiteCreateResponse as WebsiteCreateResponse, type WebsiteListResponse as WebsiteListResponse, type WebsiteCreateParams as WebsiteCreateParams, type WebsiteListParams as WebsiteListParams, };
|
|
362
|
-
export { WebsiteCollections as WebsiteCollections, type WebsiteCollectionListResponse as WebsiteCollectionListResponse, type WebsiteCollectionCreateParams as WebsiteCollectionCreateParams, type WebsiteCollectionListParams as WebsiteCollectionListParams, };
|
|
363
|
-
export { WebsiteUserRoles as WebsiteUserRoles, type WebsiteUserRoleListResponse as WebsiteUserRoleListResponse, type WebsiteUserRoleAssignResponse as WebsiteUserRoleAssignResponse, type WebsiteUserRoleListParams as WebsiteUserRoleListParams, type WebsiteUserRoleAssignParams as WebsiteUserRoleAssignParams, };
|
|
364
|
-
}
|
|
365
|
-
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/resources/api/api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,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I,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
package/resources/api/api.js
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(o, k2, desc);
|
|
10
|
-
}) : (function(o, m, k, k2) {
|
|
11
|
-
if (k2 === undefined) k2 = k;
|
|
12
|
-
o[k2] = m[k];
|
|
13
|
-
}));
|
|
14
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
-
}) : function(o, v) {
|
|
17
|
-
o["default"] = v;
|
|
18
|
-
});
|
|
19
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
20
|
-
if (mod && mod.__esModule) return mod;
|
|
21
|
-
var result = {};
|
|
22
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
23
|
-
__setModuleDefault(result, mod);
|
|
24
|
-
return result;
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.API = void 0;
|
|
28
|
-
const resource_1 = require("../../resource.js");
|
|
29
|
-
const core_1 = require("../../core.js");
|
|
30
|
-
const MintingAPI = __importStar(require("./minting.js"));
|
|
31
|
-
const minting_1 = require("./minting.js");
|
|
32
|
-
const WebsiteCollectionsAPI = __importStar(require("./website-collections.js"));
|
|
33
|
-
const website_collections_1 = require("./website-collections.js");
|
|
34
|
-
const WebsiteUserRolesAPI = __importStar(require("./website-user-roles.js"));
|
|
35
|
-
const website_user_roles_1 = require("./website-user-roles.js");
|
|
36
|
-
const WebsitesAPI = __importStar(require("./websites.js"));
|
|
37
|
-
const websites_1 = require("./websites.js");
|
|
38
|
-
const LoyaltyAPI = __importStar(require("./loyalty/loyalty.js"));
|
|
39
|
-
const loyalty_1 = require("./loyalty/loyalty.js");
|
|
40
|
-
const ReferralAPI = __importStar(require("./referral/referral.js"));
|
|
41
|
-
const referral_1 = require("./referral/referral.js");
|
|
42
|
-
const UsersAPI = __importStar(require("./users/users.js"));
|
|
43
|
-
const users_1 = require("./users/users.js");
|
|
44
|
-
class API extends resource_1.APIResource {
|
|
45
|
-
constructor() {
|
|
46
|
-
super(...arguments);
|
|
47
|
-
this.users = new UsersAPI.Users(this._client);
|
|
48
|
-
this.loyalty = new LoyaltyAPI.Loyalty(this._client);
|
|
49
|
-
this.minting = new MintingAPI.Minting(this._client);
|
|
50
|
-
this.referral = new ReferralAPI.Referral(this._client);
|
|
51
|
-
this.websites = new WebsitesAPI.Websites(this._client);
|
|
52
|
-
this.websiteCollections = new WebsiteCollectionsAPI.WebsiteCollections(this._client);
|
|
53
|
-
this.websiteUserRoles = new WebsiteUserRolesAPI.WebsiteUserRoles(this._client);
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* This endpoint enables you to upload a file to the resource. Returns a presigned
|
|
57
|
-
* URL and the asset's public URL. Call PUT with the file as the body to upload the
|
|
58
|
-
* asset using the presigned URL.
|
|
59
|
-
*/
|
|
60
|
-
createAssetUploadURL(body, options) {
|
|
61
|
-
return this._client.post('/api/assets', { body, ...options });
|
|
62
|
-
}
|
|
63
|
-
listAuctionBids(query = {}, options) {
|
|
64
|
-
if ((0, core_1.isRequestOptions)(query)) {
|
|
65
|
-
return this.listAuctionBids({}, query);
|
|
66
|
-
}
|
|
67
|
-
return this._client.get('/api/auction_bids', {
|
|
68
|
-
query,
|
|
69
|
-
...options,
|
|
70
|
-
headers: { Accept: '*/*', ...options?.headers },
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Returns a list of auctions with optional filtering and pagination.
|
|
75
|
-
*/
|
|
76
|
-
listAuctions(options) {
|
|
77
|
-
return this._client.get('/api/auctions', options);
|
|
78
|
-
}
|
|
79
|
-
listUsers(query = {}, options) {
|
|
80
|
-
if ((0, core_1.isRequestOptions)(query)) {
|
|
81
|
-
return this.listUsers({}, query);
|
|
82
|
-
}
|
|
83
|
-
return this._client.get('/api/users', { query, ...options });
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
exports.API = API;
|
|
87
|
-
API.Users = users_1.Users;
|
|
88
|
-
API.Loyalty = loyalty_1.Loyalty;
|
|
89
|
-
API.Minting = minting_1.Minting;
|
|
90
|
-
API.Referral = referral_1.Referral;
|
|
91
|
-
API.Websites = websites_1.Websites;
|
|
92
|
-
API.WebsiteCollections = website_collections_1.WebsiteCollections;
|
|
93
|
-
API.WebsiteUserRoles = website_user_roles_1.WebsiteUserRoles;
|
|
94
|
-
//# sourceMappingURL=api.js.map
|
package/resources/api/api.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/resources/api/api.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAE9C,yDAAwC;AACxC,0CAAsF;AACtF,gFAA+D;AAC/D,kEAK+B;AAC/B,6EAA4D;AAC5D,gEAM8B;AAC9B,2DAA0C;AAC1C,4CAMoB;AACpB,iEAAgD;AAChD,kDAQ2B;AAC3B,oEAAmD;AACnD,qDAAqG;AACrG,2DAA0C;AAC1C,4CAQuB;AAEvB,MAAa,GAAI,SAAQ,sBAAW;IAApC;;QACE,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