@pushwoosh/rpc-gateway-journey-data 0.26.387 → 0.26.389

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
@@ -564,6 +564,9 @@ export const data = {
564
564
  },
565
565
  "sendKakao": {
566
566
  "type": "pushwoosh.cj.journey.PointStatSendKakao"
567
+ },
568
+ "sendTelegram": {
569
+ "type": "pushwoosh.cj.journey.PointStatSendTelegram"
567
570
  }
568
571
  },
569
572
  "oneofs": {
@@ -582,7 +585,8 @@ export const data = {
582
585
  "booleanSplitter",
583
586
  "waitEvent",
584
587
  "sendLine",
585
- "sendKakao"
588
+ "sendKakao",
589
+ "sendTelegram"
586
590
  ]
587
591
  }
588
592
  }
@@ -702,6 +706,26 @@ export const data = {
702
706
  }
703
707
  }
704
708
  },
709
+ "pushwoosh.cj.journey.PointStatSendTelegram": {
710
+ "type": "I",
711
+ "fields": {
712
+ "sent": {
713
+ "type": "number"
714
+ },
715
+ "delivered": {
716
+ "type": "number"
717
+ },
718
+ "errors": {
719
+ "type": "number"
720
+ },
721
+ "recipients": {
722
+ "type": "number"
723
+ },
724
+ "voucherStats": {
725
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
726
+ }
727
+ }
728
+ },
705
729
  "pushwoosh.cj.journey.PointStatSendWhatsApp": {
706
730
  "type": "I",
707
731
  "fields": {
@@ -1941,7 +1965,8 @@ export const data = {
1941
1965
  "POINT_TYPE_SET_TAGS",
1942
1966
  "POINT_TYPE_WEBHOOK",
1943
1967
  "POINT_TYPE_START_BY_API",
1944
- "POINT_TYPE_SEND_KAKAO"
1968
+ "POINT_TYPE_SEND_KAKAO",
1969
+ "POINT_TYPE_SEND_TELEGRAM"
1945
1970
  ]
1946
1971
  },
1947
1972
  "pushwoosh.cj.journey.Point": {
@@ -2033,6 +2058,9 @@ export const data = {
2033
2058
  },
2034
2059
  "sendKakao": {
2035
2060
  "type": "pushwoosh.cj.journey.PointParamsSendKakao"
2061
+ },
2062
+ "sendTelegram": {
2063
+ "type": "pushwoosh.cj.journey.PointParamsSendTelegram"
2036
2064
  }
2037
2065
  },
2038
2066
  "oneofs": {
@@ -2057,7 +2085,8 @@ export const data = {
2057
2085
  "sendWhatsapp",
2058
2086
  "sendData",
2059
2087
  "sendLine",
2060
- "sendKakao"
2088
+ "sendKakao",
2089
+ "sendTelegram"
2061
2090
  ]
2062
2091
  }
2063
2092
  }
@@ -2452,6 +2481,41 @@ export const data = {
2452
2481
  },
2453
2482
  "oneofs": {}
2454
2483
  },
