@pushwoosh/rpc-v2-http-api-data 0.2.436 → 0.2.438

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
@@ -17347,6 +17347,20 @@ export const data = {
17347
17347
  "hard_bounce"
17348
17348
  ]
17349
17349
  },
17350
+ "pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs.BounceCategory": {
17351
+ "type": "E",
17352
+ "values": [
17353
+ "any_category",
17354
+ "address_not_exist",
17355
+ "mailbox_inactive",
17356
+ "mailbox_full",
17357
+ "sender_reputation",
17358
+ "spam",
17359
+ "delivery_failed",
17360
+ "message_too_large",
17361
+ "other"
17362
+ ]
17363
+ },
17350
17364
  "pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs": {
17351
17365
  "type": "I",
17352
17366
  "fields": {
@@ -17367,6 +17381,9 @@ export const data = {
17367
17381
  },
17368
17382
  "recordedInApplication": {
17369
17383
  "type": "string"
17384
+ },
17385
+ "bounceCategory": {
17386
+ "type": "pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs.BounceCategory"
17370
17387
  }
17371
17388
  }
17372
17389
  },
@@ -18907,6 +18924,12 @@ export const data = {
18907
18924
  "changes": {
18908
18925
  "type": "pushwoosh.rpc_v2.feature_flags.FeatureFlagChange",
18909
18926
  "array": true
18927
+ },
18928
+ "apiTokenName": {
18929
+ "type": "string"
18930
+ },
18931
+ "byApiToken": {
18932
+ "type": "boolean"
18910
18933
  }
18911
18934
  }
18912
18935
  },
@@ -337,14 +337,18 @@ export type FeatureFlagHistoryEntry = {
337
337
  version: number;
338
338
  /** create, update, set_percent, kill, unkill, archive, restore or reshuffle */
339
339
  action: string;
340
+ /** 0 when the change came through an API token or a service */
340
341
  userId: number;
341
- /** empty when the user is gone or the change came with an API token of no user */
342
+ /** empty when the user is gone or there is no user */
342
343
  userEmail: string;
343
344
  created: Date;
344
345
  /** the flag right after the change */
345
346
  flag: FeatureFlag;
346
347
  /** against the previous version; empty for create and for the oldest entry kept */
347
348
  changes: FeatureFlagChange[];
349
+ /** the name of the API token the change came through; empty for a change by a user */
350
+ apiTokenName: string;
351
+ byApiToken: boolean;
348
352
  };
349
353
  export type ListFeatureFlagHistoryResponse = {
350
354
  entries: FeatureFlagHistoryEntry[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.436",
3
+ "version": "0.2.438",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -950,6 +950,8 @@ export type ExportMessageUnsubscribedResult = {
950
950
  fileUrl: string;
951
951
  };
952
952
  export type ExportEmailSuppressionsArgs_Source = 'any' | 'spam_complaint' | 'hard_bounce';
953
+ /** Values are bounced_emails.bouncecategory as feedback-smtp writes it; any value but any leaves spam complaints out. */
954
+ export type ExportEmailSuppressionsArgs_BounceCategory = 'any_category' | 'address_not_exist' | 'mailbox_inactive' | 'mailbox_full' | 'sender_reputation' | 'spam' | 'delivery_failed' | 'message_too_large' | 'other';
953
955
  /**
954
956
  * ExportEmailSuppressionsArgs exports the account's suppression lists (spam complaints
955
957
  * and hard bounces), the same rows the Control Panel section shows.
@@ -964,6 +966,7 @@ export type ExportEmailSuppressionsArgs = {
964
966
  dateTo: Date;
965
967
  /** Application code the suppression was recorded in; empty covers the whole account. */
966
968
  recordedInApplication: string;
969
+ bounceCategory: ExportEmailSuppressionsArgs_BounceCategory;
967
970
  };
968
971
  export type ExportEmailSuppressionsResult = {
969
972
  file: string;