@zernio/node 0.2.1170 → 0.2.1172

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/dist/index.d.mts CHANGED
@@ -19977,6 +19977,10 @@ type ListPostsData = {
19977
19977
  */
19978
19978
  source?: 'zernio' | 'external';
19979
19979
  status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
19980
+ /**
19981
+ * Comma-separated tags (at most 20). Returns only posts carrying every listed tag, matched exactly and case-sensitively against the tags set when the post was created. An empty value means no tag filter. `tag` is accepted as an alias.
19982
+ */
19983
+ tags?: string;
19980
19984
  /**
19981
19985
  * Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
19982
19986
  */
package/dist/index.d.ts CHANGED
@@ -19977,6 +19977,10 @@ type ListPostsData = {
19977
19977
  */
19978
19978
  source?: 'zernio' | 'external';
19979
19979
  status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
19980
+ /**
19981
+ * Comma-separated tags (at most 20). Returns only posts carrying every listed tag, matched exactly and case-sensitively against the tags set when the post was created. An empty value means no tag filter. `tag` is accepted as an alias.
19982
+ */
19983
+ tags?: string;
19980
19984
  /**
19981
19985
  * Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
19982
19986
  */
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.1170",
39
+ version: "0.2.1172",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.1170",
8
+ version: "0.2.1172",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1170",
3
+ "version": "0.2.1172",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10096,8 +10096,10 @@ export const updateAdCampaign = <ThrowOnError extends boolean = false>(options:
10096
10096
  * from the synced campaign, which wins over `adAccountId`; when the campaign
10097
10097
  * was never synced, send `adAccountId` too. Before deleting, Zernio asks X
10098
10098
  * whether the campaign still holds undeleted line items (ads not synced
10099
- * yet); if it does the answer is 409 and nothing is deleted, so sync the ad
10100
- * account and retry. Other platforms answer 501 for an empty campaign.
10099
+ * yet); if it does the answer is 409 `invalid_field_value` on `campaignId`
10100
+ * and nothing is deleted. Sync the ad account and retry when those line items
10101
+ * hold promoted posts; line items without promoted posts never sync, so delete
10102
+ * them in X Ads Manager first. Other platforms answer 501 for an empty campaign.
10101
10103
  * `accountId` is ignored when the campaign does have ads.
10102
10104
  *
10103
10105
  * Reddit Ads has no delete: the campaign is archived instead (`configured_status`
@@ -18806,6 +18806,10 @@ export type ListPostsData = {
18806
18806
  */
18807
18807
  source?: 'zernio' | 'external';
18808
18808
  status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'partial' | 'failed' | 'cancelled';
18809
+ /**
18810
+ * Comma-separated tags (at most 20). Returns only posts carrying every listed tag, matched exactly and case-sensitively against the tags set when the post was created. An empty value means no tag filter. `tag` is accepted as an alias.
18811
+ */
18812
+ tags?: string;
18809
18813
  /**
18810
18814
  * Zero-padded YYYY-MM-DD, or a full ISO 8601 datetime. An empty value means no date filter; any other malformed value returns 400. The same name the other date-window filters use (ads, analytics).
18811
18815
  */