@zernio/node 0.2.455 → 0.2.457
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 +14 -11
- package/dist/index.d.ts +14 -11
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +14 -11
package/dist/index.d.mts
CHANGED
|
@@ -4182,20 +4182,23 @@ type LinkedInAdsPlatformData = {
|
|
|
4182
4182
|
urn: string;
|
|
4183
4183
|
};
|
|
4184
4184
|
/**
|
|
4185
|
-
* POST /v1/ads/create only.
|
|
4186
|
-
*
|
|
4187
|
-
*
|
|
4188
|
-
*
|
|
4189
|
-
*
|
|
4190
|
-
*
|
|
4191
|
-
*
|
|
4192
|
-
*
|
|
4193
|
-
*
|
|
4185
|
+
* POST /v1/ads/create only. Sponsors an existing LinkedIn post
|
|
4186
|
+
* (a share or ugcPost authored by your organization's Company
|
|
4187
|
+
* Page) as the creative, keeping its commentary, author and
|
|
4188
|
+
* engagement. Unlike boostPost, which provisions its own
|
|
4189
|
+
* CampaignGroup + Campaign around the post, this variant
|
|
4190
|
+
* attaches the reference under the campaign /v1/ads/create
|
|
4191
|
+
* builds — same shape as every other format, so the caller can
|
|
4192
|
+
* pick bidding / targeting / schedule freely. No headline, body,
|
|
4193
|
+
* imageUrl or organization are needed; the referenced post
|
|
4194
|
+
* carries its own commentary and author. Mutually exclusive
|
|
4195
|
+
* with the other creative sources. Posts from personal profiles
|
|
4196
|
+
* (Thought Leader Ads) are NOT supported (see postUrn).
|
|
4194
4197
|
*
|
|
4195
4198
|
*/
|
|
4196
4199
|
thoughtLeader?: {
|
|
4197
4200
|
/**
|
|
4198
|
-
* LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via "Copy link to post" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id).
|
|
4201
|
+
* LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via "Copy link to post" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). The post must be authored by an organization (Company Page). Member (personal profile) posts, i.e. Thought Leader Ads proper, are rejected by LinkedIn's public Marketing API regardless of sponsorship approval and of post type (a LinkedIn limitation; their Campaign Manager creates those through a private API). Referencing a member post returns a 422 with a clear error.
|
|
4199
4202
|
*
|
|
4200
4203
|
*/
|
|
4201
4204
|
postUrn: string;
|
|
@@ -9603,7 +9606,7 @@ type GetMediaPresignedUrlData = {
|
|
|
9603
9606
|
/**
|
|
9604
9607
|
* MIME type of the file
|
|
9605
9608
|
*/
|
|
9606
|
-
contentType: 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/gif' | 'video/mp4' | 'video/mpeg' | 'video/quicktime' | 'video/avi' | 'video/x-msvideo' | 'video/webm' | 'video/x-m4v' | 'application/pdf';
|
|
9609
|
+
contentType: 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/gif' | 'video/mp4' | 'video/mpeg' | 'video/quicktime' | 'video/avi' | 'video/x-msvideo' | 'video/webm' | 'video/x-m4v' | 'application/pdf' | 'audio/mpeg' | 'audio/mp4' | 'audio/aac' | 'audio/ogg' | 'audio/wav' | 'audio/webm' | 'audio/x-m4a';
|
|
9607
9610
|
/**
|
|
9608
9611
|
* Optional file size in bytes for pre-validation (max 5GB)
|
|
9609
9612
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -4182,20 +4182,23 @@ type LinkedInAdsPlatformData = {
|
|
|
4182
4182
|
urn: string;
|
|
4183
4183
|
};
|
|
4184
4184
|
/**
|
|
4185
|
-
* POST /v1/ads/create only.
|
|
4186
|
-
*
|
|
4187
|
-
*
|
|
4188
|
-
*
|
|
4189
|
-
*
|
|
4190
|
-
*
|
|
4191
|
-
*
|
|
4192
|
-
*
|
|
4193
|
-
*
|
|
4185
|
+
* POST /v1/ads/create only. Sponsors an existing LinkedIn post
|
|
4186
|
+
* (a share or ugcPost authored by your organization's Company
|
|
4187
|
+
* Page) as the creative, keeping its commentary, author and
|
|
4188
|
+
* engagement. Unlike boostPost, which provisions its own
|
|
4189
|
+
* CampaignGroup + Campaign around the post, this variant
|
|
4190
|
+
* attaches the reference under the campaign /v1/ads/create
|
|
4191
|
+
* builds — same shape as every other format, so the caller can
|
|
4192
|
+
* pick bidding / targeting / schedule freely. No headline, body,
|
|
4193
|
+
* imageUrl or organization are needed; the referenced post
|
|
4194
|
+
* carries its own commentary and author. Mutually exclusive
|
|
4195
|
+
* with the other creative sources. Posts from personal profiles
|
|
4196
|
+
* (Thought Leader Ads) are NOT supported (see postUrn).
|
|
4194
4197
|
*
|
|
4195
4198
|
*/
|
|
4196
4199
|
thoughtLeader?: {
|
|
4197
4200
|
/**
|
|
4198
|
-
* LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via "Copy link to post" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id).
|
|
4201
|
+
* LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via "Copy link to post" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). The post must be authored by an organization (Company Page). Member (personal profile) posts, i.e. Thought Leader Ads proper, are rejected by LinkedIn's public Marketing API regardless of sponsorship approval and of post type (a LinkedIn limitation; their Campaign Manager creates those through a private API). Referencing a member post returns a 422 with a clear error.
|
|
4199
4202
|
*
|
|
4200
4203
|
*/
|
|
4201
4204
|
postUrn: string;
|
|
@@ -9603,7 +9606,7 @@ type GetMediaPresignedUrlData = {
|
|
|
9603
9606
|
/**
|
|
9604
9607
|
* MIME type of the file
|
|
9605
9608
|
*/
|
|
9606
|
-
contentType: 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/gif' | 'video/mp4' | 'video/mpeg' | 'video/quicktime' | 'video/avi' | 'video/x-msvideo' | 'video/webm' | 'video/x-m4v' | 'application/pdf';
|
|
9609
|
+
contentType: 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/gif' | 'video/mp4' | 'video/mpeg' | 'video/quicktime' | 'video/avi' | 'video/x-msvideo' | 'video/webm' | 'video/x-m4v' | 'application/pdf' | 'audio/mpeg' | 'audio/mp4' | 'audio/aac' | 'audio/ogg' | 'audio/wav' | 'audio/webm' | 'audio/x-m4a';
|
|
9607
9610
|
/**
|
|
9608
9611
|
* Optional file size in bytes for pre-validation (max 5GB)
|
|
9609
9612
|
*/
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.457",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.457",
|
|
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
|
@@ -3105,20 +3105,23 @@ export type LinkedInAdsPlatformData = {
|
|
|
3105
3105
|
urn: string;
|
|
3106
3106
|
};
|
|
3107
3107
|
/**
|
|
3108
|
-
* POST /v1/ads/create only.
|
|
3109
|
-
*
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
*
|
|
3116
|
-
*
|
|
3108
|
+
* POST /v1/ads/create only. Sponsors an existing LinkedIn post
|
|
3109
|
+
* (a share or ugcPost authored by your organization's Company
|
|
3110
|
+
* Page) as the creative, keeping its commentary, author and
|
|
3111
|
+
* engagement. Unlike boostPost, which provisions its own
|
|
3112
|
+
* CampaignGroup + Campaign around the post, this variant
|
|
3113
|
+
* attaches the reference under the campaign /v1/ads/create
|
|
3114
|
+
* builds — same shape as every other format, so the caller can
|
|
3115
|
+
* pick bidding / targeting / schedule freely. No headline, body,
|
|
3116
|
+
* imageUrl or organization are needed; the referenced post
|
|
3117
|
+
* carries its own commentary and author. Mutually exclusive
|
|
3118
|
+
* with the other creative sources. Posts from personal profiles
|
|
3119
|
+
* (Thought Leader Ads) are NOT supported (see postUrn).
|
|
3117
3120
|
*
|
|
3118
3121
|
*/
|
|
3119
3122
|
thoughtLeader?: {
|
|
3120
3123
|
/**
|
|
3121
|
-
* LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via "Copy link to post" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id).
|
|
3124
|
+
* LinkedIn share or ugcPost URN, urn:li:share:N or urn:li:ugcPost:N. Get it via "Copy link to post" on the target LinkedIn post (the URL contains -share- for a share or -ugcPost- for a ugcPost, then the numeric id). The post must be authored by an organization (Company Page). Member (personal profile) posts, i.e. Thought Leader Ads proper, are rejected by LinkedIn's public Marketing API regardless of sponsorship approval and of post type (a LinkedIn limitation; their Campaign Manager creates those through a private API). Referencing a member post returns a 422 with a clear error.
|
|
3122
3125
|
*
|
|
3123
3126
|
*/
|
|
3124
3127
|
postUrn: string;
|
|
@@ -8808,7 +8811,7 @@ export type GetMediaPresignedUrlData = {
|
|
|
8808
8811
|
/**
|
|
8809
8812
|
* MIME type of the file
|
|
8810
8813
|
*/
|
|
8811
|
-
contentType: 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/gif' | 'video/mp4' | 'video/mpeg' | 'video/quicktime' | 'video/avi' | 'video/x-msvideo' | 'video/webm' | 'video/x-m4v' | 'application/pdf';
|
|
8814
|
+
contentType: 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/webp' | 'image/gif' | 'video/mp4' | 'video/mpeg' | 'video/quicktime' | 'video/avi' | 'video/x-msvideo' | 'video/webm' | 'video/x-m4v' | 'application/pdf' | 'audio/mpeg' | 'audio/mp4' | 'audio/aac' | 'audio/ogg' | 'audio/wav' | 'audio/webm' | 'audio/x-m4a';
|
|
8812
8815
|
/**
|
|
8813
8816
|
* Optional file size in bytes for pre-validation (max 5GB)
|
|
8814
8817
|
*/
|