@burdenoff/microfe-headshotmarketing 2026.928.2 → 2026.1029.1

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 (63) hide show
  1. package/dist/generated/global-types.d.ts +5145 -1627
  2. package/dist/generated/global-types.d.ts.map +1 -1
  3. package/dist/generated/wspace-operations.d.ts +464 -248
  4. package/dist/generated/wspace-operations.d.ts.map +1 -1
  5. package/dist/generated/wspace-operations.js +320 -292
  6. package/dist/generated/wspace-operations.js.map +1 -1
  7. package/dist/generated/wspace-types.d.ts +21251 -468
  8. package/dist/generated/wspace-types.d.ts.map +1 -1
  9. package/dist/generated/wspace-types.js +20 -20
  10. package/dist/generated/wspace-types.js.map +1 -1
  11. package/dist/headshotmarketing/components/PageLayout.d.ts +5 -0
  12. package/dist/headshotmarketing/components/PageLayout.d.ts.map +1 -1
  13. package/dist/headshotmarketing/components/PageLayout.js +12 -6
  14. package/dist/headshotmarketing/components/PageLayout.js.map +1 -1
  15. package/dist/headshotmarketing/components/StatusBadge.d.ts.map +1 -1
  16. package/dist/headshotmarketing/components/StatusBadge.js +3 -0
  17. package/dist/headshotmarketing/components/StatusBadge.js.map +1 -1
  18. package/dist/headshotmarketing/pages/automation/AutomationPage.d.ts.map +1 -1
  19. package/dist/headshotmarketing/pages/automation/AutomationPage.js +172 -167
  20. package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
  21. package/dist/headshotmarketing/pages/automation/TriggersPage.d.ts.map +1 -1
  22. package/dist/headshotmarketing/pages/automation/TriggersPage.js +127 -143
  23. package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
  24. package/dist/headshotmarketing/pages/automation/WorkflowActions.d.ts +16 -16
  25. package/dist/headshotmarketing/pages/automation/WorkflowActions.d.ts.map +1 -1
  26. package/dist/headshotmarketing/pages/automation/WorkflowActions.js +104 -221
  27. package/dist/headshotmarketing/pages/automation/WorkflowActions.js.map +1 -1
  28. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.d.ts +16 -0
  29. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.d.ts.map +1 -1
  30. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +470 -549
  31. package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
  32. package/dist/headshotmarketing/pages/automation/WorkflowCanvasNode.d.ts +2 -0
  33. package/dist/headshotmarketing/pages/automation/WorkflowCanvasNode.d.ts.map +1 -1
  34. package/dist/headshotmarketing/pages/automation/WorkflowCanvasNode.js +19 -19
  35. package/dist/headshotmarketing/pages/automation/WorkflowCanvasNode.js.map +1 -1
  36. package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.d.ts.map +1 -1
  37. package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js +341 -164
  38. package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js.map +1 -1
  39. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.d.ts +13 -0
  40. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.d.ts.map +1 -0
  41. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +294 -0
  42. package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -0
  43. package/dist/headshotmarketing/pages/automation/WorkflowsPage.d.ts +2 -0
  44. package/dist/headshotmarketing/pages/automation/WorkflowsPage.d.ts.map +1 -1
  45. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +198 -220
  46. package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
  47. package/dist/headshotmarketing/pages/automation/useAutomationData.d.ts +24 -0
  48. package/dist/headshotmarketing/pages/automation/useAutomationData.d.ts.map +1 -0
  49. package/dist/headshotmarketing/pages/automation/useAutomationData.js +77 -0
  50. package/dist/headshotmarketing/pages/automation/useAutomationData.js.map +1 -0
  51. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.d.ts +73 -16
  52. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.d.ts.map +1 -1
  53. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js +220 -80
  54. package/dist/headshotmarketing/pages/automation/workflowBuilderModel.js.map +1 -1
  55. package/dist/headshotmarketing/pages/automation/workflowCompiler.d.ts +51 -0
  56. package/dist/headshotmarketing/pages/automation/workflowCompiler.d.ts.map +1 -0
  57. package/dist/headshotmarketing/pages/automation/workflowCompiler.js +453 -0
  58. package/dist/headshotmarketing/pages/automation/workflowCompiler.js.map +1 -0
  59. package/dist/headshotmarketing/utils/automationMapper.d.ts +50 -29
  60. package/dist/headshotmarketing/utils/automationMapper.d.ts.map +1 -1
  61. package/dist/headshotmarketing/utils/automationMapper.js +55 -99
  62. package/dist/headshotmarketing/utils/automationMapper.js.map +1 -1
  63. package/package.json +1 -1
@@ -1,39 +1,60 @@
1
- import { CreateWorkflowDefinitionInput } from '../../generated/wspace-types';
2
- import { AutomationLog, Workflow, WorkflowTemplate } from '../types';
1
+ import { EngineStep } from '../pages/automation/workflowCompiler';
3
2
 
