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

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 (352) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +19 -13
  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.map +1 -1
  7. package/core.js +4 -1
  8. package/core.js.map +1 -1
  9. package/core.mjs +5 -2
  10. package/core.mjs.map +1 -1
  11. package/index.d.mts +17 -11
  12. package/index.d.ts +17 -11
  13. package/index.d.ts.map +1 -1
  14. package/index.js +14 -8
  15. package/index.js.map +1 -1
  16. package/index.mjs +15 -9
  17. package/index.mjs.map +1 -1
  18. package/package.json +8 -29
  19. package/resources/assets.d.ts +50 -0
  20. package/resources/assets.d.ts.map +1 -0
  21. package/resources/assets.js +17 -0
  22. package/resources/assets.js.map +1 -0
  23. package/resources/assets.mjs +13 -0
  24. package/resources/assets.mjs.map +1 -0
  25. package/resources/auctions.d.ts +134 -0
  26. package/resources/auctions.d.ts.map +1 -0
  27. package/resources/{auction-bids.js → auctions.js} +12 -6
  28. package/resources/auctions.js.map +1 -0
  29. package/resources/{auction-bids.mjs → auctions.mjs} +10 -4
  30. package/resources/auctions.mjs.map +1 -0
  31. package/resources/auth.d.ts +40 -0
  32. package/resources/auth.d.ts.map +1 -0
  33. package/resources/auth.js +16 -0
  34. package/resources/auth.js.map +1 -0
  35. package/resources/auth.mjs +12 -0
  36. package/resources/auth.mjs.map +1 -0
  37. package/resources/index.d.ts +7 -5
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +11 -7
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +7 -5
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/loyalty/accounts.d.ts +190 -0
  44. package/resources/loyalty/accounts.d.ts.map +1 -1
  45. package/resources/loyalty/accounts.js +15 -0
  46. package/resources/loyalty/accounts.js.map +1 -1
  47. package/resources/loyalty/accounts.mjs +15 -0
  48. package/resources/loyalty/accounts.mjs.map +1 -1
  49. package/resources/loyalty/badges.d.ts +4 -0
  50. package/resources/loyalty/badges.d.ts.map +1 -1
  51. package/resources/loyalty/currencies.d.ts +6 -0
  52. package/resources/loyalty/currencies.d.ts.map +1 -1
  53. package/resources/loyalty/index.d.ts +8 -5
  54. package/resources/loyalty/index.d.ts.map +1 -1
  55. package/resources/loyalty/index.js +9 -3
  56. package/resources/loyalty/index.js.map +1 -1
  57. package/resources/loyalty/index.mjs +5 -2
  58. package/resources/loyalty/index.mjs.map +1 -1
  59. package/resources/loyalty/loyalty.d.ts +29 -17
  60. package/resources/loyalty/loyalty.d.ts.map +1 -1
  61. package/resources/loyalty/loyalty.js +24 -12
  62. package/resources/loyalty/loyalty.js.map +1 -1
  63. package/resources/loyalty/loyalty.mjs +25 -13
  64. package/resources/loyalty/loyalty.mjs.map +1 -1
  65. package/resources/loyalty/multipliers.d.ts +37 -6
  66. package/resources/loyalty/multipliers.d.ts.map +1 -1
  67. package/resources/loyalty/multipliers.js +7 -1
  68. package/resources/loyalty/multipliers.js.map +1 -1
  69. package/resources/loyalty/multipliers.mjs +7 -1
  70. package/resources/loyalty/multipliers.mjs.map +1 -1
  71. package/resources/loyalty/{transaction-entries/questions-responses.d.ts → questions-responses.d.ts} +2 -2
  72. package/resources/loyalty/questions-responses.d.ts.map +1 -0
  73. package/resources/loyalty/{transaction-entries/questions-responses.js → questions-responses.js} +2 -2
  74. package/resources/loyalty/questions-responses.js.map +1 -0
  75. package/resources/loyalty/{transaction-entries/questions-responses.mjs → questions-responses.mjs} +2 -2
  76. package/resources/loyalty/questions-responses.mjs.map +1 -0
  77. package/resources/loyalty/{transaction-entries/questions.d.ts → questions.d.ts} +2 -2
  78. package/resources/loyalty/questions.d.ts.map +1 -0
  79. package/resources/loyalty/{transaction-entries/questions.js → questions.js} +1 -1
  80. package/resources/loyalty/questions.js.map +1 -0
  81. package/resources/loyalty/{transaction-entries/questions.mjs → questions.mjs} +1 -1
  82. package/resources/loyalty/questions.mjs.map +1 -0
  83. package/resources/loyalty/rule-edits.d.ts +6 -6
  84. package/resources/loyalty/rule-edits.d.ts.map +1 -1
  85. package/resources/loyalty/rule-edits.js +1 -1
  86. package/resources/loyalty/rule-edits.js.map +1 -1
  87. package/resources/loyalty/rule-edits.mjs +1 -1
  88. package/resources/loyalty/rule-edits.mjs.map +1 -1
  89. package/resources/loyalty/rule-groups.d.ts +559 -0
  90. package/resources/loyalty/rule-groups.d.ts.map +1 -0
  91. package/resources/loyalty/rule-groups.js +16 -0
  92. package/resources/loyalty/rule-groups.js.map +1 -0
  93. package/resources/loyalty/rule-groups.mjs +12 -0
  94. package/resources/loyalty/rule-groups.mjs.map +1 -0
  95. package/resources/loyalty/rules.d.ts +144 -23
  96. package/resources/loyalty/rules.d.ts.map +1 -1
  97. package/resources/loyalty/rules.js +1 -1
  98. package/resources/loyalty/rules.js.map +1 -1
  99. package/resources/loyalty/rules.mjs +1 -1
  100. package/resources/loyalty/rules.mjs.map +1 -1
  101. package/resources/loyalty/transactions.d.ts +248 -0
  102. package/resources/loyalty/transactions.d.ts.map +1 -0
  103. package/resources/loyalty/transactions.js +22 -0
  104. package/resources/loyalty/transactions.js.map +1 -0
  105. package/resources/loyalty/transactions.mjs +18 -0
  106. package/resources/loyalty/transactions.mjs.map +1 -0
  107. package/resources/loyalty.d.ts +2 -0
  108. package/resources/loyalty.d.ts.map +1 -0
  109. package/resources/loyalty.js +19 -0
  110. package/resources/loyalty.js.map +1 -0
  111. package/resources/loyalty.mjs +3 -0
  112. package/resources/loyalty.mjs.map +1 -0
  113. package/resources/{assets/minting.d.ts → minting.d.ts} +10 -10
  114. package/resources/minting.d.ts.map +1 -0
  115. package/resources/{assets/minting.js → minting.js} +2 -2
  116. package/resources/minting.js.map +1 -0
  117. package/resources/{assets/minting.mjs → minting.mjs} +2 -2
  118. package/resources/minting.mjs.map +1 -0
  119. package/resources/referral/index.d.ts +3 -0
  120. package/resources/referral/index.d.ts.map +1 -0
  121. package/resources/referral/index.js.map +1 -0
  122. package/resources/{assets/referral → referral}/index.mjs +1 -1
  123. package/resources/referral/index.mjs.map +1 -0
  124. package/resources/referral/referral.d.ts +31 -0
  125. package/resources/referral/referral.d.ts.map +1 -0
  126. package/resources/{assets/referral → referral}/referral.js +4 -4
  127. package/resources/referral/referral.js.map +1 -0
  128. package/resources/{assets/referral → referral}/referral.mjs +5 -5
  129. package/resources/referral/referral.mjs.map +1 -0
  130. package/resources/{assets/referral → referral}/users.d.ts +11 -11
  131. package/resources/referral/users.d.ts.map +1 -0
  132. package/resources/{assets/referral → referral}/users.js +3 -3
  133. package/resources/referral/users.js.map +1 -0
  134. package/resources/{assets/referral → referral}/users.mjs +3 -3
  135. package/resources/referral/users.mjs.map +1 -0
  136. package/resources/referral.d.ts +2 -0
  137. package/resources/referral.d.ts.map +1 -0
  138. package/resources/referral.js +19 -0
  139. package/resources/referral.js.map +1 -0
  140. package/resources/referral.mjs +3 -0
  141. package/resources/referral.mjs.map +1 -0
  142. package/resources/users/index.d.ts +2 -3
  143. package/resources/users/index.d.ts.map +1 -1
  144. package/resources/users/index.js +1 -3
  145. package/resources/users/index.js.map +1 -1
  146. package/resources/users/index.mjs +1 -2
  147. package/resources/users/index.mjs.map +1 -1
  148. package/resources/users/metadatas.d.ts +17 -7
  149. package/resources/users/metadatas.d.ts.map +1 -1
  150. package/resources/users/metadatas.js +2 -2
  151. package/resources/users/metadatas.js.map +1 -1
  152. package/resources/users/metadatas.mjs +2 -2
  153. package/resources/users/metadatas.mjs.map +1 -1
  154. package/resources/users/users.d.ts +296 -6
  155. package/resources/users/users.d.ts.map +1 -1
  156. package/resources/users/users.js +25 -4
  157. package/resources/users/users.js.map +1 -1
  158. package/resources/users/users.mjs +25 -4
  159. package/resources/users/users.mjs.map +1 -1
  160. package/resources/users.d.ts +2 -0
  161. package/resources/users.d.ts.map +1 -0
  162. package/resources/users.js +19 -0
  163. package/resources/users.js.map +1 -0
  164. package/resources/users.mjs +3 -0
  165. package/resources/users.mjs.map +1 -0
  166. package/resources/websites/index.d.ts +4 -0
  167. package/resources/websites/index.d.ts.map +1 -0
  168. package/resources/websites/index.js +11 -0
  169. package/resources/websites/index.js.map +1 -0
  170. package/resources/{assets → websites}/index.mjs +1 -4
  171. package/resources/websites/index.mjs.map +1 -0
  172. package/resources/websites/website-collections.d.ts +73 -0
  173. package/resources/websites/website-collections.d.ts.map +1 -0
  174. package/resources/{assets → websites}/website-collections.js +2 -2
  175. package/resources/websites/website-collections.js.map +1 -0
  176. package/resources/{assets → websites}/website-collections.mjs +2 -2
  177. package/resources/websites/website-collections.mjs.map +1 -0
  178. package/resources/{assets → websites}/website-user-roles.d.ts +28 -28
  179. package/resources/websites/website-user-roles.d.ts.map +1 -0
  180. package/resources/{assets → websites}/website-user-roles.js +7 -7
  181. package/resources/websites/website-user-roles.js.map +1 -0
  182. package/resources/{assets → websites}/website-user-roles.mjs +7 -7
  183. package/resources/websites/website-user-roles.mjs.map +1 -0
  184. package/resources/websites/websites.d.ts +211 -0
  185. package/resources/websites/websites.d.ts.map +1 -0
  186. package/resources/{assets/assets.js → websites/websites.js} +14 -27
  187. package/resources/websites/websites.js.map +1 -0
  188. package/resources/websites/websites.mjs +29 -0
  189. package/resources/websites/websites.mjs.map +1 -0
  190. package/resources/websites.d.ts +1 -202
  191. package/resources/websites.d.ts.map +1 -1
  192. package/resources/websites.js +15 -18
  193. package/resources/websites.js.map +1 -1
  194. package/resources/websites.mjs +1 -16
  195. package/resources/websites.mjs.map +1 -1
  196. package/resources.d.ts +2 -0
  197. package/resources.d.ts.map +1 -0
  198. package/resources.js +18 -0
  199. package/resources.js.map +1 -0
  200. package/resources.mjs +2 -0
  201. package/resources.mjs.map +1 -0
  202. package/src/_shims/index.d.ts +2 -0
  203. package/src/_shims/index.js +5 -1
  204. package/src/_shims/index.mjs +5 -1
  205. package/src/core.ts +8 -3
  206. package/src/index.ts +66 -22
  207. package/src/resources/assets.ts +77 -0
  208. package/src/resources/auctions.ts +209 -0
  209. package/src/resources/auth.ts +69 -0
  210. package/src/resources/index.ts +21 -10
  211. package/src/resources/loyalty/accounts.ts +250 -1
  212. package/src/resources/loyalty/badges.ts +5 -0
  213. package/src/resources/loyalty/currencies.ts +6 -0
  214. package/src/resources/loyalty/index.ts +40 -14
  215. package/src/resources/loyalty/loyalty.ts +129 -69
  216. package/src/resources/loyalty/multipliers.ts +44 -8
  217. package/src/resources/loyalty/{transaction-entries/questions-responses.ts → questions-responses.ts} +3 -3
  218. package/src/resources/loyalty/{transaction-entries/questions.ts → questions.ts} +2 -2
  219. package/src/resources/loyalty/rule-edits.ts +7 -10
  220. package/src/resources/loyalty/rule-groups.ts +818 -0
  221. package/src/resources/loyalty/rules.ts +406 -192
  222. package/src/resources/loyalty/transactions.ts +332 -0
  223. package/src/resources/loyalty.ts +3 -0
  224. package/src/resources/{assets/minting.ts → minting.ts} +32 -27
  225. package/src/resources/referral/index.ts +10 -0
  226. package/src/resources/referral/referral.ts +70 -0
  227. package/src/resources/{assets/referral → referral}/users.ts +14 -20
  228. package/src/resources/referral.ts +3 -0
  229. package/src/resources/users/index.ts +13 -4
  230. package/src/resources/users/metadatas.ts +26 -15
  231. package/src/resources/users/users.ts +423 -9
  232. package/src/resources/users.ts +3 -0
  233. package/src/resources/websites/index.ts +22 -0
  234. package/src/resources/{assets → websites}/website-collections.ts +32 -30
  235. package/src/resources/{assets → websites}/website-user-roles.ts +40 -40
  236. package/src/resources/websites/websites.ts +299 -0
  237. package/src/resources/websites.ts +1 -257
  238. package/src/resources.ts +1 -0
  239. package/src/version.ts +1 -1
  240. package/version.d.ts +1 -1
  241. package/version.js +1 -1
  242. package/version.mjs +1 -1
  243. package/resources/assets/assets.d.ts +0 -153
  244. package/resources/assets/assets.d.ts.map +0 -1
  245. package/resources/assets/assets.js.map +0 -1
  246. package/resources/assets/assets.mjs +0 -42
  247. package/resources/assets/assets.mjs.map +0 -1
  248. package/resources/assets/index.d.ts +0 -7
  249. package/resources/assets/index.d.ts.map +0 -1
  250. package/resources/assets/index.js +0 -17
  251. package/resources/assets/index.js.map +0 -1
  252. package/resources/assets/index.mjs.map +0 -1
  253. package/resources/assets/minting.d.ts.map +0 -1
  254. package/resources/assets/minting.js.map +0 -1
  255. package/resources/assets/minting.mjs.map +0 -1
  256. package/resources/assets/referral/index.d.ts +0 -3
  257. package/resources/assets/referral/index.d.ts.map +0 -1
  258. package/resources/assets/referral/index.js.map +0 -1
  259. package/resources/assets/referral/index.mjs.map +0 -1
  260. package/resources/assets/referral/referral.d.ts +0 -30
  261. package/resources/assets/referral/referral.d.ts.map +0 -1
  262. package/resources/assets/referral/referral.js.map +0 -1
  263. package/resources/assets/referral/referral.mjs.map +0 -1
  264. package/resources/assets/referral/users.d.ts.map +0 -1
  265. package/resources/assets/referral/users.js.map +0 -1
  266. package/resources/assets/referral/users.mjs.map +0 -1
  267. package/resources/assets/users.d.ts +0 -285
  268. package/resources/assets/users.d.ts.map +0 -1
  269. package/resources/assets/users.js +0 -34
  270. package/resources/assets/users.js.map +0 -1
  271. package/resources/assets/users.mjs +0 -30
  272. package/resources/assets/users.mjs.map +0 -1
  273. package/resources/assets/website-collections.d.ts +0 -73
  274. package/resources/assets/website-collections.d.ts.map +0 -1
  275. package/resources/assets/website-collections.js.map +0 -1
  276. package/resources/assets/website-collections.mjs.map +0 -1
  277. package/resources/assets/website-user-roles.d.ts.map +0 -1
  278. package/resources/assets/website-user-roles.js.map +0 -1
  279. package/resources/assets/website-user-roles.mjs.map +0 -1
  280. package/resources/auction-bids.d.ts +0 -51
  281. package/resources/auction-bids.d.ts.map +0 -1
  282. package/resources/auction-bids.js.map +0 -1
  283. package/resources/auction-bids.mjs.map +0 -1
  284. package/resources/drip/drip.d.ts +0 -14
  285. package/resources/drip/drip.d.ts.map +0 -1
  286. package/resources/drip/drip.js +0 -43
  287. package/resources/drip/drip.js.map +0 -1
  288. package/resources/drip/drip.mjs +0 -16
  289. package/resources/drip/drip.mjs.map +0 -1
  290. package/resources/drip/index.d.ts +0 -4
  291. package/resources/drip/index.d.ts.map +0 -1
  292. package/resources/drip/index.js +0 -11
  293. package/resources/drip/index.js.map +0 -1
  294. package/resources/drip/index.mjs +0 -5
  295. package/resources/drip/index.mjs.map +0 -1
  296. package/resources/drip/quests.d.ts +0 -4
  297. package/resources/drip/quests.d.ts.map +0 -1
  298. package/resources/drip/quests.js +0 -9
  299. package/resources/drip/quests.js.map +0 -1
  300. package/resources/drip/quests.mjs +0 -5
  301. package/resources/drip/quests.mjs.map +0 -1
  302. package/resources/drip/status.d.ts +0 -4
  303. package/resources/drip/status.d.ts.map +0 -1
  304. package/resources/drip/status.js +0 -9
  305. package/resources/drip/status.js.map +0 -1
  306. package/resources/drip/status.mjs +0 -5
  307. package/resources/drip/status.mjs.map +0 -1
  308. package/resources/loyalty/transaction-entries/accounts.d.ts +0 -191
  309. package/resources/loyalty/transaction-entries/accounts.d.ts.map +0 -1
  310. package/resources/loyalty/transaction-entries/accounts.js +0 -24
  311. package/resources/loyalty/transaction-entries/accounts.js.map +0 -1
  312. package/resources/loyalty/transaction-entries/accounts.mjs +0 -20
  313. package/resources/loyalty/transaction-entries/accounts.mjs.map +0 -1
  314. package/resources/loyalty/transaction-entries/index.d.ts +0 -5
  315. package/resources/loyalty/transaction-entries/index.d.ts.map +0 -1
  316. package/resources/loyalty/transaction-entries/index.js +0 -13
  317. package/resources/loyalty/transaction-entries/index.js.map +0 -1
  318. package/resources/loyalty/transaction-entries/index.mjs +0 -6
  319. package/resources/loyalty/transaction-entries/index.mjs.map +0 -1
  320. package/resources/loyalty/transaction-entries/questions-responses.d.ts.map +0 -1
  321. package/resources/loyalty/transaction-entries/questions-responses.js.map +0 -1
  322. package/resources/loyalty/transaction-entries/questions-responses.mjs.map +0 -1
  323. package/resources/loyalty/transaction-entries/questions.d.ts.map +0 -1
  324. package/resources/loyalty/transaction-entries/questions.js.map +0 -1
  325. package/resources/loyalty/transaction-entries/questions.mjs.map +0 -1
  326. package/resources/loyalty/transaction-entries/transaction-entries.d.ts +0 -300
  327. package/resources/loyalty/transaction-entries/transaction-entries.d.ts.map +0 -1
  328. package/resources/loyalty/transaction-entries/transaction-entries.js +0 -66
  329. package/resources/loyalty/transaction-entries/transaction-entries.js.map +0 -1
  330. package/resources/loyalty/transaction-entries/transaction-entries.mjs +0 -39
  331. package/resources/loyalty/transaction-entries/transaction-entries.mjs.map +0 -1
  332. package/resources/users/wallets.d.ts +0 -4
  333. package/resources/users/wallets.d.ts.map +0 -1
  334. package/resources/users/wallets.js +0 -9
  335. package/resources/users/wallets.js.map +0 -1
  336. package/resources/users/wallets.mjs +0 -5
  337. package/resources/users/wallets.mjs.map +0 -1
  338. package/src/resources/assets/assets.ts +0 -294
  339. package/src/resources/assets/index.ts +0 -38
  340. package/src/resources/assets/referral/index.ts +0 -14
  341. package/src/resources/assets/referral/referral.ts +0 -74
  342. package/src/resources/assets/users.ts +0 -415
  343. package/src/resources/auction-bids.ts +0 -77
  344. package/src/resources/drip/drip.ts +0 -21
  345. package/src/resources/drip/index.ts +0 -5
  346. package/src/resources/drip/quests.ts +0 -5
  347. package/src/resources/drip/status.ts +0 -5
  348. package/src/resources/loyalty/transaction-entries/accounts.ts +0 -251
  349. package/src/resources/loyalty/transaction-entries/index.ts +0 -34
  350. package/src/resources/loyalty/transaction-entries/transaction-entries.ts +0 -525
  351. package/src/resources/users/wallets.ts +0 -5
  352. /package/resources/{assets/referral → referral}/index.js +0 -0
