@company-semantics/contracts 1.25.0 → 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 +1 -1
- package/src/org/schemas.ts +8 -1
package/package.json
CHANGED
package/src/org/schemas.ts
CHANGED
|
@@ -28,6 +28,7 @@ const WorkspaceMemberSchema = z.object({
|
|
|
28
28
|
id: z.string(),
|
|
29
29
|
name: z.string(),
|
|
30
30
|
email: z.string(),
|
|
31
|
+
jobTitle: z.string().nullable(),
|
|
31
32
|
role: z.enum(['owner', 'admin', 'member', 'auditor']),
|
|
32
33
|
roleNames: z.array(z.string()),
|
|
33
34
|
joinedAt: z.string(),
|
|
@@ -651,7 +652,12 @@ export type OrgUsageResponse = z.infer<typeof OrgUsageResponseSchema>;
|
|
|
651
652
|
// OrgUnit canonical model (ADR-BE-120)
|
|
652
653
|
// ---------------------------------------------------------------------------
|
|
653
654
|
|
|
654
|
-
export const OrgUnitClassificationSchema = z.enum([
|
|
655
|
+
export const OrgUnitClassificationSchema = z.enum([
|
|
656
|
+
'execution_unit',
|
|
657
|
+
'org_container',
|
|
658
|
+
'leadership',
|
|
659
|
+
'custom',
|
|
660
|
+
]);
|
|
655
661
|
|
|
656
662
|
export const OrgUnitSyncModeSchema = z.enum([
|
|
657
663
|
'manual_only',
|
|
@@ -692,6 +698,7 @@ export const OrgUnitErrorCodeSchema = z.enum([
|
|
|
692
698
|
'ORDERKEY_CONFLICT',
|
|
693
699
|
'SIBLING_NOT_FOUND',
|
|
694
700
|
'SIBLINGS_DIFFERENT_PARENT',
|
|
701
|
+
'LEADERSHIP_IMMUTABLE',
|
|
695
702
|
]);
|
|
696
703
|
|
|
697
704
|
export const OrgUnitSchema = z.object({
|