@getlatedev/node 0.2.877 → 0.2.878

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
@@ -8990,6 +8990,9 @@ type SocialAccount = {
8990
8990
  * - profileData.bio: The member's headline for personal accounts, or the organization description for organization accounts. null when the member has not set one.
8991
8991
  * - profileData.extraData.vanityName: The member's profile slug, i.e. the /in/{vanityName} segment of profileUrl. Personal accounts only; an organization's own slug is in metadata.organizationInfo.vanityName.
8992
8992
  *
8993
+ * For Instagram accounts:
8994
+ * - loginMethod: "facebook_login" when the account was connected through Facebook Login. Absent on accounts connected with Instagram Login. On facebook_login accounts, comment reads leave hidden comments out entirely instead of returning them with isHidden true.
8995
+ *
8993
8996
  * For X (Twitter) accounts:
8994
8997
  * - profileData.extraData.isPremium: Whether X reports a paid subscription (Basic, Premium, Premium+, or a blue verified badge), which raises the post length limit from 280 to 25,000 characters. Read live at connect and reconnect and refreshed by the daily follower snapshot; because X intermittently reports no subscription for subscribed accounts, a cancellation is stored on the fourth consecutive daily snapshot that reports it (about four days). Accounts connected before the extraData layout carry the same flag at profileData.isPremium.
8995
8998
  *
@@ -24722,7 +24725,7 @@ type ListInboxCommentsError = ({
24722
24725
  type GetInboxPostCommentsData = {
24723
24726
  path: {
24724
24727
  /**
24725
- * 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 and Instagram, a comment ID is also accepted here and returns that comment's replies.
24728
+ * 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 (not supported on Instagram).
24726
24729
  */
24727
24730
  postId: string;
24728
24731
  };
@@ -24794,7 +24797,7 @@ type GetInboxPostCommentsResponse = ({
24794
24797
  */
24795
24798
  canLike?: boolean;
24796
24799
  /**
24797
- * Whether the comment is currently hidden
24800
+ * Whether the comment is currently hidden. On Instagram accounts connected through Facebook Login, Meta leaves hidden comments (and their replies) out of the list entirely, so they never appear with isHidden true; Instagram Login accounts and Facebook Pages return them with isHidden true.
24798
24801
  */
24799
24802
  isHidden?: boolean;
24800
24803
  /**
package/dist/index.d.ts CHANGED
@@ -8990,6 +8990,9 @@ type SocialAccount = {
8990
8990
  * - profileData.bio: The member's headline for personal accounts, or the organization description for organization accounts. null when the member has not set one.
8991
8991
  * - profileData.extraData.vanityName: The member's profile slug, i.e. the /in/{vanityName} segment of profileUrl. Personal accounts only; an organization's own slug is in metadata.organizationInfo.vanityName.
8992
8992
  *
8993
+ * For Instagram accounts:
8994
+ * - loginMethod: "facebook_login" when the account was connected through Facebook Login. Absent on accounts connected with Instagram Login. On facebook_login accounts, comment reads leave hidden comments out entirely instead of returning them with isHidden true.
8995
+ *
8993
8996
  * For X (Twitter) accounts:
8994
8997
  * - profileData.extraData.isPremium: Whether X reports a paid subscription (Basic, Premium, Premium+, or a blue verified badge), which raises the post length limit from 280 to 25,000 characters. Read live at connect and reconnect and refreshed by the daily follower snapshot; because X intermittently reports no subscription for subscribed accounts, a cancellation is stored on the fourth consecutive daily snapshot that reports it (about four days). Accounts connected before the extraData layout carry the same flag at profileData.isPremium.
8995
8998
  *
@@ -24722,7 +24725,7 @@ type ListInboxCommentsError = ({
24722
24725
  type GetInboxPostCommentsData = {
24723
24726
  path: {
24724
24727
  /**
24725
- * 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 and Instagram, a comment ID is also accepted here and returns that comment's replies.
24728
+ * 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 (not supported on Instagram).
24726
24729
  */
24727
24730
  postId: string;
24728
24731
  };
@@ -24794,7 +24797,7 @@ type GetInboxPostCommentsResponse = ({
24794
24797
  */
24795
24798
  canLike?: boolean;
24796
24799
  /**
24797
- * Whether the comment is currently hidden
24800
+ * Whether the comment is currently hidden. On Instagram accounts connected through Facebook Login, Meta leaves hidden comments (and their replies) out of the list entirely, so they never appear with isHidden true; Instagram Login accounts and Facebook Pages return them with isHidden true.
24798
24801
  */
24799
24802
  isHidden?: boolean;
24800
24803
  /**
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.877",
39
+ version: "0.2.878",
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.877",
8
+ version: "0.2.878",
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.877",
3
+ "version": "0.2.878",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4246,9 +4246,10 @@ export const listInboxComments = <ThrowOnError extends boolean = false>(options?
4246
4246
  * Get post comments
4247
4247
  * Fetch comments for a specific post. Requires accountId query parameter.
4248
4248
  *
4249
- * On Facebook and Instagram, passing a COMMENT id as `postId` is also supported and
4250
- * returns that comment's replies instead of the post's top-level comments. This is not
4251
- * available on YouTube, where `postId` must be a video id.
4249
+ * On Facebook, passing a COMMENT id as `postId` is also supported and returns that
4250
+ * comment's replies instead of the post's top-level comments. Instagram does not support
4251
+ * this and returns 400: its replies come nested in each comment's `replies` array, with no
4252
+ * separate paging. YouTube does not support it either, `postId` must be a video id.
4252
4253
  *
4253
4254
  * Responses are cached for up to 10 minutes, so a page may lag new comments by that
4254
4255
  * window. Do not poll this endpoint for real-time updates: subscribe to the
@@ -4260,6 +4261,11 @@ export const listInboxComments = <ThrowOnError extends boolean = false>(options?
4260
4261
  * `commentId` pages the full reply list of one comment. Developer-app TikTok accounts
4261
4262
  * return 400 with code `PLATFORM_LIMITATION`.
4262
4263
  *
4264
+ * Hidden comments: Facebook Pages and Instagram accounts connected through Instagram Login
4265
+ * return them with `isHidden: true`. Instagram accounts connected through Facebook Login do
4266
+ * not return them at all (Meta omits them, together with their replies), so a hidden comment
4267
+ * and a deleted one look the same on this read.
4268
+ *
4263
4269
  */
4264
4270
  export const getInboxPostComments = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInboxPostCommentsData, ThrowOnError>) => {
4265
4271
  return (options?.client ?? client).get<GetInboxPostCommentsResponse, GetInboxPostCommentsError, ThrowOnError>({
@@ -7614,6 +7614,9 @@ export type SocialAccount = {
7614
7614
  * - profileData.bio: The member's headline for personal accounts, or the organization description for organization accounts. null when the member has not set one.
7615
7615
  * - profileData.extraData.vanityName: The member's profile slug, i.e. the /in/{vanityName} segment of profileUrl. Personal accounts only; an organization's own slug is in metadata.organizationInfo.vanityName.
7616
7616
  *
7617
+ * For Instagram accounts:
7618
+ * - loginMethod: "facebook_login" when the account was connected through Facebook Login. Absent on accounts connected with Instagram Login. On facebook_login accounts, comment reads leave hidden comments out entirely instead of returning them with isHidden true.
7619
+ *
7617
7620
  * For X (Twitter) accounts:
7618
7621
  * - profileData.extraData.isPremium: Whether X reports a paid subscription (Basic, Premium, Premium+, or a blue verified badge), which raises the post length limit from 280 to 25,000 characters. Read live at connect and reconnect and refreshed by the daily follower snapshot; because X intermittently reports no subscription for subscribed accounts, a cancellation is stored on the fourth consecutive daily snapshot that reports it (about four days). Accounts connected before the extraData layout carry the same flag at profileData.isPremium.
7619
7622
  *
@@ -24248,7 +24251,7 @@ export type ListInboxCommentsError = ({
24248
24251
  export type GetInboxPostCommentsData = {
24249
24252
  path: {
24250
24253
  /**
24251
- * 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 and Instagram, a comment ID is also accepted here and returns that comment's replies.
24254
+ * 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 (not supported on Instagram).
24252
24255
  */
24253
24256
  postId: string;
24254
24257
  };
@@ -24321,7 +24324,7 @@ export type GetInboxPostCommentsResponse = ({
24321
24324
  */
24322
24325
  canLike?: boolean;
24323
24326
  /**
24324
- * Whether the comment is currently hidden
24327
+ * Whether the comment is currently hidden. On Instagram accounts connected through Facebook Login, Meta leaves hidden comments (and their replies) out of the list entirely, so they never appear with isHidden true; Instagram Login accounts and Facebook Pages return them with isHidden true.
24325
24328
  */
24326
24329
  isHidden?: boolean;
24327
24330
  /**