@pushwoosh/rpc-gateway-journey-data 0.27.211 → 0.27.212

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
@@ -8262,7 +8262,9 @@ export const data = {
8262
8262
  "type": "E",
8263
8263
  "values": [
8264
8264
  "AD_PLATFORM_META",
8265
- "AD_PLATFORM_GOOGLE_ADS"
8265
+ "AD_PLATFORM_GOOGLE_ADS",
8266
+ "AD_PLATFORM_TIKTOK",
8267
+ "AD_PLATFORM_SNAP"
8266
8268
  ]
8267
8269
  },
8268
8270
  "pushwoosh.cj.journey.AdAccountStatus": {
@@ -8579,7 +8581,8 @@ export const data = {
8579
8581
  "NOT_NULL",
8580
8582
  "ILIKE",
8581
8583
  "ARRAY_CONTAINS",
8582
- "ARRAY_INCLUDES"
8584
+ "ARRAY_INCLUDES",
8585
+ "NOT_ILIKE"
8583
8586
  ]
8584
8587
  },
8585
8588
  "pushwoosh.objects.filters.v1.LogicExpression.Field.ID": {
@@ -9137,6 +9140,12 @@ export const data = {
9137
9140
  "method": "get",
9138
9141
  "path": "/v1/objects/filters:paginate"
9139
9142
  },
9143
+ "List2": {
9144
+ "request": "pushwoosh.objects.filters.v1.List2Request",
9145
+ "response": "pushwoosh.objects.filters.v1.List2Response",
9146
+ "method": "get",
9147
+ "path": "/v1/objects/filters:list2"
9148
+ },
9140
9149
  "UpdateCode": {
9141
9150
  "request": "pushwoosh.objects.filters.v1.UpdateCodeRequest",
9142
9151
  "response": "{}",
@@ -9458,6 +9467,29 @@ export const data = {
9458
9467
  }
9459
9468
  }
9460
9469
  },
9470
+ "pushwoosh.objects.filters.v1.List2Request": {
9471
+ "type": "I",
9472
+ "fields": {
9473
+ "where": {
9474
+ "type": "pushwoosh.objects.filters.v1.LogicExpression"
9475
+ },
9476
+ "sort": {
9477
+ "type": "pushwoosh.objects.filters.v1.SortExpression"
9478
+ },
9479
+ "forLock": {
9480
+ "type": "pushwoosh.objects.filters.v1.ForExpression"
9481
+ }
9482
+ }
9483
+ },
9484
+ "pushwoosh.objects.filters.v1.List2Response": {
9485
+ "type": "I",
9486
+ "fields": {
9487
+ "filters": {
9488
+ "type": "pushwoosh.objects.filters.v1.Filter",
9489
+ "array": true
9490
+ }
9491
+ }
9492
+ },
9461
9493
  "pushwoosh.objects.filters.v1.UpdateCodeRequest": {
9462
9494
  "type": "I",
9463
9495
  "fields": {
@@ -9718,15 +9750,6 @@ export const data = {
9718
9750
  }
9719
9751
  }
9720
9752
  },
9721
- "pushwoosh.objects.filters.v1.JoinType": {
9722
- "type": "E",
9723
- "values": [
9724
- "JOIN_INVALID",
9725
- "JOIN_INNER",
9726
- "JOIN_LEFT",
9727
- "JOIN_RIGHT"
9728
- ]
9729
- },
9730
9753
  "pushwoosh.objects.filters.v1.__filter_model_internal": {
9731
9754
  "type": "I",
9732
9755
  "fields": {
@@ -9968,6 +9991,17 @@ export const data = {
9968
9991
  }
9969
9992
  }
9970
9993
  },
9994
+ "pushwoosh.objects.filters.v1.FilterExpression.List.Operator": {
9995
+ "type": "E",
9996
+ "values": [
9997
+ "OPERATOR_UNSPECIFIED",
9998
+ "OPERATOR_IN",
9999
+ "OPERATOR_NOT_IN",
10000
+ "OPERATOR_STARTS_WITH",
10001
+ "OPERATOR_ENDS_WITH",
10002
+ "OPERATOR_CONTAINS"
10003
+ ]
10004
+ },
9971
10005
  "pushwoosh.objects.filters.v1.FilterExpression.List": {
9972
10006
  "type": "I",
9973
10007
  "fields": {
@@ -9984,6 +10018,13 @@ export const data = {
9984
10018
  "devices": {
9985
10019
  "type": "string",
9986
10020
  "array": true
10021
+ },
10022
+ "operator": {
10023
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.List.Operator"
10024
+ },
10025
+ "tokens": {
10026
+ "type": "string",
10027
+ "array": true
9987
10028
  }
9988
10029
  }
9989
10030
  },
@@ -10819,6 +10860,118 @@ export const data = {
10819
10860
  }
10820
10861
  }
