@pushwoosh/rpc-gateway-journey-data 0.27.144 → 0.27.146

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
@@ -919,6 +919,9 @@ export const data = {
919
919
  },
920
920
  "webhook": {
921
921
  "type": "pushwoosh.cj.journey.PointStatWebhook"
922
+ },
923
+ "sendLiveActivity": {
924
+ "type": "pushwoosh.cj.journey.PointStatSendLiveActivity"
922
925
  }
923
926
  },
924
927
  "oneofs": {
@@ -945,7 +948,8 @@ export const data = {
945
948
  "issueWalletPass",
946
949
  "sendInbox",
947
950
  "sendFbMessenger",
948
- "webhook"
951
+ "webhook",
952
+ "sendLiveActivity"
949
953
  ]
950
954
  }
951
955
  }
@@ -1381,6 +1385,17 @@ export const data = {
1381
1385
  }
1382
1386
  }
1383
1387
  },
1388
+ "pushwoosh.cj.journey.PointStatSendLiveActivity": {
1389
+ "type": "I",
1390
+ "fields": {
1391
+ "sent": {
1392
+ "type": "number"
1393
+ },
1394
+ "skipped": {
1395
+ "type": "number"
1396
+ }
1397
+ }
1398
+ },
1384
1399
  "pushwoosh.cj.journey.PointStatWebhook": {
1385
1400
  "type": "I",
1386
1401
  "fields": {
@@ -2618,7 +2633,8 @@ export const data = {
2618
2633
  "POINT_TYPE_ISSUE_WALLET_PASS",
2619
2634
  "POINT_TYPE_SEND_INBOX",
2620
2635
  "POINT_TYPE_SEND_FB_MESSENGER",
2621
- "POINT_TYPE_HOLDOUT_SPLIT"
2636
+ "POINT_TYPE_HOLDOUT_SPLIT",
2637
+ "POINT_TYPE_SEND_LIVE_ACTIVITY"
2622
2638
  ]
2623
2639
  },
2624
2640
  "pushwoosh.cj.journey.Point": {
@@ -2737,6 +2753,9 @@ export const data = {
2737
2753
  },
2738
2754
  "holdoutSplit": {
2739
2755
  "type": "pushwoosh.cj.journey.PointParamsHoldoutSplit"
2756
+ },
2757
+ "sendLiveActivity": {
2758
+ "type": "pushwoosh.cj.journey.PointParamsSendLiveActivity"
2740
2759
  }
2741
2760
  },
2742
2761
  "oneofs": {
@@ -2769,11 +2788,102 @@ export const data = {
2769
2788
  "issueWalletPass",
2770
2789
  "sendInbox",
2771
2790
  "sendFbMessenger",
2772
- "holdoutSplit"
2791
+ "holdoutSplit",
2792
+ "sendLiveActivity"
2773
2793
  ]
2774
2794
  }
2775
2795
  }
2776
2796
  },
