@elevasis/core 0.36.0 → 0.38.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.
Files changed (31) hide show
  1. package/dist/auth/index.d.ts +84 -1
  2. package/dist/index.d.ts +359 -5
  3. package/dist/index.js +41 -8
  4. package/dist/knowledge/index.d.ts +86 -1
  5. package/dist/organization-model/index.d.ts +359 -5
  6. package/dist/organization-model/index.js +41 -8
  7. package/dist/test-utils/index.d.ts +84 -1
  8. package/dist/test-utils/index.js +38 -6
  9. package/package.json +1 -1
  10. package/src/_gen/__tests__/__snapshots__/contracts.md.snap +423 -338
  11. package/src/_gen/__tests__/__snapshots__/system-interface-capabilities.md.snap +47 -0
  12. package/src/_gen/__tests__/scaffold-contracts.test.ts +47 -8
  13. package/src/business/acquisition/api-schemas.test.ts +13 -1
  14. package/src/business/acquisition/ontology-validation.ts +13 -22
  15. package/src/organization-model/__tests__/domains/navigation-topbar.test.ts +282 -0
  16. package/src/organization-model/__tests__/domains/systems.test.ts +34 -1
  17. package/src/organization-model/__tests__/schema.test.ts +47 -0
  18. package/src/organization-model/defaults.ts +2 -1
  19. package/src/organization-model/domains/navigation.ts +176 -139
  20. package/src/organization-model/domains/systems.ts +22 -9
  21. package/src/organization-model/icons.ts +1 -0
  22. package/src/organization-model/published.ts +8 -6
  23. package/src/organization-model/types.ts +5 -1
  24. package/src/platform/constants/versions.ts +1 -1
  25. package/src/platform/registry/__tests__/validation.test.ts +1404 -1318
  26. package/src/platform/registry/index.ts +90 -88
  27. package/src/platform/registry/types.ts +443 -425
  28. package/src/platform/registry/validation.ts +60 -1
  29. package/src/reference/_generated/contracts.md +423 -338
  30. package/src/reference/_generated/system-interface-capabilities.md +47 -0
  31. package/src/reference/glossary.md +14 -2
package/dist/index.js CHANGED
@@ -416,6 +416,7 @@ var ORGANIZATION_MODEL_ICON_TOKENS = [
416
416
  "view",
417
417
  "launch",
418
418
  "message",
419
+ "message-plus",
419
420
  "escalate",
420
421
  "promote",
421
422
  "submit",
@@ -600,14 +601,28 @@ var SidebarNavigationSchema = z.object({
600
601
  primary: SidebarSectionSchema,
601
602
  bottom: SidebarSectionSchema
602
603
  }).default({ primary: {}, bottom: {} });
604
+ var TopbarActionNodeSchema = z.object({
605
+ id: ModelIdSchema,
606
+ label: LabelSchema,
607
+ tooltip: DescriptionSchema.optional(),
608
+ icon: IconNameSchema.optional(),
609
+ order: z.number().int().optional(),
610
+ enabled: z.boolean().default(true),
611
+ devOnly: z.boolean().optional(),
612
+ requiresAdmin: z.boolean().optional(),
613
+ targets: SidebarSurfaceTargetsSchema.optional()
614
+ });
615
+ var TopbarSectionSchema = z.record(z.string(), TopbarActionNodeSchema).default({});
603
616
  var OrganizationModelNavigationSchema = z.object({
604
- sidebar: SidebarNavigationSchema
605
- }).default({ sidebar: { primary: {}, bottom: {} } });
617
+ sidebar: SidebarNavigationSchema,
618
+ topbar: TopbarSectionSchema
619
+ }).default({ sidebar: { primary: {}, bottom: {} }, topbar: {} });
606
620
  var DEFAULT_ORGANIZATION_MODEL_NAVIGATION = {
607
621
  sidebar: {
608
622
  primary: {},
609
623
  bottom: {}
610
- }
624
+ },
625
+ topbar: {}
611
626
  };
