@pushwoosh/rpc-gateway-journey-data 0.26.378 → 0.26.379

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/commonTypes.js CHANGED
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
package/data.js CHANGED
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export const data = {
4
3
  "pushwoosh.cj.journey.Journey": {
5
4
  "type": "S",
@@ -811,7 +810,7 @@ export const data = {
811
810
  "type": "number"
812
811
  },
813
812
  "avrCTR": {
814
- "type": "number"
813
+ "type": "google.protobuf.DoubleValue"
815
814
  }
816
815
  }
817
816
  },
@@ -1888,7 +1887,8 @@ export const data = {
1888
1887
  "POINT_TYPE_AB_SPLITTER",
1889
1888
  "POINT_TYPE_SET_TAGS",
1890
1889
  "POINT_TYPE_WEBHOOK",
1891
- "POINT_TYPE_START_BY_API"
1890
+ "POINT_TYPE_START_BY_API",
1891
+ "POINT_TYPE_SEND_KAKAO"
1892
1892
  ]
1893
1893
  },
1894
1894
  "pushwoosh.cj.journey.Point": {
@@ -1977,6 +1977,9 @@ export const data = {
1977
1977
  },
1978
1978
  "sendLine": {
1979
1979
  "type": "pushwoosh.cj.journey.PointParamsSendLine"
1980
+ },
1981
+ "sendKakao": {
1982
+ "type": "pushwoosh.cj.journey.PointParamsSendKakao"
1980
1983
  }
1981
1984
  },
1982
1985
  "oneofs": {
@@ -2000,7 +2003,8 @@ export const data = {
2000
2003
  "startByApi",
2001
2004
  "sendWhatsapp",
2002
2005
  "sendData",
2003
- "sendLine"
2006
+ "sendLine",
2007
+ "sendKakao"
2004
2008
  ]
2005
2009
  }
2006
2010
  }
@@ -2360,6 +2364,41 @@ export const data = {
2360
2364
  },
2361
2365
  "oneofs": {}
2362
2366
  },
