@koda-sl/baker-cli 0.846.0 → 0.847.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.
Files changed (41) hide show
  1. package/README.md +1 -0
  2. package/dist/{ads-47ISOFKG.js → ads-2SBIPZJI.js} +3 -3
  3. package/dist/{analytics-IXZHQ2ZZ.js → analytics-MZ5A66JO.js} +13 -13
  4. package/dist/{chunk-LSNLFNDJ.js → chunk-37NXS55Q.js} +2 -2
  5. package/dist/{chunk-V34Q2PYJ.js → chunk-HORX3JLB.js} +2 -2
  6. package/dist/{chunk-5TKGCYSU.js → chunk-OQQN2UJS.js} +2 -2
  7. package/dist/{chunk-ZWLYPZWW.js → chunk-SCK7U53A.js} +3 -3
  8. package/dist/{chunk-SXZ537Q2.js → chunk-STWMK24H.js} +2 -2
  9. package/dist/{chunk-PNOKIJFM.js → chunk-T7GAC2WG.js} +8 -2
  10. package/dist/chunk-T7GAC2WG.js.map +1 -0
  11. package/dist/cli.js +3 -3
  12. package/dist/{funnel-UFYTP7LR.js → funnel-YR3ROIPN.js} +3 -3
  13. package/dist/{google-RX4QDXLD.js → google-BFBRJRZP.js} +2 -2
  14. package/dist/{lookup-VGSMSP7E.js → lookup-IAY43D6F.js} +4 -4
  15. package/dist/{performance-LYCO7VAB.js → performance-GIUF4NDE.js} +2 -2
  16. package/dist/{plan-JS42ZMCZ.js → plan-LVTD6FZI.js} +3 -3
  17. package/dist/{questionnaire-S7UADGOY.js → questionnaire-7Y4QYVC6.js} +3 -3
  18. package/dist/{sends-WF4IKUFF.js → sends-TCVUTCLV.js} +66 -16
  19. package/dist/sends-TCVUTCLV.js.map +1 -0
  20. package/dist/{sources-OVLH6OZ2.js → sources-RA2KD7VO.js} +4 -4
  21. package/dist/{unstage-JZAIRBVA.js → unstage-6QVKZITE.js} +3 -3
  22. package/dist/{url-options-JK525H2M.js → url-options-E6FNFBE3.js} +2 -2
  23. package/package.json +1 -1
  24. package/dist/chunk-PNOKIJFM.js.map +0 -1
  25. package/dist/sends-WF4IKUFF.js.map +0 -1
  26. /package/dist/{ads-47ISOFKG.js.map → ads-2SBIPZJI.js.map} +0 -0
  27. /package/dist/{analytics-IXZHQ2ZZ.js.map → analytics-MZ5A66JO.js.map} +0 -0
  28. /package/dist/{chunk-LSNLFNDJ.js.map → chunk-37NXS55Q.js.map} +0 -0
  29. /package/dist/{chunk-V34Q2PYJ.js.map → chunk-HORX3JLB.js.map} +0 -0
  30. /package/dist/{chunk-5TKGCYSU.js.map → chunk-OQQN2UJS.js.map} +0 -0
  31. /package/dist/{chunk-ZWLYPZWW.js.map → chunk-SCK7U53A.js.map} +0 -0
  32. /package/dist/{chunk-SXZ537Q2.js.map → chunk-STWMK24H.js.map} +0 -0
  33. /package/dist/{funnel-UFYTP7LR.js.map → funnel-YR3ROIPN.js.map} +0 -0
  34. /package/dist/{google-RX4QDXLD.js.map → google-BFBRJRZP.js.map} +0 -0
  35. /package/dist/{lookup-VGSMSP7E.js.map → lookup-IAY43D6F.js.map} +0 -0
  36. /package/dist/{performance-LYCO7VAB.js.map → performance-GIUF4NDE.js.map} +0 -0
  37. /package/dist/{plan-JS42ZMCZ.js.map → plan-LVTD6FZI.js.map} +0 -0
  38. /package/dist/{questionnaire-S7UADGOY.js.map → questionnaire-7Y4QYVC6.js.map} +0 -0
  39. /package/dist/{sources-OVLH6OZ2.js.map → sources-RA2KD7VO.js.map} +0 -0
  40. /package/dist/{unstage-JZAIRBVA.js.map → unstage-6QVKZITE.js.map} +0 -0
  41. /package/dist/{url-options-JK525H2M.js.map → url-options-E6FNFBE3.js.map} +0 -0
