@pushwoosh/rpc-gateway-journey-data 0.26.385 → 0.26.386

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
@@ -613,6 +613,9 @@ export const data = {
613
613
  },
614
614
  "recipients": {
615
615
  "type": "number"
616
+ },
617
+ "voucherStats": {
618
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
616
619
  }
617
620
  }
618
621
  },
@@ -653,6 +656,9 @@ export const data = {
653
656
  },
654
657
  "recipients": {
655
658
  "type": "number"
659
+ },
660
+ "voucherStats": {
661
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
656
662
  }
657
663
  }
658
664
  },
@@ -670,6 +676,9 @@ export const data = {
670
676
  },
671
677
  "recipients": {
672
678
  "type": "number"
679
+ },
680
+ "voucherStats": {
681
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
673
682
  }
674
683
  }
675
684
  },
@@ -687,6 +696,9 @@ export const data = {
687
696
  },
688
697
  "recipients": {
689
698
  "type": "number"
699
+ },
700
+ "voucherStats": {
701
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
690
702
  }
691
703
  }
692
704
  },
@@ -707,6 +719,9 @@ export const data = {
707
719
  },
708
720
  "recipients": {
709
721
  "type": "number"
722
+ },
723
+ "voucherStats": {
724
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
710
725
  }
711
726
  }
712
727
  },
@@ -721,6 +736,9 @@ export const data = {
721
736
  },
722
737
  "skipped": {
723
738
  "type": "number"
739
+ },
740
+ "voucherStats": {
741
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
724
742
  }
725
743
  }
726
744
  },
@@ -756,6 +774,9 @@ export const data = {
756
774
  },
757
775
  "recipients": {
758
776
  "type": "number"
777
+ },
778
+ "voucherStats": {
779
+ "type": "pushwoosh.cj.journey.VoucherPoolStats"
759
780
  }
760
781
  }
761
782
  },
@@ -783,6 +804,17 @@ export const data = {
783
804
  "type": "I",
784
805
  "fields": {}
785
806
  },
807
+ "pushwoosh.cj.journey.VoucherPoolStats": {
808
+ "type": "I",
809
+ "fields": {
810
+ "total": {
811
+ "type": "number"
812
+ },
813
+ "free": {
814
+ "type": "number"
815
+ }
816
+ }
817
+ },
786
818
  "pushwoosh.cj.journey.GetJourneyStatsRequest": {
787
819
  "type": "I",
788
820
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-journey-data",
3
- "version": "0.26.385",
3
+ "version": "0.26.386",
4
4
  "description": "CJ api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -209,6 +209,7 @@ export type PointStatSendPush = {
209
209
  errors: number;
210
210
  unshowableSends: number;
211
211
  recipients: number;
212
+ voucherStats: VoucherPoolStats;
212
213
  };
213
214
  export type PointStatInApp = {
214
215
  shows: number;
@@ -223,18 +224,21 @@ export type PointStatSendSms = {
223
224
  skipped: number;
224
225
  errors: number;
225
226
  recipients: number;
227
+ voucherStats: VoucherPoolStats;
226
228
  };
227
229
  export type PointStatSendLine = {
228
230
  sent: number;
229
231
  delivered: number;
230
232
  errors: number;
231
233
  recipients: number;
234
+ voucherStats: VoucherPoolStats;
232
235
  };
233
236
  export type PointStatSendKakao = {
234
237
  sent: number;
235
238
  delivered: number;
236
239
  errors: number;
237
240
  recipients: number;
241
+ voucherStats: VoucherPoolStats;
238
242
  };
239
243
  export type PointStatSendWhatsApp = {
240
244
  sent: number;
@@ -242,11 +246,13 @@ export type PointStatSendWhatsApp = {
242
246
  skipped: number;
243
247
  errors: number;
244
248
  recipients: number;
249
+ voucherStats: VoucherPoolStats;
245
250
  };
246
251
  export type PointStatSendData = {
247
252
  sent: number;
248
253
  delivered: number;
249
254
  skipped: number;
255
+ voucherStats: VoucherPoolStats;
250
256
  };
251
257
  export type PointStatSendEmail = {
252
258
  sent: number;
@@ -259,6 +265,7 @@ export type PointStatSendEmail = {
259
265
  skipped: number;
260
266
  errors: number;
261
267
  recipients: number;
268
+ voucherStats: VoucherPoolStats;
262
269
  };
263
270
  export type PointStatMessageBus = {};
264
271
  export type PointStatGoalEvent = {};
@@ -266,6 +273,10 @@ export type PointStatTerminator = {};
266
273
  export type PointStatDelay = {};
267
274
  export type PointStatBooleanSplitter = {};
268
275
  export type PointStatWaitEvent = {};
276
+ export type VoucherPoolStats = {
277
+ total: number;
278
+ free: number;
279
+ };
269
280
  export type GetJourneyStatsRequest = {
270
281
  journeyIds?: string[];
271
282
  };