@getlatedev/node 0.2.1307 → 0.2.1308

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
@@ -33315,35 +33315,39 @@ type ListInboxMentionsResponse = ({
33315
33315
  * Mention document ID
33316
33316
  */
33317
33317
  id?: string;
33318
- platform?: 'linkedin' | 'instagram';
33318
+ platform?: 'linkedin' | 'instagram' | 'facebook';
33319
33319
  /**
33320
- * Instagram only: `caption` when the account was tagged in a media caption, `comment` when it was tagged in a comment. Null for LinkedIn.
33320
+ * Instagram and Facebook: `caption` when the Instagram account was tagged in a media caption, `post` when the Facebook Page was tagged in a post, `comment` when either was tagged in a comment. Null for LinkedIn.
33321
33321
  */
33322
- type?: ('caption' | 'comment') | null;
33322
+ type?: ('caption' | 'post' | 'comment') | null;
33323
33323
  /**
33324
- * Instagram only: ID of the media the account was mentioned in (or under). Null for LinkedIn.
33324
+ * Instagram only: ID of the media the account was mentioned in (or under). Null for LinkedIn and Facebook.
33325
33325
  */
33326
33326
  mediaId?: (string) | null;
33327
33327
  /**
33328
- * Instagram only: ID of the comment that mentioned the account. Null for caption mentions and LinkedIn.
33328
+ * Facebook only: ID of the post the Page was mentioned in (or under). Null for LinkedIn and Instagram.
33329
+ */
33330
+ postId?: (string) | null;
33331
+ /**
33332
+ * Instagram and Facebook: ID of the comment that mentioned the account. Null for caption and post mentions and for LinkedIn.
33329
33333
  */
33330
33334
  commentId?: (string) | null;
33331
33335
  accountId?: string;
33332
33336
  accountUsername?: string;
33333
33337
  /**
33334
- * Text that mentioned you: the post text on LinkedIn, the caption or comment text on Instagram. Empty until it has been read.
33338
+ * Text that mentioned you: the post text on LinkedIn, the caption or comment text on Instagram, the post or comment text on Facebook. Empty until it has been read.
33335
33339
  */
33336
33340
  content?: string;
33337
33341
  /**
33338
- * URL to the source post on LinkedIn. Null on Instagram.
33342
+ * URL to the source post on LinkedIn. Null on Instagram and Facebook.
33339
33343
  */
33340
33344
  permalink?: (string) | null;
33341
33345
  /**
33342
- * LinkedIn URN of the person who mentioned you, or the Instagram-scoped ID of the commenter on an Instagram comment mention.
33346
+ * LinkedIn URN of the person who mentioned you, the Instagram-scoped ID of the commenter on an Instagram comment mention, or the ID of the Facebook user or Page that mentioned your Page when Meta sends it.
33343
33347
  */
33344
33348
  authorUrn?: (string) | null;
33345
33349
  /**
33346
- * Display name of the author, resolved from authorUrn. Null when LinkedIn does not allow resolving the profile.
33350
+ * Display name of the author, resolved from authorUrn on LinkedIn (null when LinkedIn does not allow resolving the profile) and taken from the webhook on Facebook.
33347
33351
  */
33348
33352
  authorName?: (string) | null;
33349
33353
  /**
@@ -33355,7 +33359,7 @@ type ListInboxMentionsResponse = ({
33355
33359
  */
33356
33360
  authorPicture?: (string) | null;
33357
33361
  /**
33358
- * URN of the LinkedIn organization that was mentioned, or the Instagram user ID of the mentioned account.
33362
+ * URN of the LinkedIn organization that was mentioned, the Instagram user ID of the mentioned account, or the ID of the mentioned Facebook Page.
33359
33363
  */
33360
33364
  organizationalEntity?: string;
33361
33365
  publishedAt?: string;
package/dist/index.d.ts CHANGED
@@ -33315,35 +33315,39 @@ type ListInboxMentionsResponse = ({
33315
33315
  * Mention document ID
33316
33316
  */
33317
33317
  id?: string;
33318
- platform?: 'linkedin' | 'instagram';
33318
+ platform?: 'linkedin' | 'instagram' | 'facebook';
33319
33319
  /**
33320
- * Instagram only: `caption` when the account was tagged in a media caption, `comment` when it was tagged in a comment. Null for LinkedIn.
33320
+ * Instagram and Facebook: `caption` when the Instagram account was tagged in a media caption, `post` when the Facebook Page was tagged in a post, `comment` when either was tagged in a comment. Null for LinkedIn.
33321
33321
  */
33322
- type?: ('caption' | 'comment') | null;
33322
+ type?: ('caption' | 'post' | 'comment') | null;
33323
33323
  /**
33324
- * Instagram only: ID of the media the account was mentioned in (or under). Null for LinkedIn.
33324
+ * Instagram only: ID of the media the account was mentioned in (or under). Null for LinkedIn and Facebook.
33325
33325
  */
33326
33326
  mediaId?: (string) | null;
33327
33327
  /**
33328
- * Instagram only: ID of the comment that mentioned the account. Null for caption mentions and LinkedIn.
33328
+ * Facebook only: ID of the post the Page was mentioned in (or under). Null for LinkedIn and Instagram.
33329
+ */
33330
+ postId?: (string) | null;
33331
+ /**
33332
+ * Instagram and Facebook: ID of the comment that mentioned the account. Null for caption and post mentions and for LinkedIn.
33329
33333
  */
33330
33334
  commentId?: (string) | null;
33331
33335
  accountId?: string;
33332
33336
  accountUsername?: string;
33333
33337
  /**
33334
- * Text that mentioned you: the post text on LinkedIn, the caption or comment text on Instagram. Empty until it has been read.
33338
+ * Text that mentioned you: the post text on LinkedIn, the caption or comment text on Instagram, the post or comment text on Facebook. Empty until it has been read.
33335
33339
  */
33336
33340
  content?: string;
33337
33341
  /**
33338
- * URL to the source post on LinkedIn. Null on Instagram.
33342
+ * URL to the source post on LinkedIn. Null on Instagram and Facebook.
33339
33343
  */
33340
33344
  permalink?: (string) | null;
33341
33345
  /**
33342
- * LinkedIn URN of the person who mentioned you, or the Instagram-scoped ID of the commenter on an Instagram comment mention.
33346
+ * LinkedIn URN of the person who mentioned you, the Instagram-scoped ID of the commenter on an Instagram comment mention, or the ID of the Facebook user or Page that mentioned your Page when Meta sends it.
33343
33347
  */
33344
33348
  authorUrn?: (string) | null;
33345
33349
  /**
33346
- * Display name of the author, resolved from authorUrn. Null when LinkedIn does not allow resolving the profile.
33350
+ * Display name of the author, resolved from authorUrn on LinkedIn (null when LinkedIn does not allow resolving the profile) and taken from the webhook on Facebook.
33347
33351
  */
33348
33352
  authorName?: (string) | null;
33349
33353
  /**
@@ -33355,7 +33359,7 @@ type ListInboxMentionsResponse = ({
33355
33359
  */
33356
33360
  authorPicture?: (string) | null;
33357
33361
  /**
33358
- * URN of the LinkedIn organization that was mentioned, or the Instagram user ID of the mentioned account.
33362
+ * URN of the LinkedIn organization that was mentioned, the Instagram user ID of the mentioned account, or the ID of the mentioned Facebook Page.
33359
33363
  */
33360
33364
  organizationalEntity?: string;
33361
33365
  publishedAt?: 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.1307",
39
+ version: "0.2.1308",
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.1307",
8
+ version: "0.2.1308",
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.1307",
3
+ "version": "0.2.1308",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5490,6 +5490,10 @@ export const getTweet = <ThrowOnError extends boolean = false>(options: OptionsL
5490
5490
  * own posts are never listed, even when they contain its @handle. Their text is read from Instagram
5491
5491
  * in the background after the first request, so `content` can be empty on the first read. Pass
5492
5492
  * `mediaId` and `commentId` to `POST /v1/inbox/mentions/reply` to answer one.
5493
+ * - **Facebook**: post mentions (someone tags the Page in a post) and comment mentions (someone tags
5494
+ * it in a comment), delivered by the Page `mention` webhook with their text. Comments on the Page's
5495
+ * own posts and anything the Page wrote itself are never listed. Facebook mentions cannot be replied
5496
+ * to through `POST /v1/inbox/mentions/reply`.
5493
5497
  *
5494
5498
  * Requires Inbox addon.
5495
5499
  *
@@ -32923,35 +32923,39 @@ export type ListInboxMentionsResponse = ({
32923
32923
  * Mention document ID
32924
32924
  */
32925
32925
  id?: string;
32926
- platform?: 'linkedin' | 'instagram';
32926
+ platform?: 'linkedin' | 'instagram' | 'facebook';
32927
32927
  /**
32928
- * Instagram only: `caption` when the account was tagged in a media caption, `comment` when it was tagged in a comment. Null for LinkedIn.
32928
+ * Instagram and Facebook: `caption` when the Instagram account was tagged in a media caption, `post` when the Facebook Page was tagged in a post, `comment` when either was tagged in a comment. Null for LinkedIn.
32929
32929
  */
32930
- type?: ('caption' | 'comment') | null;
32930
+ type?: ('caption' | 'post' | 'comment') | null;
32931
32931
  /**
32932
- * Instagram only: ID of the media the account was mentioned in (or under). Null for LinkedIn.
32932
+ * Instagram only: ID of the media the account was mentioned in (or under). Null for LinkedIn and Facebook.
32933
32933
  */
32934
32934
  mediaId?: (string) | null;
32935
32935
  /**
32936
- * Instagram only: ID of the comment that mentioned the account. Null for caption mentions and LinkedIn.
32936
+ * Facebook only: ID of the post the Page was mentioned in (or under). Null for LinkedIn and Instagram.
32937
+ */
32938
+ postId?: (string) | null;
32939
+ /**
32940
+ * Instagram and Facebook: ID of the comment that mentioned the account. Null for caption and post mentions and for LinkedIn.
32937
32941
  */
32938
32942
  commentId?: (string) | null;
32939
32943
  accountId?: string;
32940
32944
  accountUsername?: string;
32941
32945
  /**
32942
- * Text that mentioned you: the post text on LinkedIn, the caption or comment text on Instagram. Empty until it has been read.
32946
+ * Text that mentioned you: the post text on LinkedIn, the caption or comment text on Instagram, the post or comment text on Facebook. Empty until it has been read.
32943
32947
  */
32944
32948
  content?: string;
32945
32949
  /**
32946
- * URL to the source post on LinkedIn. Null on Instagram.
32950
+ * URL to the source post on LinkedIn. Null on Instagram and Facebook.
32947
32951
  */
32948
32952
  permalink?: (string) | null;
32949
32953
  /**
32950
- * LinkedIn URN of the person who mentioned you, or the Instagram-scoped ID of the commenter on an Instagram comment mention.
32954
+ * LinkedIn URN of the person who mentioned you, the Instagram-scoped ID of the commenter on an Instagram comment mention, or the ID of the Facebook user or Page that mentioned your Page when Meta sends it.
32951
32955
  */
32952
32956
  authorUrn?: (string) | null;
32953
32957
  /**
32954
- * Display name of the author, resolved from authorUrn. Null when LinkedIn does not allow resolving the profile.
32958
+ * Display name of the author, resolved from authorUrn on LinkedIn (null when LinkedIn does not allow resolving the profile) and taken from the webhook on Facebook.
32955
32959
  */
32956
32960
  authorName?: (string) | null;
32957
32961
  /**
@@ -32963,7 +32967,7 @@ export type ListInboxMentionsResponse = ({
32963
32967
  */
32964
32968
  authorPicture?: (string) | null;
32965
32969
  /**
32966
- * URN of the LinkedIn organization that was mentioned, or the Instagram user ID of the mentioned account.
32970
+ * URN of the LinkedIn organization that was mentioned, the Instagram user ID of the mentioned account, or the ID of the mentioned Facebook Page.
32967
32971
  */
32968
32972
  organizationalEntity?: string;
32969
32973
  publishedAt?: string;