@getlatedev/node 0.2.897 → 0.2.899

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
@@ -36084,6 +36084,14 @@ type UpdateAdData = {
36084
36084
  * bid adjustment edits only), and LinkedIn (countries or regions required).
36085
36085
  * Pinterest / X return 501.
36086
36086
  *
36087
+ * On Meta this is a partial update merged over the ad set's live targeting:
36088
+ * every targeting setting you do not send is preserved (Advantage+ audience,
36089
+ * placements, custom audiences, exclusions, interests, languages, and so on).
36090
+ * A field you send replaces its Meta counterpart, and an empty or null value
36091
+ * (for example `audienceInclude: []` or `gender: "all"`) clears only that field.
36092
+ * Any location field (countries, regions, cities, zips, ...) replaces the whole
36093
+ * included location set, since Meta ORs locations together.
36094
+ *
36087
36095
  */
36088
36096
  targeting?: {
36089
36097
  /**
package/dist/index.d.ts CHANGED
@@ -36084,6 +36084,14 @@ type UpdateAdData = {
36084
36084
  * bid adjustment edits only), and LinkedIn (countries or regions required).
36085
36085
  * Pinterest / X return 501.
36086
36086
  *
36087
+ * On Meta this is a partial update merged over the ad set's live targeting:
36088
+ * every targeting setting you do not send is preserved (Advantage+ audience,
36089
+ * placements, custom audiences, exclusions, interests, languages, and so on).
36090
+ * A field you send replaces its Meta counterpart, and an empty or null value
36091
+ * (for example `audienceInclude: []` or `gender: "all"`) clears only that field.
36092
+ * Any location field (countries, regions, cities, zips, ...) replaces the whole
36093
+ * included location set, since Meta ORs locations together.
36094
+ *
36087
36095
  */
36088
36096
  targeting?: {
36089
36097
  /**
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.897",
39
+ version: "0.2.899",
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.897",
8
+ version: "0.2.899",
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.897",
3
+ "version": "0.2.899",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -998,7 +998,10 @@ export const updatePost = <ThrowOnError extends boolean = false>(options: Option
998
998
 
999
999
  /**
1000
1000
  * Delete post
1001
- * Delete a draft or scheduled post from Zernio. Published posts cannot be deleted; use the Unpublish endpoint instead. Upload quota is automatically refunded.
1001
+ * Delete a post from Zernio. Any status except `published` can be deleted: `draft`, `scheduled`, `publishing`, `failed`, `partial` and `cancelled`. Published posts cannot be deleted; use the Unpublish endpoint instead. Upload quota is automatically refunded for draft and scheduled posts.
1002
+ *
1003
+ * Deleting a `publishing` or `partial` post is how you stop entries that are still pending, for example entries held on a disconnected account. It removes the whole post record from Zernio, including the entries that were already published, but it does not remove anything already live on a platform (use Unpublish for that first if needed). An entry that a worker has already started sending when you delete may still go out, or may fail because media uploaded to Zernio and not used by another post is deleted with the post. Analytics for entries already published are removed too. Deleting also frees the content for re-creation, so the same caption and media are no longer reported as a duplicate.
1004
+ *
1002
1005
  */
1003
1006
  export const deletePost = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeletePostData, ThrowOnError>) => {
1004
1007
  return (options?.client ?? client).delete<DeletePostResponse, DeletePostError, ThrowOnError>({
@@ -36486,6 +36486,14 @@ export type UpdateAdData = {
36486
36486
  * bid adjustment edits only), and LinkedIn (countries or regions required).
36487
36487
  * Pinterest / X return 501.
36488
36488
  *
36489
+ * On Meta this is a partial update merged over the ad set's live targeting:
36490
+ * every targeting setting you do not send is preserved (Advantage+ audience,
36491
+ * placements, custom audiences, exclusions, interests, languages, and so on).
36492
+ * A field you send replaces its Meta counterpart, and an empty or null value
36493
+ * (for example `audienceInclude: []` or `gender: "all"`) clears only that field.
36494
+ * Any location field (countries, regions, cities, zips, ...) replaces the whole
36495
+ * included location set, since Meta ORs locations together.
36496
+ *
36489
36497
  */
36490
36498
  targeting?: {
36491
36499
  /**