@company-semantics/contracts 13.2.1 → 13.3.1

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": "13.2.1",
3
+ "version": "13.3.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,3 @@
1
1
  // AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
2
- export const SPEC_HASH = '4dd221ddc8fd' as const;
3
- export const SPEC_HASH_FULL = '4dd221ddc8fd1a1ff75153543db47c0e2c5a667d1f428e855026a035cdc3b3c6' as const;
2
+ export const SPEC_HASH = '5961c9041966' as const;
3
+ export const SPEC_HASH_FULL = '5961c9041966a739d90bd6f60228167aeccf4c1f28d37a28a924499eb452acd0' as const;
@@ -3843,6 +3843,20 @@ export interface components {
3843
3843
  requiredScope?: string;
3844
3844
  };
3845
3845
  };
3846
+ companyMd?: {
3847
+ transferOwnership: {
3848
+ /** @enum {string} */
3849
+ state: "allowed" | "blocked";
3850
+ requiredScope?: string;
3851
+ };
3852
+ };
3853
+ workItem?: {
3854
+ transferOwnership: {
3855
+ /** @enum {string} */
3856
+ state: "allowed" | "blocked";
3857
+ requiredScope?: string;
3858
+ };
3859
+ };
3846
3860
  };
3847
3861
  };
3848
3862
  CompanyMdListResponse: {
@@ -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
  });