@koda-sl/baker-cli 0.384.0-dev.4699b7308 → 0.384.0

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-CHJOTJTZ.js";
73
+ } from "./chunk-FGHMWBUD.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(),
@@ -5123,16 +5124,6 @@ var FLOW_SIDE_EFFECT_CATALOG = [
5123
5124
  },
5124
5125
  "`advancedMatching` is how Meta re-identifies the visitor, and it is the difference between a matched conversion and a discarded one. Fill at least `em` and `ph` from the form: `baker flows map <slug> --map em=email --map ph=phone`."
5125
5126
  ),
5126
- eventSideEffect(
5127
- "chatgptAds",
5128
- "Fires a ChatGPT Ads pixel conversion and mirrors it through the Conversions API when a key is configured.",
5129
- {
5130
- eventType: "standard",
5131
- eventParams: [],
5132
- advancedMatching: matchingSlots("em", "ph", "fn", "ln", "external_id", "ct", "st", "zp", "country")
5133
- },
5134
- "Use ChatGPT Ads event names such as lead_created, order_created or appointment_scheduled. For a custom event use a lowercase name of 1\u201364 letters, digits, underscores or dashes. Only value (major currency units) and currency are supported in eventParams. Map em from the form to improve conversion matching."
5135
- ),
5136
5127
  eventSideEffect("googleAnalytics", "Fires a GA4 event.", { eventType: "custom", eventParams: [] }),
5137
5128
  {
5138
5129
  kind: "side-effect",
@@ -8045,7 +8036,6 @@ var studioImproveResponseSchema = z27.object({ prompt: z27.string(), original: z
8045
8036
  import { z as z28 } from "zod";
8046
8037
  var TAG_TYPES = [
8047
8038
  "meta",
8048
- "chatgptAds",
8049
8039
  "amplitude",
8050
8040
  "googleAds",
8051
8041
  "tiktok",
@@ -8067,7 +8057,6 @@ var TAG_TYPES = [
8067
8057
  var tagTypeSchema = z28.enum(TAG_TYPES);
8068
8058
  var TAG_IDENTIFYING_FIELD = {
8069
8059
  meta: "pixelId",
8070
- chatgptAds: "pixelId",
8071
8060
  googleAds: "conversionID",
8072
8061
  tiktok: "pixelCode",
8073
8062
  pinterest: "tagId",
@@ -15038,14 +15027,7 @@ function parseEventKey(key) {
15038
15027
  }
15039
15028
 
15040
15029
  // ../api/src/analytics/sends.ts
15041
- var SEND_PLATFORMS = [
15042
- "meta",
15043
- "chatgptAds",
15044
- "googleAds",
15045
- "linkedinInsightTag",
15046
- "twitterAds",
15047
- "googleAnalytics"
15048
- ];
15030
+ var SEND_PLATFORMS = ["meta", "googleAds", "linkedinInsightTag", "twitterAds", "googleAnalytics"];
15049
15031
  function isSendPlatform(value) {
15050
15032
  return SEND_PLATFORMS.includes(value);
15051
15033
  }
@@ -15057,13 +15039,6 @@ var SEND_PLATFORM_SPECS = {
15057
15039
  credentialFields: ["accessToken"],
15058
15040
  setupHint: "Add the Conversions API access token to the Meta pixel in Tracking"
15059
15041
  },
15060
- chatgptAds: {
15061
- title: "ChatGPT Ads",
15062
- eventMeans: "A ChatGPT Ads event \u2014 lead_created, order_created, or a custom name",
15063
- eventKind: "name",
15064
- credentialFields: ["apiKey"],
15065
- setupHint: "Add the Conversions API key to the ChatGPT Ads pixel in Tracking"
15066
- },
15067
15042
  googleAds: {
15068
15043
  title: "Google Ads",
15069
15044
  eventMeans: "One of the account's conversion actions, picked from its list",
@@ -15114,7 +15089,6 @@ function isConversionSend(type) {
15114
15089
  }
15115
15090
  var SERVER_SIDE_SENDER_TAG = {
15116
15091
  metaCapi: "meta",
15117
- chatgptAdsCapi: "chatgptAds",
15118
15092
  googleAdsCapi: "googleAds",
15119
15093
  linkedinCapi: "linkedinInsightTag",
15120
15094
  twitterAdsCapi: "twitterAds",
@@ -49595,14 +49569,6 @@ var MAPPING_SLOTS = {
49595
49569
  code: [PAYLOAD("eventProperties")],
49596
49570
  datafast: [PAYLOAD("goalParams")],
49597
49571
  meta: [PAYLOAD("eventParams"), { kind: "record", key: "advancedMatching", allowed: META_MATCHING }],
49598
- chatgptAds: [
49599
- PAYLOAD("eventParams"),
49600
- {
49601
- kind: "record",
49602
- key: "advancedMatching",
49603
- allowed: ["em", "ph", "fn", "ln", "external_id", "ct", "st", "zp", "country"]
49604
- }
49605
- ],
49606
49572
  tiktok: [
49607
49573
  PAYLOAD("eventParams"),
49608
49574
  { kind: "record", key: "identify", allowed: ["email", "phone_number", "external_id"] }