612
627
  function getSortedSidebarEntries(nodes) {
613
628
  return Object.entries(nodes).sort(([leftId, left], [rightId, right]) => {
@@ -996,10 +1011,27 @@ var SystemUiSchema = z.object({
996
1011
  });
997
1012
  var SystemInterfaceKeySchema = ModelIdSchema;
998
1013
  var SystemInterfaceLifecycleSchema = z.enum(["draft", "active", "disabled", "deprecated", "archived"]).meta({ label: "System interface lifecycle", color: "teal" });
999
- var SystemInterfaceReadinessProfileSchema = z.string().trim().min(1).max(200).regex(
1000
- /^[a-z0-9][a-z0-9-]*(?:\.[a-z0-9][a-z0-9-]*)*(?:\.[a-z0-9][a-z0-9-]*)?$/,
1001
- 'Readiness profiles must use dotted lowercase identifiers (e.g. "sales.lead-gen.api")'
1014
+ var SYSTEM_INTERFACE_PROFILES = [
1015
+ {
1016
+ systemPath: "sales.lead-gen",
1017
+ interfaceKey: "api",
1018
+ readinessProfile: "sales.lead-gen.api"
1019
+ },
1020
+ {
1021
+ systemPath: "sales.crm",
1022
+ interfaceKey: "api",
1023
+ readinessProfile: "sales.crm.api"
1024
+ },
1025
+ {
1026
+ systemPath: "sales.lead-gen",
1027
+ interfaceKey: "crm-handoff",
1028
+ readinessProfile: "sales.lead-gen.crm-handoff"
1029
+ }
1030
+ ];
1031
+ var SYSTEM_INTERFACE_READINESS_PROFILES = SYSTEM_INTERFACE_PROFILES.map(
1032
+ (profile) => profile.readinessProfile
1002
1033
  );
1034
+ var SystemInterfaceReadinessProfileSchema = z.enum(SYSTEM_INTERFACE_READINESS_PROFILES);
1003
1035
  var SystemInterfaceResourceScopeSchema = z.array(ModelIdSchema).default([]);
1004
1036
  var SystemApiInterfaceSchema = z.object({
1005
1037
  lifecycle: SystemInterfaceLifecycleSchema.default("active"),
@@ -2556,7 +2588,8 @@ var DEFAULT_ORGANIZATION_MODEL_NAVIGATION2 = {
2556
2588
  sidebar: {
2557
2589
  primary: {},
2558
2590
  bottom: {}
2559
- }
2591
+ },
2592
+ topbar: {}
2560
2593
  };
2561
2594
  var DEFAULT_ORGANIZATION_MODEL = {
2562
2595
  version: 1,
@@ -3459,4 +3492,4 @@ function scaffoldOrganizationModel(model, spec) {
3459
3492
  return scaffoldKnowledgeNode(model, spec);
3460
3493
  }
3461
3494
 
3462
- export { ActionIdSchema, ActionInvocationKindSchema, ActionInvocationSchema, ActionRefSchema, ActionSchema, ActionScopeSchema, ActionsDomainSchema, AgentKindSchema, AgentResourceEntrySchema, AgentRoleHolderSchema, ApiEndpointInvocationSchema, CodeReferenceRoleSchema, CodeReferenceSchema, ContractRefSchema, CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA, 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, DEFAULT_ORGANIZATION_MODEL_TOPOLOGY, EntitiesDomainSchema, EntityIdSchema, EntityLinkKindSchema, EntityLinkSchema, EntitySchema, EventDescriptorSchema, EventEmissionDescriptorSchema, EventIdSchema, FirmographicsSchema, GoalsDomainSchema, HumanRoleHolderSchema, IconNameSchema, IntegrationResourceEntrySchema, KNOWLEDGE_FEATURE_ID, KNOWLEDGE_SYSTEM_ID, KeyResultSchema, KnowledgeDomainSchema, KnowledgeLinkSchema, KnowledgeTargetKindSchema, KnowledgeTargetRefSchema, 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, OmTopologyDomainSchema, OmTopologyMetadataSchema, OmTopologyNodeKindSchema, OmTopologyNodeRefSchema, OmTopologyRelationshipKindSchema, OmTopologyRelationshipSchema, OmTopologySystemInterfaceGrantMetadataSchema, OmTopologySystemInterfaceGrantSchema, 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, SystemApiInterfaceSchema, SystemEntrySchema, SystemIdSchema, SystemInterfaceKeySchema, SystemInterfaceLifecycleSchema, SystemInterfaceReadinessProfileSchema, SystemInterfaceRefSchema, SystemKindSchema, SystemLifecycleSchema, SystemPathSchema, SystemStatusSchema, SystemUiSchema, SystemsDomainSchema, TeamRoleHolderSchema, TechStackEntrySchema, UiPositionSchema, WorkflowResourceEntrySchema, compileOrganizationOntology, compileTopologyNodeRef, createFoundationOrganizationModel, defineAction, defineActions, defineCustomer, defineCustomers, defineDomainRecord, defineEntities, defineEntity, defineGoal, defineGoals, defineKnowledgeNode, defineKnowledgeNodes, defineOffering, defineOfferings, defineOrganizationModel, definePolicies, definePolicy, defineResource, defineResourceOntology, defineResources, defineRole, defineRoles, defineStatus, defineStatuses, defineSystem, defineSystems, defineTopology, defineTopologyRelationship, findOrganizationActionById, formatOntologyId, getOntologyDiagnostics, getSortedSidebarEntries, isOntologyGraphNodeId, isOntologyTopologyRef, listAllSystems, listResolvedOntologyRecords, ontologyGraphNodeId, ontologyIdFromGraphNodeId, parseContractRef, parseOntologyId, parseTopologyNodeRef, projectOrganizationSurfaces, resolveOrganizationModel, resolveOrganizationModelWithResources, scaffoldOrganizationModel, topologyRef, topologyRelationship, validateOrganizationSurfaceProjection };
3495
+ export { ActionIdSchema, ActionInvocationKindSchema, ActionInvocationSchema, ActionRefSchema, ActionSchema, ActionScopeSchema, ActionsDomainSchema, AgentKindSchema, AgentResourceEntrySchema, AgentRoleHolderSchema, ApiEndpointInvocationSchema, CodeReferenceRoleSchema, CodeReferenceSchema, ContractRefSchema, CustomerSegmentSchema, CustomersDomainSchema, DEFAULT_ONTOLOGY_SCOPE, DEFAULT_ORGANIZATION_MODEL, DEFAULT_ORGANIZATION_MODEL_ACTIONS, DEFAULT_ORGANIZATION_MODEL_CUSTOMERS, DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA, 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, DEFAULT_ORGANIZATION_MODEL_TOPOLOGY, EntitiesDomainSchema, EntityIdSchema, EntityLinkKindSchema, EntityLinkSchema, EntitySchema, EventDescriptorSchema, EventEmissionDescriptorSchema, EventIdSchema, FirmographicsSchema, GoalsDomainSchema, HumanRoleHolderSchema, IconNameSchema, IntegrationResourceEntrySchema, KNOWLEDGE_FEATURE_ID, KNOWLEDGE_SYSTEM_ID, KeyResultSchema, KnowledgeDomainSchema, KnowledgeLinkSchema, KnowledgeTargetKindSchema, KnowledgeTargetRefSchema, 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, OmTopologyDomainSchema, OmTopologyMetadataSchema, OmTopologyNodeKindSchema, OmTopologyNodeRefSchema, OmTopologyRelationshipKindSchema, OmTopologyRelationshipSchema, OmTopologySystemInterfaceGrantMetadataSchema, OmTopologySystemInterfaceGrantSchema, 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, SYSTEM_INTERFACE_PROFILES, SYSTEM_INTERFACE_READINESS_PROFILES, ScriptExecutionInvocationSchema, ScriptResourceEntrySchema, ScriptResourceLanguageSchema, ScriptResourceSourceSchema, SidebarNavigationSchema, SidebarNodeSchema, SidebarSectionSchema, SidebarSurfaceTargetsSchema, SlashCommandInvocationSchema, StatusEntrySchema, StatusSemanticClassSchema, StatusesDomainSchema, SurfaceDefinitionSchema, SurfaceTypeSchema, SystemApiInterfaceSchema, SystemEntrySchema, SystemIdSchema, SystemInterfaceKeySchema, SystemInterfaceLifecycleSchema, SystemInterfaceReadinessProfileSchema, SystemInterfaceRefSchema, SystemKindSchema, SystemLifecycleSchema, SystemPathSchema, SystemStatusSchema, SystemUiSchema, SystemsDomainSchema, TeamRoleHolderSchema, TechStackEntrySchema, TopbarActionNodeSchema, TopbarSectionSchema, UiPositionSchema, WorkflowResourceEntrySchema, compileOrganizationOntology, compileTopologyNodeRef, createFoundationOrganizationModel, defineAction, defineActions, defineCustomer, defineCustomers, defineDomainRecord, defineEntities, defineEntity, defineGoal, defineGoals, defineKnowledgeNode, defineKnowledgeNodes, defineOffering, defineOfferings, defineOrganizationModel, definePolicies, definePolicy, defineResource, defineResourceOntology, defineResources, defineRole, defineRoles, defineStatus, defineStatuses, defineSystem, defineSystems, defineTopology, defineTopologyRelationship, findOrganizationActionById, formatOntologyId, getOntologyDiagnostics, getSortedSidebarEntries, isOntologyGraphNodeId, isOntologyTopologyRef, listAllSystems, listResolvedOntologyRecords, ontologyGraphNodeId, ontologyIdFromGraphNodeId, parseContractRef, parseOntologyId, parseTopologyNodeRef, projectOrganizationSurfaces, resolveOrganizationModel, resolveOrganizationModelWithResources, scaffoldOrganizationModel, topologyRef, topologyRelationship, validateOrganizationSurfaceProjection };
@@ -102,7 +102,11 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
102
102
  archived: "archived";
103
103
  disabled: "disabled";
104
104
  }>>;
105
- readinessProfile: z.ZodOptional<z.ZodString>;
105
+ readinessProfile: z.ZodOptional<z.ZodEnum<{
106
+ "sales.lead-gen.api": "sales.lead-gen.api";
107
+ "sales.crm.api": "sales.crm.api";
108
+ "sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
109
+ }>>;
106
110
  resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
107
111
  }, z.core.$strict>;
108
112
  type JsonPrimitive = string | number | boolean | null;
@@ -243,6 +247,7 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
243
247
  edit: "edit";
244
248
  view: "view";
245
249
  launch: "launch";
250
+ "message-plus": "message-plus";
246
251
  escalate: "escalate";
247
252
  promote: "promote";
248
253
  submit: "submit";
@@ -346,6 +351,7 @@ declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
346
351
  edit: "edit";
347
352
  view: "view";
348
353
  launch: "launch";
354
+ "message-plus": "message-plus";
349
355
  escalate: "escalate";
350
356
  promote: "promote";
351
357
  submit: "submit";
@@ -559,6 +565,84 @@ declare const OrganizationModelSchema: z.ZodObject<{
559
565
  primary: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
560
566
  bottom: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<SidebarNode, unknown, z.core.$ZodTypeInternals<SidebarNode, unknown>>>>;
561
567
  }, z.core.$strip>>;
568
+ topbar: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
569
+ id: z.ZodString;
570
+ label: z.ZodString;
571
+ tooltip: z.ZodOptional<z.ZodString>;
572
+ icon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
573
+ message: "message";
574
+ error: "error";
575
+ agent: "agent";
576
+ workflow: "workflow";
577
+ "google-sheets": "google-sheets";
578
+ dashboard: "dashboard";
579
+ calendar: "calendar";
580
+ sales: "sales";
581
+ crm: "crm";
582
+ "lead-gen": "lead-gen";
583
+ projects: "projects";
584
+ clients: "clients";
585
+ operations: "operations";
586
+ monitoring: "monitoring";
587
+ knowledge: "knowledge";
588
+ settings: "settings";
589
+ admin: "admin";
590
+ archive: "archive";
591
+ business: "business";
592
+ finance: "finance";
593
+ platform: "platform";
594
+ seo: "seo";
595
+ playbook: "playbook";
596
+ strategy: "strategy";
597
+ reference: "reference";
598
+ integration: "integration";
599
+ database: "database";
600
+ user: "user";
601
+ team: "team";
602
+ gmail: "gmail";
603
+ attio: "attio";
604
+ overview: "overview";
605
+ "command-view": "command-view";
606
+ "command-queue": "command-queue";
607
+ pipeline: "pipeline";
608
+ lists: "lists";
609
+ resources: "resources";
610
+ approve: "approve";
611
+ reject: "reject";
612
+ retry: "retry";
613
+ edit: "edit";
614
+ view: "view";
615
+ launch: "launch";
616
+ "message-plus": "message-plus";
617
+ escalate: "escalate";
618
+ promote: "promote";
619
+ submit: "submit";
620
+ email: "email";
621
+ success: "success";
622
+ warning: "warning";
623
+ info: "info";
624
+ pending: "pending";
625
+ bolt: "bolt";
626
+ building: "building";
627
+ briefcase: "briefcase";
628
+ apps: "apps";
629
+ graph: "graph";
630
+ shield: "shield";
631
+ users: "users";
632
+ "chart-bar": "chart-bar";
633
+ search: "search";
634
+ }>, z.ZodString]>>;
635
+ order: z.ZodOptional<z.ZodNumber>;
636
+ enabled: z.ZodDefault<z.ZodBoolean>;
637
+ devOnly: z.ZodOptional<z.ZodBoolean>;
638
+ requiresAdmin: z.ZodOptional<z.ZodBoolean>;
639
+ targets: z.ZodOptional<z.ZodDefault<z.ZodObject<{
640
+ systems: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
641
+ entities: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
642
+ resources: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
643
+ actions: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
644
+ }, z.core.$strip>>>;
645
+ }, z.core.$strip>>>;
562
646
  }, z.core.$strip>>;
563
647
  identity: z.ZodDefault<z.ZodObject<{
564
648
  mission: z.ZodDefault<z.ZodString>;
@@ -1227,6 +1311,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
1227
1311
  edit: "edit";
1228
1312
  view: "view";
1229
1313
  launch: "launch";
1314
+ "message-plus": "message-plus";
1230
1315
  escalate: "escalate";
1231
1316
  promote: "promote";
1232
1317
  submit: "submit";