@pushwoosh/rpc-gateway-journey-data 0.26.240 → 0.26.242

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
@@ -2036,6 +2036,155 @@ export const data = {
2036
2036
  "SEND"
2037
2037
  ]
2038
2038
  },
2039
+ "pushwoosh.cj.journey.IntTagValueList": {
2040
+ "type": "I",
2041
+ "fields": {
2042
+ "value": {
2043
+ "type": "number",
2044
+ "array": true
2045
+ }
2046
+ }
2047
+ },
2048
+ "pushwoosh.cj.journey.StrTagValueList": {
2049
+ "type": "I",
2050
+ "fields": {
2051
+ "value": {
2052
+ "type": "string",
2053
+ "array": true
2054
+ }
2055
+ }
2056
+ },
2057
+ "pushwoosh.cj.journey.DateTagValueList": {
2058
+ "type": "I",
2059
+ "fields": {
2060
+ "value": {
2061
+ "type": "Date",
2062
+ "array": true
2063
+ }
2064
+ }
2065
+ },
2066
+ "pushwoosh.cj.journey.PriceTagValueList": {
2067
+ "type": "I",
2068
+ "fields": {
2069
+ "value": {
2070
+ "type": "number",
2071
+ "array": true
2072
+ }
2073
+ }
2074
+ },
2075
+ "pushwoosh.cj.journey.VersionTagValueList": {
2076
+ "type": "I",
2077
+ "fields": {
2078
+ "value": {
2079
+ "type": "string",
2080
+ "array": true
2081
+ }
2082
+ }
2083
+ },
2084
+ "pushwoosh.cj.journey.TimezoneTagValueList": {
2085
+ "type": "I",
2086
+ "fields": {
2087
+ "value": {
2088
+ "type": "number",
2089
+ "array": true
2090
+ }
2091
+ }
2092
+ },
2093
+ "pushwoosh.cj.journey.TagSplitterConditionGroup": {
2094
+ "type": "I",
2095
+ "fields": {
2096
+ "conditions": {
2097
+ "type": "pushwoosh.cj.journey.TagSplitterCondition",
2098
+ "array": true
2099
+ }
2100
+ }
2101
+ },
2102
+ "pushwoosh.cj.journey.TagSplitterCondition.TagSplitterTagType": {
2103
+ "type": "E",
2104
+ "values": [
2105
+ "TAG_SPLITTER_TYPE_UNKNOWN",
2106
+ "TAG_SPLITTER_TYPE_INTEGER",
2107
+ "TAG_SPLITTER_TYPE_STRING",
2108
+ "TAG_SPLITTER_TYPE_LIST",
2109
+ "TAG_SPLITTER_TYPE_DATE",
2110
+ "TAG_SPLITTER_TYPE_BOOLEAN",
2111
+ "TAG_SPLITTER_TYPE_PRICE",
2112
+ "TAG_SPLITTER_TYPE_VERSION",
2113
+ "TAG_SPLITTER_TYPE_TIMEZONE"
2114
+ ]
2115
+ },
2116
+ "pushwoosh.cj.journey.TagSplitterCondition": {
2117
+ "type": "I",
2118
+ "fields": {
2119
+ "tagId": {
2120
+ "type": "number"
2121
+ },
2122
+ "tagType": {
2123
+ "type": "pushwoosh.cj.journey.TagSplitterCondition.TagSplitterTagType"
2124
+ },
2125
+ "operator": {
2126
+ "type": "string"
2127
+ },
2128
+ "int": {
2129
+ "type": "number"
2130
+ },
2131
+ "intRange": {
2132
+ "type": "pushwoosh.cj.journey.IntTagValueList"
2133
+ },
2134
+ "str": {
2135
+ "type": "string"
2136
+ },
2137
+ "strRange": {
2138
+ "type": "pushwoosh.cj.journey.StrTagValueList"
2139
+ },
2140
+ "date": {
2141
+ "type": "Date"
2142
+ },
2143
+ "dateRange": {
2144
+ "type": "pushwoosh.cj.journey.DateTagValueList"
2145
+ },
2146
+ "bool": {
2147
+ "type": "boolean"
2148
+ },
2149
+ "price": {
2150
+ "type": "number"
2151
+ },
2152
+ "priceRange": {
2153
+ "type": "pushwoosh.cj.journey.PriceTagValueList"
2154
+ },
2155
+ "version": {
2156
+ "type": "string"
2157
+ },
2158
+ "versionRange": {
2159
+ "type": "pushwoosh.cj.journey.VersionTagValueList"
2160
+ },
2161
+ "timezone": {
2162
+ "type": "number"
2163
+ },
2164
+ "timezoneRange": {
2165
+ "type": "pushwoosh.cj.journey.TimezoneTagValueList"
2166
+ }
2167
+ },
2168
+ "oneofs": {
2169
+ "value": {
2170
+ "oneof": [
2171
+ "int",
2172
+ "intRange",
2173
+ "str",
2174
+ "strRange",
2175
+ "date",
2176
+ "dateRange",
2177
+ "bool",
2178
+ "price",
2179
+ "priceRange",
2180
+ "version",
2181
+ "versionRange",
2182
+ "timezone",
2183
+ "timezoneRange"
2184
+ ]
2185
+ }
2186
+ }
2187
+ },
2039
2188
  "pushwoosh.cj.journey.PointParamsBooleanSplitter.LoadPolicy": {
2040
2189
  "type": "E",
2041
2190
  "values": [
@@ -2044,6 +2193,13 @@ export const data = {
2044
2193
  "FILTER"
2045
2194
  ]
2046
2195
  },
2196
+ "pushwoosh.cj.journey.PointParamsBooleanSplitter.SplitStrategy": {
2197
+ "type": "E",
2198
+ "values": [
2199
+ "SPLIT_FILTER",
2200
+ "SPLIT_TAGS"
2201
+ ]
2202
+ },
2047
2203
  "pushwoosh.cj.journey.PointParamsBooleanSplitter": {
2048
2204
  "type": "I",
2049
2205
  "fields": {
@@ -2052,6 +2208,13 @@ export const data = {
2052
2208
  },
2053
2209
  "loadPolicy": {
2054
2210
  "type": "pushwoosh.cj.journey.PointParamsBooleanSplitter.LoadPolicy"
2211
+ },
2212
+ "splitStrategy": {
2213
+ "type": "pushwoosh.cj.journey.PointParamsBooleanSplitter.SplitStrategy"
2214
+ },
2215
+ "tagSplitterConditionGroups": {
2216
+ "type": "pushwoosh.cj.journey.TagSplitterConditionGroup",
2217
+ "array": true
2055
2218
  }
2056
2219
  }
2057
2220
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.240",
3
+ "version": "0.26.242",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -795,10 +795,94 @@ export type PointParamsSendData = {
795
795
  vouchersParams: VoucherParams;
796
796
  };
797
797
  export type UnsubscribedPolicy = 'UNKNOWN' | 'IGNORE' | 'SEND';
798
+ export type IntTagValueList = {
799
+ value: number[];
800
+ };
801
+ export type StrTagValueList = {
802
+ value: string[];
803
+ };
804
+ export type DateTagValueList = {
805
+ value: Date[];
806
+ };
807
+ export type PriceTagValueList = {
808
+ value: number[];
809
+ };
810
+ export type VersionTagValueList = {
811
+ value: string[];
812
+ };
813
+ export type TimezoneTagValueList = {
814
+ value: number[];
815
+ };
816
+ export type TagSplitterConditionGroup = {
817
+ conditions: TagSplitterCondition[];
818
+ };
819
+ 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';
820
+ export type TagSplitterCondition_value_int = {
821
+ type: 'int';
822
+ data: number;
823
+ };
824
+ export type TagSplitterCondition_value_intRange = {
825
+ type: 'intRange';
826
+ data: IntTagValueList;
827
+ };
828
+ export type TagSplitterCondition_value_str = {
829
+ type: 'str';
830
+ data: string;
831
+ };
832
+ export type TagSplitterCondition_value_strRange = {
833
+ type: 'strRange';
834
+ data: StrTagValueList;
835
+ };
836
+ export type TagSplitterCondition_value_date = {
837
+ type: 'date';
838
+ data: Date;
839
+ };
840
+ export type TagSplitterCondition_value_dateRange = {
841
+ type: 'dateRange';
842
+ data: DateTagValueList;
843
+ };
844
+ export type TagSplitterCondition_value_bool = {
845
+ type: 'bool';
846
+ data: boolean;
847
+ };
848
+ export type TagSplitterCondition_value_price = {
849
+ type: 'price';
850
+ data: number;
851
+ };
852
+ export type TagSplitterCondition_value_priceRange = {
853
+ type: 'priceRange';
854
+ data: PriceTagValueList;
855
+ };
856
+ export type TagSplitterCondition_value_version = {
857
+ type: 'version';
858
+ data: string;
859
+ };
860
+ export type TagSplitterCondition_value_versionRange = {
861
+ type: 'versionRange';
862
+ data: VersionTagValueList;
863
+ };
864
+ export type TagSplitterCondition_value_timezone = {
865
+ type: 'timezone';
866
+ data: number;
867
+ };
868
+ export type TagSplitterCondition_value_timezoneRange = {
869
+ type: 'timezoneRange';
870
+ data: TimezoneTagValueList;
871
+ };
872
+ 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;
873
+ export type TagSplitterCondition = {
874
+ tagId: number;
875
+ tagType: TagSplitterCondition_TagSplitterTagType;
876
+ operator: string;
877
+ value: TagSplitterCondition_value;
878
+ };
798
879
  export type PointParamsBooleanSplitter_LoadPolicy = 'UNKNOWN' | 'ALL' | 'FILTER';
880
+ export type PointParamsBooleanSplitter_SplitStrategy = 'SPLIT_FILTER' | 'SPLIT_TAGS';
799
881
  export type PointParamsBooleanSplitter = {
800
882
  filterCode: string;
801
883
  loadPolicy: PointParamsBooleanSplitter_LoadPolicy;
884
+ splitStrategy: PointParamsBooleanSplitter_SplitStrategy;
885
+ tagSplitterConditionGroups: TagSplitterConditionGroup[];
802
886
  };
803
887
  export type PointParamsWaitEvent = {
804
888
  events: PointWaitEventInfo[];