@pushwoosh/rpc-gateway-journey-data 0.26.215 → 0.26.217
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 +26 -1
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +9 -1
package/data.js
CHANGED
|
@@ -879,6 +879,19 @@ export const data = {
|
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
881
|
},
|
|
882
|
+
"pushwoosh.cj.journey.JourneyChangelogRecords": {
|
|
883
|
+
"type": "I",
|
|
884
|
+
"fields": {
|
|
885
|
+
"changes": {
|
|
886
|
+
"type": "pushwoosh.cj.journey.Change",
|
|
887
|
+
"array": true
|
|
888
|
+
},
|
|
889
|
+
"goals": {
|
|
890
|
+
"type": "pushwoosh.cj.journey.PointsChangelog",
|
|
891
|
+
"mapKeyType": "string"
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
},
|
|
882
895
|
"pushwoosh.cj.journey.ChangelogRecords": {
|
|
883
896
|
"type": "I",
|
|
884
897
|
"fields": {
|
|
@@ -907,7 +920,7 @@ export const data = {
|
|
|
907
920
|
"type": "I",
|
|
908
921
|
"fields": {
|
|
909
922
|
"journey": {
|
|
910
|
-
"type": "pushwoosh.cj.journey.
|
|
923
|
+
"type": "pushwoosh.cj.journey.JourneyChangelogRecords"
|
|
911
924
|
},
|
|
912
925
|
"points": {
|
|
913
926
|
"type": "pushwoosh.cj.journey.PointsChangelog",
|
|
@@ -1755,6 +1768,9 @@ export const data = {
|
|
|
1755
1768
|
},
|
|
1756
1769
|
"capping": {
|
|
1757
1770
|
"type": "pushwoosh.cj.journey.Capping"
|
|
1771
|
+
},
|
|
1772
|
+
"vouchersParams": {
|
|
1773
|
+
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
1758
1774
|
}
|
|
1759
1775
|
}
|
|
1760
1776
|
},
|
|
@@ -1790,6 +1806,9 @@ export const data = {
|
|
|
1790
1806
|
},
|
|
1791
1807
|
"capping": {
|
|
1792
1808
|
"type": "pushwoosh.cj.journey.Capping"
|
|
1809
|
+
},
|
|
1810
|
+
"vouchersParams": {
|
|
1811
|
+
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
1793
1812
|
}
|
|
1794
1813
|
}
|
|
1795
1814
|
},
|
|
@@ -1878,6 +1897,9 @@ export const data = {
|
|
|
1878
1897
|
},
|
|
1879
1898
|
"capping": {
|
|
1880
1899
|
"type": "pushwoosh.cj.journey.Capping"
|
|
1900
|
+
},
|
|
1901
|
+
"vouchersParams": {
|
|
1902
|
+
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
1881
1903
|
}
|
|
1882
1904
|
}
|
|
1883
1905
|
},
|
|
@@ -1981,6 +2003,9 @@ export const data = {
|
|
|
1981
2003
|
},
|
|
1982
2004
|
"personalise": {
|
|
1983
2005
|
"type": "pushwoosh.cj.journey.PersonalisedParams"
|
|
2006
|
+
},
|
|
2007
|
+
"vouchersParams": {
|
|
2008
|
+
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
1984
2009
|
}
|
|
1985
2010
|
}
|
|
1986
2011
|
},
|
package/package.json
CHANGED
|
@@ -351,6 +351,10 @@ export type FloatArray = {
|
|
|
351
351
|
export type StringMap = {
|
|
352
352
|
values: Record<string, string>;
|
|
353
353
|
};
|
|
354
|
+
export type JourneyChangelogRecords = {
|
|
355
|
+
changes: Change[];
|
|
356
|
+
goals: Record<string, PointsChangelog>;
|
|
357
|
+
};
|
|
354
358
|
export type ChangelogRecords = {
|
|
355
359
|
changes: Change[];
|
|
356
360
|
};
|
|
@@ -360,7 +364,7 @@ export type PointChangelogRecords = {
|
|
|
360
364
|
title: string;
|
|
361
365
|
};
|
|
362
366
|
export type Changelog = {
|
|
363
|
-
journey:
|
|
367
|
+
journey: JourneyChangelogRecords;
|
|
364
368
|
points: Record<string, PointsChangelog>;
|
|
365
369
|
comments: Record<string, CommentsChangelog>;
|
|
366
370
|
};
|
|
@@ -703,6 +707,7 @@ export type PointParamsSendSms = {
|
|
|
703
707
|
liquidTemplateParams: LiquidTemplateParams;
|
|
704
708
|
personalise: PersonalisedParams;
|
|
705
709
|
capping: Capping;
|
|
710
|
+
vouchersParams: VoucherParams;
|
|
706
711
|
};
|
|
707
712
|
export type PointParamsSendLine = {
|
|
708
713
|
presetCode: string;
|
|
@@ -715,6 +720,7 @@ export type PointParamsSendLine = {
|
|
|
715
720
|
liquidTemplateParams: LiquidTemplateParams;
|
|
716
721
|
personalise: PersonalisedParams;
|
|
717
722
|
capping: Capping;
|
|
723
|
+
vouchersParams: VoucherParams;
|
|
718
724
|
};
|
|
719
725
|
export type WhatsAppPersonalisedParams = {
|
|
720
726
|
enabled: boolean;
|
|
@@ -745,6 +751,7 @@ export type PointParamsSendWhatsApp = {
|
|
|
745
751
|
sendByUserId: boolean;
|
|
746
752
|
personalise: WhatsAppPersonalisedParams;
|
|
747
753
|
capping: Capping;
|
|
754
|
+
vouchersParams: VoucherParams;
|
|
748
755
|
};
|
|
749
756
|
export type PointParamsSendEmail = {
|
|
750
757
|
applicationCode: string;
|
|
@@ -780,6 +787,7 @@ export type PointParamsSendData = {
|
|
|
780
787
|
sendByUserId: boolean;
|
|
781
788
|
liquidTemplateParams: LiquidTemplateParams;
|
|
782
789
|
personalise: PersonalisedParams;
|
|
790
|
+
vouchersParams: VoucherParams;
|
|
783
791
|
};
|
|
784
792
|
export type UnsubscribedPolicy = 'UNKNOWN' | 'IGNORE' | 'SEND';
|
|
785
793
|
export type PointParamsBooleanSplitter = {
|