@pushwoosh/rpc-gateway-statistics-api 1.3.739 → 1.3.741

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
@@ -4195,6 +4195,9 @@ export const data = {
4195
4195
  },
4196
4196
  "confirmedDeliveries": {
4197
4197
  "type": "pushwoosh.statistics.statistics.v2.statistics.GetMessageDeliveryFunnelResponse.ConfirmedDeliveries"
4198
+ },
4199
+ "emailBounces": {
4200
+ "type": "pushwoosh.statistics.statistics.v2.statistics.GetMessageDeliveryFunnelResponse.EmailBounces"
4198
4201
  }
4199
4202
  }
4200
4203
  },
@@ -4277,6 +4280,20 @@ export const data = {
4277
4280
  }
4278
4281
  }
4279
4282
  },
4283
+ "pushwoosh.statistics.statistics.v2.statistics.GetMessageDeliveryFunnelResponse.EmailBounces": {
4284
+ "type": "I",
4285
+ "fields": {
4286
+ "hard": {
4287
+ "type": "number"
4288
+ },
4289
+ "soft": {
4290
+ "type": "number"
4291
+ },
4292
+ "alsoConfirmed": {
4293
+ "type": "number"
4294
+ }
4295
+ }
4296
+ },
4280
4297
  "pushwoosh.statistics.statistics.v2.statistics.GetMessageDeliveryFunnelResponse": {
4281
4298
  "type": "I",
4282
4299
  "fields": {
@@ -4295,6 +4312,18 @@ export const data = {
4295
4312
  }
4296
4313
  }
4297
4314
  },
4315
+ "pushwoosh.statistics.statistics.v2.statistics.GetCampaignDeliveryFunnelRequest": {
4316
+ "type": "I",
4317
+ "fields": {
4318
+ "campaignCode": {
4319
+ "type": "string"
4320
+ },
4321
+ "platforms": {
4322
+ "type": "number",
4323
+ "array": true
4324
+ }
4325
+ }
4326
+ },
4298
4327
  "pushwoosh.statistics.statistics.v2.statistics.GetMessageDeliveryTimelineRequest": {
4299
4328
  "type": "I",
4300
4329
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.739",
3
+ "version": "1.3.741",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -656,6 +656,8 @@ export type GetMessageDeliveryFunnelResponse_ChannelFunnel = {
656
656
  deliveriesForm: GetMessageDeliveryFunnelResponse_DeliveriesForm;
657
657
  basicFormReason: GetMessageDeliveryFunnelResponse_BasicFormReason;
658
658
  confirmedDeliveries: GetMessageDeliveryFunnelResponse_ConfirmedDeliveries;
659
+ /** Email only, absent when not measured. Never a stage row — see EmailBounces. */
660
+ emailBounces: GetMessageDeliveryFunnelResponse_EmailBounces;
659
661
  };
660
662
  /**
661
663
  * PlatformCount is one platform's share of the number above it; the parent is always
@@ -704,6 +706,21 @@ export type GetMessageDeliveryFunnelResponse_ConfirmedDeliveries = {
704
706
  count: number;
705
707
  platforms: GetMessageDeliveryFunnelResponse_PlatformCount[];
706
708
  };
709
+ /**
710
+ * EmailBounces is what the mail provider refused, in recipient addresses. It sits beside
711
+ * the stages and belongs to none of them, on purpose and never clamped.
712
+ */
713
+ export type GetMessageDeliveryFunnelResponse_EmailBounces = {
714
+ /** at least one permanent refusal */
715
+ hard: number;
716
+ /** refused, never permanently */
717
+ soft: number;
718
+ /**
719
+ * Of hard+soft, how many also confirmed delivery, in any order, and so are counted
720
+ * inside CONFIRMED_BY_DEVICE too: the rest, hard + soft - also_confirmed, is not.
721
+ */
722
+ alsoConfirmed: number;
723
+ };
707
724
  export type GetMessageDeliveryFunnelResponse = {
708
725
  /**
709
726
  * Channels are not ordered; a client looks one up by its channel field, not by
@@ -718,6 +735,16 @@ export type GetMessageDeliveryFunnelResponse = {
718
735
  windowTo: Date;
719
736
  funnelState: GetMessageDeliveryFunnelResponse_FunnelState;
720
737
  };
738
+ /**
739
+ * GetCampaignDeliveryFunnelRequest asks for one campaign's funnel. No time range, for the
740
+ * same reason the message funnel has none: sends and confirmations sit on different axes.
741
+ */
742
+ export type GetCampaignDeliveryFunnelRequest = {
743
+ /** Campaign code, required */
744
+ campaignCode: string;
745
+ /** Optional platform ID filter */
746
+ platforms: number[];
747
+ };
721
748
  /**
722
749
  * GetMessageDeliveryTimelineRequest asks for one message's metrics over time. Unlike
723
750
  * the funnel it takes a window: a timeline has no stage arithmetic to break.