@pushwoosh/rpc-gateway-journey-data 0.27.122 → 0.27.123

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 CHANGED
@@ -913,6 +913,9 @@ export const data = {
913
913
  },
914
914
  "sendInbox": {
915
915
  "type": "pushwoosh.cj.journey.PointStatSendInbox"
916
+ },
917
+ "sendFbMessenger": {
918
+ "type": "pushwoosh.cj.journey.PointStatSendFBMessenger"
916
919
  }
917
920
  },
918
921
  "oneofs": {
@@ -937,7 +940,8 @@ export const data = {
937
940
  "sendViber",
938
941
  "smartContent",
939
942
  "issueWalletPass",
940
- "sendInbox"
943
+ "sendInbox",
944
+ "sendFbMessenger"
941
945
  ]
942
946
  }
943
947
  }
@@ -1232,6 +1236,29 @@ export const data = {
1232
1236
  }
1233
1237
  }
1234
1238
  },
1239
+ "pushwoosh.cj.journey.PointStatSendFBMessenger": {
1240
+ "type": "I",
1241
+ "fields": {
1242
+ "sent": {
1243
+ "type": "number"
1244
+ },
1245
+ "delivered": {
1246
+ "type": "number"
1247
+ },
1248
+ "errors": {
1249
+ "type": "number"
1250
+ },
1251
+ "recipients": {
1252
+ "type": "number"
1253
+ },
1254
+ "voucherStats": {
1255
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
1256
+ },
1257
+ "skipped": {
1258
+ "type": "number"
1259
+ }
1260
+ }
1261
+ },
1235
1262
  "pushwoosh.cj.journey.PointStatSendWhatsApp": {
1236
1263
  "type": "I",
1237
1264
  "fields": {
@@ -2577,7 +2604,8 @@ export const data = {
2577
2604
  "POINT_TYPE_SEND_VIBER",
2578
2605
  "POINT_TYPE_SMART_CONTENT",
2579
2606
  "POINT_TYPE_ISSUE_WALLET_PASS",
2580
- "POINT_TYPE_SEND_INBOX"
2607
+ "POINT_TYPE_SEND_INBOX",
2608
+ "POINT_TYPE_SEND_FB_MESSENGER"
2581
2609
  ]
2582
2610
  },
2583
2611
  "pushwoosh.cj.journey.Point": {
@@ -2690,6 +2718,9 @@ export const data = {
2690
2718
  },
2691
2719
  "sendInbox": {
2692
2720
  "type": "pushwoosh.cj.journey.PointParamsSendInbox"
2721
+ },
2722
+ "sendFbMessenger": {
2723
+ "type": "pushwoosh.cj.journey.PointParamsSendFBMessenger"
2693
2724
  }
2694
2725
  },
2695
2726
  "oneofs": {
@@ -2720,7 +2751,8 @@ export const data = {
2720
2751
  "sendViber",
2721
2752
  "smartContent",
2722
2753
  "issueWalletPass",
2723
- "sendInbox"
2754
+ "sendInbox",
2755
+ "sendFbMessenger"
2724
2756
  ]
2725
2757
  }
2726
2758
  }
@@ -3297,6 +3329,44 @@ export const data = {
3297
3329
  },
3298
3330
  "oneofs": {}
3299
3331
  },