2797
+ "pushwoosh.cj.journey.LiveActivityEvent": {
2798
+ "type": "E",
2799
+ "values": [
2800
+ "LIVE_ACTIVITY_EVENT_UNSPECIFIED",
2801
+ "LIVE_ACTIVITY_EVENT_START",
2802
+ "LIVE_ACTIVITY_EVENT_UPDATE",
2803
+ "LIVE_ACTIVITY_EVENT_END"
2804
+ ]
2805
+ },
2806
+ "pushwoosh.cj.journey.LiveActivityContent": {
2807
+ "type": "I",
2808
+ "fields": {
2809
+ "title": {
2810
+ "type": "string"
2811
+ },
2812
+ "body": {
2813
+ "type": "string"
2814
+ },
2815
+ "sound": {
2816
+ "type": "string"
2817
+ },
2818
+ "contentState": {
2819
+ "type": "string",
2820
+ "mapKeyType": "string"
2821
+ },
2822
+ "attributes": {
2823
+ "type": "string",
2824
+ "mapKeyType": "string"
2825
+ }
2826
+ }
2827
+ },
2828
+ "pushwoosh.cj.journey.LiveActivityID": {
2829
+ "type": "I",
2830
+ "fields": {
2831
+ "startPointUuid": {
2832
+ "type": "string"
2833
+ },
2834
+ "key": {
2835
+ "type": "pushwoosh.cj.journey.Placeholder"
2836
+ }
2837
+ }
2838
+ },
2839
+ "pushwoosh.cj.journey.PointParamsSendLiveActivity": {
2840
+ "type": "I",
2841
+ "fields": {
2842
+ "applicationCode": {
2843
+ "type": "string"
2844
+ },
2845
+ "campaignCode": {
2846
+ "type": "string"
2847
+ },
2848
+ "campaignUid": {
2849
+ "type": "number"
2850
+ },
2851
+ "event": {
2852
+ "type": "pushwoosh.cj.journey.LiveActivityEvent"
2853
+ },
2854
+ "attributesType": {
2855
+ "type": "string"
2856
+ },
2857
+ "schemaVersion": {
2858
+ "type": "number"
2859
+ },
2860
+ "activityId": {
2861
+ "type": "pushwoosh.cj.journey.LiveActivityID"
2862
+ },
2863
+ "content": {
2864
+ "type": "pushwoosh.cj.journey.LiveActivityContent",
2865
+ "mapKeyType": "string"
2866
+ },
2867
+ "apnsPriority": {
2868
+ "type": "number"
2869
+ },
2870
+ "staleAfter": {
2871
+ "type": "number"
2872
+ },
2873
+ "dismissAfter": {
2874
+ "type": "number"
2875
+ },
2876
+ "relevanceScore": {
2877
+ "type": "number"
2878
+ },
2879
+ "sendByUserId": {
2880
+ "type": "boolean"
2881
+ },
2882
+ "sendRate": {
2883
+ "type": "pushwoosh.cj.journey.SendRate"
2884
+ }
2885
+ }
2886
+ },
2777
2887
  "pushwoosh.cj.journey.PointParamsHoldoutSplit": {
2778
2888
  "type": "I",
2779
2889
  "fields": {
@@ -6790,6 +6900,9 @@ export const data = {
6790
6900
  },
6791
6901
  "replyTo": {
6792
6902
  "type": "pushwoosh.cj.journey.ReplyTo"
6903
+ },
6904
+ "approval": {
6905
+ "type": "pushwoosh.cj.journey.PresetContentApproval"
6793
6906
  }
6794
6907
  }
6795
6908
  },
@@ -7218,6 +7331,23 @@ export const data = {
7218
7331
  },
