@snagsolutions/sdk 0.1.0-alpha.14 → 0.1.0-alpha.141

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/CHANGELOG.md +1178 -0
  2. package/README.md +23 -27
  3. package/_shims/index.d.ts +2 -0
  4. package/_shims/index.js +5 -1
  5. package/_shims/index.mjs +5 -1
  6. package/core.d.ts +19 -5
  7. package/core.d.ts.map +1 -1
  8. package/core.js +28 -18
  9. package/core.js.map +1 -1
  10. package/core.mjs +29 -19
  11. package/core.mjs.map +1 -1
  12. package/index.d.mts +20 -11
  13. package/index.d.ts +20 -11
  14. package/index.d.ts.map +1 -1
  15. package/index.js +21 -11
  16. package/index.js.map +1 -1
  17. package/index.mjs +22 -12
  18. package/index.mjs.map +1 -1
  19. package/package.json +11 -33
  20. package/resource.d.ts +1 -1
  21. package/resource.d.ts.map +1 -1
  22. package/resource.js.map +1 -1
  23. package/resource.mjs.map +1 -1
  24. package/resources/assets.d.ts +64 -0
  25. package/resources/assets.d.ts.map +1 -0
  26. package/resources/assets.js +25 -0
  27. package/resources/assets.js.map +1 -0
  28. package/resources/assets.mjs +21 -0
  29. package/resources/assets.mjs.map +1 -0
  30. package/resources/auctions/auctions.d.ts +285 -0
  31. package/resources/auctions/auctions.d.ts.map +1 -0
  32. package/resources/auctions/auctions.js +76 -0
  33. package/resources/auctions/auctions.js.map +1 -0
  34. package/resources/auctions/auctions.mjs +49 -0
  35. package/resources/auctions/auctions.mjs.map +1 -0
  36. package/resources/auctions/index.d.ts +3 -0
  37. package/resources/auctions/index.d.ts.map +1 -0
  38. package/resources/auctions/index.js +9 -0
  39. package/resources/auctions/index.js.map +1 -0
  40. package/resources/auctions/index.mjs +4 -0
  41. package/resources/auctions/index.mjs.map +1 -0
  42. package/resources/auctions/website-user-attributes/index.d.ts +3 -0
  43. package/resources/auctions/website-user-attributes/index.d.ts.map +1 -0
  44. package/resources/auctions/website-user-attributes/index.js +9 -0
  45. package/resources/auctions/website-user-attributes/index.js.map +1 -0
  46. package/resources/auctions/website-user-attributes/index.mjs +4 -0
  47. package/resources/auctions/website-user-attributes/index.mjs.map +1 -0
  48. package/resources/auctions/website-user-attributes/values.d.ts +122 -0
  49. package/resources/auctions/website-user-attributes/values.d.ts.map +1 -0
  50. package/resources/auctions/website-user-attributes/values.js +49 -0
  51. package/resources/auctions/website-user-attributes/values.js.map +1 -0
  52. package/resources/auctions/website-user-attributes/values.mjs +45 -0
  53. package/resources/auctions/website-user-attributes/values.mjs.map +1 -0
  54. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts +132 -0
  55. package/resources/auctions/website-user-attributes/website-user-attributes.d.ts.map +1 -0
  56. package/resources/auctions/website-user-attributes/website-user-attributes.js +76 -0
  57. package/resources/auctions/website-user-attributes/website-user-attributes.js.map +1 -0
  58. package/resources/auctions/website-user-attributes/website-user-attributes.mjs +49 -0
  59. package/resources/auctions/website-user-attributes/website-user-attributes.mjs.map +1 -0
  60. package/resources/auctions/website-user-attributes.d.ts +2 -0
  61. package/resources/auctions/website-user-attributes.d.ts.map +1 -0
  62. package/resources/auctions/website-user-attributes.js +19 -0
  63. package/resources/auctions/website-user-attributes.js.map +1 -0
  64. package/resources/auctions/website-user-attributes.mjs +3 -0
  65. package/resources/auctions/website-user-attributes.mjs.map +1 -0
  66. package/resources/auctions.d.ts +2 -0
  67. package/resources/auctions.d.ts.map +1 -0
  68. package/resources/auctions.js +19 -0
  69. package/resources/auctions.js.map +1 -0
  70. package/resources/auctions.mjs +3 -0
  71. package/resources/auctions.mjs.map +1 -0
  72. package/resources/auth.d.ts +44 -0
  73. package/resources/auth.d.ts.map +1 -0
  74. package/resources/auth.js +16 -0
  75. package/resources/auth.js.map +1 -0
  76. package/resources/auth.mjs +12 -0
  77. package/resources/auth.mjs.map +1 -0
  78. package/resources/index.d.ts +7 -5
  79. package/resources/index.d.ts.map +1 -1
  80. package/resources/index.js +11 -7
  81. package/resources/index.js.map +1 -1
  82. package/resources/index.mjs +7 -5
  83. package/resources/index.mjs.map +1 -1
  84. package/resources/loyalty/account-streaks.d.ts +81 -0
  85. package/resources/loyalty/account-streaks.d.ts.map +1 -0
  86. package/resources/loyalty/account-streaks.js +24 -0
  87. package/resources/loyalty/account-streaks.js.map +1 -0
  88. package/resources/loyalty/account-streaks.mjs +20 -0
  89. package/resources/loyalty/account-streaks.mjs.map +1 -0
  90. package/resources/loyalty/accounts.d.ts +200 -0
  91. package/resources/loyalty/accounts.d.ts.map +1 -1
  92. package/resources/loyalty/accounts.js +28 -0
  93. package/resources/loyalty/accounts.js.map +1 -1
  94. package/resources/loyalty/accounts.mjs +28 -0
  95. package/resources/loyalty/accounts.mjs.map +1 -1
  96. package/resources/loyalty/badges.d.ts +475 -21
  97. package/resources/loyalty/badges.d.ts.map +1 -1
  98. package/resources/loyalty/badges.js +19 -1
  99. package/resources/loyalty/badges.js.map +1 -1
  100. package/resources/loyalty/badges.mjs +19 -1
  101. package/resources/loyalty/badges.mjs.map +1 -1
  102. package/resources/loyalty/currencies.d.ts +25 -0
  103. package/resources/loyalty/currencies.d.ts.map +1 -1
  104. package/resources/loyalty/currencies.js +19 -0
  105. package/resources/loyalty/currencies.js.map +1 -1
  106. package/resources/loyalty/currencies.mjs +19 -0
  107. package/resources/loyalty/currencies.mjs.map +1 -1
  108. package/resources/loyalty/index.d.ts +9 -5
  109. package/resources/loyalty/index.d.ts.map +1 -1
  110. package/resources/loyalty/index.js +11 -3
  111. package/resources/loyalty/index.js.map +1 -1
  112. package/resources/loyalty/index.mjs +6 -2
  113. package/resources/loyalty/index.mjs.map +1 -1
  114. package/resources/loyalty/loyalty.d.ts +33 -17
  115. package/resources/loyalty/loyalty.d.ts.map +1 -1
  116. package/resources/loyalty/loyalty.js +28 -12
  117. package/resources/loyalty/loyalty.js.map +1 -1
  118. package/resources/loyalty/loyalty.mjs +29 -13
  119. package/resources/loyalty/loyalty.mjs.map +1 -1
  120. package/resources/loyalty/multipliers.d.ts +76 -8
  121. package/resources/loyalty/multipliers.d.ts.map +1 -1
  122. package/resources/loyalty/multipliers.js +30 -1
  123. package/resources/loyalty/multipliers.js.map +1 -1
  124. package/resources/loyalty/multipliers.mjs +30 -1
  125. package/resources/loyalty/multipliers.mjs.map +1 -1
  126. package/resources/loyalty/{transaction-entries/questions-responses.d.ts → questions-responses.d.ts} +41 -2
  127. package/resources/loyalty/questions-responses.d.ts.map +1 -0
  128. package/resources/loyalty/{transaction-entries/questions-responses.js → questions-responses.js} +11 -2
  129. package/resources/loyalty/questions-responses.js.map +1 -0
  130. package/resources/loyalty/{transaction-entries/questions-responses.mjs → questions-responses.mjs} +11 -2
  131. package/resources/loyalty/questions-responses.mjs.map +1 -0
  132. package/resources/loyalty/{transaction-entries/questions.d.ts → questions.d.ts} +39 -4
  133. package/resources/loyalty/questions.d.ts.map +1 -0
  134. package/resources/loyalty/questions.js +58 -0
  135. package/resources/loyalty/questions.js.map +1 -0
  136. package/resources/loyalty/questions.mjs +54 -0
  137. package/resources/loyalty/questions.mjs.map +1 -0
  138. package/resources/loyalty/rule-edits.d.ts +2584 -10
  139. package/resources/loyalty/rule-edits.d.ts.map +1 -1
  140. package/resources/loyalty/rule-edits.js +15 -1
  141. package/resources/loyalty/rule-edits.js.map +1 -1
  142. package/resources/loyalty/rule-edits.mjs +15 -1
  143. package/resources/loyalty/rule-edits.mjs.map +1 -1
  144. package/resources/loyalty/rule-groups.d.ts +762 -0
  145. package/resources/loyalty/rule-groups.d.ts.map +1 -0
  146. package/resources/loyalty/rule-groups.js +52 -0
  147. package/resources/loyalty/rule-groups.js.map +1 -0
  148. package/resources/loyalty/rule-groups.mjs +48 -0
  149. package/resources/loyalty/rule-groups.mjs.map +1 -0
  150. package/resources/loyalty/rules.d.ts +1760 -230
  151. package/resources/loyalty/rules.d.ts.map +1 -1
  152. package/resources/loyalty/rules.js +40 -9
  153. package/resources/loyalty/rules.js.map +1 -1
  154. package/resources/loyalty/rules.mjs +40 -9
  155. package/resources/loyalty/rules.mjs.map +1 -1
  156. package/resources/loyalty/transactions/index.d.ts +3 -0
  157. package/resources/loyalty/transactions/index.d.ts.map +1 -0
  158. package/resources/loyalty/transactions/index.js +9 -0
  159. package/resources/loyalty/transactions/index.js.map +1 -0
  160. package/resources/loyalty/transactions/index.mjs +4 -0
  161. package/resources/loyalty/transactions/index.mjs.map +1 -0
  162. package/resources/loyalty/transactions/rule-statuses.d.ts +120 -0
  163. package/resources/loyalty/transactions/rule-statuses.d.ts.map +1 -0
  164. package/resources/loyalty/transactions/rule-statuses.js +30 -0
  165. package/resources/loyalty/transactions/rule-statuses.js.map +1 -0
  166. package/resources/loyalty/transactions/rule-statuses.mjs +26 -0
  167. package/resources/loyalty/transactions/rule-statuses.mjs.map +1 -0
  168. package/resources/loyalty/transactions/transactions.d.ts +410 -0
  169. package/resources/loyalty/transactions/transactions.d.ts.map +1 -0
  170. package/resources/loyalty/{transaction-entries/transaction-entries.js → transactions/transactions.js} +35 -25
  171. package/resources/loyalty/transactions/transactions.js.map +1 -0
  172. package/resources/loyalty/transactions/transactions.mjs +49 -0
  173. package/resources/loyalty/transactions/transactions.mjs.map +1 -0
  174. package/resources/loyalty/transactions.d.ts +2 -0
  175. package/resources/loyalty/transactions.d.ts.map +1 -0
  176. package/resources/loyalty/transactions.js +19 -0
  177. package/resources/loyalty/transactions.js.map +1 -0
  178. package/resources/loyalty/transactions.mjs +3 -0
  179. package/resources/loyalty/transactions.mjs.map +1 -0
  180. package/resources/loyalty.d.ts +2 -0
  181. package/resources/loyalty.d.ts.map +1 -0
  182. package/resources/loyalty.js +19 -0
  183. package/resources/loyalty.js.map +1 -0
  184. package/resources/loyalty.mjs +3 -0
  185. package/resources/loyalty.mjs.map +1 -0
  186. package/resources/{assets/minting.d.ts → minting.d.ts} +14 -14
  187. package/resources/minting.d.ts.map +1 -0
  188. package/resources/{assets/minting.js → minting.js} +2 -2
  189. package/resources/minting.js.map +1 -0
  190. package/resources/{assets/minting.mjs → minting.mjs} +2 -2
  191. package/resources/minting.mjs.map +1 -0
  192. package/resources/referral/index.d.ts +3 -0
  193. package/resources/referral/index.d.ts.map +1 -0
  194. package/resources/referral/index.js.map +1 -0
  195. package/resources/{assets/referral → referral}/index.mjs +1 -1
  196. package/resources/referral/index.mjs.map +1 -0
  197. package/resources/referral/referral.d.ts +39 -0
  198. package/resources/referral/referral.d.ts.map +1 -0
  199. package/resources/{assets/referral → referral}/referral.js +12 -6
  200. package/resources/referral/referral.js.map +1 -0
  201. package/resources/referral/referral.mjs +25 -0
  202. package/resources/referral/referral.mjs.map +1 -0
  203. package/resources/referral/users.d.ts +84 -0
  204. package/resources/referral/users.d.ts.map +1 -0
  205. package/resources/{assets/referral → referral}/users.js +17 -3
  206. package/resources/referral/users.js.map +1 -0
  207. package/resources/referral/users.mjs +31 -0
  208. package/resources/referral/users.mjs.map +1 -0
  209. package/resources/referral.d.ts +2 -0
  210. package/resources/referral.d.ts.map +1 -0
  211. package/resources/referral.js +19 -0
  212. package/resources/referral.js.map +1 -0
  213. package/resources/referral.mjs +3 -0
  214. package/resources/referral.mjs.map +1 -0
  215. package/resources/users/index.d.ts +2 -3
  216. package/resources/users/index.d.ts.map +1 -1
  217. package/resources/users/index.js +1 -3
  218. package/resources/users/index.js.map +1 -1
  219. package/resources/users/index.mjs +1 -2
  220. package/resources/users/index.mjs.map +1 -1
  221. package/resources/users/metadatas.d.ts +43 -7
  222. package/resources/users/metadatas.d.ts.map +1 -1
  223. package/resources/users/metadatas.js +2 -2
  224. package/resources/users/metadatas.js.map +1 -1
  225. package/resources/users/metadatas.mjs +2 -2
  226. package/resources/users/metadatas.mjs.map +1 -1
  227. package/resources/users/users.d.ts +414 -6
  228. package/resources/users/users.d.ts.map +1 -1
  229. package/resources/users/users.js +77 -4
  230. package/resources/users/users.js.map +1 -1
  231. package/resources/users/users.mjs +77 -4
  232. package/resources/users/users.mjs.map +1 -1
  233. package/resources/users.d.ts +2 -0
  234. package/resources/users.d.ts.map +1 -0
  235. package/resources/users.js +19 -0
  236. package/resources/users.js.map +1 -0
  237. package/resources/users.mjs +3 -0
  238. package/resources/users.mjs.map +1 -0
  239. package/resources/websites/index.d.ts +4 -0
  240. package/resources/websites/index.d.ts.map +1 -0
  241. package/resources/websites/index.js +11 -0
  242. package/resources/websites/index.js.map +1 -0
  243. package/resources/{assets → websites}/index.mjs +1 -4
  244. package/resources/websites/index.mjs.map +1 -0
  245. package/resources/websites/website-collections.d.ts +94 -0
  246. package/resources/websites/website-collections.d.ts.map +1 -0
  247. package/resources/{assets → websites}/website-collections.js +23 -2
  248. package/resources/websites/website-collections.js.map +1 -0
  249. package/resources/websites/website-collections.mjs +42 -0
  250. package/resources/websites/website-collections.mjs.map +1 -0
  251. package/resources/websites/website-user-roles.d.ts +96 -0
  252. package/resources/websites/website-user-roles.d.ts.map +1 -0
  253. package/resources/{assets → websites}/website-user-roles.js +30 -7
  254. package/resources/websites/website-user-roles.js.map +1 -0
  255. package/resources/websites/website-user-roles.mjs +41 -0
  256. package/resources/websites/website-user-roles.mjs.map +1 -0
  257. package/resources/websites/websites.d.ts +223 -0
  258. package/resources/websites/websites.d.ts.map +1 -0
  259. package/resources/{assets/assets.js → websites/websites.js} +21 -27
  260. package/resources/websites/websites.js.map +1 -0
  261. package/resources/websites/websites.mjs +36 -0
  262. package/resources/websites/websites.mjs.map +1 -0
  263. package/resources/websites.d.ts +1 -202
  264. package/resources/websites.d.ts.map +1 -1
  265. package/resources/websites.js +15 -18
  266. package/resources/websites.js.map +1 -1
  267. package/resources/websites.mjs +1 -16
  268. package/resources/websites.mjs.map +1 -1
  269. package/resources.d.ts +2 -0
  270. package/resources.d.ts.map +1 -0
  271. package/resources.js +18 -0
  272. package/resources.js.map +1 -0
  273. package/resources.mjs +2 -0
  274. package/resources.mjs.map +1 -0
  275. package/src/_shims/index.d.ts +2 -0
  276. package/src/_shims/index.js +5 -1
  277. package/src/_shims/index.mjs +5 -1
  278. package/src/core.ts +47 -19
  279. package/src/index.ts +94 -23
  280. package/src/resource.ts +1 -1
  281. package/src/resources/assets.ts +93 -0
  282. package/src/resources/auctions/auctions.ts +436 -0
  283. package/src/resources/auctions/index.ts +18 -0
  284. package/src/resources/auctions/website-user-attributes/index.ts +18 -0
  285. package/src/resources/auctions/website-user-attributes/values.ts +165 -0
  286. package/src/resources/auctions/website-user-attributes/website-user-attributes.ts +207 -0
  287. package/src/resources/auctions/website-user-attributes.ts +3 -0
  288. package/src/resources/auctions.ts +3 -0
  289. package/src/resources/auth.ts +74 -0
  290. package/src/resources/index.ts +30 -9
  291. package/src/resources/loyalty/account-streaks.ts +110 -0
  292. package/src/resources/loyalty/accounts.ts +258 -1
  293. package/src/resources/loyalty/badges.ts +571 -23
  294. package/src/resources/loyalty/currencies.ts +25 -0
  295. package/src/resources/loyalty/index.ts +53 -14
  296. package/src/resources/loyalty/loyalty.ts +163 -69
  297. package/src/resources/loyalty/multipliers.ts +87 -12
  298. package/src/resources/loyalty/{transaction-entries/questions-responses.ts → questions-responses.ts} +48 -3
  299. package/src/resources/loyalty/{transaction-entries/questions.ts → questions.ts} +40 -4
  300. package/src/resources/loyalty/rule-edits.ts +3628 -61
  301. package/src/resources/loyalty/rule-groups.ts +1184 -0
  302. package/src/resources/loyalty/rules.ts +2963 -522
  303. package/src/resources/loyalty/transactions/index.ts +18 -0
  304. package/src/resources/loyalty/transactions/rule-statuses.ts +178 -0
  305. package/src/resources/loyalty/transactions/transactions.ts +677 -0
  306. package/src/resources/loyalty/transactions.ts +3 -0
  307. package/src/resources/loyalty.ts +3 -0
  308. package/src/resources/{assets/minting.ts → minting.ts} +49 -31
  309. package/src/resources/referral/index.ts +10 -0
  310. package/src/resources/referral/referral.ts +72 -0
  311. package/src/resources/referral/users.ts +124 -0
  312. package/src/resources/referral.ts +3 -0
  313. package/src/resources/users/index.ts +17 -4
  314. package/src/resources/users/metadatas.ts +77 -15
  315. package/src/resources/users/users.ts +579 -9
  316. package/src/resources/users.ts +3 -0
  317. package/src/resources/websites/index.ts +22 -0
  318. package/src/resources/{assets → websites}/website-collections.ts +66 -30
  319. package/src/resources/{assets → websites}/website-user-roles.ts +63 -40
  320. package/src/resources/websites/websites.ts +311 -0
  321. package/src/resources/websites.ts +1 -257
  322. package/src/resources.ts +1 -0
  323. package/src/version.ts +1 -1
  324. package/version.d.ts +1 -1
  325. package/version.d.ts.map +1 -1
  326. package/version.js +1 -1
  327. package/version.js.map +1 -1
  328. package/version.mjs +1 -1
  329. package/version.mjs.map +1 -1
  330. package/resources/assets/assets.d.ts +0 -153
  331. package/resources/assets/assets.d.ts.map +0 -1
  332. package/resources/assets/assets.js.map +0 -1
  333. package/resources/assets/assets.mjs +0 -42
  334. package/resources/assets/assets.mjs.map +0 -1
  335. package/resources/assets/index.d.ts +0 -7
  336. package/resources/assets/index.d.ts.map +0 -1
  337. package/resources/assets/index.js +0 -17
  338. package/resources/assets/index.js.map +0 -1
  339. package/resources/assets/index.mjs.map +0 -1
  340. package/resources/assets/minting.d.ts.map +0 -1
  341. package/resources/assets/minting.js.map +0 -1
  342. package/resources/assets/minting.mjs.map +0 -1
  343. package/resources/assets/referral/index.d.ts +0 -3
  344. package/resources/assets/referral/index.d.ts.map +0 -1
  345. package/resources/assets/referral/index.js.map +0 -1
  346. package/resources/assets/referral/index.mjs.map +0 -1
  347. package/resources/assets/referral/referral.d.ts +0 -30
  348. package/resources/assets/referral/referral.d.ts.map +0 -1
  349. package/resources/assets/referral/referral.js.map +0 -1
  350. package/resources/assets/referral/referral.mjs +0 -19
  351. package/resources/assets/referral/referral.mjs.map +0 -1
  352. package/resources/assets/referral/users.d.ts +0 -57
  353. package/resources/assets/referral/users.d.ts.map +0 -1
  354. package/resources/assets/referral/users.js.map +0 -1
  355. package/resources/assets/referral/users.mjs +0 -17
  356. package/resources/assets/referral/users.mjs.map +0 -1
  357. package/resources/assets/users.d.ts +0 -285
  358. package/resources/assets/users.d.ts.map +0 -1
  359. package/resources/assets/users.js +0 -34
  360. package/resources/assets/users.js.map +0 -1
  361. package/resources/assets/users.mjs +0 -30
  362. package/resources/assets/users.mjs.map +0 -1
  363. package/resources/assets/website-collections.d.ts +0 -73
  364. package/resources/assets/website-collections.d.ts.map +0 -1
  365. package/resources/assets/website-collections.js.map +0 -1
  366. package/resources/assets/website-collections.mjs +0 -21
  367. package/resources/assets/website-collections.mjs.map +0 -1
  368. package/resources/assets/website-user-roles.d.ts +0 -73
  369. package/resources/assets/website-user-roles.d.ts.map +0 -1
  370. package/resources/assets/website-user-roles.js.map +0 -1
  371. package/resources/assets/website-user-roles.mjs +0 -18
  372. package/resources/assets/website-user-roles.mjs.map +0 -1
  373. package/resources/auction-bids.d.ts +0 -51
  374. package/resources/auction-bids.d.ts.map +0 -1
  375. package/resources/auction-bids.js +0 -20
  376. package/resources/auction-bids.js.map +0 -1
  377. package/resources/auction-bids.mjs +0 -16
  378. package/resources/auction-bids.mjs.map +0 -1
  379. package/resources/drip/drip.d.ts +0 -14
  380. package/resources/drip/drip.d.ts.map +0 -1
  381. package/resources/drip/drip.js +0 -43
  382. package/resources/drip/drip.js.map +0 -1
  383. package/resources/drip/drip.mjs +0 -16
  384. package/resources/drip/drip.mjs.map +0 -1
  385. package/resources/drip/index.d.ts +0 -4
  386. package/resources/drip/index.d.ts.map +0 -1
  387. package/resources/drip/index.js +0 -11
  388. package/resources/drip/index.js.map +0 -1
  389. package/resources/drip/index.mjs +0 -5
  390. package/resources/drip/index.mjs.map +0 -1
  391. package/resources/drip/quests.d.ts +0 -4
  392. package/resources/drip/quests.d.ts.map +0 -1
  393. package/resources/drip/quests.js +0 -9
  394. package/resources/drip/quests.js.map +0 -1
  395. package/resources/drip/quests.mjs +0 -5
  396. package/resources/drip/quests.mjs.map +0 -1
  397. package/resources/drip/status.d.ts +0 -4
  398. package/resources/drip/status.d.ts.map +0 -1
  399. package/resources/drip/status.js +0 -9
  400. package/resources/drip/status.js.map +0 -1
  401. package/resources/drip/status.mjs +0 -5
  402. package/resources/drip/status.mjs.map +0 -1
  403. package/resources/loyalty/transaction-entries/accounts.d.ts +0 -191
  404. package/resources/loyalty/transaction-entries/accounts.d.ts.map +0 -1
  405. package/resources/loyalty/transaction-entries/accounts.js +0 -24
  406. package/resources/loyalty/transaction-entries/accounts.js.map +0 -1
  407. package/resources/loyalty/transaction-entries/accounts.mjs +0 -20
  408. package/resources/loyalty/transaction-entries/accounts.mjs.map +0 -1
  409. package/resources/loyalty/transaction-entries/index.d.ts +0 -5
  410. package/resources/loyalty/transaction-entries/index.d.ts.map +0 -1
  411. package/resources/loyalty/transaction-entries/index.js +0 -13
  412. package/resources/loyalty/transaction-entries/index.js.map +0 -1
  413. package/resources/loyalty/transaction-entries/index.mjs +0 -6
  414. package/resources/loyalty/transaction-entries/index.mjs.map +0 -1
  415. package/resources/loyalty/transaction-entries/questions-responses.d.ts.map +0 -1
  416. package/resources/loyalty/transaction-entries/questions-responses.js.map +0 -1
  417. package/resources/loyalty/transaction-entries/questions-responses.mjs.map +0 -1
  418. package/resources/loyalty/transaction-entries/questions.d.ts.map +0 -1
  419. package/resources/loyalty/transaction-entries/questions.js +0 -27
  420. package/resources/loyalty/transaction-entries/questions.js.map +0 -1
  421. package/resources/loyalty/transaction-entries/questions.mjs +0 -23
  422. package/resources/loyalty/transaction-entries/questions.mjs.map +0 -1
  423. package/resources/loyalty/transaction-entries/transaction-entries.d.ts +0 -300
  424. package/resources/loyalty/transaction-entries/transaction-entries.d.ts.map +0 -1
  425. package/resources/loyalty/transaction-entries/transaction-entries.js.map +0 -1
  426. package/resources/loyalty/transaction-entries/transaction-entries.mjs +0 -39
  427. package/resources/loyalty/transaction-entries/transaction-entries.mjs.map +0 -1
  428. package/resources/users/wallets.d.ts +0 -4
  429. package/resources/users/wallets.d.ts.map +0 -1
  430. package/resources/users/wallets.js +0 -9
  431. package/resources/users/wallets.js.map +0 -1
  432. package/resources/users/wallets.mjs +0 -5
  433. package/resources/users/wallets.mjs.map +0 -1
  434. package/src/resources/assets/assets.ts +0 -294
  435. package/src/resources/assets/index.ts +0 -38
  436. package/src/resources/assets/referral/index.ts +0 -14
  437. package/src/resources/assets/referral/referral.ts +0 -74
  438. package/src/resources/assets/referral/users.ts +0 -99
  439. package/src/resources/assets/users.ts +0 -415
  440. package/src/resources/auction-bids.ts +0 -77
  441. package/src/resources/drip/drip.ts +0 -21
  442. package/src/resources/drip/index.ts +0 -5
  443. package/src/resources/drip/quests.ts +0 -5
  444. package/src/resources/drip/status.ts +0 -5
  445. package/src/resources/loyalty/transaction-entries/accounts.ts +0 -251
  446. package/src/resources/loyalty/transaction-entries/index.ts +0 -34
  447. package/src/resources/loyalty/transaction-entries/transaction-entries.ts +0 -525
  448. package/src/resources/users/wallets.ts +0 -5
  449. /package/resources/{assets/referral → referral}/index.js +0 -0
