@pushwoosh/rpc-gateway-journey-data 0.26.335 → 0.26.337

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
@@ -2723,6 +2723,137 @@ export const data = {
2723
2723
  }
2724
2724
  }
2725
2725
  },
2726
+ "pushwoosh.cj.journey.DateFilterMode": {
2727
+ "type": "E",
2728
+ "values": [
2729
+ "DATE_FILTER_MODE_UNKNOWN",
2730
+ "DATE_FILTER_MODE_DAYS_AGO",
2731
+ "DATE_FILTER_MODE_HOURS_AGO",
2732
+ "DATE_FILTER_MODE_MINUTES_AGO"
2733
+ ]
2734
+ },
2735
+ "pushwoosh.cj.journey.EventConditionValueInt": {
2736
+ "type": "I",
2737
+ "fields": {
2738
+ "value": {
2739
+ "type": "number"
2740
+ }
2741
+ }
2742
+ },
2743
+ "pushwoosh.cj.journey.EventConditionValueIntRange": {
2744
+ "type": "I",
2745
+ "fields": {
2746
+ "value": {
2747
+ "type": "number",
2748
+ "array": true
2749
+ }
2750
+ }
2751
+ },
2752
+ "pushwoosh.cj.journey.EventConditionValueFloat": {
2753
+ "type": "I",
2754
+ "fields": {
2755
+ "value": {
2756
+ "type": "number"
2757
+ }
2758
+ }
2759
+ },
2760
+ "pushwoosh.cj.journey.EventConditionValueFloatRange": {
2761
+ "type": "I",
2762
+ "fields": {
2763
+ "value": {
2764
+ "type": "number",
2765
+ "array": true
2766
+ }
2767
+ }
2768
+ },
2769
+ "pushwoosh.cj.journey.EventConditionValueStr": {
2770
+ "type": "I",
2771
+ "fields": {
2772
+ "value": {
2773
+ "type": "string"
2774
+ }
2775
+ }
2776
+ },
2777
+ "pushwoosh.cj.journey.EventConditionValueStrRange": {
2778
+ "type": "I",
2779
+ "fields": {
2780
+ "value": {
2781
+ "type": "string",
2782
+ "array": true
2783
+ }
2784
+ }
2785
+ },
2786
+ "pushwoosh.cj.journey.EventConditionValueBool": {
2787
+ "type": "I",
2788
+ "fields": {
2789
+ "value": {
2790
+ "type": "boolean"
2791
+ }
2792
+ }
2793
+ },
2794
+ "pushwoosh.cj.journey.BooleanSplitterEventCondition": {
2795
+ "type": "I",
2796
+ "fields": {
2797
+ "attributeName": {
2798
+ "type": "string"
2799
+ },
2800
+ "type": {
2801
+ "type": "pushwoosh.cj.journey.PointEventAttributeType"
2802
+ },
2803
+ "operator": {
2804
+ "type": "pushwoosh.cj.journey.PointEventConditionOperator"
2805
+ },
2806
+ "dateFilterMode": {
2807
+ "type": "pushwoosh.cj.journey.DateFilterMode"
2808
+ },
2809
+ "int": {
2810
+ "type": "pushwoosh.cj.journey.EventConditionValueInt"
2811
+ },
2812
+ "intRange": {
2813
+ "type": "pushwoosh.cj.journey.EventConditionValueIntRange"
2814
+ },
2815
+ "str": {
2816
+ "type": "pushwoosh.cj.journey.EventConditionValueStr"
2817
+ },
2818
+ "strRange": {
2819
+ "type": "pushwoosh.cj.journey.EventConditionValueStrRange"
2820
+ },
2821
+ "bool": {
2822
+ "type": "pushwoosh.cj.journey.EventConditionValueBool"
2823
+ },
2824
+ "float": {
2825
+ "type": "pushwoosh.cj.journey.EventConditionValueFloat"
2826
+ },
2827
+ "floatRange": {
2828
+ "type": "pushwoosh.cj.journey.EventConditionValueFloatRange"
2829
+ }
2830
+ },
2831
+ "oneofs": {
2832
+ "value": {
2833
+ "oneof": [
2834
+ "int",
2835
+ "intRange",
2836
+ "str",
2837
+ "strRange",
2838
+ "bool",
2839
+ "float",
2840
+ "floatRange"
2841
+ ]
2842
+ }
2843
+ }
2844
+ },
2845
+ "pushwoosh.cj.journey.BooleanSplitterEventInfo": {
2846
+ "type": "I",
2847
+ "fields": {
2848
+ "eventName": {
2849
+ "type": "string"
2850
+ },
2851
+ "eventConditions": {
2852
+ "type": "pushwoosh.cj.journey.BooleanSplitterEventCondition",
2853
+ "array": true
2854
+ }
2855
+ }
2856
+ },
2726
2857
  "pushwoosh.cj.journey.PointParamsBooleanSplitter.LoadPolicy": {
2727
2858
  "type": "E",
2728
2859
  "values": [
@@ -2735,7 +2866,8 @@ export const data = {
2735
2866
  "type": "E",
2736
2867
  "values": [
2737
2868
  "SPLIT_FILTER",
2738
- "SPLIT_TAGS"
2869
+ "SPLIT_TAGS",
2870
+ "SPLIT_EVENTS"
2739
2871
  ]
2740
2872
  },
2741
2873
  "pushwoosh.cj.journey.PointParamsBooleanSplitter": {
@@ -2753,6 +2885,9 @@ export const data = {
2753
2885
  "filterExpressions": {
2754
2886
  "type": "pushwoosh.objects.filters.v1.FilterExpression",
2755
2887
  "array": true
2888
+ },
2889
+ "event": {
2890
+ "type": "pushwoosh.cj.journey.BooleanSplitterEventInfo"
2756
2891
  }
2757
2892
  }
2758
2893
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.335",
3
+ "version": "0.26.337",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1023,13 +1023,76 @@ export type TagSplitterCondition = {
1023
1023
  operator: string;
1024
1024
  value: TagSplitterCondition_value;
1025
1025
  };
1026
+ export type DateFilterMode = 'DATE_FILTER_MODE_UNKNOWN' | 'DATE_FILTER_MODE_DAYS_AGO' | 'DATE_FILTER_MODE_HOURS_AGO' | 'DATE_FILTER_MODE_MINUTES_AGO';
1027
+ export type EventConditionValueInt = {
1028
+ value: number;
1029
+ };
1030
+ export type EventConditionValueIntRange = {
1031
+ value: number[];
1032
+ };
1033
+ export type EventConditionValueFloat = {
1034
+ value: number;
1035
+ };
1036
+ export type EventConditionValueFloatRange = {
1037
+ value: number[];
1038
+ };
1039
+ export type EventConditionValueStr = {
1040
+ value: string;
1041
+ };
1042
+ export type EventConditionValueStrRange = {
1043
+ value: string[];
1044
+ };
1045
+ export type EventConditionValueBool = {
1046
+ value: boolean;
1047
+ };
1048
+ export type BooleanSplitterEventCondition_value_int = {
1049
+ type: 'int';
1050
+ data: EventConditionValueInt;
1051
+ };
1052
+ export type BooleanSplitterEventCondition_value_intRange = {
1053
+ type: 'intRange';
1054
+ data: EventConditionValueIntRange;
1055
+ };
1056
+ export type BooleanSplitterEventCondition_value_str = {
1057
+ type: 'str';
1058
+ data: EventConditionValueStr;
1059
+ };
1060
+ export type BooleanSplitterEventCondition_value_strRange = {
1061
+ type: 'strRange';
1062
+ data: EventConditionValueStrRange;
1063
+ };
1064
+ export type BooleanSplitterEventCondition_value_bool = {
1065
+ type: 'bool';
1066
+ data: EventConditionValueBool;
1067
+ };
1068
+ export type BooleanSplitterEventCondition_value_float = {
1069
+ type: 'float';
1070
+ data: EventConditionValueFloat;
1071
+ };
1072
+ export type BooleanSplitterEventCondition_value_floatRange = {
1073
+ type: 'floatRange';
1074
+ data: EventConditionValueFloatRange;
1075
+ };
1076
+ export type BooleanSplitterEventCondition_value = BooleanSplitterEventCondition_value_int | BooleanSplitterEventCondition_value_intRange | BooleanSplitterEventCondition_value_str | BooleanSplitterEventCondition_value_strRange | BooleanSplitterEventCondition_value_bool | BooleanSplitterEventCondition_value_float | BooleanSplitterEventCondition_value_floatRange;
1077
+ export type BooleanSplitterEventCondition = {
1078
+ attributeName: string;
1079
+ type: PointEventAttributeType;
1080
+ operator: PointEventConditionOperator;
1081
+ dateFilterMode: DateFilterMode;
1082
+ value: BooleanSplitterEventCondition_value;
1083
+ };
1084
+ export type BooleanSplitterEventInfo = {
1085
+ eventName: string;
1086
+ eventConditions: BooleanSplitterEventCondition[];
1087
+ };
1026
1088
  export type PointParamsBooleanSplitter_LoadPolicy = 'UNKNOWN' | 'ALL' | 'FILTER';
1027
- export type PointParamsBooleanSplitter_SplitStrategy = 'SPLIT_FILTER' | 'SPLIT_TAGS';
1089
+ export type PointParamsBooleanSplitter_SplitStrategy = 'SPLIT_FILTER' | 'SPLIT_TAGS' | 'SPLIT_EVENTS';
1028
1090
  export type PointParamsBooleanSplitter = {
1029
1091
  filterCode: string;
1030
1092
  loadPolicy: PointParamsBooleanSplitter_LoadPolicy;
1031
1093
  splitStrategy: PointParamsBooleanSplitter_SplitStrategy;
1032
1094
  filterExpressions: pushwoosh_objects_filters_v1_FilterExpression[];
1095
+ event: BooleanSplitterEventInfo;
1033
1096
  };
1034
1097
  export type PointParamsWaitEvent = {
1035
1098
  events: PointWaitEventInfo[];