@getlatedev/node 0.2.1432 → 0.2.1434

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
@@ -6743,22 +6743,30 @@ type CampaignSubmissionFlag = {
6743
6743
  };
6744
6744
  type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
6745
6745
  /**
6746
- * Facebook only. The media on a comment (sticker, GIF, photo, shared link or video). One attachment per
6747
- * comment, a single object. URLs are expiring Meta CDN links (oe= expiry), so fetch promptly. Instagram
6748
- * comments carry no media.
6746
+ * The media on a comment or reply, one per comment (the first item when the platform returns several).
6747
+ * `type` is the platform's own media kind:
6748
+ *
6749
+ * - Facebook: sticker, animated_image_share, photo, image_share, share or video_inline.
6750
+ * - TikTok: image.
6751
+ * - X: photo, video or animated_gif. A video `url` is an mp4 and `imageUrl` its preview.
6752
+ * - Threads: IMAGE, VIDEO or GIF. Album replies carry no attachment.
6753
+ * - Bluesky: image, video or external (link cards, GIFs arrive this way). A video `url` is an HLS playlist (.m3u8).
6754
+ *
6755
+ * Facebook and Threads URLs are expiring Meta CDN links, so fetch promptly.
6756
+ * Instagram, YouTube, LinkedIn and Reddit comments carry no media.
6749
6757
  *
6750
6758
  */
6751
6759
  type CommentAttachment = {
6752
6760
  /**
6753
- * Attachment type as Facebook reports it, for example sticker, animated_image_share, photo, image_share, share or video_inline.
6761
+ * The platform's own media kind, see the schema description for each platform's values.
6754
6762
  */
6755
6763
  type: string;
6756
6764
  /**
6757
- * Rendered image/preview URL (from attachment.media.image.src).
6765
+ * Rendered image or preview URL.
6758
6766
  */
6759
6767
  imageUrl?: string;
6760
6768
  /**
6761
- * Source URL (from attachment.url). For GIFs this is an l.facebook.com redirect.
6769
+ * Source or playable URL. Facebook GIFs carry an l.facebook.com redirect, X videos an mp4, Bluesky videos an HLS playlist.
6762
6770
  */
6763
6771
  url?: string;
6764
6772
  };