10821
10862
  },
10863
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Eq": {
10864
+ "type": "I",
10865
+ "fields": {
10866
+ "value": {
10867
+ "type": "string"
10868
+ }
10869
+ }
10870
+ },
10871
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Neq": {
10872
+ "type": "I",
10873
+ "fields": {
10874
+ "value": {
10875
+ "type": "string"
10876
+ }
10877
+ }
10878
+ },
10879
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Lte": {
10880
+ "type": "I",
10881
+ "fields": {
10882
+ "value": {
10883
+ "type": "string"
10884
+ }
10885
+ }
10886
+ },
10887
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Gte": {
10888
+ "type": "I",
10889
+ "fields": {
10890
+ "value": {
10891
+ "type": "string"
10892
+ }
10893
+ }
10894
+ },
10895
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.In": {
10896
+ "type": "I",
10897
+ "fields": {
10898
+ "values": {
10899
+ "type": "string",
10900
+ "array": true
10901
+ }
10902
+ }
10903
+ },
10904
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.NotIn": {
10905
+ "type": "I",
10906
+ "fields": {
10907
+ "values": {
10908
+ "type": "string",
10909
+ "array": true
10910
+ }
10911
+ }
10912
+ },
10913
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Between": {
10914
+ "type": "I",
10915
+ "fields": {
10916
+ "from": {
10917
+ "type": "string"
10918
+ },
10919
+ "to": {
10920
+ "type": "string"
10921
+ }
10922
+ }
10923
+ },
10924
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Exists": {
10925
+ "type": "I",
10926
+ "fields": {
10927
+ "exists": {
10928
+ "type": "boolean"
10929
+ }
10930
+ }
10931
+ },
10932
+ "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version": {
10933
+ "type": "I",
10934
+ "fields": {
10935
+ "eq": {
10936
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Eq"
10937
+ },
10938
+ "neq": {
10939
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Neq"
10940
+ },
10941
+ "lte": {
10942
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Lte"
10943
+ },
10944
+ "gte": {
10945
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Gte"
10946
+ },
10947
+ "in": {
10948
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.In"
10949
+ },
10950
+ "notIn": {
10951
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.NotIn"
10952
+ },
10953
+ "between": {
10954
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Between"
10955
+ },
10956
+ "exists": {
10957
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version.Exists"
10958
+ }
10959
+ },
10960
+ "oneofs": {
10961
+ "kind": {
10962
+ "oneof": [
10963
+ "eq",
10964
+ "neq",
10965
+ "lte",
10966
+ "gte",
10967
+ "in",
10968
+ "notIn",
10969
+ "between",
10970
+ "exists"
10971
+ ]
10972
+ }
10973
+ }
10974
+ },
10822
10975
  "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute": {
10823
10976
  "type": "I",
10824
10977
  "fields": {
@@ -10842,6 +10995,9 @@ export const data = {
10842
10995
  },
10843
10996
  "price": {
10844
10997
  "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Price"
10998
+ },
10999
+ "version": {
11000
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute.Version"
10845
11001
  }
10846
11002
  },
10847
11003
  "oneofs": {
@@ -10852,7 +11008,8 @@ export const data = {
10852
11008
  "list",
10853
11009
  "date",
10854
11010
  "boolean",
10855
- "price"
11011
+ "price",
11012
+ "version"
10856
11013
  ]
10857
11014
  }
10858
11015
  }
@@ -10883,6 +11040,10 @@ export const data = {
10883
11040
  "hwids": {
10884
11041
  "type": "string",
10885
11042
  "array": true
11043
+ },
11044
+ "sums": {
11045
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.Event.Attribute",
11046
+ "array": true
10886
11047
  }
10887
11048
  }
10888
11049
  },
@@ -11858,6 +12019,32 @@ export const data = {
11858
12019
  }
11859
12020
  }
11860
12021
  },
