@getlatedev/node 0.2.1754 → 0.2.1755

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
@@ -54792,11 +54792,18 @@ type ReplyToInboxPostData = {
54792
54792
  */
54793
54793
  message: string;
54794
54794
  /**
54795
- * (Facebook, Bluesky and LinkedIn) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54795
+ * (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54796
54796
  */
54797
54797
  attachmentUrl?: string;
54798
54798
  /**
54799
- * (Facebook only) How Facebook publishes `attachmentUrl`: `image` (default) as a photo comment, `gif` as an animated GIF comment. A GIF sent as `image` is stored as a still photo. Requires `attachmentUrl`. Returns 400 on other platforms.
54799
+ * (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
54800
+ *
54801
+ * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
54802
+ * - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
54803
+ * - `gif`: forces an animated GIF.
54804
+ * - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
54805
+ * - Facebook gets a GIPHY link as its direct GIF.
54806
+ *
54800
54807
  */
54801
54808
  attachmentType?: 'image' | 'gif';
54802
54809
  /**
package/dist/index.d.ts CHANGED
@@ -54792,11 +54792,18 @@ type ReplyToInboxPostData = {
54792
54792
  */
54793
54793
  message: string;
54794
54794
  /**
54795
- * (Facebook, Bluesky and LinkedIn) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54795
+ * (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
54796
54796
  */
54797
54797
  attachmentUrl?: string;
54798
54798
  /**
54799
- * (Facebook only) How Facebook publishes `attachmentUrl`: `image` (default) as a photo comment, `gif` as an animated GIF comment. A GIF sent as `image` is stored as a still photo. Requires `attachmentUrl`. Returns 400 on other platforms.
54799
+ * (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
54800
+ *
54801
+ * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
54802
+ * - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
54803
+ * - `gif`: forces an animated GIF.
54804
+ * - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
54805
+ * - Facebook gets a GIPHY link as its direct GIF.
54806
+ *
54800
54807
  */
54801
54808
  attachmentType?: 'image' | 'gif';
54802
54809
  /**
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.1754",
39
+ version: "0.2.1755",
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.1754",
8
+ version: "0.2.1755",
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.1754",
3
+ "version": "0.2.1755",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -55007,11 +55007,18 @@ export type ReplyToInboxPostData = {
55007
55007
  */
55008
55008
  message: string;
55009
55009
  /**
55010
- * (Facebook, Bluesky and LinkedIn) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
55010
+ * (Facebook, Bluesky, LinkedIn and Threads) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.
55011
55011
  */
55012
55012
  attachmentUrl?: string;
55013
55013
  /**
55014
- * (Facebook only) How Facebook publishes `attachmentUrl`: `image` (default) as a photo comment, `gif` as an animated GIF comment. A GIF sent as `image` is stored as a still photo. Requires `attachmentUrl`. Returns 400 on other platforms.
55014
+ * (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
55015
+ *
55016
+ * - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads), `.gif` paths, and an `image/gif` response on Threads.
55017
+ * - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
55018
+ * - `gif`: forces an animated GIF.
55019
+ * - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
55020
+ * - Facebook gets a GIPHY link as its direct GIF.
55021
+ *
55015
55022
  */
55016
55023
  attachmentType?: 'image' | 'gif';
55017
55024
  /**