@company-semantics/contracts 1.25.1 → 2.0.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 +1 -1
- package/src/org/schemas.ts +14 -2
package/package.json
CHANGED
package/src/org/schemas.ts
CHANGED
|
@@ -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([
|
|
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',
|
|
@@ -671,7 +676,14 @@ export const OrgUnitRelationshipTypeSchema = z.enum([
|
|
|
671
676
|
|
|
672
677
|
export const OrgUnitRelationshipRoleSchema = z.enum(['owner', 'participant', 'supporting']);
|
|
673
678
|
|
|
674
|
-
export const OrgUnitMembershipRoleSchema = z.enum([
|
|
679
|
+
export const OrgUnitMembershipRoleSchema = z.enum([
|
|
680
|
+
'member',
|
|
681
|
+
'l1_unit_owner',
|
|
682
|
+
'l2_unit_owner',
|
|
683
|
+
'l3_unit_owner',
|
|
684
|
+
'l4_unit_owner',
|
|
685
|
+
'l5_unit_owner',
|
|
686
|
+
]);
|
|
675
687
|
|
|
676
688
|
export const OrgUnitMembershipStatusSchema = z.enum(['active', 'pending', 'removed']);
|
|
677
689
|
|