@zernio/node 0.2.850 → 0.2.852
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 +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -0
- package/src/generated/types.gen.ts +8 -0
package/dist/index.d.mts
CHANGED
|
@@ -4769,6 +4769,14 @@ type CtwaAdRequestBody = {
|
|
|
4769
4769
|
*
|
|
4770
4770
|
*/
|
|
4771
4771
|
name: string;
|
|
4772
|
+
/**
|
|
4773
|
+
* Exact name for the campaign this request provisions. Omitted keeps `<name> - Campaign`. Ignored with `adSetId` (the ad set already has a campaign).
|
|
4774
|
+
*/
|
|
4775
|
+
campaignName?: string;
|
|
4776
|
+
/**
|
|
4777
|
+
* Exact name for the ad set this request provisions. Omitted keeps `<name> - Ad Set`. Ignored with `adSetId`.
|
|
4778
|
+
*/
|
|
4779
|
+
adSetName?: string;
|
|
4772
4780
|
/**
|
|
4773
4781
|
* Messaging and CTWA only. Platform post or reel ID, resolved like boost platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id using the connected Instagram identity. Mutually exclusive with objectStoryId and fresh creative fields.
|
|
4774
4782
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -4769,6 +4769,14 @@ type CtwaAdRequestBody = {
|
|
|
4769
4769
|
*
|
|
4770
4770
|
*/
|
|
4771
4771
|
name: string;
|
|
4772
|
+
/**
|
|
4773
|
+
* Exact name for the campaign this request provisions. Omitted keeps `<name> - Campaign`. Ignored with `adSetId` (the ad set already has a campaign).
|
|
4774
|
+
*/
|
|
4775
|
+
campaignName?: string;
|
|
4776
|
+
/**
|
|
4777
|
+
* Exact name for the ad set this request provisions. Omitted keeps `<name> - Ad Set`. Ignored with `adSetId`.
|
|
4778
|
+
*/
|
|
4779
|
+
adSetName?: string;
|
|
4772
4780
|
/**
|
|
4773
4781
|
* Messaging and CTWA only. Platform post or reel ID, resolved like boost platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id using the connected Instagram identity. Mutually exclusive with objectStoryId and fresh creative fields.
|
|
4774
4782
|
*/
|
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.852",
|
|
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.852",
|
|
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
|
@@ -10531,6 +10531,11 @@ export const getDsaRecommendations = <ThrowOnError extends boolean = false>(opti
|
|
|
10531
10531
|
* `instagramAccountId`, `destinationType`, `whatsappPhoneNumber` and `adSetId`
|
|
10532
10532
|
* are Meta-only and return 400 on other platforms.
|
|
10533
10533
|
*
|
|
10534
|
+
* `accountId` may be a Facebook, Instagram or Meta ads (business login)
|
|
10535
|
+
* connection. A business-login connection has no posting account, so pass
|
|
10536
|
+
* the post as `platformPostId` (Facebook `pageId_postId` or an Instagram
|
|
10537
|
+
* media id); a Zernio `postId` is a 400 there.
|
|
10538
|
+
*
|
|
10534
10539
|
* **Messaging boosts (Meta).** Use `goal: engagement` with
|
|
10535
10540
|
* `callToAction: WHATSAPP_MESSAGE`, `MESSAGE_PAGE`, or `INSTAGRAM_MESSAGE`.
|
|
10536
10541
|
* The CTA implies WHATSAPP, MESSENGER, or INSTAGRAM_DIRECT respectively;
|
|
@@ -3209,6 +3209,14 @@ export type CtwaAdRequestBody = {
|
|
|
3209
3209
|
*
|
|
3210
3210
|
*/
|
|
3211
3211
|
name: string;
|
|
3212
|
+
/**
|
|
3213
|
+
* Exact name for the campaign this request provisions. Omitted keeps `<name> - Campaign`. Ignored with `adSetId` (the ad set already has a campaign).
|
|
3214
|
+
*/
|
|
3215
|
+
campaignName?: string;
|
|
3216
|
+
/**
|
|
3217
|
+
* Exact name for the ad set this request provisions. Omitted keeps `<name> - Ad Set`. Ignored with `adSetId`.
|
|
3218
|
+
*/
|
|
3219
|
+
adSetName?: string;
|
|
3212
3220
|
/**
|
|
3213
3221
|
* Messaging and CTWA only. Platform post or reel ID, resolved like boost platformPostId. Facebook IDs become object_story_id; Instagram IDs become source_instagram_media_id using the connected Instagram identity. Mutually exclusive with objectStoryId and fresh creative fields.
|
|
3214
3222
|
*/
|