@getlatedev/node 0.2.593 → 0.2.595
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 +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -4
package/dist/index.d.mts
CHANGED
|
@@ -5566,9 +5566,9 @@ type PlatformTarget = {
|
|
|
5566
5566
|
*/
|
|
5567
5567
|
platformPostId?: string;
|
|
5568
5568
|
/**
|
|
5569
|
-
* Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time.
|
|
5569
|
+
* Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later.
|
|
5570
5570
|
*/
|
|
5571
|
-
platformPostUrl?: string;
|
|
5571
|
+
platformPostUrl?: (string) | null;
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Timestamp when the post was published to this platform
|
|
5574
5574
|
*/
|
|
@@ -30797,6 +30797,8 @@ type CreateStandaloneAdData = {
|
|
|
30797
30797
|
*
|
|
30798
30798
|
* Meta bid strategy applied to the ad set.
|
|
30799
30799
|
*
|
|
30800
|
+
* OpenAI Ads: required on every ad group via this flat field, the only channel it supports (`platformSpecificData` is Meta/LinkedIn-only and returns 400 for OpenAI). No auto-bid option exists; send `LOWEST_COST_WITH_BID_CAP` or `COST_CAP` together with `bidAmount`, omitting it returns 400.
|
|
30801
|
+
*
|
|
30800
30802
|
* @deprecated
|
|
30801
30803
|
*/
|
|
30802
30804
|
bidStrategy?: (BidStrategy);
|
|
@@ -31123,7 +31125,7 @@ type ListLeadsResponse = ({
|
|
|
31123
31125
|
*/
|
|
31124
31126
|
id?: string;
|
|
31125
31127
|
/**
|
|
31126
|
-
* Meta lead id.
|
|
31128
|
+
* Meta lead id. On LinkedIn, the leadFormResponse id.
|
|
31127
31129
|
*/
|
|
31128
31130
|
leadgenId?: string;
|
|
31129
31131
|
formId?: string;
|
|
@@ -31131,6 +31133,9 @@ type ListLeadsResponse = ({
|
|
|
31131
31133
|
accountId?: string;
|
|
31132
31134
|
adId?: (string) | null;
|
|
31133
31135
|
adsetId?: (string) | null;
|
|
31136
|
+
/**
|
|
31137
|
+
* On LinkedIn, this is the LinkedIn Campaign id, which corresponds to platformAdSetId on GET /v1/ads (LinkedIn's Campaign Group is Zernio's campaign).
|
|
31138
|
+
*/
|
|
31134
31139
|
campaignId?: (string) | null;
|
|
31135
31140
|
isOrganic?: boolean;
|
|
31136
31141
|
/**
|
|
@@ -31138,7 +31143,7 @@ type ListLeadsResponse = ({
|
|
|
31138
31143
|
*/
|
|
31139
31144
|
createdTime?: (string) | null;
|
|
31140
31145
|
/**
|
|
31141
|
-
* Question key → answer.
|
|
31146
|
+
* Question key → answer. On LinkedIn, the key is the lowercased predefinedField, else the question name, else the numeric questionId; multiple-choice values are option labels (unlike Meta, which returns the option key).
|
|
31142
31147
|
*/
|
|
31143
31148
|
fields?: {
|
|
31144
31149
|
[key: string]: (string);
|
package/dist/index.d.ts
CHANGED
|
@@ -5566,9 +5566,9 @@ type PlatformTarget = {
|
|
|
5566
5566
|
*/
|
|
5567
5567
|
platformPostId?: string;
|
|
5568
5568
|
/**
|
|
5569
|
-
* Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time.
|
|
5569
|
+
* Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later.
|
|
5570
5570
|
*/
|
|
5571
|
-
platformPostUrl?: string;
|
|
5571
|
+
platformPostUrl?: (string) | null;
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Timestamp when the post was published to this platform
|
|
5574
5574
|
*/
|
|
@@ -30797,6 +30797,8 @@ type CreateStandaloneAdData = {
|
|
|
30797
30797
|
*
|
|
30798
30798
|
* Meta bid strategy applied to the ad set.
|
|
30799
30799
|
*
|
|
30800
|
+
* OpenAI Ads: required on every ad group via this flat field, the only channel it supports (`platformSpecificData` is Meta/LinkedIn-only and returns 400 for OpenAI). No auto-bid option exists; send `LOWEST_COST_WITH_BID_CAP` or `COST_CAP` together with `bidAmount`, omitting it returns 400.
|
|
30801
|
+
*
|
|
30800
30802
|
* @deprecated
|
|
30801
30803
|
*/
|
|
30802
30804
|
bidStrategy?: (BidStrategy);
|
|
@@ -31123,7 +31125,7 @@ type ListLeadsResponse = ({
|
|
|
31123
31125
|
*/
|
|
31124
31126
|
id?: string;
|
|
31125
31127
|
/**
|
|
31126
|
-
* Meta lead id.
|
|
31128
|
+
* Meta lead id. On LinkedIn, the leadFormResponse id.
|
|
31127
31129
|
*/
|
|
31128
31130
|
leadgenId?: string;
|
|
31129
31131
|
formId?: string;
|
|
@@ -31131,6 +31133,9 @@ type ListLeadsResponse = ({
|
|
|
31131
31133
|
accountId?: string;
|
|
31132
31134
|
adId?: (string) | null;
|
|
31133
31135
|
adsetId?: (string) | null;
|
|
31136
|
+
/**
|
|
31137
|
+
* On LinkedIn, this is the LinkedIn Campaign id, which corresponds to platformAdSetId on GET /v1/ads (LinkedIn's Campaign Group is Zernio's campaign).
|
|
31138
|
+
*/
|
|
31134
31139
|
campaignId?: (string) | null;
|
|
31135
31140
|
isOrganic?: boolean;
|
|
31136
31141
|
/**
|
|
@@ -31138,7 +31143,7 @@ type ListLeadsResponse = ({
|
|
|
31138
31143
|
*/
|
|
31139
31144
|
createdTime?: (string) | null;
|
|
31140
31145
|
/**
|
|
31141
|
-
* Question key → answer.
|
|
31146
|
+
* Question key → answer. On LinkedIn, the key is the lowercased predefinedField, else the question name, else the numeric questionId; multiple-choice values are option labels (unlike Meta, which returns the option key).
|
|
31142
31147
|
*/
|
|
31143
31148
|
fields?: {
|
|
31144
31149
|
[key: string]: (string);
|
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.595",
|
|
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.595",
|
|
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
|
@@ -4426,9 +4426,9 @@ export type PlatformTarget = {
|
|
|
4426
4426
|
*/
|
|
4427
4427
|
platformPostId?: string;
|
|
4428
4428
|
/**
|
|
4429
|
-
* Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time.
|
|
4429
|
+
* Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time. Empty when the platform confirmed the publish without returning an id a permalink can be built from (TikTok returns a publish id for some uploads); the TikTok reconcile cron backfills it later.
|
|
4430
4430
|
*/
|
|
4431
|
-
platformPostUrl?: string;
|
|
4431
|
+
platformPostUrl?: (string) | null;
|
|
4432
4432
|
/**
|
|
4433
4433
|
* Timestamp when the post was published to this platform
|
|
4434
4434
|
*/
|
|
@@ -31338,6 +31338,8 @@ export type CreateStandaloneAdData = {
|
|
|
31338
31338
|
*
|
|
31339
31339
|
* Meta bid strategy applied to the ad set.
|
|
31340
31340
|
*
|
|
31341
|
+
* OpenAI Ads: required on every ad group via this flat field, the only channel it supports (`platformSpecificData` is Meta/LinkedIn-only and returns 400 for OpenAI). No auto-bid option exists; send `LOWEST_COST_WITH_BID_CAP` or `COST_CAP` together with `bidAmount`, omitting it returns 400.
|
|
31342
|
+
*
|
|
31341
31343
|
* @deprecated
|
|
31342
31344
|
*/
|
|
31343
31345
|
bidStrategy?: (BidStrategy);
|
|
@@ -31668,7 +31670,7 @@ export type ListLeadsResponse = ({
|
|
|
31668
31670
|
*/
|
|
31669
31671
|
id?: string;
|
|
31670
31672
|
/**
|
|
31671
|
-
* Meta lead id.
|
|
31673
|
+
* Meta lead id. On LinkedIn, the leadFormResponse id.
|
|
31672
31674
|
*/
|
|
31673
31675
|
leadgenId?: string;
|
|
31674
31676
|
formId?: string;
|
|
@@ -31676,6 +31678,9 @@ export type ListLeadsResponse = ({
|
|
|
31676
31678
|
accountId?: string;
|
|
31677
31679
|
adId?: (string) | null;
|
|
31678
31680
|
adsetId?: (string) | null;
|
|
31681
|
+
/**
|
|
31682
|
+
* On LinkedIn, this is the LinkedIn Campaign id, which corresponds to platformAdSetId on GET /v1/ads (LinkedIn's Campaign Group is Zernio's campaign).
|
|
31683
|
+
*/
|
|
31679
31684
|
campaignId?: (string) | null;
|
|
31680
31685
|
isOrganic?: boolean;
|
|
31681
31686
|
/**
|
|
@@ -31683,7 +31688,7 @@ export type ListLeadsResponse = ({
|
|
|
31683
31688
|
*/
|
|
31684
31689
|
createdTime?: (string) | null;
|
|
31685
31690
|
/**
|
|
31686
|
-
* Question key → answer.
|
|
31691
|
+
* Question key → answer. On LinkedIn, the key is the lowercased predefinedField, else the question name, else the numeric questionId; multiple-choice values are option labels (unlike Meta, which returns the option key).
|
|
31687
31692
|
*/
|
|
31688
31693
|
fields?: {
|
|
31689
31694
|
[key: string]: (string);
|