@pushwoosh/rpc-gateway-journey-data 0.26.279 → 0.26.281
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/data.js +29 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +8 -0
package/data.js
CHANGED
|
@@ -1734,6 +1734,26 @@ export const data = {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
1736
|
},
|
|
1737
|
+
"pushwoosh.cj.journey.SendRate.Policy": {
|
|
1738
|
+
"type": "E",
|
|
1739
|
+
"values": [
|
|
1740
|
+
"UNKNOWN",
|
|
1741
|
+
"GLOBAL",
|
|
1742
|
+
"CUSTOM",
|
|
1743
|
+
"IGNORE"
|
|
1744
|
+
]
|
|
1745
|
+
},
|
|
1746
|
+
"pushwoosh.cj.journey.SendRate": {
|
|
1747
|
+
"type": "I",
|
|
1748
|
+
"fields": {
|
|
1749
|
+
"policy": {
|
|
1750
|
+
"type": "pushwoosh.cj.journey.SendRate.Policy"
|
|
1751
|
+
},
|
|
1752
|
+
"sendRate": {
|
|
1753
|
+
"type": "number"
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1737
1757
|
"pushwoosh.cj.journey.PointParamsSendPush": {
|
|
1738
1758
|
"type": "I",
|
|
1739
1759
|
"fields": {
|
|
@@ -1781,6 +1801,9 @@ export const data = {
|
|
|
1781
1801
|
},
|
|
1782
1802
|
"vouchersParams": {
|
|
1783
1803
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
1804
|
+
},
|
|
1805
|
+
"sendRate": {
|
|
1806
|
+
"type": "pushwoosh.cj.journey.SendRate"
|
|
1784
1807
|
}
|
|
1785
1808
|
}
|
|
1786
1809
|
},
|
|
@@ -1819,6 +1842,9 @@ export const data = {
|
|
|
1819
1842
|
},
|
|
1820
1843
|
"vouchersParams": {
|
|
1821
1844
|
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
1845
|
+
},
|
|
1846
|
+
"sendRate": {
|
|
1847
|
+
"type": "pushwoosh.cj.journey.SendRate"
|
|
1822
1848
|
}
|
|
1823
1849
|
}
|
|
1824
1850
|
},
|
|
@@ -2009,6 +2035,9 @@ export const data = {
|
|
|
2009
2035
|
},
|
|
2010
2036
|
"defaultOptimalTime": {
|
|
2011
2037
|
"type": "pushwoosh.cj.journey.ExactTime"
|
|
2038
|
+
},
|
|
2039
|
+
"sendRate": {
|
|
2040
|
+
"type": "pushwoosh.cj.journey.SendRate"
|
|
2012
2041
|
}
|
|
2013
2042
|
}
|
|
2014
2043
|
},
|
package/package.json
CHANGED
|
@@ -693,6 +693,11 @@ export type Period = {
|
|
|
693
693
|
end: Date;
|
|
694
694
|
timezone: string;
|
|
695
695
|
};
|
|
696
|
+
export type SendRate_Policy = 'UNKNOWN' | 'GLOBAL' | 'CUSTOM' | 'IGNORE';
|
|
697
|
+
export type SendRate = {
|
|
698
|
+
policy: SendRate_Policy;
|
|
699
|
+
sendRate: number;
|
|
700
|
+
};
|
|
696
701
|
export type PointParamsSendPush = {
|
|
697
702
|
presetCode: string;
|
|
698
703
|
content: string;
|
|
@@ -709,6 +714,7 @@ export type PointParamsSendPush = {
|
|
|
709
714
|
capping: Capping;
|
|
710
715
|
inboxOptions: InboxOptions;
|
|
711
716
|
vouchersParams: VoucherParams;
|
|
717
|
+
sendRate: SendRate;
|
|
712
718
|
};
|
|
713
719
|
export type PointParamsSendSms = {
|
|
714
720
|
presetCode: string;
|
|
@@ -722,6 +728,7 @@ export type PointParamsSendSms = {
|
|
|
722
728
|
personalise: PersonalisedParams;
|
|
723
729
|
capping: Capping;
|
|
724
730
|
vouchersParams: VoucherParams;
|
|
731
|
+
sendRate: SendRate;
|
|
725
732
|
};
|
|
726
733
|
export type PointParamsSendLine = {
|
|
727
734
|
presetCode: string;
|
|
@@ -786,6 +793,7 @@ export type PointParamsSendEmail = {
|
|
|
786
793
|
vouchersParams: VoucherParams;
|
|
787
794
|
waitOptimalTime: boolean;
|
|
788
795
|
defaultOptimalTime: ExactTime;
|
|
796
|
+
sendRate: SendRate;
|
|
789
797
|
};
|
|
790
798
|
export type From = {
|
|
791
799
|
name: string;
|