@pushwoosh/rpc-gateway-statistics-api 1.3.873 → 1.3.875

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
@@ -4240,6 +4240,20 @@ export const data = {
4240
4240
  }
4241
4241
  }
4242
4242
  },
4243
+ "pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailRatesResponse.BounceReason": {
4244
+ "type": "I",
4245
+ "fields": {
4246
+ "reason": {
4247
+ "type": "string"
4248
+ },
4249
+ "hard": {
4250
+ "type": "number"
4251
+ },
4252
+ "soft": {
4253
+ "type": "number"
4254
+ }
4255
+ }
4256
+ },
4243
4257
  "pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailRatesResponse": {
4244
4258
  "type": "I",
4245
4259
  "fields": {
@@ -4252,6 +4266,10 @@ export const data = {
4252
4266
  },
4253
4267
  "pauseCheck": {
4254
4268
  "type": "pushwoosh.statistics.statistics.v2.overviewkpi.EmailPauseCheck"
4269
+ },
4270
+ "bounceReasons": {
4271
+ "type": "pushwoosh.statistics.statistics.v2.overviewkpi.GetEmailRatesResponse.BounceReason",
4272
+ "array": true
4255
4273
  }
4256
4274
  }
4257
4275
  },
@@ -5835,6 +5853,35 @@ export const data = {
5835
5853
  "platforms": {
5836
5854
  "type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.PlatformCount",
5837
5855
  "array": true
5856
+ },
5857
+ "bounceDetails": {
5858
+ "type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.BounceDetails"
5859
+ }
5860
+ }
5861
+ },
5862
+ "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.BounceDetails": {
5863
+ "type": "I",
5864
+ "fields": {
5865
+ "topCodes": {
5866
+ "type": "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.BounceCode",
5867
+ "array": true
5868
+ },
5869
+ "provider": {
5870
+ "type": "string"
5871
+ },
5872
+ "providerResponse": {
5873
+ "type": "string"
5874
+ }
5875
+ }
5876
+ },
5877
+ "pushwoosh.statistics.statistics.v2.statistics.GetDeliveryFunnelResponse.BounceCode": {
5878
+ "type": "I",
5879
+ "fields": {
5880
+ "code": {
5881
+ "type": "string"
5882
+ },
5883
+ "count": {
5884
+ "type": "number"
5838
5885
  }
5839
5886
  }
5840
5887
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.873",
3
+ "version": "1.3.875",
4
4
  "description": "Statistics API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -265,6 +265,12 @@ export type GetEmailRatesResponse_Point = {
265
265
  day: Date;
266
266
  rates: EmailRates;
267
267
  };
268
+ export type GetEmailRatesResponse_BounceReason = {
269
+ /** the bounceReason value email-feedback-api wrote, e.g. mailbox_full */
270
+ reason: string;
271
+ hard: number;
272
+ soft: number;
273
+ };
268
274
  export type GetEmailRatesResponse = {
269
275
  /** the requested application and period, one point per day */
270
276
  points: GetEmailRatesResponse_Point[];
@@ -275,6 +281,11 @@ export type GetEmailRatesResponse = {
275
281
  * differ from the two above, and that difference is the point of this field
276
282
  */
277
283
  pauseCheck: EmailPauseCheck;
284
+ /**
285
+ * bounce events of the same application and period as totals, by hard+soft desc;
286
+ * only bounces logged since email-feedback-api started writing bounceReason
287
+ */
288
+ bounceReasons: GetEmailRatesResponse_BounceReason[];
278
289
  };
279
290
  export type GetEmailActivityDistributionRequest = {
280
291
  applicationCode: string;
@@ -717,6 +717,29 @@ export type GetDeliveryFunnelResponse_Piece = {
717
717
  category: string;
718
718
  count: number;
719
719
  platforms: GetDeliveryFunnelResponse_PlatformCount[];
720
+ /**
721
+ * Set only on the BOUNCED_HARD_REASON_* and BOUNCED_SOFT_REASON_* pieces; every
722
+ * other piece leaves it empty.
723
+ */
724
+ bounceDetails: GetDeliveryFunnelResponse_BounceDetails;
725
+ };
726
+ /** BounceDetails says what the provider answered for the addresses of one bounce reason. */
727
+ export type GetDeliveryFunnelResponse_BounceDetails = {
728
+ /** up to 3, most addresses first */
729
+ topCodes: GetDeliveryFunnelResponse_BounceCode[];
730
+ /** who answered provider_response */
731
+ provider: string;
732
+ /** the response most of these addresses got, e-mail addresses masked */
733
+ providerResponse: string;
734
+ };
735
+ /**
736
+ * BounceCode is an SMTP status: the enhanced one, or the basic one when the provider
737
+ * sent none.
738
+ */
739
+ export type GetDeliveryFunnelResponse_BounceCode = {
740
+ code: string;
741
+ /** addresses whose last bounce carried this code */
742
+ count: number;
720
743
  };
721
744
  /**
722
745
  * ErrorCode is one sender status code inside an error row. Platform is part of the row,