@pushwoosh/rpc-gateway-journey-data 0.27.1 → 0.27.3
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 +70 -3
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +30 -3
package/data.js
CHANGED
|
@@ -643,6 +643,9 @@ export const data = {
|
|
|
643
643
|
},
|
|
644
644
|
"audienceSync": {
|
|
645
645
|
"type": "pushwoosh.cj.journey.PointStatAudienceSync"
|
|
646
|
+
},
|
|
647
|
+
"sendViber": {
|
|
648
|
+
"type": "pushwoosh.cj.journey.PointStatSendViber"
|
|
646
649
|
}
|
|
647
650
|
},
|
|
648
651
|
"oneofs": {
|
|
@@ -663,7 +666,8 @@ export const data = {
|
|
|
663
666
|
"sendLine",
|
|
664
667
|
"sendKakao",
|
|
665
668
|
"sendTelegram",
|
|
666
|
-
"audienceSync"
|
|
669
|
+
"audienceSync",
|
|
670
|
+
"sendViber"
|
|
667
671
|
]
|
|
668
672
|
}
|
|
669
673
|
}
|
|
@@ -830,6 +834,26 @@ export const data = {
|
|
|
830
834
|
}
|
|
831
835
|
}
|
|
832
836
|
},
|
|
837
|
+
"pushwoosh.cj.journey.PointStatSendViber": {
|
|
838
|
+
"type": "I",
|
|
839
|
+
"fields": {
|
|
840
|
+
"sent": {
|
|
841
|
+
"type": "number"
|
|
842
|
+
},
|
|
843
|
+
"delivered": {
|
|
844
|
+
"type": "number"
|
|
845
|
+
},
|
|
846
|
+
"errors": {
|
|
847
|
+
"type": "number"
|
|
848
|
+
},
|
|
849
|
+
"recipients": {
|
|
850
|
+
"type": "number"
|
|
851
|
+
},
|
|
852
|
+
"voucherStats": {
|
|
853
|
+
"type": "pushwoosh.cj.journey.VoucherPoolStats"
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
},
|
|
833
857
|
"pushwoosh.cj.journey.PointStatSendWhatsApp": {
|
|
834
858
|
"type": "I",
|
|
835
859
|
"fields": {
|
|
@@ -2103,7 +2127,8 @@ export const data = {
|
|
|
2103
2127
|
"POINT_TYPE_START_BY_API",
|
|
2104
2128
|
"POINT_TYPE_SEND_KAKAO",
|
|
2105
2129
|
"POINT_TYPE_SEND_TELEGRAM",
|
|
2106
|
-
"POINT_TYPE_AUDIENCE_SYNC"
|
|
2130
|
+
"POINT_TYPE_AUDIENCE_SYNC",
|
|
2131
|
+
"POINT_TYPE_SEND_VIBER"
|
|
2107
2132
|
]
|
|
2108
2133
|
},
|
|
2109
2134
|
"pushwoosh.cj.journey.Point": {
|
|
@@ -2201,6 +2226,9 @@ export const data = {
|
|
|
2201
2226
|
},
|
|
2202
2227
|
"audienceSync": {
|
|
2203
2228
|
"type": "pushwoosh.cj.journey.PointParamsAudienceSync"
|
|
2229
|
+
},
|
|
2230
|
+
"sendViber": {
|
|
2231
|
+
"type": "pushwoosh.cj.journey.PointParamsSendViber"
|
|
2204
2232
|
}
|
|
2205
2233
|
},
|
|
2206
2234
|
"oneofs": {
|
|
@@ -2227,7 +2255,8 @@ export const data = {
|
|
|
2227
2255
|
"sendLine",
|
|
2228
2256
|
"sendKakao",
|
|
2229
2257
|
"sendTelegram",
|
|
2230
|
-
"audienceSync"
|
|
2258
|
+
"audienceSync",
|
|
2259
|
+
"sendViber"
|
|
2231
2260
|
]
|
|
2232
2261
|
}
|
|
2233
2262
|
}
|
|
@@ -2675,6 +2704,44 @@ export const data = {
|
|
|
2675
2704
|
},
|
|
2676
2705
|
"oneofs": {}
|
|
2677
2706
|
},
|
|
2707
|
+
"pushwoosh.cj.journey.PointParamsSendViber": {
|
|
2708
|
+
"type": "I",
|
|
2709
|
+
"fields": {
|
|
2710
|
+
"presetCode": {
|
|
2711
|
+
"type": "string"
|
|
2712
|
+
},
|
|
2713
|
+
"content": {
|
|
2714
|
+
"type": "string"
|
|
2715
|
+
},
|
|
2716
|
+
"templateLang": {
|
|
2717
|
+
"type": "string"
|
|
2718
|
+
},
|
|
2719
|
+
"applicationCode": {
|
|
2720
|
+
"type": "string"
|
|
2721
|
+
},
|
|
2722
|
+
"campaignCode": {
|
|
2723
|
+
"type": "string",
|
|
2724
|
+
"optional": true
|
|
2725
|
+
},
|
|
2726
|
+
"campaignUid": {
|
|
2727
|
+
"type": "number",
|
|
2728
|
+
"optional": true
|
|
2729
|
+
},
|
|
2730
|
+
"personalise": {
|
|
2731
|
+
"type": "pushwoosh.cj.journey.PersonalisedParams"
|
|
2732
|
+
},
|
|
2733
|
+
"vouchersParams": {
|
|
2734
|
+
"type": "pushwoosh.cj.journey.VoucherParams"
|
|
2735
|
+
},
|
|
2736
|
+
"capping": {
|
|
2737
|
+
"type": "pushwoosh.cj.journey.Capping"
|
|
2738
|
+
},
|
|
2739
|
+
"messageType": {
|
|
2740
|
+
"type": "pushwoosh.cj.journey.MessageType"
|
|
2741
|
+
}
|
|
2742
|
+
},
|
|
2743
|
+
"oneofs": {}
|
|
2744
|
+
},
|
|
2678
2745
|
"pushwoosh.cj.journey.WhatsAppPersonalisedParams": {
|
|
2679
2746
|
"type": "I",
|
|
2680
2747
|
"fields": {
|
package/package.json
CHANGED
|
@@ -215,7 +215,11 @@ export type PointStat_pointStat_audienceSync = {
|
|
|
215
215
|
type: 'audienceSync';
|
|
216
216
|
data: PointStatAudienceSync;
|
|
217
217
|
};
|
|
218
|
-
export type
|
|
218
|
+
export type PointStat_pointStat_sendViber = {
|
|
219
|
+
type: 'sendViber';
|
|
220
|
+
data: PointStatSendViber;
|
|
221
|
+
};
|
|
222
|
+
export type PointStat_pointStat = PointStat_pointStat_sendPush | PointStat_pointStat_inApp | PointStat_pointStat_sendSms | PointStat_pointStat_sendWhatsapp | PointStat_pointStat_sendData | PointStat_pointStat_sendEmail | PointStat_pointStat_messageBus | PointStat_pointStat_goalEvent | PointStat_pointStat_terminator | PointStat_pointStat_delay | PointStat_pointStat_booleanSplitter | PointStat_pointStat_waitEvent | PointStat_pointStat_sendLine | PointStat_pointStat_sendKakao | PointStat_pointStat_sendTelegram | PointStat_pointStat_audienceSync | PointStat_pointStat_sendViber;
|
|
219
223
|
export type PointStat = {
|
|
220
224
|
pointStat: PointStat_pointStat;
|
|
221
225
|
};
|
|
@@ -275,6 +279,13 @@ export type PointStatSendTelegram = {
|
|
|
275
279
|
recipients: number;
|
|
276
280
|
voucherStats: VoucherPoolStats;
|
|
277
281
|
};
|
|
282
|
+
export type PointStatSendViber = {
|
|
283
|
+
sent: number;
|
|
284
|
+
delivered: number;
|
|
285
|
+
errors: number;
|
|
286
|
+
recipients: number;
|
|
287
|
+
voucherStats: VoucherPoolStats;
|
|
288
|
+
};
|
|
278
289
|
export type PointStatSendWhatsApp = {
|
|
279
290
|
sent: number;
|
|
280
291
|
totalOpened: number;
|
|
@@ -736,7 +747,7 @@ export type User = {
|
|
|
736
747
|
email: string;
|
|
737
748
|
username: string;
|
|
738
749
|
};
|
|
739
|
-
export type PointType = 'POINT_TYPE_UNKNOWN' | 'POINT_TYPE_WAIT' | 'POINT_TYPE_EVENT' | 'POINT_TYPE_EXIT' | 'POINT_TYPE_SEND_PUSH' | 'POINT_TYPE_GOAL_EVENT' | 'POINT_TYPE_SEND_EMAIL' | 'POINT_TYPE_SEND_SMS' | 'POINT_TYPE_SEND_WHATSAPP' | 'POINT_TYPE_SEND_LINE' | 'POINT_TYPE_SEND_DATA' | 'POINT_TYPE_BOOLEAN_SPLITTER' | 'POINT_TYPE_FILTER' | 'POINT_TYPE_WAIT_EVENT' | 'POINT_TYPE_INAPP' | 'POINT_TYPE_START_BY_SEGMENT' | 'POINT_TYPE_AB_SPLITTER' | 'POINT_TYPE_SET_TAGS' | 'POINT_TYPE_WEBHOOK' | 'POINT_TYPE_START_BY_API' | 'POINT_TYPE_SEND_KAKAO' | 'POINT_TYPE_SEND_TELEGRAM' | 'POINT_TYPE_AUDIENCE_SYNC';
|
|
750
|
+
export type PointType = 'POINT_TYPE_UNKNOWN' | 'POINT_TYPE_WAIT' | 'POINT_TYPE_EVENT' | 'POINT_TYPE_EXIT' | 'POINT_TYPE_SEND_PUSH' | 'POINT_TYPE_GOAL_EVENT' | 'POINT_TYPE_SEND_EMAIL' | 'POINT_TYPE_SEND_SMS' | 'POINT_TYPE_SEND_WHATSAPP' | 'POINT_TYPE_SEND_LINE' | 'POINT_TYPE_SEND_DATA' | 'POINT_TYPE_BOOLEAN_SPLITTER' | 'POINT_TYPE_FILTER' | 'POINT_TYPE_WAIT_EVENT' | 'POINT_TYPE_INAPP' | 'POINT_TYPE_START_BY_SEGMENT' | 'POINT_TYPE_AB_SPLITTER' | 'POINT_TYPE_SET_TAGS' | 'POINT_TYPE_WEBHOOK' | 'POINT_TYPE_START_BY_API' | 'POINT_TYPE_SEND_KAKAO' | 'POINT_TYPE_SEND_TELEGRAM' | 'POINT_TYPE_AUDIENCE_SYNC' | 'POINT_TYPE_SEND_VIBER';
|
|
740
751
|
export type Point = {
|
|
741
752
|
uuid: string;
|
|
742
753
|
title: string;
|
|
@@ -834,7 +845,11 @@ export type PointDataWrapper_data_audienceSync = {
|
|
|
834
845
|
type: 'audienceSync';
|
|
835
846
|
data: PointParamsAudienceSync;
|
|
836
847
|
};
|
|
837
|
-
export type
|
|
848
|
+
export type PointDataWrapper_data_sendViber = {
|
|
849
|
+
type: 'sendViber';
|
|
850
|
+
data: PointParamsSendViber;
|
|
851
|
+
};
|
|
852
|
+
export type PointDataWrapper_data = PointDataWrapper_data_messageBus | PointDataWrapper_data_delay | PointDataWrapper_data_terminator | PointDataWrapper_data_sendPush | PointDataWrapper_data_goalEvent | PointDataWrapper_data_sendEmail | PointDataWrapper_data_booleanSplitter | PointDataWrapper_data_waitEvent | PointDataWrapper_data_inapp | PointDataWrapper_data_startBySegment | PointDataWrapper_data_abSplitter | PointDataWrapper_data_setTags | PointDataWrapper_data_webHook | PointDataWrapper_data_filter | PointDataWrapper_data_sendSms | PointDataWrapper_data_startByApi | PointDataWrapper_data_sendWhatsapp | PointDataWrapper_data_sendData | PointDataWrapper_data_sendLine | PointDataWrapper_data_sendKakao | PointDataWrapper_data_sendTelegram | PointDataWrapper_data_audienceSync | PointDataWrapper_data_sendViber;
|
|
838
853
|
export type PointDataWrapper = {
|
|
839
854
|
data: PointDataWrapper_data;
|
|
840
855
|
};
|
|
@@ -977,6 +992,18 @@ export type PointParamsSendTelegram = {
|
|
|
977
992
|
capping: Capping;
|
|
978
993
|
sendRate: SendRate;
|
|
979
994
|
};
|
|
995
|
+
export type PointParamsSendViber = {
|
|
996
|
+
presetCode: string;
|
|
997
|
+
content: string;
|
|
998
|
+
templateLang: string;
|
|
999
|
+
applicationCode: string;
|
|
1000
|
+
campaignCode?: string;
|
|
1001
|
+
campaignUid?: number;
|
|
1002
|
+
personalise: PersonalisedParams;
|
|
1003
|
+
vouchersParams: VoucherParams;
|
|
1004
|
+
capping: Capping;
|
|
1005
|
+
messageType: MessageType;
|
|
1006
|
+
};
|
|
980
1007
|
export type WhatsAppPersonalisedParams = {
|
|
981
1008
|
enabled: boolean;
|
|
982
1009
|
placeholders: WhatsAppPlaceholder[];
|