@getlatedev/node 0.2.1203 → 0.2.1205

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
  };
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
  };
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.1203",
39
+ version: "0.2.1205",
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.1203",
8
+ version: "0.2.1205",
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.1203",
3
+ "version": "0.2.1205",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9495,9 +9495,11 @@ export const listCommentAutomations = <ThrowOnError extends boolean = false>(opt
9495
9495
  * delivered, read, and link clicks.
9496
9496
  *
9497
9497
  * Personalisation: `{{first_name}}`, `{{name}}` and `{{username}}` in `dmMessage`,
9498
- * `commentReply`, their variations and button titles resolve from the commenter (first
9499
- * word of the display name, the display name, the platform username). A value the
9500
- * platform does not give us resolves to an empty string.
9498
+ * `commentReply`, their variations and button titles resolve from the commenter.
9499
+ * `{{first_name}}` is the first word of the display name and `{{name}}` the display
9500
+ * name; when the platform gives no display name both fall back to the platform
9501
+ * username (unless it is all digits). `{{username}}` is the platform username. A value
9502
+ * still unknown resolves to an empty string and the space before it is dropped.
9501
9503
  *
9502
9504
  * Behaviour: `repeatPolicy` decides whether a person can get the DM again,
9503
9505
  * `dedupeSameTextHours` stops two automations sending the same text to one person,
@@ -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
  };