@snagsolutions/sdk 0.1.0-alpha.13 → 0.1.0-alpha.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/README.md +22 -14
  3. package/core.d.ts.map +1 -1
  4. package/core.js +14 -7
  5. package/core.js.map +1 -1
  6. package/core.mjs +14 -7
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +11 -26
  9. package/index.d.ts +11 -26
  10. package/index.d.ts.map +1 -1
  11. package/index.js +8 -23
  12. package/index.js.map +1 -1
  13. package/index.mjs +8 -23
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/api/api.d.ts +365 -0
  17. package/resources/api/api.d.ts.map +1 -0
  18. package/resources/api/api.js +94 -0
  19. package/resources/api/api.js.map +1 -0
  20. package/resources/api/api.mjs +67 -0
  21. package/resources/api/api.mjs.map +1 -0
  22. package/resources/api/index.d.ts +9 -0
  23. package/resources/api/index.d.ts.map +1 -0
  24. package/resources/api/index.js +21 -0
  25. package/resources/api/index.js.map +1 -0
  26. package/resources/api/index.mjs +10 -0
  27. package/resources/api/index.mjs.map +1 -0
  28. package/resources/{loyalty → api/loyalty}/accounts.d.ts +44 -6
  29. package/resources/api/loyalty/accounts.d.ts.map +1 -0
  30. package/resources/api/loyalty/accounts.js +24 -0
  31. package/resources/api/loyalty/accounts.js.map +1 -0
  32. package/resources/api/loyalty/accounts.mjs +20 -0
  33. package/resources/api/loyalty/accounts.mjs.map +1 -0
  34. package/resources/api/loyalty/badges.d.ts +870 -0
  35. package/resources/api/loyalty/badges.d.ts.map +1 -0
  36. package/resources/{loyalty → api/loyalty}/badges.js +2 -2
  37. package/resources/api/loyalty/badges.js.map +1 -0
  38. package/resources/{loyalty → api/loyalty}/badges.mjs +2 -2
  39. package/resources/api/loyalty/badges.mjs.map +1 -0
  40. package/resources/{loyalty → api/loyalty}/currencies.d.ts +3 -9
  41. package/resources/api/loyalty/currencies.d.ts.map +1 -0
  42. package/resources/{loyalty → api/loyalty}/currencies.js +1 -1
  43. package/resources/api/loyalty/currencies.js.map +1 -0
  44. package/resources/{loyalty → api/loyalty}/currencies.mjs +1 -1
  45. package/resources/api/loyalty/currencies.mjs.map +1 -0
  46. package/resources/api/loyalty/index.d.ts +10 -0
  47. package/resources/api/loyalty/index.d.ts.map +1 -0
  48. package/resources/{loyalty → api/loyalty}/index.js +5 -3
  49. package/resources/api/loyalty/index.js.map +1 -0
  50. package/resources/{loyalty → api/loyalty}/index.mjs +4 -3
  51. package/resources/api/loyalty/index.mjs.map +1 -0
  52. package/resources/api/loyalty/loyalty.d.ts +807 -0
  53. package/resources/api/loyalty/loyalty.d.ts.map +1 -0
  54. package/resources/{loyalty → api/loyalty}/loyalty.js +36 -13
  55. package/resources/api/loyalty/loyalty.js.map +1 -0
  56. package/resources/api/loyalty/loyalty.mjs +59 -0
  57. package/resources/api/loyalty/loyalty.mjs.map +1 -0
  58. package/resources/{loyalty → api/loyalty}/multipliers.d.ts +36 -4
  59. package/resources/api/loyalty/multipliers.d.ts.map +1 -0
  60. package/resources/{loyalty → api/loyalty}/multipliers.js +8 -2
  61. package/resources/api/loyalty/multipliers.js.map +1 -0
  62. package/resources/{loyalty → api/loyalty}/multipliers.mjs +8 -2
  63. package/resources/api/loyalty/multipliers.mjs.map +1 -0
  64. package/resources/api/loyalty/questions-responses.d.ts +97 -0
  65. package/resources/api/loyalty/questions-responses.d.ts.map +1 -0
  66. package/resources/api/loyalty/questions-responses.js +22 -0
  67. package/resources/api/loyalty/questions-responses.js.map +1 -0
  68. package/resources/api/loyalty/questions-responses.mjs +18 -0
  69. package/resources/api/loyalty/questions-responses.mjs.map +1 -0
  70. package/resources/api/loyalty/questions.d.ts +150 -0
  71. package/resources/api/loyalty/questions.d.ts.map +1 -0
  72. package/resources/api/loyalty/questions.js +27 -0
  73. package/resources/api/loyalty/questions.js.map +1 -0
  74. package/resources/api/loyalty/questions.mjs +23 -0
  75. package/resources/api/loyalty/questions.mjs.map +1 -0
  76. package/resources/{loyalty → api/loyalty}/rule-edits.d.ts +9 -9
  77. package/resources/api/loyalty/rule-edits.d.ts.map +1 -0
  78. package/resources/{loyalty → api/loyalty}/rule-edits.js +3 -3
  79. package/resources/api/loyalty/rule-edits.js.map +1 -0
  80. package/resources/{loyalty → api/loyalty}/rule-edits.mjs +3 -3
  81. package/resources/api/loyalty/rule-edits.mjs.map +1 -0
  82. package/resources/{loyalty → api/loyalty}/rules.d.ts +167 -90
  83. package/resources/api/loyalty/rules.d.ts.map +1 -0
  84. package/resources/{loyalty → api/loyalty}/rules.js +3 -3
  85. package/resources/api/loyalty/rules.js.map +1 -0
  86. package/resources/{loyalty → api/loyalty}/rules.mjs +3 -3
  87. package/resources/api/loyalty/rules.mjs.map +1 -0
  88. package/resources/api/loyalty.d.ts +2 -0
  89. package/resources/api/loyalty.d.ts.map +1 -0
  90. package/resources/api/loyalty.js +19 -0
  91. package/resources/api/loyalty.js.map +1 -0
  92. package/resources/api/loyalty.mjs +3 -0
  93. package/resources/api/loyalty.mjs.map +1 -0
  94. package/resources/api/minting.d.ts +95 -0
  95. package/resources/api/minting.d.ts.map +1 -0
  96. package/resources/api/minting.js +15 -0
  97. package/resources/api/minting.js.map +1 -0
  98. package/resources/api/minting.mjs +11 -0
  99. package/resources/api/minting.mjs.map +1 -0
  100. package/resources/api/referral/index.d.ts +3 -0
  101. package/resources/api/referral/index.d.ts.map +1 -0
  102. package/resources/api/referral/index.js +9 -0
  103. package/resources/api/referral/index.js.map +1 -0
  104. package/resources/api/referral/index.mjs +4 -0
  105. package/resources/api/referral/index.mjs.map +1 -0
  106. package/resources/api/referral/referral.d.ts +31 -0
  107. package/resources/api/referral/referral.d.ts.map +1 -0
  108. package/resources/{drip/drip.js → api/referral/referral.js} +16 -13
  109. package/resources/api/referral/referral.js.map +1 -0
  110. package/resources/api/referral/referral.mjs +19 -0
  111. package/resources/api/referral/referral.mjs.map +1 -0
  112. package/resources/api/referral/users.d.ts +57 -0
  113. package/resources/api/referral/users.d.ts.map +1 -0
  114. package/resources/api/referral/users.js +21 -0
  115. package/resources/api/referral/users.js.map +1 -0
  116. package/resources/api/referral/users.mjs +17 -0
  117. package/resources/api/referral/users.mjs.map +1 -0
  118. package/resources/api/referral.d.ts +2 -0
  119. package/resources/api/referral.d.ts.map +1 -0
  120. package/resources/api/referral.js +19 -0
  121. package/resources/api/referral.js.map +1 -0
  122. package/resources/api/referral.mjs +3 -0
  123. package/resources/api/referral.mjs.map +1 -0
  124. package/resources/api/users/index.d.ts +3 -0
  125. package/resources/api/users/index.d.ts.map +1 -0
  126. package/resources/{users → api/users}/index.js +1 -3
  127. package/resources/api/users/index.js.map +1 -0
  128. package/resources/api/users/index.mjs +4 -0
  129. package/resources/api/users/index.mjs.map +1 -0
  130. package/resources/api/users/metadatas.d.ts +137 -0
  131. package/resources/api/users/metadatas.d.ts.map +1 -0
  132. package/resources/{users → api/users}/metadatas.js +8 -2
  133. package/resources/api/users/metadatas.js.map +1 -0
  134. package/resources/api/users/metadatas.mjs +18 -0
  135. package/resources/api/users/metadatas.mjs.map +1 -0
  136. package/resources/api/users/users.d.ts +133 -0
  137. package/resources/api/users/users.d.ts.map +1 -0
  138. package/resources/{users → api/users}/users.js +19 -5
  139. package/resources/api/users/users.js.map +1 -0
  140. package/resources/api/users/users.mjs +30 -0
  141. package/resources/api/users/users.mjs.map +1 -0
  142. package/resources/api/users.d.ts +2 -0
  143. package/resources/api/users.d.ts.map +1 -0
  144. package/resources/api/users.js +19 -0
  145. package/resources/api/users.js.map +1 -0
  146. package/resources/api/users.mjs +3 -0
  147. package/resources/api/users.mjs.map +1 -0
  148. package/resources/api/website-collections.d.ts +73 -0
  149. package/resources/api/website-collections.d.ts.map +1 -0
  150. package/resources/api/website-collections.js +25 -0
  151. package/resources/api/website-collections.js.map +1 -0
  152. package/resources/api/website-collections.mjs +21 -0
  153. package/resources/api/website-collections.mjs.map +1 -0
  154. package/resources/api/website-user-roles.d.ts +73 -0
  155. package/resources/api/website-user-roles.d.ts.map +1 -0
  156. package/resources/api/website-user-roles.js +22 -0
  157. package/resources/api/website-user-roles.js.map +1 -0
  158. package/resources/api/website-user-roles.mjs +18 -0
  159. package/resources/api/website-user-roles.mjs.map +1 -0
  160. package/resources/{websites.d.ts → api/websites.d.ts} +2 -2
  161. package/resources/api/websites.d.ts.map +1 -0
  162. package/resources/{websites.js → api/websites.js} +2 -2
  163. package/resources/api/websites.js.map +1 -0
  164. package/resources/{websites.mjs → api/websites.mjs} +2 -2
  165. package/resources/api/websites.mjs.map +1 -0
  166. package/resources/api.d.ts +2 -0
  167. package/resources/api.d.ts.map +1 -0
  168. package/resources/api.js +19 -0
  169. package/resources/api.js.map +1 -0
  170. package/resources/api.mjs +3 -0
  171. package/resources/api.mjs.map +1 -0
  172. package/resources/index.d.ts +1 -6
  173. package/resources/index.d.ts.map +1 -1
  174. package/resources/index.js +3 -13
  175. package/resources/index.js.map +1 -1
  176. package/resources/index.mjs +1 -6
  177. package/resources/index.mjs.map +1 -1
  178. package/resources.d.ts +2 -0
  179. package/resources.d.ts.map +1 -0
  180. package/resources.js +18 -0
  181. package/resources.js.map +1 -0
  182. package/resources.mjs +2 -0
  183. package/resources.mjs.map +1 -0
  184. package/src/core.ts +16 -8
  185. package/src/index.ts +28 -57
  186. package/src/resources/api/api.ts +629 -0
  187. package/src/resources/api/index.ts +51 -0
  188. package/src/resources/{loyalty → api/loyalty}/accounts.ts +65 -8
  189. package/src/resources/api/loyalty/badges.ts +1142 -0
  190. package/src/resources/{loyalty → api/loyalty}/currencies.ts +3 -9
  191. package/src/resources/{loyalty → api/loyalty}/index.ts +38 -11
  192. package/src/resources/api/loyalty/loyalty.ts +1297 -0
  193. package/src/resources/{loyalty → api/loyalty}/multipliers.ts +61 -4
  194. package/src/resources/api/loyalty/questions-responses.ts +146 -0
  195. package/src/resources/api/loyalty/questions.ts +208 -0
  196. package/src/resources/{loyalty → api/loyalty}/rule-edits.ts +11 -14
  197. package/src/resources/{loyalty → api/loyalty}/rules.ts +339 -180
  198. package/src/resources/api/loyalty.ts +3 -0
  199. package/src/resources/api/minting.ts +157 -0
  200. package/src/resources/api/referral/index.ts +10 -0
  201. package/src/resources/api/referral/referral.ts +70 -0
  202. package/src/resources/api/referral/users.ts +93 -0
  203. package/src/resources/api/referral.ts +3 -0
  204. package/src/resources/api/users/index.ts +18 -0
  205. package/src/resources/api/users/metadatas.ts +206 -0
  206. package/src/resources/api/users/users.ts +203 -0
  207. package/src/resources/api/users.ts +3 -0
  208. package/src/resources/api/website-collections.ts +148 -0
  209. package/src/resources/api/website-user-roles.ts +107 -0
  210. package/src/resources/{websites.ts → api/websites.ts} +3 -3
  211. package/src/resources/api.ts +3 -0
  212. package/src/resources/index.ts +8 -11
  213. package/src/resources.ts +1 -0
  214. package/src/version.ts +1 -1
  215. package/version.d.ts +1 -1
  216. package/version.js +1 -1
  217. package/version.mjs +1 -1
  218. package/resources/assets.d.ts +0 -50
  219. package/resources/assets.d.ts.map +0 -1
  220. package/resources/assets.js +0 -17
  221. package/resources/assets.js.map +0 -1
  222. package/resources/assets.mjs +0 -13
  223. package/resources/assets.mjs.map +0 -1
  224. package/resources/auction-bids.d.ts +0 -81
  225. package/resources/auction-bids.d.ts.map +0 -1
  226. package/resources/auction-bids.js +0 -30
  227. package/resources/auction-bids.js.map +0 -1
  228. package/resources/auction-bids.mjs +0 -26
  229. package/resources/auction-bids.mjs.map +0 -1
  230. package/resources/drip/drip.d.ts +0 -14
  231. package/resources/drip/drip.d.ts.map +0 -1
  232. package/resources/drip/drip.js.map +0 -1
  233. package/resources/drip/drip.mjs +0 -16
  234. package/resources/drip/drip.mjs.map +0 -1
  235. package/resources/drip/index.d.ts +0 -4
  236. package/resources/drip/index.d.ts.map +0 -1
  237. package/resources/drip/index.js +0 -11
  238. package/resources/drip/index.js.map +0 -1
  239. package/resources/drip/index.mjs +0 -5
  240. package/resources/drip/index.mjs.map +0 -1
  241. package/resources/drip/quests.d.ts +0 -168
  242. package/resources/drip/quests.d.ts.map +0 -1
  243. package/resources/drip/quests.js +0 -17
  244. package/resources/drip/quests.js.map +0 -1
  245. package/resources/drip/quests.mjs +0 -13
  246. package/resources/drip/quests.mjs.map +0 -1
  247. package/resources/drip/status.d.ts +0 -26
  248. package/resources/drip/status.d.ts.map +0 -1
  249. package/resources/drip/status.js +0 -16
  250. package/resources/drip/status.js.map +0 -1
  251. package/resources/drip/status.mjs +0 -12
  252. package/resources/drip/status.mjs.map +0 -1
  253. package/resources/loyalty/accounts.d.ts.map +0 -1
  254. package/resources/loyalty/accounts.js +0 -16
  255. package/resources/loyalty/accounts.js.map +0 -1
  256. package/resources/loyalty/accounts.mjs +0 -12
  257. package/resources/loyalty/accounts.mjs.map +0 -1
  258. package/resources/loyalty/badges.d.ts +0 -299
  259. package/resources/loyalty/badges.d.ts.map +0 -1
  260. package/resources/loyalty/badges.js.map +0 -1
  261. package/resources/loyalty/badges.mjs.map +0 -1
  262. package/resources/loyalty/currencies.d.ts.map +0 -1
  263. package/resources/loyalty/currencies.js.map +0 -1
  264. package/resources/loyalty/currencies.mjs.map +0 -1
  265. package/resources/loyalty/index.d.ts +0 -9
  266. package/resources/loyalty/index.d.ts.map +0 -1
  267. package/resources/loyalty/index.js.map +0 -1
  268. package/resources/loyalty/index.mjs.map +0 -1
  269. package/resources/loyalty/loyalty.d.ts +0 -34
  270. package/resources/loyalty/loyalty.d.ts.map +0 -1
  271. package/resources/loyalty/loyalty.js.map +0 -1
  272. package/resources/loyalty/loyalty.mjs +0 -36
  273. package/resources/loyalty/loyalty.mjs.map +0 -1
  274. package/resources/loyalty/multipliers.d.ts.map +0 -1
  275. package/resources/loyalty/multipliers.js.map +0 -1
  276. package/resources/loyalty/multipliers.mjs.map +0 -1
  277. package/resources/loyalty/rule-edits.d.ts.map +0 -1
  278. package/resources/loyalty/rule-edits.js.map +0 -1
  279. package/resources/loyalty/rule-edits.mjs.map +0 -1
  280. package/resources/loyalty/rules.d.ts.map +0 -1
  281. package/resources/loyalty/rules.js.map +0 -1
  282. package/resources/loyalty/rules.mjs.map +0 -1
  283. package/resources/loyalty/transaction-entries.d.ts +0 -175
  284. package/resources/loyalty/transaction-entries.d.ts.map +0 -1
  285. package/resources/loyalty/transaction-entries.js +0 -16
  286. package/resources/loyalty/transaction-entries.js.map +0 -1
  287. package/resources/loyalty/transaction-entries.mjs +0 -12
  288. package/resources/loyalty/transaction-entries.mjs.map +0 -1
  289. package/resources/users/index.d.ts +0 -4
  290. package/resources/users/index.d.ts.map +0 -1
  291. package/resources/users/index.js.map +0 -1
  292. package/resources/users/index.mjs +0 -5
  293. package/resources/users/index.mjs.map +0 -1
  294. package/resources/users/metadatas.d.ts +0 -64
  295. package/resources/users/metadatas.d.ts.map +0 -1
  296. package/resources/users/metadatas.js.map +0 -1
  297. package/resources/users/metadatas.mjs +0 -12
  298. package/resources/users/metadatas.mjs.map +0 -1
  299. package/resources/users/users.d.ts +0 -14
  300. package/resources/users/users.d.ts.map +0 -1
  301. package/resources/users/users.js.map +0 -1
  302. package/resources/users/users.mjs +0 -16
  303. package/resources/users/users.mjs.map +0 -1
  304. package/resources/users/wallets.d.ts +0 -193
  305. package/resources/users/wallets.d.ts.map +0 -1
  306. package/resources/users/wallets.js +0 -28
  307. package/resources/users/wallets.js.map +0 -1
  308. package/resources/users/wallets.mjs +0 -24
  309. package/resources/users/wallets.mjs.map +0 -1
  310. package/resources/websites.d.ts.map +0 -1
  311. package/resources/websites.js.map +0 -1
  312. package/resources/websites.mjs.map +0 -1
  313. package/src/resources/assets.ts +0 -71
  314. package/src/resources/auction-bids.ts +0 -123
  315. package/src/resources/drip/drip.ts +0 -25
  316. package/src/resources/drip/index.ts +0 -5
  317. package/src/resources/drip/quests.ts +0 -210
  318. package/src/resources/drip/status.ts +0 -33
  319. package/src/resources/loyalty/badges.ts +0 -435
  320. package/src/resources/loyalty/loyalty.ts +0 -159
  321. package/src/resources/loyalty/transaction-entries.ts +0 -229
  322. package/src/resources/users/index.ts +0 -12
  323. package/src/resources/users/metadatas.ts +0 -103
  324. package/src/resources/users/users.ts +0 -39
  325. package/src/resources/users/wallets.ts +0 -271
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- import { APIResource } from '../../resource';
4
- import { isRequestOptions } from '../../core';
5
- import * as Core from '../../core';
3
+ import { APIResource } from '../../../resource';
4
+ import { isRequestOptions } from '../../../core';
5
+ import * as Core from '../../../core';
6
6
 
