@pushwoosh/rpc-v2-http-api-data 0.1.592 → 0.1.593
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 +94 -3
- package/filters.d.ts +7 -0
- package/package.json +1 -1
- package/pushwoosh_objects_filters_v1.d.ts +30 -3
package/data.js
CHANGED
|
@@ -7006,6 +7006,12 @@ export const data = {
|
|
|
7006
7006
|
"method": "post",
|
|
7007
7007
|
"path": "/api/filters:get-seglang"
|
|
7008
7008
|
},
|
|
7009
|
+
"SeglangToFilterExpression": {
|
|
7010
|
+
"request": "pushwoosh.rpc_v2.filters.SeglangToFilterExpressionRequest",
|
|
7011
|
+
"response": "pushwoosh.rpc_v2.filters.SeglangToFilterExpressionResponse",
|
|
7012
|
+
"method": "post",
|
|
7013
|
+
"path": "/api/filters:seglang-to-fe"
|
|
7014
|
+
},
|
|
7009
7015
|
"GetMatchedSegments": {
|
|
7010
7016
|
"request": "pushwoosh.rpc_v2.filters.GetMatchedSegmentsRequest",
|
|
7011
7017
|
"response": "pushwoosh.rpc_v2.filters.GetMatchedSegmentsResponse",
|
|
@@ -7341,6 +7347,22 @@ export const data = {
|
|
|
7341
7347
|
}
|
|
7342
7348
|
}
|
|
7343
7349
|
},
|
|
7350
|
+
"pushwoosh.rpc_v2.filters.SeglangToFilterExpressionRequest": {
|
|
7351
|
+
"type": "I",
|
|
7352
|
+
"fields": {
|
|
7353
|
+
"seglang": {
|
|
7354
|
+
"type": "string"
|
|
7355
|
+
}
|
|
7356
|
+
}
|
|
7357
|
+
},
|
|
7358
|
+
"pushwoosh.rpc_v2.filters.SeglangToFilterExpressionResponse": {
|
|
7359
|
+
"type": "I",
|
|
7360
|
+
"fields": {
|
|
7361
|
+
"filterExpression": {
|
|
7362
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression"
|
|
7363
|
+
}
|
|
7364
|
+
}
|
|
7365
|
+
},
|
|
7344
7366
|
"pushwoosh.rpc_v2.filters.GetMatchedSegmentsRequest": {
|
|
7345
7367
|
"type": "I",
|
|
7346
7368
|
"fields": {
|
|
@@ -10592,6 +10614,25 @@ export const data = {
|
|
|
10592
10614
|
}
|
|
10593
10615
|
}
|
|
10594
10616
|
},
|
|
10617
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo.Operator": {
|
|
10618
|
+
"type": "E",
|
|
10619
|
+
"values": [
|
|
10620
|
+
"OPERATOR_UNSPECIFIED",
|
|
10621
|
+
"OPERATOR_LTE",
|
|
10622
|
+
"OPERATOR_GTE"
|
|
10623
|
+
]
|
|
10624
|
+
},
|
|
10625
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo": {
|
|
10626
|
+
"type": "I",
|
|
10627
|
+
"fields": {
|
|
10628
|
+
"operator": {
|
|
10629
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo.Operator"
|
|
10630
|
+
},
|
|
10631
|
+
"value": {
|
|
10632
|
+
"type": "number"
|
|
10633
|
+
}
|
|
10634
|
+
}
|
|
10635
|
+
},
|
|
10595
10636
|
"pushwoosh.objects.filters.v1.FilterExpression.Event.Date": {
|
|
10596
10637
|
"type": "I",
|
|
10597
10638
|
"fields": {
|
|
@@ -10621,6 +10662,9 @@ export const data = {
|
|
|
10621
10662
|
},
|
|
10622
10663
|
"daysAgo": {
|
|
10623
10664
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.DaysAgo"
|
|
10665
|
+
},
|
|
10666
|
+
"minutesAgo": {
|
|
10667
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Date.MinutesAgo"
|
|
10624
10668
|
}
|
|
10625
10669
|
},
|
|
10626
10670
|
"oneofs": {
|
|
@@ -10634,7 +10678,8 @@ export const data = {
|
|
|
10634
10678
|
"notIn",
|
|
10635
10679
|
"between",
|
|
10636
10680
|
"exists",
|
|
10637
|
-
"daysAgo"
|
|
10681
|
+
"daysAgo",
|
|
10682
|
+
"minutesAgo"
|
|
10638
10683
|
]
|
|
10639
10684
|
}
|
|
10640
10685
|
}
|
|
@@ -11004,6 +11049,25 @@ export const data = {
|
|
|
11004
11049
|
}
|
|
11005
11050
|
}
|
|
11006
11051
|
},
|
|
11052
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo.Operator": {
|
|
11053
|
+
"type": "E",
|
|
11054
|
+
"values": [
|
|
11055
|
+
"OPERATOR_UNSPECIFIED",
|
|
11056
|
+
"OPERATOR_LTE",
|
|
11057
|
+
"OPERATOR_GTE"
|
|
11058
|
+
]
|
|
11059
|
+
},
|
|
11060
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo": {
|
|
11061
|
+
"type": "I",
|
|
11062
|
+
"fields": {
|
|
11063
|
+
"operator": {
|
|
11064
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo.Operator"
|
|
11065
|
+
},
|
|
11066
|
+
"value": {
|
|
11067
|
+
"type": "number"
|
|
11068
|
+
}
|
|
11069
|
+
}
|
|
11070
|
+
},
|
|
11007
11071
|
"pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date": {
|
|
11008
11072
|
"type": "I",
|
|
11009
11073
|
"fields": {
|
|
@@ -11033,6 +11097,9 @@ export const data = {
|
|
|
11033
11097
|
},
|
|
11034
11098
|
"daysAgo": {
|
|
11035
11099
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.DaysAgo"
|
|
11100
|
+
},
|
|
11101
|
+
"minutesAgo": {
|
|
11102
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Date.MinutesAgo"
|
|
11036
11103
|
}
|
|
11037
11104
|
},
|
|
11038
11105
|
"oneofs": {
|
|
@@ -11046,7 +11113,8 @@ export const data = {
|
|
|
11046
11113
|
"notIn",
|
|
11047
11114
|
"between",
|
|
11048
11115
|
"exists",
|
|
11049
|
-
"daysAgo"
|
|
11116
|
+
"daysAgo",
|
|
11117
|
+
"minutesAgo"
|
|
11050
11118
|
]
|
|
11051
11119
|
}
|
|
11052
11120
|
}
|
|
@@ -11708,6 +11776,25 @@ export const data = {
|
|
|
11708
11776
|
}
|
|
11709
11777
|
}
|
|
11710
11778
|
},
|
|
11779
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo.Operator": {
|
|
11780
|
+
"type": "E",
|
|
11781
|
+
"values": [
|
|
11782
|
+
"OPERATOR_UNSPECIFIED",
|
|
11783
|
+
"OPERATOR_LTE",
|
|
11784
|
+
"OPERATOR_GTE"
|
|
11785
|
+
]
|
|
11786
|
+
},
|
|
11787
|
+
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo": {
|
|
11788
|
+
"type": "I",
|
|
11789
|
+
"fields": {
|
|
11790
|
+
"operator": {
|
|
11791
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo.Operator"
|
|
11792
|
+
},
|
|
11793
|
+
"value": {
|
|
11794
|
+
"type": "number"
|
|
11795
|
+
}
|
|
11796
|
+
}
|
|
11797
|
+
},
|
|
11711
11798
|
"pushwoosh.objects.filters.v1.FilterExpression.Tag.Date": {
|
|
11712
11799
|
"type": "I",
|
|
11713
11800
|
"fields": {
|
|
@@ -11737,6 +11824,9 @@ export const data = {
|
|
|
11737
11824
|
},
|
|
11738
11825
|
"daysAgo": {
|
|
11739
11826
|
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.DaysAgo"
|
|
11827
|
+
},
|
|
11828
|
+
"minutesAgo": {
|
|
11829
|
+
"type": "pushwoosh.objects.filters.v1.FilterExpression.Tag.Date.MinutesAgo"
|
|
11740
11830
|
}
|
|
11741
11831
|
},
|
|
11742
11832
|
"oneofs": {
|
|
@@ -11750,7 +11840,8 @@ export const data = {
|
|
|
11750
11840
|
"notIn",
|
|
11751
11841
|
"between",
|
|
11752
11842
|
"exists",
|
|
11753
|
-
"daysAgo"
|
|
11843
|
+
"daysAgo",
|
|
11844
|
+
"minutesAgo"
|
|
11754
11845
|
]
|
|
11755
11846
|
}
|
|
11756
11847
|
}
|
package/filters.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface FiltersService {
|
|
|
10
10
|
GetCitiesByHashes(request: GetCitiesByHashesRequest): Promise<GetCitiesByHashesResponse>;
|
|
11
11
|
CompileFilter(request: CompileFilterRequest): Promise<CompileFilterResponse>;
|
|
12
12
|
GetSeglang(request: GetSeglangRequest): Promise<GetSeglangResponse>;
|
|
13
|
+
SeglangToFilterExpression(request: SeglangToFilterExpressionRequest): Promise<SeglangToFilterExpressionResponse>;
|
|
13
14
|
GetMatchedSegments(request: GetMatchedSegmentsRequest): Promise<GetMatchedSegmentsResponse>;
|
|
14
15
|
}
|
|
15
16
|
export type ListFiltersRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
|
|
@@ -127,6 +128,12 @@ export type GetSeglangRequest = {
|
|
|
127
128
|
export type GetSeglangResponse = {
|
|
128
129
|
seglang: string;
|
|
129
130
|
};
|
|
131
|
+
export type SeglangToFilterExpressionRequest = {
|
|
132
|
+
seglang?: string;
|
|
133
|
+
};
|
|
134
|
+
export type SeglangToFilterExpressionResponse = {
|
|
135
|
+
filterExpression: pushwoosh_objects_filters_v1_FilterExpression;
|
|
136
|
+
};
|
|
130
137
|
export type GetMatchedSegmentsRequest = {
|
|
131
138
|
application?: string;
|
|
132
139
|
hwid?: string;
|
package/package.json
CHANGED
|
@@ -503,6 +503,11 @@ export type FilterExpression_Event_Date_DaysAgo = {
|
|
|
503
503
|
value: number;
|
|
504
504
|
values: number[];
|
|
505
505
|
};
|
|
506
|
+
export type FilterExpression_Event_Date_MinutesAgo_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_LTE' | 'OPERATOR_GTE';
|
|
507
|
+
export type FilterExpression_Event_Date_MinutesAgo = {
|
|
508
|
+
operator: FilterExpression_Event_Date_MinutesAgo_Operator;
|
|
509
|
+
value: number;
|
|
510
|
+
};
|
|
506
511
|
export type FilterExpression_Event_Date_kind_eq = {
|
|
507
512
|
type: 'eq';
|
|
508
513
|
data: FilterExpression_Event_Date_Eq;
|
|
@@ -539,7 +544,11 @@ export type FilterExpression_Event_Date_kind_daysAgo = {
|
|
|
539
544
|
type: 'daysAgo';
|
|
540
545
|
data: FilterExpression_Event_Date_DaysAgo;
|
|
541
546
|
};
|
|
542
|
-
export type
|
|
547
|
+
export type FilterExpression_Event_Date_kind_minutesAgo = {
|
|
548
|
+
type: 'minutesAgo';
|
|
549
|
+
data: FilterExpression_Event_Date_MinutesAgo;
|
|
550
|
+
};
|
|
551
|
+
export type FilterExpression_Event_Date_kind = FilterExpression_Event_Date_kind_eq | FilterExpression_Event_Date_kind_neq | FilterExpression_Event_Date_kind_lte | FilterExpression_Event_Date_kind_gte | FilterExpression_Event_Date_kind_in | FilterExpression_Event_Date_kind_notIn | FilterExpression_Event_Date_kind_between | FilterExpression_Event_Date_kind_exists | FilterExpression_Event_Date_kind_daysAgo | FilterExpression_Event_Date_kind_minutesAgo;
|
|
543
552
|
export type FilterExpression_Event_Date = {
|
|
544
553
|
kind: FilterExpression_Event_Date_kind;
|
|
545
554
|
};
|
|
@@ -720,6 +729,11 @@ export type FilterExpression_Event_Attribute_Date_DaysAgo = {
|
|
|
720
729
|
value: number;
|
|
721
730
|
values: number[];
|
|
722
731
|
};
|
|
732
|
+
export type FilterExpression_Event_Attribute_Date_MinutesAgo_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_LTE' | 'OPERATOR_GTE';
|
|
733
|
+
export type FilterExpression_Event_Attribute_Date_MinutesAgo = {
|
|
734
|
+
operator: FilterExpression_Event_Attribute_Date_MinutesAgo_Operator;
|
|
735
|
+
value: number;
|
|
736
|
+
};
|
|
723
737
|
export type FilterExpression_Event_Attribute_Date_kind_eq = {
|
|
724
738
|
type: 'eq';
|
|
725
739
|
data: FilterExpression_Event_Attribute_Date_Eq;
|
|
@@ -756,7 +770,11 @@ export type FilterExpression_Event_Attribute_Date_kind_daysAgo = {
|
|
|
756
770
|
type: 'daysAgo';
|
|
757
771
|
data: FilterExpression_Event_Attribute_Date_DaysAgo;
|
|
758
772
|
};
|
|
759
|
-
export type
|
|
773
|
+
export type FilterExpression_Event_Attribute_Date_kind_minutesAgo = {
|
|
774
|
+
type: 'minutesAgo';
|
|
775
|
+
data: FilterExpression_Event_Attribute_Date_MinutesAgo;
|
|
776
|
+
};
|
|
777
|
+
export type FilterExpression_Event_Attribute_Date_kind = FilterExpression_Event_Attribute_Date_kind_eq | FilterExpression_Event_Attribute_Date_kind_neq | FilterExpression_Event_Attribute_Date_kind_lte | FilterExpression_Event_Attribute_Date_kind_gte | FilterExpression_Event_Attribute_Date_kind_in | FilterExpression_Event_Attribute_Date_kind_notIn | FilterExpression_Event_Attribute_Date_kind_between | FilterExpression_Event_Attribute_Date_kind_exists | FilterExpression_Event_Attribute_Date_kind_daysAgo | FilterExpression_Event_Attribute_Date_kind_minutesAgo;
|
|
760
778
|
export type FilterExpression_Event_Attribute_Date = {
|
|
761
779
|
kind: FilterExpression_Event_Attribute_Date_kind;
|
|
762
780
|
};
|
|
@@ -1091,6 +1109,11 @@ export type FilterExpression_Tag_Date_DaysAgo = {
|
|
|
1091
1109
|
value: number;
|
|
1092
1110
|
values: number[];
|
|
1093
1111
|
};
|
|
1112
|
+
export type FilterExpression_Tag_Date_MinutesAgo_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_LTE' | 'OPERATOR_GTE';
|
|
1113
|
+
export type FilterExpression_Tag_Date_MinutesAgo = {
|
|
1114
|
+
operator: FilterExpression_Tag_Date_MinutesAgo_Operator;
|
|
1115
|
+
value: number;
|
|
1116
|
+
};
|
|
1094
1117
|
export type FilterExpression_Tag_Date_kind_eq = {
|
|
1095
1118
|
type: 'eq';
|
|
1096
1119
|
data: FilterExpression_Tag_Date_Eq;
|
|
@@ -1127,7 +1150,11 @@ export type FilterExpression_Tag_Date_kind_daysAgo = {
|
|
|
1127
1150
|
type: 'daysAgo';
|
|
1128
1151
|
data: FilterExpression_Tag_Date_DaysAgo;
|
|
1129
1152
|
};
|
|
1130
|
-
export type
|
|
1153
|
+
export type FilterExpression_Tag_Date_kind_minutesAgo = {
|
|
1154
|
+
type: 'minutesAgo';
|
|
1155
|
+
data: FilterExpression_Tag_Date_MinutesAgo;
|
|
1156
|
+
};
|
|
1157
|
+
export type FilterExpression_Tag_Date_kind = FilterExpression_Tag_Date_kind_eq | FilterExpression_Tag_Date_kind_neq | FilterExpression_Tag_Date_kind_lte | FilterExpression_Tag_Date_kind_gte | FilterExpression_Tag_Date_kind_in | FilterExpression_Tag_Date_kind_notIn | FilterExpression_Tag_Date_kind_between | FilterExpression_Tag_Date_kind_exists | FilterExpression_Tag_Date_kind_daysAgo | FilterExpression_Tag_Date_kind_minutesAgo;
|
|
1131
1158
|
export type FilterExpression_Tag_Date = {
|
|
1132
1159
|
kind: FilterExpression_Tag_Date_kind;
|
|
1133
1160
|
};
|