@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
|
@@ -344,14 +344,36 @@ declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
|
344
344
|
id: z.ZodString;
|
|
345
345
|
order: z.ZodDefault<z.ZodNumber>;
|
|
346
346
|
systemPath: z.ZodString;
|
|
347
|
+
title: z.ZodOptional<z.ZodString>;
|
|
348
|
+
description: z.ZodOptional<z.ZodString>;
|
|
347
349
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
348
350
|
status: z.ZodEnum<{
|
|
349
351
|
deprecated: "deprecated";
|
|
350
352
|
active: "active";
|
|
351
353
|
archived: "archived";
|
|
352
354
|
}>;
|
|
355
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
357
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
358
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
359
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
361
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
364
|
+
path: z.ZodString;
|
|
365
|
+
role: z.ZodEnum<{
|
|
366
|
+
schema: "schema";
|
|
367
|
+
config: "config";
|
|
368
|
+
entrypoint: "entrypoint";
|
|
369
|
+
handler: "handler";
|
|
370
|
+
test: "test";
|
|
371
|
+
docs: "docs";
|
|
372
|
+
}>;
|
|
373
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
374
|
+
description: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strip>>>;
|
|
353
376
|
kind: z.ZodLiteral<"workflow">;
|
|
354
|
-
actionKey: z.ZodOptional<z.ZodString>;
|
|
355
377
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
356
378
|
eventKey: z.ZodString;
|
|
357
379
|
label: z.ZodString;
|
|
@@ -369,12 +391,35 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
369
391
|
id: z.ZodString;
|
|
370
392
|
order: z.ZodDefault<z.ZodNumber>;
|
|
371
393
|
systemPath: z.ZodString;
|
|
394
|
+
title: z.ZodOptional<z.ZodString>;
|
|
395
|
+
description: z.ZodOptional<z.ZodString>;
|
|
372
396
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
373
397
|
status: z.ZodEnum<{
|
|
374
398
|
deprecated: "deprecated";
|
|
375
399
|
active: "active";
|
|
376
400
|
archived: "archived";
|
|
377
401
|
}>;
|
|
402
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
403
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
404
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
405
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
406
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
407
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
408
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
|
+
}, z.core.$strip>>;
|
|
410
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
411
|
+
path: z.ZodString;
|
|
412
|
+
role: z.ZodEnum<{
|
|
413
|
+
schema: "schema";
|
|
414
|
+
config: "config";
|
|
415
|
+
entrypoint: "entrypoint";
|
|
416
|
+
handler: "handler";
|
|
417
|
+
test: "test";
|
|
418
|
+
docs: "docs";
|
|
419
|
+
}>;
|
|
420
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
421
|
+
description: z.ZodOptional<z.ZodString>;
|
|
422
|
+
}, z.core.$strip>>>;
|
|
378
423
|
kind: z.ZodLiteral<"agent">;
|
|
379
424
|
agentKind: z.ZodEnum<{
|
|
380
425
|
platform: "platform";
|
|
@@ -424,125 +469,36 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
424
469
|
id: z.ZodString;
|
|
425
470
|
order: z.ZodDefault<z.ZodNumber>;
|
|
426
471
|
systemPath: z.ZodString;
|
|
472
|
+
title: z.ZodOptional<z.ZodString>;
|
|
473
|
+
description: z.ZodOptional<z.ZodString>;
|
|
427
474
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
428
475
|
status: z.ZodEnum<{
|
|
429
476
|
deprecated: "deprecated";
|
|
430
477
|
active: "active";
|
|
431
478
|
archived: "archived";
|
|
432
479
|
}>;
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
beta: "beta";
|
|
443
|
-
active: "active";
|
|
444
|
-
archived: "archived";
|
|
445
|
-
}>>;
|
|
446
|
-
}, z.core.$strip>>>;
|
|
447
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
448
|
-
id: z.ZodString;
|
|
449
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
450
|
-
systemPath: z.ZodString;
|
|
451
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
452
|
-
status: z.ZodEnum<{
|
|
453
|
-
deprecated: "deprecated";
|
|
454
|
-
active: "active";
|
|
455
|
-
archived: "archived";
|
|
456
|
-
}>;
|
|
457
|
-
kind: z.ZodLiteral<"agent">;
|
|
458
|
-
agentKind: z.ZodEnum<{
|
|
459
|
-
platform: "platform";
|
|
460
|
-
orchestrator: "orchestrator";
|
|
461
|
-
specialist: "specialist";
|
|
462
|
-
utility: "utility";
|
|
463
|
-
}>;
|
|
464
|
-
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
465
|
-
sessionCapable: z.ZodBoolean;
|
|
466
|
-
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
467
|
-
kind: z.ZodLiteral<"slash-command">;
|
|
468
|
-
command: z.ZodString;
|
|
469
|
-
toolFactory: z.ZodOptional<z.ZodString>;
|
|
470
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
471
|
-
kind: z.ZodLiteral<"mcp-tool">;
|
|
472
|
-
server: z.ZodString;
|
|
473
|
-
name: z.ZodString;
|
|
474
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
475
|
-
kind: z.ZodLiteral<"api-endpoint">;
|
|
476
|
-
method: z.ZodEnum<{
|
|
477
|
-
GET: "GET";
|
|
478
|
-
POST: "POST";
|
|
479
|
-
PATCH: "PATCH";
|
|
480
|
-
DELETE: "DELETE";
|
|
481
|
-
}>;
|
|
480
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
482
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
483
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
485
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
486
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
487
|
+
}, z.core.$strip>>;
|
|
488
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
482
489
|
path: z.ZodString;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
494
|
-
deprecated: "deprecated";
|
|
495
|
-
draft: "draft";
|
|
496
|
-
beta: "beta";
|
|
497
|
-
active: "active";
|
|
498
|
-
archived: "archived";
|
|
499
|
-
}>>;
|
|
490
|
+
role: z.ZodEnum<{
|
|
491
|
+
schema: "schema";
|
|
492
|
+
config: "config";
|
|
493
|
+
entrypoint: "entrypoint";
|
|
494
|
+
handler: "handler";
|
|
495
|
+
test: "test";
|
|
496
|
+
docs: "docs";
|
|
497
|
+
}>;
|
|
498
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
499
|
+
description: z.ZodOptional<z.ZodString>;
|
|
500
500
|
}, z.core.$strip>>>;
|
|
501
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
502
|
-
id: z.ZodString;
|
|
503
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
504
|
-
systemPath: z.ZodString;
|
|
505
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
506
|
-
status: z.ZodEnum<{
|
|
507
|
-
deprecated: "deprecated";
|
|
508
|
-
active: "active";
|
|
509
|
-
archived: "archived";
|
|
510
|
-
}>;
|
|
511
|
-
kind: z.ZodLiteral<"integration">;
|
|
512
|
-
provider: z.ZodString;
|
|
513
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
514
|
-
id: z.ZodString;
|
|
515
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
516
|
-
systemPath: z.ZodString;
|
|
517
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
518
|
-
status: z.ZodEnum<{
|
|
519
|
-
deprecated: "deprecated";
|
|
520
|
-
active: "active";
|
|
521
|
-
archived: "archived";
|
|
522
|
-
}>;
|
|
523
|
-
kind: z.ZodLiteral<"script">;
|
|
524
|
-
language: z.ZodEnum<{
|
|
525
|
-
shell: "shell";
|
|
526
|
-
sql: "sql";
|
|
527
|
-
typescript: "typescript";
|
|
528
|
-
python: "python";
|
|
529
|
-
}>;
|
|
530
|
-
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
531
|
-
file: z.ZodString;
|
|
532
|
-
}, z.core.$strip>]>;
|
|
533
|
-
}, z.core.$strip>], "kind">;
|
|
534
|
-
declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
535
|
-
id: z.ZodString;
|
|
536
|
-
order: z.ZodDefault<z.ZodNumber>;
|
|
537
|
-
systemPath: z.ZodString;
|
|
538
|
-
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
539
|
-
status: z.ZodEnum<{
|
|
540
|
-
deprecated: "deprecated";
|
|
541
|
-
active: "active";
|
|
542
|
-
archived: "archived";
|
|
543
|
-
}>;
|
|
544
501
|
kind: z.ZodLiteral<"workflow">;
|
|
545
|
-
actionKey: z.ZodOptional<z.ZodString>;
|
|
546
502
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
547
503
|
eventKey: z.ZodString;
|
|
548
504
|
label: z.ZodString;
|
|
@@ -559,12 +515,35 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
559
515
|
id: z.ZodString;
|
|
560
516
|
order: z.ZodDefault<z.ZodNumber>;
|
|
561
517
|
systemPath: z.ZodString;
|
|
518
|
+
title: z.ZodOptional<z.ZodString>;
|
|
519
|
+
description: z.ZodOptional<z.ZodString>;
|
|
562
520
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
563
521
|
status: z.ZodEnum<{
|
|
564
522
|
deprecated: "deprecated";
|
|
565
523
|
active: "active";
|
|
566
524
|
archived: "archived";
|
|
567
525
|
}>;
|
|
526
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
528
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
529
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
530
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
531
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
532
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
535
|
+
path: z.ZodString;
|
|
536
|
+
role: z.ZodEnum<{
|
|
537
|
+
schema: "schema";
|
|
538
|
+
config: "config";
|
|
539
|
+
entrypoint: "entrypoint";
|
|
540
|
+
handler: "handler";
|
|
541
|
+
test: "test";
|
|
542
|
+
docs: "docs";
|
|
543
|
+
}>;
|
|
544
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
545
|
+
description: z.ZodOptional<z.ZodString>;
|
|
546
|
+
}, z.core.$strip>>>;
|
|
568
547
|
kind: z.ZodLiteral<"agent">;
|
|
569
548
|
agentKind: z.ZodEnum<{
|
|
570
549
|
platform: "platform";
|
|
@@ -613,24 +592,70 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
613
592
|
id: z.ZodString;
|
|
614
593
|
order: z.ZodDefault<z.ZodNumber>;
|
|
615
594
|
systemPath: z.ZodString;
|
|
595
|
+
title: z.ZodOptional<z.ZodString>;
|
|
596
|
+
description: z.ZodOptional<z.ZodString>;
|
|
616
597
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
617
598
|
status: z.ZodEnum<{
|
|
618
599
|
deprecated: "deprecated";
|
|
619
600
|
active: "active";
|
|
620
601
|
archived: "archived";
|
|
621
602
|
}>;
|
|
603
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
604
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
605
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
606
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
608
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
609
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
|
+
}, z.core.$strip>>;
|
|
611
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
612
|
+
path: z.ZodString;
|
|
613
|
+
role: z.ZodEnum<{
|
|
614
|
+
schema: "schema";
|
|
615
|
+
config: "config";
|
|
616
|
+
entrypoint: "entrypoint";
|
|
617
|
+
handler: "handler";
|
|
618
|
+
test: "test";
|
|
619
|
+
docs: "docs";
|
|
620
|
+
}>;
|
|
621
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
622
|
+
description: z.ZodOptional<z.ZodString>;
|
|
623
|
+
}, z.core.$strip>>>;
|
|
622
624
|
kind: z.ZodLiteral<"integration">;
|
|
623
625
|
provider: z.ZodString;
|
|
624
626
|
}, z.core.$strip>, z.ZodObject<{
|
|
625
627
|
id: z.ZodString;
|
|
626
628
|
order: z.ZodDefault<z.ZodNumber>;
|
|
627
629
|
systemPath: z.ZodString;
|
|
630
|
+
title: z.ZodOptional<z.ZodString>;
|
|
631
|
+
description: z.ZodOptional<z.ZodString>;
|
|
628
632
|
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
629
633
|
status: z.ZodEnum<{
|
|
630
634
|
deprecated: "deprecated";
|
|
631
635
|
active: "active";
|
|
632
636
|
archived: "archived";
|
|
633
637
|
}>;
|
|
638
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
639
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
640
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
641
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
642
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
643
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
644
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
645
|
+
}, z.core.$strip>>;
|
|
646
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
647
|
+
path: z.ZodString;
|
|
648
|
+
role: z.ZodEnum<{
|
|
649
|
+
schema: "schema";
|
|
650
|
+
config: "config";
|
|
651
|
+
entrypoint: "entrypoint";
|
|
652
|
+
handler: "handler";
|
|
653
|
+
test: "test";
|
|
654
|
+
docs: "docs";
|
|
655
|
+
}>;
|
|
656
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
657
|
+
description: z.ZodOptional<z.ZodString>;
|
|
658
|
+
}, z.core.$strip>>>;
|
|
634
659
|
kind: z.ZodLiteral<"script">;
|
|
635
660
|
language: z.ZodEnum<{
|
|
636
661
|
shell: "shell";
|
|
@@ -641,7 +666,7 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
641
666
|
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
642
667
|
file: z.ZodString;
|
|
643
668
|
}, z.core.$strip>]>;
|
|
644
|
-
}, z.core.$strip>], "kind"
|
|
669
|
+
}, z.core.$strip>], "kind">;
|
|
645
670
|
type ResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
646
671
|
type WorkflowResourceEntry = z.infer<typeof WorkflowResourceEntrySchema>;
|
|
647
672
|
type AgentResourceEntry = z.infer<typeof AgentResourceEntrySchema>;
|
|
@@ -756,8 +781,6 @@ interface WorkflowConfig extends ResourceDefinition {
|
|
|
756
781
|
type: 'workflow';
|
|
757
782
|
/** OM descriptor backing canonical identity and governance metadata. */
|
|
758
783
|
resource?: WorkflowResourceEntry;
|
|
759
|
-
/** Lead-gen action key for registry derivation (e.g. 'lead-gen.company.apollo-import') */
|
|
760
|
-
actionKey?: string;
|
|
761
784
|
}
|
|
762
785
|
interface WorkflowStepDefinition {
|
|
763
786
|
id: string;
|
|
@@ -2807,6 +2830,7 @@ type Database = {
|
|
|
2807
2830
|
origin_execution_id: string | null;
|
|
2808
2831
|
output: Json | null;
|
|
2809
2832
|
resource_id: string;
|
|
2833
|
+
resource_snapshot: Json | null;
|
|
2810
2834
|
resource_status: string;
|
|
2811
2835
|
resource_type: string;
|
|
2812
2836
|
resource_version: string | null;
|
|
@@ -2832,6 +2856,7 @@ type Database = {
|
|
|
2832
2856
|
origin_execution_id?: string | null;
|
|
2833
2857
|
output?: Json | null;
|
|
2834
2858
|
resource_id: string;
|
|
2859
|
+
resource_snapshot?: Json | null;
|
|
2835
2860
|
resource_status?: string;
|
|
2836
2861
|
resource_type?: string;
|
|
2837
2862
|
resource_version?: string | null;
|
|
@@ -2857,6 +2882,7 @@ type Database = {
|
|
|
2857
2882
|
origin_execution_id?: string | null;
|
|
2858
2883
|
output?: Json | null;
|
|
2859
2884
|
resource_id?: string;
|
|
2885
|
+
resource_snapshot?: Json | null;
|
|
2860
2886
|
resource_status?: string;
|
|
2861
2887
|
resource_type?: string;
|
|
2862
2888
|
resource_version?: string | null;
|
|
@@ -4411,8 +4437,8 @@ declare const DealSchemas: {
|
|
|
4411
4437
|
title: z.ZodString;
|
|
4412
4438
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4413
4439
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
4414
|
-
other: "other";
|
|
4415
4440
|
email: "email";
|
|
4441
|
+
other: "other";
|
|
4416
4442
|
call: "call";
|
|
4417
4443
|
meeting: "meeting";
|
|
4418
4444
|
}>>;
|
|
@@ -4752,8 +4778,8 @@ declare const DealSchemas: {
|
|
|
4752
4778
|
title: z.ZodString;
|
|
4753
4779
|
description: z.ZodNullable<z.ZodString>;
|
|
4754
4780
|
kind: z.ZodEnum<{
|
|
4755
|
-
other: "other";
|
|
4756
4781
|
email: "email";
|
|
4782
|
+
other: "other";
|
|
4757
4783
|
call: "call";
|
|
4758
4784
|
meeting: "meeting";
|
|
4759
4785
|
}>;
|
|
@@ -4772,8 +4798,8 @@ declare const DealSchemas: {
|
|
|
4772
4798
|
title: z.ZodString;
|
|
4773
4799
|
description: z.ZodNullable<z.ZodString>;
|
|
4774
4800
|
kind: z.ZodEnum<{
|
|
4775
|
-
other: "other";
|
|
4776
4801
|
email: "email";
|
|
4802
|
+
other: "other";
|
|
4777
4803
|
call: "call";
|
|
4778
4804
|
meeting: "meeting";
|
|
4779
4805
|
}>;
|
|
@@ -5664,6 +5690,100 @@ interface ProjectClientRef {
|
|
|
5664
5690
|
status: string;
|
|
5665
5691
|
}
|
|
5666
5692
|
|
|
5693
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
5694
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5695
|
+
id: z.ZodString;
|
|
5696
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5697
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5698
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5699
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5700
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5701
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5702
|
+
}, z.core.$loose>>>>;
|
|
5703
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5704
|
+
id: z.ZodString;
|
|
5705
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5706
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5707
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5708
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5709
|
+
from: z.ZodString;
|
|
5710
|
+
to: z.ZodString;
|
|
5711
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
5712
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5713
|
+
}, z.core.$loose>>>>;
|
|
5714
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5715
|
+
id: z.ZodString;
|
|
5716
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5717
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5718
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5719
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5720
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
5721
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5722
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5723
|
+
}, z.core.$loose>>>>;
|
|
5724
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5725
|
+
id: z.ZodString;
|
|
5726
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5727
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5728
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5729
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5730
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
5731
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
5732
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5733
|
+
}, z.core.$loose>>>>;
|
|
5734
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5735
|
+
id: z.ZodString;
|
|
5736
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5737
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5738
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5739
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5740
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5741
|
+
}, z.core.$loose>>>>;
|
|
5742
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5743
|
+
id: z.ZodString;
|
|
5744
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5745
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5746
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5747
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5748
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5749
|
+
}, z.core.$loose>>>>;
|
|
5750
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5751
|
+
id: z.ZodString;
|
|
5752
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5753
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5754
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5755
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5756
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
5757
|
+
}, z.core.$loose>>>>;
|
|
5758
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5759
|
+
id: z.ZodString;
|
|
5760
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5761
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5762
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5763
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5764
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
5765
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
5766
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
5767
|
+
}, z.core.$loose>>>>;
|
|
5768
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5769
|
+
id: z.ZodString;
|
|
5770
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5771
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5772
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5773
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5774
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
5775
|
+
}, z.core.$loose>>>>;
|
|
5776
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5777
|
+
id: z.ZodString;
|
|
5778
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5779
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5780
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
5781
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5782
|
+
route: z.ZodOptional<z.ZodString>;
|
|
5783
|
+
}, z.core.$loose>>>>;
|
|
5784
|
+
}, z.core.$strip>>;
|
|
5785
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
5786
|
+
|
|
5667
5787
|
/**
|
|
5668
5788
|
* A single CRM activity entry (note, stage change, or deal creation).
|
|
5669
5789
|
* Matches the CrmActivityEntry interface from useRecentCrmActivity.ts.
|
|
@@ -8929,6 +9049,10 @@ declare const ContentNodeSchema: z.ZodObject<{
|
|
|
8929
9049
|
}, z.core.$strip>;
|
|
8930
9050
|
type ContentNode = z.infer<typeof ContentNodeSchema>;
|
|
8931
9051
|
|
|
9052
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
9053
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
9054
|
+
[key: string]: JsonValue;
|
|
9055
|
+
};
|
|
8932
9056
|
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
8933
9057
|
interface SystemEntry {
|
|
8934
9058
|
id: string;
|
|
@@ -8963,10 +9087,16 @@ interface SystemEntry {
|
|
|
8963
9087
|
devOnly?: boolean;
|
|
8964
9088
|
requiresAdmin?: boolean;
|
|
8965
9089
|
order: number;
|
|
9090
|
+
config?: Record<string, JsonValue>;
|
|
9091
|
+
ontology?: OntologyScope;
|
|
9092
|
+
systems?: Record<string, SystemEntry>;
|
|
9093
|
+
/**
|
|
9094
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
9095
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
9096
|
+
*/
|
|
8966
9097
|
content?: Record<string, ContentNode>;
|
|
8967
9098
|
subsystems?: Record<string, SystemEntry>;
|
|
8968
9099
|
}
|
|
8969
|
-
declare const SystemsDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>;
|
|
8970
9100
|
|
|
8971
9101
|
/**
|
|
8972
9102
|
* Resource Registry type definitions
|
|
@@ -9267,28 +9397,962 @@ interface HumanCheckpointDefinition extends ResourceDefinition {
|
|
|
9267
9397
|
};
|
|
9268
9398
|
}
|
|
9269
9399
|
|
|
9270
|
-
|
|
9271
|
-
|
|
9400
|
+
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
9401
|
+
dashboard: "dashboard";
|
|
9402
|
+
settings: "settings";
|
|
9403
|
+
graph: "graph";
|
|
9404
|
+
list: "list";
|
|
9405
|
+
page: "page";
|
|
9406
|
+
detail: "detail";
|
|
9407
|
+
}>;
|
|
9408
|
+
interface SidebarSurfaceNode {
|
|
9409
|
+
type: 'surface';
|
|
9410
|
+
label: string;
|
|
9411
|
+
path: string;
|
|
9412
|
+
surfaceType: z.infer<typeof SurfaceTypeSchema>;
|
|
9413
|
+
description?: string;
|
|
9414
|
+
icon?: string;
|
|
9415
|
+
order?: number;
|
|
9416
|
+
targets?: {
|
|
9417
|
+
systems?: string[];
|
|
9418
|
+
entities?: string[];
|
|
9419
|
+
resources?: string[];
|
|
9420
|
+
actions?: string[];
|
|
9421
|
+
};
|
|
9422
|
+
devOnly?: boolean;
|
|
9423
|
+
requiresAdmin?: boolean;
|
|
9424
|
+
}
|
|
9425
|
+
interface SidebarGroupNode {
|
|
9426
|
+
type: 'group';
|
|
9427
|
+
label: string;
|
|
9428
|
+
description?: string;
|
|
9429
|
+
icon?: string;
|
|
9430
|
+
order?: number;
|
|
9431
|
+
children: Record<string, SidebarNode>;
|
|
9432
|
+
}
|
|
9433
|
+
type SidebarNode = SidebarSurfaceNode | SidebarGroupNode;
|
|
9272
9434
|
|
|
9273
9435
|
declare const LinkSchema: z.ZodObject<{
|
|
9274
9436
|
nodeId: z.ZodString;
|
|
9275
9437
|
kind: z.ZodEnum<{
|
|
9276
9438
|
links: "links";
|
|
9277
9439
|
affects: "affects";
|
|
9440
|
+
effects: "effects";
|
|
9441
|
+
actions: "actions";
|
|
9442
|
+
reads: "reads";
|
|
9443
|
+
writes: "writes";
|
|
9278
9444
|
emits: "emits";
|
|
9445
|
+
triggers: "triggers";
|
|
9446
|
+
uses: "uses";
|
|
9447
|
+
approval: "approval";
|
|
9279
9448
|
contains: "contains";
|
|
9280
9449
|
references: "references";
|
|
9281
9450
|
maps_to: "maps_to";
|
|
9282
|
-
uses: "uses";
|
|
9283
9451
|
governs: "governs";
|
|
9284
9452
|
originates_from: "originates_from";
|
|
9285
|
-
triggers: "triggers";
|
|
9286
9453
|
applies_to: "applies_to";
|
|
9287
|
-
|
|
9454
|
+
uses_catalog: "uses_catalog";
|
|
9288
9455
|
}>;
|
|
9289
9456
|
}, z.core.$strip>;
|
|
9290
9457
|
type Link = z.infer<typeof LinkSchema>;
|
|
9291
9458
|
|
|
9459
|
+
declare const OrganizationModelSchema: z.ZodObject<{
|
|
9460
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9461
|
+
domainMetadata: z.ZodPipe<z.ZodDefault<z.ZodObject<{
|
|
9462
|
+
branding: z.ZodOptional<z.ZodObject<{
|
|
9463
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9464
|
+
lastModified: z.ZodString;
|
|
9465
|
+
}, z.core.$strip>>;
|
|
9466
|
+
identity: z.ZodOptional<z.ZodObject<{
|
|
9467
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9468
|
+
lastModified: z.ZodString;
|
|
9469
|
+
}, z.core.$strip>>;
|
|
9470
|
+
customers: z.ZodOptional<z.ZodObject<{
|
|
9471
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9472
|
+
lastModified: z.ZodString;
|
|
9473
|
+
}, z.core.$strip>>;
|
|
9474
|
+
offerings: z.ZodOptional<z.ZodObject<{
|
|
9475
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9476
|
+
lastModified: z.ZodString;
|
|
9477
|
+
}, z.core.$strip>>;
|
|
9478
|
+
roles: z.ZodOptional<z.ZodObject<{
|
|
9479
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9480
|
+
lastModified: z.ZodString;
|
|
9481
|
+
}, z.core.$strip>>;
|
|
9482
|
+
goals: z.ZodOptional<z.ZodObject<{
|
|
9483
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9484
|
+
lastModified: z.ZodString;
|
|
9485
|
+
}, z.core.$strip>>;
|
|
9486
|
+
systems: z.ZodOptional<z.ZodObject<{
|
|
9487
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9488
|
+
lastModified: z.ZodString;
|
|
9489
|
+
}, z.core.$strip>>;
|
|
9490
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
9491
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9492
|
+
lastModified: z.ZodString;
|
|
9493
|
+
}, z.core.$strip>>;
|
|
9494
|
+
resources: z.ZodOptional<z.ZodObject<{
|
|
9495
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9496
|
+
lastModified: z.ZodString;
|
|
9497
|
+
}, z.core.$strip>>;
|
|
9498
|
+
topology: z.ZodOptional<z.ZodObject<{
|
|
9499
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9500
|
+
lastModified: z.ZodString;
|
|
9501
|
+
}, z.core.$strip>>;
|
|
9502
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
9503
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9504
|
+
lastModified: z.ZodString;
|
|
9505
|
+
}, z.core.$strip>>;
|
|
9506
|
+
entities: z.ZodOptional<z.ZodObject<{
|
|
9507
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9508
|
+
lastModified: z.ZodString;
|
|
9509
|
+
}, z.core.$strip>>;
|
|
9510
|
+
policies: z.ZodOptional<z.ZodObject<{
|
|
9511
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9512
|
+
lastModified: z.ZodString;
|
|
9513
|
+
}, z.core.$strip>>;
|
|
9514
|
+
knowledge: z.ZodOptional<z.ZodObject<{
|
|
9515
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
9516
|
+
lastModified: z.ZodString;
|
|
9517
|
+
}, z.core.$strip>>;
|
|
9518
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
9519
|
+
branding: {
|
|
9520
|
+
version: 1;
|
|
9521
|
+
lastModified: string;
|
|
9522
|
+
};
|
|
9523
|
+
identity: {
|
|
9524
|
+
version: 1;
|
|
9525
|
+
lastModified: string;
|
|
9526
|
+
};
|
|
9527
|
+
customers: {
|
|
9528
|
+
version: 1;
|
|
9529
|
+
lastModified: string;
|
|
9530
|
+
};
|
|
9531
|
+
offerings: {
|
|
9532
|
+
version: 1;
|
|
9533
|
+
lastModified: string;
|
|
9534
|
+
};
|
|
9535
|
+
roles: {
|
|
9536
|
+
version: 1;
|
|
9537
|
+
lastModified: string;
|
|
9538
|
+
};
|
|
9539
|
+
goals: {
|
|
9540
|
+
version: 1;
|
|
9541
|
+
lastModified: string;
|
|
9542
|
+
};
|
|
9543
|
+
systems: {
|
|
9544
|
+
version: 1;
|
|
9545
|
+
lastModified: string;
|
|
9546
|
+
};
|
|
9547
|
+
ontology: {
|
|
9548
|
+
version: 1;
|
|
9549
|
+
lastModified: string;
|
|
9550
|
+
};
|
|
9551
|
+
resources: {
|
|
9552
|
+
version: 1;
|
|
9553
|
+
lastModified: string;
|
|
9554
|
+
};
|
|
9555
|
+
topology: {
|
|
9556
|
+
version: 1;
|
|
9557
|
+
lastModified: string;
|
|
9558
|
+
};
|
|
9559
|
+
actions: {
|
|
9560
|
+
version: 1;
|
|
9561
|
+
lastModified: string;
|
|
9562
|
+
};
|
|
9563
|
+
entities: {
|
|
9564
|
+
version: 1;
|
|
9565
|
+
lastModified: string;
|
|
9566
|
+
};
|
|
9567
|
+
policies: {
|
|
9568
|
+
version: 1;
|
|
9569
|
+
lastModified: string;
|
|
9570
|
+
};
|
|
9571
|
+
knowledge: {
|
|
9572
|
+
version: 1;
|
|
9573
|
+
lastModified: string;
|
|
9574
|
+
};
|
|
9575
|
+
}, {
|
|
9576
|
+
branding?: {
|
|
9577
|
+
version: 1;
|
|
9578
|
+
lastModified: string;
|
|
9579
|
+
} | undefined;
|
|
9580
|
+
identity?: {
|
|
9581
|
+
version: 1;
|
|
9582
|
+
lastModified: string;
|
|
9583
|
+
} | undefined;
|
|
9584
|
+
customers?: {
|
|
9585
|
+
version: 1;
|
|
9586
|
+
lastModified: string;
|
|
9587
|
+
} | undefined;
|
|
9588
|
+
offerings?: {
|
|
9589
|
+
version: 1;
|
|
9590
|
+
lastModified: string;
|
|
9591
|
+
} | undefined;
|
|
9592
|
+
roles?: {
|
|
9593
|
+
version: 1;
|
|
9594
|
+
lastModified: string;
|
|
9595
|
+
} | undefined;
|
|
9596
|
+
goals?: {
|
|
9597
|
+
version: 1;
|
|
9598
|
+
lastModified: string;
|
|
9599
|
+
} | undefined;
|
|
9600
|
+
systems?: {
|
|
9601
|
+
version: 1;
|
|
9602
|
+
lastModified: string;
|
|
9603
|
+
} | undefined;
|
|
9604
|
+
ontology?: {
|
|
9605
|
+
version: 1;
|
|
9606
|
+
lastModified: string;
|
|
9607
|
+
} | undefined;
|
|
9608
|
+
resources?: {
|
|
9609
|
+
version: 1;
|
|
9610
|
+
lastModified: string;
|
|
9611
|
+
} | undefined;
|
|
9612
|
+
topology?: {
|
|
9613
|
+
version: 1;
|
|
9614
|
+
lastModified: string;
|
|
9615
|
+
} | undefined;
|
|
9616
|
+
actions?: {
|
|
9617
|
+
version: 1;
|
|
9618
|
+
lastModified: string;
|
|
9619
|
+
} | undefined;
|
|
9620
|
+
entities?: {
|
|
9621
|
+
version: 1;
|
|
9622
|
+
lastModified: string;
|
|
9623
|
+
} | undefined;
|
|
9624
|
+
policies?: {
|
|
9625
|
+
version: 1;
|
|
9626
|
+
lastModified: string;
|
|
9627
|
+
} | undefined;
|
|
9628
|
+
knowledge?: {
|
|
9629
|
+
version: 1;
|
|
9630
|
+
lastModified: string;
|
|
9631
|
+
} | undefined;
|
|
9632
|
+
}>>;
|
|
9633
|
+
branding: z.ZodObject<{
|
|
9634
|
+
organizationName: z.ZodString;
|
|
9635
|
+
productName: z.ZodString;
|
|
9636
|
+
shortName: z.ZodString;
|
|
9637
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9638
|
+
logos: z.ZodDefault<z.ZodObject<{
|
|
9639
|
+
light: z.ZodOptional<z.ZodString>;
|
|
9640
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
9641
|
+
}, z.core.$strip>>;
|
|
9642
|
+
}, z.core.$strip>;
|
|
9643
|
+
navigation: z.ZodDefault<z.ZodObject<{
|
|
9644
|
+
sidebar: z.ZodDefault<z.ZodObject<{
|
|
9645
|
+
primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
9646
|
+
bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
|
|
9647
|
+
}, z.core.$strip>>;
|
|
9648
|
+
}, z.core.$strip>>;
|
|
9649
|
+
identity: z.ZodDefault<z.ZodObject<{
|
|
9650
|
+
mission: z.ZodDefault<z.ZodString>;
|
|
9651
|
+
vision: z.ZodDefault<z.ZodString>;
|
|
9652
|
+
legalName: z.ZodDefault<z.ZodString>;
|
|
9653
|
+
entityType: z.ZodDefault<z.ZodString>;
|
|
9654
|
+
jurisdiction: z.ZodDefault<z.ZodString>;
|
|
9655
|
+
industryCategory: z.ZodDefault<z.ZodString>;
|
|
9656
|
+
geographicFocus: z.ZodDefault<z.ZodString>;
|
|
9657
|
+
timeZone: z.ZodDefault<z.ZodString>;
|
|
9658
|
+
businessHours: z.ZodDefault<z.ZodObject<{
|
|
9659
|
+
monday: z.ZodOptional<z.ZodObject<{
|
|
9660
|
+
open: z.ZodString;
|
|
9661
|
+
close: z.ZodString;
|
|
9662
|
+
}, z.core.$strip>>;
|
|
9663
|
+
tuesday: z.ZodOptional<z.ZodObject<{
|
|
9664
|
+
open: z.ZodString;
|
|
9665
|
+
close: z.ZodString;
|
|
9666
|
+
}, z.core.$strip>>;
|
|
9667
|
+
wednesday: z.ZodOptional<z.ZodObject<{
|
|
9668
|
+
open: z.ZodString;
|
|
9669
|
+
close: z.ZodString;
|
|
9670
|
+
}, z.core.$strip>>;
|
|
9671
|
+
thursday: z.ZodOptional<z.ZodObject<{
|
|
9672
|
+
open: z.ZodString;
|
|
9673
|
+
close: z.ZodString;
|
|
9674
|
+
}, z.core.$strip>>;
|
|
9675
|
+
friday: z.ZodOptional<z.ZodObject<{
|
|
9676
|
+
open: z.ZodString;
|
|
9677
|
+
close: z.ZodString;
|
|
9678
|
+
}, z.core.$strip>>;
|
|
9679
|
+
saturday: z.ZodOptional<z.ZodObject<{
|
|
9680
|
+
open: z.ZodString;
|
|
9681
|
+
close: z.ZodString;
|
|
9682
|
+
}, z.core.$strip>>;
|
|
9683
|
+
sunday: z.ZodOptional<z.ZodObject<{
|
|
9684
|
+
open: z.ZodString;
|
|
9685
|
+
close: z.ZodString;
|
|
9686
|
+
}, z.core.$strip>>;
|
|
9687
|
+
}, z.core.$strip>>;
|
|
9688
|
+
clientBrief: z.ZodDefault<z.ZodString>;
|
|
9689
|
+
}, z.core.$strip>>;
|
|
9690
|
+
customers: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9691
|
+
id: z.ZodString;
|
|
9692
|
+
order: z.ZodNumber;
|
|
9693
|
+
name: z.ZodDefault<z.ZodString>;
|
|
9694
|
+
description: z.ZodDefault<z.ZodString>;
|
|
9695
|
+
jobsToBeDone: z.ZodDefault<z.ZodString>;
|
|
9696
|
+
pains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9697
|
+
gains: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9698
|
+
firmographics: z.ZodDefault<z.ZodObject<{
|
|
9699
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
9700
|
+
companySize: z.ZodOptional<z.ZodString>;
|
|
9701
|
+
region: z.ZodOptional<z.ZodString>;
|
|
9702
|
+
}, z.core.$strip>>;
|
|
9703
|
+
valueProp: z.ZodDefault<z.ZodString>;
|
|
9704
|
+
}, z.core.$strip>>>>;
|
|
9705
|
+
offerings: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9706
|
+
id: z.ZodString;
|
|
9707
|
+
order: z.ZodNumber;
|
|
9708
|
+
name: z.ZodDefault<z.ZodString>;
|
|
9709
|
+
description: z.ZodDefault<z.ZodString>;
|
|
9710
|
+
pricingModel: z.ZodDefault<z.ZodEnum<{
|
|
9711
|
+
custom: "custom";
|
|
9712
|
+
"one-time": "one-time";
|
|
9713
|
+
subscription: "subscription";
|
|
9714
|
+
"usage-based": "usage-based";
|
|
9715
|
+
}>>;
|
|
9716
|
+
price: z.ZodDefault<z.ZodNumber>;
|
|
9717
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
9718
|
+
targetSegmentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9719
|
+
deliveryFeatureId: z.ZodOptional<z.ZodString>;
|
|
9720
|
+
}, z.core.$strip>>>>;
|
|
9721
|
+
roles: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9722
|
+
id: z.ZodString;
|
|
9723
|
+
order: z.ZodNumber;
|
|
9724
|
+
title: z.ZodString;
|
|
9725
|
+
responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9726
|
+
reportsToId: z.ZodOptional<z.ZodString>;
|
|
9727
|
+
heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9728
|
+
kind: z.ZodLiteral<"human">;
|
|
9729
|
+
userId: z.ZodString;
|
|
9730
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9731
|
+
kind: z.ZodLiteral<"agent">;
|
|
9732
|
+
agentId: z.ZodString;
|
|
9733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9734
|
+
kind: z.ZodLiteral<"team">;
|
|
9735
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
9736
|
+
}, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9737
|
+
kind: z.ZodLiteral<"human">;
|
|
9738
|
+
userId: z.ZodString;
|
|
9739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9740
|
+
kind: z.ZodLiteral<"agent">;
|
|
9741
|
+
agentId: z.ZodString;
|
|
9742
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9743
|
+
kind: z.ZodLiteral<"team">;
|
|
9744
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
9745
|
+
}, z.core.$strip>], "kind">>]>>;
|
|
9746
|
+
responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9747
|
+
}, z.core.$strip>>>>;
|
|
9748
|
+
goals: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9749
|
+
id: z.ZodString;
|
|
9750
|
+
order: z.ZodNumber;
|
|
9751
|
+
description: z.ZodString;
|
|
9752
|
+
periodStart: z.ZodString;
|
|
9753
|
+
periodEnd: z.ZodString;
|
|
9754
|
+
keyResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9755
|
+
id: z.ZodString;
|
|
9756
|
+
description: z.ZodString;
|
|
9757
|
+
targetMetric: z.ZodString;
|
|
9758
|
+
currentValue: z.ZodDefault<z.ZodNumber>;
|
|
9759
|
+
targetValue: z.ZodOptional<z.ZodNumber>;
|
|
9760
|
+
}, z.core.$strip>>>;
|
|
9761
|
+
}, z.core.$strip>>>>;
|
|
9762
|
+
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
9763
|
+
ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
9764
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9765
|
+
id: z.ZodString;
|
|
9766
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9767
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9768
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9769
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9770
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9771
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9772
|
+
}, z.core.$loose>>>>;
|
|
9773
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9774
|
+
id: z.ZodString;
|
|
9775
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9776
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9777
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9778
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9779
|
+
from: z.ZodString;
|
|
9780
|
+
to: z.ZodString;
|
|
9781
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
9782
|
+
via: z.ZodOptional<z.ZodString>;
|
|
9783
|
+
}, z.core.$loose>>>>;
|
|
9784
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9785
|
+
id: z.ZodString;
|
|
9786
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9787
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9788
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9789
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9790
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
9791
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9792
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
9793
|
+
}, z.core.$loose>>>>;
|
|
9794
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9795
|
+
id: z.ZodString;
|
|
9796
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9797
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9798
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9799
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9800
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
9801
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
9802
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9803
|
+
}, z.core.$loose>>>>;
|
|
9804
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9805
|
+
id: z.ZodString;
|
|
9806
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9807
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9808
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9809
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9810
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9811
|
+
}, z.core.$loose>>>>;
|
|
9812
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9813
|
+
id: z.ZodString;
|
|
9814
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9815
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9816
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9817
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9818
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9819
|
+
}, z.core.$loose>>>>;
|
|
9820
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9821
|
+
id: z.ZodString;
|
|
9822
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9823
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9824
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9825
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9826
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
9827
|
+
}, z.core.$loose>>>>;
|
|
9828
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9829
|
+
id: z.ZodString;
|
|
9830
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9831
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9832
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9833
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9834
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
9835
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
9836
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
9837
|
+
}, z.core.$loose>>>>;
|
|
9838
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9839
|
+
id: z.ZodString;
|
|
9840
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9841
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9842
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9843
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9844
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
9845
|
+
}, z.core.$loose>>>>;
|
|
9846
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9847
|
+
id: z.ZodString;
|
|
9848
|
+
label: z.ZodOptional<z.ZodString>;
|
|
9849
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9850
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
9851
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9852
|
+
route: z.ZodOptional<z.ZodString>;
|
|
9853
|
+
}, z.core.$loose>>>>;
|
|
9854
|
+
}, z.core.$strip>>>;
|
|
9855
|
+
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9856
|
+
id: z.ZodString;
|
|
9857
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
9858
|
+
systemPath: z.ZodString;
|
|
9859
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9860
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9861
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
9862
|
+
status: z.ZodEnum<{
|
|
9863
|
+
deprecated: "deprecated";
|
|
9864
|
+
active: "active";
|
|
9865
|
+
archived: "archived";
|
|
9866
|
+
}>;
|
|
9867
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
9868
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9869
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
9870
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9871
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9872
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9873
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9874
|
+
}, z.core.$strip>>;
|
|
9875
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9876
|
+
path: z.ZodString;
|
|
9877
|
+
role: z.ZodEnum<{
|
|
9878
|
+
schema: "schema";
|
|
9879
|
+
config: "config";
|
|
9880
|
+
entrypoint: "entrypoint";
|
|
9881
|
+
handler: "handler";
|
|
9882
|
+
test: "test";
|
|
9883
|
+
docs: "docs";
|
|
9884
|
+
}>;
|
|
9885
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
9886
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9887
|
+
}, z.core.$strip>>>;
|
|
9888
|
+
kind: z.ZodLiteral<"workflow">;
|
|
9889
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9890
|
+
eventKey: z.ZodString;
|
|
9891
|
+
label: z.ZodString;
|
|
9892
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
9893
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
9894
|
+
deprecated: "deprecated";
|
|
9895
|
+
draft: "draft";
|
|
9896
|
+
beta: "beta";
|
|
9897
|
+
active: "active";
|
|
9898
|
+
archived: "archived";
|
|
9899
|
+
}>>;
|
|
9900
|
+
}, z.core.$strip>>>;
|
|
9901
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9902
|
+
id: z.ZodString;
|
|
9903
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
9904
|
+
systemPath: z.ZodString;
|
|
9905
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9906
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9907
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
9908
|
+
status: z.ZodEnum<{
|
|
9909
|
+
deprecated: "deprecated";
|
|
9910
|
+
active: "active";
|
|
9911
|
+
archived: "archived";
|
|
9912
|
+
}>;
|
|
9913
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
9914
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9915
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
9916
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9917
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9918
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9919
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9920
|
+
}, z.core.$strip>>;
|
|
9921
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9922
|
+
path: z.ZodString;
|
|
9923
|
+
role: z.ZodEnum<{
|
|
9924
|
+
schema: "schema";
|
|
9925
|
+
config: "config";
|
|
9926
|
+
entrypoint: "entrypoint";
|
|
9927
|
+
handler: "handler";
|
|
9928
|
+
test: "test";
|
|
9929
|
+
docs: "docs";
|
|
9930
|
+
}>;
|
|
9931
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
9932
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9933
|
+
}, z.core.$strip>>>;
|
|
9934
|
+
kind: z.ZodLiteral<"agent">;
|
|
9935
|
+
agentKind: z.ZodEnum<{
|
|
9936
|
+
platform: "platform";
|
|
9937
|
+
orchestrator: "orchestrator";
|
|
9938
|
+
specialist: "specialist";
|
|
9939
|
+
utility: "utility";
|
|
9940
|
+
}>;
|
|
9941
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
9942
|
+
sessionCapable: z.ZodBoolean;
|
|
9943
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9944
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
9945
|
+
command: z.ZodString;
|
|
9946
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
9947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9948
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
9949
|
+
server: z.ZodString;
|
|
9950
|
+
name: z.ZodString;
|
|
9951
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9952
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
9953
|
+
method: z.ZodEnum<{
|
|
9954
|
+
GET: "GET";
|
|
9955
|
+
POST: "POST";
|
|
9956
|
+
PATCH: "PATCH";
|
|
9957
|
+
DELETE: "DELETE";
|
|
9958
|
+
}>;
|
|
9959
|
+
path: z.ZodString;
|
|
9960
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
9961
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
9962
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9963
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
9964
|
+
resourceId: z.ZodString;
|
|
9965
|
+
}, z.core.$strip>], "kind">>>;
|
|
9966
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9967
|
+
eventKey: z.ZodString;
|
|
9968
|
+
label: z.ZodString;
|
|
9969
|
+
payloadSchema: z.ZodOptional<z.ZodString>;
|
|
9970
|
+
lifecycle: z.ZodOptional<z.ZodEnum<{
|
|
9971
|
+
deprecated: "deprecated";
|
|
9972
|
+
draft: "draft";
|
|
9973
|
+
beta: "beta";
|
|
9974
|
+
active: "active";
|
|
9975
|
+
archived: "archived";
|
|
9976
|
+
}>>;
|
|
9977
|
+
}, z.core.$strip>>>;
|
|
9978
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9979
|
+
id: z.ZodString;
|
|
9980
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
9981
|
+
systemPath: z.ZodString;
|
|
9982
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9983
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9984
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
9985
|
+
status: z.ZodEnum<{
|
|
9986
|
+
deprecated: "deprecated";
|
|
9987
|
+
active: "active";
|
|
9988
|
+
archived: "archived";
|
|
9989
|
+
}>;
|
|
9990
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
9991
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9992
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
9993
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9994
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9995
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9996
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9997
|
+
}, z.core.$strip>>;
|
|
9998
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
9999
|
+
path: z.ZodString;
|
|
10000
|
+
role: z.ZodEnum<{
|
|
10001
|
+
schema: "schema";
|
|
10002
|
+
config: "config";
|
|
10003
|
+
entrypoint: "entrypoint";
|
|
10004
|
+
handler: "handler";
|
|
10005
|
+
test: "test";
|
|
10006
|
+
docs: "docs";
|
|
10007
|
+
}>;
|
|
10008
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
10009
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10010
|
+
}, z.core.$strip>>>;
|
|
10011
|
+
kind: z.ZodLiteral<"integration">;
|
|
10012
|
+
provider: z.ZodString;
|
|
10013
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10014
|
+
id: z.ZodString;
|
|
10015
|
+
order: z.ZodDefault<z.ZodNumber>;
|
|
10016
|
+
systemPath: z.ZodString;
|
|
10017
|
+
title: z.ZodOptional<z.ZodString>;
|
|
10018
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10019
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
10020
|
+
status: z.ZodEnum<{
|
|
10021
|
+
deprecated: "deprecated";
|
|
10022
|
+
active: "active";
|
|
10023
|
+
archived: "archived";
|
|
10024
|
+
}>;
|
|
10025
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
10026
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10027
|
+
primaryAction: z.ZodOptional<z.ZodString>;
|
|
10028
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10029
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10030
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10031
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10032
|
+
}, z.core.$strip>>;
|
|
10033
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10034
|
+
path: z.ZodString;
|
|
10035
|
+
role: z.ZodEnum<{
|
|
10036
|
+
schema: "schema";
|
|
10037
|
+
config: "config";
|
|
10038
|
+
entrypoint: "entrypoint";
|
|
10039
|
+
handler: "handler";
|
|
10040
|
+
test: "test";
|
|
10041
|
+
docs: "docs";
|
|
10042
|
+
}>;
|
|
10043
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
10044
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10045
|
+
}, z.core.$strip>>>;
|
|
10046
|
+
kind: z.ZodLiteral<"script">;
|
|
10047
|
+
language: z.ZodEnum<{
|
|
10048
|
+
shell: "shell";
|
|
10049
|
+
sql: "sql";
|
|
10050
|
+
typescript: "typescript";
|
|
10051
|
+
python: "python";
|
|
10052
|
+
}>;
|
|
10053
|
+
source: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10054
|
+
file: z.ZodString;
|
|
10055
|
+
}, z.core.$strip>]>;
|
|
10056
|
+
}, z.core.$strip>], "kind">>>>;
|
|
10057
|
+
topology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
10058
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
10059
|
+
relationships: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10060
|
+
from: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10061
|
+
kind: z.ZodLiteral<"system">;
|
|
10062
|
+
id: z.ZodString;
|
|
10063
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10064
|
+
kind: z.ZodLiteral<"resource">;
|
|
10065
|
+
id: z.ZodString;
|
|
10066
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10067
|
+
kind: z.ZodLiteral<"ontology">;
|
|
10068
|
+
id: z.ZodString;
|
|
10069
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10070
|
+
kind: z.ZodLiteral<"policy">;
|
|
10071
|
+
id: z.ZodString;
|
|
10072
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10073
|
+
kind: z.ZodLiteral<"role">;
|
|
10074
|
+
id: z.ZodString;
|
|
10075
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10076
|
+
kind: z.ZodLiteral<"trigger">;
|
|
10077
|
+
id: z.ZodString;
|
|
10078
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10079
|
+
kind: z.ZodLiteral<"humanCheckpoint">;
|
|
10080
|
+
id: z.ZodString;
|
|
10081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10082
|
+
kind: z.ZodLiteral<"externalResource">;
|
|
10083
|
+
id: z.ZodString;
|
|
10084
|
+
}, z.core.$strip>], "kind">;
|
|
10085
|
+
kind: z.ZodEnum<{
|
|
10086
|
+
triggers: "triggers";
|
|
10087
|
+
uses: "uses";
|
|
10088
|
+
approval: "approval";
|
|
10089
|
+
}>;
|
|
10090
|
+
to: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10091
|
+
kind: z.ZodLiteral<"system">;
|
|
10092
|
+
id: z.ZodString;
|
|
10093
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10094
|
+
kind: z.ZodLiteral<"resource">;
|
|
10095
|
+
id: z.ZodString;
|
|
10096
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10097
|
+
kind: z.ZodLiteral<"ontology">;
|
|
10098
|
+
id: z.ZodString;
|
|
10099
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10100
|
+
kind: z.ZodLiteral<"policy">;
|
|
10101
|
+
id: z.ZodString;
|
|
10102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10103
|
+
kind: z.ZodLiteral<"role">;
|
|
10104
|
+
id: z.ZodString;
|
|
10105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10106
|
+
kind: z.ZodLiteral<"trigger">;
|
|
10107
|
+
id: z.ZodString;
|
|
10108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10109
|
+
kind: z.ZodLiteral<"humanCheckpoint">;
|
|
10110
|
+
id: z.ZodString;
|
|
10111
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10112
|
+
kind: z.ZodLiteral<"externalResource">;
|
|
10113
|
+
id: z.ZodString;
|
|
10114
|
+
}, z.core.$strip>], "kind">;
|
|
10115
|
+
systemPath: z.ZodOptional<z.ZodString>;
|
|
10116
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
10117
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>>>;
|
|
10118
|
+
}, z.core.$strip>>>;
|
|
10119
|
+
}, z.core.$strip>>>;
|
|
10120
|
+
actions: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10121
|
+
id: z.ZodString;
|
|
10122
|
+
order: z.ZodNumber;
|
|
10123
|
+
label: z.ZodString;
|
|
10124
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10125
|
+
scope: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"global">, z.ZodObject<{
|
|
10126
|
+
domain: z.ZodString;
|
|
10127
|
+
}, z.core.$strip>]>>;
|
|
10128
|
+
resourceId: z.ZodOptional<z.ZodString>;
|
|
10129
|
+
affects: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10130
|
+
invocations: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10131
|
+
kind: z.ZodLiteral<"slash-command">;
|
|
10132
|
+
command: z.ZodString;
|
|
10133
|
+
toolFactory: z.ZodOptional<z.ZodString>;
|
|
10134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10135
|
+
kind: z.ZodLiteral<"mcp-tool">;
|
|
10136
|
+
server: z.ZodString;
|
|
10137
|
+
name: z.ZodString;
|
|
10138
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10139
|
+
kind: z.ZodLiteral<"api-endpoint">;
|
|
10140
|
+
method: z.ZodEnum<{
|
|
10141
|
+
GET: "GET";
|
|
10142
|
+
POST: "POST";
|
|
10143
|
+
PATCH: "PATCH";
|
|
10144
|
+
DELETE: "DELETE";
|
|
10145
|
+
}>;
|
|
10146
|
+
path: z.ZodString;
|
|
10147
|
+
requestSchema: z.ZodOptional<z.ZodString>;
|
|
10148
|
+
responseSchema: z.ZodOptional<z.ZodString>;
|
|
10149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10150
|
+
kind: z.ZodLiteral<"script-execution">;
|
|
10151
|
+
resourceId: z.ZodString;
|
|
10152
|
+
}, z.core.$strip>], "kind">>>;
|
|
10153
|
+
knowledge: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
10154
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
10155
|
+
deprecated: "deprecated";
|
|
10156
|
+
draft: "draft";
|
|
10157
|
+
beta: "beta";
|
|
10158
|
+
active: "active";
|
|
10159
|
+
archived: "archived";
|
|
10160
|
+
}>>;
|
|
10161
|
+
}, z.core.$strip>>>>;
|
|
10162
|
+
entities: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10163
|
+
id: z.ZodString;
|
|
10164
|
+
order: z.ZodNumber;
|
|
10165
|
+
label: z.ZodString;
|
|
10166
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10167
|
+
ownedBySystemId: z.ZodString;
|
|
10168
|
+
table: z.ZodOptional<z.ZodString>;
|
|
10169
|
+
rowSchema: z.ZodOptional<z.ZodString>;
|
|
10170
|
+
stateCatalogId: z.ZodOptional<z.ZodString>;
|
|
10171
|
+
links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10172
|
+
toEntity: z.ZodString;
|
|
10173
|
+
kind: z.ZodEnum<{
|
|
10174
|
+
"belongs-to": "belongs-to";
|
|
10175
|
+
"has-many": "has-many";
|
|
10176
|
+
"has-one": "has-one";
|
|
10177
|
+
"many-to-many": "many-to-many";
|
|
10178
|
+
}>;
|
|
10179
|
+
via: z.ZodOptional<z.ZodString>;
|
|
10180
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10181
|
+
}, z.core.$strip>>>;
|
|
10182
|
+
}, z.core.$strip>>>>;
|
|
10183
|
+
policies: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10184
|
+
id: z.ZodString;
|
|
10185
|
+
order: z.ZodNumber;
|
|
10186
|
+
label: z.ZodString;
|
|
10187
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10188
|
+
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10189
|
+
kind: z.ZodLiteral<"event">;
|
|
10190
|
+
eventId: z.ZodString;
|
|
10191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10192
|
+
kind: z.ZodLiteral<"action-invocation">;
|
|
10193
|
+
actionId: z.ZodString;
|
|
10194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10195
|
+
kind: z.ZodLiteral<"schedule">;
|
|
10196
|
+
cron: z.ZodString;
|
|
10197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10198
|
+
kind: z.ZodLiteral<"manual">;
|
|
10199
|
+
}, z.core.$strip>], "kind">;
|
|
10200
|
+
predicate: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10201
|
+
kind: z.ZodLiteral<"always">;
|
|
10202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10203
|
+
kind: z.ZodLiteral<"expression">;
|
|
10204
|
+
expression: z.ZodString;
|
|
10205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10206
|
+
kind: z.ZodLiteral<"threshold">;
|
|
10207
|
+
metric: z.ZodString;
|
|
10208
|
+
operator: z.ZodEnum<{
|
|
10209
|
+
lt: "lt";
|
|
10210
|
+
lte: "lte";
|
|
10211
|
+
eq: "eq";
|
|
10212
|
+
gte: "gte";
|
|
10213
|
+
gt: "gt";
|
|
10214
|
+
}>;
|
|
10215
|
+
value: z.ZodNumber;
|
|
10216
|
+
}, z.core.$strip>], "kind">>;
|
|
10217
|
+
actions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10218
|
+
kind: z.ZodLiteral<"require-approval">;
|
|
10219
|
+
roleId: z.ZodOptional<z.ZodString>;
|
|
10220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10221
|
+
kind: z.ZodLiteral<"invoke-action">;
|
|
10222
|
+
actionId: z.ZodString;
|
|
10223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10224
|
+
kind: z.ZodLiteral<"notify-role">;
|
|
10225
|
+
roleId: z.ZodString;
|
|
10226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10227
|
+
kind: z.ZodLiteral<"block">;
|
|
10228
|
+
}, z.core.$strip>], "kind">>;
|
|
10229
|
+
appliesTo: z.ZodDefault<z.ZodObject<{
|
|
10230
|
+
systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10231
|
+
actionIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10232
|
+
resourceIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10233
|
+
roleIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10234
|
+
}, z.core.$strip>>;
|
|
10235
|
+
lifecycle: z.ZodDefault<z.ZodEnum<{
|
|
10236
|
+
deprecated: "deprecated";
|
|
10237
|
+
draft: "draft";
|
|
10238
|
+
beta: "beta";
|
|
10239
|
+
active: "active";
|
|
10240
|
+
archived: "archived";
|
|
10241
|
+
}>>;
|
|
10242
|
+
}, z.core.$strip>>>>;
|
|
10243
|
+
knowledge: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10244
|
+
id: z.ZodString;
|
|
10245
|
+
kind: z.ZodEnum<{
|
|
10246
|
+
playbook: "playbook";
|
|
10247
|
+
strategy: "strategy";
|
|
10248
|
+
reference: "reference";
|
|
10249
|
+
}>;
|
|
10250
|
+
title: z.ZodString;
|
|
10251
|
+
summary: z.ZodString;
|
|
10252
|
+
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
10253
|
+
message: "message";
|
|
10254
|
+
error: "error";
|
|
10255
|
+
agent: "agent";
|
|
10256
|
+
workflow: "workflow";
|
|
10257
|
+
"google-sheets": "google-sheets";
|
|
10258
|
+
dashboard: "dashboard";
|
|
10259
|
+
calendar: "calendar";
|
|
10260
|
+
sales: "sales";
|
|
10261
|
+
crm: "crm";
|
|
10262
|
+
"lead-gen": "lead-gen";
|
|
10263
|
+
projects: "projects";
|
|
10264
|
+
operations: "operations";
|
|
10265
|
+
monitoring: "monitoring";
|
|
10266
|
+
knowledge: "knowledge";
|
|
10267
|
+
settings: "settings";
|
|
10268
|
+
admin: "admin";
|
|
10269
|
+
archive: "archive";
|
|
10270
|
+
business: "business";
|
|
10271
|
+
finance: "finance";
|
|
10272
|
+
platform: "platform";
|
|
10273
|
+
seo: "seo";
|
|
10274
|
+
playbook: "playbook";
|
|
10275
|
+
strategy: "strategy";
|
|
10276
|
+
reference: "reference";
|
|
10277
|
+
integration: "integration";
|
|
10278
|
+
database: "database";
|
|
10279
|
+
user: "user";
|
|
10280
|
+
team: "team";
|
|
10281
|
+
gmail: "gmail";
|
|
10282
|
+
attio: "attio";
|
|
10283
|
+
overview: "overview";
|
|
10284
|
+
"command-view": "command-view";
|
|
10285
|
+
"command-queue": "command-queue";
|
|
10286
|
+
pipeline: "pipeline";
|
|
10287
|
+
lists: "lists";
|
|
10288
|
+
resources: "resources";
|
|
10289
|
+
approve: "approve";
|
|
10290
|
+
reject: "reject";
|
|
10291
|
+
retry: "retry";
|
|
10292
|
+
edit: "edit";
|
|
10293
|
+
view: "view";
|
|
10294
|
+
launch: "launch";
|
|
10295
|
+
escalate: "escalate";
|
|
10296
|
+
promote: "promote";
|
|
10297
|
+
submit: "submit";
|
|
10298
|
+
email: "email";
|
|
10299
|
+
success: "success";
|
|
10300
|
+
warning: "warning";
|
|
10301
|
+
info: "info";
|
|
10302
|
+
pending: "pending";
|
|
10303
|
+
bolt: "bolt";
|
|
10304
|
+
building: "building";
|
|
10305
|
+
briefcase: "briefcase";
|
|
10306
|
+
apps: "apps";
|
|
10307
|
+
graph: "graph";
|
|
10308
|
+
shield: "shield";
|
|
10309
|
+
users: "users";
|
|
10310
|
+
"chart-bar": "chart-bar";
|
|
10311
|
+
search: "search";
|
|
10312
|
+
}>, z.ZodString]>>;
|
|
10313
|
+
externalUrl: z.ZodOptional<z.ZodString>;
|
|
10314
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
10315
|
+
body: z.ZodString;
|
|
10316
|
+
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
10317
|
+
target: z.ZodObject<{
|
|
10318
|
+
kind: z.ZodEnum<{
|
|
10319
|
+
knowledge: "knowledge";
|
|
10320
|
+
system: "system";
|
|
10321
|
+
action: "action";
|
|
10322
|
+
ontology: "ontology";
|
|
10323
|
+
role: "role";
|
|
10324
|
+
goal: "goal";
|
|
10325
|
+
stage: "stage";
|
|
10326
|
+
resource: "resource";
|
|
10327
|
+
"customer-segment": "customer-segment";
|
|
10328
|
+
offering: "offering";
|
|
10329
|
+
"content-node": "content-node";
|
|
10330
|
+
}>;
|
|
10331
|
+
id: z.ZodString;
|
|
10332
|
+
}, z.core.$strip>;
|
|
10333
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10334
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
10335
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
10336
|
+
target: {
|
|
10337
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
10338
|
+
id: string;
|
|
10339
|
+
};
|
|
10340
|
+
nodeId: string;
|
|
10341
|
+
}, {
|
|
10342
|
+
nodeId: string;
|
|
10343
|
+
} | {
|
|
10344
|
+
target: {
|
|
10345
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
10346
|
+
id: string;
|
|
10347
|
+
};
|
|
10348
|
+
}>>>>;
|
|
10349
|
+
ownerIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
10350
|
+
updatedAt: z.ZodString;
|
|
10351
|
+
}, z.core.$strip>>>>;
|
|
10352
|
+
}, z.core.$strip>;
|
|
10353
|
+
|
|
10354
|
+
type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
10355
|
+
|
|
9292
10356
|
declare const ResourceCategorySchema: z.ZodEnum<{
|
|
9293
10357
|
diagnostic: "diagnostic";
|
|
9294
10358
|
production: "production";
|
|
@@ -9319,10 +10383,7 @@ interface DeploymentSpec {
|
|
|
9319
10383
|
/** Deployment version (semver) */
|
|
9320
10384
|
version: string;
|
|
9321
10385
|
/** Optional Organization Model governance catalog used for OM-code validation */
|
|
9322
|
-
organizationModel?:
|
|
9323
|
-
systems?: OrganizationModelSystems;
|
|
9324
|
-
resources?: OrganizationModelResources;
|
|
9325
|
-
};
|
|
10386
|
+
organizationModel?: Partial<Pick<OrganizationModel, 'systems' | 'resources' | 'ontology' | 'topology' | 'roles' | 'policies' | 'entities' | 'actions'>>;
|
|
9326
10387
|
/** Workflow definitions */
|
|
9327
10388
|
workflows?: WorkflowDefinition[];
|
|
9328
10389
|
/** Agent definitions */
|