@getlatedev/node 0.2.1754 → 0.2.1756
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 +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +13 -2
package/dist/index.d.mts
CHANGED
|
@@ -21936,6 +21936,10 @@ type PostMetricsResponse = {
|
|
|
21936
21936
|
* With include=total: the posts the list holds, counted on the first page and carried by the cursor.
|
|
21937
21937
|
*/
|
|
21938
21938
|
total: (number | null);
|
|
21939
|
+
/**
|
|
21940
|
+
* On a list of posts: the accounts this read queued for a fresh sync, because they were never synced or their stored numbers are over 90 minutes old. The answer holds the stored numbers; the synced ones arrive within minutes.
|
|
21941
|
+
*/
|
|
21942
|
+
syncRequestedAccountIds?: Array<(string)>;
|
|
21939
21943
|
/**
|
|
21940
21944
|
* With groupBy=format: how many of the newest posts the metrics sum, and the most it reads. Below limit, every post of the range is counted.
|
|
21941
21945
|
*/
|
|
@@ -54792,11 +54796,18 @@ type ReplyToInboxPostData = {
|
|
|
54792
54796
|
*/
|
|
54793
54797
|
message: string;
|
|
54794
54798
|
/**
|
|
54795
|
-
* (Facebook, Bluesky and
|
|
54799
|
+
* (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
54800
|
*/
|
|
54797
54801
|
attachmentUrl?: string;
|
|
54798
54802
|
/**
|
|
54799
|
-
* (Facebook
|
|
54803
|
+
* (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
|
|
54804
|
+
*
|
|
54805
|
+
* - 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.
|
|
54806
|
+
* - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
|
|
54807
|
+
* - `gif`: forces an animated GIF.
|
|
54808
|
+
* - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
|
|
54809
|
+
* - Facebook gets a GIPHY link as its direct GIF.
|
|
54810
|
+
*
|
|
54800
54811
|
*/
|
|
54801
54812
|
attachmentType?: 'image' | 'gif';
|
|
54802
54813
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -21936,6 +21936,10 @@ type PostMetricsResponse = {
|
|
|
21936
21936
|
* With include=total: the posts the list holds, counted on the first page and carried by the cursor.
|
|
21937
21937
|
*/
|
|
21938
21938
|
total: (number | null);
|
|
21939
|
+
/**
|
|
21940
|
+
* On a list of posts: the accounts this read queued for a fresh sync, because they were never synced or their stored numbers are over 90 minutes old. The answer holds the stored numbers; the synced ones arrive within minutes.
|
|
21941
|
+
*/
|
|
21942
|
+
syncRequestedAccountIds?: Array<(string)>;
|
|
21939
21943
|
/**
|
|
21940
21944
|
* With groupBy=format: how many of the newest posts the metrics sum, and the most it reads. Below limit, every post of the range is counted.
|
|
21941
21945
|
*/
|
|
@@ -54792,11 +54796,18 @@ type ReplyToInboxPostData = {
|
|
|
54792
54796
|
*/
|
|
54793
54797
|
message: string;
|
|
54794
54798
|
/**
|
|
54795
|
-
* (Facebook, Bluesky and
|
|
54799
|
+
* (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
54800
|
*/
|
|
54797
54801
|
attachmentUrl?: string;
|
|
54798
54802
|
/**
|
|
54799
|
-
* (Facebook
|
|
54803
|
+
* (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
|
|
54804
|
+
*
|
|
54805
|
+
* - 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.
|
|
54806
|
+
* - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
|
|
54807
|
+
* - `gif`: forces an animated GIF.
|
|
54808
|
+
* - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
|
|
54809
|
+
* - Facebook gets a GIPHY link as its direct GIF.
|
|
54810
|
+
*
|
|
54800
54811
|
*/
|
|
54801
54812
|
attachmentType?: 'image' | 'gif';
|
|
54802
54813
|
/**
|
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.
|
|
39
|
+
version: "0.2.1756",
|
|
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.
|
|
8
|
+
version: "0.2.1756",
|
|
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
|
@@ -20172,6 +20172,10 @@ export type PostMetricsResponse = {
|
|
|
20172
20172
|
* With include=total: the posts the list holds, counted on the first page and carried by the cursor.
|
|
20173
20173
|
*/
|
|
20174
20174
|
total: (number | null);
|
|
20175
|
+
/**
|
|
20176
|
+
* On a list of posts: the accounts this read queued for a fresh sync, because they were never synced or their stored numbers are over 90 minutes old. The answer holds the stored numbers; the synced ones arrive within minutes.
|
|
20177
|
+
*/
|
|
20178
|
+
syncRequestedAccountIds?: Array<(string)>;
|
|
20175
20179
|
/**
|
|
20176
20180
|
* With groupBy=format: how many of the newest posts the metrics sum, and the most it reads. Below limit, every post of the range is counted.
|
|
20177
20181
|
*/
|
|
@@ -55007,11 +55011,18 @@ export type ReplyToInboxPostData = {
|
|
|
55007
55011
|
*/
|
|
55008
55012
|
message: string;
|
|
55009
55013
|
/**
|
|
55010
|
-
* (Facebook, Bluesky and
|
|
55014
|
+
* (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
55015
|
*/
|
|
55012
55016
|
attachmentUrl?: string;
|
|
55013
55017
|
/**
|
|
55014
|
-
* (Facebook
|
|
55018
|
+
* (Facebook and Threads, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms.
|
|
55019
|
+
*
|
|
55020
|
+
* - 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.
|
|
55021
|
+
* - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG.
|
|
55022
|
+
* - `gif`: forces an animated GIF.
|
|
55023
|
+
* - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`.
|
|
55024
|
+
* - Facebook gets a GIPHY link as its direct GIF.
|
|
55025
|
+
*
|
|
55015
55026
|
*/
|
|
55016
55027
|
attachmentType?: 'image' | 'gif';
|
|
55017
55028
|
/**
|