@pushwoosh/rpc-v2-http-api-data 0.2.417 → 0.2.418
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 +6 -0
- package/news.d.ts +4 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -25257,6 +25257,9 @@ export const data = {
|
|
|
25257
25257
|
},
|
|
25258
25258
|
"updated": {
|
|
25259
25259
|
"type": "Date"
|
|
25260
|
+
},
|
|
25261
|
+
"category": {
|
|
25262
|
+
"type": "string"
|
|
25260
25263
|
}
|
|
25261
25264
|
}
|
|
25262
25265
|
},
|
|
@@ -25334,6 +25337,9 @@ export const data = {
|
|
|
25334
25337
|
"sendRate": {
|
|
25335
25338
|
"type": "number",
|
|
25336
25339
|
"optional": true
|
|
25340
|
+
},
|
|
25341
|
+
"category": {
|
|
25342
|
+
"type": "string"
|
|
25337
25343
|
}
|
|
25338
25344
|
}
|
|
25339
25345
|
},
|
package/news.d.ts
CHANGED
|
@@ -115,6 +115,8 @@ export type NewsFeedCampaign = {
|
|
|
115
115
|
lastSentTitle: string;
|
|
116
116
|
created: Date;
|
|
117
117
|
updated: Date;
|
|
118
|
+
/** Article category (rubric) the campaign sends; empty sends every article of the feed. */
|
|
119
|
+
category: string;
|
|
118
120
|
};
|
|
119
121
|
export type ListNewsFeedCampaignsRequest = {
|
|
120
122
|
/** Pushwoosh application code (XXXXX-XXXXX). */
|
|
@@ -153,6 +155,8 @@ export type SetNewsFeedCampaignRequest = {
|
|
|
153
155
|
ttlSeconds?: number;
|
|
154
156
|
/** 1..10000 messages per second. Absent uses the account send rate. */
|
|
155
157
|
sendRate?: number;
|
|
158
|
+
/** One of the feed's categories as news-categories.json lists them; empty means every article. */
|
|
159
|
+
category?: string;
|
|
156
160
|
};
|
|
157
161
|
export type SetNewsFeedCampaignResponse = {
|
|
158
162
|
campaign: NewsFeedCampaign;
|