package/README.md CHANGED
@@ -2118,6 +2118,7 @@ baker analytics sites --add example.com # and every subdomain of it — applie
2118
2118
  baker analytics website-tag # the tag for a site Baker does not publish, with the key in it
2119
2119
  baker analytics sends # where each system event is sent, and what happened to each upload
2120
2120
  baker analytics sends --history # when each send was set up, and whether its integration was removed
2121
+ baker analytics sends --platform meta # only what goes to Meta: its sends, tags, parameters and each event's match there
2121
2122
  baker analytics sends --set --source-event page:deal_won --platform meta --tag <tagId> --event Purchase # staged; spends budget once published
2122
2123
  baker analytics sends --set --source-event page:deal_won --platform meta --tag <tagId> --event Purchase --parameter content_name={{properties.plan}} # with an extra Meta custom_data parameter
2123
2124
  baker analytics sends --uploads s1 --failed # the uploads Meta refused, each with the event and Meta's own words
@@ -33,16 +33,16 @@ Examples:
33
33
  Full guides: __tooling__/docs/tools/baker/ads-<platform>.md (google|meta|linkedin|x|chatgpt|performance|terms)`
34
34
  },
35
35
  subCommands: {
36
- google: () => import("./google-RX4QDXLD.js").then((m) => m.googleCommand),
36
+ google: () => import("./google-BFBRJRZP.js").then((m) => m.googleCommand),
37
37
  meta: () => import("./meta-2ZQ3CWLF.js").then((m) => m.metaCommand),
38
38
  linkedin: () => import("./linkedin-AN3XZMLI.js").then((m) => m.linkedinCommand),
39
39
  x: () => import("./x-KBTEQOBL.js").then((m) => m.xCommand),
40
40
  chatgpt: () => import("./chatgpt-HBHB7HCD.js").then((m) => m.chatgptCommand),
41
- performance: () => import("./performance-LYCO7VAB.js").then((m) => m.performanceCommand),
41
+ performance: () => import("./performance-GIUF4NDE.js").then((m) => m.performanceCommand),
42
42
  terms: () => import("./terms-J33CD7MY.js").then((m) => m.termsCommand)
43
43
  }
44
44
  });
45
45
  export {
46
46
  adsCommand
47
47
  };
48
- //# sourceMappingURL=ads-47ISOFKG.js.map
48
+ //# sourceMappingURL=ads-2SBIPZJI.js.map
@@ -15,7 +15,7 @@ import {
15
15
  serverFeedFields,
16
16
  withheldBreakdownHint,
17
17
  writeAnalyticsReport
18
- } from "./chunk-5TKGCYSU.js";
18
+ } from "./chunk-OQQN2UJS.js";
19
19
  import {
20
20
  flowDataPath,
21
21
  flowExists,
@@ -25,23 +25,23 @@ import {
25
25
  import {
26
26
  peopleArgs,
27
27
  peopleLimitError
28
- } from "./chunk-ZWLYPZWW.js";
28
+ } from "./chunk-SCK7U53A.js";
29
29
  import {
30
30
  INGEST_ARRIVALS_MAX,
31
31
  eventIngestUrl,
32
32
  ingestBrief
33
- } from "./chunk-LSNLFNDJ.js";
33
+ } from "./chunk-37NXS55Q.js";
34
34
  import {
35
35
  ConversionArgsError,
36
36
  conversionsWrite,
37
37
  parseConversionsArgs
38
- } from "./chunk-V34Q2PYJ.js";
38
+ } from "./chunk-HORX3JLB.js";
39
39
  import {
40
40
  TAG_MANAGER_TIMEOUT_MS
41
41
  } from "./chunk-ZWANN4QQ.js";
42
42
  import {
43
43
  analyticsErrorEnvelope
44
- } from "./chunk-SXZ537Q2.js";
44
+ } from "./chunk-STWMK24H.js";
45
45
  import {
46
46
  companyNameKey
47
47
  } from "./chunk-AYKV2B6X.js";
@@ -64,7 +64,7 @@ import {
64
64
  isAdPlatform,
65
65
  isBookkeepingRow,
66
66
  rowMatchKeys
67
- } from "./chunk-PNOKIJFM.js";
67
+ } from "./chunk-T7GAC2WG.js";
68
68
  import "./chunk-5TURKO4J.js";
69
69
  import {
70
70
  withWindowSpellings
@@ -2759,22 +2759,22 @@ Full guide: __tooling__/docs/tools/baker/analytics.md`
2759
2759
  tags: tagsCommand,
