@zernio/node 0.2.1004 → 0.2.1006
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 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -5652,9 +5652,9 @@ type actionSource = 'web' | 'app' | 'offline' | 'crm' | 'phone_call' | 'system_g
|
|
|
5652
5652
|
* creative fields must NOT be set on this shape.
|
|
5653
5653
|
*
|
|
5654
5654
|
* Existing post references work on messaging and CTWA only (not call ads).
|
|
5655
|
-
* They cannot be combined with each other or with headline, body, imageUrl
|
|
5656
|
-
*
|
|
5657
|
-
* retained. Fresh creatives still require headline, body, and image or video.
|
|
5655
|
+
* They cannot be combined with each other or with headline, body, imageUrl
|
|
5656
|
+
* or video. `welcomeMessage` works on them (it lives on the ad, not the post).
|
|
5657
|
+
* No media is uploaded and the organic post is retained. Fresh creatives still require headline, body, and image or video.
|
|
5658
5658
|
*
|
|
5659
5659
|
* The route enforces this at the Zod boundary; OpenAPI's
|
|
5660
5660
|
* `required` cannot express the OR cleanly.
|
|
@@ -5691,7 +5691,7 @@ type CtwaAdRequestBody = {
|
|
|
5691
5691
|
*/
|
|
5692
5692
|
adSetName?: string;
|
|
5693
5693
|
/**
|
|
5694
|
-
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id
|
|
5694
|
+
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id run as the media owner (resolved from the media on a Meta ads business-login connection, so no Instagram connection is needed). Mutually exclusive with objectStoryId and fresh creative fields.
|
|
5695
5695
|
*/
|
|
5696
5696
|
platformPostId?: string;
|
|
5697
5697
|
/**
|
|
@@ -5803,7 +5803,7 @@ type CtwaAdRequestBody = {
|
|
|
5803
5803
|
*/
|
|
5804
5804
|
creatives?: Array<{
|
|
5805
5805
|
/**
|
|
5806
|
-
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id
|
|
5806
|
+
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id run as the media owner (resolved from the media on a Meta ads business-login connection, so no Instagram connection is needed). Mutually exclusive with objectStoryId and fresh creative fields.
|
|
5807
5807
|
*/
|
|
5808
5808
|
platformPostId?: string;
|
|
5809
5809
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -5652,9 +5652,9 @@ type actionSource = 'web' | 'app' | 'offline' | 'crm' | 'phone_call' | 'system_g
|
|
|
5652
5652
|
* creative fields must NOT be set on this shape.
|
|
5653
5653
|
*
|
|
5654
5654
|
* Existing post references work on messaging and CTWA only (not call ads).
|
|
5655
|
-
* They cannot be combined with each other or with headline, body, imageUrl
|
|
5656
|
-
*
|
|
5657
|
-
* retained. Fresh creatives still require headline, body, and image or video.
|
|
5655
|
+
* They cannot be combined with each other or with headline, body, imageUrl
|
|
5656
|
+
* or video. `welcomeMessage` works on them (it lives on the ad, not the post).
|
|
5657
|
+
* No media is uploaded and the organic post is retained. Fresh creatives still require headline, body, and image or video.
|
|
5658
5658
|
*
|
|
5659
5659
|
* The route enforces this at the Zod boundary; OpenAPI's
|
|
5660
5660
|
* `required` cannot express the OR cleanly.
|
|
@@ -5691,7 +5691,7 @@ type CtwaAdRequestBody = {
|
|
|
5691
5691
|
*/
|
|
5692
5692
|
adSetName?: string;
|
|
5693
5693
|
/**
|
|
5694
|
-
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id
|
|
5694
|
+
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id run as the media owner (resolved from the media on a Meta ads business-login connection, so no Instagram connection is needed). Mutually exclusive with objectStoryId and fresh creative fields.
|
|
5695
5695
|
*/
|
|
5696
5696
|
platformPostId?: string;
|
|
5697
5697
|
/**
|
|
@@ -5803,7 +5803,7 @@ type CtwaAdRequestBody = {
|
|
|
5803
5803
|
*/
|
|
5804
5804
|
creatives?: Array<{
|
|
5805
5805
|
/**
|
|
5806
|
-
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id
|
|
5806
|
+
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id run as the media owner (resolved from the media on a Meta ads business-login connection, so no Instagram connection is needed). Mutually exclusive with objectStoryId and fresh creative fields.
|
|
5807
5807
|
*/
|
|
5808
5808
|
platformPostId?: string;
|
|
5809
5809
|
/**
|
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.1006",
|
|
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.1006",
|
|
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
|
@@ -14334,8 +14334,8 @@ export const updateTrackingTagEvent = <ThrowOnError extends boolean = false>(opt
|
|
|
14334
14334
|
* Pinterest (platform `pinterestads`): stops Pinterest tracking the event name (`state:
|
|
14335
14335
|
* disabled`); Pinterest keeps the event's history.
|
|
14336
14336
|
*
|
|
14337
|
-
* TikTok:
|
|
14338
|
-
*
|
|
14337
|
+
* TikTok Ads answers 501: TikTok's `/pixel/event/delete/` answers OK but leaves the event on
|
|
14338
|
+
* the pixel, so nothing is deleted. Delete the event in TikTok Events Manager.
|
|
14339
14339
|
*
|
|
14340
14340
|
* X Ads (platform `xads`): deletes the web event tag for good. Events X auto-created with
|
|
14341
14341
|
* the pixel cannot be deleted (400). X keeps the event's own website tag id on the account
|
|
@@ -3861,9 +3861,9 @@ export type actionSource = 'web' | 'app' | 'offline' | 'crm' | 'phone_call' | 's
|
|
|
3861
3861
|
* creative fields must NOT be set on this shape.
|
|
3862
3862
|
*
|
|
3863
3863
|
* Existing post references work on messaging and CTWA only (not call ads).
|
|
3864
|
-
* They cannot be combined with each other or with headline, body, imageUrl
|
|
3865
|
-
*
|
|
3866
|
-
* retained. Fresh creatives still require headline, body, and image or video.
|
|
3864
|
+
* They cannot be combined with each other or with headline, body, imageUrl
|
|
3865
|
+
* or video. `welcomeMessage` works on them (it lives on the ad, not the post).
|
|
3866
|
+
* No media is uploaded and the organic post is retained. Fresh creatives still require headline, body, and image or video.
|
|
3867
3867
|
*
|
|
3868
3868
|
* The route enforces this at the Zod boundary; OpenAPI's
|
|
3869
3869
|
* `required` cannot express the OR cleanly.
|
|
@@ -3900,7 +3900,7 @@ export type CtwaAdRequestBody = {
|
|
|
3900
3900
|
*/
|
|
3901
3901
|
adSetName?: string;
|
|
3902
3902
|
/**
|
|
3903
|
-
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id
|
|
3903
|
+
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id run as the media owner (resolved from the media on a Meta ads business-login connection, so no Instagram connection is needed). Mutually exclusive with objectStoryId and fresh creative fields.
|
|
3904
3904
|
*/
|
|
3905
3905
|
platformPostId?: string;
|
|
3906
3906
|
/**
|
|
@@ -4012,7 +4012,7 @@ export type CtwaAdRequestBody = {
|
|
|
4012
4012
|
*/
|
|
4013
4013
|
creatives?: Array<{
|
|
4014
4014
|
/**
|
|
4015
|
-
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id
|
|
4015
|
+
* Messaging and CTWA only. Platform post or reel ID, the same input boostPost takes as platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id run as the media owner (resolved from the media on a Meta ads business-login connection, so no Instagram connection is needed). Mutually exclusive with objectStoryId and fresh creative fields.
|
|
4016
4016
|
*/
|
|
4017
4017
|
platformPostId?: string;
|
|
4018
4018
|
/**
|