@koda-sl/baker-cli 0.266.0 → 0.267.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
@@ -5056,6 +5056,25 @@ var flowsShowResponseSchema = z12.object({
5056
5056
  /** Present only with `--full`: the whole flow tree, secret values redacted. */
5057
5057
  tree: z12.unknown().optional()
5058
5058
  });
5059
+ var flowsEmailPolicyRequestSchema = z12.object({});
5060
+ var flowEmailPolicySchema = z12.object({
5061
+ slug: z12.string(),
5062
+ /** True when a destination of this Form refuses consumer mailbox providers. */
5063
+ destinationBlocksFreeEmail: z12.boolean(),
5064
+ /**
5065
+ * When this company's destinations were last checked, or null when they never
5066
+ * have been. Company-wide (`companies.flowsReconciledAt`) rather than
5067
+ * per-Form: a Form's own drift entries are cleared the moment a check finds
5068
+ * nothing wrong, so a per-Form stamp would read null for the healthy ones.
5069
+ *
5070
+ * Load-bearing, not informational: a company that has never been checked
5071
+ * answers `destinationBlocksFreeEmail: false` for every Form, which is
5072
+ * indistinguishable from a clean answer. The caller turns a null here into
5073
+ * its "nothing was compared" warning instead of a pass.
5074
+ */
5075
+ checkedAt: z12.number().nullable()
5076
+ });
5077
+ var flowsEmailPolicyResponseSchema = z12.object({ forms: z12.array(flowEmailPolicySchema) });
5059
5078
 
5060
5079
  // ../api/src/history.ts
5061
5080
  import { z as z13 } from "zod";