@pushwoosh/rpc-gateway-journey-data 0.26.241 → 0.26.243

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
@@ -504,6 +504,12 @@ export const data = {
504
504
  },
505
505
  "skippedDueCappingSettings": {
506
506
  "type": "number"
507
+ },
508
+ "errors": {
509
+ "type": "number"
510
+ },
511
+ "unshowableSends": {
512
+ "type": "number"
507
513
  }
508
514
  }
509
515
  },
@@ -538,6 +544,9 @@ export const data = {
538
544
  },
539
545
  "skipped": {
540
546
  "type": "number"
547
+ },
548
+ "errors": {
549
+ "type": "number"
541
550
  }
542
551
  }
543
552
  },
@@ -549,6 +558,9 @@ export const data = {
549
558
  },
550
559
  "delivered": {
551
560
  "type": "number"
561
+ },
562
+ "errors": {
563
+ "type": "number"
552
564
  }
553
565
  }
554
566
  },
@@ -563,6 +575,9 @@ export const data = {
563
575
  },
564
576
  "skipped": {
565
577
  "type": "number"
578
+ },
579
+ "errors": {
580
+ "type": "number"
566
581
  }
567
582
  }
568
583
  },
@@ -606,6 +621,9 @@ export const data = {
606
621
  },
607
622
  "skipped": {
608
623
  "type": "number"
624
+ },
625
+ "errors": {
626
+ "type": "number"
609
627
  }
610
628
  }
611
629
  },
@@ -2036,6 +2054,155 @@ export const data = {
2036
2054
  "SEND"
2037
2055
  ]
2038
2056
  },
