@pushwoosh/rpc-gateway-statistics-api 1.3.874 → 1.3.876

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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-statistics-api",
3
- "version": "1.3.874",
3
+ "version": "1.3.876",
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;