2760
2760
  events: eventsCommand,
2761
2761
  feed: feedCommand,
2762
- lookup: () => import("./lookup-VGSMSP7E.js").then((m) => m.lookupCommand),
2762
+ lookup: () => import("./lookup-IAY43D6F.js").then((m) => m.lookupCommand),
2763
2763
  devices: devicesCommand,
2764
2764
  ads: adsCommand,
2765
2765
  conversions: conversionsCommand,
2766
- sends: () => import("./sends-WF4IKUFF.js").then((m) => m.sendsCommand),
2766
+ sends: () => import("./sends-TCVUTCLV.js").then((m) => m.sendsCommand),
2767
2767
  map: mapCommand,
2768
- unstage: () => import("./unstage-JZAIRBVA.js").then((m) => m.unstageCommand),
2768
+ unstage: () => import("./unstage-6QVKZITE.js").then((m) => m.unstageCommand),
2769
2769
  tracking: trackingCommand,
2770
2770
  arrivals: arrivalsCommand,
2771
2771
  "sending-events": sendingEventsCommand,
2772
- sources: () => import("./sources-OVLH6OZ2.js").then((m) => m.sourcesCommand),
2772
+ sources: () => import("./sources-RA2KD7VO.js").then((m) => m.sourcesCommand),
2773
2773
  "website-tag": websiteTagCommand,
2774
2774
  debug: debugCommand,
2775
2775
  sites: sitesCommand,
2776
- plan: () => import("./plan-JS42ZMCZ.js").then((m) => m.planCommand),
2777
- questionnaire: () => import("./questionnaire-S7UADGOY.js").then((m) => m.questionnaireCommand),
2776
+ plan: () => import("./plan-LVTD6FZI.js").then((m) => m.planCommand),
2777
+ questionnaire: () => import("./questionnaire-7Y4QYVC6.js").then((m) => m.questionnaireCommand),
2778
2778
  presets: presetsCommand
2779
2779
  }
2780
2780
  });
@@ -2788,4 +2788,4 @@ export {
2788
2788
  requestBody,
2789
2789
  sendingEventsAddress
2790
2790
  };
