@snagsolutions/sdk 0.1.0-alpha.51 → 0.1.0-alpha.53
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 +17 -0
- package/package.json +1 -1
- package/resources/loyalty/badges.d.ts +49 -9
- package/resources/loyalty/badges.d.ts.map +1 -1
- package/resources/loyalty/index.d.ts +1 -1
- package/resources/loyalty/index.d.ts.map +1 -1
- package/resources/loyalty/index.js.map +1 -1
- package/resources/loyalty/index.mjs.map +1 -1
- package/resources/loyalty/loyalty.d.ts +2 -2
- package/resources/loyalty/loyalty.d.ts.map +1 -1
- package/resources/loyalty/loyalty.js.map +1 -1
- package/resources/loyalty/loyalty.mjs.map +1 -1
- package/resources/loyalty/rule-edits.d.ts +40 -8
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +18 -3
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +68 -13
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/rules.js +6 -5
- package/resources/loyalty/rules.js.map +1 -1
- package/resources/loyalty/rules.mjs +6 -5
- package/resources/loyalty/rules.mjs.map +1 -1
- package/resources/loyalty/transactions/transactions.d.ts +1 -1
- 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/badges.ts +59 -11
- package/src/resources/loyalty/index.ts +1 -0
- package/src/resources/loyalty/loyalty.ts +2 -0
- package/src/resources/loyalty/rule-edits.ts +48 -4
- package/src/resources/loyalty/rule-groups.ts +27 -2
- package/src/resources/loyalty/rules.ts +100 -9
- package/src/resources/loyalty/transactions/transactions.ts +4 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -135,7 +135,7 @@ export namespace RuleEditListResponse {
|
|
|
135
135
|
/**
|
|
136
136
|
* Type of the reward
|
|
137
137
|
*/
|
|
138
|
-
rewardType: 'points' | 'multiplier';
|
|
138
|
+
rewardType: 'points' | 'multiplier' | 'badge';
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* Start time of the loyalty rule
|
|
@@ -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 {
|
|
@@ -991,7 +1002,7 @@ export namespace RuleEditListResponse {
|
|
|
991
1002
|
/**
|
|
992
1003
|
* Type of the reward
|
|
993
1004
|
*/
|
|
994
|
-
rewardType: 'points' | 'multiplier';
|
|
1005
|
+
rewardType: 'points' | 'multiplier' | 'badge';
|
|
995
1006
|
|
|
996
1007
|
/**
|
|
997
1008
|
* Start time of the loyalty rule
|
|
@@ -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 {
|
|
@@ -1902,7 +1924,7 @@ export namespace RuleEditRestoreResponse {
|
|
|
1902
1924
|
/**
|
|
1903
1925
|
* Type of the reward
|
|
1904
1926
|
*/
|
|
1905
|
-
rewardType: 'points' | 'multiplier';
|
|
1927
|
+
rewardType: 'points' | 'multiplier' | 'badge';
|
|
1906
1928
|
|
|
1907
1929
|
/**
|
|
1908
1930
|
* Start time of the loyalty rule
|
|
@@ -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 {
|
|
@@ -2758,7 +2791,7 @@ export namespace RuleEditRestoreResponse {
|
|
|
2758
2791
|
/**
|
|
2759
2792
|
* Type of the reward
|
|
2760
2793
|
*/
|
|
2761
|
-
rewardType: 'points' | 'multiplier';
|
|
2794
|
+
rewardType: 'points' | 'multiplier' | 'badge';
|
|
2762
2795
|
|
|
2763
2796
|
/**
|
|
2764
2797
|
* Start time of the loyalty rule
|
|
@@ -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 {
|
|
@@ -141,6 +141,8 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
141
141
|
|
|
142
142
|
isRequired: boolean;
|
|
143
143
|
|
|
144
|
+
loyaltyBadge: LoyaltyRule.LoyaltyBadge;
|
|
145
|
+
|
|
144
146
|
loyaltyCurrencyId: string;
|
|
145
147
|
|
|
146
148
|
mediaUrl: string | null;
|
|
@@ -149,7 +151,7 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
149
151
|
|
|
150
152
|
name: string;
|
|
151
153
|
|
|
152
|
-
rewardType: 'points' | 'multiplier';
|
|
154
|
+
rewardType: 'points' | 'multiplier' | 'badge';
|
|
153
155
|
|
|
154
156
|
startTime: string | null;
|
|
155
157
|
|
|
@@ -209,10 +211,22 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
209
211
|
| 'poll'
|
|
210
212
|
| 'steam_wishlist'
|
|
211
213
|
| 'liquidity_uniswap_v2'
|
|
212
|
-
| 'liquidity_uniswap_v3'
|
|
214
|
+
| 'liquidity_uniswap_v3'
|
|
215
|
+
| 'youtube_subscribers'
|
|
216
|
+
| 'youtube_comment';
|
|
213
217
|
}
|
|
214
218
|
|
|
215
219
|
export namespace LoyaltyRule {
|
|
220
|
+
export interface LoyaltyBadge {
|
|
221
|
+
id: string;
|
|
222
|
+
|
|
223
|
+
description: string | null;
|
|
224
|
+
|
|
225
|
+
imageUrl: string | null;
|
|
226
|
+
|
|
227
|
+
name: string;
|
|
228
|
+
}
|
|
229
|
+
|
|
216
230
|
export interface Metadata {
|
|
217
231
|
/**
|
|
218
232
|
* Number of tokens per batch.
|
|
@@ -478,6 +492,7 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
478
492
|
| 'Twitch'
|
|
479
493
|
| 'X(Twitter)'
|
|
480
494
|
| 'YouTube'
|
|
495
|
+
| 'Google'
|
|
481
496
|
| null;
|
|
482
497
|
|
|
483
498
|
/**
|
|
@@ -565,6 +580,16 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
565
580
|
* Type of wallet associated with the rule.
|
|
566
581
|
*/
|
|
567
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;
|
|
568
593
|
}
|
|
569
594
|
|
|
570
595
|
export namespace Metadata {
|
|
@@ -41,8 +41,22 @@ export class Rules extends APIResource {
|
|
|
41
41
|
/**
|
|
42
42
|
* Delete an existing Loyalty Rule
|
|
43
43
|
*/
|
|
44
|
-
delete(
|
|
45
|
-
|
|
44
|
+
delete(
|
|
45
|
+
id: string,
|
|
46
|
+
params?: RuleDeleteParams,
|
|
47
|
+
options?: Core.RequestOptions,
|
|
48
|
+
): Core.APIPromise<RuleDeleteResponse>;
|
|
49
|
+
delete(id: string, options?: Core.RequestOptions): Core.APIPromise<RuleDeleteResponse>;
|
|
50
|
+
delete(
|
|
51
|
+
id: string,
|
|
52
|
+
params: RuleDeleteParams | Core.RequestOptions = {},
|
|
53
|
+
options?: Core.RequestOptions,
|
|
54
|
+
): Core.APIPromise<RuleDeleteResponse> {
|
|
55
|
+
if (isRequestOptions(params)) {
|
|
56
|
+
return this.delete(id, {}, params);
|
|
57
|
+
}
|
|
58
|
+
const { debitLoyaltyPoints } = params;
|
|
59
|
+
return this._client.delete(`/api/loyalty/rules/${id}`, { query: { debitLoyaltyPoints }, ...options });
|
|
46
60
|
}
|
|
47
61
|
|
|
48
62
|
/**
|
|
@@ -200,7 +214,9 @@ export interface RuleCreateResponse {
|
|
|
200
214
|
| 'poll'
|
|
201
215
|
| 'steam_wishlist'
|
|
202
216
|
| 'liquidity_uniswap_v2'
|
|
203
|
-
| 'liquidity_uniswap_v3'
|
|
217
|
+
| 'liquidity_uniswap_v3'
|
|
218
|
+
| 'youtube_subscribers'
|
|
219
|
+
| 'youtube_comment';
|
|
204
220
|
|
|
205
221
|
/**
|
|
206
222
|
* Unique identifier for the associated website
|
|
@@ -252,6 +268,11 @@ export interface RuleCreateResponse {
|
|
|
252
268
|
*/
|
|
253
269
|
isRequired?: boolean;
|
|
254
270
|
|
|
271
|
+
/**
|
|
272
|
+
* Unique identifier for the loyalty badge
|
|
273
|
+
*/
|
|
274
|
+
loyaltyBadgeId?: string | null;
|
|
275
|
+
|
|
255
276
|
/**
|
|
256
277
|
* Unique identifier for the loyalty rule group
|
|
257
278
|
*/
|
|
@@ -310,7 +331,7 @@ export interface RuleCreateResponse {
|
|
|
310
331
|
/**
|
|
311
332
|
* Type of reward issued by the rule
|
|
312
333
|
*/
|
|
313
|
-
rewardType?: 'points' | 'multiplier';
|
|
334
|
+
rewardType?: 'points' | 'multiplier' | 'badge';
|
|
314
335
|
|
|
315
336
|
/**
|
|
316
337
|
* Identifier for associated subscriptions
|
|
@@ -587,6 +608,7 @@ export namespace RuleCreateResponse {
|
|
|
587
608
|
| 'Twitch'
|
|
588
609
|
| 'X(Twitter)'
|
|
589
610
|
| 'YouTube'
|
|
611
|
+
| 'Google'
|
|
590
612
|
| null;
|
|
591
613
|
|
|
592
614
|
/**
|
|
@@ -674,6 +696,16 @@ export namespace RuleCreateResponse {
|
|
|
674
696
|
* Type of wallet associated with the rule.
|
|
675
697
|
*/
|
|
676
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;
|
|
677
709
|
}
|
|
678
710
|
|
|
679
711
|
export namespace Metadata {
|
|
@@ -1270,7 +1302,7 @@ export interface RuleUpdateResponse {
|
|
|
1270
1302
|
/**
|
|
1271
1303
|
* Type of reward issued by this rule
|
|
1272
1304
|
*/
|
|
1273
|
-
rewardType?: 'points' | 'multiplier';
|
|
1305
|
+
rewardType?: 'points' | 'multiplier' | 'badge';
|
|
1274
1306
|
|
|
1275
1307
|
/**
|
|
1276
1308
|
* Start time for the loyalty rule
|
|
@@ -1599,6 +1631,7 @@ export namespace RuleUpdateResponse {
|
|
|
1599
1631
|
| 'Twitch'
|
|
1600
1632
|
| 'X(Twitter)'
|
|
1601
1633
|
| 'YouTube'
|
|
1634
|
+
| 'Google'
|
|
1602
1635
|
| null;
|
|
1603
1636
|
|
|
1604
1637
|
/**
|
|
@@ -1686,6 +1719,16 @@ export namespace RuleUpdateResponse {
|
|
|
1686
1719
|
* Type of wallet associated with the rule.
|
|
1687
1720
|
*/
|
|
1688
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;
|
|
1689
1732
|
}
|
|
1690
1733
|
|
|
1691
1734
|
export namespace Metadata {
|
|
@@ -2158,7 +2201,7 @@ export namespace RuleListResponse {
|
|
|
2158
2201
|
/**
|
|
2159
2202
|
* Type of the reward
|
|
2160
2203
|
*/
|
|
2161
|
-
rewardType: 'points' | 'multiplier';
|
|
2204
|
+
rewardType: 'points' | 'multiplier' | 'badge';
|
|
2162
2205
|
|
|
2163
2206
|
/**
|
|
2164
2207
|
* Start time of the loyalty rule
|
|
@@ -2462,6 +2505,7 @@ export namespace RuleListResponse {
|
|
|
2462
2505
|
| 'Twitch'
|
|
2463
2506
|
| 'X(Twitter)'
|
|
2464
2507
|
| 'YouTube'
|
|
2508
|
+
| 'Google'
|
|
2465
2509
|
| null;
|
|
2466
2510
|
|
|
2467
2511
|
/**
|
|
@@ -2549,6 +2593,16 @@ export namespace RuleListResponse {
|
|
|
2549
2593
|
* Type of wallet associated with the rule.
|
|
2550
2594
|
*/
|
|
2551
2595
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* ID of the Youtube channel.
|
|
2599
|
+
*/
|
|
2600
|
+
youtubeChannelId?: string | null;
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* ID of the Youtube video.
|
|
2604
|
+
*/
|
|
2605
|
+
youtubeVideoId?: string | null;
|
|
2552
2606
|
}
|
|
2553
2607
|
|
|
2554
2608
|
export namespace Metadata {
|
|
@@ -3099,7 +3153,9 @@ export interface RuleCreateParams {
|
|
|
3099
3153
|
| 'poll'
|
|
3100
3154
|
| 'steam_wishlist'
|
|
3101
3155
|
| 'liquidity_uniswap_v2'
|
|
3102
|
-
| 'liquidity_uniswap_v3'
|
|
3156
|
+
| 'liquidity_uniswap_v3'
|
|
3157
|
+
| 'youtube_subscribers'
|
|
3158
|
+
| 'youtube_comment';
|
|
3103
3159
|
|
|
3104
3160
|
/**
|
|
3105
3161
|
* Unique identifier for the associated website
|
|
@@ -3151,6 +3207,11 @@ export interface RuleCreateParams {
|
|
|
3151
3207
|
*/
|
|
3152
3208
|
isRequired?: boolean;
|
|
3153
3209
|
|
|
3210
|
+
/**
|
|
3211
|
+
* Unique identifier for the loyalty badge
|
|
3212
|
+
*/
|
|
3213
|
+
loyaltyBadgeId?: string | null;
|
|
3214
|
+
|
|
3154
3215
|
/**
|
|
3155
3216
|
* Unique identifier for the loyalty rule group
|
|
3156
3217
|
*/
|
|
@@ -3209,7 +3270,7 @@ export interface RuleCreateParams {
|
|
|
3209
3270
|
/**
|
|
3210
3271
|
* Type of reward issued by the rule
|
|
3211
3272
|
*/
|
|
3212
|
-
rewardType?: 'points' | 'multiplier';
|
|
3273
|
+
rewardType?: 'points' | 'multiplier' | 'badge';
|
|
3213
3274
|
|
|
3214
3275
|
/**
|
|
3215
3276
|
* Identifier for associated subscriptions
|
|
@@ -3486,6 +3547,7 @@ export namespace RuleCreateParams {
|
|
|
3486
3547
|
| 'Twitch'
|
|
3487
3548
|
| 'X(Twitter)'
|
|
3488
3549
|
| 'YouTube'
|
|
3550
|
+
| 'Google'
|
|
3489
3551
|
| null;
|
|
3490
3552
|
|
|
3491
3553
|
/**
|
|
@@ -3573,6 +3635,16 @@ export namespace RuleCreateParams {
|
|
|
3573
3635
|
* Type of wallet associated with the rule.
|
|
3574
3636
|
*/
|
|
3575
3637
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* ID of the Youtube channel.
|
|
3641
|
+
*/
|
|
3642
|
+
youtubeChannelId?: string | null;
|
|
3643
|
+
|
|
3644
|
+
/**
|
|
3645
|
+
* ID of the Youtube video.
|
|
3646
|
+
*/
|
|
3647
|
+
youtubeVideoId?: string | null;
|
|
3576
3648
|
}
|
|
3577
3649
|
|
|
3578
3650
|
export namespace Metadata {
|
|
@@ -4167,7 +4239,7 @@ export interface RuleUpdateParams {
|
|
|
4167
4239
|
/**
|
|
4168
4240
|
* Type of reward issued by this rule
|
|
4169
4241
|
*/
|
|
4170
|
-
rewardType?: 'points' | 'multiplier';
|
|
4242
|
+
rewardType?: 'points' | 'multiplier' | 'badge';
|
|
4171
4243
|
|
|
4172
4244
|
/**
|
|
4173
4245
|
* Start time for the loyalty rule
|
|
@@ -4496,6 +4568,7 @@ export namespace RuleUpdateParams {
|
|
|
4496
4568
|
| 'Twitch'
|
|
4497
4569
|
| 'X(Twitter)'
|
|
4498
4570
|
| 'YouTube'
|
|
4571
|
+
| 'Google'
|
|
4499
4572
|
| null;
|
|
4500
4573
|
|
|
4501
4574
|
/**
|
|
@@ -4583,6 +4656,16 @@ export namespace RuleUpdateParams {
|
|
|
4583
4656
|
* Type of wallet associated with the rule.
|
|
4584
4657
|
*/
|
|
4585
4658
|
walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
|
|
4659
|
+
|
|
4660
|
+
/**
|
|
4661
|
+
* ID of the Youtube channel.
|
|
4662
|
+
*/
|
|
4663
|
+
youtubeChannelId?: string | null;
|
|
4664
|
+
|
|
4665
|
+
/**
|
|
4666
|
+
* ID of the Youtube video.
|
|
4667
|
+
*/
|
|
4668
|
+
youtubeVideoId?: string | null;
|
|
4586
4669
|
}
|
|
4587
4670
|
|
|
4588
4671
|
export namespace Metadata {
|
|
@@ -5039,6 +5122,13 @@ export interface RuleListParams {
|
|
|
5039
5122
|
websiteId?: string;
|
|
5040
5123
|
}
|
|
5041
5124
|
|
|
5125
|
+
export interface RuleDeleteParams {
|
|
5126
|
+
/**
|
|
5127
|
+
* Whether to debit loyalty points
|
|
5128
|
+
*/
|
|
5129
|
+
debitLoyaltyPoints?: string;
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5042
5132
|
export interface RuleCompleteParams {
|
|
5043
5133
|
/**
|
|
5044
5134
|
* Override amount for the reward (rounded to nearest whole number). This will
|
|
@@ -5104,6 +5194,7 @@ export declare namespace Rules {
|
|
|
5104
5194
|
type RuleCreateParams as RuleCreateParams,
|
|
5105
5195
|
type RuleUpdateParams as RuleUpdateParams,
|
|
5106
5196
|
type RuleListParams as RuleListParams,
|
|
5197
|
+
type RuleDeleteParams as RuleDeleteParams,
|
|
5107
5198
|
type RuleCompleteParams as RuleCompleteParams,
|
|
5108
5199
|
type RuleGetStatusParams as RuleGetStatusParams,
|
|
5109
5200
|
};
|
|
@@ -361,6 +361,8 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
361
361
|
| 'steam_wishlist'
|
|
362
362
|
| 'liquidity_uniswap_v2'
|
|
363
363
|
| 'liquidity_uniswap_v3'
|
|
364
|
+
| 'youtube_subscribers'
|
|
365
|
+
| 'youtube_comment'
|
|
364
366
|
| Array<
|
|
365
367
|
| 'Bonus'
|
|
366
368
|
| 'BoughtOn'
|
|
@@ -418,6 +420,8 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
418
420
|
| 'steam_wishlist'
|
|
419
421
|
| 'liquidity_uniswap_v2'
|
|
420
422
|
| 'liquidity_uniswap_v3'
|
|
423
|
+
| 'youtube_subscribers'
|
|
424
|
+
| 'youtube_comment'
|
|
421
425
|
>;
|
|
422
426
|
|
|
423
427
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.53'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.53";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.53'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.53'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|