@koda-sl/baker-cli 0.382.0 → 0.383.0-dev.2caa8a15e
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/cli.js
CHANGED
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
validateCanvasDeep,
|
|
71
71
|
withoutCastName,
|
|
72
72
|
ytDlpBlockSignal
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-CHJOTJTZ.js";
|
|
74
74
|
import {
|
|
75
75
|
NAME_CONTAINS_ARG,
|
|
76
76
|
csvOrJson,
|
|
@@ -299,6 +299,7 @@ var chatActionDraftOpViewSchema = z.object({
|
|
|
299
299
|
targetActionId: z.string().optional(),
|
|
300
300
|
tempId: z.string().optional(),
|
|
301
301
|
tags: z.array(z.string()).optional(),
|
|
302
|
+
priority: actionPrioritySchema.nullable().optional(),
|
|
302
303
|
reason: z.string().optional(),
|
|
303
304
|
note: z.string().optional(),
|
|
304
305
|
name: z.string().optional(),
|
|
@@ -28397,19 +28398,10 @@ var metaMediaCommand = defineCommand68({
|
|
|
28397
28398
|
|
|
28398
28399
|
// src/commands/ads/meta/pages.ts
|
|
28399
28400
|
import { defineCommand as defineCommand69 } from "citty";
|
|
28400
|
-
function advertisablePages(data) {
|
|
28401
|
-
return data.filter((p) => Array.isArray(p.tasks) && p.tasks.includes("ADVERTISE"));
|
|
28402
|
-
}
|
|
28403
28401
|
function pageSelectionHints(data) {
|
|
28404
|
-
|
|
28405
|
-
if (advertisable.length > 1) {
|
|
28406
|
-
return [
|
|
28407
|
-
"MULTIPLE Pages can run ads \u2014 do NOT guess. Confirm with the user which Page an ad should run from before passing --page to `creatives create`; a wrong Page publishes the ad under the wrong brand identity and staging will not catch it."
|
|
28408
|
-
];
|
|
28409
|
-
}
|
|
28410
|
-
if (data.length > 0 && advertisable.length === 0) {
|
|
28402
|
+
if (data.length > 1) {
|
|
28411
28403
|
return [
|
|
28412
|
-
"
|
|
28404
|
+
"MULTIPLE Pages can run ads from the selected Meta ad accounts \u2014 do NOT guess. Confirm with the user which Page an ad should run from before passing --page to `creatives create`; a wrong Page publishes the ad under the wrong brand identity and staging will not catch it."
|
|
28413
28405
|
];
|
|
28414
28406
|
}
|
|
28415
28407
|
return [];
|
|
@@ -28417,7 +28409,7 @@ function pageSelectionHints(data) {
|
|
|
28417
28409
|
var pagesCommand = defineCommand69({
|
|
28418
28410
|
meta: {
|
|
28419
28411
|
name: "pages",
|
|
28420
|
-
description: `List the Facebook Pages the
|
|
28412
|
+
description: `List the Facebook Pages that the selected Meta ad accounts can promote. Every Meta ad publishes from a Page, so use this to identify the Page an ad should run from. If more than one Page is listed, confirm with the user which Page to use \u2014 a wrong Page publishes under the wrong brand identity.
|
|
28421
28413
|
|
|
28422
28414
|
Examples:
|
|
28423
28415
|
baker ads meta pages`
|
|
@@ -28678,7 +28670,7 @@ Discovery:
|
|
|
28678
28670
|
baker ads meta accounts \u2014 accounts in this company's connected scope
|
|
28679
28671
|
baker ads meta accounts --include-all \u2014 every account the token can see
|
|
28680
28672
|
baker ads meta businesses \u2014 Business Manager IDs
|
|
28681
|
-
baker ads meta pages \u2014 Facebook Pages the
|
|
28673
|
+
baker ads meta pages \u2014 Facebook Pages the selected ad accounts can promote (an ad's identity)
|
|
28682
28674
|
baker ads meta lead-forms --page-id 100635183117758 \u2014 instant (lead) forms on a Page, with lead counts
|
|
28683
28675
|
baker ads meta leads --form-id 987654321 \u2014 the leads one form collected (contact details masked)
|
|
28684
28676
|
|