@getlatedev/node 0.2.1204 → 0.2.1206

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
@@ -30339,7 +30339,7 @@ type ListInboxCommentsError = (ErrorResponse | unknown);
30339
30339
  type GetInboxPostCommentsData = {
30340
30340
  path: {
30341
30341
  /**
30342
- * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID. On Facebook, a comment ID is also accepted here and returns that comment's replies, kept for backwards compatibility; prefer the `commentId` query parameter, which also works on Instagram.
30342
+ * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>). A bare number is read as an activity id (urn:li:activity:<n>, the number in a linkedin.com/feed/update URL); a share or ugcPost number passed bare returns an empty list. On Facebook, a comment ID is also accepted here and returns that comment's replies, kept for backwards compatibility; prefer the `commentId` query parameter, which also works on Instagram.
30343
30343
  */
30344
30344
  postId: string;
30345
30345
  };
@@ -30558,6 +30558,10 @@ type GetInboxPostCommentsResponse = ({
30558
30558
  * (Reddit only) Subreddit name
30559
30559
  */
30560
30560
  subreddit?: (string) | null;
30561
+ /**
30562
+ * (LinkedIn only) The post URN that was queried, after a bare number is read as urn:li:activity:<n>
30563
+ */
30564
+ postUrn?: string;
30561
30565
  lastUpdated?: string;
30562
30566
  /**
30563
30567
  * (Facebook/Instagram only) Present when this post has no organic comments but is a boosted post: the engagement lives on the ad. Use the ad-comments endpoint instead.
@@ -30608,7 +30612,7 @@ type ReplyToInboxPostData = {
30608
30612
  };
30609
30613
  path: {
30610
30614
  /**
30611
- * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
30615
+ * Zernio post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).
30612
30616
  */
30613
30617
  postId: string;
30614
30618
  };
@@ -30628,7 +30632,7 @@ type ReplyToInboxPostError = (unknown | ErrorResponse);
30628
30632
  type DeleteInboxCommentData = {
30629
30633
  path: {
30630
30634
  /**
30631
- * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
30635
+ * Zernio post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).
30632
30636
  */
30633
30637
  postId: string;
30634
30638
  };
@@ -48630,9 +48634,9 @@ type CreateStandaloneAdResponse = ({
48630
48634
  validateOnly?: boolean;
48631
48635
  results?: Array<{
48632
48636
  node?: 'campaign' | 'adSet' | 'creative' | 'ad' | 'performanceMaxCampaign';
48633
- status?: 'validated' | 'skipped';
48637
+ status?: 'validated' | 'skipped' | 'unverified';
48634
48638
  /**
48635
- * Why the node could not be validated (on skipped), or what the dry run could not check and what the request would do as sent (on validated). A Performance Max validation with no location targeting reports here that the campaign would run worldwide.
48639
+ * Why the node could not be validated (on skipped), why Meta could not dry-run it although the other nodes passed (on unverified), or what the dry run could not check and what the request would do as sent (on validated). A Performance Max validation with no location targeting reports here that the campaign would run worldwide.
48636
48640
  */
48637
48641
  reason?: string;
48638
48642
  }>;
@@ -51670,7 +51674,10 @@ type CreateMessagingAdResponse = ({
51670
51674
  validateOnly: boolean;
51671
51675
  results: Array<{
51672
51676
  node: 'campaign' | 'adSet' | 'creative' | 'ad';
51673
- status: 'validated' | 'skipped';
51677
+ status: 'validated' | 'skipped' | 'unverified';
51678
+ /**
51679
+ * On unverified: why Meta could not dry-run this node although the other nodes passed.
51680
+ */
51674
51681
  reason?: string;
51675
51682
  }>;
51676
51683
  message: string;
package/dist/index.d.ts CHANGED
@@ -30339,7 +30339,7 @@ type ListInboxCommentsError = (ErrorResponse | unknown);
30339
30339
  type GetInboxPostCommentsData = {
30340
30340
  path: {
30341
30341
  /**
30342
- * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID. On Facebook, a comment ID is also accepted here and returns that comment's replies, kept for backwards compatibility; prefer the `commentId` query parameter, which also works on Instagram.
30342
+ * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>). A bare number is read as an activity id (urn:li:activity:<n>, the number in a linkedin.com/feed/update URL); a share or ugcPost number passed bare returns an empty list. On Facebook, a comment ID is also accepted here and returns that comment's replies, kept for backwards compatibility; prefer the `commentId` query parameter, which also works on Instagram.
30343
30343
  */
30344
30344
  postId: string;
30345
30345
  };
@@ -30558,6 +30558,10 @@ type GetInboxPostCommentsResponse = ({
30558
30558
  * (Reddit only) Subreddit name
30559
30559
  */
30560
30560
  subreddit?: (string) | null;
30561
+ /**
30562
+ * (LinkedIn only) The post URN that was queried, after a bare number is read as urn:li:activity:<n>
30563
+ */
30564
+ postUrn?: string;
30561
30565
  lastUpdated?: string;
30562
30566
  /**
30563
30567
  * (Facebook/Instagram only) Present when this post has no organic comments but is a boosted post: the engagement lives on the ad. Use the ad-comments endpoint instead.
@@ -30608,7 +30612,7 @@ type ReplyToInboxPostData = {
30608
30612
  };
30609
30613
  path: {
30610
30614
  /**
30611
- * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
30615
+ * Zernio post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).
30612
30616
  */
30613
30617
  postId: string;
30614
30618
  };
@@ -30628,7 +30632,7 @@ type ReplyToInboxPostError = (unknown | ErrorResponse);
30628
30632
  type DeleteInboxCommentData = {
30629
30633
  path: {
30630
30634
  /**
30631
- * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
30635
+ * Zernio post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).
30632
30636
  */
30633
30637
  postId: string;
30634
30638
  };
@@ -48630,9 +48634,9 @@ type CreateStandaloneAdResponse = ({
48630
48634
  validateOnly?: boolean;
48631
48635
  results?: Array<{
48632
48636
  node?: 'campaign' | 'adSet' | 'creative' | 'ad' | 'performanceMaxCampaign';
48633
- status?: 'validated' | 'skipped';
48637
+ status?: 'validated' | 'skipped' | 'unverified';
48634
48638
  /**
48635
- * Why the node could not be validated (on skipped), or what the dry run could not check and what the request would do as sent (on validated). A Performance Max validation with no location targeting reports here that the campaign would run worldwide.
48639
+ * Why the node could not be validated (on skipped), why Meta could not dry-run it although the other nodes passed (on unverified), or what the dry run could not check and what the request would do as sent (on validated). A Performance Max validation with no location targeting reports here that the campaign would run worldwide.
48636
48640
  */
48637
48641
  reason?: string;
48638
48642
  }>;
@@ -51670,7 +51674,10 @@ type CreateMessagingAdResponse = ({
51670
51674
  validateOnly: boolean;
51671
51675
  results: Array<{
51672
51676
  node: 'campaign' | 'adSet' | 'creative' | 'ad';
51673
- status: 'validated' | 'skipped';
51677
+ status: 'validated' | 'skipped' | 'unverified';
51678
+ /**
51679
+ * On unverified: why Meta could not dry-run this node although the other nodes passed.
51680
+ */
51674
51681
  reason?: string;
51675
51682
  }>;
51676
51683
  message: string;
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.1204",
39
+ version: "0.2.1206",
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.1204",
8
+ version: "0.2.1206",
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.1204",
3
+ "version": "0.2.1206",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -29820,7 +29820,7 @@ export type ListInboxCommentsError = (ErrorResponse | unknown);
29820
29820
  export type GetInboxPostCommentsData = {
29821
29821
  path: {
29822
29822
  /**
29823
- * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID. On Facebook, a comment ID is also accepted here and returns that comment's replies, kept for backwards compatibility; prefer the `commentId` query parameter, which also works on Instagram.
29823
+ * Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>). A bare number is read as an activity id (urn:li:activity:<n>, the number in a linkedin.com/feed/update URL); a share or ugcPost number passed bare returns an empty list. On Facebook, a comment ID is also accepted here and returns that comment's replies, kept for backwards compatibility; prefer the `commentId` query parameter, which also works on Instagram.
29824
29824
  */
29825
29825
  postId: string;
29826
29826
  };
@@ -30040,6 +30040,10 @@ export type GetInboxPostCommentsResponse = ({
30040
30040
  * (Reddit only) Subreddit name
30041
30041
  */
30042
30042
  subreddit?: (string) | null;
30043
+ /**
30044
+ * (LinkedIn only) The post URN that was queried, after a bare number is read as urn:li:activity:<n>
30045
+ */
30046
+ postUrn?: string;
30043
30047
  lastUpdated?: string;
30044
30048
  /**
30045
30049
  * (Facebook/Instagram only) Present when this post has no organic comments but is a boosted post: the engagement lives on the ad. Use the ad-comments endpoint instead.
@@ -30092,7 +30096,7 @@ export type ReplyToInboxPostData = {
30092
30096
  };
30093
30097
  path: {
30094
30098
  /**
30095
- * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
30099
+ * Zernio post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).
30096
30100
  */
30097
30101
  postId: string;
30098
30102
  };
@@ -30115,7 +30119,7 @@ export type ReplyToInboxPostError = (unknown | ErrorResponse);
30115
30119
  export type DeleteInboxCommentData = {
30116
30120
  path: {
30117
30121
  /**
30118
- * Zernio post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
30122
+ * Zernio post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).
30119
30123
  */
30120
30124
  postId: string;
30121
30125
  };
@@ -49448,9 +49452,9 @@ export type CreateStandaloneAdResponse = ({
49448
49452
  validateOnly?: boolean;
49449
49453
  results?: Array<{
49450
49454
  node?: 'campaign' | 'adSet' | 'creative' | 'ad' | 'performanceMaxCampaign';
49451
- status?: 'validated' | 'skipped';
49455
+ status?: 'validated' | 'skipped' | 'unverified';
49452
49456
  /**
49453
- * Why the node could not be validated (on skipped), or what the dry run could not check and what the request would do as sent (on validated). A Performance Max validation with no location targeting reports here that the campaign would run worldwide.
49457
+ * Why the node could not be validated (on skipped), why Meta could not dry-run it although the other nodes passed (on unverified), or what the dry run could not check and what the request would do as sent (on validated). A Performance Max validation with no location targeting reports here that the campaign would run worldwide.
49454
49458
  */
49455
49459
  reason?: string;
49456
49460
  }>;
@@ -52707,7 +52711,10 @@ export type CreateMessagingAdResponse = ({
52707
52711
  validateOnly: boolean;
52708
52712
  results: Array<{
52709
52713
  node: 'campaign' | 'adSet' | 'creative' | 'ad';
52710
- status: 'validated' | 'skipped';
52714
+ status: 'validated' | 'skipped' | 'unverified';
52715
+ /**
52716
+ * On unverified: why Meta could not dry-run this node although the other nodes passed.
52717
+ */
52711
52718
  reason?: string;
52712
52719
  }>;
52713
52720
  message: string;