@elevasis/sdk 1.21.0 → 1.22.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.
- package/dist/cli.cjs +1239 -173
- package/dist/index.d.ts +1752 -464
- package/dist/index.js +3477 -143
- package/dist/node/index.d.ts +1 -0
- package/dist/node/index.js +19 -1
- package/dist/test-utils/index.d.ts +1188 -127
- package/dist/test-utils/index.js +3359 -152
- package/dist/worker/index.js +3148 -80
- package/package.json +2 -2
- package/reference/claude-config/hooks/post-edit-validate.mjs +98 -98
- package/reference/claude-config/hooks/scaffold-registry-reminder.mjs +188 -188
- package/reference/claude-config/hooks/tool-failure-recovery.mjs +73 -73
- package/reference/claude-config/registries/graph-skills.json +4 -4
- package/reference/claude-config/registries/knowledge-flags.json +0 -2
- package/reference/claude-config/rules/active-change-index.md +80 -80
- package/reference/claude-config/rules/agent-start-here.md +277 -277
- package/reference/claude-config/rules/deployment.md +57 -57
- package/reference/claude-config/rules/error-handling.md +56 -56
- package/reference/claude-config/rules/execution.md +40 -40
- package/reference/claude-config/rules/frontend.md +4 -4
- package/reference/claude-config/rules/observability.md +31 -31
- package/reference/claude-config/rules/operations.md +29 -17
- package/reference/claude-config/rules/organization-model.md +113 -81
- package/reference/claude-config/rules/organization-os.md +115 -113
- package/reference/claude-config/rules/package-taxonomy.md +33 -33
- package/reference/claude-config/rules/platform.md +42 -42
- package/reference/claude-config/rules/shared-types.md +49 -46
- package/reference/claude-config/rules/task-tracking.md +47 -47
- package/reference/claude-config/rules/ui.md +200 -200
- package/reference/claude-config/rules/vibe.md +235 -235
- package/reference/claude-config/scripts/statusline-command.js +18 -18
- package/reference/claude-config/settings.json +34 -34
- package/reference/claude-config/skills/deploy/{SKILL.md → skill.md} +156 -156
- package/reference/claude-config/skills/dsp/SKILL.md +66 -66
- package/reference/claude-config/skills/elevasis/SKILL.md +235 -235
- package/reference/claude-config/skills/explore/SKILL.md +6 -6
- package/reference/claude-config/skills/git-sync/SKILL.md +126 -126
- package/reference/claude-config/skills/knowledge/SKILL.md +314 -299
- package/reference/claude-config/skills/knowledge/operations/codify-level-a.md +100 -100
- package/reference/claude-config/skills/knowledge/operations/codify-level-b.md +159 -159
- package/reference/claude-config/skills/knowledge/operations/customers.md +109 -109
- package/reference/claude-config/skills/knowledge/operations/features.md +76 -76
- package/reference/claude-config/skills/knowledge/operations/goals.md +118 -118
- package/reference/claude-config/skills/knowledge/operations/identity.md +93 -93
- package/reference/claude-config/skills/knowledge/operations/labels.md +94 -94
- package/reference/claude-config/skills/knowledge/operations/offerings.md +109 -109
- package/reference/claude-config/skills/knowledge/operations/roles.md +99 -99
- package/reference/claude-config/skills/knowledge/operations/techStack.md +30 -30
- package/reference/claude-config/skills/project/SKILL.md +1088 -1088
- package/reference/claude-config/skills/run-ui/SKILL.md +73 -73
- package/reference/claude-config/skills/save/SKILL.md +3 -3
- package/reference/claude-config/skills/setup/SKILL.md +275 -275
- package/reference/claude-config/skills/status/SKILL.md +59 -59
- package/reference/claude-config/skills/submit-request/SKILL.md +180 -180
- package/reference/claude-config/skills/sync/SKILL.md +47 -47
- package/reference/claude-config/skills/tutorial/SKILL.md +259 -259
- package/reference/claude-config/skills/tutorial/progress-template.md +74 -74
- package/reference/claude-config/skills/tutorial/technical.md +1303 -1303
- package/reference/claude-config/skills/tutorial/vibe-coder.md +890 -890
- package/reference/claude-config/sync-notes/2026-04-22-git-sync-and-sync-notes.md +27 -27
- package/reference/claude-config/sync-notes/2026-04-22-lead-gen-deliverability-removal.md +30 -30
- package/reference/claude-config/sync-notes/2026-04-24-test-utils-and-template-tests.md +73 -73
- package/reference/claude-config/sync-notes/2026-04-24-ui-consolidation-and-sdk-cli-train.md +86 -86
- package/reference/claude-config/sync-notes/2026-04-25-auth-role-system-and-settings-roles.md +55 -55
- package/reference/claude-config/sync-notes/2026-04-27-crm-hitl-action-layer-cutover.md +97 -97
- package/reference/claude-config/sync-notes/2026-04-27-lead-gen-substrate-train.md +112 -112
- package/reference/claude-config/sync-notes/2026-04-29-crm-state-and-lead-gen-processing-status.md +93 -93
- package/reference/claude-config/sync-notes/2026-05-02-crm-ownership-next-action.md +58 -58
- package/reference/claude-config/sync-notes/2026-05-02-template-hardcode-workos-config.md +56 -56
- package/reference/claude-config/sync-notes/2026-05-04-elevasis-workspace.md +71 -71
- package/reference/claude-config/sync-notes/2026-05-04-knowledge-bundle.md +83 -83
- package/reference/claude-config/sync-notes/2026-05-04-template-skills-run-ui-and-tutorial.md +59 -59
- package/reference/claude-config/sync-notes/2026-05-05-list-builder.md +42 -42
- package/reference/claude-config/sync-notes/2026-05-06-crm-spine.md +60 -60
- package/reference/claude-config/sync-notes/2026-05-06-sdk-changes-release-train.md +37 -37
- package/reference/claude-config/sync-notes/2026-05-07-sdk-changes-release-train.md +34 -34
- package/reference/claude-config/sync-notes/2026-05-08-resource-governance-scaffold-guidance.md +38 -38
- package/reference/claude-config/sync-notes/2026-05-09-clients-domain.md +32 -32
- package/reference/claude-config/sync-notes/2026-05-09-command-system.md +33 -33
- package/reference/claude-config/sync-notes/2026-05-09-resource-governance-and-misc.md +69 -69
- package/reference/claude-config/sync-notes/2026-05-12-sdk-ready-release-train.md +30 -30
- package/reference/claude-config/sync-notes/2026-05-14-organization-model-ontology-refactor.md +45 -0
- package/reference/claude-config/sync-notes/README.md +43 -43
- package/reference/cli.mdx +808 -808
- package/reference/concepts.mdx +146 -146
- package/reference/deployment/api.mdx +297 -297
- package/reference/deployment/command-center.mdx +209 -209
- package/reference/deployment/index.mdx +195 -195
- package/reference/deployment/provided-features.mdx +107 -107
- package/reference/deployment/ui-execution.mdx +250 -250
- package/reference/examples/organization-model.ts +171 -84
- package/reference/framework/agent.mdx +156 -156
- package/reference/framework/index.mdx +195 -195
- package/reference/framework/interaction-guidance.mdx +182 -182
- package/reference/framework/memory.mdx +326 -326
- package/reference/framework/project-structure.mdx +282 -282
- package/reference/framework/tutorial-system.mdx +135 -135
- package/reference/getting-started.mdx +142 -142
- package/reference/index.mdx +106 -106
- package/reference/packages/core/src/README.md +14 -14
- package/reference/packages/core/src/business/README.md +2 -2
- package/reference/packages/core/src/knowledge/README.md +32 -32
- package/reference/packages/core/src/organization-model/README.md +149 -149
- package/reference/packages/core/src/test-utils/README.md +37 -37
- package/reference/packages/ui/src/api/README.md +18 -18
- package/reference/packages/ui/src/app/README.md +24 -24
- package/reference/packages/ui/src/auth/README.md +18 -18
- package/reference/packages/ui/src/components/README.md +24 -24
- package/reference/packages/ui/src/execution/README.md +16 -16
- package/reference/packages/ui/src/features/README.md +28 -28
- package/reference/packages/ui/src/graph/README.md +16 -16
- package/reference/packages/ui/src/hooks/README.md +23 -23
- package/reference/packages/ui/src/initialization/README.md +19 -19
- package/reference/packages/ui/src/knowledge/README.md +31 -31
- package/reference/packages/ui/src/organization/README.md +18 -18
- package/reference/packages/ui/src/profile/README.md +19 -19
- package/reference/packages/ui/src/provider/README.md +32 -32
- package/reference/packages/ui/src/router/README.md +18 -18
- package/reference/packages/ui/src/sse/README.md +13 -13
- package/reference/packages/ui/src/test-utils/README.md +7 -7
- package/reference/packages/ui/src/theme/README.md +23 -23
- package/reference/packages/ui/src/theme/presets/README.md +19 -19
- package/reference/packages/ui/src/types/README.md +16 -16
- package/reference/packages/ui/src/utils/README.md +18 -18
- package/reference/packages/ui/src/zustand/README.md +18 -18
- package/reference/platform-tools/adapters-integration.mdx +301 -301
- package/reference/platform-tools/adapters-platform.mdx +553 -553
- package/reference/platform-tools/index.mdx +217 -217
- package/reference/platform-tools/type-safety.mdx +82 -82
- package/reference/resources/index.mdx +349 -349
- package/reference/resources/patterns.mdx +449 -449
- package/reference/resources/types.mdx +116 -116
- package/reference/roadmap.mdx +165 -165
- package/reference/runtime.mdx +173 -173
- package/reference/scaffold/core/organization-graph.mdx +110 -90
- package/reference/scaffold/core/organization-model.mdx +225 -213
- package/reference/scaffold/index.mdx +67 -67
- package/reference/scaffold/operations/propagation-pipeline.md +77 -77
- package/reference/scaffold/operations/scaffold-maintenance.md +12 -12
- package/reference/scaffold/operations/workflow-recipes.md +138 -138
- package/reference/scaffold/recipes/add-a-feature.md +307 -85
- package/reference/scaffold/recipes/add-a-resource.md +137 -103
- package/reference/scaffold/recipes/customize-knowledge-browser.md +5 -5
- package/reference/scaffold/recipes/customize-organization-model.md +275 -138
- package/reference/scaffold/recipes/extend-a-base-entity.md +8 -8
- package/reference/scaffold/recipes/extend-crm.md +3 -3
- package/reference/scaffold/recipes/extend-lead-gen.md +394 -394
- package/reference/scaffold/recipes/gate-by-feature-or-admin.md +118 -118
- package/reference/scaffold/recipes/index.md +46 -46
- package/reference/scaffold/recipes/query-the-knowledge-graph.md +197 -170
- package/reference/scaffold/reference/contracts.md +2136 -2093
- package/reference/scaffold/reference/glossary.md +76 -76
- package/reference/scaffold/ui/composition-extensibility.mdx +233 -233
- package/reference/scaffold/ui/customization.md +243 -243
- package/reference/scaffold/ui/feature-flags-and-gating.md +46 -46
- package/reference/scaffold/ui/feature-shell.mdx +72 -72
- package/reference/scaffold/ui/recipes.md +221 -214
- package/reference/spine/spine-primer.md +96 -96
- package/reference/templates/index.mdx +47 -47
- package/reference/troubleshooting.mdx +223 -223
package/dist/index.d.ts
CHANGED
|
@@ -507,18 +507,40 @@ declare const ResourceGovernanceStatusSchema: z.ZodEnum<{
|
|
|
507
507
|
active: "active";
|
|
508
508
|
archived: "archived";
|
|
509
509
|
}>;
|
|
510
|
-
declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
510
|
+
declare const WorkflowResourceEntrySchema$1: z.ZodObject<{
|
|
511
511
|
id: z.ZodString;
|
|
512
512
|
order: z.ZodDefault<z.ZodNumber>;
|
|
513
513
|
systemPath: z.ZodString;
|
|
514
|
+
title: z.ZodOptional<z.ZodString>;
|
|
515
|
+
description: z.ZodOptional<z.ZodString>;
|
|
514
516
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
515
517
|
status: z.ZodEnum<{
|
|
516
518
|
deprecated: "deprecated";
|
|
517
519
|
active: "active";
|
|
518
520
|
archived: "archived";
|
|
519
521
|
}>;
|
|
522
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
523
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
524
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
525
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
526
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
527
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
528
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
531
|
+
path: z.ZodString;
|
|
532
|
+
role: z.ZodEnum<{
|
|
533
|
+
schema: "schema";
|
|
534
|
+
config: "config";
|
|
535
|
+
entrypoint: "entrypoint";
|
|
536
|
+
handler: "handler";
|
|
537
|
+
test: "test";
|
|
538
|
+
docs: "docs";
|
|
539
|
+
}>;
|
|
540
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
541
|
+
description: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, z.core.$strip>>>;
|
|
520
543
|
kind: z.ZodLiteral<"workflow">;
|
|
521
|
-
actionKey: z.ZodOptional<z.ZodString>;
|
|
522
544
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
523
545
|
eventKey: z.ZodString;
|
|
524
546
|
label: z.ZodString;
|
|
@@ -536,12 +558,35 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
536
558
|
id: z.ZodString;
|
|
537
559
|
order: z.ZodDefault<z.ZodNumber>;
|
|
538
560
|
systemPath: z.ZodString;
|
|
561
|
+
title: z.ZodOptional<z.ZodString>;
|
|
562
|
+
description: z.ZodOptional<z.ZodString>;
|
|
539
563
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
540
564
|
status: z.ZodEnum<{
|
|
541
565
|
deprecated: "deprecated";
|
|
542
566
|
active: "active";
|
|
543
567
|
archived: "archived";
|
|
544
568
|
}>;
|
|
569
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
570
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
571
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
572
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
574
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
575
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
576
|
+
}, z.core.$strip>>;
|
|
577
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
578
|
+
path: z.ZodString;
|
|
579
|
+
role: z.ZodEnum<{
|
|
580
|
+
schema: "schema";
|
|
581
|
+
config: "config";
|
|
582
|
+
entrypoint: "entrypoint";
|
|
583
|
+
handler: "handler";
|
|
584
|
+
test: "test";
|
|
585
|
+
docs: "docs";
|
|
586
|
+
}>;
|
|
587
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
588
|
+
description: z.ZodOptional<z.ZodString>;
|
|
589
|
+
}, z.core.$strip>>>;
|
|
545
590
|
kind: z.ZodLiteral<"agent">;
|
|
546
591
|
agentKind: z.ZodEnum<{
|
|
547
592
|
platform: "platform";
|
|
@@ -587,129 +632,40 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
587
632
|
}>>;
|
|
588
633
|
}, z.core.$strip>>>;
|
|
589
634
|
}, z.core.$strip>;
|
|
590
|
-
declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
591
|
-
id: z.ZodString;
|
|
592
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
593
|
-
systemPath: z.ZodString;
|
|
594
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
595
|
-
status: z.ZodEnum<{
|
|
596
|
-
deprecated: "deprecated";
|
|
597
|
-
active: "active";
|
|
598
|
-
archived: "archived";
|
|
599
|
-
}>;
|
|
600
|
-
kind: z.ZodLiteral<"workflow">;
|
|
601
|
-
actionKey: z.ZodOptional<z.ZodString>;
|
|
602
|
-
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
603
|
-
eventKey: z.ZodString;
|
|
604
|
-
label: z.ZodString;
|
|
605
|
-
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
606
|
-
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
607
|
-
deprecated: "deprecated";
|
|
608
|
-
draft: "draft";
|
|
609
|
-
beta: "beta";
|
|
610
|
-
active: "active";
|
|
611
|
-
archived: "archived";
|
|
612
|
-
}>>;
|
|
613
|
-
}, z.core.$strip>>>;
|
|
614
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
635
|
+
declare const ResourceEntrySchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
615
636
|
id: z.ZodString;
|
|
616
637
|
order: z.ZodDefault<z.ZodNumber>;
|
|
617
638
|
systemPath: z.ZodString;
|
|
639
|
+
title: z.ZodOptional<z.ZodString>;
|
|
640
|
+
description: z.ZodOptional<z.ZodString>;
|
|
618
641
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
619
642
|
status: z.ZodEnum<{
|
|
620
643
|
deprecated: "deprecated";
|
|
621
644
|
active: "active";
|
|
622
645
|
archived: "archived";
|
|
623
646
|
}>;
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
634
|
-
kind: z.ZodLiteral<"slash-command">;
|
|
635
|
-
command: z.ZodString;
|
|
636
|
-
toolFactory: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
638
|
-
kind: z.ZodLiteral<"mcp-tool">;
|
|
639
|
-
server: z.ZodString;
|
|
640
|
-
name: z.ZodString;
|
|
641
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
642
|
-
kind: z.ZodLiteral<"api-endpoint">;
|
|
643
|
-
method: z.ZodEnum<{
|
|
644
|
-
GET: "GET";
|
|
645
|
-
POST: "POST";
|
|
646
|
-
PATCH: "PATCH";
|
|
647
|
-
DELETE: "DELETE";
|
|
648
|
-
}>;
|
|
647
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
648
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
649
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
650
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
651
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
652
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
654
|
+
}, z.core.$strip>>;
|
|
655
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
649
656
|
path: z.ZodString;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
661
|
-
deprecated: "deprecated";
|
|
662
|
-
draft: "draft";
|
|
663
|
-
beta: "beta";
|
|
664
|
-
active: "active";
|
|
665
|
-
archived: "archived";
|
|
666
|
-
}>>;
|
|
657
|
+
role: z.ZodEnum<{
|
|
658
|
+
schema: "schema";
|
|
659
|
+
config: "config";
|
|
660
|
+
entrypoint: "entrypoint";
|
|
661
|
+
handler: "handler";
|
|
662
|
+
test: "test";
|
|
663
|
+
docs: "docs";
|
|
664
|
+
}>;
|
|
665
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
666
|
+
description: z.ZodOptional<z.ZodString>;
|
|
667
667
|
}, z.core.$strip>>>;
|
|
668
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
669
|
-
id: z.ZodString;
|
|
670
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
671
|
-
systemPath: z.ZodString;
|
|
672
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
673
|
-
status: z.ZodEnum<{
|
|
674
|
-
deprecated: "deprecated";
|
|
675
|
-
active: "active";
|
|
676
|
-
archived: "archived";
|
|
677
|
-
}>;
|
|
678
|
-
kind: z.ZodLiteral<"integration">;
|
|
679
|
-
provider: z.ZodString;
|
|
680
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
681
|
-
id: z.ZodString;
|
|
682
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
683
|
-
systemPath: z.ZodString;
|
|
684
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
685
|
-
status: z.ZodEnum<{
|
|
686
|
-
deprecated: "deprecated";
|
|
687
|
-
active: "active";
|
|
688
|
-
archived: "archived";
|
|
689
|
-
}>;
|
|
690
|
-
kind: z.ZodLiteral<"script">;
|
|
691
|
-
language: z.ZodEnum<{
|
|
692
|
-
shell: "shell";
|
|
693
|
-
sql: "sql";
|
|
694
|
-
typescript: "typescript";
|
|
695
|
-
python: "python";
|
|
696
|
-
}>;
|
|
697
|
-
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
698
|
-
file: z.ZodString;
|
|
699
|
-
}, z.core.$strip>]>;
|
|
700
|
-
}, z.core.$strip>], "kind">;
|
|
701
|
-
declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
702
|
-
id: z.ZodString;
|
|
703
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
704
|
-
systemPath: z.ZodString;
|
|
705
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
706
|
-
status: z.ZodEnum<{
|
|
707
|
-
deprecated: "deprecated";
|
|
708
|
-
active: "active";
|
|
709
|
-
archived: "archived";
|
|
710
|
-
}>;
|
|
711
668
|
kind: z.ZodLiteral<"workflow">;
|
|
712
|
-
actionKey: z.ZodOptional<z.ZodString>;
|
|
713
669
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
714
670
|
eventKey: z.ZodString;
|
|
715
671
|
label: z.ZodString;
|
|
@@ -726,12 +682,35 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
726
682
|
id: z.ZodString;
|
|
727
683
|
order: z.ZodDefault<z.ZodNumber>;
|
|
728
684
|
systemPath: z.ZodString;
|
|
685
|
+
title: z.ZodOptional<z.ZodString>;
|
|
686
|
+
description: z.ZodOptional<z.ZodString>;
|
|
729
687
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
730
688
|
status: z.ZodEnum<{
|
|
731
689
|
deprecated: "deprecated";
|
|
732
690
|
active: "active";
|
|
733
691
|
archived: "archived";
|
|
734
692
|
}>;
|
|
693
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
694
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
695
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
696
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
697
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
698
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
699
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
700
|
+
}, z.core.$strip>>;
|
|
701
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
702
|
+
path: z.ZodString;
|
|
703
|
+
role: z.ZodEnum<{
|
|
704
|
+
schema: "schema";
|
|
705
|
+
config: "config";
|
|
706
|
+
entrypoint: "entrypoint";
|
|
707
|
+
handler: "handler";
|
|
708
|
+
test: "test";
|
|
709
|
+
docs: "docs";
|
|
710
|
+
}>;
|
|
711
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
712
|
+
description: z.ZodOptional<z.ZodString>;
|
|
713
|
+
}, z.core.$strip>>>;
|
|
735
714
|
kind: z.ZodLiteral<"agent">;
|
|
736
715
|
agentKind: z.ZodEnum<{
|
|
737
716
|
platform: "platform";
|
|
@@ -780,24 +759,70 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
780
759
|
id: z.ZodString;
|
|
781
760
|
order: z.ZodDefault<z.ZodNumber>;
|
|
782
761
|
systemPath: z.ZodString;
|
|
762
|
+
title: z.ZodOptional<z.ZodString>;
|
|
763
|
+
description: z.ZodOptional<z.ZodString>;
|
|
783
764
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
784
765
|
status: z.ZodEnum<{
|
|
785
766
|
deprecated: "deprecated";
|
|
786
767
|
active: "active";
|
|
787
768
|
archived: "archived";
|
|
788
769
|
}>;
|
|
770
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
771
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
772
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
773
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
774
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
775
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
776
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
777
|
+
}, z.core.$strip>>;
|
|
778
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
779
|
+
path: z.ZodString;
|
|
780
|
+
role: z.ZodEnum<{
|
|
781
|
+
schema: "schema";
|
|
782
|
+
config: "config";
|
|
783
|
+
entrypoint: "entrypoint";
|
|
784
|
+
handler: "handler";
|
|
785
|
+
test: "test";
|
|
786
|
+
docs: "docs";
|
|
787
|
+
}>;
|
|
788
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
789
|
+
description: z.ZodOptional<z.ZodString>;
|
|
790
|
+
}, z.core.$strip>>>;
|
|
789
791
|
kind: z.ZodLiteral<"integration">;
|
|
790
792
|
provider: z.ZodString;
|
|
791
793
|
}, z.core.$strip>, z.ZodObject<{
|
|
792
794
|
id: z.ZodString;
|
|
793
795
|
order: z.ZodDefault<z.ZodNumber>;
|
|
794
796
|
systemPath: z.ZodString;
|
|
797
|
+
title: z.ZodOptional<z.ZodString>;
|
|
798
|
+
description: z.ZodOptional<z.ZodString>;
|
|
795
799
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
796
800
|
status: z.ZodEnum<{
|
|
797
801
|
deprecated: "deprecated";
|
|
798
802
|
active: "active";
|
|
799
803
|
archived: "archived";
|
|
800
804
|
}>;
|
|
805
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
806
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
807
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
808
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
809
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
810
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
811
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
812
|
+
}, z.core.$strip>>;
|
|
813
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
814
|
+
path: z.ZodString;
|
|
815
|
+
role: z.ZodEnum<{
|
|
816
|
+
schema: "schema";
|
|
817
|
+
config: "config";
|
|
818
|
+
entrypoint: "entrypoint";
|
|
819
|
+
handler: "handler";
|
|
820
|
+
test: "test";
|
|
821
|
+
docs: "docs";
|
|
822
|
+
}>;
|
|
823
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
824
|
+
description: z.ZodOptional<z.ZodString>;
|
|
825
|
+
}, z.core.$strip>>>;
|
|
801
826
|
kind: z.ZodLiteral<"script">;
|
|
802
827
|
language: z.ZodEnum<{
|
|
803
828
|
shell: "shell";
|
|
@@ -808,11 +833,11 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
808
833
|
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
809
834
|
file: z.ZodString;
|
|
810
835
|
}, z.core.$strip>]>;
|
|
811
|
-
}, z.core.$strip>], "kind"
|
|
836
|
+
}, z.core.$strip>], "kind">;
|
|
812
837
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
813
|
-
type WorkflowResourceEntry = z.infer<typeof WorkflowResourceEntrySchema>;
|
|
838
|
+
type WorkflowResourceEntry = z.infer<typeof WorkflowResourceEntrySchema$1>;
|
|
814
839
|
type AgentResourceEntry = z.infer<typeof AgentResourceEntrySchema>;
|
|
815
|
-
type ResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
840
|
+
type ResourceEntry$1 = z.infer<typeof ResourceEntrySchema$1>;
|
|
816
841
|
|
|
817
842
|
/**
|
|
818
843
|
* Shared form field types for dynamic form generation
|
|
@@ -923,8 +948,6 @@ interface WorkflowConfig extends ResourceDefinition {
|
|
|
923
948
|
type: 'workflow';
|
|
924
949
|
/** OM descriptor backing canonical identity and governance metadata. */
|
|
925
950
|
resource?: WorkflowResourceEntry;
|
|
926
|
-
/** Lead-gen action key for registry derivation (e.g. 'lead-gen.company.apollo-import') */
|
|
927
|
-
actionKey?: string;
|
|
928
951
|
}
|
|
929
952
|
interface WorkflowStepDefinition {
|
|
930
953
|
id: string;
|
|
@@ -2974,6 +2997,7 @@ type Database = {
|
|
|
2974
2997
|
origin_execution_id: string | null;
|
|
2975
2998
|
output: Json | null;
|
|
2976
2999
|
resource_id: string;
|
|
3000
|
+
resource_snapshot: Json | null;
|
|
2977
3001
|
resource_status: string;
|
|
2978
3002
|
resource_type: string;
|
|
2979
3003
|
resource_version: string | null;
|
|
@@ -2999,6 +3023,7 @@ type Database = {
|
|
|
2999
3023
|
origin_execution_id?: string | null;
|
|
3000
3024
|
output?: Json | null;
|
|
3001
3025
|
resource_id: string;
|
|
3026
|
+
resource_snapshot?: Json | null;
|
|
3002
3027
|
resource_status?: string;
|
|
3003
3028
|
resource_type?: string;
|
|
3004
3029
|
resource_version?: string | null;
|
|
@@ -3024,6 +3049,7 @@ type Database = {
|
|
|
3024
3049
|
origin_execution_id?: string | null;
|
|
3025
3050
|
output?: Json | null;
|
|
3026
3051
|
resource_id?: string;
|
|
3052
|
+
resource_snapshot?: Json | null;
|
|
3027
3053
|
resource_status?: string;
|
|
3028
3054
|
resource_type?: string;
|
|
3029
3055
|
resource_version?: string | null;
|
|
@@ -4496,71 +4522,65 @@ declare const ProspectingBuildTemplateStepSchema: z.ZodObject<{
|
|
|
4496
4522
|
description: z.ZodOptional<z.ZodString>;
|
|
4497
4523
|
color: z.ZodOptional<z.ZodString>;
|
|
4498
4524
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
"
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
"
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
"
|
|
4531
|
-
"
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
"
|
|
4557
|
-
|
|
4558
|
-
"action.launch": "action.launch";
|
|
4559
|
-
"action.message": "action.message";
|
|
4560
|
-
"action.escalate": "action.escalate";
|
|
4561
|
-
"action.promote": "action.promote";
|
|
4562
|
-
"action.submit": "action.submit";
|
|
4563
|
-
"action.email": "action.email";
|
|
4525
|
+
message: "message";
|
|
4526
|
+
error: "error";
|
|
4527
|
+
agent: "agent";
|
|
4528
|
+
workflow: "workflow";
|
|
4529
|
+
"google-sheets": "google-sheets";
|
|
4530
|
+
dashboard: "dashboard";
|
|
4531
|
+
calendar: "calendar";
|
|
4532
|
+
sales: "sales";
|
|
4533
|
+
crm: "crm";
|
|
4534
|
+
"lead-gen": "lead-gen";
|
|
4535
|
+
projects: "projects";
|
|
4536
|
+
operations: "operations";
|
|
4537
|
+
monitoring: "monitoring";
|
|
4538
|
+
knowledge: "knowledge";
|
|
4539
|
+
settings: "settings";
|
|
4540
|
+
admin: "admin";
|
|
4541
|
+
archive: "archive";
|
|
4542
|
+
business: "business";
|
|
4543
|
+
finance: "finance";
|
|
4544
|
+
platform: "platform";
|
|
4545
|
+
seo: "seo";
|
|
4546
|
+
playbook: "playbook";
|
|
4547
|
+
strategy: "strategy";
|
|
4548
|
+
reference: "reference";
|
|
4549
|
+
integration: "integration";
|
|
4550
|
+
database: "database";
|
|
4551
|
+
user: "user";
|
|
4552
|
+
team: "team";
|
|
4553
|
+
gmail: "gmail";
|
|
4554
|
+
attio: "attio";
|
|
4555
|
+
overview: "overview";
|
|
4556
|
+
"command-view": "command-view";
|
|
4557
|
+
"command-queue": "command-queue";
|
|
4558
|
+
pipeline: "pipeline";
|
|
4559
|
+
lists: "lists";
|
|
4560
|
+
resources: "resources";
|
|
4561
|
+
approve: "approve";
|
|
4562
|
+
reject: "reject";
|
|
4563
|
+
retry: "retry";
|
|
4564
|
+
edit: "edit";
|
|
4565
|
+
view: "view";
|
|
4566
|
+
launch: "launch";
|
|
4567
|
+
escalate: "escalate";
|
|
4568
|
+
promote: "promote";
|
|
4569
|
+
submit: "submit";
|
|
4570
|
+
email: "email";
|
|
4571
|
+
success: "success";
|
|
4572
|
+
warning: "warning";
|
|
4573
|
+
info: "info";
|
|
4574
|
+
pending: "pending";
|
|
4575
|
+
bolt: "bolt";
|
|
4576
|
+
building: "building";
|
|
4577
|
+
briefcase: "briefcase";
|
|
4578
|
+
apps: "apps";
|
|
4579
|
+
graph: "graph";
|
|
4580
|
+
shield: "shield";
|
|
4581
|
+
users: "users";
|
|
4582
|
+
"chart-bar": "chart-bar";
|
|
4583
|
+
search: "search";
|
|
4564
4584
|
}>, z.ZodString]>>;
|
|
4565
4585
|
id: z.ZodString;
|
|
4566
4586
|
primaryEntity: z.ZodEnum<{
|
|
@@ -4638,71 +4658,65 @@ declare const ProspectingBuildTemplateSchema: z.ZodObject<{
|
|
|
4638
4658
|
description: z.ZodOptional<z.ZodString>;
|
|
4639
4659
|
color: z.ZodOptional<z.ZodString>;
|
|
4640
4660
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
"
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
"
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
"
|
|
4673
|
-
"
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
"
|
|
4699
|
-
|
|
4700
|
-
"action.launch": "action.launch";
|
|
4701
|
-
"action.message": "action.message";
|
|
4702
|
-
"action.escalate": "action.escalate";
|
|
4703
|
-
"action.promote": "action.promote";
|
|
4704
|
-
"action.submit": "action.submit";
|
|
4705
|
-
"action.email": "action.email";
|
|
4661
|
+
message: "message";
|
|
4662
|
+
error: "error";
|
|
4663
|
+
agent: "agent";
|
|
4664
|
+
workflow: "workflow";
|
|
4665
|
+
"google-sheets": "google-sheets";
|
|
4666
|
+
dashboard: "dashboard";
|
|
4667
|
+
calendar: "calendar";
|
|
4668
|
+
sales: "sales";
|
|
4669
|
+
crm: "crm";
|
|
4670
|
+
"lead-gen": "lead-gen";
|
|
4671
|
+
projects: "projects";
|
|
4672
|
+
operations: "operations";
|
|
4673
|
+
monitoring: "monitoring";
|
|
4674
|
+
knowledge: "knowledge";
|
|
4675
|
+
settings: "settings";
|
|
4676
|
+
admin: "admin";
|
|
4677
|
+
archive: "archive";
|
|
4678
|
+
business: "business";
|
|
4679
|
+
finance: "finance";
|
|
4680
|
+
platform: "platform";
|
|
4681
|
+
seo: "seo";
|
|
4682
|
+
playbook: "playbook";
|
|
4683
|
+
strategy: "strategy";
|
|
4684
|
+
reference: "reference";
|
|
4685
|
+
integration: "integration";
|
|
4686
|
+
database: "database";
|
|
4687
|
+
user: "user";
|
|
4688
|
+
team: "team";
|
|
4689
|
+
gmail: "gmail";
|
|
4690
|
+
attio: "attio";
|
|
4691
|
+
overview: "overview";
|
|
4692
|
+
"command-view": "command-view";
|
|
4693
|
+
"command-queue": "command-queue";
|
|
4694
|
+
pipeline: "pipeline";
|
|
4695
|
+
lists: "lists";
|
|
4696
|
+
resources: "resources";
|
|
4697
|
+
approve: "approve";
|
|
4698
|
+
reject: "reject";
|
|
4699
|
+
retry: "retry";
|
|
4700
|
+
edit: "edit";
|
|
4701
|
+
view: "view";
|
|
4702
|
+
launch: "launch";
|
|
4703
|
+
escalate: "escalate";
|
|
4704
|
+
promote: "promote";
|
|
4705
|
+
submit: "submit";
|
|
4706
|
+
email: "email";
|
|
4707
|
+
success: "success";
|
|
4708
|
+
warning: "warning";
|
|
4709
|
+
info: "info";
|
|
4710
|
+
pending: "pending";
|
|
4711
|
+
bolt: "bolt";
|
|
4712
|
+
building: "building";
|
|
4713
|
+
briefcase: "briefcase";
|
|
4714
|
+
apps: "apps";
|
|
4715
|
+
graph: "graph";
|
|
4716
|
+
shield: "shield";
|
|
4717
|
+
users: "users";
|
|
4718
|
+
"chart-bar": "chart-bar";
|
|
4719
|
+
search: "search";
|
|
4706
4720
|
}>, z.ZodString]>>;
|
|
4707
4721
|
id: z.ZodString;
|
|
4708
4722
|
steps: z.ZodArray<z.ZodObject<{
|
|
@@ -4710,71 +4724,65 @@ declare const ProspectingBuildTemplateSchema: z.ZodObject<{
|
|
|
4710
4724
|
description: z.ZodOptional<z.ZodString>;
|
|
4711
4725
|
color: z.ZodOptional<z.ZodString>;
|
|
4712
4726
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
"
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
"
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
"
|
|
4745
|
-
"
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
"
|
|
4771
|
-
|
|
4772
|
-
"action.launch": "action.launch";
|
|
4773
|
-
"action.message": "action.message";
|
|
4774
|
-
"action.escalate": "action.escalate";
|
|
4775
|
-
"action.promote": "action.promote";
|
|
4776
|
-
"action.submit": "action.submit";
|
|
4777
|
-
"action.email": "action.email";
|
|
4727
|
+
message: "message";
|
|
4728
|
+
error: "error";
|
|
4729
|
+
agent: "agent";
|
|
4730
|
+
workflow: "workflow";
|
|
4731
|
+
"google-sheets": "google-sheets";
|
|
4732
|
+
dashboard: "dashboard";
|
|
4733
|
+
calendar: "calendar";
|
|
4734
|
+
sales: "sales";
|
|
4735
|
+
crm: "crm";
|
|
4736
|
+
"lead-gen": "lead-gen";
|
|
4737
|
+
projects: "projects";
|
|
4738
|
+
operations: "operations";
|
|
4739
|
+
monitoring: "monitoring";
|
|
4740
|
+
knowledge: "knowledge";
|
|
4741
|
+
settings: "settings";
|
|
4742
|
+
admin: "admin";
|
|
4743
|
+
archive: "archive";
|
|
4744
|
+
business: "business";
|
|
4745
|
+
finance: "finance";
|
|
4746
|
+
platform: "platform";
|
|
4747
|
+
seo: "seo";
|
|
4748
|
+
playbook: "playbook";
|
|
4749
|
+
strategy: "strategy";
|
|
4750
|
+
reference: "reference";
|
|
4751
|
+
integration: "integration";
|
|
4752
|
+
database: "database";
|
|
4753
|
+
user: "user";
|
|
4754
|
+
team: "team";
|
|
4755
|
+
gmail: "gmail";
|
|
4756
|
+
attio: "attio";
|
|
4757
|
+
overview: "overview";
|
|
4758
|
+
"command-view": "command-view";
|
|
4759
|
+
"command-queue": "command-queue";
|
|
4760
|
+
pipeline: "pipeline";
|
|
4761
|
+
lists: "lists";
|
|
4762
|
+
resources: "resources";
|
|
4763
|
+
approve: "approve";
|
|
4764
|
+
reject: "reject";
|
|
4765
|
+
retry: "retry";
|
|
4766
|
+
edit: "edit";
|
|
4767
|
+
view: "view";
|
|
4768
|
+
launch: "launch";
|
|
4769
|
+
escalate: "escalate";
|
|
4770
|
+
promote: "promote";
|
|
4771
|
+
submit: "submit";
|
|
4772
|
+
email: "email";
|
|
4773
|
+
success: "success";
|
|
4774
|
+
warning: "warning";
|
|
4775
|
+
info: "info";
|
|
4776
|
+
pending: "pending";
|
|
4777
|
+
bolt: "bolt";
|
|
4778
|
+
building: "building";
|
|
4779
|
+
briefcase: "briefcase";
|
|
4780
|
+
apps: "apps";
|
|
4781
|
+
graph: "graph";
|
|
4782
|
+
shield: "shield";
|
|
4783
|
+
users: "users";
|
|
4784
|
+
"chart-bar": "chart-bar";
|
|
4785
|
+
search: "search";
|
|
4778
4786
|
}>, z.ZodString]>>;
|
|
4779
4787
|
id: z.ZodString;
|
|
4780
4788
|
primaryEntity: z.ZodEnum<{
|
|
@@ -4936,8 +4944,8 @@ declare const DealSchemas: {
|
|
|
4936
4944
|
title: z.ZodString;
|
|
4937
4945
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4938
4946
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4939
|
-
other: "other";
|
|
4940
4947
|
email: "email";
|
|
4948
|
+
other: "other";
|
|
4941
4949
|
call: "call";
|
|
4942
4950
|
meeting: "meeting";
|
|
4943
4951
|
}>>;
|
|
@@ -5277,8 +5285,8 @@ declare const DealSchemas: {
|
|
|
5277
5285
|
title: z.ZodString;
|
|
5278
5286
|
description: z.ZodNullable<z.ZodString>;
|
|
5279
5287
|
kind: z.ZodEnum<{
|
|
5280
|
-
other: "other";
|
|
5281
5288
|
email: "email";
|
|
5289
|
+
other: "other";
|
|
5282
5290
|
call: "call";
|
|
5283
5291
|
meeting: "meeting";
|
|
5284
5292
|
}>;
|
|
@@ -5297,8 +5305,8 @@ declare const DealSchemas: {
|
|
|
5297
5305
|
title: z.ZodString;
|
|
5298
5306
|
description: z.ZodNullable<z.ZodString>;
|
|
5299
5307
|
kind: z.ZodEnum<{
|
|
5300
|
-
other: "other";
|
|
5301
5308
|
email: "email";
|
|
5309
|
+
other: "other";
|
|
5302
5310
|
call: "call";
|
|
5303
5311
|
meeting: "meeting";
|
|
5304
5312
|
}>;
|
|
@@ -6337,6 +6345,100 @@ type DealActionInput = AcqDealRow & {
|
|
|
6337
6345
|
declare const DEFAULT_CRM_ACTIONS: ActionDef[];
|
|
6338
6346
|
declare function deriveActions(deal: DealActionInput, actions?: ActionDef[]): Action[];
|
|
6339
6347
|
|
|
6348
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
6349
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6350
|
+
id: z.ZodString;
|
|
6351
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6352
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6353
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6354
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6355
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6356
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6357
|
+
}, z.core.$loose>>>>;
|
|
6358
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6359
|
+
id: z.ZodString;
|
|
6360
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6361
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6362
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6363
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6364
|
+
from: z.ZodString;
|
|
6365
|
+
to: z.ZodString;
|
|
6366
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
6367
|
+
via: z.ZodOptional<z.ZodString>;
|
|
6368
|
+
}, z.core.$loose>>>>;
|
|
6369
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6370
|
+
id: z.ZodString;
|
|
6371
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6372
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6373
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6374
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6375
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
6376
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6377
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6378
|
+
}, z.core.$loose>>>>;
|
|
6379
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6380
|
+
id: z.ZodString;
|
|
6381
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6382
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6383
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6384
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6385
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
6386
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
6387
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6388
|
+
}, z.core.$loose>>>>;
|
|
6389
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6390
|
+
id: z.ZodString;
|
|
6391
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6392
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6393
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6394
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6395
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6396
|
+
}, z.core.$loose>>>>;
|
|
6397
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6398
|
+
id: z.ZodString;
|
|
6399
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6400
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6401
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6402
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6403
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6404
|
+
}, z.core.$loose>>>>;
|
|
6405
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6406
|
+
id: z.ZodString;
|
|
6407
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6408
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6409
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6410
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6411
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
6412
|
+
}, z.core.$loose>>>>;
|
|
6413
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6414
|
+
id: z.ZodString;
|
|
6415
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6416
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6417
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6418
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6419
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
6420
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
6421
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
6422
|
+
}, z.core.$loose>>>>;
|
|
6423
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6424
|
+
id: z.ZodString;
|
|
6425
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6426
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6427
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6428
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6429
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
6430
|
+
}, z.core.$loose>>>>;
|
|
6431
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6432
|
+
id: z.ZodString;
|
|
6433
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6434
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6435
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
6436
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6437
|
+
route: z.ZodOptional<z.ZodString>;
|
|
6438
|
+
}, z.core.$loose>>>>;
|
|
6439
|
+
}, z.core.$strip>>;
|
|
6440
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
6441
|
+
|
|
6340
6442
|
/**
|
|
6341
6443
|
* A single CRM activity entry (note, stage change, or deal creation).
|
|
6342
6444
|
* Matches the CrmActivityEntry interface from useRecentCrmActivity.ts.
|
|
@@ -9614,6 +9716,10 @@ declare const ContentNodeSchema: z.ZodObject<{
|
|
|
9614
9716
|
}, z.core.$strip>;
|
|
9615
9717
|
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
9616
9718
|
|
|
9719
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
9720
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
9721
|
+
[key: string]: JsonValue;
|
|
9722
|
+
};
|
|
9617
9723
|
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
9618
9724
|
interface SystemEntry {
|
|
9619
9725
|
id: string;
|
|
@@ -9648,10 +9754,16 @@ interface SystemEntry {
|
|
|
9648
9754
|
devOnly?: boolean;
|
|
9649
9755
|
requiresAdmin?: boolean;
|
|
9650
9756
|
order: number;
|
|
9757
|
+
config?: Record<string, JsonValue>;
|
|
9758
|
+
ontology?: OntologyScope;
|
|
9759
|
+
systems?: Record<string, SystemEntry>;
|
|
9760
|
+
/**
|
|
9761
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
9762
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
9763
|
+
*/
|
|
9651
9764
|
content?: Record<string, ContentNode>;
|
|
9652
9765
|
subsystems?: Record<string, SystemEntry>;
|
|
9653
9766
|
}
|
|
9654
|
-
declare const SystemsDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>;
|
|
9655
9767
|
|
|
9656
9768
|
/**
|
|
9657
9769
|
* Resource Registry type definitions
|
|
@@ -9701,6 +9813,21 @@ interface ResourceDefinition {
|
|
|
9701
9813
|
/** Whether this resource is archived and should be excluded from registration and deployment */
|
|
9702
9814
|
archived?: boolean;
|
|
9703
9815
|
}
|
|
9816
|
+
type RuntimeResourceDescriptor = Extract<ResourceEntry$1, {
|
|
9817
|
+
kind: 'workflow' | 'agent' | 'integration';
|
|
9818
|
+
}>;
|
|
9819
|
+
type DescriptorBackedResourceDefinition<TResource extends RuntimeResourceDescriptor = RuntimeResourceDescriptor> = Omit<ResourceDefinition, 'resourceId' | 'type'> & {
|
|
9820
|
+
/** OM descriptor that owns canonical identity and governance metadata. */
|
|
9821
|
+
resource: TResource;
|
|
9822
|
+
resourceId?: never;
|
|
9823
|
+
type?: never;
|
|
9824
|
+
};
|
|
9825
|
+
type BoundResourceDefinition<TResource extends RuntimeResourceDescriptor = RuntimeResourceDescriptor> = Omit<DescriptorBackedResourceDefinition<TResource>, 'resource'> & ResourceDefinition & {
|
|
9826
|
+
resource: TResource;
|
|
9827
|
+
resourceId: TResource['id'];
|
|
9828
|
+
type: TResource['kind'];
|
|
9829
|
+
};
|
|
9830
|
+
declare function bindResourceDescriptor<TResource extends RuntimeResourceDescriptor>(definition: DescriptorBackedResourceDefinition<TResource>): BoundResourceDefinition<TResource>;
|
|
9704
9831
|
/**
|
|
9705
9832
|
* Resource list for organization
|
|
9706
9833
|
* Returns ResourceDefinition metadata (not full definitions)
|
|
@@ -9815,7 +9942,7 @@ interface IntegrationDefinition extends ResourceDefinition {
|
|
|
9815
9942
|
/** Resource type discriminator (narrowed from base union) */
|
|
9816
9943
|
type: 'integration';
|
|
9817
9944
|
/** OM descriptor that owns canonical identity and governance metadata. */
|
|
9818
|
-
resource?: Extract<ResourceEntry, {
|
|
9945
|
+
resource?: Extract<ResourceEntry$1, {
|
|
9819
9946
|
kind: 'integration';
|
|
9820
9947
|
}>;
|
|
9821
9948
|
/** Integration provider type */
|
|
@@ -10030,28 +10157,962 @@ interface CommandViewData {
|
|
|
10030
10157
|
edges: CommandViewEdge[];
|
|
10031
10158
|
}
|
|
10032
10159
|
|
|
10033
|
-
|
|
10034
|
-
|
|
10160
|
+
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
10161
|
+
dashboard: "dashboard";
|
|
10162
|
+
settings: "settings";
|
|
10163
|
+
graph: "graph";
|
|
10164
|
+
list: "list";
|
|
10165
|
+
page: "page";
|
|
10166
|
+
detail: "detail";
|
|
10167
|
+
}>;
|
|
10168
|
+
interface SidebarSurfaceNode {
|
|
10169
|
+
type: 'surface';
|
|
10170
|
+
label: string;
|
|
10171
|
+
path: string;
|
|
10172
|
+
surfaceType: z.infer<typeof SurfaceTypeSchema>;
|
|
10173
|
+
description?: string;
|
|
10174
|
+
icon?: string;
|
|
10175
|
+
order?: number;
|
|
10176
|
+
targets?: {
|
|
10177
|
+
systems?: string[];
|
|
10178
|
+
entities?: string[];
|
|
10179
|
+
resources?: string[];
|
|
10180
|
+
actions?: string[];
|
|
10181
|
+
};
|
|
10182
|
+
devOnly?: boolean;
|
|
10183
|
+
requiresAdmin?: boolean;
|
|
10184
|
+
}
|
|
10185
|
+
interface SidebarGroupNode {
|
|
10186
|
+
type: 'group';
|
|
10187
|
+
label: string;
|
|
10188
|
+
description?: string;
|
|
10189
|
+
icon?: string;
|
|
10190
|
+
order?: number;
|
|
10191
|
+
children: Record<string, SidebarNode>;
|
|
10192
|
+
}
|
|
10193
|
+
type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
10035
10194
|
|
|
10036
10195
|
declare const LinkSchema: z.ZodObject<{
|
|
10037
10196
|
nodeId: z.ZodString;
|
|
10038
10197
|
kind: z.ZodEnum<{
|
|
10039
10198
|
links: "links";
|
|
10040
10199
|
affects: "affects";
|
|
10200
|
+
effects: "effects";
|
|
10201
|
+
actions: "actions";
|
|
10202
|
+
reads: "reads";
|
|
10203
|
+
writes: "writes";
|
|
10041
10204
|
emits: "emits";
|
|
10205
|
+
triggers: "triggers";
|
|
10206
|
+
uses: "uses";
|
|
10207
|
+
approval: "approval";
|
|
10042
10208
|
contains: "contains";
|
|
10043
10209
|
references: "references";
|
|
10044
10210
|
maps_to: "maps_to";
|
|
10045
|
-
uses: "uses";
|
|
10046
10211
|
governs: "governs";
|
|
10047
10212
|
originates_from: "originates_from";
|
|
10048
|
-
triggers: "triggers";
|
|
10049
10213
|
applies_to: "applies_to";
|
|
10050
|
-
|
|
10214
|
+
uses_catalog: "uses_catalog";
|
|
10051
10215
|
}>;
|
|
10052
10216
|
}, z.core.$strip>;
|
|
10053
10217
|
type Link = z.infer<typeof LinkSchema>;
|
|
10054
10218
|
|
|
10219
|
+
declare const OrganizationModelSchema: z.ZodObject<{
|
|
10220
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10221
|
+
domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
10222
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
10223
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10224
|
+
lastModified: z.ZodString;
|
|
10225
|
+
}, z.core.$strip>>;
|
|
10226
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
10227
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10228
|
+
lastModified: z.ZodString;
|
|
10229
|
+
}, z.core.$strip>>;
|
|
10230
|
+
customers: z.ZodOptional<z.ZodObject<{
|
|
10231
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10232
|
+
lastModified: z.ZodString;
|
|
10233
|
+
}, z.core.$strip>>;
|
|
10234
|
+
offerings: z.ZodOptional<z.ZodObject<{
|
|
10235
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10236
|
+
lastModified: z.ZodString;
|
|
10237
|
+
}, z.core.$strip>>;
|
|
10238
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
10239
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10240
|
+
lastModified: z.ZodString;
|
|
10241
|
+
}, z.core.$strip>>;
|
|
10242
|
+
goals: z.ZodOptional<z.ZodObject<{
|
|
10243
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10244
|
+
lastModified: z.ZodString;
|
|
10245
|
+
}, z.core.$strip>>;
|
|
10246
|
+
systems: z.ZodOptional<z.ZodObject<{
|
|
10247
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10248
|
+
lastModified: z.ZodString;
|
|
10249
|
+
}, z.core.$strip>>;
|
|
10250
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
10251
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10252
|
+
lastModified: z.ZodString;
|
|
10253
|
+
}, z.core.$strip>>;
|
|
10254
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
10255
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10256
|
+
lastModified: z.ZodString;
|
|
10257
|
+
}, z.core.$strip>>;
|
|
10258
|
+
topology: z.ZodOptional<z.ZodObject<{
|
|
10259
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10260
|
+
lastModified: z.ZodString;
|
|
10261
|
+
}, z.core.$strip>>;
|
|
10262
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
10263
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10264
|
+
lastModified: z.ZodString;
|
|
10265
|
+
}, z.core.$strip>>;
|
|
10266
|
+
entities: z.ZodOptional<z.ZodObject<{
|
|
10267
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10268
|
+
lastModified: z.ZodString;
|
|
10269
|
+
}, z.core.$strip>>;
|
|
10270
|
+
policies: z.ZodOptional<z.ZodObject<{
|
|
10271
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10272
|
+
lastModified: z.ZodString;
|
|
10273
|
+
}, z.core.$strip>>;
|
|
10274
|
+
knowledge: z.ZodOptional<z.ZodObject<{
|
|
10275
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10276
|
+
lastModified: z.ZodString;
|
|
10277
|
+
}, z.core.$strip>>;
|
|
10278
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
10279
|
+
branding: {
|
|
10280
|
+
version: 1;
|
|
10281
|
+
lastModified: string;
|
|
10282
|
+
};
|
|
10283
|
+
identity: {
|
|
10284
|
+
version: 1;
|
|
10285
|
+
lastModified: string;
|
|
10286
|
+
};
|
|
10287
|
+
customers: {
|
|
10288
|
+
version: 1;
|
|
10289
|
+
lastModified: string;
|
|
10290
|
+
};
|
|
10291
|
+
offerings: {
|
|
10292
|
+
version: 1;
|
|
10293
|
+
lastModified: string;
|
|
10294
|
+
};
|
|
10295
|
+
roles: {
|
|
10296
|
+
version: 1;
|
|
10297
|
+
lastModified: string;
|
|
10298
|
+
};
|
|
10299
|
+
goals: {
|
|
10300
|
+
version: 1;
|
|
10301
|
+
lastModified: string;
|
|
10302
|
+
};
|
|
10303
|
+
systems: {
|
|
10304
|
+
version: 1;
|
|
10305
|
+
lastModified: string;
|
|
10306
|
+
};
|
|
10307
|
+
ontology: {
|
|
10308
|
+
version: 1;
|
|
10309
|
+
lastModified: string;
|
|
10310
|
+
};
|
|
10311
|
+
resources: {
|
|
10312
|
+
version: 1;
|
|
10313
|
+
lastModified: string;
|
|
10314
|
+
};
|
|
10315
|
+
topology: {
|
|
10316
|
+
version: 1;
|
|
10317
|
+
lastModified: string;
|
|
10318
|
+
};
|
|
10319
|
+
actions: {
|
|
10320
|
+
version: 1;
|
|
10321
|
+
lastModified: string;
|
|
10322
|
+
};
|
|
10323
|
+
entities: {
|
|
10324
|
+
version: 1;
|
|
10325
|
+
lastModified: string;
|
|
10326
|
+
};
|
|
10327
|
+
policies: {
|
|
10328
|
+
version: 1;
|
|
10329
|
+
lastModified: string;
|
|
10330
|
+
};
|
|
10331
|
+
knowledge: {
|
|
10332
|
+
version: 1;
|
|
10333
|
+
lastModified: string;
|
|
10334
|
+
};
|
|
10335
|
+
}, {
|
|
10336
|
+
branding?: {
|
|
10337
|
+
version: 1;
|
|
10338
|
+
lastModified: string;
|
|
10339
|
+
} | undefined;
|
|
10340
|
+
identity?: {
|
|
10341
|
+
version: 1;
|
|
10342
|
+
lastModified: string;
|
|
10343
|
+
} | undefined;
|
|
10344
|
+
customers?: {
|
|
10345
|
+
version: 1;
|
|
10346
|
+
lastModified: string;
|
|
10347
|
+
} | undefined;
|
|
10348
|
+
offerings?: {
|
|
10349
|
+
version: 1;
|
|
10350
|
+
lastModified: string;
|
|
10351
|
+
} | undefined;
|
|
10352
|
+
roles?: {
|
|
10353
|
+
version: 1;
|
|
10354
|
+
lastModified: string;
|
|
10355
|
+
} | undefined;
|
|
10356
|
+
goals?: {
|
|
10357
|
+
version: 1;
|
|
10358
|
+
lastModified: string;
|
|
10359
|
+
} | undefined;
|
|
10360
|
+
systems?: {
|
|
10361
|
+
version: 1;
|
|
10362
|
+
lastModified: string;
|
|
10363
|
+
} | undefined;
|
|
10364
|
+
ontology?: {
|
|
10365
|
+
version: 1;
|
|
10366
|
+
lastModified: string;
|
|
10367
|
+
} | undefined;
|
|
10368
|
+
resources?: {
|
|
10369
|
+
version: 1;
|
|
10370
|
+
lastModified: string;
|
|
10371
|
+
} | undefined;
|
|
10372
|
+
topology?: {
|
|
10373
|
+
version: 1;
|
|
10374
|
+
lastModified: string;
|
|
10375
|
+
} | undefined;
|
|
10376
|
+
actions?: {
|
|
10377
|
+
version: 1;
|
|
10378
|
+
lastModified: string;
|
|
10379
|
+
} | undefined;
|
|
10380
|
+
entities?: {
|
|
10381
|
+
version: 1;
|
|
10382
|
+
lastModified: string;
|
|
10383
|
+
} | undefined;
|
|
10384
|
+
policies?: {
|
|
10385
|
+
version: 1;
|
|
10386
|
+
lastModified: string;
|
|
10387
|
+
} | undefined;
|
|
10388
|
+
knowledge?: {
|
|
10389
|
+
version: 1;
|
|
10390
|
+
lastModified: string;
|
|
10391
|
+
} | undefined;
|
|
10392
|
+
}>>;
|
|
10393
|
+
branding: z.ZodObject<{
|
|
10394
|
+
organizationName: z.ZodString;
|
|
10395
|
+
productName: z.ZodString;
|
|
10396
|
+
shortName: z.ZodString;
|
|
10397
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10398
|
+
logos: z.ZodDefault<z.ZodObject<{
|
|
10399
|
+
light: z.ZodOptional<z.ZodString>;
|
|
10400
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
10401
|
+
}, z.core.$strip>>;
|
|
10402
|
+
}, z.core.$strip>;
|
|
10403
|
+
navigation: z.ZodDefault<z.ZodObject<{
|
|
10404
|
+
sidebar: z.ZodDefault<z.ZodObject<{
|
|
10405
|
+
primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
10406
|
+
bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
10407
|
+
}, z.core.$strip>>;
|
|
10408
|
+
}, z.core.$strip>>;
|
|
10409
|
+
identity: z.ZodDefault<z.ZodObject<{
|
|
10410
|
+
mission: z.ZodDefault<z.ZodString>;
|
|
10411
|
+
vision: z.ZodDefault<z.ZodString>;
|
|
10412
|
+
legalName: z.ZodDefault<z.ZodString>;
|
|
10413
|
+
entityType: z.ZodDefault<z.ZodString>;
|
|
10414
|
+
jurisdiction: z.ZodDefault<z.ZodString>;
|
|
10415
|
+
industryCategory: z.ZodDefault<z.ZodString>;
|
|
10416
|
+
geographicFocus: z.ZodDefault<z.ZodString>;
|
|
10417
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
10418
|
+
businessHours: z.ZodDefault<z.ZodObject<{
|
|
10419
|
+
monday: z.ZodOptional<z.ZodObject<{
|
|
10420
|
+
open: z.ZodString;
|
|
10421
|
+
close: z.ZodString;
|
|
10422
|
+
}, z.core.$strip>>;
|
|
10423
|
+
tuesday: z.ZodOptional<z.ZodObject<{
|
|
10424
|
+
open: z.ZodString;
|
|
10425
|
+
close: z.ZodString;
|
|
10426
|
+
}, z.core.$strip>>;
|
|
10427
|
+
wednesday: z.ZodOptional<z.ZodObject<{
|
|
10428
|
+
open: z.ZodString;
|
|
10429
|
+
close: z.ZodString;
|
|
10430
|
+
}, z.core.$strip>>;
|
|
10431
|
+
thursday: z.ZodOptional<z.ZodObject<{
|
|
10432
|
+
open: z.ZodString;
|
|
10433
|
+
close: z.ZodString;
|
|
10434
|
+
}, z.core.$strip>>;
|
|
10435
|
+
friday: z.ZodOptional<z.ZodObject<{
|
|
10436
|
+
open: z.ZodString;
|
|
10437
|
+
close: z.ZodString;
|
|
10438
|
+
}, z.core.$strip>>;
|
|
10439
|
+
saturday: z.ZodOptional<z.ZodObject<{
|
|
10440
|
+
open: z.ZodString;
|
|
10441
|
+
close: z.ZodString;
|
|
10442
|
+
}, z.core.$strip>>;
|
|
10443
|
+
sunday: z.ZodOptional<z.ZodObject<{
|
|
10444
|
+
open: z.ZodString;
|
|
10445
|
+
close: z.ZodString;
|
|
10446
|
+
}, z.core.$strip>>;
|
|
10447
|
+
}, z.core.$strip>>;
|
|
10448
|
+
clientBrief: z.ZodDefault<z.ZodString>;
|
|
10449
|
+
}, z.core.$strip>>;
|
|
10450
|
+
customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10451
|
+
id: z.ZodString;
|
|
10452
|
+
order: z.ZodNumber;
|
|
10453
|
+
name: z.ZodDefault<z.ZodString>;
|
|
10454
|
+
description: z.ZodDefault<z.ZodString>;
|
|
10455
|
+
jobsToBeDone: z.ZodDefault<z.ZodString>;
|
|
10456
|
+
pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10457
|
+
gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10458
|
+
firmographics: z.ZodDefault<z.ZodObject<{
|
|
10459
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
10460
|
+
companySize: z.ZodOptional<z.ZodString>;
|
|
10461
|
+
region: z.ZodOptional<z.ZodString>;
|
|
10462
|
+
}, z.core.$strip>>;
|
|
10463
|
+
valueProp: z.ZodDefault<z.ZodString>;
|
|
10464
|
+
}, z.core.$strip>>>>;
|
|
10465
|
+
offerings: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10466
|
+
id: z.ZodString;
|
|
10467
|
+
order: z.ZodNumber;
|
|
10468
|
+
name: z.ZodDefault<z.ZodString>;
|
|
10469
|
+
description: z.ZodDefault<z.ZodString>;
|
|
10470
|
+
pricingModel: z.ZodDefault<z.ZodEnum<{
|
|
10471
|
+
custom: "custom";
|
|
10472
|
+
"one-time": "one-time";
|
|
10473
|
+
subscription: "subscription";
|
|
10474
|
+
"usage-based": "usage-based";
|
|
10475
|
+
}>>;
|
|
10476
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
10477
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
10478
|
+
targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10479
|
+
deliveryFeatureId: z.ZodOptional<z.ZodString>;
|
|
10480
|
+
}, z.core.$strip>>>>;
|
|
10481
|
+
roles: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10482
|
+
id: z.ZodString;
|
|
10483
|
+
order: z.ZodNumber;
|
|
10484
|
+
title: z.ZodString;
|
|
10485
|
+
responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10486
|
+
reportsToId: z.ZodOptional<z.ZodString>;
|
|
10487
|
+
heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10488
|
+
kind: z.ZodLiteral<"human">;
|
|
10489
|
+
userId: z.ZodString;
|
|
10490
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10491
|
+
kind: z.ZodLiteral<"agent">;
|
|
10492
|
+
agentId: z.ZodString;
|
|
10493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10494
|
+
kind: z.ZodLiteral<"team">;
|
|
10495
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
10496
|
+
}, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10497
|
+
kind: z.ZodLiteral<"human">;
|
|
10498
|
+
userId: z.ZodString;
|
|
10499
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10500
|
+
kind: z.ZodLiteral<"agent">;
|
|
10501
|
+
agentId: z.ZodString;
|
|
10502
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10503
|
+
kind: z.ZodLiteral<"team">;
|
|
10504
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
10505
|
+
}, z.core.$strip>], "kind">>]>>;
|
|
10506
|
+
responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10507
|
+
}, z.core.$strip>>>>;
|
|
10508
|
+
goals: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10509
|
+
id: z.ZodString;
|
|
10510
|
+
order: z.ZodNumber;
|
|
10511
|
+
description: z.ZodString;
|
|
10512
|
+
periodStart: z.ZodString;
|
|
10513
|
+
periodEnd: z.ZodString;
|
|
10514
|
+
keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10515
|
+
id: z.ZodString;
|
|
10516
|
+
description: z.ZodString;
|
|
10517
|
+
targetMetric: z.ZodString;
|
|
10518
|
+
currentValue: z.ZodDefault<z.ZodNumber>;
|
|
10519
|
+
targetValue: z.ZodOptional<z.ZodNumber>;
|
|
10520
|
+
}, z.core.$strip>>>;
|
|
10521
|
+
}, z.core.$strip>>>>;
|
|
10522
|
+
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
10523
|
+
ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
10524
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10525
|
+
id: z.ZodString;
|
|
10526
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10527
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10528
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10529
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10530
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10531
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10532
|
+
}, z.core.$loose>>>>;
|
|
10533
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10534
|
+
id: z.ZodString;
|
|
10535
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10536
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10537
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10538
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10539
|
+
from: z.ZodString;
|
|
10540
|
+
to: z.ZodString;
|
|
10541
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
10542
|
+
via: z.ZodOptional<z.ZodString>;
|
|
10543
|
+
}, z.core.$loose>>>>;
|
|
10544
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10545
|
+
id: z.ZodString;
|
|
10546
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10547
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10548
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10549
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10550
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
10551
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10552
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
10553
|
+
}, z.core.$loose>>>>;
|
|
10554
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10555
|
+
id: z.ZodString;
|
|
10556
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10557
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10558
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10559
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10560
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
10561
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
10562
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10563
|
+
}, z.core.$loose>>>>;
|
|
10564
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10565
|
+
id: z.ZodString;
|
|
10566
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10567
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10568
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10569
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10570
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10571
|
+
}, z.core.$loose>>>>;
|
|
10572
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10573
|
+
id: z.ZodString;
|
|
10574
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10575
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10576
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10577
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10578
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10579
|
+
}, z.core.$loose>>>>;
|
|
10580
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10581
|
+
id: z.ZodString;
|
|
10582
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10583
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10584
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10585
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10586
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
10587
|
+
}, z.core.$loose>>>>;
|
|
10588
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10589
|
+
id: z.ZodString;
|
|
10590
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10591
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10592
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10593
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10594
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
10595
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
10596
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
10597
|
+
}, z.core.$loose>>>>;
|
|
10598
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10599
|
+
id: z.ZodString;
|
|
10600
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10601
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10602
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10603
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10604
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
10605
|
+
}, z.core.$loose>>>>;
|
|
10606
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10607
|
+
id: z.ZodString;
|
|
10608
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10609
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10610
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
10611
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10612
|
+
route: z.ZodOptional<z.ZodString>;
|
|
10613
|
+
}, z.core.$loose>>>>;
|
|
10614
|
+
}, z.core.$strip>>>;
|
|
10615
|
+
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10616
|
+
id: z.ZodString;
|
|
10617
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
10618
|
+
systemPath: z.ZodString;
|
|
10619
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10620
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10621
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
10622
|
+
status: z.ZodEnum<{
|
|
10623
|
+
deprecated: "deprecated";
|
|
10624
|
+
active: "active";
|
|
10625
|
+
archived: "archived";
|
|
10626
|
+
}>;
|
|
10627
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
10628
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10629
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
10630
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10631
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10632
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10633
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10634
|
+
}, z.core.$strip>>;
|
|
10635
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10636
|
+
path: z.ZodString;
|
|
10637
|
+
role: z.ZodEnum<{
|
|
10638
|
+
schema: "schema";
|
|
10639
|
+
config: "config";
|
|
10640
|
+
entrypoint: "entrypoint";
|
|
10641
|
+
handler: "handler";
|
|
10642
|
+
test: "test";
|
|
10643
|
+
docs: "docs";
|
|
10644
|
+
}>;
|
|
10645
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
10646
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10647
|
+
}, z.core.$strip>>>;
|
|
10648
|
+
kind: z.ZodLiteral<"workflow">;
|
|
10649
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10650
|
+
eventKey: z.ZodString;
|
|
10651
|
+
label: z.ZodString;
|
|
10652
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
10653
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
10654
|
+
deprecated: "deprecated";
|
|
10655
|
+
draft: "draft";
|
|
10656
|
+
beta: "beta";
|
|
10657
|
+
active: "active";
|
|
10658
|
+
archived: "archived";
|
|
10659
|
+
}>>;
|
|
10660
|
+
}, z.core.$strip>>>;
|
|
10661
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10662
|
+
id: z.ZodString;
|
|
10663
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
10664
|
+
systemPath: z.ZodString;
|
|
10665
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10666
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10667
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
10668
|
+
status: z.ZodEnum<{
|
|
10669
|
+
deprecated: "deprecated";
|
|
10670
|
+
active: "active";
|
|
10671
|
+
archived: "archived";
|
|
10672
|
+
}>;
|
|
10673
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
10674
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10675
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
10676
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10677
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10678
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10679
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10680
|
+
}, z.core.$strip>>;
|
|
10681
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10682
|
+
path: z.ZodString;
|
|
10683
|
+
role: z.ZodEnum<{
|
|
10684
|
+
schema: "schema";
|
|
10685
|
+
config: "config";
|
|
10686
|
+
entrypoint: "entrypoint";
|
|
10687
|
+
handler: "handler";
|
|
10688
|
+
test: "test";
|
|
10689
|
+
docs: "docs";
|
|
10690
|
+
}>;
|
|
10691
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
10692
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10693
|
+
}, z.core.$strip>>>;
|
|
10694
|
+
kind: z.ZodLiteral<"agent">;
|
|
10695
|
+
agentKind: z.ZodEnum<{
|
|
10696
|
+
platform: "platform";
|
|
10697
|
+
orchestrator: "orchestrator";
|
|
10698
|
+
specialist: "specialist";
|
|
10699
|
+
utility: "utility";
|
|
10700
|
+
}>;
|
|
10701
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
10702
|
+
sessionCapable: z.ZodBoolean;
|
|
10703
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10704
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
10705
|
+
command: z.ZodString;
|
|
10706
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
10707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10708
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
10709
|
+
server: z.ZodString;
|
|
10710
|
+
name: z.ZodString;
|
|
10711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10712
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
10713
|
+
method: z.ZodEnum<{
|
|
10714
|
+
GET: "GET";
|
|
10715
|
+
POST: "POST";
|
|
10716
|
+
PATCH: "PATCH";
|
|
10717
|
+
DELETE: "DELETE";
|
|
10718
|
+
}>;
|
|
10719
|
+
path: z.ZodString;
|
|
10720
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
10721
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
10722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10723
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
10724
|
+
resourceId: z.ZodString;
|
|
10725
|
+
}, z.core.$strip>], "kind">>>;
|
|
10726
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10727
|
+
eventKey: z.ZodString;
|
|
10728
|
+
label: z.ZodString;
|
|
10729
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
10730
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
10731
|
+
deprecated: "deprecated";
|
|
10732
|
+
draft: "draft";
|
|
10733
|
+
beta: "beta";
|
|
10734
|
+
active: "active";
|
|
10735
|
+
archived: "archived";
|
|
10736
|
+
}>>;
|
|
10737
|
+
}, z.core.$strip>>>;
|
|
10738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10739
|
+
id: z.ZodString;
|
|
10740
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
10741
|
+
systemPath: z.ZodString;
|
|
10742
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10743
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10744
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
10745
|
+
status: z.ZodEnum<{
|
|
10746
|
+
deprecated: "deprecated";
|
|
10747
|
+
active: "active";
|
|
10748
|
+
archived: "archived";
|
|
10749
|
+
}>;
|
|
10750
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
10751
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10752
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
10753
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10754
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10755
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10756
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10757
|
+
}, z.core.$strip>>;
|
|
10758
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10759
|
+
path: z.ZodString;
|
|
10760
|
+
role: z.ZodEnum<{
|
|
10761
|
+
schema: "schema";
|
|
10762
|
+
config: "config";
|
|
10763
|
+
entrypoint: "entrypoint";
|
|
10764
|
+
handler: "handler";
|
|
10765
|
+
test: "test";
|
|
10766
|
+
docs: "docs";
|
|
10767
|
+
}>;
|
|
10768
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
10769
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10770
|
+
}, z.core.$strip>>>;
|
|
10771
|
+
kind: z.ZodLiteral<"integration">;
|
|
10772
|
+
provider: z.ZodString;
|
|
10773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10774
|
+
id: z.ZodString;
|
|
10775
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
10776
|
+
systemPath: z.ZodString;
|
|
10777
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10778
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10779
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
10780
|
+
status: z.ZodEnum<{
|
|
10781
|
+
deprecated: "deprecated";
|
|
10782
|
+
active: "active";
|
|
10783
|
+
archived: "archived";
|
|
10784
|
+
}>;
|
|
10785
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
10786
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10787
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
10788
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10789
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10790
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10791
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10792
|
+
}, z.core.$strip>>;
|
|
10793
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10794
|
+
path: z.ZodString;
|
|
10795
|
+
role: z.ZodEnum<{
|
|
10796
|
+
schema: "schema";
|
|
10797
|
+
config: "config";
|
|
10798
|
+
entrypoint: "entrypoint";
|
|
10799
|
+
handler: "handler";
|
|
10800
|
+
test: "test";
|
|
10801
|
+
docs: "docs";
|
|
10802
|
+
}>;
|
|
10803
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
10804
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10805
|
+
}, z.core.$strip>>>;
|
|
10806
|
+
kind: z.ZodLiteral<"script">;
|
|
10807
|
+
language: z.ZodEnum<{
|
|
10808
|
+
shell: "shell";
|
|
10809
|
+
sql: "sql";
|
|
10810
|
+
typescript: "typescript";
|
|
10811
|
+
python: "python";
|
|
10812
|
+
}>;
|
|
10813
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10814
|
+
file: z.ZodString;
|
|
10815
|
+
}, z.core.$strip>]>;
|
|
10816
|
+
}, z.core.$strip>], "kind">>>>;
|
|
10817
|
+
topology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
10818
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10819
|
+
relationships: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10820
|
+
from: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10821
|
+
kind: z.ZodLiteral<"system">;
|
|
10822
|
+
id: z.ZodString;
|
|
10823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10824
|
+
kind: z.ZodLiteral<"resource">;
|
|
10825
|
+
id: z.ZodString;
|
|
10826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10827
|
+
kind: z.ZodLiteral<"ontology">;
|
|
10828
|
+
id: z.ZodString;
|
|
10829
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10830
|
+
kind: z.ZodLiteral<"policy">;
|
|
10831
|
+
id: z.ZodString;
|
|
10832
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10833
|
+
kind: z.ZodLiteral<"role">;
|
|
10834
|
+
id: z.ZodString;
|
|
10835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10836
|
+
kind: z.ZodLiteral<"trigger">;
|
|
10837
|
+
id: z.ZodString;
|
|
10838
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10839
|
+
kind: z.ZodLiteral<"humanCheckpoint">;
|
|
10840
|
+
id: z.ZodString;
|
|
10841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10842
|
+
kind: z.ZodLiteral<"externalResource">;
|
|
10843
|
+
id: z.ZodString;
|
|
10844
|
+
}, z.core.$strip>], "kind">;
|
|
10845
|
+
kind: z.ZodEnum<{
|
|
10846
|
+
triggers: "triggers";
|
|
10847
|
+
uses: "uses";
|
|
10848
|
+
approval: "approval";
|
|
10849
|
+
}>;
|
|
10850
|
+
to: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10851
|
+
kind: z.ZodLiteral<"system">;
|
|
10852
|
+
id: z.ZodString;
|
|
10853
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10854
|
+
kind: z.ZodLiteral<"resource">;
|
|
10855
|
+
id: z.ZodString;
|
|
10856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10857
|
+
kind: z.ZodLiteral<"ontology">;
|
|
10858
|
+
id: z.ZodString;
|
|
10859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10860
|
+
kind: z.ZodLiteral<"policy">;
|
|
10861
|
+
id: z.ZodString;
|
|
10862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10863
|
+
kind: z.ZodLiteral<"role">;
|
|
10864
|
+
id: z.ZodString;
|
|
10865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10866
|
+
kind: z.ZodLiteral<"trigger">;
|
|
10867
|
+
id: z.ZodString;
|
|
10868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10869
|
+
kind: z.ZodLiteral<"humanCheckpoint">;
|
|
10870
|
+
id: z.ZodString;
|
|
10871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10872
|
+
kind: z.ZodLiteral<"externalResource">;
|
|
10873
|
+
id: z.ZodString;
|
|
10874
|
+
}, z.core.$strip>], "kind">;
|
|
10875
|
+
systemPath: z.ZodOptional<z.ZodString>;
|
|
10876
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
10877
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
10878
|
+
}, z.core.$strip>>>;
|
|
10879
|
+
}, z.core.$strip>>>;
|
|
10880
|
+
actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10881
|
+
id: z.ZodString;
|
|
10882
|
+
order: z.ZodNumber;
|
|
10883
|
+
label: z.ZodString;
|
|
10884
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10885
|
+
scope: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodObject<{
|
|
10886
|
+
domain: z.ZodString;
|
|
10887
|
+
}, z.core.$strip>]>>;
|
|
10888
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
10889
|
+
affects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10890
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10891
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
10892
|
+
command: z.ZodString;
|
|
10893
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
10894
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10895
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
10896
|
+
server: z.ZodString;
|
|
10897
|
+
name: z.ZodString;
|
|
10898
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10899
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
10900
|
+
method: z.ZodEnum<{
|
|
10901
|
+
GET: "GET";
|
|
10902
|
+
POST: "POST";
|
|
10903
|
+
PATCH: "PATCH";
|
|
10904
|
+
DELETE: "DELETE";
|
|
10905
|
+
}>;
|
|
10906
|
+
path: z.ZodString;
|
|
10907
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
10908
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
10909
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10910
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
10911
|
+
resourceId: z.ZodString;
|
|
10912
|
+
}, z.core.$strip>], "kind">>>;
|
|
10913
|
+
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
10914
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
10915
|
+
deprecated: "deprecated";
|
|
10916
|
+
draft: "draft";
|
|
10917
|
+
beta: "beta";
|
|
10918
|
+
active: "active";
|
|
10919
|
+
archived: "archived";
|
|
10920
|
+
}>>;
|
|
10921
|
+
}, z.core.$strip>>>>;
|
|
10922
|
+
entities: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10923
|
+
id: z.ZodString;
|
|
10924
|
+
order: z.ZodNumber;
|
|
10925
|
+
label: z.ZodString;
|
|
10926
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10927
|
+
ownedBySystemId: z.ZodString;
|
|
10928
|
+
table: z.ZodOptional<z.ZodString>;
|
|
10929
|
+
rowSchema: z.ZodOptional<z.ZodString>;
|
|
10930
|
+
stateCatalogId: z.ZodOptional<z.ZodString>;
|
|
10931
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10932
|
+
toEntity: z.ZodString;
|
|
10933
|
+
kind: z.ZodEnum<{
|
|
10934
|
+
"belongs-to": "belongs-to";
|
|
10935
|
+
"has-many": "has-many";
|
|
10936
|
+
"has-one": "has-one";
|
|
10937
|
+
"many-to-many": "many-to-many";
|
|
10938
|
+
}>;
|
|
10939
|
+
via: z.ZodOptional<z.ZodString>;
|
|
10940
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10941
|
+
}, z.core.$strip>>>;
|
|
10942
|
+
}, z.core.$strip>>>>;
|
|
10943
|
+
policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10944
|
+
id: z.ZodString;
|
|
10945
|
+
order: z.ZodNumber;
|
|
10946
|
+
label: z.ZodString;
|
|
10947
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10948
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10949
|
+
kind: z.ZodLiteral<"event">;
|
|
10950
|
+
eventId: z.ZodString;
|
|
10951
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10952
|
+
kind: z.ZodLiteral<"action-invocation">;
|
|
10953
|
+
actionId: z.ZodString;
|
|
10954
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10955
|
+
kind: z.ZodLiteral<"schedule">;
|
|
10956
|
+
cron: z.ZodString;
|
|
10957
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10958
|
+
kind: z.ZodLiteral<"manual">;
|
|
10959
|
+
}, z.core.$strip>], "kind">;
|
|
10960
|
+
predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10961
|
+
kind: z.ZodLiteral<"always">;
|
|
10962
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10963
|
+
kind: z.ZodLiteral<"expression">;
|
|
10964
|
+
expression: z.ZodString;
|
|
10965
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10966
|
+
kind: z.ZodLiteral<"threshold">;
|
|
10967
|
+
metric: z.ZodString;
|
|
10968
|
+
operator: z.ZodEnum<{
|
|
10969
|
+
lt: "lt";
|
|
10970
|
+
lte: "lte";
|
|
10971
|
+
eq: "eq";
|
|
10972
|
+
gte: "gte";
|
|
10973
|
+
gt: "gt";
|
|
10974
|
+
}>;
|
|
10975
|
+
value: z.ZodNumber;
|
|
10976
|
+
}, z.core.$strip>], "kind">>;
|
|
10977
|
+
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10978
|
+
kind: z.ZodLiteral<"require-approval">;
|
|
10979
|
+
roleId: z.ZodOptional<z.ZodString>;
|
|
10980
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10981
|
+
kind: z.ZodLiteral<"invoke-action">;
|
|
10982
|
+
actionId: z.ZodString;
|
|
10983
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10984
|
+
kind: z.ZodLiteral<"notify-role">;
|
|
10985
|
+
roleId: z.ZodString;
|
|
10986
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10987
|
+
kind: z.ZodLiteral<"block">;
|
|
10988
|
+
}, z.core.$strip>], "kind">>;
|
|
10989
|
+
appliesTo: z.ZodDefault<z.ZodObject<{
|
|
10990
|
+
systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10991
|
+
actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10992
|
+
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10993
|
+
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10994
|
+
}, z.core.$strip>>;
|
|
10995
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
10996
|
+
deprecated: "deprecated";
|
|
10997
|
+
draft: "draft";
|
|
10998
|
+
beta: "beta";
|
|
10999
|
+
active: "active";
|
|
11000
|
+
archived: "archived";
|
|
11001
|
+
}>>;
|
|
11002
|
+
}, z.core.$strip>>>>;
|
|
11003
|
+
knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11004
|
+
id: z.ZodString;
|
|
11005
|
+
kind: z.ZodEnum<{
|
|
11006
|
+
playbook: "playbook";
|
|
11007
|
+
strategy: "strategy";
|
|
11008
|
+
reference: "reference";
|
|
11009
|
+
}>;
|
|
11010
|
+
title: z.ZodString;
|
|
11011
|
+
summary: z.ZodString;
|
|
11012
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
11013
|
+
message: "message";
|
|
11014
|
+
error: "error";
|
|
11015
|
+
agent: "agent";
|
|
11016
|
+
workflow: "workflow";
|
|
11017
|
+
"google-sheets": "google-sheets";
|
|
11018
|
+
dashboard: "dashboard";
|
|
11019
|
+
calendar: "calendar";
|
|
11020
|
+
sales: "sales";
|
|
11021
|
+
crm: "crm";
|
|
11022
|
+
"lead-gen": "lead-gen";
|
|
11023
|
+
projects: "projects";
|
|
11024
|
+
operations: "operations";
|
|
11025
|
+
monitoring: "monitoring";
|
|
11026
|
+
knowledge: "knowledge";
|
|
11027
|
+
settings: "settings";
|
|
11028
|
+
admin: "admin";
|
|
11029
|
+
archive: "archive";
|
|
11030
|
+
business: "business";
|
|
11031
|
+
finance: "finance";
|
|
11032
|
+
platform: "platform";
|
|
11033
|
+
seo: "seo";
|
|
11034
|
+
playbook: "playbook";
|
|
11035
|
+
strategy: "strategy";
|
|
11036
|
+
reference: "reference";
|
|
11037
|
+
integration: "integration";
|
|
11038
|
+
database: "database";
|
|
11039
|
+
user: "user";
|
|
11040
|
+
team: "team";
|
|
11041
|
+
gmail: "gmail";
|
|
11042
|
+
attio: "attio";
|
|
11043
|
+
overview: "overview";
|
|
11044
|
+
"command-view": "command-view";
|
|
11045
|
+
"command-queue": "command-queue";
|
|
11046
|
+
pipeline: "pipeline";
|
|
11047
|
+
lists: "lists";
|
|
11048
|
+
resources: "resources";
|
|
11049
|
+
approve: "approve";
|
|
11050
|
+
reject: "reject";
|
|
11051
|
+
retry: "retry";
|
|
11052
|
+
edit: "edit";
|
|
11053
|
+
view: "view";
|
|
11054
|
+
launch: "launch";
|
|
11055
|
+
escalate: "escalate";
|
|
11056
|
+
promote: "promote";
|
|
11057
|
+
submit: "submit";
|
|
11058
|
+
email: "email";
|
|
11059
|
+
success: "success";
|
|
11060
|
+
warning: "warning";
|
|
11061
|
+
info: "info";
|
|
11062
|
+
pending: "pending";
|
|
11063
|
+
bolt: "bolt";
|
|
11064
|
+
building: "building";
|
|
11065
|
+
briefcase: "briefcase";
|
|
11066
|
+
apps: "apps";
|
|
11067
|
+
graph: "graph";
|
|
11068
|
+
shield: "shield";
|
|
11069
|
+
users: "users";
|
|
11070
|
+
"chart-bar": "chart-bar";
|
|
11071
|
+
search: "search";
|
|
11072
|
+
}>, z.ZodString]>>;
|
|
11073
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
11074
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
11075
|
+
body: z.ZodString;
|
|
11076
|
+
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
11077
|
+
target: z.ZodObject<{
|
|
11078
|
+
kind: z.ZodEnum<{
|
|
11079
|
+
knowledge: "knowledge";
|
|
11080
|
+
system: "system";
|
|
11081
|
+
action: "action";
|
|
11082
|
+
ontology: "ontology";
|
|
11083
|
+
role: "role";
|
|
11084
|
+
goal: "goal";
|
|
11085
|
+
stage: "stage";
|
|
11086
|
+
resource: "resource";
|
|
11087
|
+
"customer-segment": "customer-segment";
|
|
11088
|
+
offering: "offering";
|
|
11089
|
+
"content-node": "content-node";
|
|
11090
|
+
}>;
|
|
11091
|
+
id: z.ZodString;
|
|
11092
|
+
}, z.core.$strip>;
|
|
11093
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11094
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
11095
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
11096
|
+
target: {
|
|
11097
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
11098
|
+
id: string;
|
|
11099
|
+
};
|
|
11100
|
+
nodeId: string;
|
|
11101
|
+
}, {
|
|
11102
|
+
nodeId: string;
|
|
11103
|
+
} | {
|
|
11104
|
+
target: {
|
|
11105
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
11106
|
+
id: string;
|
|
11107
|
+
};
|
|
11108
|
+
}>>>>;
|
|
11109
|
+
ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
11110
|
+
updatedAt: z.ZodString;
|
|
11111
|
+
}, z.core.$strip>>>>;
|
|
11112
|
+
}, z.core.$strip>;
|
|
11113
|
+
|
|
11114
|
+
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
11115
|
+
|
|
10055
11116
|
declare const ResourceCategorySchema: z.ZodEnum<{
|
|
10056
11117
|
diagnostic: "diagnostic";
|
|
10057
11118
|
production: "production";
|
|
@@ -10115,10 +11176,7 @@ interface DeploymentSpec {
|
|
|
10115
11176
|
/** Deployment version (semver) */
|
|
10116
11177
|
version: string;
|
|
10117
11178
|
/** Optional Organization Model governance catalog used for OM-code validation */
|
|
10118
|
-
organizationModel?:
|
|
10119
|
-
systems?: OrganizationModelSystems;
|
|
10120
|
-
resources?: OrganizationModelResources;
|
|
10121
|
-
};
|
|
11179
|
+
organizationModel?: Partial<Pick<OrganizationModel, 'systems' | 'resources' | 'ontology' | 'topology' | 'roles' | 'policies' | 'entities' | 'actions'>>;
|
|
10122
11180
|
/** Workflow definitions */
|
|
10123
11181
|
workflows?: WorkflowDefinition[];
|
|
10124
11182
|
/** Agent definitions */
|
|
@@ -10427,10 +11485,16 @@ declare class RegistryValidationError extends Error {
|
|
|
10427
11485
|
constructor(orgName: string, resourceId: string | null, field: string | null, message: string);
|
|
10428
11486
|
}
|
|
10429
11487
|
type ResourceValidatorMode = 'strict' | 'warn-only';
|
|
10430
|
-
type ResourceGovernanceValidationIssueType = 'missing-code-resource' | 'missing-om-resource' | 'type-mismatch' | 'system-mismatch' | 'missing-om-system' | 'raw-resource-id';
|
|
11488
|
+
type ResourceGovernanceValidationIssueType = 'missing-code-resource' | 'missing-om-resource' | 'type-mismatch' | 'system-mismatch' | 'missing-om-system' | 'raw-resource-id' | 'descriptor-mismatch' | 'missing-ontology-actions' | 'ontology-reference-missing' | 'primary-action-mismatch' | 'topology-reference-missing';
|
|
10431
11489
|
interface ResourceGovernanceModel {
|
|
10432
11490
|
systems?: Record<string, SystemEntry>;
|
|
10433
|
-
resources?: Record<string, ResourceEntry>;
|
|
11491
|
+
resources?: Record<string, ResourceEntry$1>;
|
|
11492
|
+
ontology?: OrganizationModel['ontology'];
|
|
11493
|
+
topology?: OrganizationModel['topology'];
|
|
11494
|
+
roles?: OrganizationModel['roles'];
|
|
11495
|
+
policies?: OrganizationModel['policies'];
|
|
11496
|
+
entities?: OrganizationModel['entities'];
|
|
11497
|
+
actions?: OrganizationModel['actions'];
|
|
10434
11498
|
}
|
|
10435
11499
|
interface ResourceGovernanceValidationIssue {
|
|
10436
11500
|
type: ResourceGovernanceValidationIssueType;
|
|
@@ -10520,150 +11584,374 @@ declare class ToolingError extends ExecutionError {
|
|
|
10520
11584
|
constructor(errorType: string, message: string, details?: unknown);
|
|
10521
11585
|
}
|
|
10522
11586
|
|
|
10523
|
-
// ============================================================================
|
|
10524
|
-
// Lead-Gen Stateful Pipeline Definitions (Decision N8, Wave 4)
|
|
10525
|
-
//
|
|
10526
|
-
// Defines the (pipeline_key, stage_key, state_key) vocabulary for the three
|
|
10527
|
-
// entities that carry the Stateful trait via Track B:
|
|
10528
|
-
// - acq_lists (pipeline_key='lead-gen', stage_key='lifecycle')
|
|
10529
|
-
// - acq_list_members (pipeline_key='lead-gen', stages: outreach / prospecting / qualification)
|
|
10530
|
-
// - acq_list_companies (pipeline_key='lead-gen', stages: outreach / prospecting / qualification)
|
|
10531
|
-
//
|
|
10532
|
-
// DB columns (pipeline_key, stage_key, state_key) remain free-form text with no
|
|
10533
|
-
// CHECK constraint — new states can be introduced without a migration (Decision N8).
|
|
10534
|
-
// These definitions are the org-specific source of truth consumed by UI and tooling.
|
|
10535
|
-
//
|
|
10536
|
-
// State vocabularies sourced from the post-restructure sales tree (W3 canonical):
|
|
10537
|
-
// outreach/:
|
|
10538
|
-
// - personalized (instantly-personalization.ts → contacts)
|
|
10539
|
-
// - uploaded (instantly-upload.ts → contacts)
|
|
10540
|
-
// - interested (instantly-reply-handler.ts → contacts, initial reply transition)
|
|
10541
|
-
// prospecting/:
|
|
10542
|
-
// - populated (apify-acquire.ts, apify-scrape.ts → companies)
|
|
10543
|
-
// - crawled (apify-website-crawl.ts → companies)
|
|
10544
|
-
// - extracted (website-extract.ts → companies)
|
|
10545
|
-
// - discovered (email-discovery.ts, anymailfinder-enrich.ts → contacts)
|
|
10546
|
-
// - verified (email-verification.ts → contacts)
|
|
10547
|
-
// qualification/:
|
|
10548
|
-
// - qualified (company-qualification.ts → companies)
|
|
10549
|
-
//
|
|
10550
|
-
// The 'pending' state is the W2 backfill default (coalesce(stage, 'pending')).
|
|
10551
|
-
// It is valid in any stage and represents "not yet processed by a workflow step".
|
|
10552
|
-
// ============================================================================
|
|
10553
|
-
|
|
10554
|
-
/** One state within a stage — minimal shape: key + display label. */
|
|
10555
|
-
interface StatefulStateDefinition {
|
|
10556
|
-
/** Matches state_key values written by workflow steps. */
|
|
10557
|
-
stateKey: string
|
|
10558
|
-
label: string
|
|
11587
|
+
// ============================================================================
|
|
11588
|
+
// Lead-Gen Stateful Pipeline Definitions (Decision N8, Wave 4)
|
|
11589
|
+
//
|
|
11590
|
+
// Defines the (pipeline_key, stage_key, state_key) vocabulary for the three
|
|
11591
|
+
// entities that carry the Stateful trait via Track B:
|
|
11592
|
+
// - acq_lists (pipeline_key='lead-gen', stage_key='lifecycle')
|
|
11593
|
+
// - acq_list_members (pipeline_key='lead-gen', stages: outreach / prospecting / qualification)
|
|
11594
|
+
// - acq_list_companies (pipeline_key='lead-gen', stages: outreach / prospecting / qualification)
|
|
11595
|
+
//
|
|
11596
|
+
// DB columns (pipeline_key, stage_key, state_key) remain free-form text with no
|
|
11597
|
+
// CHECK constraint — new states can be introduced without a migration (Decision N8).
|
|
11598
|
+
// These definitions are the org-specific source of truth consumed by UI and tooling.
|
|
11599
|
+
//
|
|
11600
|
+
// State vocabularies sourced from the post-restructure sales tree (W3 canonical):
|
|
11601
|
+
// outreach/:
|
|
11602
|
+
// - personalized (instantly-personalization.ts → contacts)
|
|
11603
|
+
// - uploaded (instantly-upload.ts → contacts)
|
|
11604
|
+
// - interested (instantly-reply-handler.ts → contacts, initial reply transition)
|
|
11605
|
+
// prospecting/:
|
|
11606
|
+
// - populated (apify-acquire.ts, apify-scrape.ts → companies)
|
|
11607
|
+
// - crawled (apify-website-crawl.ts → companies)
|
|
11608
|
+
// - extracted (website-extract.ts → companies)
|
|
11609
|
+
// - discovered (email-discovery.ts, anymailfinder-enrich.ts → contacts)
|
|
11610
|
+
// - verified (email-verification.ts → contacts)
|
|
11611
|
+
// qualification/:
|
|
11612
|
+
// - qualified (company-qualification.ts → companies)
|
|
11613
|
+
//
|
|
11614
|
+
// The 'pending' state is the W2 backfill default (coalesce(stage, 'pending')).
|
|
11615
|
+
// It is valid in any stage and represents "not yet processed by a workflow step".
|
|
11616
|
+
// ============================================================================
|
|
11617
|
+
|
|
11618
|
+
/** One state within a stage — minimal shape: key + display label. */
|
|
11619
|
+
interface StatefulStateDefinition {
|
|
11620
|
+
/** Matches state_key values written by workflow steps. */
|
|
11621
|
+
stateKey: string
|
|
11622
|
+
label: string
|
|
11623
|
+
}
|
|
11624
|
+
|
|
11625
|
+
/** One stage within a pipeline — has a stage_key and an ordered list of valid states. */
|
|
11626
|
+
interface StatefulStageDefinition {
|
|
11627
|
+
/** Matches stage_key values written by workflow steps. */
|
|
11628
|
+
stageKey: string
|
|
11629
|
+
label: string
|
|
11630
|
+
/** UI color token. Consumers may map this to their design system. */
|
|
11631
|
+
color?: string
|
|
11632
|
+
states: StatefulStateDefinition[]
|
|
11633
|
+
}
|
|
11634
|
+
|
|
11635
|
+
/**
|
|
11636
|
+
* Pipeline definition for a single entity participating in the Stateful trait.
|
|
11637
|
+
* Parallel to acq_deals' pipeline_key concept but structured for lead-gen entities.
|
|
11638
|
+
*/
|
|
11639
|
+
interface StatefulPipelineDefinition {
|
|
11640
|
+
/** Matches pipeline_key values in the database (e.g. 'lead-gen'). */
|
|
11641
|
+
pipelineKey: string
|
|
11642
|
+
label: string
|
|
11643
|
+
/** Entity this pipeline applies to (e.g. 'acq.list', 'acq.list-member', 'acq.list-company'). */
|
|
11644
|
+
entityKey: string
|
|
11645
|
+
stages: StatefulStageDefinition[]
|
|
11646
|
+
}
|
|
11647
|
+
|
|
11648
|
+
// ============================================================================
|
|
11649
|
+
// CRM Stateful Pipeline Definition
|
|
11650
|
+
//
|
|
11651
|
+
// Defines the (pipeline_key, stage_key, state_key) vocabulary for crm.deal
|
|
11652
|
+
// entities. Stage keys match DEFAULT_ORGANIZATION_MODEL_SALES.pipelines[0].stages.
|
|
11653
|
+
//
|
|
11654
|
+
// State vocabularies sourced from the CRM action/handler tree:
|
|
11655
|
+
// interested/:
|
|
11656
|
+
// - discovery_replied (instantly-reply-handler.ts → first/subsequent reply)
|
|
11657
|
+
// - discovery_link_sent (crm-send-booking-link.ts, crm-rebook.ts → booking link sent)
|
|
11658
|
+
// - discovery_nudging (crm-send-nudge.ts → nudge sent after link)
|
|
11659
|
+
// - discovery_booking_cancelled (booking-revert.ts → Cal cancellation webhook)
|
|
11660
|
+
// - reply_sent (crm-send-reply.ts → operator reply sent)
|
|
11661
|
+
// - followup_1_sent (crm-reply-followup.ts day=3)
|
|
11662
|
+
// - followup_2_sent (crm-reply-followup.ts day=5)
|
|
11663
|
+
// - followup_3_sent (crm-reply-followup.ts day=7)
|
|
11664
|
+
// proposal, closing, closed_won, closed_lost, nurturing: no observed sub-states
|
|
11665
|
+
// ============================================================================
|
|
11666
|
+
|
|
11667
|
+
declare const CRM_DISCOVERY_REPLIED_STATE: StatefulStateDefinition = {
|
|
11668
|
+
stateKey: 'discovery_replied',
|
|
11669
|
+
label: 'Discovery Replied'
|
|
11670
|
+
}
|
|
11671
|
+
declare const CRM_DISCOVERY_LINK_SENT_STATE: StatefulStateDefinition = {
|
|
11672
|
+
stateKey: 'discovery_link_sent',
|
|
11673
|
+
label: 'Discovery Link Sent'
|
|
11674
|
+
}
|
|
11675
|
+
declare const CRM_DISCOVERY_NUDGING_STATE: StatefulStateDefinition = {
|
|
11676
|
+
stateKey: 'discovery_nudging',
|
|
11677
|
+
label: 'Discovery Nudging'
|
|
11678
|
+
}
|
|
11679
|
+
declare const CRM_DISCOVERY_BOOKING_CANCELLED_STATE: StatefulStateDefinition = {
|
|
11680
|
+
stateKey: 'discovery_booking_cancelled',
|
|
11681
|
+
label: 'Discovery Booking Cancelled'
|
|
11682
|
+
}
|
|
11683
|
+
declare const CRM_REPLY_SENT_STATE: StatefulStateDefinition = {
|
|
11684
|
+
stateKey: 'reply_sent',
|
|
11685
|
+
label: 'Reply Sent'
|
|
11686
|
+
}
|
|
11687
|
+
declare const CRM_FOLLOWUP_1_SENT_STATE: StatefulStateDefinition = {
|
|
11688
|
+
stateKey: 'followup_1_sent',
|
|
11689
|
+
label: 'Follow-up 1 Sent'
|
|
11690
|
+
}
|
|
11691
|
+
declare const CRM_FOLLOWUP_2_SENT_STATE: StatefulStateDefinition = {
|
|
11692
|
+
stateKey: 'followup_2_sent',
|
|
11693
|
+
label: 'Follow-up 2 Sent'
|
|
11694
|
+
}
|
|
11695
|
+
declare const CRM_FOLLOWUP_3_SENT_STATE: StatefulStateDefinition = {
|
|
11696
|
+
stateKey: 'followup_3_sent',
|
|
11697
|
+
label: 'Follow-up 3 Sent'
|
|
11698
|
+
}
|
|
11699
|
+
|
|
11700
|
+
declare const CRM_PIPELINE_DEFINITION: StatefulPipelineDefinition = {
|
|
11701
|
+
pipelineKey: 'crm',
|
|
11702
|
+
label: 'CRM',
|
|
11703
|
+
entityKey: 'crm.deal',
|
|
11704
|
+
stages: [
|
|
11705
|
+
{
|
|
11706
|
+
stageKey: 'interested',
|
|
11707
|
+
label: 'Interested',
|
|
11708
|
+
color: 'blue',
|
|
11709
|
+
states: [
|
|
11710
|
+
CRM_DISCOVERY_REPLIED_STATE,
|
|
11711
|
+
CRM_DISCOVERY_LINK_SENT_STATE,
|
|
11712
|
+
CRM_DISCOVERY_NUDGING_STATE,
|
|
11713
|
+
CRM_DISCOVERY_BOOKING_CANCELLED_STATE,
|
|
11714
|
+
CRM_REPLY_SENT_STATE,
|
|
11715
|
+
CRM_FOLLOWUP_1_SENT_STATE,
|
|
11716
|
+
CRM_FOLLOWUP_2_SENT_STATE,
|
|
11717
|
+
CRM_FOLLOWUP_3_SENT_STATE
|
|
11718
|
+
]
|
|
11719
|
+
},
|
|
11720
|
+
{ stageKey: 'proposal', label: 'Proposal', color: 'yellow', states: [] },
|
|
11721
|
+
{ stageKey: 'closing', label: 'Closing', color: 'orange', states: [] },
|
|
11722
|
+
{ stageKey: 'closed_won', label: 'Closed Won', color: 'green', states: [] },
|
|
11723
|
+
{ stageKey: 'closed_lost', label: 'Closed Lost', color: 'red', states: [] },
|
|
11724
|
+
{ stageKey: 'nurturing', label: 'Nurturing', color: 'grape', states: [] }
|
|
11725
|
+
]
|
|
10559
11726
|
}
|
|
10560
11727
|
|
|
10561
|
-
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
-
|
|
10568
|
-
|
|
10569
|
-
}
|
|
11728
|
+
declare const ResourceOntologyBindingSchema = z
|
|
11729
|
+
.object({
|
|
11730
|
+
actions: z.array(OntologyIdSchema).optional(),
|
|
11731
|
+
primaryAction: OntologyIdSchema.optional(),
|
|
11732
|
+
reads: z.array(OntologyIdSchema).optional(),
|
|
11733
|
+
writes: z.array(OntologyIdSchema).optional(),
|
|
11734
|
+
usesCatalogs: z.array(OntologyIdSchema).optional(),
|
|
11735
|
+
emits: z.array(OntologyIdSchema).optional()
|
|
11736
|
+
})
|
|
11737
|
+
.superRefine((binding, ctx) => {
|
|
11738
|
+
if (binding.primaryAction === undefined) return
|
|
11739
|
+
if (binding.actions?.includes(binding.primaryAction)) return
|
|
10570
11740
|
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
11741
|
+
ctx.addIssue({
|
|
11742
|
+
code: z.ZodIssueCode.custom,
|
|
11743
|
+
path: ['primaryAction'],
|
|
11744
|
+
message: 'Resource ontology primaryAction must be included in actions'
|
|
11745
|
+
})
|
|
11746
|
+
})
|
|
11747
|
+
|
|
11748
|
+
type OntologyRefInput = string | { id: string }
|
|
11749
|
+
type ResourceOntologyBindingInput = {
|
|
11750
|
+
actions?: OntologyRefInput[]
|
|
11751
|
+
primaryAction?: OntologyRefInput
|
|
11752
|
+
reads?: OntologyRefInput[]
|
|
11753
|
+
writes?: OntologyRefInput[]
|
|
11754
|
+
usesCatalogs?: OntologyRefInput[]
|
|
11755
|
+
emits?: OntologyRefInput[]
|
|
11756
|
+
}
|
|
11757
|
+
|
|
11758
|
+
declare const WorkflowResourceEntrySchema = ResourceEntryBaseSchema.extend({
|
|
11759
|
+
kind: z.literal('workflow'),
|
|
11760
|
+
emits: z.array(EventEmissionDescriptorSchema).optional()
|
|
11761
|
+
})
|
|
11762
|
+
|
|
11763
|
+
declare const IntegrationResourceEntrySchema = ResourceEntryBaseSchema.extend({
|
|
11764
|
+
kind: z.literal('integration'),
|
|
11765
|
+
provider: z.string().trim().min(1).max(100)
|
|
11766
|
+
})
|
|
11767
|
+
|
|
11768
|
+
declare const ResourceEntrySchema = z.discriminatedUnion('kind', [
|
|
11769
|
+
WorkflowResourceEntrySchema,
|
|
11770
|
+
AgentResourceEntrySchema,
|
|
11771
|
+
IntegrationResourceEntrySchema,
|
|
11772
|
+
ScriptResourceEntrySchema
|
|
11773
|
+
])
|
|
11774
|
+
|
|
11775
|
+
declare function defineResource<const TResource extends ResourceEntry>(resource: TResource): TResource {
|
|
11776
|
+
return ResourceEntrySchema.parse(resource) as TResource
|
|
11777
|
+
}
|
|
11778
|
+
|
|
11779
|
+
declare function defineResources<const TResources extends Record<string, ResourceEntry>>(
|
|
11780
|
+
resources: TResources
|
|
11781
|
+
): TResources {
|
|
11782
|
+
return Object.fromEntries(
|
|
11783
|
+
Object.entries(resources).map(([key, resource]) => [key, ResourceEntrySchema.parse(resource)])
|
|
11784
|
+
) as TResources
|
|
10582
11785
|
}
|
|
10583
11786
|
|
|
10584
|
-
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
// - reply_sent (crm-send-reply.ts → operator reply sent)
|
|
10597
|
-
// - followup_1_sent (crm-reply-followup.ts day=3)
|
|
10598
|
-
// - followup_2_sent (crm-reply-followup.ts day=5)
|
|
10599
|
-
// - followup_3_sent (crm-reply-followup.ts day=7)
|
|
10600
|
-
// proposal, closing, closed_won, closed_lost, nurturing: no observed sub-states
|
|
10601
|
-
// ============================================================================
|
|
11787
|
+
declare function defineResourceOntology(input: ResourceOntologyBindingInput): ResourceOntologyBinding {
|
|
11788
|
+
return ResourceOntologyBindingSchema.parse({
|
|
11789
|
+
actions: ontologyIdArrayFrom(input.actions),
|
|
11790
|
+
primaryAction: input.primaryAction === undefined ? undefined : ontologyIdFrom(input.primaryAction),
|
|
11791
|
+
reads: ontologyIdArrayFrom(input.reads),
|
|
11792
|
+
writes: ontologyIdArrayFrom(input.writes),
|
|
11793
|
+
usesCatalogs: ontologyIdArrayFrom(input.usesCatalogs),
|
|
11794
|
+
emits: ontologyIdArrayFrom(input.emits)
|
|
11795
|
+
})
|
|
11796
|
+
}
|
|
11797
|
+
type ResourceOntologyBinding = z.infer<typeof ResourceOntologyBindingSchema>
|
|
11798
|
+
type ResourceEntry = z.infer<typeof ResourceEntrySchema>
|
|
10602
11799
|
|
|
10603
|
-
declare const
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
}
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
}
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
declare const
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
}
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
|
|
11800
|
+
declare const OmTopologyNodeRefSchema = z.discriminatedUnion('kind', [
|
|
11801
|
+
z.object({ kind: z.literal('system'), id: ModelIdSchema }),
|
|
11802
|
+
z.object({ kind: z.literal('resource'), id: ResourceIdSchema }),
|
|
11803
|
+
z.object({ kind: z.literal('ontology'), id: OntologyIdSchema }),
|
|
11804
|
+
z.object({ kind: z.literal('policy'), id: ModelIdSchema }),
|
|
11805
|
+
z.object({ kind: z.literal('role'), id: ModelIdSchema }),
|
|
11806
|
+
z.object({ kind: z.literal('trigger'), id: ResourceIdSchema }),
|
|
11807
|
+
z.object({ kind: z.literal('humanCheckpoint'), id: ResourceIdSchema }),
|
|
11808
|
+
z.object({ kind: z.literal('externalResource'), id: ResourceIdSchema })
|
|
11809
|
+
])
|
|
11810
|
+
|
|
11811
|
+
declare const OmTopologyRelationshipSchema = z.object({
|
|
11812
|
+
from: OmTopologyNodeRefSchema,
|
|
11813
|
+
kind: OmTopologyRelationshipKindSchema,
|
|
11814
|
+
to: OmTopologyNodeRefSchema,
|
|
11815
|
+
systemPath: SystemPathSchema.optional(),
|
|
11816
|
+
required: z.boolean().optional(),
|
|
11817
|
+
metadata: OmTopologyMetadataSchema.optional()
|
|
11818
|
+
})
|
|
11819
|
+
|
|
11820
|
+
declare const OmTopologyDomainSchema = z
|
|
11821
|
+
.object({
|
|
11822
|
+
version: z.literal(1).default(1),
|
|
11823
|
+
relationships: z.record(z.string().trim().min(1).max(255), OmTopologyRelationshipSchema).default({})
|
|
11824
|
+
})
|
|
11825
|
+
.default({ version: 1, relationships: {} })
|
|
11826
|
+
type OmTopologyNodeRef = z.infer<typeof OmTopologyNodeRefSchema>
|
|
11827
|
+
type OmTopologyRelationship = z.infer<typeof OmTopologyRelationshipSchema>
|
|
11828
|
+
type OmTopologyDomain = z.infer<typeof OmTopologyDomainSchema>
|
|
11829
|
+
type TopologyRelationshipInput = Omit<OmTopologyRelationship, 'from' | 'to'> & {
|
|
11830
|
+
from: OmTopologyNodeInput
|
|
11831
|
+
to: OmTopologyNodeInput
|
|
11832
|
+
}
|
|
11833
|
+
type OmTopologyNodeInput = OmTopologyNodeRef | ResourceEntry
|
|
11834
|
+
|
|
11835
|
+
declare const topologyRef = {
|
|
11836
|
+
system: (system: TopologyRefFactoryInput) => parseRef('system', idFrom(system)),
|
|
11837
|
+
resource: (resource: TopologyRefFactoryInput) => parseRef('resource', idFrom(resource)),
|
|
11838
|
+
ontology: (record: TopologyRefFactoryInput) => parseRef('ontology', idFrom(record)),
|
|
11839
|
+
policy: (policy: TopologyRefFactoryInput) => parseRef('policy', idFrom(policy)),
|
|
11840
|
+
role: (role: TopologyRefFactoryInput) => parseRef('role', idFrom(role)),
|
|
11841
|
+
trigger: (trigger: TopologyRefFactoryInput) => parseRef('trigger', idFrom(trigger)),
|
|
11842
|
+
humanCheckpoint: (checkpoint: TopologyRefFactoryInput) => parseRef('humanCheckpoint', idFrom(checkpoint)),
|
|
11843
|
+
externalResource: (externalResource: TopologyRefFactoryInput) => parseRef('externalResource', idFrom(externalResource))
|
|
11844
|
+
} as const
|
|
11845
|
+
|
|
11846
|
+
declare const topologyRelationship = {
|
|
11847
|
+
triggers: (from: OmTopologyNodeInput, to: OmTopologyNodeInput, options: TopologyRelationshipOptions = {}) =>
|
|
11848
|
+
defineTopologyRelationship({
|
|
11849
|
+
...options,
|
|
11850
|
+
from,
|
|
11851
|
+
kind: 'triggers',
|
|
11852
|
+
to
|
|
11853
|
+
}),
|
|
11854
|
+
uses: (from: OmTopologyNodeInput, to: OmTopologyNodeInput, options: TopologyRelationshipOptions = {}) =>
|
|
11855
|
+
defineTopologyRelationship({
|
|
11856
|
+
...options,
|
|
11857
|
+
from,
|
|
11858
|
+
kind: 'uses',
|
|
11859
|
+
to
|
|
11860
|
+
}),
|
|
11861
|
+
approval: (from: OmTopologyNodeInput, to: OmTopologyNodeInput, options: TopologyRelationshipOptions = {}) =>
|
|
11862
|
+
defineTopologyRelationship({
|
|
11863
|
+
...options,
|
|
11864
|
+
from,
|
|
11865
|
+
kind: 'approval',
|
|
11866
|
+
to
|
|
11867
|
+
}),
|
|
11868
|
+
usesIntegration: (
|
|
11869
|
+
from: OmTopologyNodeInput,
|
|
11870
|
+
integration: OmTopologyNodeInput,
|
|
11871
|
+
options: TopologyRelationshipOptions = {}
|
|
11872
|
+
) =>
|
|
11873
|
+
defineTopologyRelationship({
|
|
11874
|
+
required: true,
|
|
11875
|
+
...options,
|
|
11876
|
+
from,
|
|
11877
|
+
kind: 'uses',
|
|
11878
|
+
to: integration
|
|
11879
|
+
}),
|
|
11880
|
+
requestsApproval: (
|
|
11881
|
+
from: OmTopologyNodeInput,
|
|
11882
|
+
checkpoint: TopologyRefFactoryInput,
|
|
11883
|
+
options: TopologyRelationshipOptions = {}
|
|
11884
|
+
) =>
|
|
11885
|
+
defineTopologyRelationship({
|
|
11886
|
+
required: true,
|
|
11887
|
+
...options,
|
|
11888
|
+
from,
|
|
11889
|
+
kind: 'approval',
|
|
11890
|
+
to: topologyRef.humanCheckpoint(checkpoint)
|
|
11891
|
+
}),
|
|
11892
|
+
checkpointRoutesTo: (
|
|
11893
|
+
checkpoint: TopologyRefFactoryInput,
|
|
11894
|
+
to: OmTopologyNodeInput,
|
|
11895
|
+
options: TopologyRelationshipOptions = {}
|
|
11896
|
+
) =>
|
|
11897
|
+
defineTopologyRelationship({
|
|
11898
|
+
required: true,
|
|
11899
|
+
...options,
|
|
11900
|
+
from: topologyRef.humanCheckpoint(checkpoint),
|
|
11901
|
+
kind: 'triggers',
|
|
11902
|
+
to
|
|
11903
|
+
})
|
|
11904
|
+
} as const
|
|
11905
|
+
|
|
11906
|
+
declare function parseTopologyNodeRef(input: string | OmTopologyNodeRef): OmTopologyNodeRef {
|
|
11907
|
+
if (typeof input !== 'string') return OmTopologyNodeRefSchema.parse(input)
|
|
11908
|
+
|
|
11909
|
+
const separatorIndex = input.indexOf(':')
|
|
11910
|
+
if (separatorIndex === -1) {
|
|
11911
|
+
throw new Error(`Topology node ref "${input}" must use <kind>:<id>`)
|
|
11912
|
+
}
|
|
11913
|
+
|
|
11914
|
+
const kind = input.slice(0, separatorIndex)
|
|
11915
|
+
const id = input.slice(separatorIndex + 1)
|
|
11916
|
+
if (!OmTopologyNodeKindSchema.safeParse(kind).success) {
|
|
11917
|
+
throw new Error(`Topology node ref "${input}" has unsupported kind "${kind}"`)
|
|
11918
|
+
}
|
|
11919
|
+
|
|
11920
|
+
return OmTopologyNodeRefSchema.parse({ kind, id })
|
|
10630
11921
|
}
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
11922
|
+
|
|
11923
|
+
declare function defineTopologyRelationship(input: TopologyRelationshipInput): OmTopologyRelationship {
|
|
11924
|
+
return OmTopologyRelationshipSchema.parse({
|
|
11925
|
+
...input,
|
|
11926
|
+
from: compileTopologyNodeRef(input.from),
|
|
11927
|
+
to: compileTopologyNodeRef(input.to)
|
|
11928
|
+
})
|
|
10634
11929
|
}
|
|
10635
11930
|
|
|
10636
|
-
declare
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
CRM_DISCOVERY_LINK_SENT_STATE,
|
|
10648
|
-
CRM_DISCOVERY_NUDGING_STATE,
|
|
10649
|
-
CRM_DISCOVERY_BOOKING_CANCELLED_STATE,
|
|
10650
|
-
CRM_REPLY_SENT_STATE,
|
|
10651
|
-
CRM_FOLLOWUP_1_SENT_STATE,
|
|
10652
|
-
CRM_FOLLOWUP_2_SENT_STATE,
|
|
10653
|
-
CRM_FOLLOWUP_3_SENT_STATE
|
|
10654
|
-
]
|
|
10655
|
-
},
|
|
10656
|
-
{ stageKey: 'proposal', label: 'Proposal', color: 'yellow', states: [] },
|
|
10657
|
-
{ stageKey: 'closing', label: 'Closing', color: 'orange', states: [] },
|
|
10658
|
-
{ stageKey: 'closed_won', label: 'Closed Won', color: 'green', states: [] },
|
|
10659
|
-
{ stageKey: 'closed_lost', label: 'Closed Lost', color: 'red', states: [] },
|
|
10660
|
-
{ stageKey: 'nurturing', label: 'Nurturing', color: 'grape', states: [] }
|
|
10661
|
-
]
|
|
11931
|
+
declare function defineTopology(
|
|
11932
|
+
relationships: Record<string, TopologyRelationshipInput> | TopologyRelationshipInput[]
|
|
11933
|
+
): OmTopologyDomain {
|
|
11934
|
+
const entries = Array.isArray(relationships)
|
|
11935
|
+
? relationships.map((relationship, index) => [`relationship-${index + 1}`, relationship] as const)
|
|
11936
|
+
: Object.entries(relationships)
|
|
11937
|
+
|
|
11938
|
+
return OmTopologyDomainSchema.parse({
|
|
11939
|
+
version: 1,
|
|
11940
|
+
relationships: Object.fromEntries(entries.map(([key, relationship]) => [key, defineTopologyRelationship(relationship)]))
|
|
11941
|
+
})
|
|
10662
11942
|
}
|
|
10663
11943
|
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
type
|
|
11944
|
+
type OrganizationModelResourceEntry = z.infer<typeof ResourceEntrySchema>
|
|
11945
|
+
type OrganizationModelResourceOntologyBinding = z.infer<typeof ResourceOntologyBindingSchema>
|
|
11946
|
+
type OrganizationModelWorkflowResourceEntry = z.infer<typeof WorkflowResourceEntrySchema>
|
|
11947
|
+
type OrganizationModelIntegrationResourceEntry = z.infer<typeof IntegrationResourceEntrySchema>
|
|
11948
|
+
type OrganizationModelTopology = z.infer<typeof OmTopologyDomainSchema>
|
|
11949
|
+
type OrganizationModelTopologyNodeRef = z.infer<typeof OmTopologyNodeRefSchema>
|
|
11950
|
+
type OrganizationModelTopologyRelationship = z.infer<typeof OmTopologyRelationshipSchema>
|
|
11951
|
+
|
|
11952
|
+
declare const CrmStageKeySchema = z.enum(crmStageKeys)
|
|
11953
|
+
declare const CrmStateKeySchema = z.enum(crmStateKeys)
|
|
11954
|
+
type CrmStageKey = z.infer<typeof CrmStageKeySchema>
|
|
10667
11955
|
type CrmStateKey = z.infer<typeof CrmStateKeySchema>
|
|
10668
11956
|
|
|
10669
11957
|
/**
|
|
@@ -10678,5 +11966,5 @@ declare const ListBuilderStageKeySchema: z.ZodEnum<{
|
|
|
10678
11966
|
}>;
|
|
10679
11967
|
type ListBuilderStageKey = z.infer<typeof ListBuilderStageKeySchema>;
|
|
10680
11968
|
|
|
10681
|
-
export { ActivityEventSchema, BuildPlanSnapshotStepSchema, ProspectingBuildTemplateSchema as BuildTemplateSchema, CRM_PIPELINE_DEFINITION, CrmStageKeySchema, CrmStateKeySchema, DEFAULT_CRM_ACTIONS, EmailSchema, ExecutionError, LEAD_GEN_STAGE_CATALOG, ListBuilderStageKeySchema, ProcessingStageStatusSchema, RegistryValidationError, ResourceRegistry, StepType, ToolingError, deriveActions, validateResourceGovernance };
|
|
10682
|
-
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqDealRow, AcqList, Action, ActionDef, ActivityEvent, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BuildPlanSnapshotStep, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, CompanyFilters, ConditionalNext, ContactFilters, Contract, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, CrmStageKey, CrmStateKey, CrmToolMap, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListBuilderStageKey, ListBuilderStep, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, ListToolMap, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, PaginatedResult, PaginationParams, PdfToolMap, ProcessingStageStatus, ProjectsToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResourceCategory, ResourceDefinition, ResourceLink, ResourceMetricsConfig, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TransitionItemParams, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowDefinition, WorkflowStep, WriteSheetParams, WriteSheetResult };
|
|
11969
|
+
export { ActivityEventSchema, BuildPlanSnapshotStepSchema, ProspectingBuildTemplateSchema as BuildTemplateSchema, CRM_PIPELINE_DEFINITION, CrmStageKeySchema, CrmStateKeySchema, DEFAULT_CRM_ACTIONS, EmailSchema, ExecutionError, LEAD_GEN_STAGE_CATALOG, ListBuilderStageKeySchema, ProcessingStageStatusSchema, RegistryValidationError, ResourceRegistry, StepType, ToolingError, bindResourceDescriptor, defineResource, defineResourceOntology, defineResources, defineTopology, defineTopologyRelationship, deriveActions, parseTopologyNodeRef, topologyRef, topologyRelationship, validateResourceGovernance };
|
|
11970
|
+
export type { AbsoluteScheduleConfig, AcqCompany, AcqContact, AcqDeal, AcqDealRow, AcqList, Action, ActionDef, ActivityEvent, AddToCampaignLead, AddToCampaignParams, AddToCampaignResult, AgentConfig, AgentConstraints, AgentDefinition, AgentMemory, FindCompanyEmailParams as AnymailfinderFindCompanyEmailParams, FindCompanyEmailResult as AnymailfinderFindCompanyEmailResult, FindDecisionMakerEmailParams as AnymailfinderFindDecisionMakerEmailParams, FindDecisionMakerEmailResult as AnymailfinderFindDecisionMakerEmailResult, FindPersonEmailParams as AnymailfinderFindPersonEmailParams, FindPersonEmailResult as AnymailfinderFindPersonEmailResult, AnymailfinderToolMap, VerifyEmailParams as AnymailfinderVerifyEmailParams, VerifyEmailResult as AnymailfinderVerifyEmailResult, ApifyToolMap, ApifyWebhookConfig, AppendRowsParams, AppendRowsResult, ApprovalToolMap, AttioToolMap, BatchUpdateParams, BatchUpdateResult, BuildPlanSnapshotStep, BulkDeleteLeadsParams, BulkDeleteLeadsResult, BulkImportParams, BulkImportResult, CancelHitlByDealIdParams, CancelSchedulesAndHitlByEmailParams, ClearDealFieldsParams, ClearRangeParams, ClearRangeResult, CompanyFilters, ConditionalNext, ContactFilters, Contract, CreateAttributeParams, CreateAttributeResult, CreateAutoPaymentLinkParams, CreateAutoPaymentLinkResult, CreateCheckoutSessionParams, CreateCheckoutSessionResult, CreateCompanyParams, CreateContactParams, CreateEnvelopeParams, CreateEnvelopeResult, CreateFolderParams, CreateFolderResult, CreateListParams, CreateNoteParams, CreateNoteResult, CreatePaymentLinkParams, CreatePaymentLinkResult, CreateRecordParams, CreateRecordResult, CreateScheduleInput, CrmStageKey, CrmStateKey, CrmToolMap, DeleteDealParams, DeleteNoteParams, DeleteNoteResult, DeleteRecordParams, DeleteRecordResult, DeleteRowByValueParams, DeleteRowByValueResult, DeploymentSpec, DownloadDocumentParams, DownloadDocumentResult, DropboxToolMap, ElevasConfig, EmailToolMap, EnvelopeDocument, EventTriggerConfig, ExecutionContext, ExecutionInterface, ExecutionMetadata, ExecutionToolMap, FilterExpression, FilterRowsParams, FilterRowsResult, FormField, FormFieldType, FormSchema, GetDailyCampaignAnalyticsParams, GetDailyCampaignAnalyticsResult, GetEmailsParams, GetEmailsResult, GetEnvelopeParams, GetEnvelopeResult, GetHeadersParams, GetHeadersResult, GetLastRowParams, GetLastRowResult, GetPaymentLinkParams, GetPaymentLinkResult, GetRecordParams, GetRecordResult, GetRowByValueParams, GetRowByValueResult, GetSpreadsheetMetadataParams, GetSpreadsheetMetadataResult, GmailSendEmailParams, GmailSendEmailResult, GmailToolMap, GoogleSheetsToolMap, HumanCheckpointDefinition, InstantlyToolMap, IntegrationDefinition, LLMAdapterFactory, LLMGenerateRequest, LLMGenerateResponse, LLMMessage, LLMModel, LeadToolMap, LinearNext, ListAttributesParams, ListAttributesResult, ListBuilderStageKey, ListBuilderStep, ListLeadsParams, ListLeadsResult, ListNotesParams, ListNotesResult, ListObjectsResult, ListPaymentLinksParams, ListPaymentLinksResult, ListToolMap, MarkProposalReviewedParams, MarkProposalSentParams, MethodEntry, MillionVerifierToolMap, ModelConfig, NextConfig, NotificationSDKInput, NotificationToolMap, OrganizationModelIntegrationResourceEntry, OrganizationModelResourceEntry, OrganizationModelResourceOntologyBinding, OrganizationModelTopology, OrganizationModelTopologyNodeRef, OrganizationModelTopologyRelationship, OrganizationModelWorkflowResourceEntry, PaginatedResult, PaginationParams, PdfToolMap, ProcessingStageStatus, ProjectsToolMap, QueryRecordsParams, QueryRecordsResult, ReadSheetParams, ReadSheetResult, Recipient, RecurringScheduleConfig, RelationshipDeclaration, RelativeScheduleConfig, RemoveFromSubsequenceParams, RemoveFromSubsequenceResult, ResendGetEmailParams, ResendGetEmailResult, ResendSendEmailParams, ResendSendEmailResult, ResendToolMap, ResourceCategory, ResourceDefinition, ResourceLink, ResourceMetricsConfig, ResourceRelationships, ResourceStatus$1 as ResourceStatus, ResourceType, RunActorParams, RunActorResult, SDKLLMGenerateParams, ScheduleOriginTracking, ScheduleTarget, ScheduleTriggerConfig, SchedulerToolMap, SendReplyParams, SendReplyResult, SetContactNurtureParams, SheetInfo, SignatureApiFieldType, SignatureApiToolMap, SigningPlace, SortCriteria, StartActorParams, StartActorResult, StepHandler, StorageDeleteInput, StorageDeleteOutput, StorageDownloadInput, StorageDownloadOutput, StorageListInput, StorageListOutput, StorageSignedUrlInput, StorageSignedUrlOutput, StorageToolMap, StorageUploadInput, StorageUploadOutput, StripeToolMap, TaskSchedule, TaskScheduleConfig, TombaToolMap, Tool, ToolExecutionOptions, ToolMethodMap, ToolingErrorType, TransitionItemParams, TriggerConfig, TriggerDefinition, UpdateAttributeParams, UpdateAttributeResult, UpdateCloseLostReasonParams, UpdateCompanyParams, UpdateContactParams, UpdateDiscoveryDataParams, UpdateFeesParams, UpdateInterestStatusParams, UpdateInterestStatusResult, UpdateListParams, UpdatePaymentLinkParams, UpdatePaymentLinkResult, UpdateProposalDataParams, UpdateRecordParams, UpdateRecordResult, UpdateRowByValueParams, UpdateRowByValueResult, UploadFileParams, UploadFileResult, UpsertCompanyParams, UpsertContactParams, UpsertDealParams, UpsertRowParams, UpsertRowResult, VoidEnvelopeParams, VoidEnvelopeResult, WebhookProviderType, WebhookTriggerConfig, WorkflowConfig, WorkflowDefinition, WorkflowStep, WriteSheetParams, WriteSheetResult };
|