@getlatedev/node 0.2.1187 → 0.2.1189
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -11124,7 +11124,7 @@ type PostAnalytics = {
|
|
|
11124
11124
|
*/
|
|
11125
11125
|
reposts?: number;
|
|
11126
11126
|
/**
|
|
11127
|
-
* Video length in seconds.
|
|
11127
|
+
* Video length in seconds. Filled for public YouTube videos once their analytics next refresh (from the Data API; live streams may report null). The YouTube Data API has no Shorts flag: a video over 180 seconds cannot be a Short, but a shorter one may be a regular upload. Also filled for Instagram Reels (combine with igReelsAvgWatchTime (ms) to estimate retention). Null when unknown: platforms that do not report a length, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio.
|
|
11128
11128
|
*/
|
|
11129
11129
|
videoDurationSeconds?: (number) | null;
|
|
11130
11130
|
/**
|
|
@@ -27911,11 +27911,11 @@ type ListInboxConversationsData = {
|
|
|
27911
27911
|
*/
|
|
27912
27912
|
cursor?: string;
|
|
27913
27913
|
/**
|
|
27914
|
-
* requests lists Facebook and Instagram Message Requests (threads from people the account has not accepted) live from Meta,
|
|
27914
|
+
* requests lists Facebook and Instagram Message Requests (threads from people the account has not accepted) live from Meta, each item with `folder: requests`. Meta has no accept call: replying moves a thread to the inbox, which is what POST /v1/inbox/conversations/{conversationId}/accept does. When Meta will not list the folder for the one account asked (`accountId`), the call answers 400 PLATFORM_LIMITATION; across several accounts the refusal is reported per account in meta.failedAccounts. Instagram accounts connected with Instagram Login answer PLATFORM_LIMITATION (Meta does not expose the folder on that login); Facebook and Instagram via Facebook Login are served. One page of up to `limit` threads; `pagination.hasMore` is true when threads past `limit` were cut (narrow with `accountId`), `pagination.nextCursor` is always null and a `cursor` answers 400.
|
|
27915
27915
|
*/
|
|
27916
27916
|
folder?: 'inbox' | 'requests';
|
|
27917
27917
|
/**
|
|
27918
|
-
* Maximum number of conversations to return
|
|
27918
|
+
* Maximum number of conversations to return; values above 100 are served as 100.
|
|
27919
27919
|
*/
|
|
27920
27920
|
limit?: number;
|
|
27921
27921
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -11124,7 +11124,7 @@ type PostAnalytics = {
|
|
|
11124
11124
|
*/
|
|
11125
11125
|
reposts?: number;
|
|
11126
11126
|
/**
|
|
11127
|
-
* Video length in seconds.
|
|
11127
|
+
* Video length in seconds. Filled for public YouTube videos once their analytics next refresh (from the Data API; live streams may report null). The YouTube Data API has no Shorts flag: a video over 180 seconds cannot be a Short, but a shorter one may be a regular upload. Also filled for Instagram Reels (combine with igReelsAvgWatchTime (ms) to estimate retention). Null when unknown: platforms that do not report a length, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio.
|
|
11128
11128
|
*/
|
|
11129
11129
|
videoDurationSeconds?: (number) | null;
|
|
11130
11130
|
/**
|
|
@@ -27911,11 +27911,11 @@ type ListInboxConversationsData = {
|
|
|
27911
27911
|
*/
|
|
27912
27912
|
cursor?: string;
|
|
27913
27913
|
/**
|
|
27914
|
-
* requests lists Facebook and Instagram Message Requests (threads from people the account has not accepted) live from Meta,
|
|
27914
|
+
* requests lists Facebook and Instagram Message Requests (threads from people the account has not accepted) live from Meta, each item with `folder: requests`. Meta has no accept call: replying moves a thread to the inbox, which is what POST /v1/inbox/conversations/{conversationId}/accept does. When Meta will not list the folder for the one account asked (`accountId`), the call answers 400 PLATFORM_LIMITATION; across several accounts the refusal is reported per account in meta.failedAccounts. Instagram accounts connected with Instagram Login answer PLATFORM_LIMITATION (Meta does not expose the folder on that login); Facebook and Instagram via Facebook Login are served. One page of up to `limit` threads; `pagination.hasMore` is true when threads past `limit` were cut (narrow with `accountId`), `pagination.nextCursor` is always null and a `cursor` answers 400.
|
|
27915
27915
|
*/
|
|
27916
27916
|
folder?: 'inbox' | 'requests';
|
|
27917
27917
|
/**
|
|
27918
|
-
* Maximum number of conversations to return
|
|
27918
|
+
* Maximum number of conversations to return; values above 100 are served as 100.
|
|
27919
27919
|
*/
|
|
27920
27920
|
limit?: number;
|
|
27921
27921
|
/**
|
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.1189",
|
|
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.1189",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -2828,7 +2828,7 @@ export const getLinkedInOrganizations = <ThrowOnError extends boolean = false>(o
|
|
|
2828
2828
|
|
|
2829
2829
|
/**
|
|
2830
2830
|
* Get LinkedIn aggregate stats
|
|
2831
|
-
* Returns aggregate analytics across all posts for a LinkedIn personal account.
|
|
2831
|
+
* Returns aggregate analytics across all posts for a LinkedIn personal account. Covers every post authored by the member, whether or not it was published through Zernio (LinkedIn aggregates by member, not by post). Org accounts should use /v1/analytics instead. Requires r_member_postAnalytics scope. Saves (POST_SAVE) and sends (POST_SEND) are available for personal accounts; organization pages always return 0 for these two metrics because LinkedIn does not expose them on the organization analytics endpoint.
|
|
2832
2832
|
*/
|
|
2833
2833
|
export const getLinkedInAggregateAnalytics = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetLinkedInAggregateAnalyticsData, ThrowOnError>) => {
|
|
2834
2834
|
return (options?.client ?? client).get<GetLinkedInAggregateAnalyticsResponse, GetLinkedInAggregateAnalyticsError, ThrowOnError>({
|
|
@@ -9512,7 +9512,7 @@ export type PostAnalytics = {
|
|
|
9512
9512
|
*/
|
|
9513
9513
|
reposts?: number;
|
|
9514
9514
|
/**
|
|
9515
|
-
* Video length in seconds.
|
|
9515
|
+
* Video length in seconds. Filled for public YouTube videos once their analytics next refresh (from the Data API; live streams may report null). The YouTube Data API has no Shorts flag: a video over 180 seconds cannot be a Short, but a shorter one may be a regular upload. Also filled for Instagram Reels (combine with igReelsAvgWatchTime (ms) to estimate retention). Null when unknown: platforms that do not report a length, non-video media, or when Instagram does not expose the media URL, e.g. reels with copyrighted audio.
|
|
9516
9516
|
*/
|
|
9517
9517
|
videoDurationSeconds?: (number) | null;
|
|
9518
9518
|
/**
|
|
@@ -27279,11 +27279,11 @@ export type ListInboxConversationsData = {
|
|
|
27279
27279
|
*/
|
|
27280
27280
|
cursor?: string;
|
|
27281
27281
|
/**
|
|
27282
|
-
* requests lists Facebook and Instagram Message Requests (threads from people the account has not accepted) live from Meta,
|
|
27282
|
+
* requests lists Facebook and Instagram Message Requests (threads from people the account has not accepted) live from Meta, each item with `folder: requests`. Meta has no accept call: replying moves a thread to the inbox, which is what POST /v1/inbox/conversations/{conversationId}/accept does. When Meta will not list the folder for the one account asked (`accountId`), the call answers 400 PLATFORM_LIMITATION; across several accounts the refusal is reported per account in meta.failedAccounts. Instagram accounts connected with Instagram Login answer PLATFORM_LIMITATION (Meta does not expose the folder on that login); Facebook and Instagram via Facebook Login are served. One page of up to `limit` threads; `pagination.hasMore` is true when threads past `limit` were cut (narrow with `accountId`), `pagination.nextCursor` is always null and a `cursor` answers 400.
|
|
27283
27283
|
*/
|
|
27284
27284
|
folder?: 'inbox' | 'requests';
|
|
27285
27285
|
/**
|
|
27286
|
-
* Maximum number of conversations to return
|
|
27286
|
+
* Maximum number of conversations to return; values above 100 are served as 100.
|
|
27287
27287
|
*/
|
|
27288
27288
|
limit?: number;
|
|
27289
27289
|
/**
|