@pushwoosh/rpc-v2-http-api-data 0.2.197 → 0.2.199

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
@@ -13316,6 +13316,17 @@ export const data = {
13316
13316
  },
13317
13317
  "dateTo": {
13318
13318
  "type": "Date"
13319
+ },
13320
+ "channels": {
13321
+ "type": "string",
13322
+ "array": true
13323
+ },
13324
+ "sources": {
13325
+ "type": "string",
13326
+ "array": true
13327
+ },
13328
+ "messageType": {
13329
+ "type": "string"
13319
13330
  }
13320
13331
  }
13321
13332
  },
package/news.d.ts CHANGED
@@ -11,7 +11,7 @@ export interface NewsService {
11
11
  ListNewsFeeds: NewsService_ListNewsFeeds;
12
12
  /** Registers an RSS/Atom news feed for an application (code XXXXX-XXXXX), or updates one when code is given. Articles are imported hourly; an application may have several feeds. */
13
13
  SetNewsFeed: NewsService_SetNewsFeed;
14
- /** Removes a news feed of an application (code XXXXX-XXXXX) from the registry. Imported articles are no longer refreshed and stop being served once they fall out of the 30-day freshness window. */
14
+ /** Removes a news feed of an application (code XXXXX-XXXXX) from the registry. Its already imported articles are deleted by the next hourly import run. */
15
15
  DeleteNewsFeed: NewsService_DeleteNewsFeed;
16
16
  }
17
17
  export type NewsFeed = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.197",
3
+ "version": "0.2.199",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -764,6 +764,15 @@ export type ExportUnifiedMessagesArgs = {
764
764
  application: string;
765
765
  dateFrom: Date;
766
766
  dateTo: Date;
767
+ /** "push" and "email"; empty keeps both */
768
+ channels: string[];
769
+ /** "one-time" and "journey"; empty keeps both */
770
+ sources: string[];
771
+ /**
772
+ * "marketing" (messages_broadcast) or "transactional" (messages_transactional);
773
+ * empty keeps both
774
+ */
775
+ messageType: string;
767
776
  };
768
777
  export type ExportUnifiedMessagesResult = {
769
778
  file: string;