2057
+ "pushwoosh.cj.journey.IntTagValueList": {
2058
+ "type": "I",
2059
+ "fields": {
2060
+ "value": {
2061
+ "type": "number",
2062
+ "array": true
2063
+ }
2064
+ }
2065
+ },
2066
+ "pushwoosh.cj.journey.StrTagValueList": {
2067
+ "type": "I",
2068
+ "fields": {
2069
+ "value": {
2070
+ "type": "string",
2071
+ "array": true
2072
+ }
2073
+ }
2074
+ },
2075
+ "pushwoosh.cj.journey.DateTagValueList": {
2076
+ "type": "I",
2077
+ "fields": {
2078
+ "value": {
2079
+ "type": "Date",
2080
+ "array": true
2081
+ }
2082
+ }
2083
+ },
2084
+ "pushwoosh.cj.journey.PriceTagValueList": {
2085
+ "type": "I",
2086
+ "fields": {
2087
+ "value": {
2088
+ "type": "number",
2089
+ "array": true
2090
+ }
2091
+ }
2092
+ },
2093
+ "pushwoosh.cj.journey.VersionTagValueList": {
2094
+ "type": "I",
2095
+ "fields": {
2096
+ "value": {
2097
+ "type": "string",
2098
+ "array": true
2099
+ }
2100
+ }
2101
+ },
2102
+ "pushwoosh.cj.journey.TimezoneTagValueList": {
2103
+ "type": "I",
2104
+ "fields": {
2105
+ "value": {
2106
+ "type": "number",
2107
+ "array": true
2108
+ }
2109
+ }
2110
+ },
2111
+ "pushwoosh.cj.journey.TagSplitterConditionGroup": {
2112
+ "type": "I",
2113
+ "fields": {
2114
+ "conditions": {
2115
+ "type": "pushwoosh.cj.journey.TagSplitterCondition",
2116
+ "array": true
2117
+ }
2118
+ }
2119
+ },
2120
+ "pushwoosh.cj.journey.TagSplitterCondition.TagSplitterTagType": {
2121
+ "type": "E",
2122
+ "values": [
2123
+ "TAG_SPLITTER_TYPE_UNKNOWN",
2124
+ "TAG_SPLITTER_TYPE_INTEGER",
2125
+ "TAG_SPLITTER_TYPE_STRING",
2126
+ "TAG_SPLITTER_TYPE_LIST",
2127
+ "TAG_SPLITTER_TYPE_DATE",
2128
+ "TAG_SPLITTER_TYPE_BOOLEAN",
2129
+ "TAG_SPLITTER_TYPE_PRICE",
2130
+ "TAG_SPLITTER_TYPE_VERSION",
2131
+ "TAG_SPLITTER_TYPE_TIMEZONE"
2132
+ ]
2133
+ },
2134
+ "pushwoosh.cj.journey.TagSplitterCondition": {
2135
+ "type": "I",
2136
+ "fields": {
2137
+ "tagId": {
2138
+ "type": "number"
2139
+ },
2140
+ "tagType": {
2141
+ "type": "pushwoosh.cj.journey.TagSplitterCondition.TagSplitterTagType"
2142
+ },
2143
+ "operator": {
2144
+ "type": "string"
2145
+ },
2146
+ "int": {
2147
+ "type": "number"
2148
+ },
2149
+ "intRange": {
2150
+ "type": "pushwoosh.cj.journey.IntTagValueList"
2151
+ },
2152
+ "str": {
2153
+ "type": "string"
2154
+ },
2155
+ "strRange": {
2156
+ "type": "pushwoosh.cj.journey.StrTagValueList"
2157
+ },
2158
+ "date": {
2159
+ "type": "Date"
2160
+ },
2161
+ "dateRange": {
2162
+ "type": "pushwoosh.cj.journey.DateTagValueList"
2163
+ },
2164
+ "bool": {
2165
+ "type": "boolean"
2166
+ },
2167
+ "price": {
2168
+ "type": "number"
2169
+ },
2170
+ "priceRange": {
2171
+ "type": "pushwoosh.cj.journey.PriceTagValueList"
2172
+ },
2173
+ "version": {
2174
+ "type": "string"
2175
+ },
2176
+ "versionRange": {
2177
+ "type": "pushwoosh.cj.journey.VersionTagValueList"
2178
+ },
2179
+ "timezone": {
2180
+ "type": "number"
2181
+ },
2182
+ "timezoneRange": {
2183
+ "type": "pushwoosh.cj.journey.TimezoneTagValueList"
2184
+ }
2185
+ },
2186
+ "oneofs": {
2187
+ "value": {
2188
+ "oneof": [
2189
+ "int",
2190
+ "intRange",
2191
+ "str",
2192
+ "strRange",
2193
+ "date",
2194
+ "dateRange",
2195
+ "bool",
2196
+ "price",
2197
+ "priceRange",
2198
+ "version",
2199
+ "versionRange",
2200
+ "timezone",
2201
+ "timezoneRange"
2202
+ ]
2203
+ }
2204
+ }
2205
+ },
2039
2206
  "pushwoosh.cj.journey.PointParamsBooleanSplitter.LoadPolicy": {
2040
2207
  "type": "E",
2041
2208
  "values": [
@@ -2044,6 +2211,13 @@ export const data = {
2044
2211
  "FILTER"
2045
2212
  ]
2046
2213
  },
2214
+ "pushwoosh.cj.journey.PointParamsBooleanSplitter.SplitStrategy": {
2215
+ "type": "E",
2216
+ "values": [
2217
+ "SPLIT_FILTER",
2218
+ "SPLIT_TAGS"
2219
+ ]
2220
+ },
2047
2221
  "pushwoosh.cj.journey.PointParamsBooleanSplitter": {
2048
2222
  "type": "I",
2049
2223
  "fields": {
@@ -2052,6 +2226,13 @@ export const data = {
2052
2226
  },
2053
2227
  "loadPolicy": {
2054
2228
  "type": "pushwoosh.cj.journey.PointParamsBooleanSplitter.LoadPolicy"
2229
+ },
2230
+ "splitStrategy": {
2231
+ "type": "pushwoosh.cj.journey.PointParamsBooleanSplitter.SplitStrategy"
2232
+ },
2233
+ "tagSplitterConditionGroups": {
2234
+ "type": "pushwoosh.cj.journey.TagSplitterConditionGroup",
2235
+ "array": true
2055
2236
  }
2056
2237
  }
2057
2238
  },
@@ -2839,6 +3020,47 @@ export const data = {
2839
3020
  }
2840
3021
  }
2841
3022
  },