@@ -23,14 +23,14 @@ export declare class Rules extends APIResource {
23
23
  * endpoint currently only supports following rule types code_entry, text_input,
24
24
  * link_click, discord_member, connect_wallet, check_in, external_rule,
25
25
  * drip_x_follow, drip_x_new_tweet, drip_x_text_in_bio, drip_x_text_in_name,
26
- * drip_x_text_in_comment, drip_x_tweet, telegram_join
26
+ * drip_x_text_in_comment, drip_x_tweet, telegram_join, DiscordMessages
27
27
  */
28
28
  complete(id: string, body?: RuleCompleteParams, options?: Core.RequestOptions): Core.APIPromise<RuleCompleteResponse>;
29
29
  complete(id: string, options?: Core.RequestOptions): Core.APIPromise<RuleCompleteResponse>;
30
30
  /**
31
31
  * This will return the processing status of quests for a specific user
32
32
  */
33
- status(query: RuleStatusParams, options?: Core.RequestOptions): Core.APIPromise<RuleStatusResponse>;
33
+ getStatus(query: RuleGetStatusParams, options?: Core.RequestOptions): Core.APIPromise<RuleGetStatusResponse>;
34
34
  }
35
35
  export interface RuleCreateResponse {
36
36
  id: string;
@@ -113,7 +113,7 @@ export interface RuleCreateResponse {
113
113
  /**
114
114
  * Interval between rule executions
115
115
  */
116
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | null;
116
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
117
117
  /**
118
118
  * Whether this rule is mandatory
119
119
  */
@@ -122,10 +122,14 @@ export interface RuleCreateResponse {
122
122
  * Unique identifier for the loyalty rule group
123
123
  */
124
124
  loyaltyRuleGroupId?: 'no-section' | (string & {}) | null;
125
+ /**
126
+ * URL of the media to be displayed
127
+ */
128
+ mediaUrl?: string | null;
125
129
  /**
126
130
  * Blockchain network where the rule will apply
127
131
  */
128
- 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';
132
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
129
133
  /**
130
134
  * OAuth credentials associated with the rule
131
135
  */
@@ -168,6 +172,10 @@ export declare namespace RuleCreateResponse {
168
172
  * Array of collections associated with the rule.
169
173
  */
170
174
  collection?: Array<Metadata.Collection>;
175
+ /**
176
+ * Conditions for completing the profile.
177
+ */
178
+ completeProfileConditions?: Record<string, boolean> | null;
171
179
  /**
172
180
  * Object containing details for the call-to-action.
173
181
  */
@@ -196,14 +204,26 @@ export declare namespace RuleCreateResponse {
196
204
  * Flag indicating whether the verified multiplier is enabled.
197
205
  */
198
206
  enableVerifiedMultiplier?: boolean;
207
+ /**
208
+ * Fill source of the order for the token sale
209
+ */
210
+ fillSource?: string;
199
211
  /**
200
212
  * Percentage reward given to a user for their first referral.
201
213
  */
202
214
  firstReferralReward?: number | null;
215
+ /**
216
+ * Flag indicating whether the fill source is included.
217
+ */
218
+ hasFillSource?: boolean;
203
219
  /**
204
220
  * Indicates if the item has never been sold.
205
221
  */
206
222
  hasNeverSold?: boolean;
223
+ /**
224
+ * Flag indicating whether the order source is included.
225
+ */
226
+ hasOrderSource?: boolean;
207
227
  /**
208
228
  * Indicates if the full royalty has been paid for items.
209
229
  */
@@ -260,10 +280,18 @@ export declare namespace RuleCreateResponse {
260
280
  * Flag indicating whether to include only non-listed items.
261
281
  */
262
282
  onlyNonListed?: boolean;
283
+ /**
284
+ * Indicates if only existing users are rewarded.
285
+ */
286
+ onlyRewardExistingUser?: boolean;
263
287
  /**
264
288
  * give points for only one token ownership per contract
265
289
  */
266
290
  onlyRewardSingleTokenOwnership?: boolean | null;
291
+ /**
292
+ * Order source of the order for the token sale
293
+ */
294
+ orderSource?: string;
267
295
  /**
268
296
  * Promotional code associated with the rule.
269
297
  */
@@ -382,7 +410,7 @@ export declare namespace RuleCreateResponse {
382
410
  /**
383
411
  * Blockchain network of the collection.
384
412
  */
385
- 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';
413
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
386
414
  }
387
415
  /**
388
416
  * Object containing details for the call-to-action.
@@ -620,7 +648,7 @@ export declare namespace RuleCreateResponse {
620
648
  /**
621
649
  * Blockchain network for the collection
622
650
  */
623
- 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';
651
+ network: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
624
652
  }
625
653
  }
626
654
  export interface RuleUpdateResponse {
@@ -676,7 +704,7 @@ export interface RuleUpdateResponse {
676
704
  /**
677
705
  * Time interval for recurring rule execution
678
706
  */
679
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | null;
707
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
680
708
  /**
681
709
  * Whether this rule is required for participation
682
710
  */
@@ -685,6 +713,10 @@ export interface RuleUpdateResponse {
685
713
  * ID of the rule group section to associate with the rule
686
714
  */
687
715
  loyaltyRuleGroupId?: (string & {}) | 'no-section' | null;
716
+ /**
717
+ * URL of the media to be displayed
718
+ */
719
+ mediaUrl?: string | null;
688
720
  /**
689
721
  * Additional metadata for the loyalty rule
690
722
  */
@@ -692,7 +724,7 @@ export interface RuleUpdateResponse {
692
724
  /**
693
725
  * Blockchain network where the rule will apply
694
726
  */
695
- 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';
727
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
696
728
  /**
697
729
  * ID for associated OAuth credentials
698
730
  */
@@ -719,7 +751,7 @@ export declare namespace RuleUpdateResponse {
719
751
  /**
720
752
  * Blockchain network for the collection
721
753
  */
722
- 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';
754
+ network: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
723
755
  }
724
756
  /**
725
757
  * Additional metadata for the loyalty rule
@@ -749,6 +781,10 @@ export declare namespace RuleUpdateResponse {
749
781
  * Array of collections associated with the rule.
750
782
  */
751
783
  collection?: Array<Metadata.Collection>;
784
+ /**
785
+ * Conditions for completing the profile.
786
+ */
787
+ completeProfileConditions?: Record<string, boolean> | null;
752
788
  /**
753
789
  * Object containing details for the call-to-action.
754
790
  */
@@ -777,14 +813,26 @@ export declare namespace RuleUpdateResponse {
777
813
  * Flag indicating whether the verified multiplier is enabled.
778
814
  */
779
815
  enableVerifiedMultiplier?: boolean;
816
+ /**
817
+ * Fill source of the order for the token sale
818
+ */
819
+ fillSource?: string;
780
820
  /**
781
821
  * Percentage reward given to a user for their first referral.
782
822
  */
783
823
  firstReferralReward?: number | null;
824
+ /**
825
+ * Flag indicating whether the fill source is included.
826
+ */
827
+ hasFillSource?: boolean;
784
828
  /**
785
829
  * Indicates if the item has never been sold.
786
830
  */
787
831
  hasNeverSold?: boolean;
832
+ /**
833
+ * Flag indicating whether the order source is included.
834
+ */
835
+ hasOrderSource?: boolean;
788
836
  /**
789
837
  * Indicates if the full royalty has been paid for items.
790
838
  */
@@ -841,10 +889,18 @@ export declare namespace RuleUpdateResponse {
841
889
  * Flag indicating whether to include only non-listed items.
842
890
  */
843
891
  onlyNonListed?: boolean;
892
+ /**
893
+ * Indicates if only existing users are rewarded.
894
+ */
895
+ onlyRewardExistingUser?: boolean;
844
896
  /**
845
897
  * give points for only one token ownership per contract
846
898
  */
847
899
  onlyRewardSingleTokenOwnership?: boolean | null;
900
+ /**
901
+ * Order source of the order for the token sale
902
+ */
903
+ orderSource?: string;
848
904
  /**
849
905
  * Promotional code associated with the rule.
850
906
  */
@@ -963,7 +1019,7 @@ export declare namespace RuleUpdateResponse {
963
1019
  /**
964
1020
  * Blockchain network of the collection.
965
1021
  */
966
- 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';
1022
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
967
1023
  }
968
1024
  /**
969
1025
  * Object containing details for the call-to-action.
@@ -1256,10 +1312,10 @@ export interface RuleDeleteResponse {
1256
1312
  export interface RuleCompleteResponse {
1257
1313
  message: string;
1258
1314
  }
1259
- export interface RuleStatusResponse {
1260
- data: Array<RuleStatusResponse.Data>;
1315
+ export interface RuleGetStatusResponse {
1316
+ data: Array<RuleGetStatusResponse.Data>;
1261
1317
  }
1262
- export declare namespace RuleStatusResponse {
1318
+ export declare namespace RuleGetStatusResponse {
1263
1319
  interface Data {
1264
1320
  loyaltyRuleId: string;
1265
1321
  status: 'pending' | 'processing' | 'completed' | 'failed';
@@ -1347,7 +1403,7 @@ export interface RuleCreateParams {
1347
1403
  /**
1348
1404
  * Interval between rule executions
1349
1405
  */
1350
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | null;
1406
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
1351
1407
  /**
1352
1408
  * Whether this rule is mandatory
1353
1409
  */
@@ -1356,10 +1412,14 @@ export interface RuleCreateParams {
1356
1412
  * Unique identifier for the loyalty rule group
1357
1413
  */
1358
1414
  loyaltyRuleGroupId?: 'no-section' | (string & {}) | null;
1415
+ /**
1416
+ * URL of the media to be displayed
1417
+ */
1418
+ mediaUrl?: string | null;
1359
1419
  /**
1360
1420
  * Blockchain network where the rule will apply
1361
1421
  */
1362
- 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';
1422
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
1363
1423
  /**
1364
1424
  * OAuth credentials associated with the rule
1365
1425
  */
@@ -1402,6 +1462,10 @@ export declare namespace RuleCreateParams {
1402
1462
  * Array of collections associated with the rule.
1403
1463
  */
1404
1464
  collection?: Array<Metadata.Collection>;
1465
+ /**
1466
+ * Conditions for completing the profile.
1467
+ */
1468
+ completeProfileConditions?: Record<string, boolean> | null;
1405
1469
  /**
1406
1470
  * Object containing details for the call-to-action.
1407
1471
  */
@@ -1430,14 +1494,26 @@ export declare namespace RuleCreateParams {
1430
1494
  * Flag indicating whether the verified multiplier is enabled.
1431
1495
  */
1432
1496
  enableVerifiedMultiplier?: boolean;
1497
+ /**
1498
+ * Fill source of the order for the token sale
1499
+ */
1500
+ fillSource?: string;
1433
1501
  /**
1434
1502
  * Percentage reward given to a user for their first referral.
1435
1503
  */
1436
1504
  firstReferralReward?: number | null;
1505
+ /**
1506
+ * Flag indicating whether the fill source is included.
1507
+ */
1508
+ hasFillSource?: boolean;
1437
1509
  /**
1438
1510
  * Indicates if the item has never been sold.
1439
1511
  */
1440
1512
  hasNeverSold?: boolean;
1513
+ /**
1514
+ * Flag indicating whether the order source is included.
1515
+ */
1516
+ hasOrderSource?: boolean;
1441
1517
  /**
1442
1518
  * Indicates if the full royalty has been paid for items.
1443
1519
  */
@@ -1494,10 +1570,18 @@ export declare namespace RuleCreateParams {
1494
1570
  * Flag indicating whether to include only non-listed items.
1495
1571
  */
1496
1572
  onlyNonListed?: boolean;
1573
+ /**
1574
+ * Indicates if only existing users are rewarded.
1575
+ */
1576
+ onlyRewardExistingUser?: boolean;
1497
1577
  /**
1498
1578
  * give points for only one token ownership per contract
1499
1579
  */
1500
1580
  onlyRewardSingleTokenOwnership?: boolean | null;
1581
+ /**
1582
+ * Order source of the order for the token sale
1583
+ */
1584
+ orderSource?: string;
1501
1585
  /**
1502
1586
  * Promotional code associated with the rule.
1503
1587
  */
@@ -1616,7 +1700,7 @@ export declare namespace RuleCreateParams {
1616
1700
  /**
1617
1701
  * Blockchain network of the collection.
1618
1702
  */
1619
- 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';
1703
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
1620
1704
  }
1621
1705
  /**
1622
1706
  * Object containing details for the call-to-action.
@@ -1854,7 +1938,7 @@ export declare namespace RuleCreateParams {
1854
1938
  /**
1855
1939
  * Blockchain network for the collection
1856
1940
  */
1857
- 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';
1941
+ network: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
1858
1942
  }
1859
1943
  }
1860
1944
  export interface RuleUpdateParams {
@@ -1909,7 +1993,7 @@ export interface RuleUpdateParams {
1909
1993
  /**
1910
1994
  * Time interval for recurring rule execution
1911
1995
  */
1912
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | null;
1996
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
1913
1997
  /**
1914
1998
  * Whether this rule is required for participation
1915
1999
  */
@@ -1918,6 +2002,10 @@ export interface RuleUpdateParams {
1918
2002
  * ID of the rule group section to associate with the rule
1919
2003
  */
1920
2004
  loyaltyRuleGroupId?: (string & {}) | 'no-section' | null;
2005
+ /**
2006
+ * URL of the media to be displayed
2007
+ */
2008
+ mediaUrl?: string | null;
1921
2009
  /**
1922
2010
  * Additional metadata for the loyalty rule
1923
2011
  */
@@ -1925,7 +2013,7 @@ export interface RuleUpdateParams {
1925
2013
  /**
1926
2014
  * Blockchain network where the rule will apply
1927
2015
  */
1928
- 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';
2016
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
1929
2017
  /**
1930
2018
  * ID for associated OAuth credentials
1931
2019
  */
@@ -1952,7 +2040,7 @@ export declare namespace RuleUpdateParams {
1952
2040
  /**
1953
2041
  * Blockchain network for the collection
1954
2042
  */
1955
- 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';
2043
+ network: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
1956
2044
  }
1957
2045
  /**
1958
2046
  * Additional metadata for the loyalty rule
@@ -1982,6 +2070,10 @@ export declare namespace RuleUpdateParams {
1982
2070
  * Array of collections associated with the rule.
1983
2071
  */
1984
2072
  collection?: Array<Metadata.Collection>;
2073
+ /**
2074
+ * Conditions for completing the profile.
2075
+ */
2076
+ completeProfileConditions?: Record<string, boolean> | null;
1985
2077
  /**
1986
2078
  * Object containing details for the call-to-action.
1987
2079
  */
@@ -2010,14 +2102,26 @@ export declare namespace RuleUpdateParams {
2010
2102
  * Flag indicating whether the verified multiplier is enabled.
2011
2103
  */
2012
2104
  enableVerifiedMultiplier?: boolean;
2105
+ /**
2106
+ * Fill source of the order for the token sale
2107
+ */
2108
+ fillSource?: string;
2013
2109
  /**
2014
2110
  * Percentage reward given to a user for their first referral.
2015
2111
  */
2016
2112
  firstReferralReward?: number | null;
2113
+ /**
2114
+ * Flag indicating whether the fill source is included.
2115
+ */
2116
+ hasFillSource?: boolean;
2017
2117
  /**
2018
2118
  * Indicates if the item has never been sold.
2019
2119
  */
2020
2120
  hasNeverSold?: boolean;
2121
+ /**
2122
+ * Flag indicating whether the order source is included.
2123
+ */
2124
+ hasOrderSource?: boolean;
2021
2125
  /**
2022
2126
  * Indicates if the full royalty has been paid for items.
2023
2127
  */
@@ -2074,10 +2178,18 @@ export declare namespace RuleUpdateParams {
2074
2178
  * Flag indicating whether to include only non-listed items.
2075
2179
  */
2076
2180
  onlyNonListed?: boolean;
2181
+ /**
2182
+ * Indicates if only existing users are rewarded.
2183
+ */
2184
+ onlyRewardExistingUser?: boolean;
2077
2185
  /**
2078
2186
  * give points for only one token ownership per contract
2079
2187
  */
2080
2188
  onlyRewardSingleTokenOwnership?: boolean | null;
2189
+ /**
2190
+ * Order source of the order for the token sale
2191
+ */
2192
+ orderSource?: string;
2081
2193
  /**
2082
2194
  * Promotional code associated with the rule.
2083
2195
  */
@@ -2196,7 +2308,7 @@ export declare namespace RuleUpdateParams {
2196
2308
  /**
2197
2309
  * Blockchain network of the collection.
2198
2310
  */
2199
- 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';
2311
+ network?: 'apechain' | 'arbitrum' | 'avalanche' | 'avalancheFuji' | 'base' | 'baseSepolia' | 'berachainArtio' | 'binance' | 'bscTestnet' | 'campTestnet' | 'fantom' | 'fantomTestnet' | 'flowMainnet' | 'mainnet' | 'optimism' | 'polygon' | 'polygon_mumbai' | 'skaleNebula' | 'solana' | 'sophon' | 'sui' | 'superseed' | 'superseedSepolia' | 'vanar' | 'xai' | 'zksync' | 'sepolia' | 'optimism_sepolia' | 'arbitrumSepolia' | 'goerli' | 'optimism_goerli' | 'arbitrumGoerli' | 'basecamp' | 'abstract';
2200
2312
  }
2201
2313
  /**
2202
2314
  * Object containing details for the call-to-action.
@@ -2440,6 +2552,10 @@ export interface RuleListParams {
2440
2552
  * ID of the loyalty rule group to filter results
2441
2553
  */
2442
2554
  loyaltyRuleGroupId?: string;
2555
+ /**
2556
+ * The IDs of the loyalty rule
2557
+ */
2558
+ loyaltyRuleId?: string | Array<string>;
2443
2559
  /**
2444
2560
  * Unique identifier for the organization to filter by
2445
2561
  */
@@ -2454,6 +2570,11 @@ export interface RuleListParams {
2454
2570
  websiteId?: string;
2455
2571
  }
2456
2572
  export interface RuleCompleteParams {
2573
+ /**
2574
+ * Override amount for the reward (rounded to nearest whole number). This will
2575
+ * override the rule amount and reward the integer passed.
2576
+ */
2577
+ amount?: number | null;
2457
2578
  /**
2458
2579
  * Link to the comment made by user
2459
2580
  */
@@ -2480,12 +2601,12 @@ export interface RuleCompleteParams {
2480
2601
  */
2481
2602
  walletAddress?: string;
2482
2603
  }
2483
- export interface RuleStatusParams {
2604
+ export interface RuleGetStatusParams {
2484
2605
  organizationId: string;
2485
2606
  websiteId: string;
2486
2607
  userId?: string;
2487
2608
  }
2488
2609
  export declare namespace Rules {
2489
- export { type RuleCreateResponse as RuleCreateResponse, type RuleUpdateResponse as RuleUpdateResponse, type RuleListResponse as RuleListResponse, type RuleDeleteResponse as RuleDeleteResponse, type RuleCompleteResponse as RuleCompleteResponse, type RuleStatusResponse as RuleStatusResponse, type RuleCreateParams as RuleCreateParams, type RuleUpdateParams as RuleUpdateParams, type RuleListParams as RuleListParams, type RuleCompleteParams as RuleCompleteParams, type RuleStatusParams as RuleStatusParams, };
2610
+ export { type RuleCreateResponse as RuleCreateResponse, type RuleUpdateResponse as RuleUpdateResponse, type RuleListResponse as RuleListResponse, type RuleDeleteResponse as RuleDeleteResponse, type RuleCompleteResponse as RuleCompleteResponse, type RuleGetStatusResponse as RuleGetStatusResponse, type RuleCreateParams as RuleCreateParams, type RuleUpdateParams as RuleUpdateParams, type RuleListParams as RuleListParams, type RuleCompleteParams as RuleCompleteParams, type RuleGetStatusParams as RuleGetStatusParams, };
2490
2611
  }
2491
2612
  //# sourceMappingURL=rules.d.ts.map