@snagsolutions/sdk 0.1.0-alpha.54 → 0.1.0-alpha.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/resources/loyalty/rule-edits.d.ts +36 -4
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +10 -2
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +136 -10
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.d.ts +86 -2
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.js.map +1 -1
- package/resources/loyalty/transactions/transactions.mjs.map +1 -1
- package/src/resources/loyalty/rule-edits.ts +44 -0
- package/src/resources/loyalty/rule-groups.ts +14 -1
- package/src/resources/loyalty/rules.ts +171 -5
- package/src/resources/loyalty/transactions/transactions.ts +109 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -145,9 +145,92 @@ export declare namespace TransactionGetTransactionEntriesResponse {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
export interface TransactionListRuleChainsResponse {
|
|
148
|
-
data: Array<
|
|
148
|
+
data: Array<TransactionListRuleChainsResponse.Data>;
|
|
149
149
|
hasNextPage: boolean;
|
|
150
150
|
}
|
|
151
|
+
export declare namespace TransactionListRuleChainsResponse {
|
|
152
|
+
interface Data {
|
|
153
|
+
/**
|
|
154
|
+
* Unique identifier for the rule chain
|
|
155
|
+
*/
|
|
156
|
+
id: string;
|
|
157
|
+
loyaltyConditions: Array<Data.LoyaltyCondition>;
|
|
158
|
+
/**
|
|
159
|
+
* Unique identifier for the loyalty rule
|
|
160
|
+
*/
|
|
161
|
+
loyaltyRuleId: string;
|
|
162
|
+
/**
|
|
163
|
+
* Name of the rule chain
|
|
164
|
+
*/
|
|
165
|
+
name: string;
|
|
166
|
+
}
|
|
167
|
+
namespace Data {
|
|
168
|
+
interface LoyaltyCondition {
|
|
169
|
+
/**
|
|
170
|
+
* Unique identifier for the condition
|
|
171
|
+
*/
|
|
172
|
+
id: string;
|
|
173
|
+
/**
|
|
174
|
+
* Amount of the condition
|
|
175
|
+
*/
|
|
176
|
+
amount: number | null;
|
|
177
|
+
association: Array<LoyaltyCondition.Association>;
|
|
178
|
+
/**
|
|
179
|
+
* URL of the CSV file
|
|
180
|
+
*/
|
|
181
|
+
csvUrl: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* Description of the condition
|
|
184
|
+
*/
|
|
185
|
+
description: string | null;
|
|
186
|
+
/**
|
|
187
|
+
* Number of times the condition must be met
|
|
188
|
+
*/
|
|
189
|
+
repeatCount: number | null;
|
|
190
|
+
/**
|
|
191
|
+
* Number of times the condition must be met
|
|
192
|
+
*/
|
|
193
|
+
requiredCount: number | null;
|
|
194
|
+
/**
|
|
195
|
+
* Type of the condition
|
|
196
|
+
*/
|
|
197
|
+
type: 'rule' | 'rules' | 'points' | 'section' | 'level' | 'api' | 'badge' | 'badges' | 'csv';
|
|
198
|
+
}
|
|
199
|
+
namespace LoyaltyCondition {
|
|
200
|
+
interface Association {
|
|
201
|
+
/**
|
|
202
|
+
* Unique identifier for the association
|
|
203
|
+
*/
|
|
204
|
+
id: string;
|
|
205
|
+
/**
|
|
206
|
+
* Unique identifier for the loyalty badge
|
|
207
|
+
*/
|
|
208
|
+
loyaltyBadgeId: string | null;
|
|
209
|
+
/**
|
|
210
|
+
* Unique identifier for the loyalty currency
|
|
211
|
+
*/
|
|
212
|
+
loyaltyCurrencyId: string | null;
|
|
213
|
+
loyaltyRule: Association.LoyaltyRule | null;
|
|
214
|
+
/**
|
|
215
|
+
* Unique identifier for the loyalty rule group
|
|
216
|
+
*/
|
|
217
|
+
loyaltyRuleGroupId: string | null;
|
|
218
|
+
/**
|
|
219
|
+
* Unique identifier for the loyalty rule
|
|
220
|
+
*/
|
|
221
|
+
loyaltyRuleId: string | null;
|
|
222
|
+
}
|
|
223
|
+
namespace Association {
|
|
224
|
+
interface LoyaltyRule {
|
|
225
|
+
/**
|
|
226
|
+
* Name of the loyalty rule
|
|
227
|
+
*/
|
|
228
|
+
name: string;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
151
234
|
export interface TransactionCreateTransactionParams {
|
|
152
235
|
/**
|
|
153
236
|
* Description of the loyalty transaction
|
|
@@ -201,6 +284,7 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
201
284
|
* Direction of the transaction entry to filter by
|
|
202
285
|
*/
|
|
203
286
|
direction?: 'credit' | 'debit';
|
|
287
|
+
excludeDeletedCurrency?: 'true' | 'false';
|
|
204
288
|
/**
|
|
205
289
|
* Key to ensure idempotency of the request
|
|
206
290
|
*/
|
|
@@ -217,7 +301,7 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
217
301
|
* Unique identifier for the loyalty rule to filter by
|
|
218
302
|
*/
|
|
219
303
|
loyaltyRuleId?: string;
|
|
220
|
-
loyaltyRuleType?: 'Bonus' | 'BoughtOn' | 'BoughtWithRoyalties' | 'DiscordMessages' | 'Listing' | 'Lodging' | 'MintOn' | 'PoapClaim' | 'SnagSocialsConnected' | 'SnapshotFullset' | 'SnapshotHold' | 'SoldOn' | 'SoldWithRoyalties' | 'TokenHold' | 'TwitterBio' | 'TwitterHashTagPost' | 'Retweet' | 'check_in' | 'code_entry' | 'connect_wallet' | 'connected_discord' | 'connected_email' | 'connected_epic' | 'connected_steam' | 'connected_telegram' | 'connected_twitter' | 'create_partner_account' | 'discord_member' | 'drip_x_follow' | 'drip_x_new_tweet' | 'drip_x_text_in_bio' | 'drip_x_text_in_comment' | 'drip_x_text_in_name' | 'drip_x_tweet' | 'external_rule' | 'link_click' | 'manual_upload' | 'profile_completed' | 'referred_user' | 'smart_contract_event' | 'snapshot_governance' | 'telegram_join' | 'telegram_messages' | 'text_input' | 'token_hold_erc20' | 'tweet_liked_by_project' | 'twitter_comment' | 'twitter_follow' | 'twitter_followers' | 'twitter_like' | 'twitter_post_hashtag' | 'quiz' | 'poll' | 'steam_wishlist' | 'liquidity_uniswap_v2' | 'liquidity_uniswap_v3' | Array<'Bonus' | 'BoughtOn' | 'BoughtWithRoyalties' | 'DiscordMessages' | 'Listing' | 'Lodging' | 'MintOn' | 'PoapClaim' | 'SnagSocialsConnected' | 'SnapshotFullset' | 'SnapshotHold' | 'SoldOn' | 'SoldWithRoyalties' | 'TokenHold' | 'TwitterBio' | 'TwitterHashTagPost' | 'Retweet' | 'check_in' | 'code_entry' | 'connect_wallet' | 'connected_discord' | 'connected_email' | 'connected_epic' | 'connected_steam' | 'connected_telegram' | 'connected_twitter' | 'create_partner_account' | 'discord_member' | 'drip_x_follow' | 'drip_x_new_tweet' | 'drip_x_text_in_bio' | 'drip_x_text_in_comment' | 'drip_x_text_in_name' | 'drip_x_tweet' | 'external_rule' | 'link_click' | 'manual_upload' | 'profile_completed' | 'referred_user' | 'smart_contract_event' | 'snapshot_governance' | 'telegram_join' | 'telegram_messages' | 'text_input' | 'token_hold_erc20' | 'tweet_liked_by_project' | 'twitter_comment' | 'twitter_follow' | 'twitter_followers' | 'twitter_like' | 'twitter_post_hashtag' | 'quiz' | 'poll' | 'steam_wishlist' | 'liquidity_uniswap_v2' | 'liquidity_uniswap_v3'>;
|
|
304
|
+
loyaltyRuleType?: 'Bonus' | 'BoughtOn' | 'BoughtWithRoyalties' | 'DiscordMessages' | 'Listing' | 'Lodging' | 'MintOn' | 'PoapClaim' | 'SnagSocialsConnected' | 'SnapshotFullset' | 'SnapshotHold' | 'SoldOn' | 'SoldWithRoyalties' | 'TokenHold' | 'TwitterBio' | 'TwitterHashTagPost' | 'Retweet' | 'check_in' | 'code_entry' | 'connect_wallet' | 'connected_discord' | 'connected_email' | 'connected_epic' | 'connected_steam' | 'connected_telegram' | 'connected_twitter' | 'create_partner_account' | 'discord_member' | 'drip_x_follow' | 'drip_x_new_tweet' | 'drip_x_text_in_bio' | 'drip_x_text_in_comment' | 'drip_x_text_in_name' | 'drip_x_tweet' | 'external_rule' | 'link_click' | 'manual_upload' | 'profile_completed' | 'referred_user' | 'smart_contract_event' | 'snapshot_governance' | 'telegram_join' | 'telegram_messages' | 'text_input' | 'token_hold_erc20' | 'tweet_liked_by_project' | 'twitter_comment' | 'twitter_follow' | 'twitter_followers' | 'twitter_like' | 'twitter_post_hashtag' | 'quiz' | 'poll' | 'steam_wishlist' | 'liquidity_uniswap_v2' | 'liquidity_uniswap_v3' | 'youtube_subscribers' | 'youtube_comment' | Array<'Bonus' | 'BoughtOn' | 'BoughtWithRoyalties' | 'DiscordMessages' | 'Listing' | 'Lodging' | 'MintOn' | 'PoapClaim' | 'SnagSocialsConnected' | 'SnapshotFullset' | 'SnapshotHold' | 'SoldOn' | 'SoldWithRoyalties' | 'TokenHold' | 'TwitterBio' | 'TwitterHashTagPost' | 'Retweet' | 'check_in' | 'code_entry' | 'connect_wallet' | 'connected_discord' | 'connected_email' | 'connected_epic' | 'connected_steam' | 'connected_telegram' | 'connected_twitter' | 'create_partner_account' | 'discord_member' | 'drip_x_follow' | 'drip_x_new_tweet' | 'drip_x_text_in_bio' | 'drip_x_text_in_comment' | 'drip_x_text_in_name' | 'drip_x_tweet' | 'external_rule' | 'link_click' | 'manual_upload' | 'profile_completed' | 'referred_user' | 'smart_contract_event' | 'snapshot_governance' | 'telegram_join' | 'telegram_messages' | 'text_input' | 'token_hold_erc20' | 'tweet_liked_by_project' | 'twitter_comment' | 'twitter_follow' | 'twitter_followers' | 'twitter_like' | 'twitter_post_hashtag' | 'quiz' | 'poll' | 'steam_wishlist' | 'liquidity_uniswap_v2' | 'liquidity_uniswap_v3' | 'youtube_subscribers' | 'youtube_comment'>;
|
|
221
305
|
/**
|
|
222
306
|
* Unique identifier for the loyalty transaction to filter by
|
|
223
307
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../../src/resources/loyalty/transactions/transactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,YAAY,EACb,MAAM,iBAAiB,CAAC;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;OAEG;IACH,iBAAiB,CACf,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,oCAAoC,CAAC;IAIxD;;;OAGG;IACH,qBAAqB,CACnB,KAAK,CAAC,EAAE,sCAAsC,EAC9C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wCAAwC,CAAC;IAC5D,qBAAqB,CACnB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wCAAwC,CAAC;IAW5D;;OAEG;IACH,cAAc,CACZ,KAAK,EAAE,+BAA+B,EACtC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iCAAiC,CAAC;CAGtD;AAED,MAAM,WAAW,oCAAoC;IACnD,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,MAAM,CAAC;IAEpB,OAAO,EAAE,KAAK,CAAC,oCAAoC,CAAC,KAAK,CAAC,CAAC;IAE3D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,yBAAiB,oCAAoC,CAAC;IACpD,UAAi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CAAC;YAClC;;eAEG;YACH,UAAiB,WAAW;gBAC1B;;mBAEG;gBACH,EAAE,EAAE,MAAM,CAAC;gBAEX;;mBAEG;gBACH,IAAI,EAAE,MAAM,CAAC;gBAEb;;mBAEG;gBACH,WAAW,CAAC,EAAE,MAAM,CAAC;gBAErB,oBAAoB,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC;gBAExD;;mBAEG;gBACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;gBAEnC;;mBAEG;gBACH,IAAI,CAAC,EAAE,MAAM,CAAC;aACf;YAED,UAAiB,WAAW,CAAC;gBAC3B,UAAiB,oBAAoB;oBACnC,kBAAkB,EAAE,MAAM,CAAC;iBAC5B;aACF;SACF;KACF;CACF;AAED,MAAM,WAAW,iCAAiC;IAChD,IAAI,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../../src/resources/loyalty/transactions/transactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,YAAY,EACb,MAAM,iBAAiB,CAAC;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAE5F;;OAEG;IACH,iBAAiB,CACf,IAAI,EAAE,kCAAkC,EACxC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,oCAAoC,CAAC;IAIxD;;;OAGG;IACH,qBAAqB,CACnB,KAAK,CAAC,EAAE,sCAAsC,EAC9C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CA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AkC,EAC7E,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../../src/resources/loyalty/transactions/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,2CAAiD;AAEjD,oEAAmD;AACnD,sDAMyB;AAEzB,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0C9F,CAAC;IAxCC;;OAEG;IACH,iBAAiB,CACf,IAAwC,EACxC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAaD,qBAAqB,CACnB,QAAsE,EAAE,EACxE,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC9C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,KAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AA3CD,oCA2CC;
|
|
1
|
+
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../../src/resources/loyalty/transactions/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,mDAAgD;AAChD,2CAAiD;AAEjD,oEAAmD;AACnD,sDAMyB;AAEzB,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0C9F,CAAC;IAxCC;;OAEG;IACH,iBAAiB,CACf,IAAwC,EACxC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAaD,qBAAqB,CACnB,QAAsE,EAAE,EACxE,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC9C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,KAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AA3CD,oCA2CC;AA8iBD,YAAY,CAAC,YAAY,GAAG,4BAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../../../src/resources/loyalty/transactions/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;AAED,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0C9F,CAAC;IAxCC;;OAEG;IACH,iBAAiB,CACf,IAAwC,EACxC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAaD,qBAAqB,CACnB,QAAsE,EAAE,EACxE,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC9C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,KAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../../../src/resources/loyalty/transactions/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;AAED,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0C9F,CAAC;IAxCC;;OAEG;IACH,iBAAiB,CACf,IAAwC,EACxC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAaD,qBAAqB,CACnB,QAAsE,EAAE,EACxE,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,qBAAqB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC9C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,KAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;CACF;AA8iBD,YAAY,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -439,6 +439,7 @@ export namespace RuleEditListResponse {
|
|
|
439
439
|
| 'Twitch'
|
|
440
440
|
| 'X(Twitter)'
|
|
441
441
|
| 'YouTube'
|
|
442
|
+
| 'Google'
|
|
442
443
|
| null;
|
|
443
444
|
|
|
444
445
|
/**
|
|
@@ -526,6 +527,16 @@ export namespace RuleEditListResponse {
|
|
|
526
527
|
* Type of wallet associated with the rule.
|
|
527
528
|
*/
|
|
528
529
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* ID of the Youtube channel.
|
|
533
|
+
*/
|
|
534
|
+
youtubeChannelId?: string | null;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* ID of the Youtube video.
|
|
538
|
+
*/
|
|
539
|
+
youtubeVideoId?: string | null;
|
|
529
540
|
}
|
|
530
541
|
|
|
531
542
|
export namespace Metadata {
|
|
@@ -1295,6 +1306,7 @@ export namespace RuleEditListResponse {
|
|
|
1295
1306
|
| 'Twitch'
|
|
1296
1307
|
| 'X(Twitter)'
|
|
1297
1308
|
| 'YouTube'
|
|
1309
|
+
| 'Google'
|
|
1298
1310
|
| null;
|
|
1299
1311
|
|
|
1300
1312
|
/**
|
|
@@ -1382,6 +1394,16 @@ export namespace RuleEditListResponse {
|
|
|
1382
1394
|
* Type of wallet associated with the rule.
|
|
1383
1395
|
*/
|
|
1384
1396
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* ID of the Youtube channel.
|
|
1400
|
+
*/
|
|
1401
|
+
youtubeChannelId?: string | null;
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* ID of the Youtube video.
|
|
1405
|
+
*/
|
|
1406
|
+
youtubeVideoId?: string | null;
|
|
1385
1407
|
}
|
|
1386
1408
|
|
|
1387
1409
|
export namespace Metadata {
|
|
@@ -2206,6 +2228,7 @@ export namespace RuleEditRestoreResponse {
|
|
|
2206
2228
|
| 'Twitch'
|
|
2207
2229
|
| 'X(Twitter)'
|
|
2208
2230
|
| 'YouTube'
|
|
2231
|
+
| 'Google'
|
|
2209
2232
|
| null;
|
|
2210
2233
|
|
|
2211
2234
|
/**
|
|
@@ -2293,6 +2316,16 @@ export namespace RuleEditRestoreResponse {
|
|
|
2293
2316
|
* Type of wallet associated with the rule.
|
|
2294
2317
|
*/
|
|
2295
2318
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* ID of the Youtube channel.
|
|
2322
|
+
*/
|
|
2323
|
+
youtubeChannelId?: string | null;
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* ID of the Youtube video.
|
|
2327
|
+
*/
|
|
2328
|
+
youtubeVideoId?: string | null;
|
|
2296
2329
|
}
|
|
2297
2330
|
|
|
2298
2331
|
export namespace Metadata {
|
|
@@ -3062,6 +3095,7 @@ export namespace RuleEditRestoreResponse {
|
|
|
3062
3095
|
| 'Twitch'
|
|
3063
3096
|
| 'X(Twitter)'
|
|
3064
3097
|
| 'YouTube'
|
|
3098
|
+
| 'Google'
|
|
3065
3099
|
| null;
|
|
3066
3100
|
|
|
3067
3101
|
/**
|
|
@@ -3149,6 +3183,16 @@ export namespace RuleEditRestoreResponse {
|
|
|
3149
3183
|
* Type of wallet associated with the rule.
|
|
3150
3184
|
*/
|
|
3151
3185
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* ID of the Youtube channel.
|
|
3189
|
+
*/
|
|
3190
|
+
youtubeChannelId?: string | null;
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* ID of the Youtube video.
|
|
3194
|
+
*/
|
|
3195
|
+
youtubeVideoId?: string | null;
|
|
3152
3196
|
}
|
|
3153
3197
|
|
|
3154
3198
|
export namespace Metadata {
|
|
@@ -211,7 +211,9 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
211
211
|
| 'poll'
|
|
212
212
|
| 'steam_wishlist'
|
|
213
213
|
| 'liquidity_uniswap_v2'
|
|
214
|
-
| 'liquidity_uniswap_v3'
|
|
214
|
+
| 'liquidity_uniswap_v3'
|
|
215
|
+
| 'youtube_subscribers'
|
|
216
|
+
| 'youtube_comment';
|
|
215
217
|
}
|
|
216
218
|
|
|
217
219
|
export namespace LoyaltyRule {
|
|
@@ -490,6 +492,7 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
490
492
|
| 'Twitch'
|
|
491
493
|
| 'X(Twitter)'
|
|
492
494
|
| 'YouTube'
|
|
495
|
+
| 'Google'
|
|
493
496
|
| null;
|
|
494
497
|
|
|
495
498
|
/**
|
|
@@ -577,6 +580,16 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
577
580
|
* Type of wallet associated with the rule.
|
|
578
581
|
*/
|
|
579
582
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* ID of the Youtube channel.
|
|
586
|
+
*/
|
|
587
|
+
youtubeChannelId?: string | null;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* ID of the Youtube video.
|
|
591
|
+
*/
|
|
592
|
+
youtubeVideoId?: string | null;
|
|
580
593
|
}
|
|
581
594
|
|
|
582
595
|
export namespace Metadata {
|
|
@@ -214,7 +214,9 @@ export interface RuleCreateResponse {
|
|
|
214
214
|
| 'poll'
|
|
215
215
|
| 'steam_wishlist'
|
|
216
216
|
| 'liquidity_uniswap_v2'
|
|
217
|
-
| 'liquidity_uniswap_v3'
|
|
217
|
+
| 'liquidity_uniswap_v3'
|
|
218
|
+
| 'youtube_subscribers'
|
|
219
|
+
| 'youtube_comment';
|
|
218
220
|
|
|
219
221
|
/**
|
|
220
222
|
* Unique identifier for the associated website
|
|
@@ -606,6 +608,7 @@ export namespace RuleCreateResponse {
|
|
|
606
608
|
| 'Twitch'
|
|
607
609
|
| 'X(Twitter)'
|
|
608
610
|
| 'YouTube'
|
|
611
|
+
| 'Google'
|
|
609
612
|
| null;
|
|
610
613
|
|
|
611
614
|
/**
|
|
@@ -693,6 +696,16 @@ export namespace RuleCreateResponse {
|
|
|
693
696
|
* Type of wallet associated with the rule.
|
|
694
697
|
*/
|
|
695
698
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* ID of the Youtube channel.
|
|
702
|
+
*/
|
|
703
|
+
youtubeChannelId?: string | null;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* ID of the Youtube video.
|
|
707
|
+
*/
|
|
708
|
+
youtubeVideoId?: string | null;
|
|
696
709
|
}
|
|
697
710
|
|
|
698
711
|
export namespace Metadata {
|
|
@@ -1618,6 +1631,7 @@ export namespace RuleUpdateResponse {
|
|
|
1618
1631
|
| 'Twitch'
|
|
1619
1632
|
| 'X(Twitter)'
|
|
1620
1633
|
| 'YouTube'
|
|
1634
|
+
| 'Google'
|
|
1621
1635
|
| null;
|
|
1622
1636
|
|
|
1623
1637
|
/**
|
|
@@ -1705,6 +1719,16 @@ export namespace RuleUpdateResponse {
|
|
|
1705
1719
|
* Type of wallet associated with the rule.
|
|
1706
1720
|
*/
|
|
1707
1721
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* ID of the Youtube channel.
|
|
1725
|
+
*/
|
|
1726
|
+
youtubeChannelId?: string | null;
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* ID of the Youtube video.
|
|
1730
|
+
*/
|
|
1731
|
+
youtubeVideoId?: string | null;
|
|
1708
1732
|
}
|
|
1709
1733
|
|
|
1710
1734
|
export namespace Metadata {
|
|
@@ -2125,9 +2149,6 @@ export interface RuleListResponse {
|
|
|
2125
2149
|
}
|
|
2126
2150
|
|
|
2127
2151
|
export namespace RuleListResponse {
|
|
2128
|
-
/**
|
|
2129
|
-
* Schema for a loyalty rule
|
|
2130
|
-
*/
|
|
2131
2152
|
export interface Data {
|
|
2132
2153
|
/**
|
|
2133
2154
|
* Unique identifier for the loyalty rule
|
|
@@ -2164,6 +2185,11 @@ export namespace RuleListResponse {
|
|
|
2164
2185
|
*/
|
|
2165
2186
|
frequency: string;
|
|
2166
2187
|
|
|
2188
|
+
/**
|
|
2189
|
+
* Chains attached to the loyalty rule
|
|
2190
|
+
*/
|
|
2191
|
+
loyaltyRuleChain: Array<Data.LoyaltyRuleChain>;
|
|
2192
|
+
|
|
2167
2193
|
/**
|
|
2168
2194
|
* Name of the loyalty rule
|
|
2169
2195
|
*/
|
|
@@ -2216,6 +2242,106 @@ export namespace RuleListResponse {
|
|
|
2216
2242
|
}
|
|
2217
2243
|
|
|
2218
2244
|
export namespace Data {
|
|
2245
|
+
export interface LoyaltyRuleChain {
|
|
2246
|
+
/**
|
|
2247
|
+
* Unique identifier for the rule chain
|
|
2248
|
+
*/
|
|
2249
|
+
id: string;
|
|
2250
|
+
|
|
2251
|
+
loyaltyConditions: Array<LoyaltyRuleChain.LoyaltyCondition>;
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* Unique identifier for the loyalty rule
|
|
2255
|
+
*/
|
|
2256
|
+
loyaltyRuleId: string;
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* Name of the rule chain
|
|
2260
|
+
*/
|
|
2261
|
+
name: string;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2264
|
+
export namespace LoyaltyRuleChain {
|
|
2265
|
+
export interface LoyaltyCondition {
|
|
2266
|
+
/**
|
|
2267
|
+
* Unique identifier for the condition
|
|
2268
|
+
*/
|
|
2269
|
+
id: string;
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* Amount of the condition
|
|
2273
|
+
*/
|
|
2274
|
+
amount: number | null;
|
|
2275
|
+
|
|
2276
|
+
association: Array<LoyaltyCondition.Association>;
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* URL of the CSV file
|
|
2280
|
+
*/
|
|
2281
|
+
csvUrl: string | null;
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* Description of the condition
|
|
2285
|
+
*/
|
|
2286
|
+
description: string | null;
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Number of times the condition must be met
|
|
2290
|
+
*/
|
|
2291
|
+
repeatCount: number | null;
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* Number of times the condition must be met
|
|
2295
|
+
*/
|
|
2296
|
+
requiredCount: number | null;
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Type of the condition
|
|
2300
|
+
*/
|
|
2301
|
+
type: 'rule' | 'rules' | 'points' | 'section' | 'level' | 'api' | 'badge' | 'badges' | 'csv';
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
export namespace LoyaltyCondition {
|
|
2305
|
+
export interface Association {
|
|
2306
|
+
/**
|
|
2307
|
+
* Unique identifier for the association
|
|
2308
|
+
*/
|
|
2309
|
+
id: string;
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* Unique identifier for the loyalty badge
|
|
2313
|
+
*/
|
|
2314
|
+
loyaltyBadgeId: string | null;
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Unique identifier for the loyalty currency
|
|
2318
|
+
*/
|
|
2319
|
+
loyaltyCurrencyId: string | null;
|
|
2320
|
+
|
|
2321
|
+
loyaltyRule: Association.LoyaltyRule | null;
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Unique identifier for the loyalty rule group
|
|
2325
|
+
*/
|
|
2326
|
+
loyaltyRuleGroupId: string | null;
|
|
2327
|
+
|
|
2328
|
+
/**
|
|
2329
|
+
* Unique identifier for the loyalty rule
|
|
2330
|
+
*/
|
|
2331
|
+
loyaltyRuleId: string | null;
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
export namespace Association {
|
|
2335
|
+
export interface LoyaltyRule {
|
|
2336
|
+
/**
|
|
2337
|
+
* Name of the loyalty rule
|
|
2338
|
+
*/
|
|
2339
|
+
name: string;
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2219
2345
|
export interface Metadata {
|
|
2220
2346
|
/**
|
|
2221
2347
|
* Number of tokens per batch.
|
|
@@ -2481,6 +2607,7 @@ export namespace RuleListResponse {
|
|
|
2481
2607
|
| 'Twitch'
|
|
2482
2608
|
| 'X(Twitter)'
|
|
2483
2609
|
| 'YouTube'
|
|
2610
|
+
| 'Google'
|
|
2484
2611
|
| null;
|
|
2485
2612
|
|
|
2486
2613
|
/**
|
|
@@ -2568,6 +2695,16 @@ export namespace RuleListResponse {
|
|
|
2568
2695
|
* Type of wallet associated with the rule.
|
|
2569
2696
|
*/
|
|
2570
2697
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* ID of the Youtube channel.
|
|
2701
|
+
*/
|
|
2702
|
+
youtubeChannelId?: string | null;
|
|
2703
|
+
|
|
2704
|
+
/**
|
|
2705
|
+
* ID of the Youtube video.
|
|
2706
|
+
*/
|
|
2707
|
+
youtubeVideoId?: string | null;
|
|
2571
2708
|
}
|
|
2572
2709
|
|
|
2573
2710
|
export namespace Metadata {
|
|
@@ -3120,7 +3257,9 @@ export interface RuleCreateParams {
|
|
|
3120
3257
|
| 'poll'
|
|
3121
3258
|
| 'steam_wishlist'
|
|
3122
3259
|
| 'liquidity_uniswap_v2'
|
|
3123
|
-
| 'liquidity_uniswap_v3'
|
|
3260
|
+
| 'liquidity_uniswap_v3'
|
|
3261
|
+
| 'youtube_subscribers'
|
|
3262
|
+
| 'youtube_comment';
|
|
3124
3263
|
|
|
3125
3264
|
/**
|
|
3126
3265
|
* Unique identifier for the associated website
|
|
@@ -3512,6 +3651,7 @@ export namespace RuleCreateParams {
|
|
|
3512
3651
|
| 'Twitch'
|
|
3513
3652
|
| 'X(Twitter)'
|
|
3514
3653
|
| 'YouTube'
|
|
3654
|
+
| 'Google'
|
|
3515
3655
|
| null;
|
|
3516
3656
|
|
|
3517
3657
|
/**
|
|
@@ -3599,6 +3739,16 @@ export namespace RuleCreateParams {
|
|
|
3599
3739
|
* Type of wallet associated with the rule.
|
|
3600
3740
|
*/
|
|
3601
3741
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
3742
|
+
|
|
3743
|
+
/**
|
|
3744
|
+
* ID of the Youtube channel.
|
|
3745
|
+
*/
|
|
3746
|
+
youtubeChannelId?: string | null;
|
|
3747
|
+
|
|
3748
|
+
/**
|
|
3749
|
+
* ID of the Youtube video.
|
|
3750
|
+
*/
|
|
3751
|
+
youtubeVideoId?: string | null;
|
|
3602
3752
|
}
|
|
3603
3753
|
|
|
3604
3754
|
export namespace Metadata {
|
|
@@ -4522,6 +4672,7 @@ export namespace RuleUpdateParams {
|
|
|
4522
4672
|
| 'Twitch'
|
|
4523
4673
|
| 'X(Twitter)'
|
|
4524
4674
|
| 'YouTube'
|
|
4675
|
+
| 'Google'
|
|
4525
4676
|
| null;
|
|
4526
4677
|
|
|
4527
4678
|
/**
|
|
@@ -4609,6 +4760,16 @@ export namespace RuleUpdateParams {
|
|
|
4609
4760
|
* Type of wallet associated with the rule.
|
|
4610
4761
|
*/
|
|
4611
4762
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
4763
|
+
|
|
4764
|
+
/**
|
|
4765
|
+
* ID of the Youtube channel.
|
|
4766
|
+
*/
|
|
4767
|
+
youtubeChannelId?: string | null;
|
|
4768
|
+
|
|
4769
|
+
/**
|
|
4770
|
+
* ID of the Youtube video.
|
|
4771
|
+
*/
|
|
4772
|
+
youtubeVideoId?: string | null;
|
|
4612
4773
|
}
|
|
4613
4774
|
|
|
4614
4775
|
export namespace Metadata {
|
|
@@ -5028,6 +5189,11 @@ export interface RuleListParams {
|
|
|
5028
5189
|
*/
|
|
5029
5190
|
collectionAddress?: string;
|
|
5030
5191
|
|
|
5192
|
+
/**
|
|
5193
|
+
* If true this will only return loyalty rule chains
|
|
5194
|
+
*/
|
|
5195
|
+
includeLoyaltyRuleChains?: 'true' | 'false';
|
|
5196
|
+
|
|
5031
5197
|
/**
|
|
5032
5198
|
* If true this will only return active rules, the rules for which the startTime is
|
|
5033
5199
|
* in the past and the endTime is in the future
|