@zernio/node 0.2.816 → 0.2.817

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 CHANGED
@@ -7217,6 +7217,60 @@ type LinkedInPlatformData = {
7217
7217
  * Set to true to disable automatic link previews for URLs in the post content (default is false)
7218
7218
  */
7219
7219
  disableLinkPreview?: boolean;
7220
+ /**
7221
+ * Organization pages only. Audience targeting for the post (Ads Manager's "Targeted audience"), sent as LinkedIn's distribution.targetEntities: OR inside a facet, AND across facets. LinkedIn rejects the post when the targeted audience is under 300 members, and Zernio rejects it on a personal profile. URN facets accept a full urn:li:<type>:<id> or the bare numeric id; find ids with GET /v1/ads/targeting/search?platform=linkedin (types country, region, industry, jobFunction, seniority, companySize).
7222
+ */
7223
+ audience?: {
7224
+ /**
7225
+ * ISO 3166-1 alpha-2 codes with a built-in LinkedIn geo URN (same list as geoRestriction.countries, merged with it). Other countries and sub-country regions go in geoLocations.
7226
+ */
7227
+ countries?: Array<(string)>;
7228
+ /**
7229
+ * LinkedIn geo URNs or ids (urn:li:geo:103644278 or 103644278): countries, states, regions, cities.
7230
+ */
7231
+ geoLocations?: Array<(string)>;
7232
+ /**
7233
+ * Members' LinkedIn interface locale, e.g. { language: es, country: ES }.
7234
+ */
7235
+ interfaceLocales?: Array<{
7236
+ /**
7237
+ * ISO 639-1, lowercase
7238
+ */
7239
+ language: string;
7240
+ /**
7241
+ * ISO 3166-1 alpha-2, uppercase
7242
+ */
7243
+ country: string;
7244
+ }>;
7245
+ /**
7246
+ * urn:li:industry:<id> or id.
7247
+ */
7248
+ industries?: Array<(string)>;
7249
+ /**
7250
+ * urn:li:function:<id> or id.
7251
+ */
7252
+ jobFunctions?: Array<(string)>;
7253
+ /**
7254
+ * urn:li:seniority:<id> or id.
7255
+ */
7256
+ seniorities?: Array<(string)>;
7257
+ /**
7258
+ * Company size of the member's current employer.
7259
+ */
7260
+ staffCountRanges?: Array<('SIZE_1' | 'SIZE_2_TO_10' | 'SIZE_11_TO_50' | 'SIZE_51_TO_200' | 'SIZE_201_TO_500' | 'SIZE_501_TO_1000' | 'SIZE_1001_TO_5000' | 'SIZE_5001_TO_10000' | 'SIZE_10001_OR_MORE')>;
7261
+ /**
7262
+ * urn:li:degree:<id> or id (LinkedIn standardized degrees).
7263
+ */
7264
+ degrees?: Array<(string)>;
7265
+ /**
7266
+ * urn:li:fieldOfStudy:<id> or id (LinkedIn standardized fields of study).
7267
+ */
7268
+ fieldsOfStudy?: Array<(string)>;
7269
+ /**
7270
+ * Schools, as urn:li:organization:<id> or id (LinkedIn's Organization Lookup).
7271
+ */
7272
+ organizations?: Array<(string)>;
7273
+ };
7220
7274
  /**
7221
7275
  * 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. The published post is always a reshare authored by your account with the original embedded underneath: with content your text is the commentary (LinkedIn's "repost with your thoughts"), and with no content it publishes as a text-free reshare. A text-free reshare is NOT LinkedIn's one-click "Repost" (the feed treatment where the original author stays the author); LinkedIn's API exposes no way to create that, so the post still appears authored by you with the original embedded. Mutually exclusive with media. Works on personal profiles and organization pages.
7222
7276
  */
package/dist/index.d.ts CHANGED
@@ -7217,6 +7217,60 @@ type LinkedInPlatformData = {
7217
7217
  * Set to true to disable automatic link previews for URLs in the post content (default is false)
7218
7218
  */
7219
7219
  disableLinkPreview?: boolean;
7220
+ /**
7221
+ * Organization pages only. Audience targeting for the post (Ads Manager's "Targeted audience"), sent as LinkedIn's distribution.targetEntities: OR inside a facet, AND across facets. LinkedIn rejects the post when the targeted audience is under 300 members, and Zernio rejects it on a personal profile. URN facets accept a full urn:li:<type>:<id> or the bare numeric id; find ids with GET /v1/ads/targeting/search?platform=linkedin (types country, region, industry, jobFunction, seniority, companySize).
7222
+ */
7223
+ audience?: {
7224
+ /**
7225
+ * ISO 3166-1 alpha-2 codes with a built-in LinkedIn geo URN (same list as geoRestriction.countries, merged with it). Other countries and sub-country regions go in geoLocations.
7226
+ */
7227
+ countries?: Array<(string)>;
7228
+ /**
7229
+ * LinkedIn geo URNs or ids (urn:li:geo:103644278 or 103644278): countries, states, regions, cities.
7230
+ */
7231
+ geoLocations?: Array<(string)>;
7232
+ /**
7233
+ * Members' LinkedIn interface locale, e.g. { language: es, country: ES }.
7234
+ */
7235
+ interfaceLocales?: Array<{
7236
+ /**
7237
+ * ISO 639-1, lowercase
7238
+ */
7239
+ language: string;
7240
+ /**
7241
+ * ISO 3166-1 alpha-2, uppercase
7242
+ */
7243
+ country: string;
7244
+ }>;
7245
+ /**
7246
+ * urn:li:industry:<id> or id.
7247
+ */
7248
+ industries?: Array<(string)>;
7249
+ /**
7250
+ * urn:li:function:<id> or id.
7251
+ */
7252
+ jobFunctions?: Array<(string)>;
7253
+ /**
7254
+ * urn:li:seniority:<id> or id.
7255
+ */
7256
+ seniorities?: Array<(string)>;
7257
+ /**
7258
+ * Company size of the member's current employer.
7259
+ */
7260
+ staffCountRanges?: Array<('SIZE_1' | 'SIZE_2_TO_10' | 'SIZE_11_TO_50' | 'SIZE_51_TO_200' | 'SIZE_201_TO_500' | 'SIZE_501_TO_1000' | 'SIZE_1001_TO_5000' | 'SIZE_5001_TO_10000' | 'SIZE_10001_OR_MORE')>;
7261
+ /**
7262
+ * urn:li:degree:<id> or id (LinkedIn standardized degrees).
7263
+ */
7264
+ degrees?: Array<(string)>;
7265
+ /**
7266
+ * urn:li:fieldOfStudy:<id> or id (LinkedIn standardized fields of study).
7267
+ */
7268
+ fieldsOfStudy?: Array<(string)>;
7269
+ /**
7270
+ * Schools, as urn:li:organization:<id> or id (LinkedIn's Organization Lookup).
7271
+ */
7272
+ organizations?: Array<(string)>;
7273
+ };
7220
7274
  /**
7221
7275
  * 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. The published post is always a reshare authored by your account with the original embedded underneath: with content your text is the commentary (LinkedIn's "repost with your thoughts"), and with no content it publishes as a text-free reshare. A text-free reshare is NOT LinkedIn's one-click "Repost" (the feed treatment where the original author stays the author); LinkedIn's API exposes no way to create that, so the post still appears authored by you with the original embedded. Mutually exclusive with media. Works on personal profiles and organization pages.
7222
7276
  */
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.816",
39
+ version: "0.2.817",
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.816",
8
+ version: "0.2.817",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.816",
3
+ "version": "0.2.817",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5801,6 +5801,60 @@ export type LinkedInPlatformData = {
5801
5801
  * Set to true to disable automatic link previews for URLs in the post content (default is false)
5802
5802
  */
5803
5803
  disableLinkPreview?: boolean;
5804
+ /**
5805
+ * Organization pages only. Audience targeting for the post (Ads Manager's "Targeted audience"), sent as LinkedIn's distribution.targetEntities: OR inside a facet, AND across facets. LinkedIn rejects the post when the targeted audience is under 300 members, and Zernio rejects it on a personal profile. URN facets accept a full urn:li:<type>:<id> or the bare numeric id; find ids with GET /v1/ads/targeting/search?platform=linkedin (types country, region, industry, jobFunction, seniority, companySize).
5806
+ */
5807
+ audience?: {
5808
+ /**
5809
+ * ISO 3166-1 alpha-2 codes with a built-in LinkedIn geo URN (same list as geoRestriction.countries, merged with it). Other countries and sub-country regions go in geoLocations.
5810
+ */
5811
+ countries?: Array<(string)>;
5812
+ /**
5813
+ * LinkedIn geo URNs or ids (urn:li:geo:103644278 or 103644278): countries, states, regions, cities.
5814
+ */
5815
+ geoLocations?: Array<(string)>;
5816
+ /**
5817
+ * Members' LinkedIn interface locale, e.g. { language: es, country: ES }.
5818
+ */
5819
+ interfaceLocales?: Array<{
5820
+ /**
5821
+ * ISO 639-1, lowercase
5822
+ */
5823
+ language: string;
5824
+ /**
5825
+ * ISO 3166-1 alpha-2, uppercase
5826
+ */
5827
+ country: string;
5828
+ }>;
5829
+ /**
5830
+ * urn:li:industry:<id> or id.
5831
+ */
5832
+ industries?: Array<(string)>;
5833
+ /**
5834
+ * urn:li:function:<id> or id.
5835
+ */
5836
+ jobFunctions?: Array<(string)>;
5837
+ /**
5838
+ * urn:li:seniority:<id> or id.
5839
+ */
5840
+ seniorities?: Array<(string)>;
5841
+ /**
5842
+ * Company size of the member's current employer.
5843
+ */
5844
+ staffCountRanges?: Array<('SIZE_1' | 'SIZE_2_TO_10' | 'SIZE_11_TO_50' | 'SIZE_51_TO_200' | 'SIZE_201_TO_500' | 'SIZE_501_TO_1000' | 'SIZE_1001_TO_5000' | 'SIZE_5001_TO_10000' | 'SIZE_10001_OR_MORE')>;
5845
+ /**
5846
+ * urn:li:degree:<id> or id (LinkedIn standardized degrees).
5847
+ */
5848
+ degrees?: Array<(string)>;
5849
+ /**
5850
+ * urn:li:fieldOfStudy:<id> or id (LinkedIn standardized fields of study).
5851
+ */
5852
+ fieldsOfStudy?: Array<(string)>;
5853
+ /**
5854
+ * Schools, as urn:li:organization:<id> or id (LinkedIn's Organization Lookup).
5855
+ */
5856
+ organizations?: Array<(string)>;
5857
+ };
5804
5858
  /**
5805
5859
  * 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. The published post is always a reshare authored by your account with the original embedded underneath: with content your text is the commentary (LinkedIn's "repost with your thoughts"), and with no content it publishes as a text-free reshare. A text-free reshare is NOT LinkedIn's one-click "Repost" (the feed treatment where the original author stays the author); LinkedIn's API exposes no way to create that, so the post still appears authored by you with the original embedded. Mutually exclusive with media. Works on personal profiles and organization pages.
5806
5860
  */