@getlatedev/node 0.2.1112 → 0.2.1113

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
@@ -10652,9 +10652,13 @@ type PlatformAnalytics = {
10652
10652
  */
10653
10653
  errorMessage?: (string) | null;
10654
10654
  /**
10655
- * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10655
+ * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. not_post_owner: the post is owned by another Page or user (collab or visitor post); its analytics cannot be read with this Page's token. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10656
10656
  */
10657
- errorCode?: ('post_not_found' | 'permission_missing') | null;
10657
+ errorCode?: ('post_not_found' | 'not_post_owner' | 'permission_missing') | null;
10658
+ /**
10659
+ * Facebook only: true when the connected Page authored the post, false when Facebook reports another author (a collab post), null when unknown or for other platforms.
10660
+ */
10661
+ isOwner?: (boolean) | null;
10658
10662
  };
10659
10663
  type status24 = 'published' | 'failed';
10660
10664
  /**
@@ -10662,9 +10666,9 @@ type status24 = 'published' | 'failed';
10662
10666
  */
10663
10667
  type syncStatus2 = 'synced' | 'pending' | 'unavailable';
10664
10668
  /**
10665
- * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10669
+ * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. not_post_owner: the post is owned by another Page or user (collab or visitor post); its analytics cannot be read with this Page's token. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10666
10670
  */
10667
- type errorCode = 'post_not_found' | 'permission_missing';
10671
+ type errorCode = 'post_not_found' | 'not_post_owner' | 'permission_missing';
10668
10672
  type PlatformTarget = {
10669
10673
  /**
10670
10674
  * Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram
package/dist/index.d.ts CHANGED
@@ -10652,9 +10652,13 @@ type PlatformAnalytics = {
10652
10652
  */
10653
10653
  errorMessage?: (string) | null;
10654
10654
  /**
10655
- * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10655
+ * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. not_post_owner: the post is owned by another Page or user (collab or visitor post); its analytics cannot be read with this Page's token. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10656
10656
  */
10657
- errorCode?: ('post_not_found' | 'permission_missing') | null;
10657
+ errorCode?: ('post_not_found' | 'not_post_owner' | 'permission_missing') | null;
10658
+ /**
10659
+ * Facebook only: true when the connected Page authored the post, false when Facebook reports another author (a collab post), null when unknown or for other platforms.
10660
+ */
10661
+ isOwner?: (boolean) | null;
10658
10662
  };
10659
10663
  type status24 = 'published' | 'failed';
10660
10664
  /**
@@ -10662,9 +10666,9 @@ type status24 = 'published' | 'failed';
10662
10666
  */
10663
10667
  type syncStatus2 = 'synced' | 'pending' | 'unavailable';
10664
10668
  /**
10665
- * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10669
+ * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. not_post_owner: the post is owned by another Page or user (collab or visitor post); its analytics cannot be read with this Page's token. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
10666
10670
  */
10667
- type errorCode = 'post_not_found' | 'permission_missing';
10671
+ type errorCode = 'post_not_found' | 'not_post_owner' | 'permission_missing';
10668
10672
  type PlatformTarget = {
10669
10673
  /**
10670
10674
  * Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram
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.1112",
39
+ version: "0.2.1113",
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.1112",
8
+ version: "0.2.1113",
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.1112",
3
+ "version": "0.2.1113",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9041,9 +9041,13 @@ export type PlatformAnalytics = {
9041
9041
  */
9042
9042
  errorMessage?: (string) | null;
9043
9043
  /**
9044
- * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
9044
+ * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. not_post_owner: the post is owned by another Page or user (collab or visitor post); its analytics cannot be read with this Page's token. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
9045
9045
  */
9046
- errorCode?: ('post_not_found' | 'permission_missing') | null;
9046
+ errorCode?: ('post_not_found' | 'not_post_owner' | 'permission_missing') | null;
9047
+ /**
9048
+ * Facebook only: true when the connected Page authored the post, false when Facebook reports another author (a collab post), null when unknown or for other platforms.
9049
+ */
9050
+ isOwner?: (boolean) | null;
9047
9051
  };
9048
9052
 
9049
9053
  export type status24 = 'published' | 'failed';
@@ -9054,9 +9058,9 @@ export type status24 = 'published' | 'failed';
9054
9058
  export type syncStatus2 = 'synced' | 'pending' | 'unavailable';
9055
9059
 
9056
9060
  /**
9057
- * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
9061
+ * Stable machine-readable reason for errorMessage. post_not_found: the post was deleted or is no longer visible to the account. not_post_owner: the post is owned by another Page or user (collab or visitor post); its analytics cannot be read with this Page's token. permission_missing: the last analytics sync of the Facebook account failed because the Page no longer grants pages_read_engagement (pending entries only). null: no stable code, read errorMessage. New values may be added.
9058
9062
  */
9059
- export type errorCode = 'post_not_found' | 'permission_missing';
9063
+ export type errorCode = 'post_not_found' | 'not_post_owner' | 'permission_missing';
9060
9064
 
9061
9065
  export type PlatformTarget = {
9062
9066
  /**