2791
- //# sourceMappingURL=analytics-IXZHQ2ZZ.js.map
2791
+ //# sourceMappingURL=analytics-MZ5A66JO.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-GRQ2AXDX.js";
5
5
  import {
6
6
  EVENT_ITEMS_MAX
7
- } from "./chunk-PNOKIJFM.js";
7
+ } from "./chunk-T7GAC2WG.js";
8
8
  import {
9
9
  EVENT_INGEST_BATCH_MAX,
10
10
  EVENT_INGEST_BODY_MAX_BYTES,
@@ -476,4 +476,4 @@ export {
476
476
  eventIngestUrl,
477
477
  ingestBrief
478
478
  };
479
- //# sourceMappingURL=chunk-LSNLFNDJ.js.map
479
+ //# sourceMappingURL=chunk-37NXS55Q.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CONVERSION_COUNT_MODES,
3
3
  findNameCollision
4
- } from "./chunk-PNOKIJFM.js";
4
+ } from "./chunk-T7GAC2WG.js";
5
5
  import {
6
6
  CHECKOUT_RECORD_REFUSAL,
7
7
  isCheckoutRecordKey,
@@ -182,4 +182,4 @@ export {
182
182
  parseConversionsArgs,
183
183
  conversionsWrite
184
184
  };
185
- //# sourceMappingURL=chunk-V34Q2PYJ.js.map
185
+ //# sourceMappingURL=chunk-HORX3JLB.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EVENT_PROPERTY_WITHHELD,
3
3
  analyticsTimelineRowSchema
4
- } from "./chunk-PNOKIJFM.js";
4
+ } from "./chunk-T7GAC2WG.js";
5
5
  import {
6
6
  formEventKey
7
7
  } from "./chunk-KLO3TPTS.js";
@@ -371,4 +371,4 @@ export {
371
371
  serverFeedFields,
372
372
  keepFeedFields
373
373
  };
374
- //# sourceMappingURL=chunk-5TKGCYSU.js.map
374
+ //# sourceMappingURL=chunk-OQQN2UJS.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  analyticsErrorEnvelope
3
- } from "./chunk-SXZ537Q2.js";
3
+ } from "./chunk-STWMK24H.js";
4
4
  import {
5
5
  PEOPLE_SEARCH_MAX_TERMS,
6
6
  parsePeopleQuery,
7
7
  peopleLookupRequestSchema
8
- } from "./chunk-PNOKIJFM.js";
8
+ } from "./chunk-T7GAC2WG.js";
9
9
  import {
10
10
  writeJsonEnvelope
11
11
  } from "./chunk-65QWF5C5.js";
@@ -187,4 +187,4 @@ export {
187
187
  lookupReport,
188
188
  lookupCommand
189
189
  };
190
- //# sourceMappingURL=chunk-ZWLYPZWW.js.map
190
+ //# sourceMappingURL=chunk-SCK7U53A.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ANALYTICS_BUSY_FIX,
3
3
  isAnalyticsBusy
4
- } from "./chunk-PNOKIJFM.js";
4
+ } from "./chunk-T7GAC2WG.js";
5
5
  import {
6
6
  ApiError
7
7
  } from "./chunk-SZCEKDLE.js";
@@ -42,4 +42,4 @@ export {
42
42
  questionnaireErrorEnvelope,
43
43
  trackingPlanErrorEnvelope
44
44
  };
45
- //# sourceMappingURL=chunk-SXZ537Q2.js.map
45
+ //# sourceMappingURL=chunk-STWMK24H.js.map
@@ -547,7 +547,13 @@ var sendsRequestSchema = z2.object({
547
547
  /** With `uploads`: only the events skipped, with what each was missing. */
548
548
  skippedOnly: z2.boolean().optional(),
549
549
  /** Also say when each live send was set up, and when an integration named after its event was removed. */
550
- history: z2.boolean().optional()
550
+ history: z2.boolean().optional(),
551
+ /**
552
+ * On a read: only what goes to this platform. The CLI narrows the rows; the
553
+ * server narrows the hints to match and refuses `uploads` of another
554
+ * platform's send, and refuses it beside a change (`set`, `remove`).
555
+ */
556
+ platform: z2.enum(SEND_PLATFORMS).optional()
551
557
  });
552
558
  var sendOutcomeSchema = z2.object({
553
559
  sendId: z2.string(),
@@ -3003,4 +3009,4 @@ export {
3003
3009
  EVENT_PROPERTY_WITHHELD,
3004
3010
  analyticsTimelineRowSchema
3005
3011
  };
3006
- //# sourceMappingURL=chunk-PNOKIJFM.js.map
3012
+ //# sourceMappingURL=chunk-T7GAC2WG.js.map