2484
+ "pushwoosh.cj.journey.PointParamsSendTelegram": {
2485
+ "type": "I",
2486
+ "fields": {
2487
+ "content": {
2488
+ "type": "string"
2489
+ },
2490
+ "applicationCode": {
2491
+ "type": "string"
2492
+ },
2493
+ "campaignCode": {
2494
+ "type": "string",
2495
+ "optional": true
2496
+ },
2497
+ "campaignUid": {
2498
+ "type": "number",
2499
+ "optional": true
2500
+ },
2501
+ "personalise": {
2502
+ "type": "pushwoosh.cj.journey.PersonalisedParams"
2503
+ },
2504
+ "vouchersParams": {
2505
+ "type": "pushwoosh.cj.journey.VoucherParams"
2506
+ },
2507
+ "sendByUserId": {
2508
+ "type": "boolean"
2509
+ },
2510
+ "capping": {
2511
+ "type": "pushwoosh.cj.journey.Capping"
2512
+ },
2513
+ "sendRate": {
2514
+ "type": "pushwoosh.cj.journey.SendRate"
2515
+ }
2516
+ },
2517
+ "oneofs": {}
2518
+ },
2455
2519
  "pushwoosh.cj.journey.WhatsAppPersonalisedParams": {
2456
2520
  "type": "I",
2457
2521
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.387",
3
+ "version": "0.26.389",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -196,7 +196,11 @@ export type PointStat_pointStat_sendKakao = {
196
196
  type: 'sendKakao';
197
197
  data: PointStatSendKakao;
198
198
  };
199
- export type PointStat_pointStat = PointStat_pointStat_sendPush | PointStat_pointStat_inApp | PointStat_pointStat_sendSms | PointStat_pointStat_sendWhatsapp | PointStat_pointStat_sendData | PointStat_pointStat_sendEmail | PointStat_pointStat_messageBus | PointStat_pointStat_goalEvent | PointStat_pointStat_terminator | PointStat_pointStat_delay | PointStat_pointStat_booleanSplitter | PointStat_pointStat_waitEvent | PointStat_pointStat_sendLine | PointStat_pointStat_sendKakao;
199
+ export type PointStat_pointStat_sendTelegram = {
200
+ type: 'sendTelegram';
201
+ data: PointStatSendTelegram;
202
+ };
203
+ export type PointStat_pointStat = PointStat_pointStat_sendPush | PointStat_pointStat_inApp | PointStat_pointStat_sendSms | PointStat_pointStat_sendWhatsapp | PointStat_pointStat_sendData | PointStat_pointStat_sendEmail | PointStat_pointStat_messageBus | PointStat_pointStat_goalEvent | PointStat_pointStat_terminator | PointStat_pointStat_delay | PointStat_pointStat_booleanSplitter | PointStat_pointStat_waitEvent | PointStat_pointStat_sendLine | PointStat_pointStat_sendKakao | PointStat_pointStat_sendTelegram;
200
204
  export type PointStat = {
201
205
  pointStat: PointStat_pointStat;
202
206
  };
@@ -240,6 +244,13 @@ export type PointStatSendKakao = {
240
244
  recipients: number;
241
245
  voucherStats: VoucherPoolStats;
242
246
  };
247
+ export type PointStatSendTelegram = {
248
+ sent: number;
249
+ delivered: number;
250
+ errors: number;
251
+ recipients: number;
252
+ voucherStats: VoucherPoolStats;
253
+ };
243
254
  export type PointStatSendWhatsApp = {
244
255
  sent: number;
245
256
  totalOpened: number;
@@ -691,7 +702,7 @@ export type User = {
691
702
  email: string;
692
703
  username: string;
693
704
  };
694
- 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';
705
+ 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' | 'POINT_TYPE_SEND_TELEGRAM';
695
706
  export type Point = {
696
707
  uuid: string;
697
708
  title: string;
@@ -781,7 +792,11 @@ export type PointDataWrapper_data_sendKakao = {
781
792
  type: 'sendKakao';
782
793
  data: PointParamsSendKakao;
783
794
  };
784
- 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;
795
+ export type PointDataWrapper_data_sendTelegram = {
796
+ type: 'sendTelegram';
797
+ data: PointParamsSendTelegram;
798
+ };
799
+ 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 | PointDataWrapper_data_sendTelegram;
785
800
  export type PointDataWrapper = {
786
801
  data: PointDataWrapper_data;
787
802
  };
@@ -907,6 +922,17 @@ export type PointParamsSendKakao = {
907
922
  capping: Capping;
908
923
  sendRate: SendRate;
909
924
  };
925
+ export type PointParamsSendTelegram = {
926
+ content: string;
927
+ applicationCode: string;
928
+ campaignCode?: string;
929
+ campaignUid?: number;
930
+ personalise: PersonalisedParams;
931
+ vouchersParams: VoucherParams;
932
+ sendByUserId: boolean;
933
+ capping: Capping;
934
+ sendRate: SendRate;
935
+ };
910
936
  export type WhatsAppPersonalisedParams = {
911
937
  enabled: boolean;
912
938
  placeholders: WhatsAppPlaceholder[];