@snagsolutions/sdk 0.1.0-alpha.105 → 0.1.0-alpha.107
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 +16 -0
- package/package.json +1 -1
- package/resources/loyalty/rule-edits.d.ts +0 -172
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +0 -43
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +0 -215
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/users/metadatas.d.ts +1 -0
- package/resources/users/metadatas.d.ts.map +1 -1
- package/resources/users/users.d.ts +0 -4
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/src/resources/loyalty/rule-edits.ts +0 -208
- package/src/resources/loyalty/rule-groups.ts +0 -52
- package/src/resources/loyalty/rules.ts +0 -260
- package/src/resources/users/metadatas.ts +2 -0
- package/src/resources/users/users.ts +0 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -900,11 +900,6 @@ export namespace RuleEditListResponse {
|
|
|
900
900
|
*/
|
|
901
901
|
amountMultiplier?: SmartContract.AmountMultiplier | null;
|
|
902
902
|
|
|
903
|
-
/**
|
|
904
|
-
* Array of bonus details applied to the rule.
|
|
905
|
-
*/
|
|
906
|
-
bonus?: Array<SmartContract.Bonus> | null;
|
|
907
|
-
|
|
908
903
|
/**
|
|
909
904
|
* ID of the smart contract.
|
|
910
905
|
*/
|
|
@@ -915,21 +910,11 @@ export namespace RuleEditListResponse {
|
|
|
915
910
|
*/
|
|
916
911
|
criteria?: 'everyEvent' | 'byParameter' | null;
|
|
917
912
|
|
|
918
|
-
/**
|
|
919
|
-
* Time range applied to the rule.
|
|
920
|
-
*/
|
|
921
|
-
customRange?: SmartContract.CustomRange | null;
|
|
922
|
-
|
|
923
913
|
/**
|
|
924
914
|
* Event emitted by the smart contract.
|
|
925
915
|
*/
|
|
926
916
|
event?: string | null;
|
|
927
917
|
|
|
928
|
-
/**
|
|
929
|
-
* Maximum value allowed for the parameter.
|
|
930
|
-
*/
|
|
931
|
-
max?: number | null;
|
|
932
|
-
|
|
933
918
|
/**
|
|
934
919
|
* Array of parameters for the smart contract.
|
|
935
920
|
*/
|
|
@@ -939,16 +924,6 @@ export namespace RuleEditListResponse {
|
|
|
939
924
|
* Type of the smart contract interaction.
|
|
940
925
|
*/
|
|
941
926
|
type?: 'function' | 'event' | null;
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* Flag indicating if a bonus is applied.
|
|
945
|
-
*/
|
|
946
|
-
withBonus?: boolean | null;
|
|
947
|
-
|
|
948
|
-
/**
|
|
949
|
-
* Flag indicating if a custom range is applied.
|
|
950
|
-
*/
|
|
951
|
-
withCustomRange?: boolean | null;
|
|
952
927
|
}
|
|
953
928
|
|
|
954
929
|
export namespace SmartContract {
|
|
@@ -962,33 +937,6 @@ export namespace RuleEditListResponse {
|
|
|
962
937
|
valueMapping?: string | null;
|
|
963
938
|
}
|
|
964
939
|
|
|
965
|
-
export interface Bonus {
|
|
966
|
-
/**
|
|
967
|
-
* Amount of the bonus.
|
|
968
|
-
*/
|
|
969
|
-
amount?: number | null;
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
* Number of times the bonus is applied.
|
|
973
|
-
*/
|
|
974
|
-
count?: number | null;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* Time range applied to the rule.
|
|
979
|
-
*/
|
|
980
|
-
export interface CustomRange {
|
|
981
|
-
/**
|
|
982
|
-
* End time of the custom range.
|
|
983
|
-
*/
|
|
984
|
-
endsAt?: string | null;
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* Start time of the custom range.
|
|
988
|
-
*/
|
|
989
|
-
startsAt?: string | null;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
940
|
export interface Param {
|
|
993
941
|
/**
|
|
994
942
|
* Condition to check for the parameter.
|
|
@@ -1863,11 +1811,6 @@ export namespace RuleEditListResponse {
|
|
|
1863
1811
|
*/
|
|
1864
1812
|
amountMultiplier?: SmartContract.AmountMultiplier | null;
|
|
1865
1813
|
|
|
1866
|
-
/**
|
|
1867
|
-
* Array of bonus details applied to the rule.
|
|
1868
|
-
*/
|
|
1869
|
-
bonus?: Array<SmartContract.Bonus> | null;
|
|
1870
|
-
|
|
1871
1814
|
/**
|
|
1872
1815
|
* ID of the smart contract.
|
|
1873
1816
|
*/
|
|
@@ -1878,21 +1821,11 @@ export namespace RuleEditListResponse {
|
|
|
1878
1821
|
*/
|
|
1879
1822
|
criteria?: 'everyEvent' | 'byParameter' | null;
|
|
1880
1823
|
|
|
1881
|
-
/**
|
|
1882
|
-
* Time range applied to the rule.
|
|
1883
|
-
*/
|
|
1884
|
-
customRange?: SmartContract.CustomRange | null;
|
|
1885
|
-
|
|
1886
1824
|
/**
|
|
1887
1825
|
* Event emitted by the smart contract.
|
|
1888
1826
|
*/
|
|
1889
1827
|
event?: string | null;
|
|
1890
1828
|
|
|
1891
|
-
/**
|
|
1892
|
-
* Maximum value allowed for the parameter.
|
|
1893
|
-
*/
|
|
1894
|
-
max?: number | null;
|
|
1895
|
-
|
|
1896
1829
|
/**
|
|
1897
1830
|
* Array of parameters for the smart contract.
|
|
1898
1831
|
*/
|
|
@@ -1902,16 +1835,6 @@ export namespace RuleEditListResponse {
|
|
|
1902
1835
|
* Type of the smart contract interaction.
|
|
1903
1836
|
*/
|
|
1904
1837
|
type?: 'function' | 'event' | null;
|
|
1905
|
-
|
|
1906
|
-
/**
|
|
1907
|
-
* Flag indicating if a bonus is applied.
|
|
1908
|
-
*/
|
|
1909
|
-
withBonus?: boolean | null;
|
|
1910
|
-
|
|
1911
|
-
/**
|
|
1912
|
-
* Flag indicating if a custom range is applied.
|
|
1913
|
-
*/
|
|
1914
|
-
withCustomRange?: boolean | null;
|
|
1915
1838
|
}
|
|
1916
1839
|
|
|
1917
1840
|
export namespace SmartContract {
|
|
@@ -1925,33 +1848,6 @@ export namespace RuleEditListResponse {
|
|
|
1925
1848
|
valueMapping?: string | null;
|
|
1926
1849
|
}
|
|
1927
1850
|
|
|
1928
|
-
export interface Bonus {
|
|
1929
|
-
/**
|
|
1930
|
-
* Amount of the bonus.
|
|
1931
|
-
*/
|
|
1932
|
-
amount?: number | null;
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* Number of times the bonus is applied.
|
|
1936
|
-
*/
|
|
1937
|
-
count?: number | null;
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
/**
|
|
1941
|
-
* Time range applied to the rule.
|
|
1942
|
-
*/
|
|
1943
|
-
export interface CustomRange {
|
|
1944
|
-
/**
|
|
1945
|
-
* End time of the custom range.
|
|
1946
|
-
*/
|
|
1947
|
-
endsAt?: string | null;
|
|
1948
|
-
|
|
1949
|
-
/**
|
|
1950
|
-
* Start time of the custom range.
|
|
1951
|
-
*/
|
|
1952
|
-
startsAt?: string | null;
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
1851
|
export interface Param {
|
|
1956
1852
|
/**
|
|
1957
1853
|
* Condition to check for the parameter.
|
|
@@ -2881,11 +2777,6 @@ export namespace RuleEditRestoreResponse {
|
|
|
2881
2777
|
*/
|
|
2882
2778
|
amountMultiplier?: SmartContract.AmountMultiplier | null;
|
|
2883
2779
|
|
|
2884
|
-
/**
|
|
2885
|
-
* Array of bonus details applied to the rule.
|
|
2886
|
-
*/
|
|
2887
|
-
bonus?: Array<SmartContract.Bonus> | null;
|
|
2888
|
-
|
|
2889
2780
|
/**
|
|
2890
2781
|
* ID of the smart contract.
|
|
2891
2782
|
*/
|
|
@@ -2896,21 +2787,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
2896
2787
|
*/
|
|
2897
2788
|
criteria?: 'everyEvent' | 'byParameter' | null;
|
|
2898
2789
|
|
|
2899
|
-
/**
|
|
2900
|
-
* Time range applied to the rule.
|
|
2901
|
-
*/
|
|
2902
|
-
customRange?: SmartContract.CustomRange | null;
|
|
2903
|
-
|
|
2904
2790
|
/**
|
|
2905
2791
|
* Event emitted by the smart contract.
|
|
2906
2792
|
*/
|
|
2907
2793
|
event?: string | null;
|
|
2908
2794
|
|
|
2909
|
-
/**
|
|
2910
|
-
* Maximum value allowed for the parameter.
|
|
2911
|
-
*/
|
|
2912
|
-
max?: number | null;
|
|
2913
|
-
|
|
2914
2795
|
/**
|
|
2915
2796
|
* Array of parameters for the smart contract.
|
|
2916
2797
|
*/
|
|
@@ -2920,16 +2801,6 @@ export namespace RuleEditRestoreResponse {
|
|
|
2920
2801
|
* Type of the smart contract interaction.
|
|
2921
2802
|
*/
|
|
2922
2803
|
type?: 'function' | 'event' | null;
|
|
2923
|
-
|
|
2924
|
-
/**
|
|
2925
|
-
* Flag indicating if a bonus is applied.
|
|
2926
|
-
*/
|
|
2927
|
-
withBonus?: boolean | null;
|
|
2928
|
-
|
|
2929
|
-
/**
|
|
2930
|
-
* Flag indicating if a custom range is applied.
|
|
2931
|
-
*/
|
|
2932
|
-
withCustomRange?: boolean | null;
|
|
2933
2804
|
}
|
|
2934
2805
|
|
|
2935
2806
|
export namespace SmartContract {
|
|
@@ -2943,33 +2814,6 @@ export namespace RuleEditRestoreResponse {
|
|
|
2943
2814
|
valueMapping?: string | null;
|
|
2944
2815
|
}
|
|
2945
2816
|
|
|
2946
|
-
export interface Bonus {
|
|
2947
|
-
/**
|
|
2948
|
-
* Amount of the bonus.
|
|
2949
|
-
*/
|
|
2950
|
-
amount?: number | null;
|
|
2951
|
-
|
|
2952
|
-
/**
|
|
2953
|
-
* Number of times the bonus is applied.
|
|
2954
|
-
*/
|
|
2955
|
-
count?: number | null;
|
|
2956
|
-
}
|
|
2957
|
-
|
|
2958
|
-
/**
|
|
2959
|
-
* Time range applied to the rule.
|
|
2960
|
-
*/
|
|
2961
|
-
export interface CustomRange {
|
|
2962
|
-
/**
|
|
2963
|
-
* End time of the custom range.
|
|
2964
|
-
*/
|
|
2965
|
-
endsAt?: string | null;
|
|
2966
|
-
|
|
2967
|
-
/**
|
|
2968
|
-
* Start time of the custom range.
|
|
2969
|
-
*/
|
|
2970
|
-
startsAt?: string | null;
|
|
2971
|
-
}
|
|
2972
|
-
|
|
2973
2817
|
export interface Param {
|
|
2974
2818
|
/**
|
|
2975
2819
|
* Condition to check for the parameter.
|
|
@@ -3844,11 +3688,6 @@ export namespace RuleEditRestoreResponse {
|
|
|
3844
3688
|
*/
|
|
3845
3689
|
amountMultiplier?: SmartContract.AmountMultiplier | null;
|
|
3846
3690
|
|
|
3847
|
-
/**
|
|
3848
|
-
* Array of bonus details applied to the rule.
|
|
3849
|
-
*/
|
|
3850
|
-
bonus?: Array<SmartContract.Bonus> | null;
|
|
3851
|
-
|
|
3852
3691
|
/**
|
|
3853
3692
|
* ID of the smart contract.
|
|
3854
3693
|
*/
|
|
@@ -3859,21 +3698,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
3859
3698
|
*/
|
|
3860
3699
|
criteria?: 'everyEvent' | 'byParameter' | null;
|
|
3861
3700
|
|
|
3862
|
-
/**
|
|
3863
|
-
* Time range applied to the rule.
|
|
3864
|
-
*/
|
|
3865
|
-
customRange?: SmartContract.CustomRange | null;
|
|
3866
|
-
|
|
3867
3701
|
/**
|
|
3868
3702
|
* Event emitted by the smart contract.
|
|
3869
3703
|
*/
|
|
3870
3704
|
event?: string | null;
|
|
3871
3705
|
|
|
3872
|
-
/**
|
|
3873
|
-
* Maximum value allowed for the parameter.
|
|
3874
|
-
*/
|
|
3875
|
-
max?: number | null;
|
|
3876
|
-
|
|
3877
3706
|
/**
|
|
3878
3707
|
* Array of parameters for the smart contract.
|
|
3879
3708
|
*/
|
|
@@ -3883,16 +3712,6 @@ export namespace RuleEditRestoreResponse {
|
|
|
3883
3712
|
* Type of the smart contract interaction.
|
|
3884
3713
|
*/
|
|
3885
3714
|
type?: 'function' | 'event' | null;
|
|
3886
|
-
|
|
3887
|
-
/**
|
|
3888
|
-
* Flag indicating if a bonus is applied.
|
|
3889
|
-
*/
|
|
3890
|
-
withBonus?: boolean | null;
|
|
3891
|
-
|
|
3892
|
-
/**
|
|
3893
|
-
* Flag indicating if a custom range is applied.
|
|
3894
|
-
*/
|
|
3895
|
-
withCustomRange?: boolean | null;
|
|
3896
3715
|
}
|
|
3897
3716
|
|
|
3898
3717
|
export namespace SmartContract {
|
|
@@ -3906,33 +3725,6 @@ export namespace RuleEditRestoreResponse {
|
|
|
3906
3725
|
valueMapping?: string | null;
|
|
3907
3726
|
}
|
|
3908
3727
|
|
|
3909
|
-
export interface Bonus {
|
|
3910
|
-
/**
|
|
3911
|
-
* Amount of the bonus.
|
|
3912
|
-
*/
|
|
3913
|
-
amount?: number | null;
|
|
3914
|
-
|
|
3915
|
-
/**
|
|
3916
|
-
* Number of times the bonus is applied.
|
|
3917
|
-
*/
|
|
3918
|
-
count?: number | null;
|
|
3919
|
-
}
|
|
3920
|
-
|
|
3921
|
-
/**
|
|
3922
|
-
* Time range applied to the rule.
|
|
3923
|
-
*/
|
|
3924
|
-
export interface CustomRange {
|
|
3925
|
-
/**
|
|
3926
|
-
* End time of the custom range.
|
|
3927
|
-
*/
|
|
3928
|
-
endsAt?: string | null;
|
|
3929
|
-
|
|
3930
|
-
/**
|
|
3931
|
-
* Start time of the custom range.
|
|
3932
|
-
*/
|
|
3933
|
-
startsAt?: string | null;
|
|
3934
|
-
}
|
|
3935
|
-
|
|
3936
3728
|
export interface Param {
|
|
3937
3729
|
/**
|
|
3938
3730
|
* Condition to check for the parameter.
|
|
@@ -975,11 +975,6 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
975
975
|
*/
|
|
976
976
|
amountMultiplier?: SmartContract.AmountMultiplier | null;
|
|
977
977
|
|
|
978
|
-
/**
|
|
979
|
-
* Array of bonus details applied to the rule.
|
|
980
|
-
*/
|
|
981
|
-
bonus?: Array<SmartContract.Bonus> | null;
|
|
982
|
-
|
|
983
978
|
/**
|
|
984
979
|
* ID of the smart contract.
|
|
985
980
|
*/
|
|
@@ -990,21 +985,11 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
990
985
|
*/
|
|
991
986
|
criteria?: 'everyEvent' | 'byParameter' | null;
|
|
992
987
|
|
|
993
|
-
/**
|
|
994
|
-
* Time range applied to the rule.
|
|
995
|
-
*/
|
|
996
|
-
customRange?: SmartContract.CustomRange | null;
|
|
997
|
-
|
|
998
988
|
/**
|
|
999
989
|
* Event emitted by the smart contract.
|
|
1000
990
|
*/
|
|
1001
991
|
event?: string | null;
|
|
1002
992
|
|
|
1003
|
-
/**
|
|
1004
|
-
* Maximum value allowed for the parameter.
|
|
1005
|
-
*/
|
|
1006
|
-
max?: number | null;
|
|
1007
|
-
|
|
1008
993
|
/**
|
|
1009
994
|
* Array of parameters for the smart contract.
|
|
1010
995
|
*/
|
|
@@ -1014,16 +999,6 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
1014
999
|
* Type of the smart contract interaction.
|
|
1015
1000
|
*/
|
|
1016
1001
|
type?: 'function' | 'event' | null;
|
|
1017
|
-
|
|
1018
|
-
/**
|
|
1019
|
-
* Flag indicating if a bonus is applied.
|
|
1020
|
-
*/
|
|
1021
|
-
withBonus?: boolean | null;
|
|
1022
|
-
|
|
1023
|
-
/**
|
|
1024
|
-
* Flag indicating if a custom range is applied.
|
|
1025
|
-
*/
|
|
1026
|
-
withCustomRange?: boolean | null;
|
|
1027
1002
|
}
|
|
1028
1003
|
|
|
1029
1004
|
export namespace SmartContract {
|
|
@@ -1037,33 +1012,6 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
1037
1012
|
valueMapping?: string | null;
|
|
1038
1013
|
}
|
|
1039
1014
|
|
|
1040
|
-
export interface Bonus {
|
|
1041
|
-
/**
|
|
1042
|
-
* Amount of the bonus.
|
|
1043
|
-
*/
|
|
1044
|
-
amount?: number | null;
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* Number of times the bonus is applied.
|
|
1048
|
-
*/
|
|
1049
|
-
count?: number | null;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
* Time range applied to the rule.
|
|
1054
|
-
*/
|
|
1055
|
-
export interface CustomRange {
|
|
1056
|
-
/**
|
|
1057
|
-
* End time of the custom range.
|
|
1058
|
-
*/
|
|
1059
|
-
endsAt?: string | null;
|
|
1060
|
-
|
|
1061
|
-
/**
|
|
1062
|
-
* Start time of the custom range.
|
|
1063
|
-
*/
|
|
1064
|
-
startsAt?: string | null;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
1015
|
export interface Param {
|
|
1068
1016
|
/**
|
|
1069
1017
|
* Condition to check for the parameter.
|