studiograph 1.1.2 → 1.2.0-beta.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/LICENSE +191 -0
- package/README.md +301 -10
- package/dist/agent/orchestrator.d.ts +17 -9
- package/dist/agent/orchestrator.js +142 -97
- package/dist/agent/orchestrator.js.map +1 -1
- package/dist/agent/prompts/system.md +186 -0
- package/dist/agent/skill-loader.d.ts +48 -0
- package/dist/agent/skill-loader.js +166 -0
- package/dist/agent/skill-loader.js.map +1 -0
- package/dist/agent/skills/enrich-entities.md +136 -0
- package/dist/agent/skills/entity-schema.md +502 -0
- package/dist/agent/skills/gather-context.md +46 -0
- package/dist/agent/skills/obsidian-source-setup.md +246 -0
- package/dist/agent/skills/skill-loader.d.ts +48 -0
- package/dist/agent/skills/skill-loader.js +166 -0
- package/dist/agent/skills/skill-loader.js.map +1 -0
- package/dist/agent/skills/sync-configuration.md +144 -0
- package/dist/agent/skills/sync-setup.md +68 -0
- package/dist/agent/tools/connector-tools.d.ts +37 -0
- package/dist/agent/tools/connector-tools.js +132 -0
- package/dist/agent/tools/connector-tools.js.map +1 -0
- package/dist/agent/tools/fs-tools.d.ts +39 -0
- package/dist/agent/tools/fs-tools.js +106 -0
- package/dist/agent/tools/fs-tools.js.map +1 -0
- package/dist/agent/tools/graph-tools.d.ts +30 -2
- package/dist/agent/tools/graph-tools.js +154 -37
- package/dist/agent/tools/graph-tools.js.map +1 -1
- package/dist/agent/tools/load-skill.d.ts +42 -0
- package/dist/agent/tools/load-skill.js +45 -0
- package/dist/agent/tools/load-skill.js.map +1 -0
- package/dist/agent/tools/sync-tools.d.ts +25 -0
- package/dist/agent/tools/sync-tools.js +691 -0
- package/dist/agent/tools/sync-tools.js.map +1 -0
- package/dist/agent/tools/tool-loader.d.ts +25 -0
- package/dist/agent/tools/tool-loader.js +73 -0
- package/dist/agent/tools/tool-loader.js.map +1 -0
- package/dist/auth/github.d.ts +11 -8
- package/dist/auth/github.js +56 -75
- package/dist/auth/github.js.map +1 -1
- package/dist/cli/colors.d.ts +54 -0
- package/dist/cli/colors.js +133 -0
- package/dist/cli/colors.js.map +1 -0
- package/dist/cli/commands/app.d.ts +7 -0
- package/dist/cli/commands/app.js +167 -0
- package/dist/cli/commands/app.js.map +1 -0
- package/dist/cli/commands/auth.d.ts +1 -1
- package/dist/cli/commands/auth.js +26 -10
- package/dist/cli/commands/auth.js.map +1 -1
- package/dist/cli/commands/clone.d.ts +9 -0
- package/dist/cli/commands/clone.js +167 -0
- package/dist/cli/commands/clone.js.map +1 -0
- package/dist/cli/commands/commit.d.ts +8 -0
- package/dist/cli/commands/commit.js +43 -0
- package/dist/cli/commands/commit.js.map +1 -0
- package/dist/cli/commands/config.d.ts +13 -0
- package/dist/cli/commands/config.js +276 -0
- package/dist/cli/commands/config.js.map +1 -0
- package/dist/cli/commands/connector.d.ts +33 -0
- package/dist/cli/commands/connector.js +178 -0
- package/dist/cli/commands/connector.js.map +1 -0
- package/dist/cli/commands/deploy.d.ts +11 -0
- package/dist/cli/commands/deploy.js +153 -0
- package/dist/cli/commands/deploy.js.map +1 -0
- package/dist/cli/commands/enrich.d.ts +11 -0
- package/dist/cli/commands/enrich.js +135 -0
- package/dist/cli/commands/enrich.js.map +1 -0
- package/dist/cli/commands/graphrag.d.ts +12 -0
- package/dist/cli/commands/graphrag.js +122 -0
- package/dist/cli/commands/graphrag.js.map +1 -0
- package/dist/cli/commands/index.d.ts +15 -0
- package/dist/cli/commands/index.js +117 -0
- package/dist/cli/commands/index.js.map +1 -0
- package/dist/cli/commands/init.js +110 -210
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/join.js +89 -24
- package/dist/cli/commands/join.js.map +1 -1
- package/dist/cli/commands/lint.d.ts +8 -0
- package/dist/cli/commands/lint.js +70 -0
- package/dist/cli/commands/lint.js.map +1 -0
- package/dist/cli/commands/mcp.d.ts +27 -0
- package/dist/cli/commands/mcp.js +56 -0
- package/dist/cli/commands/mcp.js.map +1 -0
- package/dist/cli/commands/orphans.d.ts +8 -0
- package/dist/cli/commands/orphans.js +125 -0
- package/dist/cli/commands/orphans.js.map +1 -0
- package/dist/cli/commands/provision.d.ts +8 -0
- package/dist/cli/commands/provision.js +116 -0
- package/dist/cli/commands/provision.js.map +1 -0
- package/dist/cli/commands/r2.d.ts +2 -0
- package/dist/cli/commands/r2.js +87 -6
- package/dist/cli/commands/r2.js.map +1 -1
- package/dist/cli/commands/reset.d.ts +12 -0
- package/dist/cli/commands/reset.js +137 -0
- package/dist/cli/commands/reset.js.map +1 -0
- package/dist/cli/commands/review.d.ts +19 -0
- package/dist/cli/commands/review.js +128 -0
- package/dist/cli/commands/review.js.map +1 -0
- package/dist/cli/commands/serve.js +47 -2
- package/dist/cli/commands/serve.js.map +1 -1
- package/dist/cli/commands/source.d.ts +16 -0
- package/dist/cli/commands/source.js +159 -0
- package/dist/cli/commands/source.js.map +1 -0
- package/dist/cli/commands/start.js +472 -103
- package/dist/cli/commands/start.js.map +1 -1
- package/dist/cli/commands/sync-entities.d.ts +13 -0
- package/dist/cli/commands/sync-entities.js +242 -0
- package/dist/cli/commands/sync-entities.js.map +1 -0
- package/dist/cli/commands/sync.js +40 -9
- package/dist/cli/commands/sync.js.map +1 -1
- package/dist/cli/commands/update.d.ts +8 -0
- package/dist/cli/commands/update.js +155 -0
- package/dist/cli/commands/update.js.map +1 -0
- package/dist/cli/index.js +114 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/scaffolding.d.ts +10 -0
- package/dist/cli/scaffolding.js +302 -0
- package/dist/cli/scaffolding.js.map +1 -0
- package/dist/cli/setup-wizard.d.ts +30 -0
- package/dist/cli/setup-wizard.js +244 -0
- package/dist/cli/setup-wizard.js.map +1 -0
- package/dist/cli/sync-review-interactive.d.ts +31 -0
- package/dist/cli/sync-review-interactive.js +393 -0
- package/dist/cli/sync-review-interactive.js.map +1 -0
- package/dist/cli/theme.d.ts +31 -0
- package/dist/cli/theme.js +116 -0
- package/dist/cli/theme.js.map +1 -0
- package/dist/core/graph.d.ts +16 -9
- package/dist/core/graph.js +263 -145
- package/dist/core/graph.js.map +1 -1
- package/dist/core/migration-runner.d.ts +42 -0
- package/dist/core/migration-runner.js +232 -0
- package/dist/core/migration-runner.js.map +1 -0
- package/dist/core/migration-types.d.ts +101 -0
- package/dist/core/migration-types.js +21 -0
- package/dist/core/migration-types.js.map +1 -0
- package/dist/core/migrations/20260219-formalize-memory-location.d.ts +2 -0
- package/dist/core/migrations/20260219-formalize-memory-location.js +35 -0
- package/dist/core/migrations/20260219-formalize-memory-location.js.map +1 -0
- package/dist/core/migrations/20260220-add-workspace-metadata.d.ts +12 -0
- package/dist/core/migrations/20260220-add-workspace-metadata.js +65 -0
- package/dist/core/migrations/20260220-add-workspace-metadata.js.map +1 -0
- package/dist/core/migrations/20260220-add-workspace-readme.d.ts +11 -0
- package/dist/core/migrations/20260220-add-workspace-readme.js +82 -0
- package/dist/core/migrations/20260220-add-workspace-readme.js.map +1 -0
- package/dist/core/migrations/20260220-migrate-yaml-to-json.d.ts +9 -0
- package/dist/core/migrations/20260220-migrate-yaml-to-json.js +64 -0
- package/dist/core/migrations/20260220-migrate-yaml-to-json.js.map +1 -0
- package/dist/core/migrations/index.d.ts +11 -0
- package/dist/core/migrations/index.js +23 -0
- package/dist/core/migrations/index.js.map +1 -0
- package/dist/core/schema-registry.d.ts +36 -0
- package/dist/core/schema-registry.js +161 -0
- package/dist/core/schema-registry.js.map +1 -0
- package/dist/core/types.d.ts +242 -3
- package/dist/core/types.js +21 -2
- package/dist/core/types.js.map +1 -1
- package/dist/core/user-config.d.ts +16 -0
- package/dist/core/user-config.js +8 -0
- package/dist/core/user-config.js.map +1 -1
- package/dist/core/validation.d.ts +973 -32
- package/dist/core/validation.js +163 -4
- package/dist/core/validation.js.map +1 -1
- package/dist/core/workspace-manager.d.ts +26 -2
- package/dist/core/workspace-manager.js +113 -15
- package/dist/core/workspace-manager.js.map +1 -1
- package/dist/core/workspace.d.ts +20 -11
- package/dist/core/workspace.js +123 -34
- package/dist/core/workspace.js.map +1 -1
- package/dist/mcp/connector-manager.d.ts +65 -0
- package/dist/mcp/connector-manager.js +223 -0
- package/dist/mcp/connector-manager.js.map +1 -0
- package/dist/mcp/connectors/asana.d.ts +2 -0
- package/dist/mcp/connectors/asana.js +20 -0
- package/dist/mcp/connectors/asana.js.map +1 -0
- package/dist/mcp/connectors/definitions.d.ts +45 -0
- package/dist/mcp/connectors/definitions.js +32 -0
- package/dist/mcp/connectors/definitions.js.map +1 -0
- package/dist/mcp/connectors/figma.d.ts +5 -0
- package/dist/mcp/connectors/figma.js +21 -0
- package/dist/mcp/connectors/figma.js.map +1 -0
- package/dist/mcp/connectors/gdrive.d.ts +2 -0
- package/dist/mcp/connectors/gdrive.js +20 -0
- package/dist/mcp/connectors/gdrive.js.map +1 -0
- package/dist/mcp/connectors/granola.d.ts +2 -0
- package/dist/mcp/connectors/granola.js +12 -0
- package/dist/mcp/connectors/granola.js.map +1 -0
- package/dist/mcp/connectors/linear.d.ts +2 -0
- package/dist/mcp/connectors/linear.js +19 -0
- package/dist/mcp/connectors/linear.js.map +1 -0
- package/dist/mcp/connectors/obsidian.d.ts +2 -0
- package/dist/mcp/connectors/obsidian.js +19 -0
- package/dist/mcp/connectors/obsidian.js.map +1 -0
- package/dist/mcp/connectors/pipedrive.d.ts +2 -0
- package/dist/mcp/connectors/pipedrive.js +20 -0
- package/dist/mcp/connectors/pipedrive.js.map +1 -0
- package/dist/mcp/connectors/slack.d.ts +2 -0
- package/dist/mcp/connectors/slack.js +21 -0
- package/dist/mcp/connectors/slack.js.map +1 -0
- package/dist/mcp/oauth-provider.d.ts +41 -0
- package/dist/mcp/oauth-provider.js +160 -0
- package/dist/mcp/oauth-provider.js.map +1 -0
- package/dist/mcp/server.d.ts +11 -0
- package/dist/mcp/server.js +28 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools.d.ts +14 -0
- package/dist/mcp/tools.js +172 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/server/index.js +17 -4
- package/dist/server/index.js.map +1 -1
- package/dist/server/plugin-loader.d.ts +15 -0
- package/dist/server/plugin-loader.js +68 -2
- package/dist/server/plugin-loader.js.map +1 -1
- package/dist/server/routes/graph-api.js +1 -1
- package/dist/server/routes/graph-api.js.map +1 -1
- package/dist/server/routes/webhook.js +33 -0
- package/dist/server/routes/webhook.js.map +1 -1
- package/dist/services/github-provisioner.d.ts +9 -3
- package/dist/services/github-provisioner.js +46 -8
- package/dist/services/github-provisioner.js.map +1 -1
- package/dist/services/lint-service.d.ts +27 -0
- package/dist/services/lint-service.js +83 -0
- package/dist/services/lint-service.js.map +1 -0
- package/dist/services/markdown.d.ts +9 -0
- package/dist/services/markdown.js +26 -5
- package/dist/services/markdown.js.map +1 -1
- package/dist/services/memory-service.d.ts +1 -2
- package/dist/services/memory-service.js +5 -4
- package/dist/services/memory-service.js.map +1 -1
- package/dist/services/orphan-service.d.ts +31 -0
- package/dist/services/orphan-service.js +100 -0
- package/dist/services/orphan-service.js.map +1 -0
- package/dist/services/sync/commit.d.ts +58 -0
- package/dist/services/sync/commit.js +350 -0
- package/dist/services/sync/commit.js.map +1 -0
- package/dist/services/sync/context-index.d.ts +69 -0
- package/dist/services/sync/context-index.js +280 -0
- package/dist/services/sync/context-index.js.map +1 -0
- package/dist/services/sync/derive.d.ts +34 -0
- package/dist/services/sync/derive.js +164 -0
- package/dist/services/sync/derive.js.map +1 -0
- package/dist/services/sync/enrichment-state.d.ts +31 -0
- package/dist/services/sync/enrichment-state.js +63 -0
- package/dist/services/sync/enrichment-state.js.map +1 -0
- package/dist/services/sync/enrichment.d.ts +25 -0
- package/dist/services/sync/enrichment.js +121 -0
- package/dist/services/sync/enrichment.js.map +1 -0
- package/dist/services/sync/frontmatter-extractor.d.ts +40 -0
- package/dist/services/sync/frontmatter-extractor.js +273 -0
- package/dist/services/sync/frontmatter-extractor.js.map +1 -0
- package/dist/services/sync/graph-match-state.d.ts +33 -0
- package/dist/services/sync/graph-match-state.js +61 -0
- package/dist/services/sync/graph-match-state.js.map +1 -0
- package/dist/services/sync/graph-match.d.ts +53 -0
- package/dist/services/sync/graph-match.js +316 -0
- package/dist/services/sync/graph-match.js.map +1 -0
- package/dist/services/sync/graphrag-client.d.ts +43 -0
- package/dist/services/sync/graphrag-client.js +94 -0
- package/dist/services/sync/graphrag-client.js.map +1 -0
- package/dist/services/sync/graphrag-config.d.ts +16 -0
- package/dist/services/sync/graphrag-config.js +39 -0
- package/dist/services/sync/graphrag-config.js.map +1 -0
- package/dist/services/sync/graphrag-context.d.ts +14 -0
- package/dist/services/sync/graphrag-context.js +109 -0
- package/dist/services/sync/graphrag-context.js.map +1 -0
- package/dist/services/sync/graphrag-indexer.d.ts +30 -0
- package/dist/services/sync/graphrag-indexer.js +358 -0
- package/dist/services/sync/graphrag-indexer.js.map +1 -0
- package/dist/services/sync/llm.d.ts +32 -0
- package/dist/services/sync/llm.js +115 -0
- package/dist/services/sync/llm.js.map +1 -0
- package/dist/services/sync/mcp-client.d.ts +59 -0
- package/dist/services/sync/mcp-client.js +285 -0
- package/dist/services/sync/mcp-client.js.map +1 -0
- package/dist/services/sync/model-factory.d.ts +10 -0
- package/dist/services/sync/model-factory.js +24 -0
- package/dist/services/sync/model-factory.js.map +1 -0
- package/dist/services/sync/name-quality.d.ts +31 -0
- package/dist/services/sync/name-quality.js +60 -0
- package/dist/services/sync/name-quality.js.map +1 -0
- package/dist/services/sync/output-schemas.d.ts +92 -0
- package/dist/services/sync/output-schemas.js +43 -0
- package/dist/services/sync/output-schemas.js.map +1 -0
- package/dist/services/sync/prompts.d.ts +19 -0
- package/dist/services/sync/prompts.js +128 -0
- package/dist/services/sync/prompts.js.map +1 -0
- package/dist/services/sync/reconciler.d.ts +48 -0
- package/dist/services/sync/reconciler.js +295 -0
- package/dist/services/sync/reconciler.js.map +1 -0
- package/dist/services/sync/source-config.d.ts +45 -0
- package/dist/services/sync/source-config.js +208 -0
- package/dist/services/sync/source-config.js.map +1 -0
- package/dist/services/sync/source-definitions/asana.d.ts +15 -0
- package/dist/services/sync/source-definitions/asana.js +48 -0
- package/dist/services/sync/source-definitions/asana.js.map +1 -0
- package/dist/services/sync/source-definitions/definitions.d.ts +21 -0
- package/dist/services/sync/source-definitions/definitions.js +26 -0
- package/dist/services/sync/source-definitions/definitions.js.map +1 -0
- package/dist/services/sync/source-definitions/gdrive.d.ts +16 -0
- package/dist/services/sync/source-definitions/gdrive.js +68 -0
- package/dist/services/sync/source-definitions/gdrive.js.map +1 -0
- package/dist/services/sync/source-definitions/granola.d.ts +2 -0
- package/dist/services/sync/source-definitions/granola.js +28 -0
- package/dist/services/sync/source-definitions/granola.js.map +1 -0
- package/dist/services/sync/source-definitions/linear.d.ts +2 -0
- package/dist/services/sync/source-definitions/linear.js +60 -0
- package/dist/services/sync/source-definitions/linear.js.map +1 -0
- package/dist/services/sync/source-definitions/obsidian.d.ts +2 -0
- package/dist/services/sync/source-definitions/obsidian.js +55 -0
- package/dist/services/sync/source-definitions/obsidian.js.map +1 -0
- package/dist/services/sync/source-definitions/pipedrive.d.ts +2 -0
- package/dist/services/sync/source-definitions/pipedrive.js +52 -0
- package/dist/services/sync/source-definitions/pipedrive.js.map +1 -0
- package/dist/services/sync/staging.d.ts +53 -0
- package/dist/services/sync/staging.js +131 -0
- package/dist/services/sync/staging.js.map +1 -0
- package/dist/services/sync/structured-extractor.d.ts +49 -0
- package/dist/services/sync/structured-extractor.js +344 -0
- package/dist/services/sync/structured-extractor.js.map +1 -0
- package/dist/services/sync/sync-runner.d.ts +32 -0
- package/dist/services/sync/sync-runner.js +195 -0
- package/dist/services/sync/sync-runner.js.map +1 -0
- package/dist/services/sync/sync-state.d.ts +43 -0
- package/dist/services/sync/sync-state.js +154 -0
- package/dist/services/sync/sync-state.js.map +1 -0
- package/dist/services/sync/types.d.ts +203 -0
- package/dist/services/sync/types.js +8 -0
- package/dist/services/sync/types.js.map +1 -0
- package/dist/services/sync/unstructured-extractor.d.ts +29 -0
- package/dist/services/sync/unstructured-extractor.js +197 -0
- package/dist/services/sync/unstructured-extractor.js.map +1 -0
- package/dist/services/vector-service.d.ts +88 -0
- package/dist/services/vector-service.js +322 -0
- package/dist/services/vector-service.js.map +1 -0
- package/dist/utils/git.d.ts +26 -4
- package/dist/utils/git.js +55 -7
- package/dist/utils/git.js.map +1 -1
- package/dist/utils/merge-resolver.d.ts +34 -0
- package/dist/utils/merge-resolver.js +201 -0
- package/dist/utils/merge-resolver.js.map +1 -0
- package/dist/utils/preflight.d.ts +2 -1
- package/dist/utils/preflight.js +8 -1
- package/dist/utils/preflight.js.map +1 -1
- package/dist/utils/version-checker.d.ts +23 -0
- package/dist/utils/version-checker.js +116 -0
- package/dist/utils/version-checker.js.map +1 -0
- package/dist/utils/workspace-config.d.ts +8 -0
- package/dist/utils/workspace-config.js +22 -0
- package/dist/utils/workspace-config.js.map +1 -0
- package/package.json +24 -11
|
@@ -69,11 +69,12 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
69
69
|
end_date: z.ZodOptional<z.ZodString>;
|
|
70
70
|
target_completion: z.ZodOptional<z.ZodString>;
|
|
71
71
|
year_released: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "active", "on-hold", "completed", "archived"]>>;
|
|
72
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
73
73
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
74
74
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75
75
|
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
76
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
77
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
77
78
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
78
79
|
entity_id: z.ZodString;
|
|
79
80
|
created_at: z.ZodString;
|
|
@@ -93,11 +94,12 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
93
94
|
end_date: z.ZodOptional<z.ZodString>;
|
|
94
95
|
target_completion: z.ZodOptional<z.ZodString>;
|
|
95
96
|
year_released: z.ZodOptional<z.ZodNumber>;
|
|
96
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "active", "on-hold", "completed", "archived"]>>;
|
|
97
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
97
98
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
98
99
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
99
100
|
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
101
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
102
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
101
103
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
102
104
|
entity_id: z.ZodString;
|
|
103
105
|
created_at: z.ZodString;
|
|
@@ -117,11 +119,12 @@ export declare const ProjectSchema: z.ZodObject<{
|
|
|
117
119
|
end_date: z.ZodOptional<z.ZodString>;
|
|
118
120
|
target_completion: z.ZodOptional<z.ZodString>;
|
|
119
121
|
year_released: z.ZodOptional<z.ZodNumber>;
|
|
120
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "active", "on-hold", "completed", "archived"]>>;
|
|
122
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
121
123
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
122
124
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
123
125
|
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
126
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
127
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
125
128
|
}, z.ZodTypeAny, "passthrough">>;
|
|
126
129
|
export type Project = z.infer<typeof ProjectSchema>;
|
|
127
130
|
/**
|
|
@@ -140,7 +143,7 @@ export declare const MeetingSchema: z.ZodObject<{
|
|
|
140
143
|
} & {
|
|
141
144
|
entity_type: z.ZodLiteral<"meeting">;
|
|
142
145
|
name: z.ZodString;
|
|
143
|
-
date: z.ZodString
|
|
146
|
+
date: z.ZodOptional<z.ZodString>;
|
|
144
147
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
145
148
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
146
149
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -162,7 +165,7 @@ export declare const MeetingSchema: z.ZodObject<{
|
|
|
162
165
|
} & {
|
|
163
166
|
entity_type: z.ZodLiteral<"meeting">;
|
|
164
167
|
name: z.ZodString;
|
|
165
|
-
date: z.ZodString
|
|
168
|
+
date: z.ZodOptional<z.ZodString>;
|
|
166
169
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
167
170
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
168
171
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -184,7 +187,7 @@ export declare const MeetingSchema: z.ZodObject<{
|
|
|
184
187
|
} & {
|
|
185
188
|
entity_type: z.ZodLiteral<"meeting">;
|
|
186
189
|
name: z.ZodString;
|
|
187
|
-
date: z.ZodString
|
|
190
|
+
date: z.ZodOptional<z.ZodString>;
|
|
188
191
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
189
192
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
190
193
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -282,6 +285,74 @@ export declare const DecisionSchema: z.ZodObject<{
|
|
|
282
285
|
enables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
283
286
|
}, z.ZodTypeAny, "passthrough">>;
|
|
284
287
|
export type Decision = z.infer<typeof DecisionSchema>;
|
|
288
|
+
/**
|
|
289
|
+
* Task entity - lightweight action items and to-dos
|
|
290
|
+
*/
|
|
291
|
+
export declare const TaskSchema: z.ZodObject<{
|
|
292
|
+
entity_id: z.ZodString;
|
|
293
|
+
created_at: z.ZodString;
|
|
294
|
+
updated_at: z.ZodString;
|
|
295
|
+
created_by: z.ZodString;
|
|
296
|
+
updated_by: z.ZodString;
|
|
297
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
298
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
299
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
300
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
301
|
+
} & {
|
|
302
|
+
entity_type: z.ZodLiteral<"task">;
|
|
303
|
+
name: z.ZodString;
|
|
304
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
305
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
306
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
307
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
308
|
+
project: z.ZodOptional<z.ZodString>;
|
|
309
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
310
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
311
|
+
description: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
313
|
+
entity_id: z.ZodString;
|
|
314
|
+
created_at: z.ZodString;
|
|
315
|
+
updated_at: z.ZodString;
|
|
316
|
+
created_by: z.ZodString;
|
|
317
|
+
updated_by: z.ZodString;
|
|
318
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
319
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
320
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
321
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
322
|
+
} & {
|
|
323
|
+
entity_type: z.ZodLiteral<"task">;
|
|
324
|
+
name: z.ZodString;
|
|
325
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
326
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
327
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
328
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
329
|
+
project: z.ZodOptional<z.ZodString>;
|
|
330
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
331
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
332
|
+
description: z.ZodOptional<z.ZodString>;
|
|
333
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
334
|
+
entity_id: z.ZodString;
|
|
335
|
+
created_at: z.ZodString;
|
|
336
|
+
updated_at: z.ZodString;
|
|
337
|
+
created_by: z.ZodString;
|
|
338
|
+
updated_by: z.ZodString;
|
|
339
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
340
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
342
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
343
|
+
} & {
|
|
344
|
+
entity_type: z.ZodLiteral<"task">;
|
|
345
|
+
name: z.ZodString;
|
|
346
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
347
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
348
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
349
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
350
|
+
project: z.ZodOptional<z.ZodString>;
|
|
351
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
352
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
353
|
+
description: z.ZodOptional<z.ZodString>;
|
|
354
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
355
|
+
export type Task = z.infer<typeof TaskSchema>;
|
|
285
356
|
/**
|
|
286
357
|
* Brief entity - project briefs and requirements
|
|
287
358
|
*/
|
|
@@ -377,6 +448,7 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
377
448
|
name: z.ZodString;
|
|
378
449
|
type: z.ZodOptional<z.ZodString>;
|
|
379
450
|
project: z.ZodOptional<z.ZodString>;
|
|
451
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
380
452
|
date_created: z.ZodOptional<z.ZodString>;
|
|
381
453
|
description: z.ZodOptional<z.ZodString>;
|
|
382
454
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -396,6 +468,7 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
396
468
|
name: z.ZodString;
|
|
397
469
|
type: z.ZodOptional<z.ZodString>;
|
|
398
470
|
project: z.ZodOptional<z.ZodString>;
|
|
471
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
399
472
|
date_created: z.ZodOptional<z.ZodString>;
|
|
400
473
|
description: z.ZodOptional<z.ZodString>;
|
|
401
474
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -415,12 +488,89 @@ export declare const ArtifactSchema: z.ZodObject<{
|
|
|
415
488
|
name: z.ZodString;
|
|
416
489
|
type: z.ZodOptional<z.ZodString>;
|
|
417
490
|
project: z.ZodOptional<z.ZodString>;
|
|
491
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
418
492
|
date_created: z.ZodOptional<z.ZodString>;
|
|
419
493
|
description: z.ZodOptional<z.ZodString>;
|
|
420
494
|
url: z.ZodOptional<z.ZodString>;
|
|
421
495
|
version: z.ZodOptional<z.ZodString>;
|
|
422
496
|
}, z.ZodTypeAny, "passthrough">>;
|
|
423
497
|
export type Artifact = z.infer<typeof ArtifactSchema>;
|
|
498
|
+
/**
|
|
499
|
+
* Deliverable entity - a scoped, contractual output promised to a client
|
|
500
|
+
*
|
|
501
|
+
* Operates at a higher level than individual artifacts: a deliverable is the
|
|
502
|
+
* "big ticket item" committed to in a proposal or contract (e.g. "Brand
|
|
503
|
+
* Identity System"), while artifacts are the individual produced items within
|
|
504
|
+
* it (logo SVG, style guide PDF, brand guidelines deck).
|
|
505
|
+
*
|
|
506
|
+
* Bridges the commercial side (proposal, contract) to the execution side
|
|
507
|
+
* (artifact): proposal.deliverables[] → deliverable → artifact[]
|
|
508
|
+
*/
|
|
509
|
+
export declare const DeliverableSchema: z.ZodObject<{
|
|
510
|
+
entity_id: z.ZodString;
|
|
511
|
+
created_at: z.ZodString;
|
|
512
|
+
updated_at: z.ZodString;
|
|
513
|
+
created_by: z.ZodString;
|
|
514
|
+
updated_by: z.ZodString;
|
|
515
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
516
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
517
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
518
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
519
|
+
} & {
|
|
520
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
521
|
+
name: z.ZodString;
|
|
522
|
+
project: z.ZodOptional<z.ZodString>;
|
|
523
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
524
|
+
contract: z.ZodOptional<z.ZodString>;
|
|
525
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
526
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
527
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
528
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
529
|
+
description: z.ZodOptional<z.ZodString>;
|
|
530
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
531
|
+
entity_id: z.ZodString;
|
|
532
|
+
created_at: z.ZodString;
|
|
533
|
+
updated_at: z.ZodString;
|
|
534
|
+
created_by: z.ZodString;
|
|
535
|
+
updated_by: z.ZodString;
|
|
536
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
537
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
538
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
539
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
540
|
+
} & {
|
|
541
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
542
|
+
name: z.ZodString;
|
|
543
|
+
project: z.ZodOptional<z.ZodString>;
|
|
544
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
545
|
+
contract: z.ZodOptional<z.ZodString>;
|
|
546
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
547
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
548
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
549
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
550
|
+
description: z.ZodOptional<z.ZodString>;
|
|
551
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
552
|
+
entity_id: z.ZodString;
|
|
553
|
+
created_at: z.ZodString;
|
|
554
|
+
updated_at: z.ZodString;
|
|
555
|
+
created_by: z.ZodString;
|
|
556
|
+
updated_by: z.ZodString;
|
|
557
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
558
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
559
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
560
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
561
|
+
} & {
|
|
562
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
563
|
+
name: z.ZodString;
|
|
564
|
+
project: z.ZodOptional<z.ZodString>;
|
|
565
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
566
|
+
contract: z.ZodOptional<z.ZodString>;
|
|
567
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
568
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
569
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
570
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
571
|
+
description: z.ZodOptional<z.ZodString>;
|
|
572
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
573
|
+
export type Deliverable = z.infer<typeof DeliverableSchema>;
|
|
424
574
|
/**
|
|
425
575
|
* FUNCTION REPO ENTITIES
|
|
426
576
|
* Used in function-specific repositories (business operations)
|
|
@@ -597,6 +747,8 @@ export declare const PersonSchema: z.ZodObject<{
|
|
|
597
747
|
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
598
748
|
bio: z.ZodOptional<z.ZodString>;
|
|
599
749
|
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
750
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
751
|
+
department: z.ZodOptional<z.ZodString>;
|
|
600
752
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
601
753
|
entity_id: z.ZodString;
|
|
602
754
|
created_at: z.ZodString;
|
|
@@ -618,6 +770,8 @@ export declare const PersonSchema: z.ZodObject<{
|
|
|
618
770
|
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
619
771
|
bio: z.ZodOptional<z.ZodString>;
|
|
620
772
|
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
773
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
774
|
+
department: z.ZodOptional<z.ZodString>;
|
|
621
775
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
622
776
|
entity_id: z.ZodString;
|
|
623
777
|
created_at: z.ZodString;
|
|
@@ -639,6 +793,8 @@ export declare const PersonSchema: z.ZodObject<{
|
|
|
639
793
|
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
640
794
|
bio: z.ZodOptional<z.ZodString>;
|
|
641
795
|
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
796
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
797
|
+
department: z.ZodOptional<z.ZodString>;
|
|
642
798
|
}, z.ZodTypeAny, "passthrough">>;
|
|
643
799
|
export type Person = z.infer<typeof PersonSchema>;
|
|
644
800
|
/**
|
|
@@ -771,6 +927,217 @@ export declare const FinancialPlanSchema: z.ZodObject<{
|
|
|
771
927
|
amounts: z.ZodOptional<z.ZodString>;
|
|
772
928
|
}, z.ZodTypeAny, "passthrough">>;
|
|
773
929
|
export type FinancialPlan = z.infer<typeof FinancialPlanSchema>;
|
|
930
|
+
/**
|
|
931
|
+
* Deal entity - pre-project opportunity moving through the sales pipeline
|
|
932
|
+
*
|
|
933
|
+
* Distinct from a project (which is post-signing execution) and from a proposal
|
|
934
|
+
* (which is a document artifact). Multiple proposals can belong to one deal.
|
|
935
|
+
* When a deal is won, a project is created and linked via project.deal.
|
|
936
|
+
*/
|
|
937
|
+
export declare const DealSchema: z.ZodObject<{
|
|
938
|
+
entity_id: z.ZodString;
|
|
939
|
+
created_at: z.ZodString;
|
|
940
|
+
updated_at: z.ZodString;
|
|
941
|
+
created_by: z.ZodString;
|
|
942
|
+
updated_by: z.ZodString;
|
|
943
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
944
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
945
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
946
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
947
|
+
} & {
|
|
948
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
949
|
+
name: z.ZodString;
|
|
950
|
+
client: z.ZodOptional<z.ZodString>;
|
|
951
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
952
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
953
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
954
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
955
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
956
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
957
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
958
|
+
project: z.ZodOptional<z.ZodString>;
|
|
959
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
960
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
961
|
+
entity_id: z.ZodString;
|
|
962
|
+
created_at: z.ZodString;
|
|
963
|
+
updated_at: z.ZodString;
|
|
964
|
+
created_by: z.ZodString;
|
|
965
|
+
updated_by: z.ZodString;
|
|
966
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
967
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
968
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
969
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
970
|
+
} & {
|
|
971
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
972
|
+
name: z.ZodString;
|
|
973
|
+
client: z.ZodOptional<z.ZodString>;
|
|
974
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
975
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
976
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
977
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
978
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
979
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
980
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
981
|
+
project: z.ZodOptional<z.ZodString>;
|
|
982
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
983
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
984
|
+
entity_id: z.ZodString;
|
|
985
|
+
created_at: z.ZodString;
|
|
986
|
+
updated_at: z.ZodString;
|
|
987
|
+
created_by: z.ZodString;
|
|
988
|
+
updated_by: z.ZodString;
|
|
989
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
990
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
991
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
992
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
993
|
+
} & {
|
|
994
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
995
|
+
name: z.ZodString;
|
|
996
|
+
client: z.ZodOptional<z.ZodString>;
|
|
997
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
998
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
999
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
1000
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
1001
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
1003
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1004
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
1006
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1007
|
+
export type Deal = z.infer<typeof DealSchema>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Vendor entity - external suppliers, freelancers, and partners
|
|
1010
|
+
*/
|
|
1011
|
+
export declare const VendorSchema: z.ZodObject<{
|
|
1012
|
+
entity_id: z.ZodString;
|
|
1013
|
+
created_at: z.ZodString;
|
|
1014
|
+
updated_at: z.ZodString;
|
|
1015
|
+
created_by: z.ZodString;
|
|
1016
|
+
updated_by: z.ZodString;
|
|
1017
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1018
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1019
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1020
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1021
|
+
} & {
|
|
1022
|
+
entity_type: z.ZodLiteral<"vendor">;
|
|
1023
|
+
name: z.ZodString;
|
|
1024
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
1025
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
1026
|
+
contact_name: z.ZodOptional<z.ZodString>;
|
|
1027
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1030
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1031
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1033
|
+
entity_id: z.ZodString;
|
|
1034
|
+
created_at: z.ZodString;
|
|
1035
|
+
updated_at: z.ZodString;
|
|
1036
|
+
created_by: z.ZodString;
|
|
1037
|
+
updated_by: z.ZodString;
|
|
1038
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1039
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1040
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1041
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1042
|
+
} & {
|
|
1043
|
+
entity_type: z.ZodLiteral<"vendor">;
|
|
1044
|
+
name: z.ZodString;
|
|
1045
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
1046
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
1047
|
+
contact_name: z.ZodOptional<z.ZodString>;
|
|
1048
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1051
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1052
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1054
|
+
entity_id: z.ZodString;
|
|
1055
|
+
created_at: z.ZodString;
|
|
1056
|
+
updated_at: z.ZodString;
|
|
1057
|
+
created_by: z.ZodString;
|
|
1058
|
+
updated_by: z.ZodString;
|
|
1059
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1060
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1061
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1062
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1063
|
+
} & {
|
|
1064
|
+
entity_type: z.ZodLiteral<"vendor">;
|
|
1065
|
+
name: z.ZodString;
|
|
1066
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
1067
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
1068
|
+
contact_name: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
website: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1072
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1073
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1075
|
+
export type Vendor = z.infer<typeof VendorSchema>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Role entity - generalized role definitions from the firm's leveling framework
|
|
1078
|
+
*
|
|
1079
|
+
* Body markdown holds: Role Overview, Key Responsibilities,
|
|
1080
|
+
* Leveling Criteria (pillars), Required Skills.
|
|
1081
|
+
*/
|
|
1082
|
+
export declare const RoleSchema: z.ZodObject<{
|
|
1083
|
+
entity_id: z.ZodString;
|
|
1084
|
+
created_at: z.ZodString;
|
|
1085
|
+
updated_at: z.ZodString;
|
|
1086
|
+
created_by: z.ZodString;
|
|
1087
|
+
updated_by: z.ZodString;
|
|
1088
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1089
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1090
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1091
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1092
|
+
} & {
|
|
1093
|
+
entity_type: z.ZodLiteral<"role">;
|
|
1094
|
+
title: z.ZodString;
|
|
1095
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1096
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1097
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1098
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1099
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1102
|
+
entity_id: z.ZodString;
|
|
1103
|
+
created_at: z.ZodString;
|
|
1104
|
+
updated_at: z.ZodString;
|
|
1105
|
+
created_by: z.ZodString;
|
|
1106
|
+
updated_by: z.ZodString;
|
|
1107
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1108
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1109
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1110
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1111
|
+
} & {
|
|
1112
|
+
entity_type: z.ZodLiteral<"role">;
|
|
1113
|
+
title: z.ZodString;
|
|
1114
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1117
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1118
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1121
|
+
entity_id: z.ZodString;
|
|
1122
|
+
created_at: z.ZodString;
|
|
1123
|
+
updated_at: z.ZodString;
|
|
1124
|
+
created_by: z.ZodString;
|
|
1125
|
+
updated_by: z.ZodString;
|
|
1126
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1127
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1128
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1129
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1130
|
+
} & {
|
|
1131
|
+
entity_type: z.ZodLiteral<"role">;
|
|
1132
|
+
title: z.ZodString;
|
|
1133
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
1135
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
1136
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
1137
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
1139
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1140
|
+
export type Role = z.infer<typeof RoleSchema>;
|
|
774
1141
|
/**
|
|
775
1142
|
* SHARED RESOURCE REPO ENTITIES
|
|
776
1143
|
* Used in shared knowledge repositories
|
|
@@ -851,6 +1218,8 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
851
1218
|
steps: z.ZodOptional<z.ZodString>;
|
|
852
1219
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
853
1220
|
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1221
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1222
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
854
1223
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
855
1224
|
entity_id: z.ZodString;
|
|
856
1225
|
created_at: z.ZodString;
|
|
@@ -868,6 +1237,8 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
868
1237
|
steps: z.ZodOptional<z.ZodString>;
|
|
869
1238
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
870
1239
|
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1240
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
871
1242
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
872
1243
|
entity_id: z.ZodString;
|
|
873
1244
|
created_at: z.ZodString;
|
|
@@ -885,6 +1256,8 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
885
1256
|
steps: z.ZodOptional<z.ZodString>;
|
|
886
1257
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
887
1258
|
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1259
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
888
1261
|
}, z.ZodTypeAny, "passthrough">>;
|
|
889
1262
|
export type Process = z.infer<typeof ProcessSchema>;
|
|
890
1263
|
/**
|
|
@@ -1071,26 +1444,9 @@ export declare const TechniqueSchema: z.ZodObject<{
|
|
|
1071
1444
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1072
1445
|
export type Technique = z.infer<typeof TechniqueSchema>;
|
|
1073
1446
|
/**
|
|
1074
|
-
*
|
|
1447
|
+
* Practice Area entity - firm capabilities and disciplines
|
|
1075
1448
|
*/
|
|
1076
|
-
export declare const
|
|
1077
|
-
name: z.ZodString;
|
|
1078
|
-
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1079
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1080
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1081
|
-
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
name: string;
|
|
1083
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1084
|
-
description?: string | undefined;
|
|
1085
|
-
required?: boolean | undefined;
|
|
1086
|
-
}, {
|
|
1087
|
-
name: string;
|
|
1088
|
-
type: "string" | "number" | "boolean" | "date";
|
|
1089
|
-
description?: string | undefined;
|
|
1090
|
-
required?: boolean | undefined;
|
|
1091
|
-
}>;
|
|
1092
|
-
export type ColumnDefinition = z.infer<typeof ColumnDefinitionSchema>;
|
|
1093
|
-
export declare const DatasetSchema: z.ZodObject<{
|
|
1449
|
+
export declare const PracticeAreaSchema: z.ZodObject<{
|
|
1094
1450
|
entity_id: z.ZodString;
|
|
1095
1451
|
created_at: z.ZodString;
|
|
1096
1452
|
updated_at: z.ZodString;
|
|
@@ -1101,7 +1457,144 @@ export declare const DatasetSchema: z.ZodObject<{
|
|
|
1101
1457
|
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1102
1458
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1103
1459
|
} & {
|
|
1104
|
-
entity_type: z.ZodLiteral<"
|
|
1460
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
1461
|
+
name: z.ZodString;
|
|
1462
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1463
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1464
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1465
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1466
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1467
|
+
entity_id: z.ZodString;
|
|
1468
|
+
created_at: z.ZodString;
|
|
1469
|
+
updated_at: z.ZodString;
|
|
1470
|
+
created_by: z.ZodString;
|
|
1471
|
+
updated_by: z.ZodString;
|
|
1472
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1473
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1474
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1475
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1476
|
+
} & {
|
|
1477
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
1478
|
+
name: z.ZodString;
|
|
1479
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1481
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1482
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1483
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1484
|
+
entity_id: z.ZodString;
|
|
1485
|
+
created_at: z.ZodString;
|
|
1486
|
+
updated_at: z.ZodString;
|
|
1487
|
+
created_by: z.ZodString;
|
|
1488
|
+
updated_by: z.ZodString;
|
|
1489
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1490
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1491
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1492
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1493
|
+
} & {
|
|
1494
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
1495
|
+
name: z.ZodString;
|
|
1496
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1497
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1498
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1499
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1500
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1501
|
+
export type PracticeArea = z.infer<typeof PracticeAreaSchema>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Case Study entity - portfolio narratives for completed projects
|
|
1504
|
+
*
|
|
1505
|
+
* Body markdown holds: Objective, Solution, Outcome, Team, Press, Awards.
|
|
1506
|
+
*/
|
|
1507
|
+
export declare const CaseStudySchema: z.ZodObject<{
|
|
1508
|
+
entity_id: z.ZodString;
|
|
1509
|
+
created_at: z.ZodString;
|
|
1510
|
+
updated_at: z.ZodString;
|
|
1511
|
+
created_by: z.ZodString;
|
|
1512
|
+
updated_by: z.ZodString;
|
|
1513
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1514
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1515
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1516
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1517
|
+
} & {
|
|
1518
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1519
|
+
title: z.ZodString;
|
|
1520
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1523
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1524
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1526
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1527
|
+
entity_id: z.ZodString;
|
|
1528
|
+
created_at: z.ZodString;
|
|
1529
|
+
updated_at: z.ZodString;
|
|
1530
|
+
created_by: z.ZodString;
|
|
1531
|
+
updated_by: z.ZodString;
|
|
1532
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1533
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1534
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1535
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1536
|
+
} & {
|
|
1537
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1538
|
+
title: z.ZodString;
|
|
1539
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1540
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
1541
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1542
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1543
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1544
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1545
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1546
|
+
entity_id: z.ZodString;
|
|
1547
|
+
created_at: z.ZodString;
|
|
1548
|
+
updated_at: z.ZodString;
|
|
1549
|
+
created_by: z.ZodString;
|
|
1550
|
+
updated_by: z.ZodString;
|
|
1551
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1552
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1553
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1554
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1555
|
+
} & {
|
|
1556
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
1557
|
+
title: z.ZodString;
|
|
1558
|
+
client: z.ZodOptional<z.ZodString>;
|
|
1559
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
1560
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1561
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1562
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
1563
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1564
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1565
|
+
export type CaseStudy = z.infer<typeof CaseStudySchema>;
|
|
1566
|
+
/**
|
|
1567
|
+
* Dataset entity - structured tabular data with CSV body
|
|
1568
|
+
*/
|
|
1569
|
+
export declare const ColumnDefinitionSchema: z.ZodObject<{
|
|
1570
|
+
name: z.ZodString;
|
|
1571
|
+
type: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
1572
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1573
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
}, "strip", z.ZodTypeAny, {
|
|
1575
|
+
name: string;
|
|
1576
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1577
|
+
description?: string | undefined;
|
|
1578
|
+
required?: boolean | undefined;
|
|
1579
|
+
}, {
|
|
1580
|
+
name: string;
|
|
1581
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1582
|
+
description?: string | undefined;
|
|
1583
|
+
required?: boolean | undefined;
|
|
1584
|
+
}>;
|
|
1585
|
+
export type ColumnDefinition = z.infer<typeof ColumnDefinitionSchema>;
|
|
1586
|
+
export declare const DatasetSchema: z.ZodObject<{
|
|
1587
|
+
entity_id: z.ZodString;
|
|
1588
|
+
created_at: z.ZodString;
|
|
1589
|
+
updated_at: z.ZodString;
|
|
1590
|
+
created_by: z.ZodString;
|
|
1591
|
+
updated_by: z.ZodString;
|
|
1592
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1593
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1594
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1595
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1596
|
+
} & {
|
|
1597
|
+
entity_type: z.ZodLiteral<"dataset">;
|
|
1105
1598
|
name: z.ZodString;
|
|
1106
1599
|
schema: z.ZodArray<z.ZodObject<{
|
|
1107
1600
|
name: z.ZodString;
|
|
@@ -1269,11 +1762,12 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1269
1762
|
end_date: z.ZodOptional<z.ZodString>;
|
|
1270
1763
|
target_completion: z.ZodOptional<z.ZodString>;
|
|
1271
1764
|
year_released: z.ZodOptional<z.ZodNumber>;
|
|
1272
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "active", "on-hold", "completed", "archived"]>>;
|
|
1765
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1273
1766
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1274
1767
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1275
1768
|
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1276
1769
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1770
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
1277
1771
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1278
1772
|
entity_id: z.ZodString;
|
|
1279
1773
|
created_at: z.ZodString;
|
|
@@ -1293,11 +1787,12 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1293
1787
|
end_date: z.ZodOptional<z.ZodString>;
|
|
1294
1788
|
target_completion: z.ZodOptional<z.ZodString>;
|
|
1295
1789
|
year_released: z.ZodOptional<z.ZodNumber>;
|
|
1296
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "active", "on-hold", "completed", "archived"]>>;
|
|
1790
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1297
1791
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1298
1792
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1299
1793
|
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1300
1794
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1795
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
1301
1796
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1302
1797
|
entity_id: z.ZodString;
|
|
1303
1798
|
created_at: z.ZodString;
|
|
@@ -1317,11 +1812,12 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1317
1812
|
end_date: z.ZodOptional<z.ZodString>;
|
|
1318
1813
|
target_completion: z.ZodOptional<z.ZodString>;
|
|
1319
1814
|
year_released: z.ZodOptional<z.ZodNumber>;
|
|
1320
|
-
status: z.ZodOptional<z.ZodEnum<["planning", "active", "on-hold", "completed", "archived"]>>;
|
|
1815
|
+
status: z.ZodOptional<z.ZodEnum<["planning", "scoping", "active", "on-hold", "completed", "archived"]>>;
|
|
1321
1816
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1322
1817
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1323
1818
|
team: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1324
1819
|
deliverables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1820
|
+
deal: z.ZodOptional<z.ZodString>;
|
|
1325
1821
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1326
1822
|
readonly meeting: z.ZodObject<{
|
|
1327
1823
|
entity_id: z.ZodString;
|
|
@@ -1336,7 +1832,7 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1336
1832
|
} & {
|
|
1337
1833
|
entity_type: z.ZodLiteral<"meeting">;
|
|
1338
1834
|
name: z.ZodString;
|
|
1339
|
-
date: z.ZodString
|
|
1835
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1340
1836
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1341
1837
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1342
1838
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1358,7 +1854,7 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1358
1854
|
} & {
|
|
1359
1855
|
entity_type: z.ZodLiteral<"meeting">;
|
|
1360
1856
|
name: z.ZodString;
|
|
1361
|
-
date: z.ZodString
|
|
1857
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1362
1858
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1363
1859
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1364
1860
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1380,7 +1876,7 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1380
1876
|
} & {
|
|
1381
1877
|
entity_type: z.ZodLiteral<"meeting">;
|
|
1382
1878
|
name: z.ZodString;
|
|
1383
|
-
date: z.ZodString
|
|
1879
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1384
1880
|
attendees: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1385
1881
|
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1386
1882
|
related_organizations: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1472,6 +1968,70 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1472
1968
|
consequences: z.ZodOptional<z.ZodString>;
|
|
1473
1969
|
enables: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1474
1970
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1971
|
+
readonly task: z.ZodObject<{
|
|
1972
|
+
entity_id: z.ZodString;
|
|
1973
|
+
created_at: z.ZodString;
|
|
1974
|
+
updated_at: z.ZodString;
|
|
1975
|
+
created_by: z.ZodString;
|
|
1976
|
+
updated_by: z.ZodString;
|
|
1977
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1978
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1979
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1980
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1981
|
+
} & {
|
|
1982
|
+
entity_type: z.ZodLiteral<"task">;
|
|
1983
|
+
name: z.ZodString;
|
|
1984
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
1985
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
1987
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
1988
|
+
project: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
1991
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1992
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1993
|
+
entity_id: z.ZodString;
|
|
1994
|
+
created_at: z.ZodString;
|
|
1995
|
+
updated_at: z.ZodString;
|
|
1996
|
+
created_by: z.ZodString;
|
|
1997
|
+
updated_by: z.ZodString;
|
|
1998
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
1999
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2000
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2001
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2002
|
+
} & {
|
|
2003
|
+
entity_type: z.ZodLiteral<"task">;
|
|
2004
|
+
name: z.ZodString;
|
|
2005
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
2006
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
2007
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
2008
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
2009
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2010
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
2011
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2013
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2014
|
+
entity_id: z.ZodString;
|
|
2015
|
+
created_at: z.ZodString;
|
|
2016
|
+
updated_at: z.ZodString;
|
|
2017
|
+
created_by: z.ZodString;
|
|
2018
|
+
updated_by: z.ZodString;
|
|
2019
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2020
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2021
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2022
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2023
|
+
} & {
|
|
2024
|
+
entity_type: z.ZodLiteral<"task">;
|
|
2025
|
+
name: z.ZodString;
|
|
2026
|
+
assignee: z.ZodOptional<z.ZodString>;
|
|
2027
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
2028
|
+
status: z.ZodDefault<z.ZodEnum<["open", "in-progress", "done", "cancelled"]>>;
|
|
2029
|
+
priority: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "urgent"]>>;
|
|
2030
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2031
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
2032
|
+
related_meeting: z.ZodOptional<z.ZodString>;
|
|
2033
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2034
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1475
2035
|
readonly brief: z.ZodObject<{
|
|
1476
2036
|
entity_id: z.ZodString;
|
|
1477
2037
|
created_at: z.ZodString;
|
|
@@ -1560,6 +2120,7 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1560
2120
|
name: z.ZodString;
|
|
1561
2121
|
type: z.ZodOptional<z.ZodString>;
|
|
1562
2122
|
project: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1563
2124
|
date_created: z.ZodOptional<z.ZodString>;
|
|
1564
2125
|
description: z.ZodOptional<z.ZodString>;
|
|
1565
2126
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1579,6 +2140,7 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1579
2140
|
name: z.ZodString;
|
|
1580
2141
|
type: z.ZodOptional<z.ZodString>;
|
|
1581
2142
|
project: z.ZodOptional<z.ZodString>;
|
|
2143
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1582
2144
|
date_created: z.ZodOptional<z.ZodString>;
|
|
1583
2145
|
description: z.ZodOptional<z.ZodString>;
|
|
1584
2146
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1598,11 +2160,76 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1598
2160
|
name: z.ZodString;
|
|
1599
2161
|
type: z.ZodOptional<z.ZodString>;
|
|
1600
2162
|
project: z.ZodOptional<z.ZodString>;
|
|
2163
|
+
deliverable: z.ZodOptional<z.ZodString>;
|
|
1601
2164
|
date_created: z.ZodOptional<z.ZodString>;
|
|
1602
2165
|
description: z.ZodOptional<z.ZodString>;
|
|
1603
2166
|
url: z.ZodOptional<z.ZodString>;
|
|
1604
2167
|
version: z.ZodOptional<z.ZodString>;
|
|
1605
2168
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2169
|
+
readonly deliverable: z.ZodObject<{
|
|
2170
|
+
entity_id: z.ZodString;
|
|
2171
|
+
created_at: z.ZodString;
|
|
2172
|
+
updated_at: z.ZodString;
|
|
2173
|
+
created_by: z.ZodString;
|
|
2174
|
+
updated_by: z.ZodString;
|
|
2175
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2176
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2177
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2178
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2179
|
+
} & {
|
|
2180
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
2181
|
+
name: z.ZodString;
|
|
2182
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2183
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
2184
|
+
contract: z.ZodOptional<z.ZodString>;
|
|
2185
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2186
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
2187
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
2189
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2190
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2191
|
+
entity_id: z.ZodString;
|
|
2192
|
+
created_at: z.ZodString;
|
|
2193
|
+
updated_at: z.ZodString;
|
|
2194
|
+
created_by: z.ZodString;
|
|
2195
|
+
updated_by: z.ZodString;
|
|
2196
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2197
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2198
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2199
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2200
|
+
} & {
|
|
2201
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
2202
|
+
name: z.ZodString;
|
|
2203
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2204
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
2205
|
+
contract: z.ZodOptional<z.ZodString>;
|
|
2206
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2207
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
2208
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
2209
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
2210
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2211
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2212
|
+
entity_id: z.ZodString;
|
|
2213
|
+
created_at: z.ZodString;
|
|
2214
|
+
updated_at: z.ZodString;
|
|
2215
|
+
created_by: z.ZodString;
|
|
2216
|
+
updated_by: z.ZodString;
|
|
2217
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2218
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2219
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2220
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2221
|
+
} & {
|
|
2222
|
+
entity_type: z.ZodLiteral<"deliverable">;
|
|
2223
|
+
name: z.ZodString;
|
|
2224
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2225
|
+
proposal: z.ZodOptional<z.ZodString>;
|
|
2226
|
+
contract: z.ZodOptional<z.ZodString>;
|
|
2227
|
+
artifacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2228
|
+
status: z.ZodDefault<z.ZodEnum<["planned", "in-progress", "delivered", "accepted", "rejected"]>>;
|
|
2229
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
2230
|
+
delivered_date: z.ZodOptional<z.ZodString>;
|
|
2231
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2232
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1606
2233
|
readonly proposal: z.ZodObject<{
|
|
1607
2234
|
entity_id: z.ZodString;
|
|
1608
2235
|
created_at: z.ZodString;
|
|
@@ -1764,6 +2391,8 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1764
2391
|
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
1765
2392
|
bio: z.ZodOptional<z.ZodString>;
|
|
1766
2393
|
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2394
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2395
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1767
2396
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1768
2397
|
entity_id: z.ZodString;
|
|
1769
2398
|
created_at: z.ZodString;
|
|
@@ -1785,6 +2414,8 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1785
2414
|
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
1786
2415
|
bio: z.ZodOptional<z.ZodString>;
|
|
1787
2416
|
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2417
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2418
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1788
2419
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1789
2420
|
entity_id: z.ZodString;
|
|
1790
2421
|
created_at: z.ZodString;
|
|
@@ -1806,6 +2437,8 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1806
2437
|
years_experience: z.ZodOptional<z.ZodNumber>;
|
|
1807
2438
|
bio: z.ZodOptional<z.ZodString>;
|
|
1808
2439
|
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2440
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2441
|
+
department: z.ZodOptional<z.ZodString>;
|
|
1809
2442
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1810
2443
|
readonly client: z.ZodObject<{
|
|
1811
2444
|
entity_id: z.ZodString;
|
|
@@ -1929,6 +2562,198 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1929
2562
|
project: z.ZodOptional<z.ZodString>;
|
|
1930
2563
|
amounts: z.ZodOptional<z.ZodString>;
|
|
1931
2564
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2565
|
+
readonly deal: z.ZodObject<{
|
|
2566
|
+
entity_id: z.ZodString;
|
|
2567
|
+
created_at: z.ZodString;
|
|
2568
|
+
updated_at: z.ZodString;
|
|
2569
|
+
created_by: z.ZodString;
|
|
2570
|
+
updated_by: z.ZodString;
|
|
2571
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2572
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2573
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2574
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2575
|
+
} & {
|
|
2576
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
2577
|
+
name: z.ZodString;
|
|
2578
|
+
client: z.ZodOptional<z.ZodString>;
|
|
2579
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2580
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
2581
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
2582
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
2583
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
2584
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
2585
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2586
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2587
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
2588
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2589
|
+
entity_id: z.ZodString;
|
|
2590
|
+
created_at: z.ZodString;
|
|
2591
|
+
updated_at: z.ZodString;
|
|
2592
|
+
created_by: z.ZodString;
|
|
2593
|
+
updated_by: z.ZodString;
|
|
2594
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2595
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2596
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2597
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2598
|
+
} & {
|
|
2599
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
2600
|
+
name: z.ZodString;
|
|
2601
|
+
client: z.ZodOptional<z.ZodString>;
|
|
2602
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2603
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
2604
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
2605
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
2606
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
2607
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
2608
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2609
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2610
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
2611
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2612
|
+
entity_id: z.ZodString;
|
|
2613
|
+
created_at: z.ZodString;
|
|
2614
|
+
updated_at: z.ZodString;
|
|
2615
|
+
created_by: z.ZodString;
|
|
2616
|
+
updated_by: z.ZodString;
|
|
2617
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2618
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2619
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2620
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2621
|
+
} & {
|
|
2622
|
+
entity_type: z.ZodLiteral<"deal">;
|
|
2623
|
+
name: z.ZodString;
|
|
2624
|
+
client: z.ZodOptional<z.ZodString>;
|
|
2625
|
+
contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2626
|
+
stage: z.ZodDefault<z.ZodEnum<["scoping", "proposal", "negotiating", "won", "lost"]>>;
|
|
2627
|
+
deal_value: z.ZodOptional<z.ZodNumber>;
|
|
2628
|
+
probability: z.ZodOptional<z.ZodNumber>;
|
|
2629
|
+
expected_close: z.ZodOptional<z.ZodString>;
|
|
2630
|
+
source: z.ZodOptional<z.ZodEnum<["referral", "inbound", "outbound", "repeat", "partner", "other"]>>;
|
|
2631
|
+
proposals: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2632
|
+
project: z.ZodOptional<z.ZodString>;
|
|
2633
|
+
lost_reason: z.ZodOptional<z.ZodString>;
|
|
2634
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2635
|
+
readonly vendor: z.ZodObject<{
|
|
2636
|
+
entity_id: z.ZodString;
|
|
2637
|
+
created_at: z.ZodString;
|
|
2638
|
+
updated_at: z.ZodString;
|
|
2639
|
+
created_by: z.ZodString;
|
|
2640
|
+
updated_by: z.ZodString;
|
|
2641
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2642
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2643
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2644
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2645
|
+
} & {
|
|
2646
|
+
entity_type: z.ZodLiteral<"vendor">;
|
|
2647
|
+
name: z.ZodString;
|
|
2648
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
2649
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
2650
|
+
contact_name: z.ZodOptional<z.ZodString>;
|
|
2651
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2652
|
+
website: z.ZodOptional<z.ZodString>;
|
|
2653
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2654
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2655
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2656
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2657
|
+
entity_id: z.ZodString;
|
|
2658
|
+
created_at: z.ZodString;
|
|
2659
|
+
updated_at: z.ZodString;
|
|
2660
|
+
created_by: z.ZodString;
|
|
2661
|
+
updated_by: z.ZodString;
|
|
2662
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2663
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2664
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2665
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2666
|
+
} & {
|
|
2667
|
+
entity_type: z.ZodLiteral<"vendor">;
|
|
2668
|
+
name: z.ZodString;
|
|
2669
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
2670
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
2671
|
+
contact_name: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2673
|
+
website: z.ZodOptional<z.ZodString>;
|
|
2674
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2675
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2676
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2677
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2678
|
+
entity_id: z.ZodString;
|
|
2679
|
+
created_at: z.ZodString;
|
|
2680
|
+
updated_at: z.ZodString;
|
|
2681
|
+
created_by: z.ZodString;
|
|
2682
|
+
updated_by: z.ZodString;
|
|
2683
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2684
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2685
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2686
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2687
|
+
} & {
|
|
2688
|
+
entity_type: z.ZodLiteral<"vendor">;
|
|
2689
|
+
name: z.ZodString;
|
|
2690
|
+
type: z.ZodOptional<z.ZodEnum<["freelancer", "agency", "supplier", "platform", "partner", "other"]>>;
|
|
2691
|
+
status: z.ZodDefault<z.ZodEnum<["active", "inactive", "preferred"]>>;
|
|
2692
|
+
contact_name: z.ZodOptional<z.ZodString>;
|
|
2693
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2694
|
+
website: z.ZodOptional<z.ZodString>;
|
|
2695
|
+
services: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2696
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2697
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2698
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2699
|
+
readonly role: z.ZodObject<{
|
|
2700
|
+
entity_id: z.ZodString;
|
|
2701
|
+
created_at: z.ZodString;
|
|
2702
|
+
updated_at: z.ZodString;
|
|
2703
|
+
created_by: z.ZodString;
|
|
2704
|
+
updated_by: z.ZodString;
|
|
2705
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2706
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2707
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2708
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2709
|
+
} & {
|
|
2710
|
+
entity_type: z.ZodLiteral<"role">;
|
|
2711
|
+
title: z.ZodString;
|
|
2712
|
+
department: z.ZodOptional<z.ZodString>;
|
|
2713
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
2714
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
2715
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
2716
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2717
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2718
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2719
|
+
entity_id: z.ZodString;
|
|
2720
|
+
created_at: z.ZodString;
|
|
2721
|
+
updated_at: z.ZodString;
|
|
2722
|
+
created_by: z.ZodString;
|
|
2723
|
+
updated_by: z.ZodString;
|
|
2724
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2725
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2726
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2727
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2728
|
+
} & {
|
|
2729
|
+
entity_type: z.ZodLiteral<"role">;
|
|
2730
|
+
title: z.ZodString;
|
|
2731
|
+
department: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
2733
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
2734
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
2735
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2736
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2737
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2738
|
+
entity_id: z.ZodString;
|
|
2739
|
+
created_at: z.ZodString;
|
|
2740
|
+
updated_at: z.ZodString;
|
|
2741
|
+
created_by: z.ZodString;
|
|
2742
|
+
updated_by: z.ZodString;
|
|
2743
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
2744
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2745
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2746
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2747
|
+
} & {
|
|
2748
|
+
entity_type: z.ZodLiteral<"role">;
|
|
2749
|
+
title: z.ZodString;
|
|
2750
|
+
department: z.ZodOptional<z.ZodString>;
|
|
2751
|
+
level: z.ZodOptional<z.ZodNumber>;
|
|
2752
|
+
type: z.ZodOptional<z.ZodEnum<["staff", "contractor", "intern"]>>;
|
|
2753
|
+
status: z.ZodDefault<z.ZodEnum<["active", "archived"]>>;
|
|
2754
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2755
|
+
reports_to: z.ZodOptional<z.ZodString>;
|
|
2756
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1932
2757
|
readonly template: z.ZodObject<{
|
|
1933
2758
|
entity_id: z.ZodString;
|
|
1934
2759
|
created_at: z.ZodString;
|
|
@@ -1998,6 +2823,8 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
1998
2823
|
steps: z.ZodOptional<z.ZodString>;
|
|
1999
2824
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2000
2825
|
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2826
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
2827
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
2001
2828
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2002
2829
|
entity_id: z.ZodString;
|
|
2003
2830
|
created_at: z.ZodString;
|
|
@@ -2015,6 +2842,8 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
2015
2842
|
steps: z.ZodOptional<z.ZodString>;
|
|
2016
2843
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2017
2844
|
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2845
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
2846
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
2018
2847
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2019
2848
|
entity_id: z.ZodString;
|
|
2020
2849
|
created_at: z.ZodString;
|
|
@@ -2032,6 +2861,8 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
2032
2861
|
steps: z.ZodOptional<z.ZodString>;
|
|
2033
2862
|
related_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2034
2863
|
related_templates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2864
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
review_cycle: z.ZodOptional<z.ZodEnum<["monthly", "quarterly", "annual", "as-needed"]>>;
|
|
2035
2866
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2036
2867
|
readonly standard: z.ZodObject<{
|
|
2037
2868
|
entity_id: z.ZodString;
|
|
@@ -2204,6 +3035,116 @@ export declare const ENTITY_SCHEMAS: {
|
|
|
2204
3035
|
related_frameworks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2205
3036
|
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2206
3037
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3038
|
+
readonly 'practice-area': z.ZodObject<{
|
|
3039
|
+
entity_id: z.ZodString;
|
|
3040
|
+
created_at: z.ZodString;
|
|
3041
|
+
updated_at: z.ZodString;
|
|
3042
|
+
created_by: z.ZodString;
|
|
3043
|
+
updated_by: z.ZodString;
|
|
3044
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3045
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3046
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3047
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3048
|
+
} & {
|
|
3049
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
3050
|
+
name: z.ZodString;
|
|
3051
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3052
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3053
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3054
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3055
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3056
|
+
entity_id: z.ZodString;
|
|
3057
|
+
created_at: z.ZodString;
|
|
3058
|
+
updated_at: z.ZodString;
|
|
3059
|
+
created_by: z.ZodString;
|
|
3060
|
+
updated_by: z.ZodString;
|
|
3061
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3062
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3063
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3064
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3065
|
+
} & {
|
|
3066
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
3067
|
+
name: z.ZodString;
|
|
3068
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3069
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3070
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3071
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3072
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3073
|
+
entity_id: z.ZodString;
|
|
3074
|
+
created_at: z.ZodString;
|
|
3075
|
+
updated_at: z.ZodString;
|
|
3076
|
+
created_by: z.ZodString;
|
|
3077
|
+
updated_by: z.ZodString;
|
|
3078
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3079
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3080
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3081
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3082
|
+
} & {
|
|
3083
|
+
entity_type: z.ZodLiteral<"practice-area">;
|
|
3084
|
+
name: z.ZodString;
|
|
3085
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3087
|
+
related_case_studies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3088
|
+
related_projects: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3089
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
3090
|
+
readonly 'case-study': z.ZodObject<{
|
|
3091
|
+
entity_id: z.ZodString;
|
|
3092
|
+
created_at: z.ZodString;
|
|
3093
|
+
updated_at: z.ZodString;
|
|
3094
|
+
created_by: z.ZodString;
|
|
3095
|
+
updated_by: z.ZodString;
|
|
3096
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3097
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3098
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3099
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3100
|
+
} & {
|
|
3101
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
3102
|
+
title: z.ZodString;
|
|
3103
|
+
client: z.ZodOptional<z.ZodString>;
|
|
3104
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
3105
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3106
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3107
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
3108
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3109
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3110
|
+
entity_id: z.ZodString;
|
|
3111
|
+
created_at: z.ZodString;
|
|
3112
|
+
updated_at: z.ZodString;
|
|
3113
|
+
created_by: z.ZodString;
|
|
3114
|
+
updated_by: z.ZodString;
|
|
3115
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3116
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3117
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3118
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3119
|
+
} & {
|
|
3120
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
3121
|
+
title: z.ZodString;
|
|
3122
|
+
client: z.ZodOptional<z.ZodString>;
|
|
3123
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
3124
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3125
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3126
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3128
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3129
|
+
entity_id: z.ZodString;
|
|
3130
|
+
created_at: z.ZodString;
|
|
3131
|
+
updated_at: z.ZodString;
|
|
3132
|
+
created_by: z.ZodString;
|
|
3133
|
+
updated_by: z.ZodString;
|
|
3134
|
+
visibility: z.ZodDefault<z.ZodEnum<["public", "team", "admin", "restricted"]>>;
|
|
3135
|
+
restricted_to: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3136
|
+
sensitive_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3137
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3138
|
+
} & {
|
|
3139
|
+
entity_type: z.ZodLiteral<"case-study">;
|
|
3140
|
+
title: z.ZodString;
|
|
3141
|
+
client: z.ZodOptional<z.ZodString>;
|
|
3142
|
+
year: z.ZodOptional<z.ZodNumber>;
|
|
3143
|
+
practice_areas: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3144
|
+
sectors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3145
|
+
website_url: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3147
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2207
3148
|
readonly dataset: z.ZodObject<{
|
|
2208
3149
|
entity_id: z.ZodString;
|
|
2209
3150
|
created_at: z.ZodString;
|