12022
+ "pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag.State": {
12023
+ "type": "E",
12024
+ "values": [
12025
+ "STATE_UNSPECIFIED",
12026
+ "STATE_ENABLED",
12027
+ "STATE_DISABLED",
12028
+ "STATE_IN_RULE"
12029
+ ]
12030
+ },
12031
+ "pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag": {
12032
+ "type": "I",
12033
+ "fields": {
12034
+ "application": {
12035
+ "type": "string"
12036
+ },
12037
+ "key": {
12038
+ "type": "string"
12039
+ },
12040
+ "state": {
12041
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag.State"
12042
+ },
12043
+ "ruleId": {
12044
+ "type": "string"
12045
+ }
12046
+ }
12047
+ },
11861
12048
  "pushwoosh.objects.filters.v1.FilterExpression": {
11862
12049
  "type": "I",
11863
12050
  "fields": {
@@ -11896,6 +12083,9 @@ export const data = {
11896
12083
  },
11897
12084
  "externalSegment": {
11898
12085
  "type": "pushwoosh.objects.filters.v1.FilterExpression.ExternalSegment"
12086
+ },
12087
+ "featureFlag": {
12088
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.FeatureFlag"
11899
12089
  }
11900
12090
  },
11901
12091
  "oneofs": {
@@ -11912,7 +12102,8 @@ export const data = {
11912
12102
  "tagDateMatch",
11913
12103
  "segment",
11914
12104
  "list",
11915
- "externalSegment"
12105
+ "externalSegment",
12106
+ "featureFlag"
11916
12107
  ]
11917
12108
  }
11918
12109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.211",
3
+ "version": "0.27.212",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -2898,7 +2898,7 @@ export type GetEventsByApplicationCodesRequest = {
2898
2898
  export type GetEventsByApplicationCodesResponse = {
2899
2899
  payload: Record<string, EventsByApplicationCodePayload>;
2900
2900
  };
2901
- export type AdPlatform = 'AD_PLATFORM_META' | 'AD_PLATFORM_GOOGLE_ADS';
2901
+ export type AdPlatform = 'AD_PLATFORM_META' | 'AD_PLATFORM_GOOGLE_ADS' | 'AD_PLATFORM_TIKTOK' | 'AD_PLATFORM_SNAP';
2902
2902
  export type AdAccountStatus = 'AD_ACCOUNT_STATUS_UNSPECIFIED' | 'AD_ACCOUNT_STATUS_CONNECTED' | 'AD_ACCOUNT_STATUS_DISCONNECTED' | 'AD_ACCOUNT_STATUS_PENDING';
2903
2903
  export type AdAccount = {
2904
2904
  id: string;
@@ -9,7 +9,7 @@ export type LogicExpression_Binary = {
9
9
  left: LogicExpression;
10
10
  right: LogicExpression;
11
11
  };
12
- export type LogicExpression_Field_Operator = 'INVALID' | 'EQ' | 'NEQ' | 'IN' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'STARTS_WITH' | 'ENDS_WITH' | 'LIKE' | 'IS_NULL' | 'NOT_NULL' | 'ILIKE' | 'ARRAY_CONTAINS' | 'ARRAY_INCLUDES';
12
+ export type LogicExpression_Field_Operator = 'INVALID' | 'EQ' | 'NEQ' | 'IN' | 'GT' | 'GTE' | 'LT' | 'LTE' | 'STARTS_WITH' | 'ENDS_WITH' | 'LIKE' | 'IS_NULL' | 'NOT_NULL' | 'ILIKE' | 'ARRAY_CONTAINS' | 'ARRAY_INCLUDES' | 'NOT_ILIKE';
13
13
  export type LogicExpression_Field_ID = {
14
14
  operator: LogicExpression_Field_Operator;
15
15
  value: number;
@@ -237,6 +237,7 @@ export interface FiltersCrudService {
237
237
  GetPage(request: GetPageRequest): Promise<GetPageResponse>;
238
238
  List(request: ListRequest): Promise<ListResponse>;
239
239
  Paginate(request: PaginateRequest): Promise<PaginateResponse>;
240
+ List2(request: List2Request): Promise<List2Response>;
240
241
  UpdateCode(request: UpdateCodeRequest): Promise<{}>;
241
242
  UpdateAccountID(request: UpdateAccountIDRequest): Promise<{}>;
242
243
  UpdateName(request: UpdateNameRequest): Promise<{}>;
@@ -329,6 +330,14 @@ export type PaginateResponse = {
329
330
  filters: Filter[];
330
331
  nextPageToken: string;
331
332
  };
333
+ export type List2Request = {
334
+ where?: LogicExpression;
335
+ sort?: SortExpression;
336
+ forLock?: ForExpression;
337
+ };
338
+ export type List2Response = {
339
+ filters: Filter[];
340
+ };
332
341
  export type UpdateCodeRequest = {
333
342
  ID?: number;
334
343
  value?: string;
@@ -424,7 +433,6 @@ export type LoadByAccountIDNameRequest = {
424
433
  export type LoadByAccountIDNameResponse = {
425
434
  filter: Filter;
426
435
  };
427
- export type JoinType = 'JOIN_INVALID' | 'JOIN_INNER' | 'JOIN_LEFT' | 'JOIN_RIGHT';
428
436
  export type __filter_model_internal = {
429
437
  f1: string;
430
438
  f2: Date;
@@ -515,11 +523,14 @@ export type FilterExpression_Segment = {
515
523
  application: string;
516
524
  segment: string;
517
525
  };
526
+ export type FilterExpression_List_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_IN' | 'OPERATOR_NOT_IN' | 'OPERATOR_STARTS_WITH' | 'OPERATOR_ENDS_WITH' | 'OPERATOR_CONTAINS';
518
527
  export type FilterExpression_List = {
519
528
  application: string;
520
529
  kind: string;
521
530
  users: string[];
522
531
  devices: string[];
532
+ operator: FilterExpression_List_Operator;
533
+ tokens: string[];
523
534
  };
524
535
  export type FilterExpression_ExternalSegment = {
525
536
  application: string;
@@ -942,6 +953,67 @@ export type FilterExpression_Event_Attribute_Price_kind = FilterExpression_Event
942
953
  export type FilterExpression_Event_Attribute_Price = {
943
954
  kind: FilterExpression_Event_Attribute_Price_kind;
944
955
  };
956
+ export type FilterExpression_Event_Attribute_Version_Eq = {
957
+ value: string;
958
+ };
959
+ export type FilterExpression_Event_Attribute_Version_Neq = {
960
+ value: string;
961
+ };
962
+ export type FilterExpression_Event_Attribute_Version_Lte = {
963
+ value: string;
964
+ };
965
+ export type FilterExpression_Event_Attribute_Version_Gte = {
966
+ value: string;
967
+ };
968
+ export type FilterExpression_Event_Attribute_Version_In = {
969
+ values: string[];
970
+ };
971
+ export type FilterExpression_Event_Attribute_Version_NotIn = {
972
+ values: string[];
973
+ };
974
+ export type FilterExpression_Event_Attribute_Version_Between = {
975
+ from: string;
976
+ to: string;
977
+ };
978
+ export type FilterExpression_Event_Attribute_Version_Exists = {
979
+ exists: boolean;
980
+ };
981
+ export type FilterExpression_Event_Attribute_Version_kind_eq = {
982
+ type: 'eq';
983
+ data: FilterExpression_Event_Attribute_Version_Eq;
984
+ };
985
+ export type FilterExpression_Event_Attribute_Version_kind_neq = {
986
+ type: 'neq';
987
+ data: FilterExpression_Event_Attribute_Version_Neq;
988
+ };
989
+ export type FilterExpression_Event_Attribute_Version_kind_lte = {
990
+ type: 'lte';
991
+ data: FilterExpression_Event_Attribute_Version_Lte;
992
+ };
993
+ export type FilterExpression_Event_Attribute_Version_kind_gte = {
994
+ type: 'gte';
995
+ data: FilterExpression_Event_Attribute_Version_Gte;
996
+ };
997
+ export type FilterExpression_Event_Attribute_Version_kind_in = {
998
+ type: 'in';
999
+ data: FilterExpression_Event_Attribute_Version_In;
1000
+ };
1001
+ export type FilterExpression_Event_Attribute_Version_kind_notIn = {
1002
+ type: 'notIn';
1003
+ data: FilterExpression_Event_Attribute_Version_NotIn;
1004
+ };
1005
+ export type FilterExpression_Event_Attribute_Version_kind_between = {
1006
+ type: 'between';
1007
+ data: FilterExpression_Event_Attribute_Version_Between;
1008
+ };
1009
+ export type FilterExpression_Event_Attribute_Version_kind_exists = {
1010
+ type: 'exists';
1011
+ data: FilterExpression_Event_Attribute_Version_Exists;
1012
+ };
1013
+ export type FilterExpression_Event_Attribute_Version_kind = FilterExpression_Event_Attribute_Version_kind_eq | FilterExpression_Event_Attribute_Version_kind_neq | FilterExpression_Event_Attribute_Version_kind_lte | FilterExpression_Event_Attribute_Version_kind_gte | FilterExpression_Event_Attribute_Version_kind_in | FilterExpression_Event_Attribute_Version_kind_notIn | FilterExpression_Event_Attribute_Version_kind_between | FilterExpression_Event_Attribute_Version_kind_exists;
1014
+ export type FilterExpression_Event_Attribute_Version = {
1015
+ kind: FilterExpression_Event_Attribute_Version_kind;
1016
+ };
945
1017
  export type FilterExpression_Event_Attribute_kind_integer = {
946
1018
  type: 'integer';
947
1019
  data: FilterExpression_Event_Attribute_Integer;
@@ -966,7 +1038,11 @@ export type FilterExpression_Event_Attribute_kind_price = {
966
1038
  type: 'price';
967
1039
  data: FilterExpression_Event_Attribute_Price;
968
1040
  };
969
- export type FilterExpression_Event_Attribute_kind = FilterExpression_Event_Attribute_kind_integer | FilterExpression_Event_Attribute_kind_string | FilterExpression_Event_Attribute_kind_list | FilterExpression_Event_Attribute_kind_date | FilterExpression_Event_Attribute_kind_boolean | FilterExpression_Event_Attribute_kind_price;
1041
+ export type FilterExpression_Event_Attribute_kind_version = {
1042
+ type: 'version';
1043
+ data: FilterExpression_Event_Attribute_Version;
1044
+ };
1045
+ export type FilterExpression_Event_Attribute_kind = FilterExpression_Event_Attribute_kind_integer | FilterExpression_Event_Attribute_kind_string | FilterExpression_Event_Attribute_kind_list | FilterExpression_Event_Attribute_kind_date | FilterExpression_Event_Attribute_kind_boolean | FilterExpression_Event_Attribute_kind_price | FilterExpression_Event_Attribute_kind_version;
970
1046
  export type FilterExpression_Event_Attribute = {
971
1047
  name: string;
972
1048
  kind: FilterExpression_Event_Attribute_kind;
@@ -979,6 +1055,7 @@ export type FilterExpression_Event = {
979
1055
  attributes: FilterExpression_Event_Attribute[];
980
1056
  platforms: string[];
981
1057
  hwids: string[];
1058
+ sums: FilterExpression_Event_Attribute[];
982
1059
  };
983
1060
  export type FilterExpression_Updated_Condition_Lte = {
984
1061
  value: Date;
@@ -1498,6 +1575,13 @@ export type FilterExpression_TagDateMatch = {
1498
1575
  day: number;
1499
1576
  addDays: number;
1500
1577
  };
1578
+ export type FilterExpression_FeatureFlag_State = 'STATE_UNSPECIFIED' | 'STATE_ENABLED' | 'STATE_DISABLED' | 'STATE_IN_RULE';
1579
+ export type FilterExpression_FeatureFlag = {
1580
+ application: string;
1581
+ key: string;
1582
+ state: FilterExpression_FeatureFlag_State;
1583
+ ruleId: string;
1584
+ };
1501
1585
  export type FilterExpression_kind_operation = {
1502
1586
  type: 'operation';
1503
1587
  data: FilterExpression_Operation;
@@ -1546,7 +1630,11 @@ export type FilterExpression_kind_externalSegment = {
1546
1630
  type: 'externalSegment';
1547
1631
  data: FilterExpression_ExternalSegment;
1548
1632
  };
1549
- export type FilterExpression_kind = FilterExpression_kind_operation | FilterExpression_kind_application | FilterExpression_kind_tag | FilterExpression_kind_geo | FilterExpression_kind_static | FilterExpression_kind_event | FilterExpression_kind_updated | FilterExpression_kind_bestTimeToSend | FilterExpression_kind_tagDateMatch | FilterExpression_kind_segment | FilterExpression_kind_list | FilterExpression_kind_externalSegment;
1633
+ export type FilterExpression_kind_featureFlag = {
1634
+ type: 'featureFlag';
1635
+ data: FilterExpression_FeatureFlag;
1636
+ };
1637
+ export type FilterExpression_kind = FilterExpression_kind_operation | FilterExpression_kind_application | FilterExpression_kind_tag | FilterExpression_kind_geo | FilterExpression_kind_static | FilterExpression_kind_event | FilterExpression_kind_updated | FilterExpression_kind_bestTimeToSend | FilterExpression_kind_tagDateMatch | FilterExpression_kind_segment | FilterExpression_kind_list | FilterExpression_kind_externalSegment | FilterExpression_kind_featureFlag;
1550
1638
  export type FilterExpression = {
1551
1639
  kind: FilterExpression_kind;
1552
1640
  };