@pushwoosh/rpc-gateway-journey-data 0.27.84 → 0.27.85

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
@@ -832,6 +832,9 @@ export const data = {
832
832
  },
833
833
  "issueWalletPass": {
834
834
  "type": "pushwoosh.cj.journey.PointStatIssueWalletPass"
835
+ },
836
+ "sendInbox": {
837
+ "type": "pushwoosh.cj.journey.PointStatSendInbox"
835
838
  }
836
839
  },
837
840
  "oneofs": {
@@ -855,7 +858,8 @@ export const data = {
855
858
  "audienceSync",
856
859
  "sendViber",
857
860
  "smartContent",
858
- "issueWalletPass"
861
+ "issueWalletPass",
862
+ "sendInbox"
859
863
  ]
860
864
  }
861
865
  }
@@ -997,6 +1001,32 @@ export const data = {
997
1001
  }
998
1002
  }
999
1003
  },
1004
+ "pushwoosh.cj.journey.PointStatSendInbox": {
1005
+ "type": "I",
1006
+ "fields": {
1007
+ "sent": {
1008
+ "type": "number"
1009
+ },
1010
+ "reached": {
1011
+ "type": "number"
1012
+ },
1013
+ "read": {
1014
+ "type": "number"
1015
+ },
1016
+ "skipped": {
1017
+ "type": "number"
1018
+ },
1019
+ "skippedDueCappingSettings": {
1020
+ "type": "number"
1021
+ },
1022
+ "dismissed": {
1023
+ "type": "number"
1024
+ },
1025
+ "expired": {
1026
+ "type": "number"
1027
+ }
1028
+ }
1029
+ },
1000
1030
  "pushwoosh.cj.journey.PointStatSendSms": {
1001
1031
  "type": "I",
1002
1032
  "fields": {
@@ -2468,7 +2498,8 @@ export const data = {
2468
2498
  "POINT_TYPE_AUDIENCE_SYNC",
2469
2499
  "POINT_TYPE_SEND_VIBER",
2470
2500
  "POINT_TYPE_SMART_CONTENT",
2471
- "POINT_TYPE_ISSUE_WALLET_PASS"
2501
+ "POINT_TYPE_ISSUE_WALLET_PASS",
2502
+ "POINT_TYPE_SEND_INBOX"
2472
2503
  ]
2473
2504
  },
2474
2505
  "pushwoosh.cj.journey.Point": {
@@ -2578,6 +2609,9 @@ export const data = {
2578
2609
  },
2579
2610
  "issueWalletPass": {
2580
2611
  "type": "pushwoosh.cj.journey.PointParamsIssueWalletPass"
2612
+ },
2613
+ "sendInbox": {
2614
+ "type": "pushwoosh.cj.journey.PointParamsSendInbox"
2581
2615
  }
2582
2616
  },
2583
2617
  "oneofs": {
@@ -2607,7 +2641,8 @@ export const data = {
2607
2641
  "audienceSync",
2608
2642
  "sendViber",
2609
2643
  "smartContent",
2610
- "issueWalletPass"
2644
+ "issueWalletPass",
2645
+ "sendInbox"
2611
2646
  ]
2612
2647
  }
2613
2648
  }
@@ -4021,6 +4056,38 @@ export const data = {
4021
4056
  },
4022
4057
  "oneofs": {}
4023
4058
  },