4
- type WorkflowLike = {
3
+ export type AutomationWorkflowStatus = "ACTIVE" | "PAUSED" | "DRAFT" | "ARCHIVED";
4
+ export type AutomationRunStatus = "PENDING" | "RUNNING" | "WAITING" | "COMPLETED" | "FAILED" | "CANCELLED";
5
+ /** Minimal workflow shape the helpers need (matches the GraphQL fragment). */
6
+ export interface AutomationWorkflowLike {
5
7
  id: string;
6
8
  name: string;
7
- description?: string | null;
8
9
  status: string;
9
- triggerType?: string | null;
10
+ triggerType: string;
10
11
  triggerConfig?: Record<string, unknown> | null;
11
- steps?: unknown;
12
- tags: string[];
13
- executionCount?: number | null;
14
- lastExecutedAt?: string | null;
15
- createdAt: string;
16
- updatedAt: string;
17
- };
18
- type WorkflowExecutionLike = {
12
+ steps: unknown;
13
+ totalRuns: number;
14
+ }
15
+ /** Minimal run shape the helpers need (matches the GraphQL fragment). */
16
+ export interface AutomationRunLike {
19
17
  id: string;
20
18
  workflowId: string;
21
19
  status: string;
22
- errorMessage?: string | null;
23
- triggeredBy?: string | null;
24
- createdAt: string;
20
+ startedAt: string;
21
+ completedAt?: string | null;
22
+ context?: Record<string, unknown> | null;
23
+ }
24
+ export interface RunStats {
25
+ /** Runs started since the first day of the current month. */
26
+ runsThisMonth: number;
27
+ /** Emails actually delivered by SEND_EMAIL steps in this month's runs. */
28
+ emailsSentThisMonth: number;
29
+ /** This month's finished runs (COMPLETED or FAILED). */
30
+ finished: number;
31
+ completed: number;
32
+ failed: number;
33
+ /** completed / finished, 0-100, or null when nothing has finished. */
34
+ successRate: number | null;
35
+ /** Most recent run start among the loaded runs, or null. */
36
+ lastRunAt: string | null;
37
+ }
38
+ export declare function startOfMonth(now: Date): Date;
39
+ /**
40
+ * Count emails a run delivered: the engine records each successful step's
41
+ * output in the run context as `step_<stepId>`, and a delivered email's
42
+ * output carries `deliveredTo`.
43
+ */
44
+ export declare function emailsDeliveredByRun(run: AutomationRunLike, emailSteps: Set<string>): number;
45
+ /** Per-workflow and overall run statistics. */
46
+ export declare function summarizeRuns(workflows: AutomationWorkflowLike[], runs: AutomationRunLike[], now?: Date): {
47
+ total: RunStats;
48
+ byWorkflow: Map<string, RunStats>;
25
49
  };
26
- export declare function toWorkflowDefinitionInput(input: {
27
- name: string;
28
- description?: string | null;
29
- triggerType?: string | null;
30
- triggerConfig?: Record<string, unknown> | null;
31
- steps?: unknown;
32
- variables?: Record<string, unknown> | null;
33
- tags?: string[];
34
- }): CreateWorkflowDefinitionInput;
35
- export declare function toWorkflowModel(item: WorkflowLike): Workflow;
36
- export declare function toAutomationLogModel(item: WorkflowExecutionLike, workflowNameById: Record<string, string>): AutomationLog;
37
- export declare function toWorkflowTemplateModel(item: Workflow): WorkflowTemplate;
38
- export {};
50
+ /** Number of user-visible steps (structural branch-end markers excluded). */
51
+ export declare function visibleStepCount(steps: unknown): number;
52
+ /** Trigger summary shown in lists, e.g. "Lead score reached 80". */
53
+ export declare function describeTrigger(workflow: AutomationWorkflowLike): string;
54
+ /** Lower-case status used by the shared StatusBadge. */
55
+ export declare function workflowBadgeStatus(status: string): string;
56
+ export declare function isRunCancellable(status: string): boolean;
57
+ export declare function isRunRetryable(status: string): boolean;
58
+ /** Step label for a run log entry: "2 · Send Email". */
59
+ export declare function stepName(steps: EngineStep[], stepIndex: number, fallbackType: string): string;
39
60
  //# sourceMappingURL=automationMapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"automationMapper.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/utils/automationMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EACV,aAAa,EACb,QAAQ,EAER,gBAAgB,EAEjB,MAAM,UAAU,CAAC;AAElB,KAAK,YAAY,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAuGF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,GAAG,6BAA6B,CA+BhC;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,YAAY,GAAG,QAAQ,CAoB5D;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,qBAAqB,EAC3B,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACvC,aAAa,CAYf;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,QAAQ,GAAG,gBAAgB,CAWxE"}
1
+ {"version":3,"file":"automationMapper.d.ts","sourceRoot":"","sources":["../../../src/headshotmarketing/utils/automationMapper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAEL,KAAK,UAAU,EAChB,MAAM,sCAAsC,CAAC;AAG9C,MAAM,MAAM,wBAAwB,GAChC,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,UAAU,CAAC;AACf,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,SAAS,GACT,SAAS,GACT,WAAW,GACX,QAAQ,GACR,WAAW,CAAC;AAEhB,8EAA8E;AAC9E,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAA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;AAC7E,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIvD;AAED,oEAAoE;AACpE,wBAAgB,eAAe,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,CASxE;AAED,wDAAwD;AACxD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAExD;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED,wDAAwD;AACxD,wBAAgB,QAAQ,CACtB,KAAK,EAAE,UAAU,EAAE,EACnB,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACnB,MAAM,CAaR"}
@@ -1,120 +1,76 @@
1
+ import { triggerLabel as e } from "../pages/automation/workflowBuilderModel.js";
2
+ import { parseEngineSteps as t } from "../pages/automation/workflowCompiler.js";
1
3
  //#region src/headshotmarketing/utils/automationMapper.ts
2
- function e(e) {
3
- switch (e) {
4
- case "ACTIVE": return "active";
5
- case "PAUSED": return "paused";
6
- case "ARCHIVED": return "archived";
7
- default: return "draft";
8
- }
9
- }
10
- function t(e) {
11
- switch (e) {
12
- case "FORM_SUBMIT": return "form_submit";
13
- case "EVENT": return "event";
14
- case "SCHEDULE": return "schedule";
15
- case "CONDITION": return "condition";
16
- case "WEBHOOK": return "webhook";
17
- case "TAG_ADDED": return "tag_added";
18
- case "SCORE_CHANGE": return "score_change";
19
- default: return "event";
20
- }
21
- }
22
4
  function n(e) {
23
- switch (e) {
24
- case "SUCCESS": return "success";
25
- case "FAILED": return "failed";
26
- case "SKIPPED": return "skipped";
27
- default: return "pending";
28
- }
5
+ return new Date(e.getFullYear(), e.getMonth(), 1);
29
6
  }
30
- function r(e, n) {
31
- let r = t(e ?? "EVENT"), i = typeof n?.description == "string" ? n.description : r.replace("_", " ");
7
+ function r() {
32
8
  return {
33
- id: `trigger-${r}`,
34
- type: r,
35
- config: n ?? {},
36
- description: i
9
+ runsThisMonth: 0,
10
+ emailsSentThisMonth: 0,
11
+ finished: 0,
12
+ completed: 0,
13
+ failed: 0,
14
+ successRate: null,
15
+ lastRunAt: null
37
16
  };
38
17
  }
39
18
  function i(e) {
40
- return (Array.isArray(e) ? e : typeof e == "object" && e && Array.isArray(e.steps) ? e.steps : []).map((e, t) => ({
41
- id: typeof e == "object" && e && "id" in e ? String(e.id) : `step-${t + 1}`,
42
- type: "notify",
43
- config: typeof e == "object" && e ? e : {},
44
- description: typeof e == "object" && e && "name" in e ? String(e.name) : `Step ${t + 1}`,
45
- order: t + 1
46
- }));
19
+ return new Set(e.filter((e) => e.type === "SEND_EMAIL").map((e) => e.id));
47
20
  }
48
- function a(e) {
49
- return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 48) || "workflow";
21
+ function a(e, t) {
22
+ let n = e.context ?? {}, r = 0;
23
+ for (let e of t) {
24
+ let t = n[`step_${e}`];
25
+ typeof t == "object" && t && typeof t.deliveredTo == "string" && (r += 1);
26
+ }
27
+ return r;
50
28
  }
51
29
  function o(e) {
52
- let t = e.triggerType ?? "EVENT", n = e.triggerConfig ?? {}, r = e.variables ?? {};
53
30
  return {
54
- workflowKey: `headshotmarketing-${a(e.name)}-${Date.now()}`,
55
- version: "1.0.0",
56
- name: e.name,
57
- description: e.description ?? null,
58
- category: "headshotmarketing",
59
- tags: e.tags ?? [],
60
- context: {
61
- triggerType: t,
62
- triggerConfig: n,
63
- variables: r,
64
- product: "headshotmarketing"
65
- },
66
- definitionJson: {
67
- triggerType: t,
68
- triggerConfig: n,
69
- variables: r,
70
- steps: Array.isArray(e.steps) ? e.steps : typeof e.steps == "object" && e.steps !== null && Array.isArray(e.steps.steps) ? e.steps.steps : []
71
- }
31
+ ...e,
32
+ successRate: e.finished > 0 ? e.completed / e.finished * 100 : null
72
33
  };
73
34
  }
74
- function s(t) {
75
- let n = e(t.status), a = t.executionCount ?? 0;
35
+ function s(e, s, c = /* @__PURE__ */ new Date()) {
36
+ let l = n(c).getTime(), u = new Map(e.map((e) => [e.id, i(t(e.steps))])), d = r(), f = /* @__PURE__ */ new Map();
37
+ for (let t of e) f.set(t.id, r());
38
+ for (let e of s) {
39
+ let t = f.get(e.workflowId) ?? r();
40
+ f.set(e.workflowId, t);
41
+ let n = new Date(e.startedAt).getTime(), i = Number.isFinite(n) && n >= l;
42
+ for (let n of [d, t]) (!n.lastRunAt || e.startedAt > n.lastRunAt) && (n.lastRunAt = e.startedAt), i && (n.runsThisMonth += 1, n.emailsSentThisMonth += a(e, u.get(e.workflowId) ?? /* @__PURE__ */ new Set()), e.status === "COMPLETED" ? (n.finished += 1, n.completed += 1) : e.status === "FAILED" && (n.finished += 1, n.failed += 1));
43
+ }
44
+ let p = /* @__PURE__ */ new Map();
45
+ for (let [e, t] of f) p.set(e, o(t));
76
46
  return {
77
- id: t.id,
78
- name: t.name,
79
- description: t.description ?? "",
80
- status: n,
81
- trigger: r(t.triggerType, t.triggerConfig),
82
- actions: i(t.steps),
83
- enrolledCount: a,
84
- completedCount: 0,
85
- conversionRate: 0,
86
- lastTriggeredAt: t.lastExecutedAt ?? null,
87
- tags: t.tags,
88
- createdAt: t.createdAt,
89
- updatedAt: t.updatedAt
47
+ total: o(d),
48
+ byWorkflow: p
90
49
  };
91
50
  }
92
- function c(e, t) {
93
- return {
94
- id: e.id,
95
- workflowId: e.workflowId,
96
- workflowName: t[e.workflowId] ?? "Workflow",
97
- contactId: e.triggeredBy ?? "system",
98
- contactEmail: e.triggeredBy ?? "system@burdenoff.local",
99
- action: "Execution",
100
- status: n(e.status),
101
- message: e.errorMessage ?? "Completed",
102
- executedAt: e.createdAt
103
- };
51
+ function c(e) {
52
+ return t(e).filter((e) => !(e.type === "GOAL" && e.config.endRun === !0)).length;
104
53
  }
105
- function l(e) {
106
- return {
107
- id: e.id,
108
- name: e.name,
109
- description: e.description,
110
- category: e.tags[0] ?? "automation",
111
- trigger: e.trigger,
112
- actions: e.actions,
113
- popularity: Math.min(100, e.enrolledCount),
114
- createdAt: e.createdAt
115
- };
54
+ function l(t) {
55
+ let n = e(t.triggerType), r = t.triggerConfig?.scoreThreshold;
56
+ return t.triggerType === "SCORE_THRESHOLD" && typeof r == "number" ? `${n} ${r}` : n;
57
+ }
58
+ function u(e) {
59
+ return e.toLowerCase();
60
+ }
61
+ function d(e) {
62
+ return e === "PENDING" || e === "RUNNING" || e === "WAITING";
63
+ }
64
+ function f(e) {
65
+ return e === "FAILED";
66
+ }
67
+ function p(e, t, n) {
68
+ let r = e[t], i = r?.config.label;
69
+ if (typeof i == "string" && i.trim()) return i;
70
+ let a = r?.type ?? n, o = a.toLowerCase().split("_").map((e) => e.charAt(0).toUpperCase() + e.slice(1)).join(" ");
71
+ return a === "GOAL" && r?.config.endRun === !0 ? "End of branch" : o;
116
72
  }
117
73
  //#endregion
118
- export { c as toAutomationLogModel, o as toWorkflowDefinitionInput, s as toWorkflowModel, l as toWorkflowTemplateModel };
74
+ export { l as describeTrigger, d as isRunCancellable, f as isRunRetryable, n as startOfMonth, p as stepName, s as summarizeRuns, c as visibleStepCount, u as workflowBadgeStatus };
119
75
 
120
76
  //# sourceMappingURL=automationMapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"automationMapper.js","names":[],"sources":["../../../src/headshotmarketing/utils/automationMapper.ts"],"sourcesContent":["import type { CreateWorkflowDefinitionInput } from \"../../generated/wspace-types\";\nimport type {\n AutomationLog,\n Workflow,\n WorkflowAction,\n WorkflowTemplate,\n WorkflowTrigger,\n} from \"../types\";\n\ntype WorkflowLike = {\n id: string;\n name: string;\n description?: string | null;\n status: string;\n triggerType?: string | null;\n triggerConfig?: Record<string, unknown> | null;\n steps?: unknown;\n tags: string[];\n executionCount?: number | null;\n lastExecutedAt?: string | null;\n createdAt: string;\n updatedAt: string;\n};\n\ntype WorkflowExecutionLike = {\n id: string;\n workflowId: string;\n status: string;\n errorMessage?: string | null;\n triggeredBy?: string | null;\n createdAt: string;\n};\n\nfunction mapWorkflowStatus(status: string): Workflow[\"status\"] {\n switch (status) {\n case \"ACTIVE\":\n return \"active\";\n case \"PAUSED\":\n return \"paused\";\n case \"ARCHIVED\":\n return \"archived\";\n default:\n return \"draft\";\n }\n}\n\nfunction mapTriggerType(type: string): WorkflowTrigger[\"type\"] {\n switch (type) {\n case \"FORM_SUBMIT\":\n return \"form_submit\";\n case \"EVENT\":\n return \"event\";\n case \"SCHEDULE\":\n return \"schedule\";\n case \"CONDITION\":\n return \"condition\";\n case \"WEBHOOK\":\n return \"webhook\";\n case \"TAG_ADDED\":\n return \"tag_added\";\n case \"SCORE_CHANGE\":\n return \"score_change\";\n default:\n return \"event\";\n }\n}\n\nfunction mapExecutionStatus(status: string): AutomationLog[\"status\"] {\n switch (status) {\n case \"SUCCESS\":\n return \"success\";\n case \"FAILED\":\n return \"failed\";\n case \"SKIPPED\":\n return \"skipped\";\n default:\n return \"pending\";\n }\n}\n\nfunction toWorkflowTrigger(\n type?: string | null,\n config?: Record<string, unknown> | null,\n): WorkflowTrigger {\n const mappedType = mapTriggerType(type ?? \"EVENT\");\n const description =\n typeof config?.[\"description\"] === \"string\"\n ? config[\"description\"]\n : mappedType.replace(\"_\", \" \");\n return {\n id: `trigger-${mappedType}`,\n type: mappedType,\n config: config ?? {},\n description,\n };\n}\n\nfunction toWorkflowActions(steps?: unknown): WorkflowAction[] {\n const stepList = Array.isArray(steps)\n ? steps\n : typeof steps === \"object\" &&\n steps !== null &&\n Array.isArray((steps as { steps?: unknown }).steps)\n ? (steps as { steps: unknown[] }).steps\n : [];\n\n return stepList.map((step, idx) => ({\n id:\n typeof step === \"object\" && step !== null && \"id\" in step\n ? String((step as { id: unknown }).id)\n : `step-${idx + 1}`,\n type: \"notify\",\n config:\n typeof step === \"object\" && step !== null\n ? (step as Record<string, unknown>)\n : {},\n description:\n typeof step === \"object\" && step !== null && \"name\" in step\n ? String((step as { name: unknown }).name)\n : `Step ${idx + 1}`,\n order: idx + 1,\n }));\n}\n\nfunction slugify(value: string): string {\n return (\n value\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, \"-\")\n .replace(/^-+|-+$/g, \"\")\n .slice(0, 48) || \"workflow\"\n );\n}\n\nexport function toWorkflowDefinitionInput(input: {\n name: string;\n description?: string | null;\n triggerType?: string | null;\n triggerConfig?: Record<string, unknown> | null;\n steps?: unknown;\n variables?: Record<string, unknown> | null;\n tags?: string[];\n}): CreateWorkflowDefinitionInput {\n const triggerType = input.triggerType ?? \"EVENT\";\n const triggerConfig = input.triggerConfig ?? {};\n const variables = input.variables ?? {};\n const workflowKey = `headshotmarketing-${slugify(input.name)}-${Date.now()}`;\n return {\n workflowKey,\n version: \"1.0.0\",\n name: input.name,\n description: input.description ?? null,\n category: \"headshotmarketing\",\n tags: input.tags ?? [],\n context: {\n triggerType,\n triggerConfig,\n variables,\n product: \"headshotmarketing\",\n },\n definitionJson: {\n triggerType,\n triggerConfig,\n variables,\n steps: Array.isArray(input.steps)\n ? input.steps\n : typeof input.steps === \"object\" &&\n input.steps !== null &&\n Array.isArray((input.steps as { steps?: unknown }).steps)\n ? (input.steps as { steps: unknown[] }).steps\n : [],\n },\n };\n}\n\nexport function toWorkflowModel(item: WorkflowLike): Workflow {\n const status = mapWorkflowStatus(item.status);\n const executionCount = item.executionCount ?? 0;\n return {\n id: item.id,\n name: item.name,\n description: item.description ?? \"\",\n status,\n trigger: toWorkflowTrigger(item.triggerType, item.triggerConfig),\n actions: toWorkflowActions(item.steps),\n enrolledCount: executionCount,\n completedCount: 0,\n // Real conversion requires per-execution outcome tracking, which this payload\n // does not carry — report 0 (unknown) rather than fabricating 100% for active.\n conversionRate: 0,\n lastTriggeredAt: item.lastExecutedAt ?? null,\n tags: item.tags,\n createdAt: item.createdAt,\n updatedAt: item.updatedAt,\n };\n}\n\nexport function toAutomationLogModel(\n item: WorkflowExecutionLike,\n workflowNameById: Record<string, string>,\n): AutomationLog {\n return {\n id: item.id,\n workflowId: item.workflowId,\n workflowName: workflowNameById[item.workflowId] ?? \"Workflow\",\n contactId: item.triggeredBy ?? \"system\",\n contactEmail: item.triggeredBy ?? \"system@burdenoff.local\",\n action: \"Execution\",\n status: mapExecutionStatus(item.status),\n message: item.errorMessage ?? \"Completed\",\n executedAt: item.createdAt,\n };\n}\n\nexport function toWorkflowTemplateModel(item: Workflow): WorkflowTemplate {\n return {\n id: item.id,\n name: item.name,\n description: item.description,\n category: item.tags[0] ?? \"automation\",\n trigger: item.trigger,\n actions: item.actions,\n popularity: Math.min(100, item.enrolledCount),\n createdAt: item.createdAt,\n };\n}\n"],"mappings":";AAiCA,SAAS,EAAkB,GAAoC;AAC7D,SAAQ,GAAR;EACE,KAAK,SACH,QAAO;EACT,KAAK,SACH,QAAO;EACT,KAAK,WACH,QAAO;EACT,QACE,QAAO;;;AAIb,SAAS,EAAe,GAAuC;AAC7D,SAAQ,GAAR;EACE,KAAK,cACH,QAAO;EACT,KAAK,QACH,QAAO;EACT,KAAK,WACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,UACH,QAAO;EACT,KAAK,YACH,QAAO;EACT,KAAK,eACH,QAAO;EACT,QACE,QAAO;;;AAIb,SAAS,EAAmB,GAAyC;AACnE,SAAQ,GAAR;EACE,KAAK,UACH,QAAO;EACT,KAAK,SACH,QAAO;EACT,KAAK,UACH,QAAO;EACT,QACE,QAAO;;;AAIb,SAAS,EACP,GACA,GACiB;CACjB,IAAM,IAAa,EAAe,KAAQ,QAAQ,EAC5C,IACJ,OAAO,GAAS,eAAmB,WAC/B,EAAO,cACP,EAAW,QAAQ,KAAK,IAAI;AAClC,QAAO;EACL,IAAI,WAAW;EACf,MAAM;EACN,QAAQ,KAAU,EAAE;EACpB;EACD;;AAGH,SAAS,EAAkB,GAAmC;AAS5D,SARiB,MAAM,QAAQ,EAAM,GACjC,IACA,OAAO,KAAU,YACf,KACA,MAAM,QAAS,EAA8B,MAAM,GAClD,EAA+B,QAChC,EAAE,EAEQ,KAA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BAAiB,EAAK,kBAAkB;EACxC,MAAM,EAAK;EACX,WAAW,EAAK;EAChB,WAAW,EAAK;EACjB;;AAGH,SAAgB,EACd,GACA,GACe;AACf,QAAO;EACL,IAAI,EAAK;EACT,YAAY,EAAK;EACjB,cAAc,EAAiB,EAAK,eAAe;EACnD,WAAW,EAAK,eAAe;EAC/B,cAAc,EAAK,eAAe;EAClC,QAAQ;EACR,QAAQ,EAAmB,EAAK,OAAO;EACvC,SAAS,EAAK,gBAAgB;EAC9B,YAAY,EAAK;EAClB;;AAGH,SAAgB,EAAwB,GAAkC;AACxE,QAAO;EACL,IAAI,EAAK;EACT,MAAM,EAAK;EACX,aAAa,EAAK;EAClB,UAAU,EAAK,KAAK,MAAM;EAC1B,SAAS,EAAK;EACd,SAAS,EAAK;EACd,YAAY,KAAK,IAAI,KAAK,EAAK,cAAc;EAC7C,WAAW,EAAK;EACjB"}
1
+ {"version":3,"file":"automationMapper.js","names":[],"sources":["../../../src/headshotmarketing/utils/automationMapper.ts"],"sourcesContent":["/**\n * View-model helpers for the product automation engine (BOFF-10192).\n *\n * Workflows and runs come from wspace-headshotmarketing-svc\n * (`headshotmarketingAutomationWorkflows`, `headshotmarketingAutomationWorkflowRuns`).\n * Every figure derived here is computed from real runs — nothing is\n * estimated or defaulted to look healthy.\n *\n * @module headshotmarketing/utils/automationMapper\n */\nimport {\n parseEngineSteps,\n type EngineStep,\n} from \"../pages/automation/workflowCompiler\";\nimport { triggerLabel } from \"../pages/automation/workflowBuilderModel\";\n\nexport type AutomationWorkflowStatus =\n | \"ACTIVE\"\n | \"PAUSED\"\n | \"DRAFT\"\n | \"ARCHIVED\";\nexport type AutomationRunStatus =\n | \"PENDING\"\n | \"RUNNING\"\n | \"WAITING\"\n | \"COMPLETED\"\n | \"FAILED\"\n | \"CANCELLED\";\n\n/** Minimal workflow shape the helpers need (matches the GraphQL fragment). */\nexport interface AutomationWorkflowLike {\n id: string;\n name: string;\n status: string;\n triggerType: string;\n triggerConfig?: Record<string, unknown> | null;\n steps: unknown;\n totalRuns: number;\n}\n\n/** Minimal run shape the helpers need (matches the GraphQL fragment). */\nexport interface AutomationRunLike {\n id: string;\n workflowId: string;\n status: string;\n startedAt: string;\n completedAt?: string | null;\n context?: Record<string, unknown> | null;\n}\n\nexport interface RunStats {\n /** Runs started since the first day of the current month. */\n runsThisMonth: number;\n /** Emails actually delivered by SEND_EMAIL steps in this month's runs. */\n emailsSentThisMonth: number;\n /** This month's finished runs (COMPLETED or FAILED). */\n finished: number;\n completed: number;\n failed: number;\n /** completed / finished, 0-100, or null when nothing has finished. */\n successRate: number | null;\n /** Most recent run start among the loaded runs, or null. */\n lastRunAt: string | null;\n}\n\nexport function startOfMonth(now: Date): Date {\n return new Date(now.getFullYear(), now.getMonth(), 1);\n}\n\nfunction emptyStats(): RunStats {\n return {\n runsThisMonth: 0,\n emailsSentThisMonth: 0,\n finished: 0,\n completed: 0,\n failed: 0,\n successRate: null,\n lastRunAt: null,\n };\n}\n\n/** Ids of the workflow's SEND_EMAIL steps. */\nfunction emailStepIds(steps: EngineStep[]): Set<string> {\n return new Set(steps.filter((s) => s.type === \"SEND_EMAIL\").map((s) => s.id));\n}\n\n/**\n * Count emails a run delivered: the engine records each successful step's\n * output in the run context as `step_<stepId>`, and a delivered email's\n * output carries `deliveredTo`.\n */\nexport function emailsDeliveredByRun(\n run: AutomationRunLike,\n emailSteps: Set<string>,\n): number {\n const context = run.context ?? {};\n let count = 0;\n for (const id of emailSteps) {\n const output = context[`step_${id}`];\n if (\n typeof output === \"object\" &&\n output !== null &&\n typeof (output as Record<string, unknown>)[\"deliveredTo\"] === \"string\"\n ) {\n count += 1;\n }\n }\n return count;\n}\n\nfunction finalize(stats: RunStats): RunStats {\n return {\n ...stats,\n successRate:\n stats.finished > 0 ? (stats.completed / stats.finished) * 100 : null,\n };\n}\n\n/** Per-workflow and overall run statistics. */\nexport function summarizeRuns(\n workflows: AutomationWorkflowLike[],\n runs: AutomationRunLike[],\n now: Date = new Date(),\n): { total: RunStats; byWorkflow: Map<string, RunStats> } {\n const monthStart = startOfMonth(now).getTime();\n const emailStepsByWorkflow = new Map(\n workflows.map((w) => [w.id, emailStepIds(parseEngineSteps(w.steps))]),\n );\n const total = emptyStats();\n const byWorkflow = new Map<string, RunStats>();\n for (const w of workflows) byWorkflow.set(w.id, emptyStats());\n\n for (const run of runs) {\n const target = byWorkflow.get(run.workflowId) ?? emptyStats();\n byWorkflow.set(run.workflowId, target);\n const started = new Date(run.startedAt).getTime();\n const thisMonth = Number.isFinite(started) && started >= monthStart;\n for (const stats of [total, target]) {\n if (!stats.lastRunAt || run.startedAt > stats.lastRunAt) {\n stats.lastRunAt = run.startedAt;\n }\n if (!thisMonth) continue;\n stats.runsThisMonth += 1;\n stats.emailsSentThisMonth += emailsDeliveredByRun(\n run,\n emailStepsByWorkflow.get(run.workflowId) ?? new Set(),\n );\n if (run.status === \"COMPLETED\") {\n stats.finished += 1;\n stats.completed += 1;\n } else if (run.status === \"FAILED\") {\n stats.finished += 1;\n stats.failed += 1;\n }\n }\n }\n\n const finalized = new Map<string, RunStats>();\n for (const [id, stats] of byWorkflow) finalized.set(id, finalize(stats));\n return { total: finalize(total), byWorkflow: finalized };\n}\n\n/** Number of user-visible steps (structural branch-end markers excluded). */\nexport function visibleStepCount(steps: unknown): number {\n return parseEngineSteps(steps).filter(\n (s) => !(s.type === \"GOAL\" && s.config[\"endRun\"] === true),\n ).length;\n}\n\n/** Trigger summary shown in lists, e.g. \"Lead score reached 80\". */\nexport function describeTrigger(workflow: AutomationWorkflowLike): string {\n const label = triggerLabel(workflow.triggerType);\n const threshold = workflow.triggerConfig?.[\"scoreThreshold\"];\n if (\n workflow.triggerType === \"SCORE_THRESHOLD\" &&\n typeof threshold === \"number\"\n )\n return `${label} ${threshold}`;\n return label;\n}\n\n/** Lower-case status used by the shared StatusBadge. */\nexport function workflowBadgeStatus(status: string): string {\n return status.toLowerCase();\n}\n\nexport function isRunCancellable(status: string): boolean {\n return status === \"PENDING\" || status === \"RUNNING\" || status === \"WAITING\";\n}\n\nexport function isRunRetryable(status: string): boolean {\n return status === \"FAILED\";\n}\n\n/** Step label for a run log entry: \"2 · Send Email\". */\nexport function stepName(\n steps: EngineStep[],\n stepIndex: number,\n fallbackType: string,\n): string {\n const step = steps[stepIndex];\n const custom = step?.config[\"label\"];\n if (typeof custom === \"string\" && custom.trim()) return custom;\n const type = step?.type ?? fallbackType;\n const readable = type\n .toLowerCase()\n .split(\"_\")\n .map((w) => w.charAt(0).toUpperCase() + w.slice(1))\n .join(\" \");\n if (type === \"GOAL\" && step?.config[\"endRun\"] === true)\n return \"End of branch\";\n return readable;\n}\n"],"mappings":";;;AAiEA,SAAgB,EAAa,GAAiB;AAC5C,QAAO,IAAI,KAAK,EAAI,aAAa,EAAE,EAAI,UAAU,EAAE,EAAE;;AAGvD,SAAS,IAAuB;AAC9B,QAAO;EACL,eAAe;EACf,qBAAqB;EACrB,UAAU;EACV,WAAW;EACX,QAAQ;EACR,aAAa;EACb,WAAW;EACZ;;AAIH,SAAS,EAAa,GAAkC;AACtD,QAAO,IAAI,IAAI,EAAM,QAAQ,MAAM,EAAE,SAAS,aAAa,CAAC,KAAK,MAAM,EAAE,GAAG,CAAC;;AAQ/E,SAAgB,EACd,GACA,GACQ;CACR,IAAM,IAAU,EAAI,WAAW,EAAE,EAC7B,IAAQ;AACZ,MAAK,IAAM,KAAM,GAAY;EAC3B,IAAM,IAAS,EAAQ,QAAQ;AAC/B,EACE,OAAO,KAAW,YAClB,KACA,OAAQ,EAAmC,eAAmB,aAE9D,KAAS;;AAGb,QAAO;;AAGT,SAAS,EAAS,GAA2B;AAC3C,QAAO;EACL,GAAG;EACH,aACE,EAAM,WAAW,IAAK,EAAM,YAAY,EAAM,WAAY,MAAM;EACnE;;AAIH,SAAgB,EACd,GACA,GACA,oBAAY,IAAI,MAAM,EACkC;CACxD,IAAM,IAAa,EAAa,EAAI,CAAC,SAAS,EACxC,IAAuB,IAAI,IAC/B,EAAU,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GAAwB;AAC1D,QAAO,EAAO,aAAa;;AAG7B,SAAgB,EAAiB,GAAyB;AACxD,QAAO,MAAW,aAAa,MAAW,aAAa,MAAW;;AAGpE,SAAgB,EAAe,GAAyB;AACtD,QAAO,MAAW;;AAIpB,SAAgB,EACd,GACA,GACA,GACQ;CACR,IAAM,IAAO,EAAM,IACb,IAAS,GAAM,OAAO;AAC5B,KAAI,OAAO,KAAW,YAAY,EAAO,MAAM,CAAE,QAAO;CACxD,IAAM,IAAO,GAAM,QAAQ,GACrB,IAAW,EACd,aAAa,CACb,MAAM,IAAI,CACV,KAAK,MAAM,EAAE,OAAO,EAAE,CAAC,aAAa,GAAG,EAAE,MAAM,EAAE,CAAC,CAClD,KAAK,IAAI;AAGZ,QAFI,MAAS,UAAU,GAAM,OAAO,WAAc,KACzC,kBACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-headshotmarketing",
3
- "version": "2026.928.2",
3
+ "version": "2026.1029.1",
4
4
  "description": "Burdenoff HeadshotMarketing Microfrontend - All-in-one marketing automation platform",
5
5
  "type": "module",
6
6
  "files": [