@getlatedev/node 0.2.566 → 0.2.567
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 +6 -2
- package/dist/index.d.ts +6 -2
- 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 +6 -2
package/dist/index.d.mts
CHANGED
|
@@ -5326,7 +5326,7 @@ type LinkedInPlatformData = {
|
|
|
5326
5326
|
*/
|
|
5327
5327
|
disableLinkPreview?: boolean;
|
|
5328
5328
|
/**
|
|
5329
|
-
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN.
|
|
5329
|
+
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. With content, the published post is a quote-reshare: your text is the commentary and the original is embedded underneath (LinkedIn's "repost with your thoughts"). Leave content empty (and omit customContent) to publish a plain repost with no text, LinkedIn's one-click "Repost". Mutually exclusive with media. Works on personal profiles and organization pages.
|
|
5330
5330
|
*/
|
|
5331
5331
|
reshareUrl?: string;
|
|
5332
5332
|
geoRestriction?: GeoRestriction;
|
|
@@ -9200,6 +9200,10 @@ type WorkflowNode = {
|
|
|
9200
9200
|
x?: number;
|
|
9201
9201
|
y?: number;
|
|
9202
9202
|
};
|
|
9203
|
+
/**
|
|
9204
|
+
* Optional display name shown on the builder canvas and inspector, falling back to the node type when absent. The nodes array is replaced wholesale on update, so it must be resent to be kept.
|
|
9205
|
+
*/
|
|
9206
|
+
label?: string;
|
|
9203
9207
|
};
|
|
9204
9208
|
/**
|
|
9205
9209
|
* Node kind. The 16 supported types break into four groups:
|
|
@@ -11256,7 +11260,7 @@ type CreatePostData = {
|
|
|
11256
11260
|
body: {
|
|
11257
11261
|
title?: string;
|
|
11258
11262
|
/**
|
|
11259
|
-
* Post caption/text. Optional when media is attached
|
|
11263
|
+
* Post caption/text. Optional when media is attached, all platforms have customContent, or every platform entry is a LinkedIn plain repost (platformSpecificData.reshareUrl with no text). Required for text-only posts.
|
|
11260
11264
|
*/
|
|
11261
11265
|
content?: string;
|
|
11262
11266
|
mediaItems?: Array<MediaItem>;
|
package/dist/index.d.ts
CHANGED
|
@@ -5326,7 +5326,7 @@ type LinkedInPlatformData = {
|
|
|
5326
5326
|
*/
|
|
5327
5327
|
disableLinkPreview?: boolean;
|
|
5328
5328
|
/**
|
|
5329
|
-
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN.
|
|
5329
|
+
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. With content, the published post is a quote-reshare: your text is the commentary and the original is embedded underneath (LinkedIn's "repost with your thoughts"). Leave content empty (and omit customContent) to publish a plain repost with no text, LinkedIn's one-click "Repost". Mutually exclusive with media. Works on personal profiles and organization pages.
|
|
5330
5330
|
*/
|
|
5331
5331
|
reshareUrl?: string;
|
|
5332
5332
|
geoRestriction?: GeoRestriction;
|
|
@@ -9200,6 +9200,10 @@ type WorkflowNode = {
|
|
|
9200
9200
|
x?: number;
|
|
9201
9201
|
y?: number;
|
|
9202
9202
|
};
|
|
9203
|
+
/**
|
|
9204
|
+
* Optional display name shown on the builder canvas and inspector, falling back to the node type when absent. The nodes array is replaced wholesale on update, so it must be resent to be kept.
|
|
9205
|
+
*/
|
|
9206
|
+
label?: string;
|
|
9203
9207
|
};
|
|
9204
9208
|
/**
|
|
9205
9209
|
* Node kind. The 16 supported types break into four groups:
|
|
@@ -11256,7 +11260,7 @@ type CreatePostData = {
|
|
|
11256
11260
|
body: {
|
|
11257
11261
|
title?: string;
|
|
11258
11262
|
/**
|
|
11259
|
-
* Post caption/text. Optional when media is attached
|
|
11263
|
+
* Post caption/text. Optional when media is attached, all platforms have customContent, or every platform entry is a LinkedIn plain repost (platformSpecificData.reshareUrl with no text). Required for text-only posts.
|
|
11260
11264
|
*/
|
|
11261
11265
|
content?: string;
|
|
11262
11266
|
mediaItems?: Array<MediaItem>;
|
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.567",
|
|
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.567",
|
|
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
|
@@ -791,7 +791,7 @@ export const listPosts = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
791
791
|
/**
|
|
792
792
|
* Create post
|
|
793
793
|
* Create and optionally publish a post. Immediate posts (`publishNow: true`) include `platformPostUrl` in the response.
|
|
794
|
-
* Content is optional when media is attached
|
|
794
|
+
* Content is optional when media is attached, all platforms have `customContent`, or every platform entry is a LinkedIn plain repost (`platformSpecificData.reshareUrl` with no text). See each platform's schema for media constraints.
|
|
795
795
|
*
|
|
796
796
|
* ## Idempotency
|
|
797
797
|
*
|
|
@@ -4171,7 +4171,7 @@ export type LinkedInPlatformData = {
|
|
|
4171
4171
|
*/
|
|
4172
4172
|
disableLinkPreview?: boolean;
|
|
4173
4173
|
/**
|
|
4174
|
-
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN.
|
|
4174
|
+
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. With content, the published post is a quote-reshare: your text is the commentary and the original is embedded underneath (LinkedIn's "repost with your thoughts"). Leave content empty (and omit customContent) to publish a plain repost with no text, LinkedIn's one-click "Repost". Mutually exclusive with media. Works on personal profiles and organization pages.
|
|
4175
4175
|
*/
|
|
4176
4176
|
reshareUrl?: string;
|
|
4177
4177
|
geoRestriction?: GeoRestriction;
|
|
@@ -8222,6 +8222,10 @@ export type WorkflowNode = {
|
|
|
8222
8222
|
x?: number;
|
|
8223
8223
|
y?: number;
|
|
8224
8224
|
};
|
|
8225
|
+
/**
|
|
8226
|
+
* Optional display name shown on the builder canvas and inspector, falling back to the node type when absent. The nodes array is replaced wholesale on update, so it must be resent to be kept.
|
|
8227
|
+
*/
|
|
8228
|
+
label?: string;
|
|
8225
8229
|
};
|
|
8226
8230
|
|
|
8227
8231
|
/**
|
|
@@ -10416,7 +10420,7 @@ export type CreatePostData = {
|
|
|
10416
10420
|
body: {
|
|
10417
10421
|
title?: string;
|
|
10418
10422
|
/**
|
|
10419
|
-
* Post caption/text. Optional when media is attached
|
|
10423
|
+
* Post caption/text. Optional when media is attached, all platforms have customContent, or every platform entry is a LinkedIn plain repost (platformSpecificData.reshareUrl with no text). Required for text-only posts.
|
|
10420
10424
|
*/
|
|
10421
10425
|
content?: string;
|
|
10422
10426
|
mediaItems?: Array<MediaItem>;
|