4059
+ "pushwoosh.cj.journey.PointParamsSendInbox": {
4060
+ "type": "I",
4061
+ "fields": {
4062
+ "presetCode": {
4063
+ "type": "string"
4064
+ },
4065
+ "applicationCode": {
4066
+ "type": "string"
4067
+ },
4068
+ "campaignCode": {
4069
+ "type": "string",
4070
+ "optional": true
4071
+ },
4072
+ "campaignUid": {
4073
+ "type": "number",
4074
+ "optional": true
4075
+ },
4076
+ "expireAtDate": {
4077
+ "type": "Date"
4078
+ },
4079
+ "expireInDays": {
4080
+ "type": "number"
4081
+ },
4082
+ "capping": {
4083
+ "type": "pushwoosh.cj.journey.Capping"
4084
+ },
4085
+ "messageType": {
4086
+ "type": "pushwoosh.cj.journey.MessageType"
4087
+ }
4088
+ },
4089
+ "oneofs": {}
4090
+ },
4024
4091
  "pushwoosh.cj.journey.Filter": {
4025
4092
  "type": "E",
4026
4093
  "values": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.84",
3
+ "version": "0.27.85",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -277,7 +277,11 @@ export type PointStat_pointStat_issueWalletPass = {
277
277
  type: 'issueWalletPass';
278
278
  data: PointStatIssueWalletPass;
279
279
  };
280
- 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;
280
+ export type PointStat_pointStat_sendInbox = {
281
+ type: 'sendInbox';
282
+ data: PointStatSendInbox;
283
+ };
284
+ 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;
281
285
  export type PointStat = {
282
286
  pointStat: PointStat_pointStat;
283
287
  };
@@ -326,6 +330,15 @@ export type PointStatInApp = {
326
330
  sends: number;
327
331
  opened: number;
328
332
  };
333
+ export type PointStatSendInbox = {
334
+ sent: number;
335
+ reached: number;
336
+ read: number;
337
+ skipped: number;
338
+ skippedDueCappingSettings: number;
339
+ dismissed: number;
340
+ expired: number;
341
+ };
329
342
  export type PointStatSendSms = {
330
343
  sent: number;
331
344
  delivered: number;
@@ -851,7 +864,7 @@ export type User = {
851
864
  email: string;
852
865
  username: string;
853
866
  };
854
- 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';
867
+ 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';
855
868
  export type Point = {
856
869
  uuid: string;
857
870
  title: string;
@@ -962,7 +975,11 @@ export type PointDataWrapper_data_issueWalletPass = {
962
975
  type: 'issueWalletPass';
963
976
  data: PointParamsIssueWalletPass;
964
977
  };
965
- 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;
978
+ export type PointDataWrapper_data_sendInbox = {
979
+ type: 'sendInbox';
980
+ data: PointParamsSendInbox;
981
+ };
982
+ 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;
966
983
  export type PointDataWrapper = {
967
984
  data: PointDataWrapper_data;
968
985
  };
@@ -1468,6 +1485,16 @@ export type PointParamsInapp = {
1468
1485
  capping: Capping;
1469
1486
  messageType: MessageType;
1470
1487
  };
1488
+ export type PointParamsSendInbox = {
1489
+ presetCode: string;
1490
+ applicationCode: string;
1491
+ campaignCode?: string;
1492
+ campaignUid?: number;
1493
+ expireAtDate: Date;
1494
+ expireInDays: number;
1495
+ capping: Capping;
1496
+ messageType: MessageType;
1497
+ };
1471
1498
  export type Filter = 'CUSTOM' | 'EMAIL_EXISTS' | 'PUSH_TOKEN_EXISTS' | 'SMS_TOKEN_EXISTS' | 'WHATSAPP_TOKEN_EXISTS' | 'LINE_TOKEN_EXISTS';
1472
1499
  export type ReachabilityChannel = 'REACHABILITY_CHANNEL_UNKNOWN' | 'REACHABILITY_CHANNEL_PUSH' | 'REACHABILITY_CHANNEL_EMAIL' | 'REACHABILITY_CHANNEL_SMS' | 'REACHABILITY_CHANNEL_WHATSAPP' | 'REACHABILITY_CHANNEL_LINE' | 'REACHABILITY_CHANNEL_INAPP' | 'REACHABILITY_CHANNEL_WALLET';
1473
1500
  export type PlatformGroup = 'PLATFORM_GROUP_UNKNOWN' | 'PLATFORM_GROUP_IOS' | 'PLATFORM_GROUP_ANDROID' | 'PLATFORM_GROUP_WEB' | 'PLATFORM_GROUP_DESKTOP' | 'PLATFORM_GROUP_AMAZON';