3332
+ "pushwoosh.cj.journey.PointParamsSendFBMessenger": {
3333
+ "type": "I",
3334
+ "fields": {
3335
+ "content": {
3336
+ "type": "string"
3337
+ },
3338
+ "applicationCode": {
3339
+ "type": "string"
3340
+ },
3341
+ "campaignCode": {
3342
+ "type": "string",
3343
+ "optional": true
3344
+ },
3345
+ "campaignUid": {
3346
+ "type": "number",
3347
+ "optional": true
3348
+ },
3349
+ "personalise": {
3350
+ "type": "pushwoosh.cj.journey.PersonalisedParams"
3351
+ },
3352
+ "vouchersParams": {
3353
+ "type": "pushwoosh.cj.journey.VoucherParams"
3354
+ },
3355
+ "sendByUserId": {
3356
+ "type": "boolean"
3357
+ },
3358
+ "capping": {
3359
+ "type": "pushwoosh.cj.journey.Capping"
3360
+ },
3361
+ "sendRate": {
3362
+ "type": "pushwoosh.cj.journey.SendRate"
3363
+ },
3364
+ "messageTag": {
3365
+ "type": "string"
3366
+ }
3367
+ },
3368
+ "oneofs": {}
3369
+ },
3300
3370
  "pushwoosh.cj.journey.PointParamsSendViber": {
3301
3371
  "type": "I",
3302
3372
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.122",
3
+ "version": "0.27.123",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -294,7 +294,11 @@ export type PointStat_pointStat_sendInbox = {
294
294
  type: 'sendInbox';
295
295
  data: PointStatSendInbox;
296
296
  };
297
- 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 | PointStat_pointStat_smartContent | PointStat_pointStat_issueWalletPass | PointStat_pointStat_sendInbox;
297
+ export type PointStat_pointStat_sendFbMessenger = {
298
+ type: 'sendFbMessenger';
299
+ data: PointStatSendFBMessenger;
300
+ };
301
+ 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 | PointStat_pointStat_smartContent | PointStat_pointStat_issueWalletPass | PointStat_pointStat_sendInbox | PointStat_pointStat_sendFbMessenger;
298
302
  export type PointStat = {
299
303
  pointStat: PointStat_pointStat;
300
304
  };
@@ -396,6 +400,14 @@ export type PointStatSendViber = {
396
400
  voucherStats: VoucherPoolStats;
397
401
  skipped: number;
398
402
  };
403
+ export type PointStatSendFBMessenger = {
404
+ sent: number;
405
+ delivered: number;
406
+ errors: number;
407
+ recipients: number;
408
+ voucherStats: VoucherPoolStats;
409
+ skipped: number;
410
+ };
399
411
  export type PointStatSendWhatsApp = {
400
412
  sent: number;
401
413
  totalOpened: number;
@@ -877,7 +889,7 @@ export type User = {
877
889
  email: string;
878
890
  username: string;
879
891
  };
880
- 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' | 'POINT_TYPE_SMART_CONTENT' | 'POINT_TYPE_ISSUE_WALLET_PASS' | 'POINT_TYPE_SEND_INBOX';
892
+ 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' | 'POINT_TYPE_SMART_CONTENT' | 'POINT_TYPE_ISSUE_WALLET_PASS' | 'POINT_TYPE_SEND_INBOX' | 'POINT_TYPE_SEND_FB_MESSENGER';
881
893
  export type Point = {
882
894
  uuid: string;
883
895
  title: string;
@@ -992,7 +1004,11 @@ export type PointDataWrapper_data_sendInbox = {
992
1004
  type: 'sendInbox';
993
1005
  data: PointParamsSendInbox;
994
1006
  };
995
- 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 | PointDataWrapper_data_smartContent | PointDataWrapper_data_issueWalletPass | PointDataWrapper_data_sendInbox;
1007
+ export type PointDataWrapper_data_sendFbMessenger = {
1008
+ type: 'sendFbMessenger';
1009
+ data: PointParamsSendFBMessenger;
1010
+ };
1011
+ 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 | PointDataWrapper_data_smartContent | PointDataWrapper_data_issueWalletPass | PointDataWrapper_data_sendInbox | PointDataWrapper_data_sendFbMessenger;
996
1012
  export type PointDataWrapper = {
997
1013
  data: PointDataWrapper_data;
998
1014
  };
@@ -1177,6 +1193,18 @@ export type PointParamsSendTelegram = {
1177
1193
  capping: Capping;
1178
1194
  sendRate: SendRate;
1179
1195
  };
1196
+ export type PointParamsSendFBMessenger = {
1197
+ content: string;
1198
+ applicationCode: string;
1199
+ campaignCode?: string;
1200
+ campaignUid?: number;
1201
+ personalise: PersonalisedParams;
1202
+ vouchersParams: VoucherParams;
1203
+ sendByUserId: boolean;
1204
+ capping: Capping;
1205
+ sendRate: SendRate;
1206
+ messageTag: string;
1207
+ };
1180
1208
  export type PointParamsSendViber = {
1181
1209
  presetCode: string;
1182
1210
  content: string;