@snagsolutions/sdk 0.1.0-alpha.150 → 0.1.0-alpha.152
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 +35 -0
- 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 +9 -1
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +45 -5
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.d.ts +1 -1
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -1
- package/src/resources/loyalty/rule-edits.ts +44 -4
- package/src/resources/loyalty/rule-groups.ts +11 -1
- package/src/resources/loyalty/rules.ts +55 -5
- package/src/resources/loyalty/transactions/transactions.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -480,7 +480,7 @@ export namespace RuleCreateResponse {
|
|
|
480
480
|
/**
|
|
481
481
|
* Text to check in the Twitter post, username, or bio.
|
|
482
482
|
*/
|
|
483
|
-
checkText?: string | null;
|
|
483
|
+
checkText?: string | Array<string> | null;
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
486
|
* Array of collections associated with the rule.
|
|
@@ -697,6 +697,11 @@ export namespace RuleCreateResponse {
|
|
|
697
697
|
*/
|
|
698
698
|
requirePostLink?: boolean | null;
|
|
699
699
|
|
|
700
|
+
/**
|
|
701
|
+
* Flag indicating if media metadata is required.
|
|
702
|
+
*/
|
|
703
|
+
requirePostMediaLink?: boolean | null;
|
|
704
|
+
|
|
700
705
|
/**
|
|
701
706
|
* Flag indicating if the rule can also reward badges per range.
|
|
702
707
|
*/
|
|
@@ -707,6 +712,11 @@ export namespace RuleCreateResponse {
|
|
|
707
712
|
*/
|
|
708
713
|
rewardByBatch?: boolean | null;
|
|
709
714
|
|
|
715
|
+
/**
|
|
716
|
+
* Criteria to evaluate the reward.
|
|
717
|
+
*/
|
|
718
|
+
rewardCriteria?: 'IMPRESSIONS_COUNT' | 'ELIGIBLE_POST' | null;
|
|
719
|
+
|
|
710
720
|
/**
|
|
711
721
|
* Flag indicating if the reward is rewarded per action.
|
|
712
722
|
*/
|
|
@@ -1658,7 +1668,7 @@ export namespace RuleUpdateResponse {
|
|
|
1658
1668
|
/**
|
|
1659
1669
|
* Text to check in the Twitter post, username, or bio.
|
|
1660
1670
|
*/
|
|
1661
|
-
checkText?: string | null;
|
|
1671
|
+
checkText?: string | Array<string> | null;
|
|
1662
1672
|
|
|
1663
1673
|
/**
|
|
1664
1674
|
* Array of collections associated with the rule.
|
|
@@ -1875,6 +1885,11 @@ export namespace RuleUpdateResponse {
|
|
|
1875
1885
|
*/
|
|
1876
1886
|
requirePostLink?: boolean | null;
|
|
1877
1887
|
|
|
1888
|
+
/**
|
|
1889
|
+
* Flag indicating if media metadata is required.
|
|
1890
|
+
*/
|
|
1891
|
+
requirePostMediaLink?: boolean | null;
|
|
1892
|
+
|
|
1878
1893
|
/**
|
|
1879
1894
|
* Flag indicating if the rule can also reward badges per range.
|
|
1880
1895
|
*/
|
|
@@ -1885,6 +1900,11 @@ export namespace RuleUpdateResponse {
|
|
|
1885
1900
|
*/
|
|
1886
1901
|
rewardByBatch?: boolean | null;
|
|
1887
1902
|
|
|
1903
|
+
/**
|
|
1904
|
+
* Criteria to evaluate the reward.
|
|
1905
|
+
*/
|
|
1906
|
+
rewardCriteria?: 'IMPRESSIONS_COUNT' | 'ELIGIBLE_POST' | null;
|
|
1907
|
+
|
|
1888
1908
|
/**
|
|
1889
1909
|
* Flag indicating if the reward is rewarded per action.
|
|
1890
1910
|
*/
|
|
@@ -2716,7 +2736,7 @@ export namespace RuleListResponse {
|
|
|
2716
2736
|
/**
|
|
2717
2737
|
* Text to check in the Twitter post, username, or bio.
|
|
2718
2738
|
*/
|
|
2719
|
-
checkText?: string | null;
|
|
2739
|
+
checkText?: string | Array<string> | null;
|
|
2720
2740
|
|
|
2721
2741
|
/**
|
|
2722
2742
|
* Array of collections associated with the rule.
|
|
@@ -2933,6 +2953,11 @@ export namespace RuleListResponse {
|
|
|
2933
2953
|
*/
|
|
2934
2954
|
requirePostLink?: boolean | null;
|
|
2935
2955
|
|
|
2956
|
+
/**
|
|
2957
|
+
* Flag indicating if media metadata is required.
|
|
2958
|
+
*/
|
|
2959
|
+
requirePostMediaLink?: boolean | null;
|
|
2960
|
+
|
|
2936
2961
|
/**
|
|
2937
2962
|
* Flag indicating if the rule can also reward badges per range.
|
|
2938
2963
|
*/
|
|
@@ -2943,6 +2968,11 @@ export namespace RuleListResponse {
|
|
|
2943
2968
|
*/
|
|
2944
2969
|
rewardByBatch?: boolean | null;
|
|
2945
2970
|
|
|
2971
|
+
/**
|
|
2972
|
+
* Criteria to evaluate the reward.
|
|
2973
|
+
*/
|
|
2974
|
+
rewardCriteria?: 'IMPRESSIONS_COUNT' | 'ELIGIBLE_POST' | null;
|
|
2975
|
+
|
|
2946
2976
|
/**
|
|
2947
2977
|
* Flag indicating if the reward is rewarded per action.
|
|
2948
2978
|
*/
|
|
@@ -3895,7 +3925,7 @@ export namespace RuleCreateParams {
|
|
|
3895
3925
|
/**
|
|
3896
3926
|
* Text to check in the Twitter post, username, or bio.
|
|
3897
3927
|
*/
|
|
3898
|
-
checkText?: string | null;
|
|
3928
|
+
checkText?: string | Array<string> | null;
|
|
3899
3929
|
|
|
3900
3930
|
/**
|
|
3901
3931
|
* Array of collections associated with the rule.
|
|
@@ -4112,6 +4142,11 @@ export namespace RuleCreateParams {
|
|
|
4112
4142
|
*/
|
|
4113
4143
|
requirePostLink?: boolean | null;
|
|
4114
4144
|
|
|
4145
|
+
/**
|
|
4146
|
+
* Flag indicating if media metadata is required.
|
|
4147
|
+
*/
|
|
4148
|
+
requirePostMediaLink?: boolean | null;
|
|
4149
|
+
|
|
4115
4150
|
/**
|
|
4116
4151
|
* Flag indicating if the rule can also reward badges per range.
|
|
4117
4152
|
*/
|
|
@@ -4122,6 +4157,11 @@ export namespace RuleCreateParams {
|
|
|
4122
4157
|
*/
|
|
4123
4158
|
rewardByBatch?: boolean | null;
|
|
4124
4159
|
|
|
4160
|
+
/**
|
|
4161
|
+
* Criteria to evaluate the reward.
|
|
4162
|
+
*/
|
|
4163
|
+
rewardCriteria?: 'IMPRESSIONS_COUNT' | 'ELIGIBLE_POST' | null;
|
|
4164
|
+
|
|
4125
4165
|
/**
|
|
4126
4166
|
* Flag indicating if the reward is rewarded per action.
|
|
4127
4167
|
*/
|
|
@@ -5071,7 +5111,7 @@ export namespace RuleUpdateParams {
|
|
|
5071
5111
|
/**
|
|
5072
5112
|
* Text to check in the Twitter post, username, or bio.
|
|
5073
5113
|
*/
|
|
5074
|
-
checkText?: string | null;
|
|
5114
|
+
checkText?: string | Array<string> | null;
|
|
5075
5115
|
|
|
5076
5116
|
/**
|
|
5077
5117
|
* Array of collections associated with the rule.
|
|
@@ -5288,6 +5328,11 @@ export namespace RuleUpdateParams {
|
|
|
5288
5328
|
*/
|
|
5289
5329
|
requirePostLink?: boolean | null;
|
|
5290
5330
|
|
|
5331
|
+
/**
|
|
5332
|
+
* Flag indicating if media metadata is required.
|
|
5333
|
+
*/
|
|
5334
|
+
requirePostMediaLink?: boolean | null;
|
|
5335
|
+
|
|
5291
5336
|
/**
|
|
5292
5337
|
* Flag indicating if the rule can also reward badges per range.
|
|
5293
5338
|
*/
|
|
@@ -5298,6 +5343,11 @@ export namespace RuleUpdateParams {
|
|
|
5298
5343
|
*/
|
|
5299
5344
|
rewardByBatch?: boolean | null;
|
|
5300
5345
|
|
|
5346
|
+
/**
|
|
5347
|
+
* Criteria to evaluate the reward.
|
|
5348
|
+
*/
|
|
5349
|
+
rewardCriteria?: 'IMPRESSIONS_COUNT' | 'ELIGIBLE_POST' | null;
|
|
5350
|
+
|
|
5301
5351
|
/**
|
|
5302
5352
|
* Flag indicating if the reward is rewarded per action.
|
|
5303
5353
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.152'; // 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.152";
|
|
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.152'; // 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.152'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|