@@ -1,57 +0,0 @@
1
- import { APIResource } from "../../../resource.js";
2
- import * as Core from "../../../core.js";
3
- export declare class Users extends APIResource {
4
- /**
5
- * This endpoint allows you to create a referral user
6
- */
7
- createReferralUser(body: UserCreateReferralUserParams, options?: Core.RequestOptions): Core.APIPromise<UserCreateReferralUserResponse>;
8
- /**
9
- * This endpoint allows you to get referrals
10
- */
11
- getReferrals(query: UserGetReferralsParams, options?: Core.RequestOptions): Core.APIPromise<UserGetReferralsResponse>;
12
- }
13
- export interface UserCreateReferralUserResponse {
14
- message: string;
15
- }
16
- export interface UserGetReferralsResponse {
17
- data: Array<UserGetReferralsResponse.Data>;
18
- hasNextPage: boolean;
19
- }
20
- export declare namespace UserGetReferralsResponse {
21
- interface Data {
22
- id: string;
23
- referralCode: Data.ReferralCode;
24
- user: Data.User;
25
- }
26
- namespace Data {
27
- interface ReferralCode {
28
- id: string;
29
- createdAt: string;
30
- deletedAt: string | null;
31
- referralCode: string;
32
- updatedAt: string;
33
- userId: string;
34
- }
35
- interface User {
36
- id: string;
37
- walletAddress: string;
38
- }
39
- }
40
- }
41
- export interface UserCreateReferralUserParams {
42
- userIds: Array<string>;
43
- referralCode?: string;
44
- referralCodeId?: string;
45
- }
46
- export interface UserGetReferralsParams {
47
- walletAddress: string | Array<string>;
48
- includeEligibility?: boolean | null;
49
- limit?: number;
50
- organizationId?: string;
51
- startingAfter?: string;
52
- websiteId?: string;
53
- }
54
- export declare namespace Users {
55
- export { type UserCreateReferralUserResponse as UserCreateReferralUserResponse, type UserGetReferralsResponse as UserGetReferralsResponse, type UserCreateReferralUserParams as UserCreateReferralUserParams, type UserGetReferralsParams as UserGetReferralsParams, };
56
- }
57
- //# sourceMappingURL=users.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/resources/assets/referral/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AAEtC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,kBAAkB,CAChB,IAAI,EAAE,4BAA4B,EAClC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,8BAA8B,CAAC;IAIlD;;OAEG;IACH,YAAY,CACV,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;CAG7C;AAED,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,KAAK,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAE3C,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAEhC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;KACjB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,YAAY;YAC3B,EAAE,EAAE,MAAM,CAAC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AAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,YAAY,CACV,KAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AApBD,sBAoBC"}
@@ -1,17 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../resource.mjs";
3
- export class Users extends APIResource {
4
- /**
5
- * This endpoint allows you to create a referral user
6
- */
7
- createReferralUser(body, options) {
8
- return this._client.post('/api/referral/users', { body, ...options });
9
- }
10
- /**
11
- * This endpoint allows you to get referrals
12
- */
13
- getReferrals(query, options) {
14
- return this._client.get('/api/referral/users', { query, ...options });
15
- }
16
- }
17
- //# sourceMappingURL=users.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../../src/resources/assets/referral/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,kBAAkB,CAChB,IAAkC,EAClC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,YAAY,CACV,KAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
@@ -1,285 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
3
- export declare class Users extends APIResource {
4
- /**
5
- * This endpoint allows you to create a user
6
- */
7
- connectUser(body: UserConnectUserParams, options?: Core.RequestOptions): Core.APIPromise<UserConnectUserResponse>;
8
- /**
9
- * This endpoint allows you to disconnect a user from another user
10
- */
11
- disconnectUser(body: UserDisconnectUserParams, options?: Core.RequestOptions): Core.APIPromise<unknown>;
12
- /**
13
- * This endpoint returns the total user count
14
- */
15
- getUserCount(query: UserGetUserCountParams, options?: Core.RequestOptions): Core.APIPromise<UserGetUserCountResponse>;
16
- /**
17
- * This endpoint allows you to get users
18
- */
19
- getUsers(query?: UserGetUsersParams, options?: Core.RequestOptions): Core.APIPromise<UserGetUsersResponse>;
20
- getUsers(options?: Core.RequestOptions): Core.APIPromise<UserGetUsersResponse>;
21
- }
22
- export interface UserConnectUserResponse {
23
- /**
24
- * The ID of the user
25
- */
26
- id: string;
27
- /**
28
- * Timestamp when the user was created
29
- */
30
- createdAt: string;
31
- /**
32
- * Timestamp when the user was last updated
33
- */
34
- updatedAt: string;
35
- /**
36
- * The wallet address of the user
37
- */
38
- walletAddress: string;
39
- }
40
- export type UserDisconnectUserResponse = unknown;
41
- /**
42
- * Schema for counting users response
43
- */
44
- export interface UserGetUserCountResponse {
45
- /**
46
- * Total count of users
47
- */
48
- totalCount: number;
49
- }
50
- export interface UserGetUsersResponse {
51
- /**
52
- * Schema for users response
53
- */
54
- data: Array<UserGetUsersResponse.Data>;
55
- }
56
- export declare namespace UserGetUsersResponse {
57
- interface Data {
58
- id: string;
59
- isSnagSuperAdmin: boolean;
60
- walletAddress: string;
61
- /**
62
- * The followers of the user, only returned if includeFollow is true
63
- */
64
- _count?: Data._Count | null;
65
- /**
66
- * The delegations from the user, only returned if includeDelegation is true
67
- */
68
- delegationsFrom?: Array<Data.DelegationsFrom> | null;
69
- /**
70
- * The followers of the user, only returned if includeFollow is true and the user
71
- * is querying their own user
72
- */
73
- followers?: Array<Data.Follower> | null;
74
- /**
75
- * Whether the user has notifications enabled, only returned if
76
- * includeNotifications is true
77
- */
78
- notifications?: boolean;
79
- privyUserId?: string | null;
80
- stardustProfileId?: string | null;
81
- temporaryLoyaltyUser?: boolean | null;
82
- userMetadata?: Array<Data.UserMetadata> | null;
83
- }
84
- namespace Data {
85
- /**
86
- * The followers of the user, only returned if includeFollow is true
87
- */
88
- interface _Count {
89
- select: _Count.Select;
90
- }
91
- namespace _Count {
92
- interface Select {
93
- followers: number;
94
- follows: number;
95
- }
96
- }
97
- interface DelegationsFrom {
98
- walletAddress: string;
99
- }
100
- interface Follower {
101
- userId: string;
102
- }
103
- interface UserMetadata {
104
- bio?: string | null;
105
- discordUser?: string | null;
106
- discordVerifiedAt?: string | null;
107
- displayName?: string | null;
108
- /**
109
- * The email address of the user, only returned if the user is querying their own
110
- * user
111
- */
112
- emailAddress?: string | null;
113
- emailVerifiedAt?: string | null;
114
- epicAccountIdentifier?: string | null;
115
- epicUsername?: string | null;
116
- instagramUser?: string | null;
117
- instagramVerifiedAt?: string | null;
118
- isBlocked?: boolean | null;
119
- location?: string | null;
120
- logoUrl?: string | null;
121
- meta?: string | null;
122
- portfolioUrl?: string | null;
123
- steamUserId?: string | null;
124
- steamUsername?: string | null;
125
- telegramUserId?: string | null;
126
- telegramUsername?: string | null;
127
- telegramVerifiedAt?: string | null;
128
- twitterUser?: string | null;
129
- twitterUserFollowersCount?: number | null;
130
- twitterVerifiedAt?: string | null;
131
- userGroupId?: string | null;
132
- walletGroupIdentifier?: string | null;
133
- }
134
- }
135
- }
136
- export interface UserConnectUserParams {
137
- /**
138
- * The ID of the organization
139
- */
140
- organizationId: string;
141
- /**
142
- * The wallet address of the user
143
- */
144
- walletAddress: string;
145
- walletType: 'evm' | 'solana' | 'imx' | 'sui' | 'ton';
146
- /**
147
- * The ID of the website
148
- */
149
- websiteId: string;
150
- /**
151
- * Whether to confirm the disconnect
152
- */
153
- confirmDisconnect?: boolean;
154
- /**
155
- * The ID of the user to whome this wallet is being connected
156
- */
157
- userId?: string;
158
- /**
159
- * The verification data of the user walletAddress
160
- */
161
- verificationData?: UserConnectUserParams.VerificationData;
162
- }
163
- export declare namespace UserConnectUserParams {
164
- /**
165
- * The verification data of the user walletAddress
166
- */
167
- interface VerificationData {
168
- accessToken?: string;
169
- message?: string;
170
- signature?: string;
171
- tonVerification?: VerificationData.TonVerification;
172
- }
173
- namespace VerificationData {
174
- interface TonVerification {
175
- account: TonVerification.Account;
176
- proof: TonVerification.Proof;
177
- }
178
- namespace TonVerification {
179
- interface Account {
180
- address: string;
181
- chain: '-239' | '-3';
182
- publicKey: string;
183
- walletStateInit?: string;
184
- }
185
- interface Proof {
186
- domain: Proof.Domain;
187
- payload: string;
188
- signature: string;
189
- timestamp: number;
190
- state_init?: string;
191
- }
192
- namespace Proof {
193
- interface Domain {
194
- lengthBytes: number;
195
- value: string;
196
- }
197
- }
198
- }
199
- }
200
- }
201
- export interface UserDisconnectUserParams {
202
- organizationId: string;
203
- userId: string;
204
- websiteId: string;
205
- }
206
- export interface UserGetUserCountParams {
207
- /**
208
- * The ID of the organization
209
- */
210
- organizationId: string;
211
- /**
212
- * The ID of the website
213
- */
214
- websiteId: string;
215
- }
216
- export interface UserGetUsersParams {
217
- /**
218
- * The address of the user
219
- */
220
- address?: string;
221
- /**
222
- * Discord username of the user
223
- */
224
- discordUser?: string;
225
- /**
226
- * Whether to include delegations in the response
227
- */
228
- includeDelegation?: boolean | null;
229
- /**
230
- * Whether to include followers in the response
231
- */
232
- includeFollow?: boolean | null;
233
- /**
234
- * Number of users to return
235
- */
236
- limit?: number;
237
- /**
238
- * The ID of the organization
239
- */
240
- organizationId?: string;
241
- /**
242
- * Pagination cursor to start after a specific user ID
243
- */
244
- startingAfter?: string;
245
- /**
246
- * Steam username of the user
247
- */
248
- steamUsername?: string;
249
- /**
250
- * Telegram ID of the user
251
- */
252
- telegramUserId?: string;
253
- /**
254
- * Telegram username of the user
255
- */
256
- telegramUsername?: string;
257
- /**
258
- * Twitter username of the user
259
- */
260
- twitterUser?: string;
261
- /**
262
- * External identifier for the user group controlled by you
263
- */
264
- userGroupExternalIdentifier?: string;
265
- /**
266
- * The ID of the user group
267
- */
268
- userGroupId?: string;
269
- /**
270
- * The ID of the user
271
- */
272
- userId?: string | Array<string>;
273
- /**
274
- * The wallet address of the user
275
- */
276
- walletAddress?: string;
277
- /**
278
- * The ID of the website
279
- */
280
- websiteId?: string;
281
- }
282
- export declare namespace Users {
283
- export { type UserConnectUserResponse as UserConnectUserResponse, type UserDisconnectUserResponse as UserDisconnectUserResponse, type UserGetUserCountResponse as UserGetUserCountResponse, type UserGetUsersResponse as UserGetUsersResponse, type UserConnectUserParams as UserConnectUserParams, type UserDisconnectUserParams as UserDisconnectUserParams, type UserGetUserCountParams as UserGetUserCountParams, type UserGetUsersParams as UserGetUsersParams, };
284
- }
285
- //# sourceMappingURL=users.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/resources/assets/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,WAAW,CACT,IAAI,EAAE,qBAAqB,EAC3B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAI3C;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;IAIvG;;OAEG;IACH,YAAY,CACV,KAAK,EAAE,sBAAsB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAI5C;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;IAC1G,QAAQ,CAAC,OAAO,CAA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IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -1,34 +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.Users = void 0;
5
- const resource_1 = require("../../resource.js");
6
- const core_1 = require("../../core.js");
7
- class Users extends resource_1.APIResource {
8
- /**
9
- * This endpoint allows you to create a user
10
- */
11
- connectUser(body, options) {
12
- return this._client.post('/api/users/connect', { body, ...options });
13
- }
14
- /**
15
- * This endpoint allows you to disconnect a user from another user
16
- */
17
- disconnectUser(body, options) {
18
- return this._client.post('/api/users/disconnect', { body, ...options });
19
- }
20
- /**
21
- * This endpoint returns the total user count
22
- */
23
- getUserCount(query, options) {
24
- return this._client.get('/api/users/count', { query, ...options });
25
- }
26
- getUsers(query = {}, options) {
27
- if ((0, core_1.isRequestOptions)(query)) {
28
- return this.getUsers({}, query);
29
- }
30
- return this._client.get('/api/users', { query, ...options });
31
- }
32
- }
33
- exports.Users = Users;
34
- //# sourceMappingURL=users.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.js","sourceRoot":"","sources":["../../src/resources/assets/users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAC7C,wCAA8C;AAG9C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,WAAW,CACT,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,IAA8B,EAAE,OAA6B;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,YAAY,CACV,KAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAOD,QAAQ,CACN,QAAkD,EAAE,EACpD,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,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF;AA1CD,sBA0CC"}
@@ -1,30 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- import { isRequestOptions } from "../../core.mjs";
4
- export class Users extends APIResource {
5
- /**
6
- * This endpoint allows you to create a user
7
- */
8
- connectUser(body, options) {
9
- return this._client.post('/api/users/connect', { body, ...options });
10
- }
11
- /**
12
- * This endpoint allows you to disconnect a user from another user
13
- */
14
- disconnectUser(body, options) {
15
- return this._client.post('/api/users/disconnect', { body, ...options });
16
- }
17
- /**
18
- * This endpoint returns the total user count
19
- */
20
- getUserCount(query, options) {
21
- return this._client.get('/api/users/count', { query, ...options });
22
- }
23
- getUsers(query = {}, options) {
24
- if (isRequestOptions(query)) {
25
- return this.getUsers({}, query);
26
- }
27
- return this._client.get('/api/users', { query, ...options });
28
- }
29
- }
30
- //# sourceMappingURL=users.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"users.mjs","sourceRoot":"","sources":["../../src/resources/assets/users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;AAG3B,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,WAAW,CACT,IAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,cAAc,CAAC,IAA8B,EAAE,OAA6B;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,YAAY,CACV,KAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAOD,QAAQ,CACN,QAAkD,EAAE,EACpD,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,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/D,CAAC;CACF"}
@@ -1,73 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
3
- export declare class WebsiteCollections extends APIResource {
4
- /**
5
- * Creates a new collection under a website
6
- */
7
- createWebsiteCollection(body: WebsiteCollectionCreateWebsiteCollectionParams, options?: Core.RequestOptions): Core.APIPromise<void>;
8
- /**
9
- * Retrieves collections for a specific website.
10
- */
11
- getWebsiteCollections(query: WebsiteCollectionGetWebsiteCollectionsParams, options?: Core.RequestOptions): Core.APIPromise<WebsiteCollectionGetWebsiteCollectionsResponse>;
12
- }
13
- /**
14
- * Response schema for fetching website collections
15
- */
16
- export interface WebsiteCollectionGetWebsiteCollectionsResponse {
17
- /**
18
- * Array of websites
19
- */
20
- data: Array<WebsiteCollectionGetWebsiteCollectionsResponse.Data>;
21
- /**
22
- * Indicates if more pages are available
23
- */
24
- hasNextPage: boolean;
25
- }
26
- export declare namespace WebsiteCollectionGetWebsiteCollectionsResponse {
27
- interface Data {
28
- /**
29
- * Website Collection ID
30
- */
31
- id: string;
32
- }
33
- }
34
- export interface WebsiteCollectionCreateWebsiteCollectionParams {
35
- collectionAddress: string;
36
- name: string;
37
- network: 'mainnet' | 'polygon' | 'polygon_mumbai' | 'optimism' | 'arbitrum' | 'binance' | 'bscTestnet' | 'avalanche' | 'avalancheFuji' | 'zksync' | 'fantom' | 'fantomTestnet' | 'base' | 'baseSepolia' | 'skaleNebula' | 'xai' | 'berachainArtio' | 'solana' | 'apechain' | 'flowMainnet' | 'campTestnet' | 'sui' | 'vanar' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli';
38
- organizationId: string;
39
- sortId: number;
40
- websiteId: string;
41
- discordUrl?: string;
42
- homeUrl?: string;
43
- imageUrl?: string | null;
44
- instagramUsername?: string;
45
- royaltyFee?: number | null;
46
- royaltyFeeAddress?: string | null;
47
- stakingAddress?: string;
48
- telegramUrl?: string;
49
- themeId?: string;
50
- twitterUsername?: string;
51
- }
52
- export interface WebsiteCollectionGetWebsiteCollectionsParams {
53
- /**
54
- * Filter by website ID
55
- */
56
- websiteId: string;
57
- /**
58
- * Number of items to return
59
- */
60
- limit?: number;
61
- /**
62
- * Filter by organization ID
63
- */
64
- organizationId?: string;
65
- /**
66
- * Pagination cursor, start after this ID
67
- */
68
- startingAfter?: string;
69
- }
70
- export declare namespace WebsiteCollections {
71
- export { type WebsiteCollectionGetWebsiteCollectionsResponse as WebsiteCollectionGetWebsiteCollectionsResponse, type WebsiteCollectionCreateWebsiteCollectionParams as WebsiteCollectionCreateWebsiteCollectionParams, type WebsiteCollectionGetWebsiteCollectionsParams as WebsiteCollectionGetWebsiteCollectionsParams, };
72
- }
73
- //# sourceMappingURL=website-collections.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"website-collections.d.ts","sourceRoot":"","sources":["../../src/resources/assets/website-collections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AAEnC,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,uBAAuB,CACrB,IAAI,EAAE,8CAA8C,EACpD,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;IAQxB;;OAEG;IACH,qBAAqB,CACnB,KAAK,EAAE,4CAA4C,EACnD,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,8CAA8C,CAAC;CAGnE;AAED;;GAEG;AACH,MAAM,WAAW,8CAA8C;IAC7D;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,8CAA8C,CA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E,MAAM,CAAC;IAEf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,4CAA4C,IAAI,4CAA4C,GAClG,CAAC;CACH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"website-collections.js","sourceRoot":"","sources":["../../src/resources/assets/website-collections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAG7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;OAEG;IACH,uBAAuB,CACrB,IAAoD,EACpD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAmD,EACnD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AAxBD,gDAwBC"}
@@ -1,21 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../resource.mjs";
3
- export class WebsiteCollections extends APIResource {
4
- /**
5
- * Creates a new collection under a website
6
- */
7
- createWebsiteCollection(body, options) {
8
- return this._client.post('/api/website_collections', {
9
- body,
10
- ...options,
11
- headers: { Accept: '*/*', ...options?.headers },
12
- });
13
- }
14
- /**
15
- * Retrieves collections for a specific website.
16
- */
17
- getWebsiteCollections(query, options) {
18
- return this._client.get('/api/website_collections', { query, ...options });
19
- }
20
- }
21
- //# sourceMappingURL=website-collections.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"website-collections.mjs","sourceRoot":"","sources":["../../src/resources/assets/website-collections.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAGtB,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,uBAAuB,CACrB,IAAoD,EACpD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE;YACnD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE;SAChD,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,qBAAqB,CACnB,KAAmD,EACnD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF"}
@@ -1,73 +0,0 @@
1
- import { APIResource } from "../../resource.js";
2
- import * as Core from "../../core.js";
3
- export declare class WebsiteUserRoles extends APIResource {
4
- /**
5
- * Assign roles to users for a specific website
6
- */
7
- assignRolesToUsers(body: WebsiteUserRoleAssignRolesToUsersParams, options?: Core.RequestOptions): Core.APIPromise<WebsiteUserRoleAssignRolesToUsersResponse>;
8
- /**
9
- * Retrieves roles of users for a specific website. If userId is provided,
10
- * retrieves the role of that specific user for the website.
11
- */
12
- getWebsiteUserRoles(query: WebsiteUserRoleGetWebsiteUserRolesParams, options?: Core.RequestOptions): Core.APIPromise<WebsiteUserRoleGetWebsiteUserRolesResponse>;
13
- }
14
- /**
15
- * Schema for postWebsiteUserRoles response
16
- */
17
- export interface WebsiteUserRoleAssignRolesToUsersResponse {
18
- data?: unknown;
19
- }
20
- /**
21
- * Schema for getWebsiteUserRoles response
22
- */
23
- export interface WebsiteUserRoleGetWebsiteUserRolesResponse {
24
- data: Array<WebsiteUserRoleGetWebsiteUserRolesResponse.Data>;
25
- }
26
- export declare namespace WebsiteUserRoleGetWebsiteUserRolesResponse {
27
- interface Data {
28
- /**
29
- * UUID of the website user role
30
- */
31
- id: string;
32
- }
33
- }
34
- export interface WebsiteUserRoleAssignRolesToUsersParams {
35
- /**
36
- * UUID of the website
37
- */
38
- websiteId: string;
39
- /**
40
- * Array of website user roles
41
- */
42
- websiteUserRoles: Array<WebsiteUserRoleAssignRolesToUsersParams.WebsiteUserRole>;
43
- }
44
- export declare namespace WebsiteUserRoleAssignRolesToUsersParams {
45
- interface WebsiteUserRole {
46
- /**
47
- * Role type of the user
48
- */
49
- roleType: 'WEBSITE_SUPER_ADMIN' | 'WEBSITE_ADMIN' | 'WEBSITE_MODERATOR' | 'WEBSITE_API_KEY' | 'STRATUS_API_KEY';
50
- /**
51
- * Wallet address of the user
52
- */
53
- walletAddress: string;
54
- /**
55
- * Deletion date of the user role
56
- */
57
- deletedAt?: string;
58
- }
59
- }
60
- export interface WebsiteUserRoleGetWebsiteUserRolesParams {
61
- /**
62
- * UUID of the website
63
- */
64
- websiteId: string;
65
- /**
66
- * UUID of the user
67
- */
68
- userId?: string;
69
- }
70
- export declare namespace WebsiteUserRoles {
71
- export { type WebsiteUserRoleAssignRolesToUsersResponse as WebsiteUserRoleAssignRolesToUsersResponse, type WebsiteUserRoleGetWebsiteUserRolesResponse as WebsiteUserRoleGetWebsiteUserRolesResponse, type WebsiteUserRoleAssignRolesToUsersParams as WebsiteUserRoleAssignRolesToUsersParams, type WebsiteUserRoleGetWebsiteUserRolesParams as WebsiteUserRoleGetWebsiteUserRolesParams, };
72
- }
73
- //# sourceMappingURL=website-user-roles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"website-user-roles.d.ts","sourceRoot":"","sources":["../../src/resources/assets/website-user-roles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM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AAgB,CAAC;IACxC,OAAO,EACL,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,0CAA0C,IAAI,0CAA0C,EAC7F,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,wCAAwC,IAAI,wCAAwC,GAC1F,CAAC;CACH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"website-user-roles.js","sourceRoot":"","sources":["../../src/resources/assets/website-user-roles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAG7C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,kBAAkB,CAChB,IAA6C,EAC7C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;OAGG;IACH,mBAAmB,CACjB,KAA+C,EAC/C,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;CACF;AArBD,4CAqBC"}