7219
7332
  "variables": {
7220
7333
  "type": "pushwoosh.cj.journey.PushPresetVariables"
7334
+ },
7335
+ "approval": {
7336
+ "type": "pushwoosh.cj.journey.PresetContentApproval"
7337
+ }
7338
+ }
7339
+ },
7340
+ "pushwoosh.cj.journey.PresetContentApproval": {
7341
+ "type": "I",
7342
+ "fields": {
7343
+ "state": {
7344
+ "type": "string"
7345
+ },
7346
+ "versionNo": {
7347
+ "type": "number"
7348
+ },
7349
+ "sendable": {
7350
+ "type": "boolean"
7221
7351
  }
7222
7352
  }
7223
7353
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.27.144",
3
+ "version": "0.27.146",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -302,7 +302,11 @@ export type PointStat_pointStat_webhook = {
302
302
  type: 'webhook';
303
303
  data: PointStatWebhook;
304
304
  };
305
- 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 | PointStat_pointStat_audienceSync | PointStat_pointStat_sendViber | PointStat_pointStat_smartContent | PointStat_pointStat_issueWalletPass | PointStat_pointStat_sendInbox | PointStat_pointStat_sendFbMessenger | PointStat_pointStat_webhook;
305
+ export type PointStat_pointStat_sendLiveActivity = {
306
+ type: 'sendLiveActivity';
307
+ data: PointStatSendLiveActivity;
308
+ };
309
+ 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 | PointStat_pointStat_audienceSync | PointStat_pointStat_sendViber | PointStat_pointStat_smartContent | PointStat_pointStat_issueWalletPass | PointStat_pointStat_sendInbox | PointStat_pointStat_sendFbMessenger | PointStat_pointStat_webhook | PointStat_pointStat_sendLiveActivity;
306
310
  export type PointStat = {
307
311
  pointStat: PointStat_pointStat;
308
312
  };
@@ -453,6 +457,10 @@ export type PointStatIssueWalletPass = {
453
457
  issued: number;
454
458
  skipped: number;
455
459
  };
460
+ export type PointStatSendLiveActivity = {
461
+ sent: number;
462
+ skipped: number;
463
+ };
456
464
  export type PointStatWebhook = {
457
465
  skipped: number;
458
466
  };
@@ -896,7 +904,7 @@ export type User = {
896
904
  email: string;
897
905
  username: string;
898
906
  };
899
- 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' | 'POINT_TYPE_AUDIENCE_SYNC' | 'POINT_TYPE_SEND_VIBER' | 'POINT_TYPE_SMART_CONTENT' | 'POINT_TYPE_ISSUE_WALLET_PASS' | 'POINT_TYPE_SEND_INBOX' | 'POINT_TYPE_SEND_FB_MESSENGER' | 'POINT_TYPE_HOLDOUT_SPLIT';
907
+ 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' | 'POINT_TYPE_AUDIENCE_SYNC' | 'POINT_TYPE_SEND_VIBER' | 'POINT_TYPE_SMART_CONTENT' | 'POINT_TYPE_ISSUE_WALLET_PASS' | 'POINT_TYPE_SEND_INBOX' | 'POINT_TYPE_SEND_FB_MESSENGER' | 'POINT_TYPE_HOLDOUT_SPLIT' | 'POINT_TYPE_SEND_LIVE_ACTIVITY';
900
908
  export type Point = {
901
909
  uuid: string;
902
910
  title: string;
@@ -1019,10 +1027,42 @@ export type PointDataWrapper_data_holdoutSplit = {
1019
1027
  type: 'holdoutSplit';
1020
1028
  data: PointParamsHoldoutSplit;
1021
1029
  };
1022
- 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 | PointDataWrapper_data_audienceSync | PointDataWrapper_data_sendViber | PointDataWrapper_data_smartContent | PointDataWrapper_data_issueWalletPass | PointDataWrapper_data_sendInbox | PointDataWrapper_data_sendFbMessenger | PointDataWrapper_data_holdoutSplit;
1030
+ export type PointDataWrapper_data_sendLiveActivity = {
1031
+ type: 'sendLiveActivity';
1032
+ data: PointParamsSendLiveActivity;
1033
+ };
1034
+ 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 | PointDataWrapper_data_audienceSync | PointDataWrapper_data_sendViber | PointDataWrapper_data_smartContent | PointDataWrapper_data_issueWalletPass | PointDataWrapper_data_sendInbox | PointDataWrapper_data_sendFbMessenger | PointDataWrapper_data_holdoutSplit | PointDataWrapper_data_sendLiveActivity;
1023
1035
  export type PointDataWrapper = {
1024
1036
  data: PointDataWrapper_data;
1025
1037
  };
1038
+ export type LiveActivityEvent = 'LIVE_ACTIVITY_EVENT_UNSPECIFIED' | 'LIVE_ACTIVITY_EVENT_START' | 'LIVE_ACTIVITY_EVENT_UPDATE' | 'LIVE_ACTIVITY_EVENT_END';
1039
+ export type LiveActivityContent = {
1040
+ title: string;
1041
+ body: string;
1042
+ sound: string;
1043
+ contentState: Record<string, string>;
1044
+ attributes: Record<string, string>;
1045
+ };
1046
+ export type LiveActivityID = {
1047
+ startPointUuid: string;
1048
+ key: Placeholder;
1049
+ };
1050
+ export type PointParamsSendLiveActivity = {
1051
+ applicationCode: string;
1052
+ campaignCode: string;
1053
+ campaignUid: number;
1054
+ event: LiveActivityEvent;
1055
+ attributesType: string;
1056
+ schemaVersion: number;
1057
+ activityId: LiveActivityID;
1058
+ content: Record<string, LiveActivityContent>;
1059
+ apnsPriority: number;
1060
+ staleAfter: number;
1061
+ dismissAfter: number;
1062
+ relevanceScore: number;
1063
+ sendByUserId: boolean;
1064
+ sendRate: SendRate;
1065
+ };
1026
1066
  export type PointParamsHoldoutSplit = {
1027
1067
  percentage: number;
1028
1068
  generation: number;
@@ -2416,6 +2456,7 @@ export type EmailPresetByAppCodeItem = {
2416
2456
  campaign: string;
2417
2457
  name: string;
2418
2458
  replyTo: ReplyTo;
2459
+ approval: PresetContentApproval;
2419
2460
  };
2420
2461
  export type SendFrom = {
2421
2462
  name: string;
@@ -2564,6 +2605,12 @@ export type PushPresetByAppCodeItem = {
2564
2605
  title: string;
2565
2606
  url: string;
2566
2607
  variables: PushPresetVariables;
2608
+ approval: PresetContentApproval;
2609
+ };
2610
+ export type PresetContentApproval = {
2611
+ state: string;
2612
+ versionNo: number;
2613
+ sendable: boolean;
2567
2614
  };
2568
2615
  export type PushPresetVariables = {
2569
2616
  title: string[];