@pushwoosh/rpc-gateway-journey-data 0.27.83 → 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 +85 -3
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +33 -3
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": {
|
|
@@ -1743,9 +1773,21 @@ export const data = {
|
|
|
1743
1773
|
"comments": {
|
|
1744
1774
|
"type": "pushwoosh.cj.journey.JourneyComment",
|
|
1745
1775
|
"array": true
|
|
1776
|
+
},
|
|
1777
|
+
"saveResult": {
|
|
1778
|
+
"type": "pushwoosh.cj.journey.SaveResult"
|
|
1746
1779
|
}
|
|
1747
1780
|
}
|
|
1748
1781
|
},
|
|
1782
|
+
"pushwoosh.cj.journey.SaveResult": {
|
|
1783
|
+
"type": "E",
|
|
1784
|
+
"values": [
|
|
1785
|
+
"SAVE_RESULT_UNSPECIFIED",
|
|
1786
|
+
"SAVE_RESULT_SAVED",
|
|
1787
|
+
"SAVE_RESULT_NOTHING_TO_SAVE",
|
|
1788
|
+
"SAVE_RESULT_REFUSED_SU"
|
|
1789
|
+
]
|
|
1790
|
+
},
|
|
1749
1791
|
"pushwoosh.cj.journey.GetJourneyByUUIDResponseWithErrors": {
|
|
1750
1792
|
"type": "I",
|
|
1751
1793
|
"fields": {
|
|
@@ -1850,6 +1892,9 @@ export const data = {
|
|
|
1850
1892
|
"comments": {
|
|
1851
1893
|
"type": "pushwoosh.cj.journey.JourneyComment",
|
|
1852
1894
|
"array": true
|
|
1895
|
+
},
|
|
1896
|
+
"saveResult": {
|
|
1897
|
+
"type": "pushwoosh.cj.journey.SaveResult"
|
|
1853
1898
|
}
|
|
1854
1899
|
}
|
|
1855
1900
|
},
|
|
@@ -2453,7 +2498,8 @@ export const data = {
|
|
|
2453
2498
|
"POINT_TYPE_AUDIENCE_SYNC",
|
|
2454
2499
|
"POINT_TYPE_SEND_VIBER",
|
|
2455
2500
|
"POINT_TYPE_SMART_CONTENT",
|
|
2456
|
-
"POINT_TYPE_ISSUE_WALLET_PASS"
|
|
2501
|
+
"POINT_TYPE_ISSUE_WALLET_PASS",
|
|
2502
|
+
"POINT_TYPE_SEND_INBOX"
|
|
2457
2503
|
]
|
|
2458
2504
|
},
|
|
2459
2505
|
"pushwoosh.cj.journey.Point": {
|
|
@@ -2563,6 +2609,9 @@ export const data = {
|
|
|
2563
2609
|
},
|
|
2564
2610
|
"issueWalletPass": {
|
|
2565
2611
|
"type": "pushwoosh.cj.journey.PointParamsIssueWalletPass"
|
|
2612
|
+
},
|
|
2613
|
+
"sendInbox": {
|
|
2614
|
+
"type": "pushwoosh.cj.journey.PointParamsSendInbox"
|
|
2566
2615
|
}
|
|
2567
2616
|
},
|
|
2568
2617
|
"oneofs": {
|
|
@@ -2592,7 +2641,8 @@ export const data = {
|
|
|
2592
2641
|
"audienceSync",
|
|
2593
2642
|
"sendViber",
|
|
2594
2643
|
"smartContent",
|
|
2595
|
-
"issueWalletPass"
|
|
2644
|
+
"issueWalletPass",
|
|
2645
|
+
"sendInbox"
|
|
2596
2646
|
]
|
|
2597
2647
|
}
|
|
2598
2648
|
}
|
|
@@ -4006,6 +4056,38 @@ export const data = {
|
|
|
4006
4056
|
},
|
|
4007
4057
|
"oneofs": {}
|
|
4008
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
|
+
},
|
|
4009
4091
|
"pushwoosh.cj.journey.Filter": {
|
|
4010
4092
|
"type": "E",
|
|
4011
4093
|
"values": [
|
package/package.json
CHANGED
|
@@ -277,7 +277,11 @@ export type PointStat_pointStat_issueWalletPass = {
|
|
|
277
277
|
type: 'issueWalletPass';
|
|
278
278
|
data: PointStatIssueWalletPass;
|
|
279
279
|
};
|
|
280
|
-
export type
|
|
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;
|
|
@@ -612,7 +625,9 @@ export type GetJourneyByUUIDResponse = {
|
|
|
612
625
|
info: Info;
|
|
613
626
|
points: Point[];
|
|
614
627
|
comments: JourneyComment[];
|
|
628
|
+
saveResult: SaveResult;
|
|
615
629
|
};
|
|
630
|
+
export type SaveResult = 'SAVE_RESULT_UNSPECIFIED' | 'SAVE_RESULT_SAVED' | 'SAVE_RESULT_NOTHING_TO_SAVE' | 'SAVE_RESULT_REFUSED_SU';
|
|
616
631
|
export type GetJourneyByUUIDResponseWithErrors = {
|
|
617
632
|
response: GetJourneyByUUIDResponse;
|
|
618
633
|
validation: ValidateJourneyResponse;
|
|
@@ -646,6 +661,7 @@ export type UpdateJourneyResponse = {
|
|
|
646
661
|
info: Info;
|
|
647
662
|
points: Point[];
|
|
648
663
|
comments: JourneyComment[];
|
|
664
|
+
saveResult: SaveResult;
|
|
649
665
|
};
|
|
650
666
|
export type CreateJourneyResponse = {
|
|
651
667
|
info: Info;
|
|
@@ -848,7 +864,7 @@ export type User = {
|
|
|
848
864
|
email: string;
|
|
849
865
|
username: string;
|
|
850
866
|
};
|
|
851
|
-
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';
|
|
852
868
|
export type Point = {
|
|
853
869
|
uuid: string;
|
|
854
870
|
title: string;
|
|
@@ -959,7 +975,11 @@ export type PointDataWrapper_data_issueWalletPass = {
|
|
|
959
975
|
type: 'issueWalletPass';
|
|
960
976
|
data: PointParamsIssueWalletPass;
|
|
961
977
|
};
|
|
962
|
-
export type
|
|
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;
|
|
963
983
|
export type PointDataWrapper = {
|
|
964
984
|
data: PointDataWrapper_data;
|
|
965
985
|
};
|
|
@@ -1465,6 +1485,16 @@ export type PointParamsInapp = {
|
|
|
1465
1485
|
capping: Capping;
|
|
1466
1486
|
messageType: MessageType;
|
|
1467
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
|
+
};
|
|
1468
1498
|
export type Filter = 'CUSTOM' | 'EMAIL_EXISTS' | 'PUSH_TOKEN_EXISTS' | 'SMS_TOKEN_EXISTS' | 'WHATSAPP_TOKEN_EXISTS' | 'LINE_TOKEN_EXISTS';
|
|
1469
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';
|
|
1470
1500
|
export type PlatformGroup = 'PLATFORM_GROUP_UNKNOWN' | 'PLATFORM_GROUP_IOS' | 'PLATFORM_GROUP_ANDROID' | 'PLATFORM_GROUP_WEB' | 'PLATFORM_GROUP_DESKTOP' | 'PLATFORM_GROUP_AMAZON';
|