3023
+ "pushwoosh.cj.journey.ChannelStat": {
3024
+ "type": "I",
3025
+ "fields": {
3026
+ "channel": {
3027
+ "type": "string"
3028
+ },
3029
+ "sends": {
3030
+ "type": "number"
3031
+ },
3032
+ "openRate": {
3033
+ "type": "number"
3034
+ },
3035
+ "shown": {
3036
+ "type": "number"
3037
+ },
3038
+ "interactions": {
3039
+ "type": "number"
3040
+ },
3041
+ "opens": {
3042
+ "type": "number"
3043
+ },
3044
+ "recipients": {
3045
+ "type": "number"
3046
+ },
3047
+ "clicks": {
3048
+ "type": "number"
3049
+ },
3050
+ "softbounce": {
3051
+ "type": "number"
3052
+ },
3053
+ "hardbounce": {
3054
+ "type": "number"
3055
+ },
3056
+ "complaint": {
3057
+ "type": "number"
3058
+ },
3059
+ "unsubscribed": {
3060
+ "type": "number"
3061
+ }
3062
+ }
3063
+ },
2842
3064
  "pushwoosh.cj.journey.JourneyStatItems": {
2843
3065
  "type": "I",
2844
3066
  "fields": {
@@ -2885,6 +3107,13 @@ export const data = {
2885
3107
  },
2886
3108
  "totalSkipped": {
2887
3109
  "type": "number"
3110
+ },
3111
+ "sendingErrors": {
3112
+ "type": "number"
3113
+ },
3114
+ "channelsStat": {
3115
+ "type": "pushwoosh.cj.journey.ChannelStat",
3116
+ "mapKeyType": "string"
2888
3117
  }
2889
3118
  }
2890
3119
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.241",
3
+ "version": "0.26.243",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -185,6 +185,8 @@ export type PointStatSendPush = {
185
185
  conversion: number;
186
186
  skipped: number;
187
187
  skippedDueCappingSettings: number;
188
+ errors: number;
189
+ unshowableSends: number;
188
190
  };
189
191
  export type PointStatInApp = {
190
192
  shows: number;
@@ -197,15 +199,18 @@ export type PointStatSendSms = {
197
199
  sent: number;
198
200
  delivered: number;
199
201
  skipped: number;
202
+ errors: number;
200
203
  };
201
204
  export type PointStatSendLine = {
202
205
  sent: number;
203
206
  delivered: number;
207
+ errors: number;
204
208
  };
205
209
  export type PointStatSendWhatsApp = {
206
210
  sent: number;
207
211
  totalOpened: number;
208
212
  skipped: number;
213
+ errors: number;
209
214
  };
210
215
  export type PointStatSendData = {
211
216
  sent: number;
@@ -221,6 +226,7 @@ export type PointStatSendEmail = {
221
226
  softBounces: number;
222
227
  complaints: number;
223
228
  skipped: number;
229
+ errors: number;
224
230
  };
225
231
  export type PointStatMessageBus = {};
226
232
  export type PointStatGoalEvent = {};
@@ -795,10 +801,94 @@ export type PointParamsSendData = {
795
801
  vouchersParams: VoucherParams;
796
802
  };
797
803
  export type UnsubscribedPolicy = 'UNKNOWN' | 'IGNORE' | 'SEND';
804
+ export type IntTagValueList = {
805
+ value: number[];
806
+ };
807
+ export type StrTagValueList = {
808
+ value: string[];
809
+ };
810
+ export type DateTagValueList = {
811
+ value: Date[];
812
+ };
813
+ export type PriceTagValueList = {
814
+ value: number[];
815
+ };
816
+ export type VersionTagValueList = {
817
+ value: string[];
818
+ };
819
+ export type TimezoneTagValueList = {
820
+ value: number[];
821
+ };
822
+ export type TagSplitterConditionGroup = {
823
+ conditions: TagSplitterCondition[];
824
+ };
825
+ export type TagSplitterCondition_TagSplitterTagType = 'TAG_SPLITTER_TYPE_UNKNOWN' | 'TAG_SPLITTER_TYPE_INTEGER' | 'TAG_SPLITTER_TYPE_STRING' | 'TAG_SPLITTER_TYPE_LIST' | 'TAG_SPLITTER_TYPE_DATE' | 'TAG_SPLITTER_TYPE_BOOLEAN' | 'TAG_SPLITTER_TYPE_PRICE' | 'TAG_SPLITTER_TYPE_VERSION' | 'TAG_SPLITTER_TYPE_TIMEZONE';
826
+ export type TagSplitterCondition_value_int = {
827
+ type: 'int';
828
+ data: number;
829
+ };
830
+ export type TagSplitterCondition_value_intRange = {
831
+ type: 'intRange';
832
+ data: IntTagValueList;
833
+ };
834
+ export type TagSplitterCondition_value_str = {
835
+ type: 'str';
836
+ data: string;
837
+ };
838
+ export type TagSplitterCondition_value_strRange = {
839
+ type: 'strRange';
840
+ data: StrTagValueList;
841
+ };
842
+ export type TagSplitterCondition_value_date = {
843
+ type: 'date';
844
+ data: Date;
845
+ };
846
+ export type TagSplitterCondition_value_dateRange = {
847
+ type: 'dateRange';
848
+ data: DateTagValueList;
849
+ };
850
+ export type TagSplitterCondition_value_bool = {
851
+ type: 'bool';
852
+ data: boolean;
853
+ };
854
+ export type TagSplitterCondition_value_price = {
855
+ type: 'price';
856
+ data: number;
857
+ };
858
+ export type TagSplitterCondition_value_priceRange = {
859
+ type: 'priceRange';
860
+ data: PriceTagValueList;
861
+ };
862
+ export type TagSplitterCondition_value_version = {
863
+ type: 'version';
864
+ data: string;
865
+ };
866
+ export type TagSplitterCondition_value_versionRange = {
867
+ type: 'versionRange';
868
+ data: VersionTagValueList;
869
+ };
870
+ export type TagSplitterCondition_value_timezone = {
871
+ type: 'timezone';
872
+ data: number;
873
+ };
874
+ export type TagSplitterCondition_value_timezoneRange = {
875
+ type: 'timezoneRange';
876
+ data: TimezoneTagValueList;
877
+ };
878
+ export type TagSplitterCondition_value = TagSplitterCondition_value_int | TagSplitterCondition_value_intRange | TagSplitterCondition_value_str | TagSplitterCondition_value_strRange | TagSplitterCondition_value_date | TagSplitterCondition_value_dateRange | TagSplitterCondition_value_bool | TagSplitterCondition_value_price | TagSplitterCondition_value_priceRange | TagSplitterCondition_value_version | TagSplitterCondition_value_versionRange | TagSplitterCondition_value_timezone | TagSplitterCondition_value_timezoneRange;
879
+ export type TagSplitterCondition = {
880
+ tagId: number;
881
+ tagType: TagSplitterCondition_TagSplitterTagType;
882
+ operator: string;
883
+ value: TagSplitterCondition_value;
884
+ };
798
885
  export type PointParamsBooleanSplitter_LoadPolicy = 'UNKNOWN' | 'ALL' | 'FILTER';
886
+ export type PointParamsBooleanSplitter_SplitStrategy = 'SPLIT_FILTER' | 'SPLIT_TAGS';
799
887
  export type PointParamsBooleanSplitter = {
800
888
  filterCode: string;
801
889
  loadPolicy: PointParamsBooleanSplitter_LoadPolicy;
890
+ splitStrategy: PointParamsBooleanSplitter_SplitStrategy;
891
+ tagSplitterConditionGroups: TagSplitterConditionGroup[];
802
892
  };
803
893
  export type PointParamsWaitEvent = {
804
894
  events: PointWaitEventInfo[];
@@ -1088,6 +1178,20 @@ export type JourneyStatsByPointsItemGet = {
1088
1178
  waitingTravellers: number;
1089
1179
  entries: number;
1090
1180
  };
1181
+ export type ChannelStat = {
1182
+ channel: string;
1183
+ sends: number;
1184
+ openRate: number;
1185
+ shown: number;
1186
+ interactions: number;
1187
+ opens: number;
1188
+ recipients: number;
1189
+ clicks: number;
1190
+ softbounce: number;
1191
+ hardbounce: number;
1192
+ complaint: number;
1193
+ unsubscribed: number;
1194
+ };
1091
1195
  export type JourneyStatItems = {
1092
1196
  total: number;
1093
1197
  uniqueUsersCount: number;
@@ -1102,6 +1206,8 @@ export type JourneyStatItems = {
1102
1206
  pointsToGoalsMap: Record<string, GoalPointStats>;
1103
1207
  abSplitStats: Record<string, ABSplitStat>;
1104
1208
  totalSkipped: number;
1209
+ sendingErrors: number;
1210
+ channelsStat: Record<string, ChannelStat>;
1105
1211
  };
1106
1212
  export type PointOutputStat = {
1107
1213
  key: string;