@company-semantics/contracts 1.25.1 → 1.26.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "1.25.1",
3
+ "version": "1.26.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -652,7 +652,12 @@ export type OrgUsageResponse = z.infer<typeof OrgUsageResponseSchema>;
652
652
  // OrgUnit canonical model (ADR-BE-120)
653
653
  // ---------------------------------------------------------------------------
654
654
 
655
- export const OrgUnitClassificationSchema = z.enum(['execution_unit', 'org_container', 'custom']);
655
+ export const OrgUnitClassificationSchema = z.enum([
656
+ 'execution_unit',
657
+ 'org_container',
658
+ 'leadership',
659
+ 'custom',
660
+ ]);
656
661
 
657
662
  export const OrgUnitSyncModeSchema = z.enum([
658
663
  'manual_only',
@@ -693,6 +698,7 @@ export const OrgUnitErrorCodeSchema = z.enum([
693
698
  'ORDERKEY_CONFLICT',
694
699
  'SIBLING_NOT_FOUND',
695
700
  'SIBLINGS_DIFFERENT_PARENT',
701
+ 'LEADERSHIP_IMMUTABLE',
696
702
  ]);
697
703
 
698
704
  export const OrgUnitSchema = z.object({