@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
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { Metadatas, type MetadataCreateResponse, type MetadataRetrieveResponse, type MetadataCreateParams, type MetadataRetrieveParams, } from "./metadatas.js";
|
|
2
|
-
export { Users } from "./users.js";
|
|
3
|
-
export { Wallets } from "./wallets.js";
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAMqB;AALnB,sGAAA,SAAS,OAAA;AAMX,oCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,wCAAoC;AAA3B,kGAAA,OAAO,OAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/users/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAKV;OACM,EAAE,KAAK,EAAE;OACT,EAAE,OAAO,EAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metadatas.d.ts","sourceRoot":"","sources":["../../src/resources/users/metadatas.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,O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G;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metadatas.js","sourceRoot":"","sources":["../../src/resources/users/metadatas.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,SAAU,SAAQ,sBAAW;IAMxC,MAAM,CACJ,OAAmD,EAAE,EACrD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAUD,QAAQ,CACN,QAAsD,EAAE,EACxD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SACjC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF;AAjCD,8BAiCC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metadatas.mjs","sourceRoot":"","sources":["../../src/resources/users/metadatas.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,SAAU,SAAQ,WAAW;IAMxC,MAAM,CACJ,OAAmD,EAAE,EACrD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;SAC9B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAUD,QAAQ,CACN,QAAsD,EAAE,EACxD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SACjC;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../resource.js";
|
|
2
|
-
import * as MetadatasAPI from "./metadatas.js";
|
|
3
|
-
import { MetadataCreateParams, MetadataCreateResponse, MetadataRetrieveParams, MetadataRetrieveResponse, Metadatas } from "./metadatas.js";
|
|
4
|
-
import * as WalletsAPI from "./wallets.js";
|
|
5
|
-
import { Wallets } from "./wallets.js";
|
|
6
|
-
export declare class Users extends APIResource {
|
|
7
|
-
wallets: WalletsAPI.Wallets;
|
|
8
|
-
metadatas: MetadatasAPI.Metadatas;
|
|
9
|
-
}
|
|
10
|
-
export declare namespace Users {
|
|
11
|
-
export { Wallets as Wallets };
|
|
12
|
-
export { Metadatas as Metadatas, type MetadataCreateResponse as MetadataCreateResponse, type MetadataRetrieveResponse as MetadataRetrieveResponse, type MetadataCreateParams as MetadataCreateParams, type MetadataRetrieveParams as MetadataRetrieveParams, };
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,YAAY,MAAM,aAAa,CAAC;AAC5C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,qBAAa,KAAM,SAAQ,WAAW;IACpC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;CAC9E;AAKD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,CAAC;IAE9B,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,gDAA6C;AAC7C,6DAA4C;AAC5C,8CAMqB;AACrB,yDAAwC;AACxC,0CAAoC;AAEpC,MAAa,KAAM,SAAQ,sBAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAHD,sBAGC;AAED,KAAK,CAAC,OAAO,GAAG,iBAAO,CAAC;AACxB,KAAK,CAAC,SAAS,GAAG,qBAAS,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../resource.mjs";
|
|
3
|
-
import * as MetadatasAPI from "./metadatas.mjs";
|
|
4
|
-
import { Metadatas, } from "./metadatas.mjs";
|
|
5
|
-
import * as WalletsAPI from "./wallets.mjs";
|
|
6
|
-
import { Wallets } from "./wallets.mjs";
|
|
7
|
-
export class Users extends APIResource {
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.wallets = new WalletsAPI.Wallets(this._client);
|
|
11
|
-
this.metadatas = new MetadatasAPI.Metadatas(this._client);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
Users.Wallets = Wallets;
|
|
15
|
-
Users.Metadatas = Metadatas;
|
|
16
|
-
//# sourceMappingURL=users.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/users/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAKL,SAAS,GACV;OACM,KAAK,UAAU;OACf,EAAE,OAAO,EAAE;AAElB,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/E,CAAC;CAAA;AAED,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC;AACxB,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallets.d.ts","sourceRoot":"","sources":["../../src/resources/users/wallets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBAAa,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Wallets = void 0;
|
|
5
|
-
const resource_1 = require("../../resource.js");
|
|
6
|
-
class Wallets extends resource_1.APIResource {
|
|
7
|
-
}
|
|
8
|
-
exports.Wallets = Wallets;
|
|
9
|
-
//# sourceMappingURL=wallets.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallets.js","sourceRoot":"","sources":["../../src/resources/users/wallets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAE7C,MAAa,OAAQ,SAAQ,sBAAW;CAAG;AAA3C,0BAA2C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallets.mjs","sourceRoot":"","sources":["../../src/resources/users/wallets.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,OAAQ,SAAQ,WAAW;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"websites.d.ts","sourceRoot":"","sources":["../src/resources/websites.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,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;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"websites.js","sourceRoot":"","sources":["../src/resources/websites.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAG3C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAQD,IAAI,CACF,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF;AAvBD,4BAuBC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"websites.mjs","sourceRoot":"","sources":["../src/resources/websites.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAQD,IAAI,CACF,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;CACF"}
|
|
@@ -1,294 +0,0 @@
|
|
|
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 MintingAPI from './minting';
|
|
6
|
-
import { Minting, MintingGetMintingAssetsParams, MintingGetMintingAssetsResponse } from './minting';
|
|
7
|
-
import * as UsersAPI from './users';
|
|
8
|
-
import {
|
|
9
|
-
UserConnectUserParams,
|
|
10
|
-
UserConnectUserResponse,
|
|
11
|
-
UserDisconnectUserParams,
|
|
12
|
-
UserDisconnectUserResponse,
|
|
13
|
-
UserGetUserCountParams,
|
|
14
|
-
UserGetUserCountResponse,
|
|
15
|
-
UserGetUsersParams,
|
|
16
|
-
UserGetUsersResponse,
|
|
17
|
-
Users,
|
|
18
|
-
} from './users';
|
|
19
|
-
import * as WebsiteCollectionsAPI from './website-collections';
|
|
20
|
-
import {
|
|
21
|
-
WebsiteCollectionCreateWebsiteCollectionParams,
|
|
22
|
-
WebsiteCollectionGetWebsiteCollectionsParams,
|
|
23
|
-
WebsiteCollectionGetWebsiteCollectionsResponse,
|
|
24
|
-
WebsiteCollections,
|
|
25
|
-
} from './website-collections';
|
|
26
|
-
import * as WebsiteUserRolesAPI from './website-user-roles';
|
|
27
|
-
import {
|
|
28
|
-
WebsiteUserRoleAssignRolesToUsersParams,
|
|
29
|
-
WebsiteUserRoleAssignRolesToUsersResponse,
|
|
30
|
-
WebsiteUserRoleGetWebsiteUserRolesParams,
|
|
31
|
-
WebsiteUserRoleGetWebsiteUserRolesResponse,
|
|
32
|
-
WebsiteUserRoles,
|
|
33
|
-
} from './website-user-roles';
|
|
34
|
-
import * as ReferralAPI from './referral/referral';
|
|
35
|
-
import {
|
|
36
|
-
Referral,
|
|
37
|
-
ReferralCreateReferralCodeParams,
|
|
38
|
-
ReferralCreateReferralCodeResponse,
|
|
39
|
-
} from './referral/referral';
|
|
40
|
-
|
|
41
|
-
export class Assets extends APIResource {
|
|
42
|
-
users: UsersAPI.Users = new UsersAPI.Users(this._client);
|
|
43
|
-
minting: MintingAPI.Minting = new MintingAPI.Minting(this._client);
|
|
44
|
-
referral: ReferralAPI.Referral = new ReferralAPI.Referral(this._client);
|
|
45
|
-
websiteCollections: WebsiteCollectionsAPI.WebsiteCollections = new WebsiteCollectionsAPI.WebsiteCollections(
|
|
46
|
-
this._client,
|
|
47
|
-
);
|
|
48
|
-
websiteUserRoles: WebsiteUserRolesAPI.WebsiteUserRoles = new WebsiteUserRolesAPI.WebsiteUserRoles(
|
|
49
|
-
this._client,
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* This endpoint enables you to upload a file to the resource. Returns a presigned
|
|
54
|
-
* URL and the asset's public URL. Call PUT with the file as the body to upload the
|
|
55
|
-
* asset using the presigned URL.
|
|
56
|
-
*/
|
|
57
|
-
create(body: AssetCreateParams, options?: Core.RequestOptions): Core.APIPromise<AssetCreateResponse> {
|
|
58
|
-
return this._client.post('/api/assets', { body, ...options });
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Returns a list of auctions with optional filtering and pagination.
|
|
63
|
-
*/
|
|
64
|
-
getAuctions(options?: Core.RequestOptions): Core.APIPromise<AssetGetAuctionsResponse> {
|
|
65
|
-
return this._client.get('/api/auctions', options);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Response returned upon successful generation of the signed URL for uploading the
|
|
71
|
-
* file.
|
|
72
|
-
*/
|
|
73
|
-
export interface AssetCreateResponse {
|
|
74
|
-
/**
|
|
75
|
-
* The pre-signed URL to be used for uploading the file.
|
|
76
|
-
*/
|
|
77
|
-
signedUrl: string;
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* The URL of the uploaded file.
|
|
81
|
-
*/
|
|
82
|
-
url: string;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Schema for the response when fetching auctions
|
|
87
|
-
*/
|
|
88
|
-
export interface AssetGetAuctionsResponse {
|
|
89
|
-
data: Array<AssetGetAuctionsResponse.Data>;
|
|
90
|
-
|
|
91
|
-
hasNextPage: boolean;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export namespace AssetGetAuctionsResponse {
|
|
95
|
-
export interface Data {
|
|
96
|
-
id: string;
|
|
97
|
-
|
|
98
|
-
auctionBids: Array<Data.AuctionBid>;
|
|
99
|
-
|
|
100
|
-
auctionItems: Array<Data.AuctionItem>;
|
|
101
|
-
|
|
102
|
-
biddersOwnCollectionAddresses: Array<string>;
|
|
103
|
-
|
|
104
|
-
createdAt: string;
|
|
105
|
-
|
|
106
|
-
currencyAddress: string | null;
|
|
107
|
-
|
|
108
|
-
currencyDecimals: number;
|
|
109
|
-
|
|
110
|
-
deletedAt: string | null;
|
|
111
|
-
|
|
112
|
-
description: string;
|
|
113
|
-
|
|
114
|
-
endsAt: string;
|
|
115
|
-
|
|
116
|
-
extendedDurationInSeconds: number | null;
|
|
117
|
-
|
|
118
|
-
hideBids: boolean;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Schema representing a loyalty currency
|
|
122
|
-
*/
|
|
123
|
-
loyaltyCurrency: Data.LoyaltyCurrency | null;
|
|
124
|
-
|
|
125
|
-
loyaltyCurrencyId: string | null;
|
|
126
|
-
|
|
127
|
-
minBidAmount: string;
|
|
128
|
-
|
|
129
|
-
minBidIncrement: string | null;
|
|
130
|
-
|
|
131
|
-
mintingContractId: string;
|
|
132
|
-
|
|
133
|
-
name: string;
|
|
134
|
-
|
|
135
|
-
network: 'ethereum' | 'zksync';
|
|
136
|
-
|
|
137
|
-
organizationId: string;
|
|
138
|
-
|
|
139
|
-
reservePrice: string | null;
|
|
140
|
-
|
|
141
|
-
signature: string;
|
|
142
|
-
|
|
143
|
-
startsAt: string;
|
|
144
|
-
|
|
145
|
-
status: 'in_progress' | 'completed' | 'cancelled';
|
|
146
|
-
|
|
147
|
-
type: 'first_price' | 'second_price' | 'english';
|
|
148
|
-
|
|
149
|
-
updatedAt: string;
|
|
150
|
-
|
|
151
|
-
userId: string;
|
|
152
|
-
|
|
153
|
-
websiteId: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export namespace Data {
|
|
157
|
-
/**
|
|
158
|
-
* Schema representing an auction bid
|
|
159
|
-
*/
|
|
160
|
-
export interface AuctionBid {
|
|
161
|
-
id: string;
|
|
162
|
-
|
|
163
|
-
amount: string;
|
|
164
|
-
|
|
165
|
-
createdAt: string;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface AuctionItem {
|
|
169
|
-
id: string;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Schema representing a minting contract asset
|
|
173
|
-
*/
|
|
174
|
-
mintingContractAsset: AuctionItem.MintingContractAsset;
|
|
175
|
-
|
|
176
|
-
quantity: number;
|
|
177
|
-
|
|
178
|
-
sortId: number;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export namespace AuctionItem {
|
|
182
|
-
/**
|
|
183
|
-
* Schema representing a minting contract asset
|
|
184
|
-
*/
|
|
185
|
-
export interface MintingContractAsset {
|
|
186
|
-
id: string;
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Schema representing a loyalty currency
|
|
192
|
-
*/
|
|
193
|
-
export interface LoyaltyCurrency {
|
|
194
|
-
id: string;
|
|
195
|
-
|
|
196
|
-
decimals: number;
|
|
197
|
-
|
|
198
|
-
imageUrl: string | null;
|
|
199
|
-
|
|
200
|
-
name: string;
|
|
201
|
-
|
|
202
|
-
symbol: string;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
export interface AssetCreateParams {
|
|
208
|
-
/**
|
|
209
|
-
* The name of the file, must match the regex pattern (converted to lowercase)
|
|
210
|
-
*/
|
|
211
|
-
fileName: string;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* The file path, must be a valid enum value.
|
|
215
|
-
*/
|
|
216
|
-
filePath?:
|
|
217
|
-
| 'announcements'
|
|
218
|
-
| 'images'
|
|
219
|
-
| 'videos'
|
|
220
|
-
| 'banners'
|
|
221
|
-
| 'fonts'
|
|
222
|
-
| 'posts'
|
|
223
|
-
| 'profiles'
|
|
224
|
-
| 'minting'
|
|
225
|
-
| 'loyalty';
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* UUID of the organization (optional, converted to lowercase)
|
|
229
|
-
*/
|
|
230
|
-
organizationId?: string;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* UUID of the user (optional, converted to lowercase)
|
|
234
|
-
*/
|
|
235
|
-
userId?: string;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* UUID of the website (optional, converted to lowercase)
|
|
239
|
-
*/
|
|
240
|
-
websiteId?: string;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
Assets.Users = Users;
|
|
244
|
-
Assets.Minting = Minting;
|
|
245
|
-
Assets.Referral = Referral;
|
|
246
|
-
Assets.WebsiteCollections = WebsiteCollections;
|
|
247
|
-
Assets.WebsiteUserRoles = WebsiteUserRoles;
|
|
248
|
-
|
|
249
|
-
export declare namespace Assets {
|
|
250
|
-
export {
|
|
251
|
-
type AssetCreateResponse as AssetCreateResponse,
|
|
252
|
-
type AssetGetAuctionsResponse as AssetGetAuctionsResponse,
|
|
253
|
-
type AssetCreateParams as AssetCreateParams,
|
|
254
|
-
};
|
|
255
|
-
|
|
256
|
-
export {
|
|
257
|
-
Users as Users,
|
|
258
|
-
type UserConnectUserResponse as UserConnectUserResponse,
|
|
259
|
-
type UserDisconnectUserResponse as UserDisconnectUserResponse,
|
|
260
|
-
type UserGetUserCountResponse as UserGetUserCountResponse,
|
|
261
|
-
type UserGetUsersResponse as UserGetUsersResponse,
|
|
262
|
-
type UserConnectUserParams as UserConnectUserParams,
|
|
263
|
-
type UserDisconnectUserParams as UserDisconnectUserParams,
|
|
264
|
-
type UserGetUserCountParams as UserGetUserCountParams,
|
|
265
|
-
type UserGetUsersParams as UserGetUsersParams,
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
export {
|
|
269
|
-
Minting as Minting,
|
|
270
|
-
type MintingGetMintingAssetsResponse as MintingGetMintingAssetsResponse,
|
|
271
|
-
type MintingGetMintingAssetsParams as MintingGetMintingAssetsParams,
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
export {
|
|
275
|
-
Referral as Referral,
|
|
276
|
-
type ReferralCreateReferralCodeResponse as ReferralCreateReferralCodeResponse,
|
|
277
|
-
type ReferralCreateReferralCodeParams as ReferralCreateReferralCodeParams,
|
|
278
|
-
};
|
|
279
|
-
|
|
280
|
-
export {
|
|
281
|
-
WebsiteCollections as WebsiteCollections,
|
|
282
|
-
type WebsiteCollectionGetWebsiteCollectionsResponse as WebsiteCollectionGetWebsiteCollectionsResponse,
|
|
283
|
-
type WebsiteCollectionCreateWebsiteCollectionParams as WebsiteCollectionCreateWebsiteCollectionParams,
|
|
284
|
-
type WebsiteCollectionGetWebsiteCollectionsParams as WebsiteCollectionGetWebsiteCollectionsParams,
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
export {
|
|
288
|
-
WebsiteUserRoles as WebsiteUserRoles,
|
|
289
|
-
type WebsiteUserRoleAssignRolesToUsersResponse as WebsiteUserRoleAssignRolesToUsersResponse,
|
|
290
|
-
type WebsiteUserRoleGetWebsiteUserRolesResponse as WebsiteUserRoleGetWebsiteUserRolesResponse,
|
|
291
|
-
type WebsiteUserRoleAssignRolesToUsersParams as WebsiteUserRoleAssignRolesToUsersParams,
|
|
292
|
-
type WebsiteUserRoleGetWebsiteUserRolesParams as WebsiteUserRoleGetWebsiteUserRolesParams,
|
|
293
|
-
};
|
|
294
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
Assets,
|
|
5
|
-
type AssetCreateResponse,
|
|
6
|
-
type AssetGetAuctionsResponse,
|
|
7
|
-
type AssetCreateParams,
|
|
8
|
-
} from './assets';
|
|
9
|
-
export { Minting, type MintingGetMintingAssetsResponse, type MintingGetMintingAssetsParams } from './minting';
|
|
10
|
-
export {
|
|
11
|
-
Referral,
|
|
12
|
-
type ReferralCreateReferralCodeResponse,
|
|
13
|
-
type ReferralCreateReferralCodeParams,
|
|
14
|
-
} from './referral/index';
|
|
15
|
-
export {
|
|
16
|
-
Users,
|
|
17
|
-
type UserConnectUserResponse,
|
|
18
|
-
type UserDisconnectUserResponse,
|
|
19
|
-
type UserGetUserCountResponse,
|
|
20
|
-
type UserGetUsersResponse,
|
|
21
|
-
type UserConnectUserParams,
|
|
22
|
-
type UserDisconnectUserParams,
|
|
23
|
-
type UserGetUserCountParams,
|
|
24
|
-
type UserGetUsersParams,
|
|
25
|
-
} from './users';
|
|
26
|
-
export {
|
|
27
|
-
WebsiteCollections,
|
|
28
|
-
type WebsiteCollectionGetWebsiteCollectionsResponse,
|
|
29
|
-
type WebsiteCollectionCreateWebsiteCollectionParams,
|
|
30
|
-
type WebsiteCollectionGetWebsiteCollectionsParams,
|
|
31
|
-
} from './website-collections';
|
|
32
|
-
export {
|
|
33
|
-
WebsiteUserRoles,
|
|
34
|
-
type WebsiteUserRoleAssignRolesToUsersResponse,
|
|
35
|
-
type WebsiteUserRoleGetWebsiteUserRolesResponse,
|
|
36
|
-
type WebsiteUserRoleAssignRolesToUsersParams,
|
|
37
|
-
type WebsiteUserRoleGetWebsiteUserRolesParams,
|
|
38
|
-
} from './website-user-roles';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
Referral,
|
|
5
|
-
type ReferralCreateReferralCodeResponse,
|
|
6
|
-
type ReferralCreateReferralCodeParams,
|
|
7
|
-
} from './referral';
|
|
8
|
-
export {
|
|
9
|
-
Users,
|
|
10
|
-
type UserCreateReferralUserResponse,
|
|
11
|
-
type UserGetReferralsResponse,
|
|
12
|
-
type UserCreateReferralUserParams,
|
|
13
|
-
type UserGetReferralsParams,
|
|
14
|
-
} from './users';
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { APIResource } from '../../../resource';
|
|
4
|
-
import { isRequestOptions } from '../../../core';
|
|
5
|
-
import * as Core from '../../../core';
|
|
6
|
-
import * as UsersAPI from './users';
|
|
7
|
-
import {
|
|
8
|
-
UserCreateReferralUserParams,
|
|
9
|
-
UserCreateReferralUserResponse,
|
|
10
|
-
UserGetReferralsParams,
|
|
11
|
-
UserGetReferralsResponse,
|
|
12
|
-
Users,
|
|
13
|
-
} from './users';
|
|
14
|
-
|
|
15
|
-
export class Referral extends APIResource {
|
|
16
|
-
users: UsersAPI.Users = new UsersAPI.Users(this._client);
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* This endpoint allows you to create a referral code
|
|
20
|
-
*/
|
|
21
|
-
createReferralCode(
|
|
22
|
-
body?: ReferralCreateReferralCodeParams,
|
|
23
|
-
options?: Core.RequestOptions,
|
|
24
|
-
): Core.APIPromise<ReferralCreateReferralCodeResponse>;
|
|
25
|
-
createReferralCode(options?: Core.RequestOptions): Core.APIPromise<ReferralCreateReferralCodeResponse>;
|
|
26
|
-
createReferralCode(
|
|
27
|
-
body: ReferralCreateReferralCodeParams | Core.RequestOptions = {},
|
|
28
|
-
options?: Core.RequestOptions,
|
|
29
|
-
): Core.APIPromise<ReferralCreateReferralCodeResponse> {
|
|
30
|
-
if (isRequestOptions(body)) {
|
|
31
|
-
return this.createReferralCode({}, body);
|
|
32
|
-
}
|
|
33
|
-
return this._client.post('/api/referral/codes', { body, ...options });
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface ReferralCreateReferralCodeResponse {
|
|
38
|
-
id: string;
|
|
39
|
-
|
|
40
|
-
createdAt: string;
|
|
41
|
-
|
|
42
|
-
deletedAt: string | null;
|
|
43
|
-
|
|
44
|
-
organizationId: string;
|
|
45
|
-
|
|
46
|
-
referralCode: string;
|
|
47
|
-
|
|
48
|
-
updatedAt: string;
|
|
49
|
-
|
|
50
|
-
userId: string;
|
|
51
|
-
|
|
52
|
-
websiteId: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface ReferralCreateReferralCodeParams {
|
|
56
|
-
userId?: string;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
Referral.Users = Users;
|
|
60
|
-
|
|
61
|
-
export declare namespace Referral {
|
|
62
|
-
export {
|
|
63
|
-
type ReferralCreateReferralCodeResponse as ReferralCreateReferralCodeResponse,
|
|
64
|
-
type ReferralCreateReferralCodeParams as ReferralCreateReferralCodeParams,
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export {
|
|
68
|
-
Users as Users,
|
|
69
|
-
type UserCreateReferralUserResponse as UserCreateReferralUserResponse,
|
|
70
|
-
type UserGetReferralsResponse as UserGetReferralsResponse,
|
|
71
|
-
type UserCreateReferralUserParams as UserCreateReferralUserParams,
|
|
72
|
-
type UserGetReferralsParams as UserGetReferralsParams,
|
|
73
|
-
};
|
|
74
|
-
}
|