2367
+ "pushwoosh.cj.journey.PointParamsSendKakao": {
2368
+ "type": "I",
2369
+ "fields": {
2370
+ "presetCode": {
2371
+ "type": "string"
2372
+ },
2373
+ "applicationCode": {
2374
+ "type": "string"
2375
+ },
2376
+ "campaignCode": {
2377
+ "type": "string",
2378
+ "optional": true
2379
+ },
2380
+ "campaignUid": {
2381
+ "type": "number",
2382
+ "optional": true
2383
+ },
2384
+ "personalise": {
2385
+ "type": "pushwoosh.cj.journey.PersonalisedParams"
2386
+ },
2387
+ "vouchersParams": {
2388
+ "type": "pushwoosh.cj.journey.VoucherParams"
2389
+ },
2390
+ "sendByUserId": {
2391
+ "type": "boolean"
2392
+ },
2393
+ "capping": {
2394
+ "type": "pushwoosh.cj.journey.Capping"
2395
+ },
2396
+ "sendRate": {
2397
+ "type": "pushwoosh.cj.journey.SendRate"
2398
+ }
2399
+ },
2400
+ "oneofs": {}
2401
+ },
2363
2402
  "pushwoosh.cj.journey.WhatsAppPersonalisedParams": {
2364
2403
  "type": "I",
2365
2404
  "fields": {
@@ -5399,7 +5438,11 @@ export const data = {
5399
5438
  "values": [
5400
5439
  "INVALID",
5401
5440
  "ASC",
5402
- "DESC"
5441
+ "DESC",
5442
+ "ASC_NULLS_LAST",
5443
+ "DESC_NULLS_LAST",
5444
+ "ASC_NULLS_FIRST",
5445
+ "DESC_NULLS_FIRST"
5403
5446
  ]
5404
5447
  },
5405
5448
  "pushwoosh.objects.filters.v1.SortExpression": {
@@ -6332,6 +6375,25 @@ export const data = {
6332
6375
  }
6333
6376
  }
6334
6377
  },
6378
+ "pushwoosh.objects.filters.v1.FilterExpression.List": {
6379
+ "type": "I",
6380
+ "fields": {
6381
+ "application": {
6382
+ "type": "string"
6383
+ },
6384
+ "kind": {
6385
+ "type": "string"
6386
+ },
6387
+ "users": {
6388
+ "type": "string",
6389
+ "array": true
6390
+ },
6391
+ "devices": {
6392
+ "type": "string",
6393
+ "array": true
6394
+ }
6395
+ }
6396
+ },
6335
6397
  "pushwoosh.objects.filters.v1.FilterExpression.Static": {
6336
6398
  "type": "I",
6337
6399
  "fields": {
@@ -8179,6 +8241,9 @@ export const data = {
8179
8241
  },
8180
8242
  "segment": {
8181
8243
  "type": "pushwoosh.objects.filters.v1.FilterExpression.Segment"
8244
+ },
8245
+ "list": {
8246
+ "type": "pushwoosh.objects.filters.v1.FilterExpression.List"
8182
8247
  }
8183
8248
  },
8184
8249
  "oneofs": {
@@ -8193,7 +8258,8 @@ export const data = {
8193
8258
  "updated",
8194
8259
  "bestTimeToSend",
8195
8260
  "tagDateMatch",
8196
- "segment"
8261
+ "segment",
8262
+ "list"
8197
8263
  ]
8198
8264
  }
8199
8265
  }
package/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export { data } from './data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.378",
3
+ "version": "0.26.379",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1,3 +1,4 @@
1
+ import { DoubleValue as google_protobuf_DoubleValue } from './google_protobuf';
1
2
  import { FilterExpression as pushwoosh_objects_filters_v1_FilterExpression } from './pushwoosh_objects_filters_v1';
2
3
  export interface Journey {
3
4
  GetJourneysList(request: GetJourneysListRequest): Promise<GetJourneysListResponse>;
@@ -271,7 +272,7 @@ export type JourneyStatsPayloadGet = {
271
272
  export type JourneySummaryStats = {
272
273
  in: number;
273
274
  goals: number;
274
- avrCTR: number;
275
+ avrCTR: google_protobuf_DoubleValue;
275
276
  };
276
277
  export type RenameRequest = {
277
278
  uuid?: string;
@@ -669,7 +670,7 @@ export type User = {
669
670
  email: string;
670
671
  username: string;
671
672
  };
672
- export type PointType = 'POINT_TYPE_UNKNOWN' | 'POINT_TYPE_WAIT' | 'POINT_TYPE_EVENT' | 'POINT_TYPE_EXIT' | 'POINT_TYPE_SEND_PUSH' | 'POINT_TYPE_GOAL_EVENT' | 'POINT_TYPE_SEND_EMAIL' | 'POINT_TYPE_SEND_SMS' | 'POINT_TYPE_SEND_WHATSAPP' | 'POINT_TYPE_SEND_LINE' | 'POINT_TYPE_SEND_DATA' | 'POINT_TYPE_BOOLEAN_SPLITTER' | 'POINT_TYPE_FILTER' | 'POINT_TYPE_WAIT_EVENT' | 'POINT_TYPE_INAPP' | 'POINT_TYPE_START_BY_SEGMENT' | 'POINT_TYPE_AB_SPLITTER' | 'POINT_TYPE_SET_TAGS' | 'POINT_TYPE_WEBHOOK' | 'POINT_TYPE_START_BY_API';
673
+ export type PointType = 'POINT_TYPE_UNKNOWN' | 'POINT_TYPE_WAIT' | 'POINT_TYPE_EVENT' | 'POINT_TYPE_EXIT' | 'POINT_TYPE_SEND_PUSH' | 'POINT_TYPE_GOAL_EVENT' | 'POINT_TYPE_SEND_EMAIL' | 'POINT_TYPE_SEND_SMS' | 'POINT_TYPE_SEND_WHATSAPP' | 'POINT_TYPE_SEND_LINE' | 'POINT_TYPE_SEND_DATA' | 'POINT_TYPE_BOOLEAN_SPLITTER' | 'POINT_TYPE_FILTER' | 'POINT_TYPE_WAIT_EVENT' | 'POINT_TYPE_INAPP' | 'POINT_TYPE_START_BY_SEGMENT' | 'POINT_TYPE_AB_SPLITTER' | 'POINT_TYPE_SET_TAGS' | 'POINT_TYPE_WEBHOOK' | 'POINT_TYPE_START_BY_API' | 'POINT_TYPE_SEND_KAKAO';
673
674
  export type Point = {
674
675
  uuid: string;
675
676
  title: string;
@@ -755,7 +756,11 @@ export type PointDataWrapper_data_sendLine = {
755
756
  type: 'sendLine';
756
757
  data: PointParamsSendLine;
757
758
  };
758
- export type PointDataWrapper_data = PointDataWrapper_data_messageBus | PointDataWrapper_data_delay | PointDataWrapper_data_terminator | PointDataWrapper_data_sendPush | PointDataWrapper_data_goalEvent | PointDataWrapper_data_sendEmail | PointDataWrapper_data_booleanSplitter | PointDataWrapper_data_waitEvent | PointDataWrapper_data_inapp | PointDataWrapper_data_startBySegment | PointDataWrapper_data_abSplitter | PointDataWrapper_data_setTags | PointDataWrapper_data_webHook | PointDataWrapper_data_filter | PointDataWrapper_data_sendSms | PointDataWrapper_data_startByApi | PointDataWrapper_data_sendWhatsapp | PointDataWrapper_data_sendData | PointDataWrapper_data_sendLine;
759
+ export type PointDataWrapper_data_sendKakao = {
760
+ type: 'sendKakao';
761
+ data: PointParamsSendKakao;
762
+ };
763
+ export type PointDataWrapper_data = PointDataWrapper_data_messageBus | PointDataWrapper_data_delay | PointDataWrapper_data_terminator | PointDataWrapper_data_sendPush | PointDataWrapper_data_goalEvent | PointDataWrapper_data_sendEmail | PointDataWrapper_data_booleanSplitter | PointDataWrapper_data_waitEvent | PointDataWrapper_data_inapp | PointDataWrapper_data_startBySegment | PointDataWrapper_data_abSplitter | PointDataWrapper_data_setTags | PointDataWrapper_data_webHook | PointDataWrapper_data_filter | PointDataWrapper_data_sendSms | PointDataWrapper_data_startByApi | PointDataWrapper_data_sendWhatsapp | PointDataWrapper_data_sendData | PointDataWrapper_data_sendLine | PointDataWrapper_data_sendKakao;
759
764
  export type PointDataWrapper = {
760
765
  data: PointDataWrapper_data;
761
766
  };
@@ -870,6 +875,17 @@ export type PointParamsSendLine = {
870
875
  capping: Capping;
871
876
  vouchersParams: VoucherParams;
872
877
  };
878
+ export type PointParamsSendKakao = {
879
+ presetCode: string;
880
+ applicationCode: string;
881
+ campaignCode?: string;
882
+ campaignUid?: number;
883
+ personalise: PersonalisedParams;
884
+ vouchersParams: VoucherParams;
885
+ sendByUserId: boolean;
886
+ capping: Capping;
887
+ sendRate: SendRate;
888
+ };
873
889
  export type WhatsAppPersonalisedParams = {
874
890
  enabled: boolean;
875
891
  placeholders: WhatsAppPlaceholder[];
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};
@@ -201,7 +201,7 @@ export type Sort = {
201
201
  field: string;
202
202
  order: SortOrder;
203
203
  };
204
- export type SortOrder = 'INVALID' | 'ASC' | 'DESC';
204
+ export type SortOrder = 'INVALID' | 'ASC' | 'DESC' | 'ASC_NULLS_LAST' | 'DESC_NULLS_LAST' | 'ASC_NULLS_FIRST' | 'DESC_NULLS_FIRST';
205
205
  export type SortExpression = {
206
206
  sorts: Sort[];
207
207
  };
@@ -499,6 +499,12 @@ export type FilterExpression_Segment = {
499
499
  application: string;
500
500
  segment: string;
501
501
  };
502
+ export type FilterExpression_List = {
503
+ application: string;
504
+ kind: string;
505
+ users: string[];
506
+ devices: string[];
507
+ };
502
508
  export type FilterExpression_Static = {
503
509
  application: string;
504
510
  segment: string;
@@ -1488,7 +1494,11 @@ export type FilterExpression_kind_segment = {
1488
1494
  type: 'segment';
1489
1495
  data: FilterExpression_Segment;
1490
1496
  };
1491
- 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;
1497
+ export type FilterExpression_kind_list = {
1498
+ type: 'list';
1499
+ data: FilterExpression_List;
1500
+ };
1501
+ 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;
1492
1502
  export type FilterExpression = {
1493
1503
  kind: FilterExpression_kind;
1494
1504
  };
@@ -1,3 +1,2 @@
1
1
  /* eslint-disable */
2
- /* Autogenerated code */
3
2
  export {};