@getlatedev/node 0.2.1336 → 0.2.1338

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
@@ -4951,7 +4951,7 @@ type BulkUploadResult = {
4951
4951
  errors?: Array<(string)>;
4952
4952
  }>;
4953
4953
  /**
4954
- * Top-level advisory warnings, e.g. `rows_exceed_advisory_limit:500` or `unknown_columns:<a,b,c>` (comma-separated unrecognized CSV column names). Empty when none.
4954
+ * Top-level advisory warnings, e.g. `rows_exceed_advisory_limit:500`, `unknown_columns:<a,b,c>` (comma-separated unrecognized CSV column names), or `not_added_to_caption:<columns>` (the `hashtags` and/or `mentions` column is filled: stored on the post, not added to the caption). Empty when none.
4955
4955
  */
4956
4956
  warnings?: Array<(string)>;
4957
4957
  /**
package/dist/index.d.ts CHANGED
@@ -4951,7 +4951,7 @@ type BulkUploadResult = {
4951
4951
  errors?: Array<(string)>;
4952
4952
  }>;
4953
4953
  /**
4954
- * Top-level advisory warnings, e.g. `rows_exceed_advisory_limit:500` or `unknown_columns:<a,b,c>` (comma-separated unrecognized CSV column names). Empty when none.
4954
+ * Top-level advisory warnings, e.g. `rows_exceed_advisory_limit:500`, `unknown_columns:<a,b,c>` (comma-separated unrecognized CSV column names), or `not_added_to_caption:<columns>` (the `hashtags` and/or `mentions` column is filled: stored on the post, not added to the caption). Empty when none.
4955
4955
  */
4956
4956
  warnings?: Array<(string)>;
4957
4957
  /**
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: "@getlatedev/node",
39
- version: "0.2.1336",
39
+ version: "0.2.1338",
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: "@getlatedev/node",
8
- version: "0.2.1336",
8
+ version: "0.2.1338",
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": "@getlatedev/node",
3
- "version": "0.2.1336",
3
+ "version": "0.2.1338",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1180,6 +1180,7 @@ export const deletePost = <ThrowOnError extends boolean = false>(options: Option
1180
1180
  * - `mediaUrls` aliases `media_urls`
1181
1181
  * - Per-platform overrides use three dynamic column prefixes, one column per platform (e.g. `schedule_time_instagram`, `custom_content_tiktok`, `custom_media_youtube`): `schedule_time_<platform>`, `custom_content_<platform>`, `custom_media_<platform>`.
1182
1182
  * - Any other column is not read. It does not error, but it is reported in the response's `warnings` array as `unknown_columns:<a,b,c>` (see BulkUploadResult), so a misnamed or unsupported column is never silently dropped.
1183
+ * - The `hashtags` and `mentions` columns are stored on the post but not added to the caption. Put them in `post_content` (or a `custom_content_<platform>` column). A filled column adds `not_added_to_caption:<columns>` to `warnings`.
1183
1184
  * - Timezone: `tz` sets the zone `schedule_time` is read in. A row without `tz` uses its profile's `timezone` (when all its target profiles share one), else UTC.
1184
1185
  * - Row limits: 5000 rows is a hard cap that returns 400 above it. 500 rows is only an advisory threshold, it adds `rows_exceed_advisory_limit:500` to `warnings` and the request still processes.
1185
1186
  *
@@ -10637,7 +10638,10 @@ export const createAdCampaign = <ThrowOnError extends boolean = false>(options:
10637
10638
  *
10638
10639
  * **Live read, then write.** The campaign's switch is read from the platform first. When that
10639
10640
  * live read shows it already in the requested state nothing is written (`updated: 0`,
10640
- * `skipped: 1`, with the reason). Otherwise the switch is written (`updated: 1`), read back and
10641
+ * `skipped: 1`, with the reason), and when the campaign delivers in that state but some of its
10642
+ * ads are stored in the other state (for example ads switched on in the platform's own UI and
10643
+ * still stored `paused`), those ads (up to 20, at most once every 10 minutes per campaign) are
10644
+ * re-read and stored. Otherwise the switch is written (`updated: 1`), read back and
10641
10645
  * stored, and the delivery status of the ads under it (up to 20) is re-read and stored, so an
10642
10646
  * immediate GET returns what the platform now reports. A stored switch never skips a write, and
10643
10647
  * when the platform cannot be read the write always goes out. On Meta the check reads the
@@ -11331,7 +11335,10 @@ export const deleteAdSet = <ThrowOnError extends boolean = false>(options: Optio
11331
11335
  *
11332
11336
  * **Live read, then write.** The ad set's switch is read from the platform
11333
11337
  * first. When that live read shows it already in the requested state
11334
- * nothing is written (`updated: 0`, `skipped: 1`, with the reason).
11338
+ * nothing is written (`updated: 0`, `skipped: 1`, with the reason), and
11339
+ * when the ad set delivers in that state but some of its ads are stored in
11340
+ * the other state, those ads (up to 20, at most once every 10 minutes per
11341
+ * ad set) are re-read and stored.
11335
11342
  * Otherwise the switch is written (`updated: 1`), read back and stored, and
11336
11343
  * the delivery status of its ads (up to 20) is re-read and stored, so an
11337
11344
  * immediate GET returns what the platform now reports. A stored switch
@@ -2952,7 +2952,7 @@ export type BulkUploadResult = {
2952
2952
  errors?: Array<(string)>;
2953
2953
  }>;
2954
2954
  /**
2955
- * Top-level advisory warnings, e.g. `rows_exceed_advisory_limit:500` or `unknown_columns:<a,b,c>` (comma-separated unrecognized CSV column names). Empty when none.
2955
+ * Top-level advisory warnings, e.g. `rows_exceed_advisory_limit:500`, `unknown_columns:<a,b,c>` (comma-separated unrecognized CSV column names), or `not_added_to_caption:<columns>` (the `hashtags` and/or `mentions` column is filled: stored on the post, not added to the caption). Empty when none.
2956
2956
  */
2957
2957
  warnings?: Array<(string)>;
2958
2958
  /**