7
7
  export class Rules extends APIResource {
8
8
  /**
@@ -47,10 +47,10 @@ export class Rules extends APIResource {
47
47
 
48
48
  /**
49
49
  * Verify a loyalty rule based on user action and reward them if applicable. This
50
- * endpoint currenlty onlu supports following rule types code_entry, text_input,
50
+ * endpoint currently only supports following rule types code_entry, text_input,
51
51
  * link_click, discord_member, connect_wallet, check_in, external_rule,
52
52
  * drip_x_follow, drip_x_new_tweet, drip_x_text_in_bio, drip_x_text_in_name,
53
- * drip_x_text_in_comment, drip_x_tweet, telegram_join
53
+ * drip_x_text_in_comment, drip_x_tweet, telegram_join, DiscordMessages
54
54
  */
55
55
  complete(
56
56
  id: string,
@@ -72,7 +72,10 @@ export class Rules extends APIResource {
72
72
  /**
73
73
  * This will return the processing status of quests for a specific user
74
74
  */
75
- status(query: RuleStatusParams, options?: Core.RequestOptions): Core.APIPromise<RuleStatusResponse> {
75
+ getStatus(
76
+ query: RuleGetStatusParams,
77
+ options?: Core.RequestOptions,
78
+ ): Core.APIPromise<RuleGetStatusResponse> {
76
79
  return this._client.get('/api/loyalty/rules/status', { query, ...options });
77
80
  }
78
81
  }
@@ -184,7 +187,9 @@ export interface RuleCreateResponse {
184
187
  | 'twitter_follow'
185
188
  | 'twitter_followers'
186
189
  | 'twitter_like'
187
- | 'twitter_post_hashtag';
190
+ | 'twitter_post_hashtag'
191
+ | 'quiz'
192
+ | 'poll';
188
193
 
189
194
  /**
190
195
  * Unique identifier for the associated website
@@ -229,7 +234,7 @@ export interface RuleCreateResponse {
229
234
  /**
230
235
  * Interval between rule executions
231
236
  */
232
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | null;
237
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
233
238
 
234
239
  /**
235
240
  * Whether this rule is mandatory
@@ -268,12 +273,16 @@ export interface RuleCreateResponse {
268
273
  | 'campTestnet'
269
274
  | 'sui'
270
275
  | 'vanar'
276
+ | 'superseed'
277
+ | 'superseedSepolia'
271
278
  | 'sepolia'
272
279
  | 'optimism_sepolia'
273
280
  | 'arbitrumSepolia'
274
281
  | 'goerli'
275
282
  | 'optimism_goerli'
276
- | 'arbitrumGoerli';
283
+ | 'arbitrumGoerli'
284
+ | 'basecamp'
285
+ | 'abstract';
277
286
 
278
287
  /**
279
288
  * OAuth credentials associated with the rule
@@ -441,6 +450,16 @@ export namespace RuleCreateResponse {
441
450
  */
442
451
  onlyNonListed?: boolean;
443
452
 
453
+ /**
454
+ * Indicates if only existing users are rewarded.
455
+ */
456
+ onlyRewardExistingUser?: boolean;
457
+
458
+ /**
459
+ * give points for only one token ownership per contract
460
+ */
461
+ onlyRewardSingleTokenOwnership?: boolean | null;
462
+
444
463
  /**
445
464
  * Promotional code associated with the rule.
446
465
  */
@@ -476,6 +495,11 @@ export namespace RuleCreateResponse {
476
495
  */
477
496
  secondReferralReward?: number | null;
478
497
 
498
+ /**
499
+ * Flag indicating if the multiplier is skipped.
500
+ */
501
+ skipMultiplier?: boolean | null;
502
+
479
503
  /**
480
504
  * Object containing details of the associated smart contract.
481
505
  */
@@ -490,14 +514,16 @@ export namespace RuleCreateResponse {
490
514
  * Social media platform associated with the rule.
491
515
  */
492
516
  socialPlatform?:
493
- | 'Twitch'
517
+ | 'Custom'
518
+ | 'Discord'
519
+ | 'EpicGames'
520
+ | 'Instagram'
521
+ | 'Steam'
522
+ | 'Telegram'
494
523
  | 'TikTok'
524
+ | 'Twitch'
495
525
  | 'X(Twitter)'
496
- | 'Instagram'
497
- | 'EpicGames'
498
526
  | 'YouTube'
499
- | 'Discord'
500
- | 'Custom'
501
527
  | null;
502
528
 
503
529
  /**
@@ -615,12 +641,16 @@ export namespace RuleCreateResponse {
615
641
  | 'campTestnet'
616
642
  | 'sui'
617
643
  | 'vanar'
644
+ | 'superseed'
645
+ | 'superseedSepolia'
618
646
  | 'sepolia'
619
647
  | 'optimism_sepolia'
620
648
  | 'arbitrumSepolia'
621
649
  | 'goerli'
622
650
  | 'optimism_goerli'
623
- | 'arbitrumGoerli';
651
+ | 'arbitrumGoerli'
652
+ | 'basecamp'
653
+ | 'abstract';
624
654
  }
625
655
 
626
656
  /**
@@ -666,6 +696,11 @@ export namespace RuleCreateResponse {
666
696
  * Array of emojis used in the channel.
667
697
  */
668
698
  emojis?: Array<Channel.Emoji>;
699
+
700
+ /**
701
+ * Phrase of text to be present in the discord message
702
+ */
703
+ text?: string;
669
704
  }
670
705
 
671
706
  export namespace Channel {
@@ -924,12 +959,16 @@ export namespace RuleCreateResponse {
924
959
  | 'campTestnet'
925
960
  | 'sui'
926
961
  | 'vanar'
962
+ | 'superseed'
963
+ | 'superseedSepolia'
927
964
  | 'sepolia'
928
965
  | 'optimism_sepolia'
929
966
  | 'arbitrumSepolia'
930
967
  | 'goerli'
931
968
  | 'optimism_goerli'
932
- | 'arbitrumGoerli';
969
+ | 'arbitrumGoerli'
970
+ | 'basecamp'
971
+ | 'abstract';
933
972
  }
934
973
  }
935
974
 
@@ -941,41 +980,16 @@ export interface RuleUpdateResponse {
941
980
  */
942
981
  amount: unknown;
943
982
 
944
- /**
945
- * Effective end time of the rule
946
- */
947
- effectiveEndTime: string | null;
948
-
949
- /**
950
- * Effective start time of the rule
951
- */
952
- effectiveStartTime: string | null;
953
-
954
983
  /**
955
984
  * End time for the loyalty rule
956
985
  */
957
986
  endTime: string | null;
958
987
 
959
- /**
960
- * Frequency of the rule execution
961
- */
962
- frequency: 'none' | 'once' | 'daily' | 'weekly' | 'monthly' | 'immediately';
963
-
964
- /**
965
- * Additional metadata for the loyalty rule
966
- */
967
- metadata: RuleUpdateResponse.Metadata;
968
-
969
988
  /**
970
989
  * Name of the loyalty rule
971
990
  */
972
991
  name: string;
973
992
 
974
- /**
975
- * Start time for the loyalty rule
976
- */
977
- startTime: string | null;
978
-
979
993
  /**
980
994
  * Blockchain address of the associated collection
981
995
  */
@@ -1001,6 +1015,21 @@ export interface RuleUpdateResponse {
1001
1015
  */
1002
1016
  description?: string;
1003
1017
 
1018
+ /**
1019
+ * Effective end time of the rule
1020
+ */
1021
+ effectiveEndTime?: string | null;
1022
+
1023
+ /**
1024
+ * Effective start time of the rule
1025
+ */
1026
+ effectiveStartTime?: string | null;
1027
+
1028
+ /**
1029
+ * Frequency of the rule execution
1030
+ */
1031
+ frequency?: 'none' | 'once' | 'daily' | 'weekly' | 'monthly' | 'immediately';
1032
+
1004
1033
  /**
1005
1034
  * Whether to hide this rule in the user interface
1006
1035
  */
@@ -1009,7 +1038,7 @@ export interface RuleUpdateResponse {
1009
1038
  /**
1010
1039
  * Time interval for recurring rule execution
1011
1040
  */
1012
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | null;
1041
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
1013
1042
 
1014
1043
  /**
1015
1044
  * Whether this rule is required for participation
@@ -1021,6 +1050,11 @@ export interface RuleUpdateResponse {
1021
1050
  */
1022
1051
  loyaltyRuleGroupId?: (string & {}) | 'no-section' | null;
1023
1052
 
1053
+ /**
1054
+ * Additional metadata for the loyalty rule
1055
+ */
1056
+ metadata?: RuleUpdateResponse.Metadata;
1057
+
1024
1058
  /**
1025
1059
  * Blockchain network where the rule will apply
1026
1060
  */
@@ -1048,12 +1082,16 @@ export interface RuleUpdateResponse {
1048
1082
  | 'campTestnet'
1049
1083
  | 'sui'
1050
1084
  | 'vanar'
1085
+ | 'superseed'
1086
+ | 'superseedSepolia'
1051
1087
  | 'sepolia'
1052
1088
  | 'optimism_sepolia'
1053
1089
  | 'arbitrumSepolia'
1054
1090
  | 'goerli'
1055
1091
  | 'optimism_goerli'
1056
- | 'arbitrumGoerli';
1092
+ | 'arbitrumGoerli'
1093
+ | 'basecamp'
1094
+ | 'abstract';
1057
1095
 
1058
1096
  /**
1059
1097
  * ID for associated OAuth credentials
@@ -1065,6 +1103,11 @@ export interface RuleUpdateResponse {
1065
1103
  */
1066
1104
  rewardType?: 'points' | 'multiplier';
1067
1105
 
1106
+ /**
1107
+ * Start time for the loyalty rule
1108
+ */
1109
+ startTime?: string | null;
1110
+
1068
1111
  /**
1069
1112
  * Optional subscription identifier for the rule
1070
1113
  */
@@ -1072,6 +1115,51 @@ export interface RuleUpdateResponse {
1072
1115
  }
1073
1116
 
1074
1117
  export namespace RuleUpdateResponse {
1118
+ export interface Collection {
1119
+ /**
1120
+ * Blockchain address of the collection
1121
+ */
1122
+ address: string;
1123
+
1124
+ /**
1125
+ * Blockchain network for the collection
1126
+ */
1127
+ network:
1128
+ | 'mainnet'
1129
+ | 'polygon'
1130
+ | 'polygon_mumbai'
1131
+ | 'optimism'
1132
+ | 'arbitrum'
1133
+ | 'binance'
1134
+ | 'bscTestnet'
1135
+ | 'avalanche'
1136
+ | 'avalancheFuji'
1137
+ | 'zksync'
1138
+ | 'fantom'
1139
+ | 'fantomTestnet'
1140
+ | 'base'
1141
+ | 'baseSepolia'
1142
+ | 'skaleNebula'
1143
+ | 'xai'
1144
+ | 'berachainArtio'
1145
+ | 'solana'
1146
+ | 'apechain'
1147
+ | 'flowMainnet'
1148
+ | 'campTestnet'
1149
+ | 'sui'
1150
+ | 'vanar'
1151
+ | 'superseed'
1152
+ | 'superseedSepolia'
1153
+ | 'sepolia'
1154
+ | 'optimism_sepolia'
1155
+ | 'arbitrumSepolia'
1156
+ | 'goerli'
1157
+ | 'optimism_goerli'
1158
+ | 'arbitrumGoerli'
1159
+ | 'basecamp'
1160
+ | 'abstract';
1161
+ }
1162
+
1075
1163
  /**
1076
1164
  * Additional metadata for the loyalty rule
1077
1165
  */
@@ -1221,6 +1309,16 @@ export namespace RuleUpdateResponse {
1221
1309
  */
1222
1310
  onlyNonListed?: boolean;
1223
1311
 
1312
+ /**
1313
+ * Indicates if only existing users are rewarded.
1314
+ */
1315
+ onlyRewardExistingUser?: boolean;
1316
+
1317
+ /**
1318
+ * give points for only one token ownership per contract
1319
+ */
1320
+ onlyRewardSingleTokenOwnership?: boolean | null;
1321
+
1224
1322
  /**
1225
1323
  * Promotional code associated with the rule.
1226
1324
  */
@@ -1256,6 +1354,11 @@ export namespace RuleUpdateResponse {
1256
1354
  */
1257
1355
  secondReferralReward?: number | null;
1258
1356
 
1357
+ /**
1358
+ * Flag indicating if the multiplier is skipped.
1359
+ */
1360
+ skipMultiplier?: boolean | null;
1361
+
1259
1362
  /**
1260
1363
  * Object containing details of the associated smart contract.
1261
1364
  */
@@ -1270,14 +1373,16 @@ export namespace RuleUpdateResponse {
1270
1373
  * Social media platform associated with the rule.
1271
1374
  */
1272
1375
  socialPlatform?:
1273
- | 'Twitch'
1376
+ | 'Custom'
1377
+ | 'Discord'
1378
+ | 'EpicGames'
1379
+ | 'Instagram'
1380
+ | 'Steam'
1381
+ | 'Telegram'
1274
1382
  | 'TikTok'
1383
+ | 'Twitch'
1275
1384
  | 'X(Twitter)'
1276
- | 'Instagram'
1277
- | 'EpicGames'
1278
1385
  | 'YouTube'
1279
- | 'Discord'
1280
- | 'Custom'
1281
1386
  | null;
1282
1387
 
1283
1388
  /**
@@ -1395,12 +1500,16 @@ export namespace RuleUpdateResponse {
1395
1500
  | 'campTestnet'
1396
1501
  | 'sui'
1397
1502
  | 'vanar'
1503
+ | 'superseed'
1504
+ | 'superseedSepolia'
1398
1505
  | 'sepolia'
1399
1506
  | 'optimism_sepolia'
1400
1507
  | 'arbitrumSepolia'
1401
1508
  | 'goerli'
1402
1509
  | 'optimism_goerli'
1403
- | 'arbitrumGoerli';
1510
+ | 'arbitrumGoerli'
1511
+ | 'basecamp'
1512
+ | 'abstract';
1404
1513
  }
1405
1514
 
1406
1515
  /**
@@ -1446,6 +1555,11 @@ export namespace RuleUpdateResponse {
1446
1555
  * Array of emojis used in the channel.
1447
1556
  */
1448
1557
  emojis?: Array<Channel.Emoji>;
1558
+
1559
+ /**
1560
+ * Phrase of text to be present in the discord message
1561
+ */
1562
+ text?: string;
1449
1563
  }
1450
1564
 
1451
1565
  export namespace Channel {
@@ -1670,47 +1784,6 @@ export namespace RuleUpdateResponse {
1670
1784
  streakMilestone: number;
1671
1785
  }
1672
1786
  }
1673
-
1674
- export interface Collection {
1675
- /**
1676
- * Blockchain address of the collection
1677
- */
1678
- address: string;
1679
-
1680
- /**
1681
- * Blockchain network for the collection
1682
- */
1683
- network:
1684
- | 'mainnet'
1685
- | 'polygon'
1686
- | 'polygon_mumbai'
1687
- | 'optimism'
1688
- | 'arbitrum'
1689
- | 'binance'
1690
- | 'bscTestnet'
1691
- | 'avalanche'
1692
- | 'avalancheFuji'
1693
- | 'zksync'
1694
- | 'fantom'
1695
- | 'fantomTestnet'
1696
- | 'base'
1697
- | 'baseSepolia'
1698
- | 'skaleNebula'
1699
- | 'xai'
1700
- | 'berachainArtio'
1701
- | 'solana'
1702
- | 'apechain'
1703
- | 'flowMainnet'
1704
- | 'campTestnet'
1705
- | 'sui'
1706
- | 'vanar'
1707
- | 'sepolia'
1708
- | 'optimism_sepolia'
1709
- | 'arbitrumSepolia'
1710
- | 'goerli'
1711
- | 'optimism_goerli'
1712
- | 'arbitrumGoerli';
1713
- }
1714
1787
  }
1715
1788
 
1716
1789
  export interface RuleListResponse {
@@ -1791,11 +1864,11 @@ export interface RuleCompleteResponse {
1791
1864
  message: string;
1792
1865
  }
1793
1866
 
1794
- export interface RuleStatusResponse {
1795
- data: Array<RuleStatusResponse.Data>;
1867
+ export interface RuleGetStatusResponse {
1868
+ data: Array<RuleGetStatusResponse.Data>;
1796
1869
  }
1797
1870
 
1798
- export namespace RuleStatusResponse {
1871
+ export namespace RuleGetStatusResponse {
1799
1872
  export interface Data {
1800
1873
  loyaltyRuleId: string;
1801
1874
 
@@ -1912,7 +1985,9 @@ export interface RuleCreateParams {
1912
1985
  | 'twitter_follow'
1913
1986
  | 'twitter_followers'
1914
1987
  | 'twitter_like'
1915
- | 'twitter_post_hashtag';
1988
+ | 'twitter_post_hashtag'
1989
+ | 'quiz'
1990
+ | 'poll';
1916
1991
 
1917
1992
  /**
1918
1993
  * Unique identifier for the associated website
@@ -1957,7 +2032,7 @@ export interface RuleCreateParams {
1957
2032
  /**
1958
2033
  * Interval between rule executions
1959
2034
  */
1960
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | null;
2035
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
1961
2036
 
1962
2037
  /**
1963
2038
  * Whether this rule is mandatory
@@ -1996,12 +2071,16 @@ export interface RuleCreateParams {
1996
2071
  | 'campTestnet'
1997
2072
  | 'sui'
1998
2073
  | 'vanar'
2074
+ | 'superseed'
2075
+ | 'superseedSepolia'
1999
2076
  | 'sepolia'
2000
2077
  | 'optimism_sepolia'
2001
2078
  | 'arbitrumSepolia'
2002
2079
  | 'goerli'
2003
2080
  | 'optimism_goerli'
2004
- | 'arbitrumGoerli';
2081
+ | 'arbitrumGoerli'
2082
+ | 'basecamp'
2083
+ | 'abstract';
2005
2084
 
2006
2085
  /**
2007
2086
  * OAuth credentials associated with the rule
@@ -2169,6 +2248,16 @@ export namespace RuleCreateParams {
2169
2248
  */
2170
2249
  onlyNonListed?: boolean;
2171
2250
 
2251
+ /**
2252
+ * Indicates if only existing users are rewarded.
2253
+ */
2254
+ onlyRewardExistingUser?: boolean;
2255
+
2256
+ /**
2257
+ * give points for only one token ownership per contract
2258
+ */
2259
+ onlyRewardSingleTokenOwnership?: boolean | null;
2260
+
2172
2261
  /**
2173
2262
  * Promotional code associated with the rule.
2174
2263
  */
@@ -2204,6 +2293,11 @@ export namespace RuleCreateParams {
2204
2293
  */
2205
2294
  secondReferralReward?: number | null;
2206
2295
 
2296
+ /**
2297
+ * Flag indicating if the multiplier is skipped.
2298
+ */
2299
+ skipMultiplier?: boolean | null;
2300
+
2207
2301
  /**
2208
2302
  * Object containing details of the associated smart contract.
2209
2303
  */
@@ -2218,14 +2312,16 @@ export namespace RuleCreateParams {
2218
2312
  * Social media platform associated with the rule.
2219
2313
  */
2220
2314
  socialPlatform?:
2221
- | 'Twitch'
2315
+ | 'Custom'
2316
+ | 'Discord'
2317
+ | 'EpicGames'
2318
+ | 'Instagram'
2319
+ | 'Steam'
2320
+ | 'Telegram'
2222
2321
  | 'TikTok'
2322
+ | 'Twitch'
2223
2323
  | 'X(Twitter)'
2224
- | 'Instagram'
2225
- | 'EpicGames'
2226
2324
  | 'YouTube'
2227
- | 'Discord'
2228
- | 'Custom'
2229
2325
  | null;
2230
2326
 
2231
2327
  /**
@@ -2343,12 +2439,16 @@ export namespace RuleCreateParams {
2343
2439
  | 'campTestnet'
2344
2440
  | 'sui'
2345
2441
  | 'vanar'
2442
+ | 'superseed'
2443
+ | 'superseedSepolia'
2346
2444
  | 'sepolia'
2347
2445
  | 'optimism_sepolia'
2348
2446
  | 'arbitrumSepolia'
2349
2447
  | 'goerli'
2350
2448
  | 'optimism_goerli'
2351
- | 'arbitrumGoerli';
2449
+ | 'arbitrumGoerli'
2450
+ | 'basecamp'
2451
+ | 'abstract';
2352
2452
  }
2353
2453
 
2354
2454
  /**
@@ -2394,6 +2494,11 @@ export namespace RuleCreateParams {
2394
2494
  * Array of emojis used in the channel.
2395
2495
  */
2396
2496
  emojis?: Array<Channel.Emoji>;
2497
+
2498
+ /**
2499
+ * Phrase of text to be present in the discord message
2500
+ */
2501
+ text?: string;
2397
2502
  }
2398
2503
 
2399
2504
  export namespace Channel {
@@ -2652,12 +2757,16 @@ export namespace RuleCreateParams {
2652
2757
  | 'campTestnet'
2653
2758
  | 'sui'
2654
2759
  | 'vanar'
2760
+ | 'superseed'
2761
+ | 'superseedSepolia'
2655
2762
  | 'sepolia'
2656
2763
  | 'optimism_sepolia'
2657
2764
  | 'arbitrumSepolia'
2658
2765
  | 'goerli'
2659
2766
  | 'optimism_goerli'
2660
- | 'arbitrumGoerli';
2767
+ | 'arbitrumGoerli'
2768
+ | 'basecamp'
2769
+ | 'abstract';
2661
2770
  }
2662
2771
  }
2663
2772
 
@@ -2667,41 +2776,16 @@ export interface RuleUpdateParams {
2667
2776
  */
2668
2777
  amount: unknown;
2669
2778
 
2670
- /**
2671
- * Effective end time of the rule
2672
- */
2673
- effectiveEndTime: string | null;
2674
-
2675
- /**
2676
- * Effective start time of the rule
2677
- */
2678
- effectiveStartTime: string | null;
2679
-
2680
2779
  /**
2681
2780
  * End time for the loyalty rule
2682
2781
  */
2683
2782
  endTime: string | null;
2684
2783
 
2685
- /**
2686
- * Frequency of the rule execution
2687
- */
2688
- frequency: 'none' | 'once' | 'daily' | 'weekly' | 'monthly' | 'immediately';
2689
-
2690
- /**
2691
- * Additional metadata for the loyalty rule
2692
- */
2693
- metadata: RuleUpdateParams.Metadata;
2694
-
2695
2784
  /**
2696
2785
  * Name of the loyalty rule
2697
2786
  */
2698
2787
  name: string;
2699
2788
 
2700
- /**
2701
- * Start time for the loyalty rule
2702
- */
2703
- startTime: string | null;
2704
-
2705
2789
  /**
2706
2790
  * Blockchain address of the associated collection
2707
2791
  */
@@ -2727,6 +2811,21 @@ export interface RuleUpdateParams {
2727
2811
  */
2728
2812
  description?: string;
2729
2813
 
2814
+ /**
2815
+ * Effective end time of the rule
2816
+ */
2817
+ effectiveEndTime?: string | null;
2818
+
2819
+ /**
2820
+ * Effective start time of the rule
2821
+ */
2822
+ effectiveStartTime?: string | null;
2823
+
2824
+ /**
2825
+ * Frequency of the rule execution
2826
+ */
2827
+ frequency?: 'none' | 'once' | 'daily' | 'weekly' | 'monthly' | 'immediately';
2828
+
2730
2829
  /**
2731
2830
  * Whether to hide this rule in the user interface
2732
2831
  */
@@ -2735,7 +2834,7 @@ export interface RuleUpdateParams {
2735
2834
  /**
2736
2835
  * Time interval for recurring rule execution
2737
2836
  */
2738
- interval?: 'daily' | 'weekly' | 'monthly' | 'once' | null;
2837
+ interval?: 'daily' | 'weekly' | 'monthly' | 'once' | 'custom' | 'every_message' | null;
2739
2838
 
2740
2839
  /**
2741
2840
  * Whether this rule is required for participation
@@ -2747,6 +2846,11 @@ export interface RuleUpdateParams {
2747
2846
  */
2748
2847
  loyaltyRuleGroupId?: (string & {}) | 'no-section' | null;
2749
2848
 
2849
+ /**
2850
+ * Additional metadata for the loyalty rule
2851
+ */
2852
+ metadata?: RuleUpdateParams.Metadata;
2853
+
2750
2854
  /**
2751
2855
  * Blockchain network where the rule will apply
2752
2856
  */
@@ -2774,12 +2878,16 @@ export interface RuleUpdateParams {
2774
2878
  | 'campTestnet'
2775
2879
  | 'sui'
2776
2880
  | 'vanar'
2881
+ | 'superseed'
2882
+ | 'superseedSepolia'
2777
2883
  | 'sepolia'
2778
2884
  | 'optimism_sepolia'
2779
2885
  | 'arbitrumSepolia'
2780
2886
  | 'goerli'
2781
2887
  | 'optimism_goerli'
2782
- | 'arbitrumGoerli';
2888
+ | 'arbitrumGoerli'
2889
+ | 'basecamp'
2890
+ | 'abstract';
2783
2891
 
2784
2892
  /**
2785
2893
  * ID for associated OAuth credentials
@@ -2791,6 +2899,11 @@ export interface RuleUpdateParams {
2791
2899
  */
2792
2900
  rewardType?: 'points' | 'multiplier';
2793
2901
 
2902
+ /**
2903
+ * Start time for the loyalty rule
2904
+ */
2905
+ startTime?: string | null;
2906
+
2794
2907
  /**
2795
2908
  * Optional subscription identifier for the rule
2796
2909
  */
@@ -2798,6 +2911,51 @@ export interface RuleUpdateParams {
2798
2911
  }
2799
2912
 
2800
2913
  export namespace RuleUpdateParams {
2914
+ export interface Collection {
2915
+ /**
2916
+ * Blockchain address of the collection
2917
+ */
2918
+ address: string;
2919
+
2920
+ /**
2921
+ * Blockchain network for the collection
2922
+ */
2923
+ network:
2924
+ | 'mainnet'
2925
+ | 'polygon'
2926
+ | 'polygon_mumbai'
2927
+ | 'optimism'
2928
+ | 'arbitrum'
2929
+ | 'binance'
2930
+ | 'bscTestnet'
2931
+ | 'avalanche'
2932
+ | 'avalancheFuji'
2933
+ | 'zksync'
2934
+ | 'fantom'
2935
+ | 'fantomTestnet'
2936
+ | 'base'
2937
+ | 'baseSepolia'
2938
+ | 'skaleNebula'
2939
+ | 'xai'
2940
+ | 'berachainArtio'
2941
+ | 'solana'
2942
+ | 'apechain'
2943
+ | 'flowMainnet'
2944
+ | 'campTestnet'
2945
+ | 'sui'
2946
+ | 'vanar'
2947
+ | 'superseed'
2948
+ | 'superseedSepolia'
2949
+ | 'sepolia'
2950
+ | 'optimism_sepolia'
2951
+ | 'arbitrumSepolia'
2952
+ | 'goerli'
2953
+ | 'optimism_goerli'
2954
+ | 'arbitrumGoerli'
2955
+ | 'basecamp'
2956
+ | 'abstract';
2957
+ }
2958
+
2801
2959
  /**
2802
2960
  * Additional metadata for the loyalty rule
2803
2961
  */
@@ -2947,6 +3105,16 @@ export namespace RuleUpdateParams {
2947
3105
  */
2948
3106
  onlyNonListed?: boolean;
2949
3107
 
3108
+ /**
3109
+ * Indicates if only existing users are rewarded.
3110
+ */
3111
+ onlyRewardExistingUser?: boolean;
3112
+
3113
+ /**
3114
+ * give points for only one token ownership per contract
3115
+ */
3116
+ onlyRewardSingleTokenOwnership?: boolean | null;
3117
+
2950
3118
  /**
2951
3119
  * Promotional code associated with the rule.
2952
3120
  */
@@ -2982,6 +3150,11 @@ export namespace RuleUpdateParams {
2982
3150
  */
2983
3151
  secondReferralReward?: number | null;
2984
3152
 
3153
+ /**
3154
+ * Flag indicating if the multiplier is skipped.
3155
+ */
3156
+ skipMultiplier?: boolean | null;
3157
+
2985
3158
  /**
2986
3159
  * Object containing details of the associated smart contract.
2987
3160
  */
@@ -2996,14 +3169,16 @@ export namespace RuleUpdateParams {
2996
3169
  * Social media platform associated with the rule.
2997
3170
  */
2998
3171
  socialPlatform?:
2999
- | 'Twitch'
3172
+ | 'Custom'
3173
+ | 'Discord'
3174
+ | 'EpicGames'
3175
+ | 'Instagram'
3176
+ | 'Steam'
3177
+ | 'Telegram'
3000
3178
  | 'TikTok'
3179
+ | 'Twitch'
3001
3180
  | 'X(Twitter)'
3002
- | 'Instagram'
3003
- | 'EpicGames'
3004
3181
  | 'YouTube'
3005
- | 'Discord'
3006
- | 'Custom'
3007
3182
  | null;
3008
3183
 
3009
3184
  /**
@@ -3121,12 +3296,16 @@ export namespace RuleUpdateParams {
3121
3296
  | 'campTestnet'
3122
3297
  | 'sui'
3123
3298
  | 'vanar'
3299
+ | 'superseed'
3300
+ | 'superseedSepolia'
3124
3301
  | 'sepolia'
3125
3302
  | 'optimism_sepolia'
3126
3303
  | 'arbitrumSepolia'
3127
3304
  | 'goerli'
3128
3305
  | 'optimism_goerli'
3129
- | 'arbitrumGoerli';
3306
+ | 'arbitrumGoerli'
3307
+ | 'basecamp'
3308
+ | 'abstract';
3130
3309
  }
3131
3310
 
3132
3311
  /**
@@ -3172,6 +3351,11 @@ export namespace RuleUpdateParams {
3172
3351
  * Array of emojis used in the channel.
3173
3352
  */
3174
3353
  emojis?: Array<Channel.Emoji>;
3354
+
3355
+ /**
3356
+ * Phrase of text to be present in the discord message
3357
+ */
3358
+ text?: string;
3175
3359
  }
3176
3360
 
3177
3361
  export namespace Channel {
@@ -3396,47 +3580,6 @@ export namespace RuleUpdateParams {
3396
3580
  streakMilestone: number;
3397
3581
  }
3398
3582
  }
3399
-
3400
- export interface Collection {
3401
- /**
3402
- * Blockchain address of the collection
3403
- */
3404
- address: string;
3405
-
3406
- /**
3407
- * Blockchain network for the collection
3408
- */
3409
- network:
3410
- | 'mainnet'
3411
- | 'polygon'
3412
- | 'polygon_mumbai'
3413
- | 'optimism'
3414
- | 'arbitrum'
3415
- | 'binance'
3416
- | 'bscTestnet'
3417
- | 'avalanche'
3418
- | 'avalancheFuji'
3419
- | 'zksync'
3420
- | 'fantom'
3421
- | 'fantomTestnet'
3422
- | 'base'
3423
- | 'baseSepolia'
3424
- | 'skaleNebula'
3425
- | 'xai'
3426
- | 'berachainArtio'
3427
- | 'solana'
3428
- | 'apechain'
3429
- | 'flowMainnet'
3430
- | 'campTestnet'
3431
- | 'sui'
3432
- | 'vanar'
3433
- | 'sepolia'
3434
- | 'optimism_sepolia'
3435
- | 'arbitrumSepolia'
3436
- | 'goerli'
3437
- | 'optimism_goerli'
3438
- | 'arbitrumGoerli';
3439
- }
3440
3583
  }
3441
3584
 
3442
3585
  export interface RuleListParams {
@@ -3450,6 +3593,11 @@ export interface RuleListParams {
3450
3593
  */
3451
3594
  limit?: number;
3452
3595
 
3596
+ /**
3597
+ * ID of the loyalty rule group to filter results
3598
+ */
3599
+ loyaltyRuleGroupId?: string;
3600
+
3453
3601
  /**
3454
3602
  * Unique identifier for the organization to filter by
3455
3603
  */
@@ -3472,6 +3620,11 @@ export interface RuleCompleteParams {
3472
3620
  */
3473
3621
  commentLink?: string;
3474
3622
 
3623
+ /**
3624
+ * ID of the choice selected by the user
3625
+ */
3626
+ loyaltyQuestionChoiceId?: string;
3627
+
3475
3628
  /**
3476
3629
  * Unique identifier for the user
3477
3630
  */
@@ -3482,13 +3635,19 @@ export interface RuleCompleteParams {
3482
3635
  */
3483
3636
  verificationCode?: string;
3484
3637
 
3638
+ /**
3639
+ * Flag indicating if only verification is required, this will not create a
3640
+ * transaction and reward the user
3641
+ */
3642
+ verifyOnly?: string;
3643
+
3485
3644
  /**
3486
3645
  * Wallet address of the user can only be used if userId is not provided
3487
3646
  */
3488
3647
  walletAddress?: string;
3489
3648
  }
3490
3649
 
3491
- export interface RuleStatusParams {
3650
+ export interface RuleGetStatusParams {
3492
3651
  organizationId: string;
3493
3652
 
3494
3653
  websiteId: string;
@@ -3503,11 +3662,11 @@ export declare namespace Rules {
3503
3662
  type RuleListResponse as RuleListResponse,
3504
3663
  type RuleDeleteResponse as RuleDeleteResponse,
3505
3664
  type RuleCompleteResponse as RuleCompleteResponse,
3506
- type RuleStatusResponse as RuleStatusResponse,
3665
+ type RuleGetStatusResponse as RuleGetStatusResponse,
3507
3666
  type RuleCreateParams as RuleCreateParams,
3508
3667
  type RuleUpdateParams as RuleUpdateParams,
3509
3668
  type RuleListParams as RuleListParams,
3510
3669
  type RuleCompleteParams as RuleCompleteParams,
3511
- type RuleStatusParams as RuleStatusParams,
3670
+ type RuleGetStatusParams as RuleGetStatusParams,
3512
3671
  };
3513
3672
  }