@pushwoosh/rpc-gateway-journey-data 0.27.13 → 0.27.14
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 +75 -1
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +27 -1
package/data.js
CHANGED
|
@@ -646,6 +646,9 @@ export const data = {
|
|
|
646
646
|
},
|
|
647
647
|
"sendViber": {
|
|
648
648
|
"type": "pushwoosh.cj.journey.PointStatSendViber"
|
|
649
|
+
},
|
|
650
|
+
"smartContent": {
|
|
651
|
+
"type": "pushwoosh.cj.journey.PointStatSmartContent"
|
|
649
652
|
}
|
|
650
653
|
},
|
|
651
654
|
"oneofs": {
|
|
@@ -667,11 +670,82 @@ export const data = {
|
|
|
667
670
|
"sendKakao",
|
|
668
671
|
"sendTelegram",
|
|
669
672
|
"audienceSync",
|
|
670
|
-
"sendViber"
|
|
673
|
+
"sendViber",
|
|
674
|
+
"smartContent"
|
|
671
675
|
]
|
|
672
676
|
}
|
|
673
677
|
}
|
|
674
678
|
},
|
|
679
|
+
"pushwoosh.cj.journey.SmartContentWinnerVerdict": {
|
|
680
|
+
"type": "E",
|
|
681
|
+
"values": [
|
|
682
|
+
"SMART_CONTENT_WINNER_VERDICT_INSUFFICIENT_DATA",
|
|
683
|
+
"SMART_CONTENT_WINNER_VERDICT_STILL_LEARNING",
|
|
684
|
+
"SMART_CONTENT_WINNER_VERDICT_SIGNIFICANT_WINNER"
|
|
685
|
+
]
|
|
686
|
+
},
|
|
687
|
+
"pushwoosh.cj.journey.SmartContentArmStat": {
|
|
688
|
+
"type": "I",
|
|
689
|
+
"fields": {
|
|
690
|
+
"presetCode": {
|
|
691
|
+
"type": "string"
|
|
692
|
+
},
|
|
693
|
+
"sent": {
|
|
694
|
+
"type": "number"
|
|
695
|
+
},
|
|
696
|
+
"rewarded": {
|
|
697
|
+
"type": "number"
|
|
698
|
+
},
|
|
699
|
+
"rewardRate": {
|
|
700
|
+
"type": "number"
|
|
701
|
+
},
|
|
702
|
+
"score": {
|
|
703
|
+
"type": "number"
|
|
704
|
+
},
|
|
705
|
+
"scoreSe": {
|
|
706
|
+
"type": "number"
|
|
707
|
+
},
|
|
708
|
+
"probability": {
|
|
709
|
+
"type": "number"
|
|
710
|
+
},
|
|
711
|
+
"ess": {
|
|
712
|
+
"type": "number"
|
|
713
|
+
},
|
|
714
|
+
"isWinner": {
|
|
715
|
+
"type": "boolean"
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
},
|
|
719
|
+
"pushwoosh.cj.journey.PointStatSmartContent": {
|
|
720
|
+
"type": "I",
|
|
721
|
+
"fields": {
|
|
722
|
+
"sent": {
|
|
723
|
+
"type": "number"
|
|
724
|
+
},
|
|
725
|
+
"delivered": {
|
|
726
|
+
"type": "number"
|
|
727
|
+
},
|
|
728
|
+
"opened": {
|
|
729
|
+
"type": "number"
|
|
730
|
+
},
|
|
731
|
+
"conversion": {
|
|
732
|
+
"type": "number"
|
|
733
|
+
},
|
|
734
|
+
"errors": {
|
|
735
|
+
"type": "number"
|
|
736
|
+
},
|
|
737
|
+
"recipients": {
|
|
738
|
+
"type": "number"
|
|
739
|
+
},
|
|
740
|
+
"verdict": {
|
|
741
|
+
"type": "pushwoosh.cj.journey.SmartContentWinnerVerdict"
|
|
742
|
+
},
|
|
743
|
+
"arms": {
|
|
744
|
+
"type": "pushwoosh.cj.journey.SmartContentArmStat",
|
|
745
|
+
"array": true
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
},
|
|
675
749
|
"pushwoosh.cj.journey.PointStatSendPush": {
|
|
676
750
|
"type": "I",
|
|
677
751
|
"fields": {
|
package/package.json
CHANGED
|
@@ -219,10 +219,36 @@ export type PointStat_pointStat_sendViber = {
|
|
|
219
219
|
type: 'sendViber';
|
|
220
220
|
data: PointStatSendViber;
|
|
221
221
|
};
|
|
222
|
-
export type
|
|
222
|
+
export type PointStat_pointStat_smartContent = {
|
|
223
|
+
type: 'smartContent';
|
|
224
|
+
data: PointStatSmartContent;
|
|
225
|
+
};
|
|
226
|
+
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;
|
|
223
227
|
export type PointStat = {
|
|
224
228
|
pointStat: PointStat_pointStat;
|
|
225
229
|
};
|
|
230
|
+
export type SmartContentWinnerVerdict = 'SMART_CONTENT_WINNER_VERDICT_INSUFFICIENT_DATA' | 'SMART_CONTENT_WINNER_VERDICT_STILL_LEARNING' | 'SMART_CONTENT_WINNER_VERDICT_SIGNIFICANT_WINNER';
|
|
231
|
+
export type SmartContentArmStat = {
|
|
232
|
+
presetCode: string;
|
|
233
|
+
sent: number;
|
|
234
|
+
rewarded: number;
|
|
235
|
+
rewardRate: number;
|
|
236
|
+
score: number;
|
|
237
|
+
scoreSe: number;
|
|
238
|
+
probability: number;
|
|
239
|
+
ess: number;
|
|
240
|
+
isWinner: boolean;
|
|
241
|
+
};
|
|
242
|
+
export type PointStatSmartContent = {
|
|
243
|
+
sent: number;
|
|
244
|
+
delivered: number;
|
|
245
|
+
opened: number;
|
|
246
|
+
conversion: number;
|
|
247
|
+
errors: number;
|
|
248
|
+
recipients: number;
|
|
249
|
+
verdict: SmartContentWinnerVerdict;
|
|
250
|
+
arms: SmartContentArmStat[];
|
|
251
|
+
};
|
|
226
252
|
export type PointStatSendPush = {
|
|
227
253
|
sent: number;
|
|
228
254
|
opened: number;
|