@@ -27803,7 +27811,7 @@ type ListAccountsData = {
27803
27811
  */
27804
27812
  adAccountRows?: boolean;
27805
27813
  /**
27806
- * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
27814
+ * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit, Microsoft), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
27807
27815
  */
27808
27816
  category?: 'social' | 'ads' | 'communication' | 'blogs' | 'crm' | 'analytics';
27809
27817
  /**
@@ -39262,7 +39270,7 @@ type GetInboxPostCommentsResponse = ({
39262
39270
  */
39263
39271
  isLiked?: boolean;
39264
39272
  /**
39265
- * Facebook only. The comment's sticker, GIF, photo, share or video, whenever Facebook returns one (replies included). Absent when the comment has no media and on every other platform.
39273
+ * The comment's media, whenever the platform returns one (replies included). Supported on Facebook, TikTok, X, Threads and Bluesky; absent when the comment has no media and on every other platform. See CommentAttachment for each platform's `type` values.
39266
39274
  */
39267
39275
  attachment?: (CommentAttachment);
39268
39276
  /**
package/dist/index.d.ts CHANGED
@@ -6743,22 +6743,30 @@ type CampaignSubmissionFlag = {
6743
6743
  };
6744
6744
  type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
6745
6745
  /**
6746
- * Facebook only. The media on a comment (sticker, GIF, photo, shared link or video). One attachment per
6747
- * comment, a single object. URLs are expiring Meta CDN links (oe= expiry), so fetch promptly. Instagram
6748
- * comments carry no media.
6746
+ * The media on a comment or reply, one per comment (the first item when the platform returns several).
6747
+ * `type` is the platform's own media kind:
6748
+ *
6749
+ * - Facebook: sticker, animated_image_share, photo, image_share, share or video_inline.
6750
+ * - TikTok: image.
6751
+ * - X: photo, video or animated_gif. A video `url` is an mp4 and `imageUrl` its preview.
6752
+ * - Threads: IMAGE, VIDEO or GIF. Album replies carry no attachment.
6753
+ * - Bluesky: image, video or external (link cards, GIFs arrive this way). A video `url` is an HLS playlist (.m3u8).
6754
+ *
6755
+ * Facebook and Threads URLs are expiring Meta CDN links, so fetch promptly.
6756
+ * Instagram, YouTube, LinkedIn and Reddit comments carry no media.
6749
6757
  *
6750
6758
  */
6751
6759
  type CommentAttachment = {
6752
6760
  /**
6753
- * Attachment type as Facebook reports it, for example sticker, animated_image_share, photo, image_share, share or video_inline.
6761
+ * The platform's own media kind, see the schema description for each platform's values.
6754
6762
  */
6755
6763
  type: string;
6756
6764
  /**
6757
- * Rendered image/preview URL (from attachment.media.image.src).
6765
+ * Rendered image or preview URL.
6758
6766
  */
6759
6767
  imageUrl?: string;
6760
6768
  /**
6761
- * Source URL (from attachment.url). For GIFs this is an l.facebook.com redirect.
6769
+ * Source or playable URL. Facebook GIFs carry an l.facebook.com redirect, X videos an mp4, Bluesky videos an HLS playlist.
6762
6770
  */
6763
6771
  url?: string;
6764
6772
  };
@@ -27803,7 +27811,7 @@ type ListAccountsData = {
27803
27811
  */
27804
27812
  adAccountRows?: boolean;
27805
27813
  /**
27806
- * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
27814
+ * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit, Microsoft), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
27807
27815
  */
27808
27816
  category?: 'social' | 'ads' | 'communication' | 'blogs' | 'crm' | 'analytics';
27809
27817
  /**
@@ -39262,7 +39270,7 @@ type GetInboxPostCommentsResponse = ({
39262
39270
  */
39263
39271
  isLiked?: boolean;
39264
39272
  /**
39265
- * Facebook only. The comment's sticker, GIF, photo, share or video, whenever Facebook returns one (replies included). Absent when the comment has no media and on every other platform.
39273
+ * The comment's media, whenever the platform returns one (replies included). Supported on Facebook, TikTok, X, Threads and Bluesky; absent when the comment has no media and on every other platform. See CommentAttachment for each platform's `type` values.
39266
39274
  */
39267
39275
  attachment?: (CommentAttachment);
39268
39276
  /**
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.1432",
39
+ version: "0.2.1434",
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.1432",
8
+ version: "0.2.1434",
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.1432",
3
+ "version": "0.2.1434",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16507,7 +16507,7 @@ export const replaceGoogleListingGroupFilters = <ThrowOnError extends boolean =
16507
16507
  * Create standalone ad
16508
16508
  * Creates a paid ad with your own creative, building the campaign and ad set it needs or adding it to existing ones.
16509
16509
  *
16510
- * Works across Meta, Google Ads, Pinterest, TikTok, X, LinkedIn, OpenAI Ads (ChatGPT Ads) and Reddit Ads. Per-platform required fields, budget minimums, and video-ad rules are documented on each property below.
16510
+ * Works across Meta, Google Ads, Pinterest, TikTok, X, LinkedIn, OpenAI Ads (ChatGPT Ads), Reddit Ads and Microsoft Ads. Per-platform required fields, budget minimums, and video-ad rules are documented on each property below.
16511
16511
  *
16512
16512
  * ### Request shapes
16513
16513
  *
@@ -4669,22 +4669,30 @@ export type CampaignSubmissionFlag = {
4669
4669
  export type code = 'duplicate_media' | 'duplicate_post' | 'view_spike' | 'linked_accounts' | 'cross_operator' | 'unreachable' | 'post_deleted' | 'account_restricted' | 'low_authenticity' | 'x_read_cap' | 'paid_views' | 'organic_unverified';
4670
4670
 
4671
4671
  /**
4672
- * Facebook only. The media on a comment (sticker, GIF, photo, shared link or video). One attachment per
4673
- * comment, a single object. URLs are expiring Meta CDN links (oe= expiry), so fetch promptly. Instagram
4674
- * comments carry no media.
4672
+ * The media on a comment or reply, one per comment (the first item when the platform returns several).
4673
+ * `type` is the platform's own media kind:
4674
+ *
4675
+ * - Facebook: sticker, animated_image_share, photo, image_share, share or video_inline.
4676
+ * - TikTok: image.
4677
+ * - X: photo, video or animated_gif. A video `url` is an mp4 and `imageUrl` its preview.
4678
+ * - Threads: IMAGE, VIDEO or GIF. Album replies carry no attachment.
4679
+ * - Bluesky: image, video or external (link cards, GIFs arrive this way). A video `url` is an HLS playlist (.m3u8).
4680
+ *
4681
+ * Facebook and Threads URLs are expiring Meta CDN links, so fetch promptly.
4682
+ * Instagram, YouTube, LinkedIn and Reddit comments carry no media.
4675
4683
  *
4676
4684
  */
4677
4685
  export type CommentAttachment = {
4678
4686
  /**
4679
- * Attachment type as Facebook reports it, for example sticker, animated_image_share, photo, image_share, share or video_inline.
4687
+ * The platform's own media kind, see the schema description for each platform's values.
4680
4688
  */
4681
4689
  type: string;
4682
4690
  /**
4683
- * Rendered image/preview URL (from attachment.media.image.src).
4691
+ * Rendered image or preview URL.
4684
4692
  */
4685
4693
  imageUrl?: string;
4686
4694
  /**
4687
- * Source URL (from attachment.url). For GIFs this is an l.facebook.com redirect.
4695
+ * Source or playable URL. Facebook GIFs carry an l.facebook.com redirect, X videos an mp4, Bluesky videos an HLS playlist.
4688
4696
  */
4689
4697
  url?: string;
4690
4698
  };
@@ -26793,7 +26801,7 @@ export type ListAccountsData = {
26793
26801
  */
26794
26802
  adAccountRows?: boolean;
26795
26803
  /**
26796
- * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
26804
+ * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI, Reddit, Microsoft), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, crm = HubSpot, analytics = Google Analytics, social = every other platform.
26797
26805
  */
26798
26806
  category?: 'social' | 'ads' | 'communication' | 'blogs' | 'crm' | 'analytics';
26799
26807
  /**
@@ -39038,7 +39046,7 @@ export type GetInboxPostCommentsResponse = ({
39038
39046
  */
39039
39047
  isLiked?: boolean;
39040
39048
  /**
39041
- * Facebook only. The comment's sticker, GIF, photo, share or video, whenever Facebook returns one (replies included). Absent when the comment has no media and on every other platform.
39049
+ * The comment's media, whenever the platform returns one (replies included). Supported on Facebook, TikTok, X, Threads and Bluesky; absent when the comment has no media and on every other platform. See CommentAttachment for each platform's `type` values.
39042
39050
  */
39043
39051
  attachment?: (CommentAttachment);
39044
39052
  /**