@getlatedev/node 0.2.566 → 0.2.568
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 +11 -6
- package/dist/index.d.ts +11 -6
- 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 +11 -6
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>;
|
|
@@ -29891,8 +29895,9 @@ type CreateStandaloneAdData = {
|
|
|
29891
29895
|
* The attached ad takes the full single-creative surface:
|
|
29892
29896
|
* `headline`/`body`/`description`/`callToAction` plus either
|
|
29893
29897
|
* `imageUrl`/`video` OR `placementAssets` (its own per-placement
|
|
29894
|
-
* Feed/Story assets)
|
|
29895
|
-
*
|
|
29898
|
+
* Feed/Story assets) OR `translations`/`defaultLocale` (its own
|
|
29899
|
+
* per-locale asset feed, Meta only), and `leadGenFormId` when
|
|
29900
|
+
* the target is a lead ad set (the parent must be ON_AD, true for ad sets
|
|
29896
29901
|
* created via goal `lead_generation`; Meta rejects a formless ad
|
|
29897
29902
|
* there, so pass the form on EVERY attached ad). This is the way
|
|
29898
29903
|
* to build N full ads sharing one ad set: create the first ad
|
|
@@ -30248,8 +30253,8 @@ type CreateStandaloneAdData = {
|
|
|
30248
30253
|
* works on a normal ad may be rejected with "The following images have invalid
|
|
30249
30254
|
* dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
|
|
30250
30255
|
*
|
|
30251
|
-
* Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards
|
|
30252
|
-
* `existingCreativeId`
|
|
30256
|
+
* Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards`,
|
|
30257
|
+
* `existingCreativeId` and `creatives[]`. Meta allows one `asset_feed_spec` shape per creative.
|
|
30253
30258
|
*
|
|
30254
30259
|
*/
|
|
30255
30260
|
translations?: Array<{
|
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>;
|
|
@@ -29891,8 +29895,9 @@ type CreateStandaloneAdData = {
|
|
|
29891
29895
|
* The attached ad takes the full single-creative surface:
|
|
29892
29896
|
* `headline`/`body`/`description`/`callToAction` plus either
|
|
29893
29897
|
* `imageUrl`/`video` OR `placementAssets` (its own per-placement
|
|
29894
|
-
* Feed/Story assets)
|
|
29895
|
-
*
|
|
29898
|
+
* Feed/Story assets) OR `translations`/`defaultLocale` (its own
|
|
29899
|
+
* per-locale asset feed, Meta only), and `leadGenFormId` when
|
|
29900
|
+
* the target is a lead ad set (the parent must be ON_AD, true for ad sets
|
|
29896
29901
|
* created via goal `lead_generation`; Meta rejects a formless ad
|
|
29897
29902
|
* there, so pass the form on EVERY attached ad). This is the way
|
|
29898
29903
|
* to build N full ads sharing one ad set: create the first ad
|
|
@@ -30248,8 +30253,8 @@ type CreateStandaloneAdData = {
|
|
|
30248
30253
|
* works on a normal ad may be rejected with "The following images have invalid
|
|
30249
30254
|
* dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
|
|
30250
30255
|
*
|
|
30251
|
-
* Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards
|
|
30252
|
-
* `existingCreativeId`
|
|
30256
|
+
* Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards`,
|
|
30257
|
+
* `existingCreativeId` and `creatives[]`. Meta allows one `asset_feed_spec` shape per creative.
|
|
30253
30258
|
*
|
|
30254
30259
|
*/
|
|
30255
30260
|
translations?: Array<{
|
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.568",
|
|
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.568",
|
|
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>;
|
|
@@ -30417,8 +30421,9 @@ export type CreateStandaloneAdData = {
|
|
|
30417
30421
|
* The attached ad takes the full single-creative surface:
|
|
30418
30422
|
* `headline`/`body`/`description`/`callToAction` plus either
|
|
30419
30423
|
* `imageUrl`/`video` OR `placementAssets` (its own per-placement
|
|
30420
|
-
* Feed/Story assets)
|
|
30421
|
-
*
|
|
30424
|
+
* Feed/Story assets) OR `translations`/`defaultLocale` (its own
|
|
30425
|
+
* per-locale asset feed, Meta only), and `leadGenFormId` when
|
|
30426
|
+
* the target is a lead ad set (the parent must be ON_AD, true for ad sets
|
|
30422
30427
|
* created via goal `lead_generation`; Meta rejects a formless ad
|
|
30423
30428
|
* there, so pass the form on EVERY attached ad). This is the way
|
|
30424
30429
|
* to build N full ads sharing one ad set: create the first ad
|
|
@@ -30774,8 +30779,8 @@ export type CreateStandaloneAdData = {
|
|
|
30774
30779
|
* works on a normal ad may be rejected with "The following images have invalid
|
|
30775
30780
|
* dimensions for Dynamic Creative" (subcode 1885558). Video is not affected.
|
|
30776
30781
|
*
|
|
30777
|
-
* Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards
|
|
30778
|
-
* `existingCreativeId`
|
|
30782
|
+
* Mutually exclusive with `dynamicCreative`, `placementAssets`, `carouselCards`,
|
|
30783
|
+
* `existingCreativeId` and `creatives[]`. Meta allows one `asset_feed_spec` shape per creative.
|
|
30779
30784
|
*
|
|
30780
30785
|
*/
|
|
30781
30786
|
translations?: Array<{
|