@getlatedev/node 0.2.1408 → 0.2.1410
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 +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -1
- package/src/generated/types.gen.ts +5 -3
package/dist/index.d.mts
CHANGED
|
@@ -24071,8 +24071,8 @@ type GetLinkedInDemographicsData = {
|
|
|
24071
24071
|
*/
|
|
24072
24072
|
accountId: string;
|
|
24073
24073
|
/**
|
|
24074
|
-
* Comma-separated list of demographic dimensions: function, seniority, industry, company_size.
|
|
24075
|
-
* Defaults to
|
|
24074
|
+
* Comma-separated list of demographic dimensions: function, seniority, industry, company_size, country, region.
|
|
24075
|
+
* Defaults to function, seniority, industry and company_size if omitted. Country and region are returned only when requested.
|
|
24076
24076
|
*
|
|
24077
24077
|
*/
|
|
24078
24078
|
breakdown?: string;
|
|
@@ -24093,7 +24093,7 @@ type GetLinkedInDemographicsResponse = ({
|
|
|
24093
24093
|
*/
|
|
24094
24094
|
dimension?: string;
|
|
24095
24095
|
/**
|
|
24096
|
-
* LinkedIn URN (urn:li:function:8) or staff count range (SIZE_2_TO_10)
|
|
24096
|
+
* LinkedIn URN (urn:li:function:8 or urn:li:geo:103644278) or staff count range (SIZE_2_TO_10)
|
|
24097
24097
|
*/
|
|
24098
24098
|
id?: string;
|
|
24099
24099
|
/**
|
|
@@ -29210,6 +29210,8 @@ type ConnectAdsData = {
|
|
|
29210
29210
|
*
|
|
29211
29211
|
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
29212
29212
|
* - Shown only with `welcome=true`: the workspace's saved "on by default" (`PUT /v1/connect/welcome-screen`) applies to GET /v1/connect/{platform} only, so ads links behave as before unless you opt in. The saved brand still fills in what the call leaves out.
|
|
29213
|
+
* - Without `adAccountId` or `adAccountIds`, on Meta, Google, LinkedIn, X, Reddit and Microsoft, the user then picks the ad accounts to connect on a branded Zernio-hosted page (skipped when the login reaches only one).
|
|
29214
|
+
* - After that page the flow ends on your `redirect_url` with `connected` set to the ads platform and `accountId` to the ads connection.
|
|
29213
29215
|
* - Cannot be combined with `headless=true` (400 `INVALID_FIELD_VALUE`).
|
|
29214
29216
|
* - Responses with `alreadyConnected: true` carry no `authUrl`, so they show no screen.
|
|
29215
29217
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -24071,8 +24071,8 @@ type GetLinkedInDemographicsData = {
|
|
|
24071
24071
|
*/
|
|
24072
24072
|
accountId: string;
|
|
24073
24073
|
/**
|
|
24074
|
-
* Comma-separated list of demographic dimensions: function, seniority, industry, company_size.
|
|
24075
|
-
* Defaults to
|
|
24074
|
+
* Comma-separated list of demographic dimensions: function, seniority, industry, company_size, country, region.
|
|
24075
|
+
* Defaults to function, seniority, industry and company_size if omitted. Country and region are returned only when requested.
|
|
24076
24076
|
*
|
|
24077
24077
|
*/
|
|
24078
24078
|
breakdown?: string;
|
|
@@ -24093,7 +24093,7 @@ type GetLinkedInDemographicsResponse = ({
|
|
|
24093
24093
|
*/
|
|
24094
24094
|
dimension?: string;
|
|
24095
24095
|
/**
|
|
24096
|
-
* LinkedIn URN (urn:li:function:8) or staff count range (SIZE_2_TO_10)
|
|
24096
|
+
* LinkedIn URN (urn:li:function:8 or urn:li:geo:103644278) or staff count range (SIZE_2_TO_10)
|
|
24097
24097
|
*/
|
|
24098
24098
|
id?: string;
|
|
24099
24099
|
/**
|
|
@@ -29210,6 +29210,8 @@ type ConnectAdsData = {
|
|
|
29210
29210
|
*
|
|
29211
29211
|
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
29212
29212
|
* - Shown only with `welcome=true`: the workspace's saved "on by default" (`PUT /v1/connect/welcome-screen`) applies to GET /v1/connect/{platform} only, so ads links behave as before unless you opt in. The saved brand still fills in what the call leaves out.
|
|
29213
|
+
* - Without `adAccountId` or `adAccountIds`, on Meta, Google, LinkedIn, X, Reddit and Microsoft, the user then picks the ad accounts to connect on a branded Zernio-hosted page (skipped when the login reaches only one).
|
|
29214
|
+
* - After that page the flow ends on your `redirect_url` with `connected` set to the ads platform and `accountId` to the ads connection.
|
|
29213
29215
|
* - Cannot be combined with `headless=true` (400 `INVALID_FIELD_VALUE`).
|
|
29214
29216
|
* - Responses with `alreadyConnected: true` carry no `authUrl`, so they show no screen.
|
|
29215
29217
|
*
|
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.1410",
|
|
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.1410",
|
|
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
|
@@ -446,12 +446,13 @@ export const getFacebookDemographics = <ThrowOnError extends boolean = false>(op
|
|
|
446
446
|
|
|
447
447
|
/**
|
|
448
448
|
* Get LinkedIn organization follower demographics
|
|
449
|
-
* Returns the lifetime follower breakdown of a connected LinkedIn organization page by job function, seniority, industry and company size.
|
|
449
|
+
* Returns the lifetime follower breakdown of a connected LinkedIn organization page by job function, seniority, industry, company size, country and region. Without `breakdown` it returns function, seniority, industry and company size; country and region are returned only when requested.
|
|
450
450
|
*
|
|
451
451
|
* ### Labels
|
|
452
452
|
*
|
|
453
453
|
* - Function, seniority and industry are labelled with LinkedIn's standardized names (English) and keep the LinkedIn URN in `id`.
|
|
454
454
|
* - Company size is labelled as a range such as `2-10` or `10001+`.
|
|
455
|
+
* - Country and region are labelled with LinkedIn's geo names (English) and keep `urn:li:geo:*` in `id`. A region is a LinkedIn market area, for example New York City Metropolitan Area.
|
|
455
456
|
*
|
|
456
457
|
* LinkedIn returns at most the top 100 values per breakdown and leaves out followers whose profile lacks that field, so a breakdown does not add up to the follower count.
|
|
457
458
|
*
|
|
@@ -22799,8 +22799,8 @@ export type GetLinkedInDemographicsData = {
|
|
|
22799
22799
|
*/
|
|
22800
22800
|
accountId: string;
|
|
22801
22801
|
/**
|
|
22802
|
-
* Comma-separated list of demographic dimensions: function, seniority, industry, company_size.
|
|
22803
|
-
* Defaults to
|
|
22802
|
+
* Comma-separated list of demographic dimensions: function, seniority, industry, company_size, country, region.
|
|
22803
|
+
* Defaults to function, seniority, industry and company_size if omitted. Country and region are returned only when requested.
|
|
22804
22804
|
*
|
|
22805
22805
|
*/
|
|
22806
22806
|
breakdown?: string;
|
|
@@ -22822,7 +22822,7 @@ export type GetLinkedInDemographicsResponse = ({
|
|
|
22822
22822
|
*/
|
|
22823
22823
|
dimension?: string;
|
|
22824
22824
|
/**
|
|
22825
|
-
* LinkedIn URN (urn:li:function:8) or staff count range (SIZE_2_TO_10)
|
|
22825
|
+
* LinkedIn URN (urn:li:function:8 or urn:li:geo:103644278) or staff count range (SIZE_2_TO_10)
|
|
22826
22826
|
*/
|
|
22827
22827
|
id?: string;
|
|
22828
22828
|
/**
|
|
@@ -28271,6 +28271,8 @@ export type ConnectAdsData = {
|
|
|
28271
28271
|
*
|
|
28272
28272
|
* - With no `redirect_url`, the flow ends on the branded result page instead of the Zernio dashboard.
|
|
28273
28273
|
* - Shown only with `welcome=true`: the workspace's saved "on by default" (`PUT /v1/connect/welcome-screen`) applies to GET /v1/connect/{platform} only, so ads links behave as before unless you opt in. The saved brand still fills in what the call leaves out.
|
|
28274
|
+
* - Without `adAccountId` or `adAccountIds`, on Meta, Google, LinkedIn, X, Reddit and Microsoft, the user then picks the ad accounts to connect on a branded Zernio-hosted page (skipped when the login reaches only one).
|
|
28275
|
+
* - After that page the flow ends on your `redirect_url` with `connected` set to the ads platform and `accountId` to the ads connection.
|
|
28274
28276
|
* - Cannot be combined with `headless=true` (400 `INVALID_FIELD_VALUE`).
|
|
28275
28277
|
* - Responses with `alreadyConnected: true` carry no `authUrl`, so they show no screen.
|
|
28276
28278
|
*
|