@elevasis/core 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1326 -552
- package/dist/index.js +869 -154
- package/dist/knowledge/index.d.ts +487 -209
- package/dist/knowledge/index.js +104 -1
- package/dist/organization-model/index.d.ts +1326 -552
- package/dist/organization-model/index.js +869 -154
- package/dist/test-utils/index.d.ts +357 -72
- package/dist/test-utils/index.js +795 -142
- package/package.json +5 -5
- package/src/README.md +14 -14
- package/src/__tests__/publish.test.ts +24 -24
- package/src/__tests__/template-core-compatibility.test.ts +9 -12
- package/src/_gen/__tests__/__snapshots__/contracts.md.snap +2102 -2096
- package/src/_gen/__tests__/scaffold-contracts.test.ts +30 -30
- package/src/auth/multi-tenancy/credentials/__tests__/encryption.test.ts +217 -217
- package/src/auth/multi-tenancy/credentials/server/encryption.ts +69 -69
- package/src/auth/multi-tenancy/credentials/server/kek-loader.ts +37 -37
- package/src/auth/multi-tenancy/index.ts +26 -26
- package/src/auth/multi-tenancy/invitations/api-schemas.ts +104 -104
- package/src/auth/multi-tenancy/memberships/api-schemas.ts +143 -143
- package/src/auth/multi-tenancy/memberships/index.ts +26 -26
- package/src/auth/multi-tenancy/memberships/membership.ts +130 -130
- package/src/auth/multi-tenancy/organizations/__tests__/api-schemas.test.ts +194 -194
- package/src/auth/multi-tenancy/organizations/api-schemas.ts +136 -136
- package/src/auth/multi-tenancy/permissions.test.ts +42 -42
- package/src/auth/multi-tenancy/permissions.ts +123 -123
- package/src/auth/multi-tenancy/role-management/api-schemas.ts +78 -78
- package/src/auth/multi-tenancy/role-management/index.ts +16 -16
- package/src/auth/multi-tenancy/theme-presets.ts +45 -45
- package/src/auth/multi-tenancy/types.ts +57 -57
- package/src/auth/multi-tenancy/users/api-schemas.ts +165 -165
- package/src/business/README.md +2 -2
- package/src/business/acquisition/activity-events.test.ts +250 -250
- package/src/business/acquisition/activity-events.ts +93 -93
- package/src/business/acquisition/api-schemas.test.ts +1883 -1843
- package/src/business/acquisition/api-schemas.ts +1492 -1497
- package/src/business/acquisition/build-templates.test.ts +240 -240
- package/src/business/acquisition/build-templates.ts +98 -98
- package/src/business/acquisition/crm-next-action.test.ts +262 -262
- package/src/business/acquisition/crm-next-action.ts +220 -220
- package/src/business/acquisition/crm-priority.test.ts +216 -216
- package/src/business/acquisition/crm-priority.ts +349 -349
- package/src/business/acquisition/crm-state-actions.test.ts +153 -153
- package/src/business/acquisition/deal-ownership.test.ts +351 -351
- package/src/business/acquisition/deal-ownership.ts +120 -120
- package/src/business/acquisition/derive-actions.test.ts +129 -104
- package/src/business/acquisition/derive-actions.ts +74 -84
- package/src/business/acquisition/index.ts +171 -170
- package/src/business/acquisition/ontology-validation.ts +309 -0
- package/src/business/acquisition/stateful.ts +30 -30
- package/src/business/acquisition/types.ts +396 -396
- package/src/business/clients/api-schemas.test.ts +115 -115
- package/src/business/clients/api-schemas.ts +158 -158
- package/src/business/clients/index.ts +1 -1
- package/src/business/crm/api-schemas.ts +40 -40
- package/src/business/crm/index.ts +1 -1
- package/src/business/deals/api-schemas.ts +87 -87
- package/src/business/deals/index.ts +1 -1
- package/src/business/index.ts +5 -5
- package/src/business/projects/types.ts +144 -144
- package/src/commands/queue/types/task.ts +15 -15
- package/src/execution/core/runner-types.ts +61 -61
- package/src/execution/core/sse-executions.ts +7 -7
- package/src/execution/engine/__tests__/fixtures/test-agents.ts +10 -10
- package/src/execution/engine/agent/core/__tests__/agent.test.ts +16 -16
- package/src/execution/engine/agent/core/__tests__/error-passthrough.test.ts +4 -4
- package/src/execution/engine/agent/core/types.ts +25 -25
- package/src/execution/engine/agent/index.ts +6 -6
- package/src/execution/engine/agent/reasoning/__tests__/request-builder.test.ts +24 -24
- package/src/execution/engine/index.ts +443 -443
- package/src/execution/engine/tools/integration/server/adapters/apify/__tests__/apify-run-actor.integration.test.ts +298 -298
- package/src/execution/engine/tools/integration/server/adapters/apify/apify-adapter.test.ts +55 -55
- package/src/execution/engine/tools/integration/server/adapters/apify/apify-adapter.ts +107 -107
- package/src/execution/engine/tools/integration/server/adapters/apollo/apollo-adapter.test.ts +48 -48
- package/src/execution/engine/tools/integration/server/adapters/apollo/apollo-adapter.ts +99 -99
- package/src/execution/engine/tools/integration/server/adapters/apollo/index.ts +1 -1
- package/src/execution/engine/tools/integration/server/adapters/attio/__tests__/attio-crud.integration.test.ts +363 -363
- package/src/execution/engine/tools/integration/server/adapters/attio/fetch/get-record/index.test.ts +162 -162
- package/src/execution/engine/tools/integration/server/adapters/attio/fetch/list-records/index.test.ts +316 -316
- package/src/execution/engine/tools/integration/server/adapters/clickup/clickup-adapter.test.ts +18 -18
- package/src/execution/engine/tools/integration/server/adapters/clickup/clickup-adapter.ts +194 -194
- package/src/execution/engine/tools/integration/server/adapters/clickup/index.ts +7 -7
- package/src/execution/engine/tools/integration/server/adapters/gmail/gmail-adapter.ts +204 -204
- package/src/execution/engine/tools/integration/server/adapters/gmail/gmail-tools.ts +105 -105
- package/src/execution/engine/tools/integration/server/adapters/google-calendar/google-calendar-adapter.ts +428 -428
- package/src/execution/engine/tools/integration/server/adapters/google-calendar/index.ts +2 -2
- package/src/execution/engine/tools/integration/server/adapters/google-sheets/__tests__/google-sheets.integration.test.ts +261 -261
- package/src/execution/engine/tools/integration/server/adapters/instantly/instantly-tools.ts +1474 -1474
- package/src/execution/engine/tools/integration/server/adapters/millionverifier/millionverifier-tools.ts +103 -103
- package/src/execution/engine/tools/integration/server/adapters/resend/fetch/send-email/index.test.ts +88 -88
- package/src/execution/engine/tools/integration/server/adapters/resend/fetch/send-email/index.ts +141 -141
- package/src/execution/engine/tools/integration/server/adapters/resend/fetch/utils/types.ts +76 -76
- package/src/execution/engine/tools/integration/server/adapters/signature-api/signature-api-tools.ts +182 -182
- package/src/execution/engine/tools/integration/server/adapters/stripe/stripe-tools.ts +310 -310
- package/src/execution/engine/tools/integration/service.test.ts +239 -239
- package/src/execution/engine/tools/integration/service.ts +172 -172
- package/src/execution/engine/tools/integration/tool.ts +255 -255
- package/src/execution/engine/tools/lead-service-types.ts +1005 -1005
- package/src/execution/engine/tools/messages.ts +43 -43
- package/src/execution/engine/tools/platform/acquisition/company-tools.ts +7 -7
- package/src/execution/engine/tools/platform/acquisition/contact-tools.ts +6 -6
- package/src/execution/engine/tools/platform/acquisition/list-tools.ts +6 -6
- package/src/execution/engine/tools/platform/acquisition/types.ts +280 -280
- package/src/execution/engine/tools/platform/email/types.ts +97 -97
- package/src/execution/engine/tools/registry.ts +704 -704
- package/src/execution/engine/tools/tool-maps.ts +831 -831
- package/src/execution/engine/tools/types.ts +234 -234
- package/src/execution/engine/workflow/types.ts +202 -202
- package/src/execution/external/__tests__/api-schemas.test.ts +127 -127
- package/src/execution/external/api-schemas.ts +40 -40
- package/src/execution/external/index.ts +1 -1
- package/src/index.ts +18 -18
- package/src/integrations/credentials/__tests__/api-schemas.test.ts +420 -420
- package/src/integrations/credentials/api-schemas.ts +146 -146
- package/src/integrations/credentials/schemas.ts +200 -200
- package/src/integrations/oauth/__tests__/provider-registry.test.ts +7 -7
- package/src/integrations/oauth/provider-registry.ts +74 -74
- package/src/integrations/oauth/server/credentials.ts +43 -43
- package/src/integrations/webhook-endpoints/__tests__/api-schemas.test.ts +327 -327
- package/src/integrations/webhook-endpoints/api-schemas.ts +103 -103
- package/src/integrations/webhook-endpoints/types.ts +58 -58
- package/src/knowledge/README.md +32 -32
- package/src/knowledge/__tests__/queries.test.ts +626 -535
- package/src/knowledge/format.ts +99 -99
- package/src/knowledge/index.ts +5 -5
- package/src/knowledge/published.ts +5 -5
- package/src/knowledge/queries.ts +269 -218
- package/src/operations/activities/api-schemas.ts +80 -80
- package/src/operations/activities/types.ts +64 -64
- package/src/organization-model/README.md +149 -149
- package/src/organization-model/__tests__/content-kinds-registry.test.ts +210 -210
- package/src/organization-model/__tests__/defaults.test.ts +168 -168
- package/src/organization-model/__tests__/domains/actions.test.ts +78 -56
- package/src/organization-model/__tests__/domains/customers.test.ts +299 -299
- package/src/organization-model/__tests__/domains/entities.test.ts +56 -56
- package/src/organization-model/__tests__/domains/goals.test.ts +493 -493
- package/src/organization-model/__tests__/domains/identity.test.ts +280 -280
- package/src/organization-model/__tests__/domains/navigation.test.ts +268 -268
- package/src/organization-model/__tests__/domains/offerings.test.ts +414 -414
- package/src/organization-model/__tests__/domains/policies.test.ts +323 -323
- package/src/organization-model/__tests__/domains/resource-mappings.test.ts +293 -293
- package/src/organization-model/__tests__/domains/resources.test.ts +382 -283
- package/src/organization-model/__tests__/domains/roles.test.ts +463 -463
- package/src/organization-model/__tests__/domains/statuses.test.ts +246 -246
- package/src/organization-model/__tests__/domains/systems.test.ts +209 -209
- package/src/organization-model/__tests__/flatten-additive-merge.test.ts +362 -361
- package/src/organization-model/__tests__/foundation.test.ts +77 -77
- package/src/organization-model/__tests__/get-resources-for-system.test.ts +144 -144
- package/src/organization-model/__tests__/graph.test.ts +1246 -887
- package/src/organization-model/__tests__/icons.test.ts +10 -1
- package/src/organization-model/__tests__/knowledge.test.ts +251 -15
- package/src/organization-model/__tests__/lookup-helpers.test.ts +438 -438
- package/src/organization-model/__tests__/migration-helpers.test.ts +591 -591
- package/src/organization-model/__tests__/prospecting-ssot.test.ts +103 -103
- package/src/organization-model/__tests__/recursive-system-schema.test.ts +535 -506
- package/src/organization-model/__tests__/resolve.test.ts +274 -164
- package/src/organization-model/__tests__/schema.test.ts +834 -301
- package/src/organization-model/__tests__/surface-projection.test.ts +284 -284
- package/src/organization-model/catalogs/lead-gen.ts +144 -144
- package/src/organization-model/content-kinds/config.ts +36 -36
- package/src/organization-model/content-kinds/index.ts +76 -72
- package/src/organization-model/content-kinds/pipeline.ts +68 -68
- package/src/organization-model/content-kinds/registry.ts +44 -44
- package/src/organization-model/content-kinds/status.ts +71 -71
- package/src/organization-model/content-kinds/template.ts +83 -83
- package/src/organization-model/content-kinds/types.ts +117 -117
- package/src/organization-model/contracts.ts +27 -27
- package/src/organization-model/defaults.ts +40 -50
- package/src/organization-model/domains/actions.ts +333 -239
- package/src/organization-model/domains/customers.ts +78 -78
- package/src/organization-model/domains/entities.ts +144 -144
- package/src/organization-model/domains/goals.ts +83 -83
- package/src/organization-model/domains/knowledge.ts +117 -101
- package/src/organization-model/domains/navigation.ts +139 -139
- package/src/organization-model/domains/offerings.ts +71 -71
- package/src/organization-model/domains/policies.ts +102 -102
- package/src/organization-model/domains/projects.ts +14 -14
- package/src/organization-model/domains/prospecting.ts +395 -395
- package/src/organization-model/domains/resources.ts +167 -132
- package/src/organization-model/domains/roles.ts +96 -96
- package/src/organization-model/domains/sales.test.ts +218 -218
- package/src/organization-model/domains/sales.ts +380 -380
- package/src/organization-model/domains/shared.ts +63 -63
- package/src/organization-model/domains/statuses.ts +339 -339
- package/src/organization-model/domains/systems.ts +217 -172
- package/src/organization-model/foundation.ts +75 -75
- package/src/organization-model/graph/build.ts +1016 -888
- package/src/organization-model/graph/index.ts +4 -4
- package/src/organization-model/graph/link.ts +10 -10
- package/src/organization-model/graph/schema.ts +76 -70
- package/src/organization-model/graph/types.ts +73 -67
- package/src/organization-model/helpers.ts +289 -241
- package/src/organization-model/icons.ts +78 -66
- package/src/organization-model/index.ts +130 -128
- package/src/organization-model/migration-helpers.ts +247 -244
- package/src/organization-model/ontology.ts +661 -0
- package/src/organization-model/organization-graph.mdx +110 -90
- package/src/organization-model/organization-model.mdx +226 -219
- package/src/organization-model/published.ts +289 -235
- package/src/organization-model/resolve.ts +146 -91
- package/src/organization-model/schema.ts +790 -671
- package/src/organization-model/surface-projection.ts +212 -212
- package/src/organization-model/types.ts +177 -167
- package/src/platform/api/types.ts +38 -38
- package/src/platform/constants/versions.ts +3 -3
- package/src/platform/index.ts +23 -23
- package/src/platform/registry/__tests__/command-view.test.ts +10 -10
- package/src/platform/registry/__tests__/resource-link.test.ts +35 -35
- package/src/platform/registry/__tests__/resource-registry.integration.test.ts +20 -20
- package/src/platform/registry/__tests__/resource-registry.nested-systems.test.ts +245 -245
- package/src/platform/registry/__tests__/resource-registry.test.ts +2053 -2053
- package/src/platform/registry/__tests__/validation.test.ts +1347 -1347
- package/src/platform/registry/command-view.ts +10 -10
- package/src/platform/registry/index.ts +103 -103
- package/src/platform/registry/resource-link.ts +32 -32
- package/src/platform/registry/resource-registry.ts +890 -890
- package/src/platform/registry/serialization.ts +295 -295
- package/src/platform/registry/serialized-types.ts +166 -166
- package/src/platform/registry/stats-types.ts +68 -68
- package/src/platform/registry/types.ts +425 -425
- package/src/platform/registry/validation.ts +745 -745
- package/src/platform/utils/__tests__/validation.test.ts +1084 -1084
- package/src/platform/utils/validation.ts +425 -425
- package/src/projects/api-schemas.test.ts +39 -39
- package/src/projects/api-schemas.ts +291 -291
- package/src/reference/_generated/contracts.md +2101 -2096
- package/src/reference/glossary.md +76 -76
- package/src/scaffold-registry/__tests__/index.test.ts +206 -206
- package/src/scaffold-registry/__tests__/schema.test.ts +166 -166
- package/src/scaffold-registry/index.ts +392 -392
- package/src/scaffold-registry/schema.ts +243 -243
- package/src/server.ts +289 -289
- package/src/supabase/database.types.ts +3153 -3153
- package/src/test-utils/README.md +37 -37
- package/src/test-utils/entities.ts +108 -108
- package/src/test-utils/fixtures/memberships.ts +82 -82
- package/src/test-utils/index.ts +12 -12
- package/src/test-utils/organization-model.ts +65 -65
- package/src/test-utils/published.ts +6 -6
- package/src/test-utils/rls/RLSTestContext.ts +588 -588
- package/src/test-utils/test-utils.test.ts +44 -44
package/dist/index.d.ts
CHANGED
|
@@ -1,94 +1,409 @@
|
|
|
1
1
|
import { z, ZodType } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const OntologyKindSchema: z.ZodEnum<{
|
|
4
|
+
object: "object";
|
|
5
|
+
action: "action";
|
|
6
|
+
link: "link";
|
|
7
|
+
catalog: "catalog";
|
|
8
|
+
event: "event";
|
|
9
|
+
interface: "interface";
|
|
10
|
+
"value-type": "value-type";
|
|
11
|
+
property: "property";
|
|
12
|
+
group: "group";
|
|
13
|
+
surface: "surface";
|
|
14
|
+
}>;
|
|
15
|
+
type OntologyKind = z.infer<typeof OntologyKindSchema>;
|
|
16
|
+
declare const OntologyIdSchema: z.ZodString;
|
|
17
|
+
type OntologyId = z.infer<typeof OntologyIdSchema>;
|
|
18
|
+
type ParsedOntologyId = {
|
|
19
|
+
id: OntologyId;
|
|
20
|
+
scope: string;
|
|
21
|
+
kind: OntologyKind;
|
|
22
|
+
localId: string;
|
|
23
|
+
isGlobal: boolean;
|
|
24
|
+
};
|
|
25
|
+
declare function parseOntologyId(id: string): ParsedOntologyId;
|
|
26
|
+
declare function formatOntologyId(input: {
|
|
27
|
+
scope: string;
|
|
28
|
+
kind: OntologyKind;
|
|
29
|
+
localId: string;
|
|
30
|
+
}): OntologyId;
|
|
31
|
+
declare const OntologyObjectTypeSchema: z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
label: z.ZodOptional<z.ZodString>;
|
|
34
|
+
description: z.ZodOptional<z.ZodString>;
|
|
35
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
36
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
|
+
declare const OntologyLinkTypeSchema: z.ZodObject<{
|
|
41
|
+
id: z.ZodString;
|
|
42
|
+
label: z.ZodOptional<z.ZodString>;
|
|
43
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
+
from: z.ZodString;
|
|
47
|
+
to: z.ZodString;
|
|
48
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
49
|
+
via: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$loose>;
|
|
51
|
+
declare const OntologyActionTypeSchema: z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
label: z.ZodOptional<z.ZodString>;
|
|
54
|
+
description: z.ZodOptional<z.ZodString>;
|
|
55
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
56
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
58
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
59
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
60
|
+
}, z.core.$loose>;
|
|
61
|
+
declare const OntologyCatalogTypeSchema: z.ZodObject<{
|
|
62
|
+
id: z.ZodString;
|
|
63
|
+
label: z.ZodOptional<z.ZodString>;
|
|
64
|
+
description: z.ZodOptional<z.ZodString>;
|
|
65
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
66
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
67
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
68
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
69
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
70
|
+
}, z.core.$loose>;
|
|
71
|
+
declare const OntologyEventTypeSchema: z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
label: z.ZodOptional<z.ZodString>;
|
|
74
|
+
description: z.ZodOptional<z.ZodString>;
|
|
75
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
77
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
78
|
+
}, z.core.$loose>;
|
|
79
|
+
declare const OntologyInterfaceTypeSchema: z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
label: z.ZodOptional<z.ZodString>;
|
|
82
|
+
description: z.ZodOptional<z.ZodString>;
|
|
83
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
84
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
85
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
86
|
+
}, z.core.$loose>;
|
|
87
|
+
declare const OntologyValueTypeSchema: z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
label: z.ZodOptional<z.ZodString>;
|
|
90
|
+
description: z.ZodOptional<z.ZodString>;
|
|
91
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
92
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
93
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$loose>;
|
|
95
|
+
declare const OntologySharedPropertySchema: z.ZodObject<{
|
|
96
|
+
id: z.ZodString;
|
|
97
|
+
label: z.ZodOptional<z.ZodString>;
|
|
98
|
+
description: z.ZodOptional<z.ZodString>;
|
|
99
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
100
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
102
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
}, z.core.$loose>;
|
|
105
|
+
declare const OntologyGroupSchema: z.ZodObject<{
|
|
106
|
+
id: z.ZodString;
|
|
107
|
+
label: z.ZodOptional<z.ZodString>;
|
|
108
|
+
description: z.ZodOptional<z.ZodString>;
|
|
109
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
110
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
112
|
+
}, z.core.$loose>;
|
|
113
|
+
declare const OntologySurfaceTypeSchema: z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
label: z.ZodOptional<z.ZodString>;
|
|
116
|
+
description: z.ZodOptional<z.ZodString>;
|
|
117
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
+
route: z.ZodOptional<z.ZodString>;
|
|
120
|
+
}, z.core.$loose>;
|
|
121
|
+
declare const OntologyScopeSchema: z.ZodDefault<z.ZodObject<{
|
|
122
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
label: z.ZodOptional<z.ZodString>;
|
|
125
|
+
description: z.ZodOptional<z.ZodString>;
|
|
126
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
127
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
128
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
129
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
130
|
+
}, z.core.$loose>>>>;
|
|
131
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
132
|
+
id: z.ZodString;
|
|
133
|
+
label: z.ZodOptional<z.ZodString>;
|
|
134
|
+
description: z.ZodOptional<z.ZodString>;
|
|
135
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
136
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
|
+
from: z.ZodString;
|
|
138
|
+
to: z.ZodString;
|
|
139
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
140
|
+
via: z.ZodOptional<z.ZodString>;
|
|
141
|
+
}, z.core.$loose>>>>;
|
|
142
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
143
|
+
id: z.ZodString;
|
|
144
|
+
label: z.ZodOptional<z.ZodString>;
|
|
145
|
+
description: z.ZodOptional<z.ZodString>;
|
|
146
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
147
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
149
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
150
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
151
|
+
}, z.core.$loose>>>>;
|
|
152
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
153
|
+
id: z.ZodString;
|
|
154
|
+
label: z.ZodOptional<z.ZodString>;
|
|
155
|
+
description: z.ZodOptional<z.ZodString>;
|
|
156
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
157
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
158
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
159
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
160
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
161
|
+
}, z.core.$loose>>>>;
|
|
162
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
163
|
+
id: z.ZodString;
|
|
164
|
+
label: z.ZodOptional<z.ZodString>;
|
|
165
|
+
description: z.ZodOptional<z.ZodString>;
|
|
166
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
168
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
169
|
+
}, z.core.$loose>>>>;
|
|
170
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
label: z.ZodOptional<z.ZodString>;
|
|
173
|
+
description: z.ZodOptional<z.ZodString>;
|
|
174
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
175
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
176
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
177
|
+
}, z.core.$loose>>>>;
|
|
178
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
label: z.ZodOptional<z.ZodString>;
|
|
181
|
+
description: z.ZodOptional<z.ZodString>;
|
|
182
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
183
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
184
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
185
|
+
}, z.core.$loose>>>>;
|
|
186
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
label: z.ZodOptional<z.ZodString>;
|
|
189
|
+
description: z.ZodOptional<z.ZodString>;
|
|
190
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
191
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
192
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
193
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
}, z.core.$loose>>>>;
|
|
196
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
197
|
+
id: z.ZodString;
|
|
198
|
+
label: z.ZodOptional<z.ZodString>;
|
|
199
|
+
description: z.ZodOptional<z.ZodString>;
|
|
200
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
201
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
202
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
203
|
+
}, z.core.$loose>>>>;
|
|
204
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
205
|
+
id: z.ZodString;
|
|
206
|
+
label: z.ZodOptional<z.ZodString>;
|
|
207
|
+
description: z.ZodOptional<z.ZodString>;
|
|
208
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
209
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
|
+
route: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.core.$loose>>>>;
|
|
212
|
+
}, z.core.$strip>>;
|
|
213
|
+
declare const DEFAULT_ONTOLOGY_SCOPE: OntologyScope;
|
|
214
|
+
type OntologyObjectType = z.infer<typeof OntologyObjectTypeSchema>;
|
|
215
|
+
type OntologyLinkType = z.infer<typeof OntologyLinkTypeSchema>;
|
|
216
|
+
type OntologyActionType = z.infer<typeof OntologyActionTypeSchema>;
|
|
217
|
+
type OntologyCatalogType = z.infer<typeof OntologyCatalogTypeSchema>;
|
|
218
|
+
type OntologyEventType = z.infer<typeof OntologyEventTypeSchema>;
|
|
219
|
+
type OntologyInterfaceType = z.infer<typeof OntologyInterfaceTypeSchema>;
|
|
220
|
+
type OntologyValueType = z.infer<typeof OntologyValueTypeSchema>;
|
|
221
|
+
type OntologySharedProperty = z.infer<typeof OntologySharedPropertySchema>;
|
|
222
|
+
type OntologyGroup = z.infer<typeof OntologyGroupSchema>;
|
|
223
|
+
type OntologySurfaceType = z.infer<typeof OntologySurfaceTypeSchema>;
|
|
224
|
+
type OntologyScope = z.infer<typeof OntologyScopeSchema>;
|
|
225
|
+
type ResolvedOntologyIndex = {
|
|
226
|
+
objectTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyObjectType>>;
|
|
227
|
+
linkTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyLinkType>>;
|
|
228
|
+
actionTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyActionType>>;
|
|
229
|
+
catalogTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyCatalogType>>;
|
|
230
|
+
eventTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyEventType>>;
|
|
231
|
+
interfaceTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyInterfaceType>>;
|
|
232
|
+
valueTypes: Record<OntologyId, ResolvedOntologyRecord<OntologyValueType>>;
|
|
233
|
+
sharedProperties: Record<OntologyId, ResolvedOntologyRecord<OntologySharedProperty>>;
|
|
234
|
+
groups: Record<OntologyId, ResolvedOntologyRecord<OntologyGroup>>;
|
|
235
|
+
surfaces: Record<OntologyId, ResolvedOntologyRecord<OntologySurfaceType>>;
|
|
236
|
+
};
|
|
237
|
+
type OntologyRecordOrigin = {
|
|
238
|
+
kind: 'authored' | 'projected';
|
|
239
|
+
source: string;
|
|
240
|
+
path: Array<string | number>;
|
|
241
|
+
systemPath?: string;
|
|
242
|
+
legacyId?: string;
|
|
243
|
+
};
|
|
244
|
+
type ResolvedOntologyRecord<TRecord> = TRecord & {
|
|
245
|
+
origin: OntologyRecordOrigin;
|
|
246
|
+
};
|
|
247
|
+
type OntologyDiagnostic = {
|
|
248
|
+
code: 'duplicate_ontology_id' | 'invalid_ontology_id' | 'ontology_kind_mismatch';
|
|
249
|
+
message: string;
|
|
250
|
+
id: string;
|
|
251
|
+
path: Array<string | number>;
|
|
252
|
+
source: string;
|
|
253
|
+
origin: OntologyRecordOrigin;
|
|
254
|
+
existingSource?: string;
|
|
255
|
+
existingOrigin?: OntologyRecordOrigin;
|
|
256
|
+
};
|
|
257
|
+
type OntologyCompilation = {
|
|
258
|
+
ontology: ResolvedOntologyIndex;
|
|
259
|
+
diagnostics: OntologyDiagnostic[];
|
|
260
|
+
};
|
|
261
|
+
type ResolvedOntologyRecordEntry = {
|
|
262
|
+
id: OntologyId;
|
|
263
|
+
kind: OntologyKind;
|
|
264
|
+
record: ResolvedOntologyRecord<OntologyObjectType | OntologyLinkType | OntologyActionType | OntologyCatalogType | OntologyEventType | OntologyInterfaceType | OntologyValueType | OntologySharedProperty | OntologyGroup | OntologySurfaceType>;
|
|
265
|
+
};
|
|
266
|
+
declare function ontologyGraphNodeId(id: OntologyId | string): string;
|
|
267
|
+
declare function ontologyIdFromGraphNodeId(nodeId: string): OntologyId | undefined;
|
|
268
|
+
declare function isOntologyGraphNodeId(nodeId: string): boolean;
|
|
269
|
+
declare function listResolvedOntologyRecords(index: ResolvedOntologyIndex): ResolvedOntologyRecordEntry[];
|
|
270
|
+
type ModelLike = {
|
|
271
|
+
ontology?: OntologyScope;
|
|
272
|
+
systems?: Record<string, SystemLike>;
|
|
273
|
+
entities?: Record<string, EntityLike>;
|
|
274
|
+
actions?: Record<string, ActionLike>;
|
|
275
|
+
};
|
|
276
|
+
type SystemLike = {
|
|
277
|
+
id: string;
|
|
278
|
+
label?: string;
|
|
279
|
+
title?: string;
|
|
280
|
+
description?: string;
|
|
281
|
+
ontology?: OntologyScope;
|
|
282
|
+
content?: Record<string, ContentLike>;
|
|
283
|
+
systems?: Record<string, SystemLike>;
|
|
284
|
+
subsystems?: Record<string, SystemLike>;
|
|
285
|
+
};
|
|
286
|
+
type EntityLike = {
|
|
287
|
+
id: string;
|
|
288
|
+
label: string;
|
|
289
|
+
description?: string;
|
|
290
|
+
ownedBySystemId: string;
|
|
291
|
+
table?: string;
|
|
292
|
+
rowSchema?: string;
|
|
293
|
+
stateCatalogId?: string;
|
|
294
|
+
links?: Array<{
|
|
295
|
+
toEntity: string;
|
|
296
|
+
kind: string;
|
|
297
|
+
via?: string;
|
|
298
|
+
label?: string;
|
|
299
|
+
}>;
|
|
300
|
+
};
|
|
301
|
+
type ActionLike = {
|
|
302
|
+
id: string;
|
|
303
|
+
label: string;
|
|
304
|
+
description?: string;
|
|
305
|
+
resourceId?: string;
|
|
306
|
+
scope?: 'global' | {
|
|
307
|
+
domain: string;
|
|
308
|
+
};
|
|
309
|
+
affects?: string[];
|
|
310
|
+
invocations?: unknown[];
|
|
311
|
+
lifecycle?: string;
|
|
312
|
+
};
|
|
313
|
+
type ContentLike = {
|
|
314
|
+
kind: string;
|
|
315
|
+
type: string;
|
|
316
|
+
label?: string;
|
|
317
|
+
description?: string;
|
|
318
|
+
parentContentId?: string;
|
|
319
|
+
data?: Record<string, unknown>;
|
|
320
|
+
};
|
|
321
|
+
declare function compileOrganizationOntology(model: ModelLike): OntologyCompilation;
|
|
322
|
+
declare function getOntologyDiagnostics(model: ModelLike): OntologyDiagnostic[];
|
|
323
|
+
|
|
3
324
|
declare const SurfaceTypeSchema: z.ZodEnum<{
|
|
4
|
-
|
|
325
|
+
dashboard: "dashboard";
|
|
326
|
+
settings: "settings";
|
|
5
327
|
graph: "graph";
|
|
328
|
+
list: "list";
|
|
6
329
|
page: "page";
|
|
7
|
-
dashboard: "dashboard";
|
|
8
330
|
detail: "detail";
|
|
9
|
-
settings: "settings";
|
|
10
331
|
}>;
|
|
11
332
|
declare const SurfaceDefinitionSchema: z.ZodObject<{
|
|
12
333
|
id: z.ZodString;
|
|
13
334
|
label: z.ZodString;
|
|
14
335
|
path: z.ZodString;
|
|
15
336
|
surfaceType: z.ZodEnum<{
|
|
16
|
-
|
|
337
|
+
dashboard: "dashboard";
|
|
338
|
+
settings: "settings";
|
|
17
339
|
graph: "graph";
|
|
340
|
+
list: "list";
|
|
18
341
|
page: "page";
|
|
19
|
-
dashboard: "dashboard";
|
|
20
342
|
detail: "detail";
|
|
21
|
-
settings: "settings";
|
|
22
343
|
}>;
|
|
23
344
|
description: z.ZodOptional<z.ZodString>;
|
|
24
345
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
25
346
|
devOnly: z.ZodOptional<z.ZodBoolean>;
|
|
26
347
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
"action.launch": "action.launch";
|
|
87
|
-
"action.message": "action.message";
|
|
88
|
-
"action.escalate": "action.escalate";
|
|
89
|
-
"action.promote": "action.promote";
|
|
90
|
-
"action.submit": "action.submit";
|
|
91
|
-
"action.email": "action.email";
|
|
348
|
+
message: "message";
|
|
349
|
+
error: "error";
|
|
350
|
+
agent: "agent";
|
|
351
|
+
workflow: "workflow";
|
|
352
|
+
"google-sheets": "google-sheets";
|
|
353
|
+
dashboard: "dashboard";
|
|
354
|
+
calendar: "calendar";
|
|
355
|
+
sales: "sales";
|
|
356
|
+
crm: "crm";
|
|
357
|
+
"lead-gen": "lead-gen";
|
|
358
|
+
projects: "projects";
|
|
359
|
+
operations: "operations";
|
|
360
|
+
monitoring: "monitoring";
|
|
361
|
+
knowledge: "knowledge";
|
|
362
|
+
settings: "settings";
|
|
363
|
+
admin: "admin";
|
|
364
|
+
archive: "archive";
|
|
365
|
+
business: "business";
|
|
366
|
+
finance: "finance";
|
|
367
|
+
platform: "platform";
|
|
368
|
+
seo: "seo";
|
|
369
|
+
playbook: "playbook";
|
|
370
|
+
strategy: "strategy";
|
|
371
|
+
reference: "reference";
|
|
372
|
+
integration: "integration";
|
|
373
|
+
database: "database";
|
|
374
|
+
user: "user";
|
|
375
|
+
team: "team";
|
|
376
|
+
gmail: "gmail";
|
|
377
|
+
attio: "attio";
|
|
378
|
+
overview: "overview";
|
|
379
|
+
"command-view": "command-view";
|
|
380
|
+
"command-queue": "command-queue";
|
|
381
|
+
pipeline: "pipeline";
|
|
382
|
+
lists: "lists";
|
|
383
|
+
resources: "resources";
|
|
384
|
+
approve: "approve";
|
|
385
|
+
reject: "reject";
|
|
386
|
+
retry: "retry";
|
|
387
|
+
edit: "edit";
|
|
388
|
+
view: "view";
|
|
389
|
+
launch: "launch";
|
|
390
|
+
escalate: "escalate";
|
|
391
|
+
promote: "promote";
|
|
392
|
+
submit: "submit";
|
|
393
|
+
email: "email";
|
|
394
|
+
success: "success";
|
|
395
|
+
warning: "warning";
|
|
396
|
+
info: "info";
|
|
397
|
+
pending: "pending";
|
|
398
|
+
bolt: "bolt";
|
|
399
|
+
building: "building";
|
|
400
|
+
briefcase: "briefcase";
|
|
401
|
+
apps: "apps";
|
|
402
|
+
graph: "graph";
|
|
403
|
+
shield: "shield";
|
|
404
|
+
users: "users";
|
|
405
|
+
"chart-bar": "chart-bar";
|
|
406
|
+
search: "search";
|
|
92
407
|
}>, z.ZodString]>>;
|
|
93
408
|
systemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
94
409
|
entityIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -203,75 +518,73 @@ declare const SystemUiSchema: z.ZodObject<{
|
|
|
203
518
|
path: z.ZodString;
|
|
204
519
|
surfaces: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
205
520
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
"
|
|
264
|
-
|
|
265
|
-
"action.launch": "action.launch";
|
|
266
|
-
"action.message": "action.message";
|
|
267
|
-
"action.escalate": "action.escalate";
|
|
268
|
-
"action.promote": "action.promote";
|
|
269
|
-
"action.submit": "action.submit";
|
|
270
|
-
"action.email": "action.email";
|
|
521
|
+
message: "message";
|
|
522
|
+
error: "error";
|
|
523
|
+
agent: "agent";
|
|
524
|
+
workflow: "workflow";
|
|
525
|
+
"google-sheets": "google-sheets";
|
|
526
|
+
dashboard: "dashboard";
|
|
527
|
+
calendar: "calendar";
|
|
528
|
+
sales: "sales";
|
|
529
|
+
crm: "crm";
|
|
530
|
+
"lead-gen": "lead-gen";
|
|
531
|
+
projects: "projects";
|
|
532
|
+
operations: "operations";
|
|
533
|
+
monitoring: "monitoring";
|
|
534
|
+
knowledge: "knowledge";
|
|
535
|
+
settings: "settings";
|
|
536
|
+
admin: "admin";
|
|
537
|
+
archive: "archive";
|
|
538
|
+
business: "business";
|
|
539
|
+
finance: "finance";
|
|
540
|
+
platform: "platform";
|
|
541
|
+
seo: "seo";
|
|
542
|
+
playbook: "playbook";
|
|
543
|
+
strategy: "strategy";
|
|
544
|
+
reference: "reference";
|
|
545
|
+
integration: "integration";
|
|
546
|
+
database: "database";
|
|
547
|
+
user: "user";
|
|
548
|
+
team: "team";
|
|
549
|
+
gmail: "gmail";
|
|
550
|
+
attio: "attio";
|
|
551
|
+
overview: "overview";
|
|
552
|
+
"command-view": "command-view";
|
|
553
|
+
"command-queue": "command-queue";
|
|
554
|
+
pipeline: "pipeline";
|
|
555
|
+
lists: "lists";
|
|
556
|
+
resources: "resources";
|
|
557
|
+
approve: "approve";
|
|
558
|
+
reject: "reject";
|
|
559
|
+
retry: "retry";
|
|
560
|
+
edit: "edit";
|
|
561
|
+
view: "view";
|
|
562
|
+
launch: "launch";
|
|
563
|
+
escalate: "escalate";
|
|
564
|
+
promote: "promote";
|
|
565
|
+
submit: "submit";
|
|
566
|
+
email: "email";
|
|
567
|
+
success: "success";
|
|
568
|
+
warning: "warning";
|
|
569
|
+
info: "info";
|
|
570
|
+
pending: "pending";
|
|
571
|
+
bolt: "bolt";
|
|
572
|
+
building: "building";
|
|
573
|
+
briefcase: "briefcase";
|
|
574
|
+
apps: "apps";
|
|
575
|
+
graph: "graph";
|
|
576
|
+
shield: "shield";
|
|
577
|
+
users: "users";
|
|
578
|
+
"chart-bar": "chart-bar";
|
|
579
|
+
search: "search";
|
|
271
580
|
}>, z.ZodString]>>;
|
|
272
581
|
order: z.ZodOptional<z.ZodNumber>;
|
|
273
582
|
}, z.core.$strip>;
|
|
274
583
|
|
|
584
|
+
type JsonPrimitive = string | number | boolean | null;
|
|
585
|
+
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
586
|
+
[key: string]: JsonValue;
|
|
587
|
+
};
|
|
275
588
|
/** Explicit interface needed to annotate the recursive SystemEntrySchema. */
|
|
276
589
|
interface SystemEntry {
|
|
277
590
|
id: string;
|
|
@@ -306,6 +619,13 @@ interface SystemEntry {
|
|
|
306
619
|
devOnly?: boolean;
|
|
307
620
|
requiresAdmin?: boolean;
|
|
308
621
|
order: number;
|
|
622
|
+
config?: Record<string, JsonValue>;
|
|
623
|
+
ontology?: OntologyScope;
|
|
624
|
+
systems?: Record<string, SystemEntry>;
|
|
625
|
+
/**
|
|
626
|
+
* @deprecated Compatibility-only bridge for old tenant data and migration readers.
|
|
627
|
+
* Author new semantic catalogs in `ontology` and local settings in `config`.
|
|
628
|
+
*/
|
|
309
629
|
content?: Record<string, ContentNode>;
|
|
310
630
|
subsystems?: Record<string, SystemEntry>;
|
|
311
631
|
}
|
|
@@ -315,11 +635,12 @@ declare const DEFAULT_ORGANIZATION_MODEL_SYSTEMS: z.infer<typeof SystemsDomainSc
|
|
|
315
635
|
|
|
316
636
|
declare const OrganizationModelDomainKeySchema: z.ZodEnum<{
|
|
317
637
|
knowledge: "knowledge";
|
|
638
|
+
resources: "resources";
|
|
318
639
|
systems: "systems";
|
|
640
|
+
entities: "entities";
|
|
319
641
|
actions: "actions";
|
|
642
|
+
ontology: "ontology";
|
|
320
643
|
policies: "policies";
|
|
321
|
-
entities: "entities";
|
|
322
|
-
resources: "resources";
|
|
323
644
|
branding: "branding";
|
|
324
645
|
identity: "identity";
|
|
325
646
|
customers: "customers";
|
|
@@ -361,6 +682,10 @@ declare const OrganizationModelDomainMetadataByDomainSchema: z.ZodPipe<z.ZodDefa
|
|
|
361
682
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
362
683
|
lastModified: z.ZodString;
|
|
363
684
|
}, z.core.$strip>>;
|
|
685
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
687
|
+
lastModified: z.ZodString;
|
|
688
|
+
}, z.core.$strip>>;
|
|
364
689
|
resources: z.ZodOptional<z.ZodObject<{
|
|
365
690
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
366
691
|
lastModified: z.ZodString;
|
|
@@ -410,6 +735,10 @@ declare const OrganizationModelDomainMetadataByDomainSchema: z.ZodPipe<z.ZodDefa
|
|
|
410
735
|
version: 1;
|
|
411
736
|
lastModified: string;
|
|
412
737
|
};
|
|
738
|
+
ontology: {
|
|
739
|
+
version: 1;
|
|
740
|
+
lastModified: string;
|
|
741
|
+
};
|
|
413
742
|
resources: {
|
|
414
743
|
version: 1;
|
|
415
744
|
lastModified: string;
|
|
@@ -459,6 +788,10 @@ declare const OrganizationModelDomainMetadataByDomainSchema: z.ZodPipe<z.ZodDefa
|
|
|
459
788
|
version: 1;
|
|
460
789
|
lastModified: string;
|
|
461
790
|
} | undefined;
|
|
791
|
+
ontology?: {
|
|
792
|
+
version: 1;
|
|
793
|
+
lastModified: string;
|
|
794
|
+
} | undefined;
|
|
462
795
|
resources?: {
|
|
463
796
|
version: 1;
|
|
464
797
|
lastModified: string;
|
|
@@ -511,6 +844,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
511
844
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
512
845
|
lastModified: z.ZodString;
|
|
513
846
|
}, z.core.$strip>>;
|
|
847
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
848
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
849
|
+
lastModified: z.ZodString;
|
|
850
|
+
}, z.core.$strip>>;
|
|
514
851
|
resources: z.ZodOptional<z.ZodObject<{
|
|
515
852
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
516
853
|
lastModified: z.ZodString;
|
|
@@ -560,6 +897,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
560
897
|
version: 1;
|
|
561
898
|
lastModified: string;
|
|
562
899
|
};
|
|
900
|
+
ontology: {
|
|
901
|
+
version: 1;
|
|
902
|
+
lastModified: string;
|
|
903
|
+
};
|
|
563
904
|
resources: {
|
|
564
905
|
version: 1;
|
|
565
906
|
lastModified: string;
|
|
@@ -609,6 +950,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
609
950
|
version: 1;
|
|
610
951
|
lastModified: string;
|
|
611
952
|
} | undefined;
|
|
953
|
+
ontology?: {
|
|
954
|
+
version: 1;
|
|
955
|
+
lastModified: string;
|
|
956
|
+
} | undefined;
|
|
612
957
|
resources?: {
|
|
613
958
|
version: 1;
|
|
614
959
|
lastModified: string;
|
|
@@ -760,6 +1105,98 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
760
1105
|
}, z.core.$strip>>>;
|
|
761
1106
|
}, z.core.$strip>>>>;
|
|
762
1107
|
systems: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SystemEntry, unknown, z.core.$ZodTypeInternals<SystemEntry, unknown>>>>>;
|
|
1108
|
+
ontology: z.ZodDefault<z.ZodDefault<z.ZodObject<{
|
|
1109
|
+
objectTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1110
|
+
id: z.ZodString;
|
|
1111
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1115
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1116
|
+
storage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1117
|
+
}, z.core.$loose>>>>;
|
|
1118
|
+
linkTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1119
|
+
id: z.ZodString;
|
|
1120
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1124
|
+
from: z.ZodString;
|
|
1125
|
+
to: z.ZodString;
|
|
1126
|
+
cardinality: z.ZodOptional<z.ZodString>;
|
|
1127
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
}, z.core.$loose>>>>;
|
|
1129
|
+
actionTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1130
|
+
id: z.ZodString;
|
|
1131
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1135
|
+
actsOn: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1136
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1137
|
+
effects: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1138
|
+
}, z.core.$loose>>>>;
|
|
1139
|
+
catalogTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1140
|
+
id: z.ZodString;
|
|
1141
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1145
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
appliesTo: z.ZodOptional<z.ZodString>;
|
|
1147
|
+
entries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1148
|
+
}, z.core.$loose>>>>;
|
|
1149
|
+
eventTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1150
|
+
id: z.ZodString;
|
|
1151
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1155
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1156
|
+
}, z.core.$loose>>>>;
|
|
1157
|
+
interfaceTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1158
|
+
id: z.ZodString;
|
|
1159
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1163
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1164
|
+
}, z.core.$loose>>>>;
|
|
1165
|
+
valueTypes: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1166
|
+
id: z.ZodString;
|
|
1167
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1171
|
+
primitive: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
}, z.core.$loose>>>>;
|
|
1173
|
+
sharedProperties: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1177
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1178
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1179
|
+
valueType: z.ZodOptional<z.ZodString>;
|
|
1180
|
+
searchable: z.ZodOptional<z.ZodBoolean>;
|
|
1181
|
+
pii: z.ZodOptional<z.ZodBoolean>;
|
|
1182
|
+
}, z.core.$loose>>>>;
|
|
1183
|
+
groups: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1184
|
+
id: z.ZodString;
|
|
1185
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1186
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
|
+
members: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
1190
|
+
}, z.core.$loose>>>>;
|
|
1191
|
+
surfaces: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1192
|
+
id: z.ZodString;
|
|
1193
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
ownerSystemId: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1197
|
+
route: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
}, z.core.$loose>>>>;
|
|
1199
|
+
}, z.core.$strip>>>;
|
|
763
1200
|
resources: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
764
1201
|
id: z.ZodString;
|
|
765
1202
|
order: z.ZodDefault<z.ZodNumber>;
|
|
@@ -770,6 +1207,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
770
1207
|
active: "active";
|
|
771
1208
|
archived: "archived";
|
|
772
1209
|
}>;
|
|
1210
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1211
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1212
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1213
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1214
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1215
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1216
|
+
}, z.core.$strip>>;
|
|
1217
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1218
|
+
path: z.ZodString;
|
|
1219
|
+
role: z.ZodEnum<{
|
|
1220
|
+
schema: "schema";
|
|
1221
|
+
config: "config";
|
|
1222
|
+
entrypoint: "entrypoint";
|
|
1223
|
+
handler: "handler";
|
|
1224
|
+
test: "test";
|
|
1225
|
+
docs: "docs";
|
|
1226
|
+
}>;
|
|
1227
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
}, z.core.$strip>>>;
|
|
773
1230
|
kind: z.ZodLiteral<"workflow">;
|
|
774
1231
|
actionKey: z.ZodOptional<z.ZodString>;
|
|
775
1232
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -794,6 +1251,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
794
1251
|
active: "active";
|
|
795
1252
|
archived: "archived";
|
|
796
1253
|
}>;
|
|
1254
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1255
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1256
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1257
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1258
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1259
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1260
|
+
}, z.core.$strip>>;
|
|
1261
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1262
|
+
path: z.ZodString;
|
|
1263
|
+
role: z.ZodEnum<{
|
|
1264
|
+
schema: "schema";
|
|
1265
|
+
config: "config";
|
|
1266
|
+
entrypoint: "entrypoint";
|
|
1267
|
+
handler: "handler";
|
|
1268
|
+
test: "test";
|
|
1269
|
+
docs: "docs";
|
|
1270
|
+
}>;
|
|
1271
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1272
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1273
|
+
}, z.core.$strip>>>;
|
|
797
1274
|
kind: z.ZodLiteral<"agent">;
|
|
798
1275
|
agentKind: z.ZodEnum<{
|
|
799
1276
|
platform: "platform";
|
|
@@ -848,6 +1325,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
848
1325
|
active: "active";
|
|
849
1326
|
archived: "archived";
|
|
850
1327
|
}>;
|
|
1328
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1329
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1330
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1331
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1332
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1333
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1334
|
+
}, z.core.$strip>>;
|
|
1335
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1336
|
+
path: z.ZodString;
|
|
1337
|
+
role: z.ZodEnum<{
|
|
1338
|
+
schema: "schema";
|
|
1339
|
+
config: "config";
|
|
1340
|
+
entrypoint: "entrypoint";
|
|
1341
|
+
handler: "handler";
|
|
1342
|
+
test: "test";
|
|
1343
|
+
docs: "docs";
|
|
1344
|
+
}>;
|
|
1345
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
}, z.core.$strip>>>;
|
|
851
1348
|
kind: z.ZodLiteral<"integration">;
|
|
852
1349
|
provider: z.ZodString;
|
|
853
1350
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -860,6 +1357,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
860
1357
|
active: "active";
|
|
861
1358
|
archived: "archived";
|
|
862
1359
|
}>;
|
|
1360
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
1361
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1362
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1363
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1364
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1365
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1366
|
+
}, z.core.$strip>>;
|
|
1367
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1368
|
+
path: z.ZodString;
|
|
1369
|
+
role: z.ZodEnum<{
|
|
1370
|
+
schema: "schema";
|
|
1371
|
+
config: "config";
|
|
1372
|
+
entrypoint: "entrypoint";
|
|
1373
|
+
handler: "handler";
|
|
1374
|
+
test: "test";
|
|
1375
|
+
docs: "docs";
|
|
1376
|
+
}>;
|
|
1377
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
}, z.core.$strip>>>;
|
|
863
1380
|
kind: z.ZodLiteral<"script">;
|
|
864
1381
|
language: z.ZodEnum<{
|
|
865
1382
|
shell: "shell";
|
|
@@ -1004,80 +1521,76 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1004
1521
|
title: z.ZodString;
|
|
1005
1522
|
summary: z.ZodString;
|
|
1006
1523
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
"
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
"
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
"
|
|
1065
|
-
|
|
1066
|
-
"action.launch": "action.launch";
|
|
1067
|
-
"action.message": "action.message";
|
|
1068
|
-
"action.escalate": "action.escalate";
|
|
1069
|
-
"action.promote": "action.promote";
|
|
1070
|
-
"action.submit": "action.submit";
|
|
1071
|
-
"action.email": "action.email";
|
|
1524
|
+
message: "message";
|
|
1525
|
+
error: "error";
|
|
1526
|
+
agent: "agent";
|
|
1527
|
+
workflow: "workflow";
|
|
1528
|
+
"google-sheets": "google-sheets";
|
|
1529
|
+
dashboard: "dashboard";
|
|
1530
|
+
calendar: "calendar";
|
|
1531
|
+
sales: "sales";
|
|
1532
|
+
crm: "crm";
|
|
1533
|
+
"lead-gen": "lead-gen";
|
|
1534
|
+
projects: "projects";
|
|
1535
|
+
operations: "operations";
|
|
1536
|
+
monitoring: "monitoring";
|
|
1537
|
+
knowledge: "knowledge";
|
|
1538
|
+
settings: "settings";
|
|
1539
|
+
admin: "admin";
|
|
1540
|
+
archive: "archive";
|
|
1541
|
+
business: "business";
|
|
1542
|
+
finance: "finance";
|
|
1543
|
+
platform: "platform";
|
|
1544
|
+
seo: "seo";
|
|
1545
|
+
playbook: "playbook";
|
|
1546
|
+
strategy: "strategy";
|
|
1547
|
+
reference: "reference";
|
|
1548
|
+
integration: "integration";
|
|
1549
|
+
database: "database";
|
|
1550
|
+
user: "user";
|
|
1551
|
+
team: "team";
|
|
1552
|
+
gmail: "gmail";
|
|
1553
|
+
attio: "attio";
|
|
1554
|
+
overview: "overview";
|
|
1555
|
+
"command-view": "command-view";
|
|
1556
|
+
"command-queue": "command-queue";
|
|
1557
|
+
pipeline: "pipeline";
|
|
1558
|
+
lists: "lists";
|
|
1559
|
+
resources: "resources";
|
|
1560
|
+
approve: "approve";
|
|
1561
|
+
reject: "reject";
|
|
1562
|
+
retry: "retry";
|
|
1563
|
+
edit: "edit";
|
|
1564
|
+
view: "view";
|
|
1565
|
+
launch: "launch";
|
|
1566
|
+
escalate: "escalate";
|
|
1567
|
+
promote: "promote";
|
|
1568
|
+
submit: "submit";
|
|
1569
|
+
email: "email";
|
|
1570
|
+
success: "success";
|
|
1571
|
+
warning: "warning";
|
|
1572
|
+
info: "info";
|
|
1573
|
+
pending: "pending";
|
|
1574
|
+
bolt: "bolt";
|
|
1575
|
+
building: "building";
|
|
1576
|
+
briefcase: "briefcase";
|
|
1577
|
+
apps: "apps";
|
|
1578
|
+
graph: "graph";
|
|
1579
|
+
shield: "shield";
|
|
1580
|
+
users: "users";
|
|
1581
|
+
"chart-bar": "chart-bar";
|
|
1582
|
+
search: "search";
|
|
1072
1583
|
}>, z.ZodString]>>;
|
|
1073
1584
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
1585
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
1074
1586
|
body: z.ZodString;
|
|
1075
1587
|
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
1076
1588
|
target: z.ZodObject<{
|
|
1077
1589
|
kind: z.ZodEnum<{
|
|
1590
|
+
knowledge: "knowledge";
|
|
1078
1591
|
system: "system";
|
|
1079
1592
|
action: "action";
|
|
1080
|
-
|
|
1593
|
+
ontology: "ontology";
|
|
1081
1594
|
role: "role";
|
|
1082
1595
|
goal: "goal";
|
|
1083
1596
|
stage: "stage";
|
|
@@ -1089,10 +1602,10 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1089
1602
|
id: z.ZodString;
|
|
1090
1603
|
}, z.core.$strip>;
|
|
1091
1604
|
}, z.core.$strip>, z.ZodObject<{
|
|
1092
|
-
nodeId: z.ZodString
|
|
1605
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
1093
1606
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
1094
1607
|
target: {
|
|
1095
|
-
kind: "system" | "action" | "
|
|
1608
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1096
1609
|
id: string;
|
|
1097
1610
|
};
|
|
1098
1611
|
nodeId: string;
|
|
@@ -1100,7 +1613,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1100
1613
|
nodeId: string;
|
|
1101
1614
|
} | {
|
|
1102
1615
|
target: {
|
|
1103
|
-
kind: "system" | "action" | "
|
|
1616
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1104
1617
|
id: string;
|
|
1105
1618
|
};
|
|
1106
1619
|
}>>>>;
|
|
@@ -1114,6 +1627,10 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
1114
1627
|
kind: z.ZodEnum<{
|
|
1115
1628
|
links: "links";
|
|
1116
1629
|
affects: "affects";
|
|
1630
|
+
effects: "effects";
|
|
1631
|
+
implements: "implements";
|
|
1632
|
+
reads: "reads";
|
|
1633
|
+
writes: "writes";
|
|
1117
1634
|
emits: "emits";
|
|
1118
1635
|
contains: "contains";
|
|
1119
1636
|
references: "references";
|
|
@@ -1123,223 +1640,205 @@ declare const LinkSchema: z.ZodObject<{
|
|
|
1123
1640
|
originates_from: "originates_from";
|
|
1124
1641
|
triggers: "triggers";
|
|
1125
1642
|
applies_to: "applies_to";
|
|
1126
|
-
|
|
1643
|
+
uses_catalog: "uses_catalog";
|
|
1127
1644
|
}>;
|
|
1128
1645
|
}, z.core.$strip>;
|
|
1129
1646
|
|
|
1130
1647
|
declare const IconNameSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
"
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
"
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
"
|
|
1189
|
-
|
|
1190
|
-
"action.launch": "action.launch";
|
|
1191
|
-
"action.message": "action.message";
|
|
1192
|
-
"action.escalate": "action.escalate";
|
|
1193
|
-
"action.promote": "action.promote";
|
|
1194
|
-
"action.submit": "action.submit";
|
|
1195
|
-
"action.email": "action.email";
|
|
1648
|
+
message: "message";
|
|
1649
|
+
error: "error";
|
|
1650
|
+
agent: "agent";
|
|
1651
|
+
workflow: "workflow";
|
|
1652
|
+
"google-sheets": "google-sheets";
|
|
1653
|
+
dashboard: "dashboard";
|
|
1654
|
+
calendar: "calendar";
|
|
1655
|
+
sales: "sales";
|
|
1656
|
+
crm: "crm";
|
|
1657
|
+
"lead-gen": "lead-gen";
|
|
1658
|
+
projects: "projects";
|
|
1659
|
+
operations: "operations";
|
|
1660
|
+
monitoring: "monitoring";
|
|
1661
|
+
knowledge: "knowledge";
|
|
1662
|
+
settings: "settings";
|
|
1663
|
+
admin: "admin";
|
|
1664
|
+
archive: "archive";
|
|
1665
|
+
business: "business";
|
|
1666
|
+
finance: "finance";
|
|
1667
|
+
platform: "platform";
|
|
1668
|
+
seo: "seo";
|
|
1669
|
+
playbook: "playbook";
|
|
1670
|
+
strategy: "strategy";
|
|
1671
|
+
reference: "reference";
|
|
1672
|
+
integration: "integration";
|
|
1673
|
+
database: "database";
|
|
1674
|
+
user: "user";
|
|
1675
|
+
team: "team";
|
|
1676
|
+
gmail: "gmail";
|
|
1677
|
+
attio: "attio";
|
|
1678
|
+
overview: "overview";
|
|
1679
|
+
"command-view": "command-view";
|
|
1680
|
+
"command-queue": "command-queue";
|
|
1681
|
+
pipeline: "pipeline";
|
|
1682
|
+
lists: "lists";
|
|
1683
|
+
resources: "resources";
|
|
1684
|
+
approve: "approve";
|
|
1685
|
+
reject: "reject";
|
|
1686
|
+
retry: "retry";
|
|
1687
|
+
edit: "edit";
|
|
1688
|
+
view: "view";
|
|
1689
|
+
launch: "launch";
|
|
1690
|
+
escalate: "escalate";
|
|
1691
|
+
promote: "promote";
|
|
1692
|
+
submit: "submit";
|
|
1693
|
+
email: "email";
|
|
1694
|
+
success: "success";
|
|
1695
|
+
warning: "warning";
|
|
1696
|
+
info: "info";
|
|
1697
|
+
pending: "pending";
|
|
1698
|
+
bolt: "bolt";
|
|
1699
|
+
building: "building";
|
|
1700
|
+
briefcase: "briefcase";
|
|
1701
|
+
apps: "apps";
|
|
1702
|
+
graph: "graph";
|
|
1703
|
+
shield: "shield";
|
|
1704
|
+
users: "users";
|
|
1705
|
+
"chart-bar": "chart-bar";
|
|
1706
|
+
search: "search";
|
|
1196
1707
|
}>, z.ZodString]>;
|
|
1197
1708
|
declare const TechStackEntrySchema: z.ZodObject<{
|
|
1198
1709
|
platform: z.ZodString;
|
|
1199
1710
|
purpose: z.ZodString;
|
|
1200
1711
|
credentialStatus: z.ZodEnum<{
|
|
1201
|
-
configured: "configured";
|
|
1202
1712
|
pending: "pending";
|
|
1713
|
+
configured: "configured";
|
|
1203
1714
|
expired: "expired";
|
|
1204
1715
|
missing: "missing";
|
|
1205
1716
|
}>;
|
|
1206
1717
|
isSystemOfRecord: z.ZodDefault<z.ZodBoolean>;
|
|
1207
1718
|
}, z.core.$strip>;
|
|
1208
1719
|
|
|
1209
|
-
declare const ORGANIZATION_MODEL_ICON_TOKENS: readonly ["
|
|
1720
|
+
declare const ORGANIZATION_MODEL_ICON_TOKENS: readonly ["dashboard", "calendar", "sales", "crm", "lead-gen", "projects", "operations", "monitoring", "knowledge", "settings", "admin", "archive", "business", "finance", "platform", "seo", "playbook", "strategy", "reference", "agent", "workflow", "integration", "database", "user", "team", "gmail", "google-sheets", "attio", "overview", "command-view", "command-queue", "pipeline", "lists", "resources", "approve", "reject", "retry", "edit", "view", "launch", "message", "escalate", "promote", "submit", "email", "success", "error", "warning", "info", "pending", "bolt", "building", "briefcase", "apps", "graph", "shield", "users", "chart-bar", "search"];
|
|
1210
1721
|
declare const OrganizationModelBuiltinIconTokenSchema: z.ZodEnum<{
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
"
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
"
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
"
|
|
1269
|
-
|
|
1270
|
-
"action.launch": "action.launch";
|
|
1271
|
-
"action.message": "action.message";
|
|
1272
|
-
"action.escalate": "action.escalate";
|
|
1273
|
-
"action.promote": "action.promote";
|
|
1274
|
-
"action.submit": "action.submit";
|
|
1275
|
-
"action.email": "action.email";
|
|
1722
|
+
message: "message";
|
|
1723
|
+
error: "error";
|
|
1724
|
+
agent: "agent";
|
|
1725
|
+
workflow: "workflow";
|
|
1726
|
+
"google-sheets": "google-sheets";
|
|
1727
|
+
dashboard: "dashboard";
|
|
1728
|
+
calendar: "calendar";
|
|
1729
|
+
sales: "sales";
|
|
1730
|
+
crm: "crm";
|
|
1731
|
+
"lead-gen": "lead-gen";
|
|
1732
|
+
projects: "projects";
|
|
1733
|
+
operations: "operations";
|
|
1734
|
+
monitoring: "monitoring";
|
|
1735
|
+
knowledge: "knowledge";
|
|
1736
|
+
settings: "settings";
|
|
1737
|
+
admin: "admin";
|
|
1738
|
+
archive: "archive";
|
|
1739
|
+
business: "business";
|
|
1740
|
+
finance: "finance";
|
|
1741
|
+
platform: "platform";
|
|
1742
|
+
seo: "seo";
|
|
1743
|
+
playbook: "playbook";
|
|
1744
|
+
strategy: "strategy";
|
|
1745
|
+
reference: "reference";
|
|
1746
|
+
integration: "integration";
|
|
1747
|
+
database: "database";
|
|
1748
|
+
user: "user";
|
|
1749
|
+
team: "team";
|
|
1750
|
+
gmail: "gmail";
|
|
1751
|
+
attio: "attio";
|
|
1752
|
+
overview: "overview";
|
|
1753
|
+
"command-view": "command-view";
|
|
1754
|
+
"command-queue": "command-queue";
|
|
1755
|
+
pipeline: "pipeline";
|
|
1756
|
+
lists: "lists";
|
|
1757
|
+
resources: "resources";
|
|
1758
|
+
approve: "approve";
|
|
1759
|
+
reject: "reject";
|
|
1760
|
+
retry: "retry";
|
|
1761
|
+
edit: "edit";
|
|
1762
|
+
view: "view";
|
|
1763
|
+
launch: "launch";
|
|
1764
|
+
escalate: "escalate";
|
|
1765
|
+
promote: "promote";
|
|
1766
|
+
submit: "submit";
|
|
1767
|
+
email: "email";
|
|
1768
|
+
success: "success";
|
|
1769
|
+
warning: "warning";
|
|
1770
|
+
info: "info";
|
|
1771
|
+
pending: "pending";
|
|
1772
|
+
bolt: "bolt";
|
|
1773
|
+
building: "building";
|
|
1774
|
+
briefcase: "briefcase";
|
|
1775
|
+
apps: "apps";
|
|
1776
|
+
graph: "graph";
|
|
1777
|
+
shield: "shield";
|
|
1778
|
+
users: "users";
|
|
1779
|
+
"chart-bar": "chart-bar";
|
|
1780
|
+
search: "search";
|
|
1276
1781
|
}>;
|
|
1277
1782
|
declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
"
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
"
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
"
|
|
1310
|
-
"
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
"
|
|
1336
|
-
|
|
1337
|
-
"action.launch": "action.launch";
|
|
1338
|
-
"action.message": "action.message";
|
|
1339
|
-
"action.escalate": "action.escalate";
|
|
1340
|
-
"action.promote": "action.promote";
|
|
1341
|
-
"action.submit": "action.submit";
|
|
1342
|
-
"action.email": "action.email";
|
|
1783
|
+
message: "message";
|
|
1784
|
+
error: "error";
|
|
1785
|
+
agent: "agent";
|
|
1786
|
+
workflow: "workflow";
|
|
1787
|
+
"google-sheets": "google-sheets";
|
|
1788
|
+
dashboard: "dashboard";
|
|
1789
|
+
calendar: "calendar";
|
|
1790
|
+
sales: "sales";
|
|
1791
|
+
crm: "crm";
|
|
1792
|
+
"lead-gen": "lead-gen";
|
|
1793
|
+
projects: "projects";
|
|
1794
|
+
operations: "operations";
|
|
1795
|
+
monitoring: "monitoring";
|
|
1796
|
+
knowledge: "knowledge";
|
|
1797
|
+
settings: "settings";
|
|
1798
|
+
admin: "admin";
|
|
1799
|
+
archive: "archive";
|
|
1800
|
+
business: "business";
|
|
1801
|
+
finance: "finance";
|
|
1802
|
+
platform: "platform";
|
|
1803
|
+
seo: "seo";
|
|
1804
|
+
playbook: "playbook";
|
|
1805
|
+
strategy: "strategy";
|
|
1806
|
+
reference: "reference";
|
|
1807
|
+
integration: "integration";
|
|
1808
|
+
database: "database";
|
|
1809
|
+
user: "user";
|
|
1810
|
+
team: "team";
|
|
1811
|
+
gmail: "gmail";
|
|
1812
|
+
attio: "attio";
|
|
1813
|
+
overview: "overview";
|
|
1814
|
+
"command-view": "command-view";
|
|
1815
|
+
"command-queue": "command-queue";
|
|
1816
|
+
pipeline: "pipeline";
|
|
1817
|
+
lists: "lists";
|
|
1818
|
+
resources: "resources";
|
|
1819
|
+
approve: "approve";
|
|
1820
|
+
reject: "reject";
|
|
1821
|
+
retry: "retry";
|
|
1822
|
+
edit: "edit";
|
|
1823
|
+
view: "view";
|
|
1824
|
+
launch: "launch";
|
|
1825
|
+
escalate: "escalate";
|
|
1826
|
+
promote: "promote";
|
|
1827
|
+
submit: "submit";
|
|
1828
|
+
email: "email";
|
|
1829
|
+
success: "success";
|
|
1830
|
+
warning: "warning";
|
|
1831
|
+
info: "info";
|
|
1832
|
+
pending: "pending";
|
|
1833
|
+
bolt: "bolt";
|
|
1834
|
+
building: "building";
|
|
1835
|
+
briefcase: "briefcase";
|
|
1836
|
+
apps: "apps";
|
|
1837
|
+
graph: "graph";
|
|
1838
|
+
shield: "shield";
|
|
1839
|
+
users: "users";
|
|
1840
|
+
"chart-bar": "chart-bar";
|
|
1841
|
+
search: "search";
|
|
1343
1842
|
}>, z.ZodString]>;
|
|
1344
1843
|
type OrganizationModelBuiltinIconToken$1 = (typeof ORGANIZATION_MODEL_ICON_TOKENS)[number];
|
|
1345
1844
|
|
|
@@ -1560,6 +2059,7 @@ declare const ActionsDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodOb
|
|
|
1560
2059
|
}>>;
|
|
1561
2060
|
}, z.core.$strip>>>;
|
|
1562
2061
|
declare const LEAD_GEN_ACTION_ENTRIES: Record<string, z.infer<typeof ActionSchema>>;
|
|
2062
|
+
declare const CRM_ACTION_ENTRIES: Record<string, z.infer<typeof ActionSchema>>;
|
|
1563
2063
|
declare const DEFAULT_ORGANIZATION_MODEL_ACTIONS: z.infer<typeof ActionsDomainSchema>;
|
|
1564
2064
|
declare function findOrganizationActionById(id: string, actions?: z.infer<typeof ActionsDomainSchema>): z.infer<typeof ActionSchema> | undefined;
|
|
1565
2065
|
|
|
@@ -1821,9 +2321,10 @@ declare const GoalsDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObje
|
|
|
1821
2321
|
declare const DEFAULT_ORGANIZATION_MODEL_GOALS: z.infer<typeof GoalsDomainSchema>;
|
|
1822
2322
|
|
|
1823
2323
|
declare const KnowledgeTargetKindSchema: z.ZodEnum<{
|
|
2324
|
+
knowledge: "knowledge";
|
|
1824
2325
|
system: "system";
|
|
1825
2326
|
action: "action";
|
|
1826
|
-
|
|
2327
|
+
ontology: "ontology";
|
|
1827
2328
|
role: "role";
|
|
1828
2329
|
goal: "goal";
|
|
1829
2330
|
stage: "stage";
|
|
@@ -1834,9 +2335,10 @@ declare const KnowledgeTargetKindSchema: z.ZodEnum<{
|
|
|
1834
2335
|
}>;
|
|
1835
2336
|
declare const KnowledgeTargetRefSchema: z.ZodObject<{
|
|
1836
2337
|
kind: z.ZodEnum<{
|
|
2338
|
+
knowledge: "knowledge";
|
|
1837
2339
|
system: "system";
|
|
1838
2340
|
action: "action";
|
|
1839
|
-
|
|
2341
|
+
ontology: "ontology";
|
|
1840
2342
|
role: "role";
|
|
1841
2343
|
goal: "goal";
|
|
1842
2344
|
stage: "stage";
|
|
@@ -1850,9 +2352,10 @@ declare const KnowledgeTargetRefSchema: z.ZodObject<{
|
|
|
1850
2352
|
declare const KnowledgeLinkSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
1851
2353
|
target: z.ZodObject<{
|
|
1852
2354
|
kind: z.ZodEnum<{
|
|
2355
|
+
knowledge: "knowledge";
|
|
1853
2356
|
system: "system";
|
|
1854
2357
|
action: "action";
|
|
1855
|
-
|
|
2358
|
+
ontology: "ontology";
|
|
1856
2359
|
role: "role";
|
|
1857
2360
|
goal: "goal";
|
|
1858
2361
|
stage: "stage";
|
|
@@ -1864,10 +2367,10 @@ declare const KnowledgeLinkSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1864
2367
|
id: z.ZodString;
|
|
1865
2368
|
}, z.core.$strip>;
|
|
1866
2369
|
}, z.core.$strip>, z.ZodObject<{
|
|
1867
|
-
nodeId: z.ZodString
|
|
2370
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
1868
2371
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
1869
2372
|
target: {
|
|
1870
|
-
kind: "system" | "action" | "
|
|
2373
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1871
2374
|
id: string;
|
|
1872
2375
|
};
|
|
1873
2376
|
nodeId: string;
|
|
@@ -1875,7 +2378,7 @@ declare const KnowledgeLinkSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1875
2378
|
nodeId: string;
|
|
1876
2379
|
} | {
|
|
1877
2380
|
target: {
|
|
1878
|
-
kind: "system" | "action" | "
|
|
2381
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1879
2382
|
id: string;
|
|
1880
2383
|
};
|
|
1881
2384
|
}>>;
|
|
@@ -1894,80 +2397,76 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
1894
2397
|
title: z.ZodString;
|
|
1895
2398
|
summary: z.ZodString;
|
|
1896
2399
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
"
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
"
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
"
|
|
1929
|
-
"
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
"
|
|
1955
|
-
|
|
1956
|
-
"action.launch": "action.launch";
|
|
1957
|
-
"action.message": "action.message";
|
|
1958
|
-
"action.escalate": "action.escalate";
|
|
1959
|
-
"action.promote": "action.promote";
|
|
1960
|
-
"action.submit": "action.submit";
|
|
1961
|
-
"action.email": "action.email";
|
|
2400
|
+
message: "message";
|
|
2401
|
+
error: "error";
|
|
2402
|
+
agent: "agent";
|
|
2403
|
+
workflow: "workflow";
|
|
2404
|
+
"google-sheets": "google-sheets";
|
|
2405
|
+
dashboard: "dashboard";
|
|
2406
|
+
calendar: "calendar";
|
|
2407
|
+
sales: "sales";
|
|
2408
|
+
crm: "crm";
|
|
2409
|
+
"lead-gen": "lead-gen";
|
|
2410
|
+
projects: "projects";
|
|
2411
|
+
operations: "operations";
|
|
2412
|
+
monitoring: "monitoring";
|
|
2413
|
+
knowledge: "knowledge";
|
|
2414
|
+
settings: "settings";
|
|
2415
|
+
admin: "admin";
|
|
2416
|
+
archive: "archive";
|
|
2417
|
+
business: "business";
|
|
2418
|
+
finance: "finance";
|
|
2419
|
+
platform: "platform";
|
|
2420
|
+
seo: "seo";
|
|
2421
|
+
playbook: "playbook";
|
|
2422
|
+
strategy: "strategy";
|
|
2423
|
+
reference: "reference";
|
|
2424
|
+
integration: "integration";
|
|
2425
|
+
database: "database";
|
|
2426
|
+
user: "user";
|
|
2427
|
+
team: "team";
|
|
2428
|
+
gmail: "gmail";
|
|
2429
|
+
attio: "attio";
|
|
2430
|
+
overview: "overview";
|
|
2431
|
+
"command-view": "command-view";
|
|
2432
|
+
"command-queue": "command-queue";
|
|
2433
|
+
pipeline: "pipeline";
|
|
2434
|
+
lists: "lists";
|
|
2435
|
+
resources: "resources";
|
|
2436
|
+
approve: "approve";
|
|
2437
|
+
reject: "reject";
|
|
2438
|
+
retry: "retry";
|
|
2439
|
+
edit: "edit";
|
|
2440
|
+
view: "view";
|
|
2441
|
+
launch: "launch";
|
|
2442
|
+
escalate: "escalate";
|
|
2443
|
+
promote: "promote";
|
|
2444
|
+
submit: "submit";
|
|
2445
|
+
email: "email";
|
|
2446
|
+
success: "success";
|
|
2447
|
+
warning: "warning";
|
|
2448
|
+
info: "info";
|
|
2449
|
+
pending: "pending";
|
|
2450
|
+
bolt: "bolt";
|
|
2451
|
+
building: "building";
|
|
2452
|
+
briefcase: "briefcase";
|
|
2453
|
+
apps: "apps";
|
|
2454
|
+
graph: "graph";
|
|
2455
|
+
shield: "shield";
|
|
2456
|
+
users: "users";
|
|
2457
|
+
"chart-bar": "chart-bar";
|
|
2458
|
+
search: "search";
|
|
1962
2459
|
}>, z.ZodString]>>;
|
|
1963
2460
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
1964
2462
|
body: z.ZodString;
|
|
1965
2463
|
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
1966
2464
|
target: z.ZodObject<{
|
|
1967
2465
|
kind: z.ZodEnum<{
|
|
2466
|
+
knowledge: "knowledge";
|
|
1968
2467
|
system: "system";
|
|
1969
2468
|
action: "action";
|
|
1970
|
-
|
|
2469
|
+
ontology: "ontology";
|
|
1971
2470
|
role: "role";
|
|
1972
2471
|
goal: "goal";
|
|
1973
2472
|
stage: "stage";
|
|
@@ -1979,10 +2478,10 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
1979
2478
|
id: z.ZodString;
|
|
1980
2479
|
}, z.core.$strip>;
|
|
1981
2480
|
}, z.core.$strip>, z.ZodObject<{
|
|
1982
|
-
nodeId: z.ZodString
|
|
2481
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
1983
2482
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
1984
2483
|
target: {
|
|
1985
|
-
kind: "system" | "action" | "
|
|
2484
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1986
2485
|
id: string;
|
|
1987
2486
|
};
|
|
1988
2487
|
nodeId: string;
|
|
@@ -1990,7 +2489,7 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
1990
2489
|
nodeId: string;
|
|
1991
2490
|
} | {
|
|
1992
2491
|
target: {
|
|
1993
|
-
kind: "system" | "action" | "
|
|
2492
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
1994
2493
|
id: string;
|
|
1995
2494
|
};
|
|
1996
2495
|
}>>>>;
|
|
@@ -2007,80 +2506,76 @@ declare const KnowledgeDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2007
2506
|
title: z.ZodString;
|
|
2008
2507
|
summary: z.ZodString;
|
|
2009
2508
|
icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
"
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
"
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
"
|
|
2042
|
-
"
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
"
|
|
2068
|
-
|
|
2069
|
-
"action.launch": "action.launch";
|
|
2070
|
-
"action.message": "action.message";
|
|
2071
|
-
"action.escalate": "action.escalate";
|
|
2072
|
-
"action.promote": "action.promote";
|
|
2073
|
-
"action.submit": "action.submit";
|
|
2074
|
-
"action.email": "action.email";
|
|
2509
|
+
message: "message";
|
|
2510
|
+
error: "error";
|
|
2511
|
+
agent: "agent";
|
|
2512
|
+
workflow: "workflow";
|
|
2513
|
+
"google-sheets": "google-sheets";
|
|
2514
|
+
dashboard: "dashboard";
|
|
2515
|
+
calendar: "calendar";
|
|
2516
|
+
sales: "sales";
|
|
2517
|
+
crm: "crm";
|
|
2518
|
+
"lead-gen": "lead-gen";
|
|
2519
|
+
projects: "projects";
|
|
2520
|
+
operations: "operations";
|
|
2521
|
+
monitoring: "monitoring";
|
|
2522
|
+
knowledge: "knowledge";
|
|
2523
|
+
settings: "settings";
|
|
2524
|
+
admin: "admin";
|
|
2525
|
+
archive: "archive";
|
|
2526
|
+
business: "business";
|
|
2527
|
+
finance: "finance";
|
|
2528
|
+
platform: "platform";
|
|
2529
|
+
seo: "seo";
|
|
2530
|
+
playbook: "playbook";
|
|
2531
|
+
strategy: "strategy";
|
|
2532
|
+
reference: "reference";
|
|
2533
|
+
integration: "integration";
|
|
2534
|
+
database: "database";
|
|
2535
|
+
user: "user";
|
|
2536
|
+
team: "team";
|
|
2537
|
+
gmail: "gmail";
|
|
2538
|
+
attio: "attio";
|
|
2539
|
+
overview: "overview";
|
|
2540
|
+
"command-view": "command-view";
|
|
2541
|
+
"command-queue": "command-queue";
|
|
2542
|
+
pipeline: "pipeline";
|
|
2543
|
+
lists: "lists";
|
|
2544
|
+
resources: "resources";
|
|
2545
|
+
approve: "approve";
|
|
2546
|
+
reject: "reject";
|
|
2547
|
+
retry: "retry";
|
|
2548
|
+
edit: "edit";
|
|
2549
|
+
view: "view";
|
|
2550
|
+
launch: "launch";
|
|
2551
|
+
escalate: "escalate";
|
|
2552
|
+
promote: "promote";
|
|
2553
|
+
submit: "submit";
|
|
2554
|
+
email: "email";
|
|
2555
|
+
success: "success";
|
|
2556
|
+
warning: "warning";
|
|
2557
|
+
info: "info";
|
|
2558
|
+
pending: "pending";
|
|
2559
|
+
bolt: "bolt";
|
|
2560
|
+
building: "building";
|
|
2561
|
+
briefcase: "briefcase";
|
|
2562
|
+
apps: "apps";
|
|
2563
|
+
graph: "graph";
|
|
2564
|
+
shield: "shield";
|
|
2565
|
+
users: "users";
|
|
2566
|
+
"chart-bar": "chart-bar";
|
|
2567
|
+
search: "search";
|
|
2075
2568
|
}>, z.ZodString]>>;
|
|
2076
2569
|
externalUrl: z.ZodOptional<z.ZodString>;
|
|
2570
|
+
sourceFilePath: z.ZodOptional<z.ZodString>;
|
|
2077
2571
|
body: z.ZodString;
|
|
2078
2572
|
links: z.ZodDefault<z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
2079
2573
|
target: z.ZodObject<{
|
|
2080
2574
|
kind: z.ZodEnum<{
|
|
2575
|
+
knowledge: "knowledge";
|
|
2081
2576
|
system: "system";
|
|
2082
2577
|
action: "action";
|
|
2083
|
-
|
|
2578
|
+
ontology: "ontology";
|
|
2084
2579
|
role: "role";
|
|
2085
2580
|
goal: "goal";
|
|
2086
2581
|
stage: "stage";
|
|
@@ -2092,10 +2587,10 @@ declare const KnowledgeDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2092
2587
|
id: z.ZodString;
|
|
2093
2588
|
}, z.core.$strip>;
|
|
2094
2589
|
}, z.core.$strip>, z.ZodObject<{
|
|
2095
|
-
nodeId: z.ZodString
|
|
2590
|
+
nodeId: z.ZodUnion<readonly [z.ZodString, z.ZodTemplateLiteral<`ontology:${string}`>]>;
|
|
2096
2591
|
}, z.core.$strip>]>, z.ZodTransform<{
|
|
2097
2592
|
target: {
|
|
2098
|
-
kind: "system" | "action" | "
|
|
2593
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
2099
2594
|
id: string;
|
|
2100
2595
|
};
|
|
2101
2596
|
nodeId: string;
|
|
@@ -2103,7 +2598,7 @@ declare const KnowledgeDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2103
2598
|
nodeId: string;
|
|
2104
2599
|
} | {
|
|
2105
2600
|
target: {
|
|
2106
|
-
kind: "system" | "action" | "
|
|
2601
|
+
kind: "knowledge" | "system" | "action" | "ontology" | "role" | "goal" | "stage" | "resource" | "customer-segment" | "offering" | "content-node";
|
|
2107
2602
|
id: string;
|
|
2108
2603
|
};
|
|
2109
2604
|
}>>>>;
|
|
@@ -2134,6 +2629,14 @@ declare const ScriptResourceLanguageSchema: z.ZodEnum<{
|
|
|
2134
2629
|
typescript: "typescript";
|
|
2135
2630
|
python: "python";
|
|
2136
2631
|
}>;
|
|
2632
|
+
declare const CodeReferenceRoleSchema: z.ZodEnum<{
|
|
2633
|
+
schema: "schema";
|
|
2634
|
+
config: "config";
|
|
2635
|
+
entrypoint: "entrypoint";
|
|
2636
|
+
handler: "handler";
|
|
2637
|
+
test: "test";
|
|
2638
|
+
docs: "docs";
|
|
2639
|
+
}>;
|
|
2137
2640
|
declare const ResourceIdSchema: z.ZodString;
|
|
2138
2641
|
declare const EventIdSchema: z.ZodString;
|
|
2139
2642
|
declare const EventEmissionDescriptorSchema: z.ZodObject<{
|
|
@@ -2166,6 +2669,26 @@ declare const EventDescriptorSchema: z.ZodObject<{
|
|
|
2166
2669
|
resource: "resource";
|
|
2167
2670
|
}>;
|
|
2168
2671
|
}, z.core.$strip>;
|
|
2672
|
+
declare const ResourceOntologyBindingSchema: z.ZodObject<{
|
|
2673
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2674
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2675
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2676
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2677
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2678
|
+
}, z.core.$strip>;
|
|
2679
|
+
declare const CodeReferenceSchema: z.ZodObject<{
|
|
2680
|
+
path: z.ZodString;
|
|
2681
|
+
role: z.ZodEnum<{
|
|
2682
|
+
schema: "schema";
|
|
2683
|
+
config: "config";
|
|
2684
|
+
entrypoint: "entrypoint";
|
|
2685
|
+
handler: "handler";
|
|
2686
|
+
test: "test";
|
|
2687
|
+
docs: "docs";
|
|
2688
|
+
}>;
|
|
2689
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2690
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2691
|
+
}, z.core.$strip>;
|
|
2169
2692
|
declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
2170
2693
|
id: z.ZodString;
|
|
2171
2694
|
order: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2176,6 +2699,26 @@ declare const WorkflowResourceEntrySchema: z.ZodObject<{
|
|
|
2176
2699
|
active: "active";
|
|
2177
2700
|
archived: "archived";
|
|
2178
2701
|
}>;
|
|
2702
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
2703
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2704
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2705
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2706
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2707
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2708
|
+
}, z.core.$strip>>;
|
|
2709
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2710
|
+
path: z.ZodString;
|
|
2711
|
+
role: z.ZodEnum<{
|
|
2712
|
+
schema: "schema";
|
|
2713
|
+
config: "config";
|
|
2714
|
+
entrypoint: "entrypoint";
|
|
2715
|
+
handler: "handler";
|
|
2716
|
+
test: "test";
|
|
2717
|
+
docs: "docs";
|
|
2718
|
+
}>;
|
|
2719
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2720
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2721
|
+
}, z.core.$strip>>>;
|
|
2179
2722
|
kind: z.ZodLiteral<"workflow">;
|
|
2180
2723
|
actionKey: z.ZodOptional<z.ZodString>;
|
|
2181
2724
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2201,6 +2744,26 @@ declare const AgentResourceEntrySchema: z.ZodObject<{
|
|
|
2201
2744
|
active: "active";
|
|
2202
2745
|
archived: "archived";
|
|
2203
2746
|
}>;
|
|
2747
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
2748
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2749
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2750
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2751
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2752
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2753
|
+
}, z.core.$strip>>;
|
|
2754
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2755
|
+
path: z.ZodString;
|
|
2756
|
+
role: z.ZodEnum<{
|
|
2757
|
+
schema: "schema";
|
|
2758
|
+
config: "config";
|
|
2759
|
+
entrypoint: "entrypoint";
|
|
2760
|
+
handler: "handler";
|
|
2761
|
+
test: "test";
|
|
2762
|
+
docs: "docs";
|
|
2763
|
+
}>;
|
|
2764
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2765
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2766
|
+
}, z.core.$strip>>>;
|
|
2204
2767
|
kind: z.ZodLiteral<"agent">;
|
|
2205
2768
|
agentKind: z.ZodEnum<{
|
|
2206
2769
|
platform: "platform";
|
|
@@ -2256,6 +2819,26 @@ declare const IntegrationResourceEntrySchema: z.ZodObject<{
|
|
|
2256
2819
|
active: "active";
|
|
2257
2820
|
archived: "archived";
|
|
2258
2821
|
}>;
|
|
2822
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
2823
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2824
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2825
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2826
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2827
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2828
|
+
}, z.core.$strip>>;
|
|
2829
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2830
|
+
path: z.ZodString;
|
|
2831
|
+
role: z.ZodEnum<{
|
|
2832
|
+
schema: "schema";
|
|
2833
|
+
config: "config";
|
|
2834
|
+
entrypoint: "entrypoint";
|
|
2835
|
+
handler: "handler";
|
|
2836
|
+
test: "test";
|
|
2837
|
+
docs: "docs";
|
|
2838
|
+
}>;
|
|
2839
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2840
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2841
|
+
}, z.core.$strip>>>;
|
|
2259
2842
|
kind: z.ZodLiteral<"integration">;
|
|
2260
2843
|
provider: z.ZodString;
|
|
2261
2844
|
}, z.core.$strip>;
|
|
@@ -2272,6 +2855,26 @@ declare const ScriptResourceEntrySchema: z.ZodObject<{
|
|
|
2272
2855
|
active: "active";
|
|
2273
2856
|
archived: "archived";
|
|
2274
2857
|
}>;
|
|
2858
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
2859
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2860
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2861
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2862
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2863
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2864
|
+
}, z.core.$strip>>;
|
|
2865
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2866
|
+
path: z.ZodString;
|
|
2867
|
+
role: z.ZodEnum<{
|
|
2868
|
+
schema: "schema";
|
|
2869
|
+
config: "config";
|
|
2870
|
+
entrypoint: "entrypoint";
|
|
2871
|
+
handler: "handler";
|
|
2872
|
+
test: "test";
|
|
2873
|
+
docs: "docs";
|
|
2874
|
+
}>;
|
|
2875
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2876
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
}, z.core.$strip>>>;
|
|
2275
2878
|
kind: z.ZodLiteral<"script">;
|
|
2276
2879
|
language: z.ZodEnum<{
|
|
2277
2880
|
shell: "shell";
|
|
@@ -2293,6 +2896,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2293
2896
|
active: "active";
|
|
2294
2897
|
archived: "archived";
|
|
2295
2898
|
}>;
|
|
2899
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
2900
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2901
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2902
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2903
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2904
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2905
|
+
}, z.core.$strip>>;
|
|
2906
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2907
|
+
path: z.ZodString;
|
|
2908
|
+
role: z.ZodEnum<{
|
|
2909
|
+
schema: "schema";
|
|
2910
|
+
config: "config";
|
|
2911
|
+
entrypoint: "entrypoint";
|
|
2912
|
+
handler: "handler";
|
|
2913
|
+
test: "test";
|
|
2914
|
+
docs: "docs";
|
|
2915
|
+
}>;
|
|
2916
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2917
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
}, z.core.$strip>>>;
|
|
2296
2919
|
kind: z.ZodLiteral<"workflow">;
|
|
2297
2920
|
actionKey: z.ZodOptional<z.ZodString>;
|
|
2298
2921
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2317,6 +2940,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2317
2940
|
active: "active";
|
|
2318
2941
|
archived: "archived";
|
|
2319
2942
|
}>;
|
|
2943
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
2944
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2945
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2946
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2947
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2948
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2949
|
+
}, z.core.$strip>>;
|
|
2950
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2951
|
+
path: z.ZodString;
|
|
2952
|
+
role: z.ZodEnum<{
|
|
2953
|
+
schema: "schema";
|
|
2954
|
+
config: "config";
|
|
2955
|
+
entrypoint: "entrypoint";
|
|
2956
|
+
handler: "handler";
|
|
2957
|
+
test: "test";
|
|
2958
|
+
docs: "docs";
|
|
2959
|
+
}>;
|
|
2960
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
2961
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2962
|
+
}, z.core.$strip>>>;
|
|
2320
2963
|
kind: z.ZodLiteral<"agent">;
|
|
2321
2964
|
agentKind: z.ZodEnum<{
|
|
2322
2965
|
platform: "platform";
|
|
@@ -2371,6 +3014,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2371
3014
|
active: "active";
|
|
2372
3015
|
archived: "archived";
|
|
2373
3016
|
}>;
|
|
3017
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
3018
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3019
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3020
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3021
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3022
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3023
|
+
}, z.core.$strip>>;
|
|
3024
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3025
|
+
path: z.ZodString;
|
|
3026
|
+
role: z.ZodEnum<{
|
|
3027
|
+
schema: "schema";
|
|
3028
|
+
config: "config";
|
|
3029
|
+
entrypoint: "entrypoint";
|
|
3030
|
+
handler: "handler";
|
|
3031
|
+
test: "test";
|
|
3032
|
+
docs: "docs";
|
|
3033
|
+
}>;
|
|
3034
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3035
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3036
|
+
}, z.core.$strip>>>;
|
|
2374
3037
|
kind: z.ZodLiteral<"integration">;
|
|
2375
3038
|
provider: z.ZodString;
|
|
2376
3039
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2383,6 +3046,26 @@ declare const ResourceEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2383
3046
|
active: "active";
|
|
2384
3047
|
archived: "archived";
|
|
2385
3048
|
}>;
|
|
3049
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
3050
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3051
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3052
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3053
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3054
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3055
|
+
}, z.core.$strip>>;
|
|
3056
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3057
|
+
path: z.ZodString;
|
|
3058
|
+
role: z.ZodEnum<{
|
|
3059
|
+
schema: "schema";
|
|
3060
|
+
config: "config";
|
|
3061
|
+
entrypoint: "entrypoint";
|
|
3062
|
+
handler: "handler";
|
|
3063
|
+
test: "test";
|
|
3064
|
+
docs: "docs";
|
|
3065
|
+
}>;
|
|
3066
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3068
|
+
}, z.core.$strip>>>;
|
|
2386
3069
|
kind: z.ZodLiteral<"script">;
|
|
2387
3070
|
language: z.ZodEnum<{
|
|
2388
3071
|
shell: "shell";
|
|
@@ -2404,6 +3087,26 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2404
3087
|
active: "active";
|
|
2405
3088
|
archived: "archived";
|
|
2406
3089
|
}>;
|
|
3090
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
3091
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3092
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3093
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3094
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3095
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3096
|
+
}, z.core.$strip>>;
|
|
3097
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3098
|
+
path: z.ZodString;
|
|
3099
|
+
role: z.ZodEnum<{
|
|
3100
|
+
schema: "schema";
|
|
3101
|
+
config: "config";
|
|
3102
|
+
entrypoint: "entrypoint";
|
|
3103
|
+
handler: "handler";
|
|
3104
|
+
test: "test";
|
|
3105
|
+
docs: "docs";
|
|
3106
|
+
}>;
|
|
3107
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3108
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3109
|
+
}, z.core.$strip>>>;
|
|
2407
3110
|
kind: z.ZodLiteral<"workflow">;
|
|
2408
3111
|
actionKey: z.ZodOptional<z.ZodString>;
|
|
2409
3112
|
emits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2428,6 +3131,26 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2428
3131
|
active: "active";
|
|
2429
3132
|
archived: "archived";
|
|
2430
3133
|
}>;
|
|
3134
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
3135
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3136
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3137
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3138
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3139
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3140
|
+
}, z.core.$strip>>;
|
|
3141
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3142
|
+
path: z.ZodString;
|
|
3143
|
+
role: z.ZodEnum<{
|
|
3144
|
+
schema: "schema";
|
|
3145
|
+
config: "config";
|
|
3146
|
+
entrypoint: "entrypoint";
|
|
3147
|
+
handler: "handler";
|
|
3148
|
+
test: "test";
|
|
3149
|
+
docs: "docs";
|
|
3150
|
+
}>;
|
|
3151
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3153
|
+
}, z.core.$strip>>>;
|
|
2431
3154
|
kind: z.ZodLiteral<"agent">;
|
|
2432
3155
|
agentKind: z.ZodEnum<{
|
|
2433
3156
|
platform: "platform";
|
|
@@ -2482,6 +3205,26 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2482
3205
|
active: "active";
|
|
2483
3206
|
archived: "archived";
|
|
2484
3207
|
}>;
|
|
3208
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
3209
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3210
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3211
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3212
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3213
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3214
|
+
}, z.core.$strip>>;
|
|
3215
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3216
|
+
path: z.ZodString;
|
|
3217
|
+
role: z.ZodEnum<{
|
|
3218
|
+
schema: "schema";
|
|
3219
|
+
config: "config";
|
|
3220
|
+
entrypoint: "entrypoint";
|
|
3221
|
+
handler: "handler";
|
|
3222
|
+
test: "test";
|
|
3223
|
+
docs: "docs";
|
|
3224
|
+
}>;
|
|
3225
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3226
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
}, z.core.$strip>>>;
|
|
2485
3228
|
kind: z.ZodLiteral<"integration">;
|
|
2486
3229
|
provider: z.ZodString;
|
|
2487
3230
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2494,6 +3237,26 @@ declare const ResourcesDomainSchema: z.ZodDefault<z.ZodRecord<z.ZodString, z.Zod
|
|
|
2494
3237
|
active: "active";
|
|
2495
3238
|
archived: "archived";
|
|
2496
3239
|
}>;
|
|
3240
|
+
ontology: z.ZodOptional<z.ZodObject<{
|
|
3241
|
+
implements: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3242
|
+
reads: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3243
|
+
writes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3244
|
+
usesCatalogs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3245
|
+
emits: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3246
|
+
}, z.core.$strip>>;
|
|
3247
|
+
codeRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3248
|
+
path: z.ZodString;
|
|
3249
|
+
role: z.ZodEnum<{
|
|
3250
|
+
schema: "schema";
|
|
3251
|
+
config: "config";
|
|
3252
|
+
entrypoint: "entrypoint";
|
|
3253
|
+
handler: "handler";
|
|
3254
|
+
test: "test";
|
|
3255
|
+
docs: "docs";
|
|
3256
|
+
}>;
|
|
3257
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
3258
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3259
|
+
}, z.core.$strip>>>;
|
|
2497
3260
|
kind: z.ZodLiteral<"script">;
|
|
2498
3261
|
language: z.ZodEnum<{
|
|
2499
3262
|
shell: "shell";
|
|
@@ -2791,11 +3554,14 @@ type OrganizationModelSystemStatus = z.infer<typeof SystemStatusSchema>;
|
|
|
2791
3554
|
type OrganizationModelResources = z.infer<typeof ResourcesDomainSchema>;
|
|
2792
3555
|
type OrganizationModelResourceEntry = z.infer<typeof ResourceEntrySchema>;
|
|
2793
3556
|
type OrganizationModelResourceId = z.infer<typeof ResourceIdSchema>;
|
|
3557
|
+
type OrganizationModelCodeReference = z.infer<typeof CodeReferenceSchema>;
|
|
3558
|
+
type OrganizationModelCodeReferenceRole = z.infer<typeof CodeReferenceRoleSchema>;
|
|
2794
3559
|
type EventId = z.infer<typeof EventIdSchema>;
|
|
2795
3560
|
type EventEmissionDescriptor = z.infer<typeof EventEmissionDescriptorSchema>;
|
|
2796
3561
|
type EventDescriptor = z.infer<typeof EventDescriptorSchema>;
|
|
2797
3562
|
type OrganizationModelResourceKind = z.infer<typeof ResourceKindSchema>;
|
|
2798
3563
|
type OrganizationModelResourceGovernanceStatus = z.infer<typeof ResourceGovernanceStatusSchema>;
|
|
3564
|
+
type OrganizationModelResourceOntologyBinding = z.infer<typeof ResourceOntologyBindingSchema>;
|
|
2799
3565
|
type OrganizationModelAgentKind = z.infer<typeof AgentKindSchema>;
|
|
2800
3566
|
type OrganizationModelScriptResourceLanguage = z.infer<typeof ScriptResourceLanguageSchema>;
|
|
2801
3567
|
type OrganizationModelScriptResourceSource = z.infer<typeof ScriptResourceSourceSchema>;
|
|
@@ -2871,8 +3637,16 @@ type ResolvedSystemEntry = OrganizationModelSystemEntry & {
|
|
|
2871
3637
|
type ResolvedOrganizationModel = Omit<OrganizationModel, 'systems'> & {
|
|
2872
3638
|
systems: Record<string, ResolvedSystemEntry>;
|
|
2873
3639
|
};
|
|
3640
|
+
type ResolveOrganizationModelOptions = {
|
|
3641
|
+
/**
|
|
3642
|
+
* Tenant-style overrides merge against the generic default fixture by
|
|
3643
|
+
* default. Full canonical models can disable that merge to avoid inheriting
|
|
3644
|
+
* fixture-only Systems.
|
|
3645
|
+
*/
|
|
3646
|
+
mergeDefaults?: boolean;
|
|
3647
|
+
};
|
|
2874
3648
|
declare function defineOrganizationModel<T extends DeepPartial<OrganizationModel>>(model: T): T;
|
|
2875
|
-
declare function resolveOrganizationModel(override?: DeepPartial<OrganizationModel>,
|
|
3649
|
+
declare function resolveOrganizationModel(override?: DeepPartial<OrganizationModel>, organizationIdOrOptions?: string | ResolveOrganizationModelOptions, options?: ResolveOrganizationModelOptions): OrganizationModel;
|
|
2876
3650
|
/**
|
|
2877
3651
|
* Resolve the organization model and enrich each flat system entry in
|
|
2878
3652
|
* `model.systems` with the list of resources whose `systemPath` exactly
|
|
@@ -2933,5 +3707,5 @@ declare function createFoundationOrganizationModel(override: DeepPartial<Organiz
|
|
|
2933
3707
|
getOrganizationSurface: (surfaceId: string) => FoundationNavigationSurface | undefined;
|
|
2934
3708
|
};
|
|
2935
3709
|
|
|
2936
|
-
export { ActionIdSchema, ActionInvocationKindSchema, ActionInvocationSchema, ActionRefSchema, ActionSchema, ActionScopeSchema, ActionsDomainSchema, AgentKindSchema, AgentResourceEntrySchema, AgentRoleHolderSchema, ApiEndpointInvocationSchema, CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA, DEFAULT_ORGANIZATION_MODEL_ENTITIES, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_NAVIGATION, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_POLICIES, DEFAULT_ORGANIZATION_MODEL_RESOURCES, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, EntitiesDomainSchema, EntityIdSchema, EntityLinkKindSchema, EntityLinkSchema, EntitySchema, EventDescriptorSchema, EventEmissionDescriptorSchema, EventIdSchema, FirmographicsSchema, GoalsDomainSchema, HumanRoleHolderSchema, IconNameSchema, IntegrationResourceEntrySchema, KNOWLEDGE_FEATURE_ID, KNOWLEDGE_SYSTEM_ID, KeyResultSchema, KnowledgeDomainSchema, KnowledgeLinkSchema, KnowledgeTargetKindSchema, KnowledgeTargetRefSchema, LEAD_GEN_ACTION_ENTRIES, LEAD_GEN_STAGE_CATALOG, LinkSchema, MONITORING_FEATURE_ID, MONITORING_SYSTEM_ID, McpToolInvocationSchema, NavigationGroupSchema, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, OPERATIONS_SYSTEM_ID, ORGANIZATION_MODEL_ICON_TOKENS, ObjectiveSchema, OfferingsDomainSchema, OrgKnowledgeKindSchema, OrgKnowledgeNodeSchema, OrganizationModelBuiltinIconTokenSchema, OrganizationModelDomainKeySchema, OrganizationModelDomainMetadataByDomainSchema, OrganizationModelDomainMetadataSchema, OrganizationModelIconTokenSchema, OrganizationModelNavigationSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_SYSTEM_ID, PROJECTS_VIEW_ACTION_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PROSPECTING_SYSTEM_ID, PoliciesDomainSchema, PolicyApplicabilitySchema, PolicyEffectSchema, PolicyIdSchema, PolicyPredicateSchema, PolicySchema, PolicyTriggerSchema, PricingModelSchema, ProductSchema, ResourceEntrySchema, ResourceGovernanceStatusSchema, ResourceIdSchema, ResourceKindSchema, ResourcesDomainSchema, RoleHolderSchema, RoleHoldersSchema, RoleIdSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SALES_SYSTEM_ID, SEO_FEATURE_ID, SEO_SYSTEM_ID, SETTINGS_FEATURE_ID, SETTINGS_ROLES_SURFACE_ID, SETTINGS_SYSTEM_ID, ScriptExecutionInvocationSchema, ScriptResourceEntrySchema, ScriptResourceLanguageSchema, ScriptResourceSourceSchema, SidebarNavigationSchema, SidebarNodeSchema, SidebarSectionSchema, SidebarSurfaceTargetsSchema, SlashCommandInvocationSchema, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, SurfaceDefinitionSchema, SurfaceTypeSchema, SystemEntrySchema, SystemIdSchema, SystemKindSchema, SystemLifecycleSchema, SystemPathSchema, SystemStatusSchema, SystemUiSchema, SystemsDomainSchema, TeamRoleHolderSchema, TechStackEntrySchema, UiPositionSchema, WorkflowResourceEntrySchema, createFoundationOrganizationModel, defineOrganizationModel, defineResource, defineResources, findOrganizationActionById, getSortedSidebarEntries, resolveOrganizationModel, resolveOrganizationModelWithResources };
|
|
2937
|
-
export type { DeepPartial, Entity, EntityId, EntityLink, EventDescriptor, EventEmissionDescriptor, EventId, FoundationBranding, FoundationNavigationSurface, FoundationOrganizationModel, FoundationSurfaceIcon, FoundationSurfaceType, KnowledgeLink, KnowledgeTargetKind, KnowledgeTargetRef, LeadGenStageCatalogEntry, NodeIdPath, NodeIdString, OrgKnowledgeKind, OrgKnowledgeNode, OrgKnowledgeNodeInput, OrganizationModel, OrganizationModelAction, OrganizationModelActionId, OrganizationModelActionInvocation, OrganizationModelActionInvocationKind, OrganizationModelActionRef, OrganizationModelActionScope, OrganizationModelActions, OrganizationModelAgentKind, OrganizationModelAgentResourceEntry, OrganizationModelAgentRoleHolder, OrganizationModelBranding, OrganizationModelBuiltinIconToken, OrganizationModelCustomerFirmographics, OrganizationModelCustomerSegment, OrganizationModelCustomers, OrganizationModelDomainKey, OrganizationModelDomainMetadata, OrganizationModelDomainMetadataByDomain, OrganizationModelEntities, OrganizationModelEntity, OrganizationModelGoals, OrganizationModelHumanRoleHolder, OrganizationModelIconToken, OrganizationModelIntegrationResourceEntry, OrganizationModelKeyResult, OrganizationModelKnowledge, OrganizationModelNavigation, OrganizationModelObjective, OrganizationModelOfferings, OrganizationModelPolicies, OrganizationModelPolicy, OrganizationModelPolicyApplicability, OrganizationModelPolicyEffect, OrganizationModelPolicyId, OrganizationModelPolicyPredicate, OrganizationModelPolicyTrigger, OrganizationModelPricingModel, OrganizationModelProduct, OrganizationModelResourceEntry, OrganizationModelResourceGovernanceStatus, OrganizationModelResourceId, OrganizationModelResourceKind, OrganizationModelResources, OrganizationModelRole, OrganizationModelRoleHolder, OrganizationModelRoleId, OrganizationModelRoles, OrganizationModelScriptResourceEntry, OrganizationModelScriptResourceLanguage, OrganizationModelScriptResourceSource, OrganizationModelSidebar, OrganizationModelSidebarGroupNode, OrganizationModelSidebarNode, OrganizationModelSidebarSection, OrganizationModelSidebarSurfaceNode, OrganizationModelSidebarSurfaceTargets, OrganizationModelStatusEntry, OrganizationModelStatusSemanticClass, OrganizationModelStatuses, OrganizationModelSystemEntry, OrganizationModelSystemId, OrganizationModelSystemKind, OrganizationModelSystemLifecycle, OrganizationModelSystemStatus, OrganizationModelSystems, OrganizationModelTeamRoleHolder, OrganizationModelTechStackEntry, OrganizationModelWorkflowResourceEntry, ResolvedOrganizationModel, ResolvedSystemEntry };
|
|
3710
|
+
export { ActionIdSchema, ActionInvocationKindSchema, ActionInvocationSchema, ActionRefSchema, ActionSchema, ActionScopeSchema, ActionsDomainSchema, AgentKindSchema, AgentResourceEntrySchema, AgentRoleHolderSchema, ApiEndpointInvocationSchema, CRM_ACTION_ENTRIES, CodeReferenceRoleSchema, CodeReferenceSchema, CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA, DEFAULT_ORGANIZATION_MODEL_ENTITIES, DEFAULT_ORGANIZATION_MODEL_GOALS, DEFAULT_ORGANIZATION_MODEL_NAVIGATION, DEFAULT_ORGANIZATION_MODEL_OFFERINGS, DEFAULT_ORGANIZATION_MODEL_POLICIES, DEFAULT_ORGANIZATION_MODEL_RESOURCES, DEFAULT_ORGANIZATION_MODEL_ROLES, DEFAULT_ORGANIZATION_MODEL_STATUSES, DEFAULT_ORGANIZATION_MODEL_SYSTEMS, EntitiesDomainSchema, EntityIdSchema, EntityLinkKindSchema, EntityLinkSchema, EntitySchema, EventDescriptorSchema, EventEmissionDescriptorSchema, EventIdSchema, FirmographicsSchema, GoalsDomainSchema, HumanRoleHolderSchema, IconNameSchema, IntegrationResourceEntrySchema, KNOWLEDGE_FEATURE_ID, KNOWLEDGE_SYSTEM_ID, KeyResultSchema, KnowledgeDomainSchema, KnowledgeLinkSchema, KnowledgeTargetKindSchema, KnowledgeTargetRefSchema, LEAD_GEN_ACTION_ENTRIES, LEAD_GEN_STAGE_CATALOG, LinkSchema, MONITORING_FEATURE_ID, MONITORING_SYSTEM_ID, McpToolInvocationSchema, NavigationGroupSchema, NodeIdPathSchema, NodeIdStringSchema, OPERATIONS_COMMAND_VIEW_SURFACE_ID, OPERATIONS_FEATURE_ID, OPERATIONS_SYSTEM_ID, ORGANIZATION_MODEL_ICON_TOKENS, ObjectiveSchema, OfferingsDomainSchema, OntologyActionTypeSchema, OntologyCatalogTypeSchema, OntologyEventTypeSchema, OntologyGroupSchema, OntologyIdSchema, OntologyInterfaceTypeSchema, OntologyKindSchema, OntologyLinkTypeSchema, OntologyObjectTypeSchema, OntologyScopeSchema, OntologySharedPropertySchema, OntologySurfaceTypeSchema, OntologyValueTypeSchema, OrgKnowledgeKindSchema, OrgKnowledgeNodeSchema, OrganizationModelBuiltinIconTokenSchema, OrganizationModelDomainKeySchema, OrganizationModelDomainMetadataByDomainSchema, OrganizationModelDomainMetadataSchema, OrganizationModelIconTokenSchema, OrganizationModelNavigationSchema, OrganizationModelSchema, PROJECTS_FEATURE_ID, PROJECTS_INDEX_SURFACE_ID, PROJECTS_SYSTEM_ID, PROJECTS_VIEW_ACTION_ID, PROSPECTING_FEATURE_ID, PROSPECTING_LISTS_SURFACE_ID, PROSPECTING_SYSTEM_ID, PoliciesDomainSchema, PolicyApplicabilitySchema, PolicyEffectSchema, PolicyIdSchema, PolicyPredicateSchema, PolicySchema, PolicyTriggerSchema, PricingModelSchema, ProductSchema, ResourceEntrySchema, ResourceGovernanceStatusSchema, ResourceIdSchema, ResourceKindSchema, ResourceOntologyBindingSchema, ResourcesDomainSchema, RoleHolderSchema, RoleHoldersSchema, RoleIdSchema, RoleSchema, RolesDomainSchema, SALES_FEATURE_ID, SALES_PIPELINE_SURFACE_ID, SALES_SYSTEM_ID, SEO_FEATURE_ID, SEO_SYSTEM_ID, SETTINGS_FEATURE_ID, SETTINGS_ROLES_SURFACE_ID, SETTINGS_SYSTEM_ID, ScriptExecutionInvocationSchema, ScriptResourceEntrySchema, ScriptResourceLanguageSchema, ScriptResourceSourceSchema, SidebarNavigationSchema, SidebarNodeSchema, SidebarSectionSchema, SidebarSurfaceTargetsSchema, SlashCommandInvocationSchema, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, SurfaceDefinitionSchema, SurfaceTypeSchema, SystemEntrySchema, SystemIdSchema, SystemKindSchema, SystemLifecycleSchema, SystemPathSchema, SystemStatusSchema, SystemUiSchema, SystemsDomainSchema, TeamRoleHolderSchema, TechStackEntrySchema, UiPositionSchema, WorkflowResourceEntrySchema, compileOrganizationOntology, createFoundationOrganizationModel, defineOrganizationModel, defineResource, defineResources, findOrganizationActionById, formatOntologyId, getOntologyDiagnostics, getSortedSidebarEntries, isOntologyGraphNodeId, listResolvedOntologyRecords, ontologyGraphNodeId, ontologyIdFromGraphNodeId, parseOntologyId, resolveOrganizationModel, resolveOrganizationModelWithResources };
|
|
3711
|
+
export type { DeepPartial, Entity, EntityId, EntityLink, EventDescriptor, EventEmissionDescriptor, EventId, FoundationBranding, FoundationNavigationSurface, FoundationOrganizationModel, FoundationSurfaceIcon, FoundationSurfaceType, KnowledgeLink, KnowledgeTargetKind, KnowledgeTargetRef, LeadGenStageCatalogEntry, NodeIdPath, NodeIdString, OntologyActionType, OntologyCatalogType, OntologyCompilation, OntologyDiagnostic, OntologyEventType, OntologyGroup, OntologyId, OntologyInterfaceType, OntologyKind, OntologyLinkType, OntologyObjectType, OntologyRecordOrigin, OntologyScope, OntologySharedProperty, OntologySurfaceType, OntologyValueType, OrgKnowledgeKind, OrgKnowledgeNode, OrgKnowledgeNodeInput, OrganizationModel, OrganizationModelAction, OrganizationModelActionId, OrganizationModelActionInvocation, OrganizationModelActionInvocationKind, OrganizationModelActionRef, OrganizationModelActionScope, OrganizationModelActions, OrganizationModelAgentKind, OrganizationModelAgentResourceEntry, OrganizationModelAgentRoleHolder, OrganizationModelBranding, OrganizationModelBuiltinIconToken, OrganizationModelCodeReference, OrganizationModelCodeReferenceRole, OrganizationModelCustomerFirmographics, OrganizationModelCustomerSegment, OrganizationModelCustomers, OrganizationModelDomainKey, OrganizationModelDomainMetadata, OrganizationModelDomainMetadataByDomain, OrganizationModelEntities, OrganizationModelEntity, OrganizationModelGoals, OrganizationModelHumanRoleHolder, OrganizationModelIconToken, OrganizationModelIntegrationResourceEntry, OrganizationModelKeyResult, OrganizationModelKnowledge, OrganizationModelNavigation, OrganizationModelObjective, OrganizationModelOfferings, OrganizationModelPolicies, OrganizationModelPolicy, OrganizationModelPolicyApplicability, OrganizationModelPolicyEffect, OrganizationModelPolicyId, OrganizationModelPolicyPredicate, OrganizationModelPolicyTrigger, OrganizationModelPricingModel, OrganizationModelProduct, OrganizationModelResourceEntry, OrganizationModelResourceGovernanceStatus, OrganizationModelResourceId, OrganizationModelResourceKind, OrganizationModelResourceOntologyBinding, OrganizationModelResources, OrganizationModelRole, OrganizationModelRoleHolder, OrganizationModelRoleId, OrganizationModelRoles, OrganizationModelScriptResourceEntry, OrganizationModelScriptResourceLanguage, OrganizationModelScriptResourceSource, OrganizationModelSidebar, OrganizationModelSidebarGroupNode, OrganizationModelSidebarNode, OrganizationModelSidebarSection, OrganizationModelSidebarSurfaceNode, OrganizationModelSidebarSurfaceTargets, OrganizationModelStatusEntry, OrganizationModelStatusSemanticClass, OrganizationModelStatuses, OrganizationModelSystemEntry, OrganizationModelSystemId, OrganizationModelSystemKind, OrganizationModelSystemLifecycle, OrganizationModelSystemStatus, OrganizationModelSystems, OrganizationModelTeamRoleHolder, OrganizationModelTechStackEntry, OrganizationModelWorkflowResourceEntry, ParsedOntologyId, ResolvedOntologyIndex, ResolvedOntologyRecord, ResolvedOntologyRecordEntry, ResolvedOrganizationModel, ResolvedSystemEntry };
|