@company-semantics/contracts 13.2.1 → 13.3.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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/org/schemas.ts +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "13.2.1",
3
+ "version": "13.3.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1310,6 +1310,18 @@ export const CapabilitiesResponseSchema = z.object({
1310
1310
  orgUnit: z.object({
1311
1311
  manage: ActionCapabilitySchema,
1312
1312
  }),
1313
+ // Entity ownership-transfer overrides (backend ADR-BE-259). Optional so
1314
+ // older backends that don't derive them still validate.
1315
+ companyMd: z
1316
+ .object({
1317
+ transferOwnership: ActionCapabilitySchema,
1318
+ })
1319
+ .optional(),
1320
+ workItem: z
1321
+ .object({
1322
+ transferOwnership: ActionCapabilitySchema,
1323
+ })
1324
+ .optional(),
1313
1325
  })
1314
1326
  .optional(),
1315
1327
  });