@getlatedev/node 0.2.283 → 0.2.285

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
@@ -2763,6 +2763,10 @@ type InstagramPlatformData = {
2763
2763
  * Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
2764
2764
  */
2765
2765
  reelCover?: string;
2766
+ /**
2767
+ * When true, the post is labeled by Instagram as containing AI-generated media. Per Meta, this self-disclosure label is for AI-generated media, not AI-written captions. Applies to feed posts, Reels, Stories, and carousels.
2768
+ */
2769
+ isAiGenerated?: boolean;
2766
2770
  };
2767
2771
  /**
2768
2772
  * Set to 'story' to publish as a Story. Default posts become Reels or feed depending on media.
@@ -16929,7 +16933,9 @@ type CreateBroadcastData = {
16929
16933
  template?: {
16930
16934
  name?: string;
16931
16935
  language?: string;
16932
- components?: unknown[];
16936
+ components?: Array<{
16937
+ [key: string]: unknown;
16938
+ }>;
16933
16939
  /**
16934
16940
  * Maps template variable positions ("1", "2") to contact fields or static values. Resolved per recipient at send time.
16935
16941
  */
package/dist/index.d.ts CHANGED
@@ -2763,6 +2763,10 @@ type InstagramPlatformData = {
2763
2763
  * Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
2764
2764
  */
2765
2765
  reelCover?: string;
2766
+ /**
2767
+ * When true, the post is labeled by Instagram as containing AI-generated media. Per Meta, this self-disclosure label is for AI-generated media, not AI-written captions. Applies to feed posts, Reels, Stories, and carousels.
2768
+ */
2769
+ isAiGenerated?: boolean;
2766
2770
  };
2767
2771
  /**
2768
2772
  * Set to 'story' to publish as a Story. Default posts become Reels or feed depending on media.
@@ -16929,7 +16933,9 @@ type CreateBroadcastData = {
16929
16933
  template?: {
16930
16934
  name?: string;
16931
16935
  language?: string;
16932
- components?: unknown[];
16936
+ components?: Array<{
16937
+ [key: string]: unknown;
16938
+ }>;
16933
16939
  /**
16934
16940
  * Maps template variable positions ("1", "2") to contact fields or static values. Resolved per recipient at send time.
16935
16941
  */
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.283",
39
+ version: "0.2.285",
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.283",
8
+ version: "0.2.285",
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.283",
3
+ "version": "0.2.285",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2075,6 +2075,10 @@ export type InstagramPlatformData = {
2075
2075
  * Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
2076
2076
  */
2077
2077
  reelCover?: string;
2078
+ /**
2079
+ * When true, the post is labeled by Instagram as containing AI-generated media. Per Meta, this self-disclosure label is for AI-generated media, not AI-written captions. Applies to feed posts, Reels, Stories, and carousels.
2080
+ */
2081
+ isAiGenerated?: boolean;
2078
2082
  };
2079
2083
 
2080
2084
  /**
@@ -17254,7 +17258,9 @@ export type CreateBroadcastData = {
17254
17258
  template?: {
17255
17259
  name?: string;
17256
17260
  language?: string;
17257
- components?: unknown[];
17261
+ components?: Array<{
17262
+ [key: string]: unknown;
17263
+ }>;
17258
17264
  /**
17259
17265
  * Maps template variable positions ("1", "2") to contact fields or static values. Resolved per recipient at send time.
17260
17266
  */