@getlatedev/node 0.2.1213 → 0.2.1215
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 +6 -2
- package/dist/index.d.ts +6 -2
- 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 +6 -2
package/dist/index.d.mts
CHANGED
|
@@ -2333,6 +2333,10 @@ type Ad = {
|
|
|
2333
2333
|
* Alternative image URL
|
|
2334
2334
|
*/
|
|
2335
2335
|
imageUrl?: string;
|
|
2336
|
+
/**
|
|
2337
|
+
* Google Display only. Resource name of the landscape marketing image asset (`creative.imageUrl`), for example customers/1234567890/assets/123. Set at creation and updated when PUT /v1/ads/{adId} replaces `creative.imageUrl`; replacing only `creative.squareImageUrl` leaves it unchanged.
|
|
2338
|
+
*/
|
|
2339
|
+
assetResourceName?: string;
|
|
2336
2340
|
/**
|
|
2337
2341
|
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
2338
2342
|
*/
|
|
@@ -39017,7 +39021,7 @@ type CreateWorkflowData = {
|
|
|
39017
39021
|
body: {
|
|
39018
39022
|
profileId: string;
|
|
39019
39023
|
accountId: string;
|
|
39020
|
-
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit';
|
|
39024
|
+
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok';
|
|
39021
39025
|
name: string;
|
|
39022
39026
|
description?: string;
|
|
39023
39027
|
nodes?: Array<WorkflowNode>;
|
|
@@ -39078,7 +39082,7 @@ type UpdateWorkflowData = {
|
|
|
39078
39082
|
edges?: Array<WorkflowEdge>;
|
|
39079
39083
|
entryNodeId?: (string) | null;
|
|
39080
39084
|
/**
|
|
39081
|
-
* Reassign the workflow to a different `SocialAccount`. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit). Changing this triggers a graph revalidation against the new platform.
|
|
39085
|
+
* Reassign the workflow to a different `SocialAccount`. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit, tiktok). Changing this triggers a graph revalidation against the new platform.
|
|
39082
39086
|
*
|
|
39083
39087
|
*/
|
|
39084
39088
|
accountId?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2333,6 +2333,10 @@ type Ad = {
|
|
|
2333
2333
|
* Alternative image URL
|
|
2334
2334
|
*/
|
|
2335
2335
|
imageUrl?: string;
|
|
2336
|
+
/**
|
|
2337
|
+
* Google Display only. Resource name of the landscape marketing image asset (`creative.imageUrl`), for example customers/1234567890/assets/123. Set at creation and updated when PUT /v1/ads/{adId} replaces `creative.imageUrl`; replacing only `creative.squareImageUrl` leaves it unchanged.
|
|
2338
|
+
*/
|
|
2339
|
+
assetResourceName?: string;
|
|
2336
2340
|
/**
|
|
2337
2341
|
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
2338
2342
|
*/
|
|
@@ -39017,7 +39021,7 @@ type CreateWorkflowData = {
|
|
|
39017
39021
|
body: {
|
|
39018
39022
|
profileId: string;
|
|
39019
39023
|
accountId: string;
|
|
39020
|
-
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit';
|
|
39024
|
+
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok';
|
|
39021
39025
|
name: string;
|
|
39022
39026
|
description?: string;
|
|
39023
39027
|
nodes?: Array<WorkflowNode>;
|
|
@@ -39078,7 +39082,7 @@ type UpdateWorkflowData = {
|
|
|
39078
39082
|
edges?: Array<WorkflowEdge>;
|
|
39079
39083
|
entryNodeId?: (string) | null;
|
|
39080
39084
|
/**
|
|
39081
|
-
* Reassign the workflow to a different `SocialAccount`. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit). Changing this triggers a graph revalidation against the new platform.
|
|
39085
|
+
* Reassign the workflow to a different `SocialAccount`. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit, tiktok). Changing this triggers a graph revalidation against the new platform.
|
|
39082
39086
|
*
|
|
39083
39087
|
*/
|
|
39084
39088
|
accountId?: 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.1215",
|
|
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.1215",
|
|
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
|
@@ -10743,7 +10743,8 @@ export const getAd = <ThrowOnError extends boolean = false>(options: OptionsLega
|
|
|
10743
10743
|
* `creative.businessName`, `creative.imageUrl` (the landscape marketing image) and
|
|
10744
10744
|
* `creative.squareImageUrl`. Each image URL is uploaded as a new Google asset and the ad
|
|
10745
10745
|
* is pointed at it; Google assets are immutable, so the previous asset stays in the
|
|
10746
|
-
* account's asset library.
|
|
10746
|
+
* account's asset library. A new landscape image also updates `creative.assetResourceName`
|
|
10747
|
+
* to the new asset.
|
|
10747
10748
|
* - **Performance Max**: top-level `assetGroup`, which swaps asset roles on the ad's asset
|
|
10748
10749
|
* group. The other creative fields return 422 for this channel, and `assetGroup` returns
|
|
10749
10750
|
* 422 on any other channel.
|
|
@@ -328,6 +328,10 @@ export type Ad = {
|
|
|
328
328
|
* Alternative image URL
|
|
329
329
|
*/
|
|
330
330
|
imageUrl?: string;
|
|
331
|
+
/**
|
|
332
|
+
* Google Display only. Resource name of the landscape marketing image asset (`creative.imageUrl`), for example customers/1234567890/assets/123. Set at creation and updated when PUT /v1/ads/{adId} replaces `creative.imageUrl`; replacing only `creative.squareImageUrl` leaves it unchanged.
|
|
333
|
+
*/
|
|
334
|
+
assetResourceName?: string;
|
|
331
335
|
/**
|
|
332
336
|
* Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
|
|
333
337
|
*/
|
|
@@ -39304,7 +39308,7 @@ export type CreateWorkflowData = {
|
|
|
39304
39308
|
body: {
|
|
39305
39309
|
profileId: string;
|
|
39306
39310
|
accountId: string;
|
|
39307
|
-
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit';
|
|
39311
|
+
platform?: 'whatsapp' | 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'tiktok';
|
|
39308
39312
|
name: string;
|
|
39309
39313
|
description?: string;
|
|
39310
39314
|
nodes?: Array<WorkflowNode>;
|
|
@@ -39371,7 +39375,7 @@ export type UpdateWorkflowData = {
|
|
|
39371
39375
|
edges?: Array<WorkflowEdge>;
|
|
39372
39376
|
entryNodeId?: (string) | null;
|
|
39373
39377
|
/**
|
|
39374
|
-
* Reassign the workflow to a different `SocialAccount`. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit). Changing this triggers a graph revalidation against the new platform.
|
|
39378
|
+
* Reassign the workflow to a different `SocialAccount`. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit, tiktok). Changing this triggers a graph revalidation against the new platform.
|
|
39375
39379
|
*
|
|
39376
39380
|
*/
|
|
39377
39381
|
accountId?: string;
|