@company-semantics/contracts 1.13.0 → 1.14.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,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = '508bfa08f5fd' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '508bfa08f5fdd3ae4f8d472fa9a6fd9a7dbfca1bb4b63f86c24cc1dbc2fc4cf3' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1430,7 +1430,8 @@ export interface paths {
|
|
|
1430
1430
|
delete?: never;
|
|
1431
1431
|
options?: never;
|
|
1432
1432
|
head?: never;
|
|
1433
|
-
|
|
1433
|
+
/** Update an org unit (name and/or description) */
|
|
1434
|
+
patch: operations["updateOrgUnit"];
|
|
1434
1435
|
trace?: never;
|
|
1435
1436
|
};
|
|
1436
1437
|
"/api/org-units/{unitId}/children": {
|
|
@@ -2936,6 +2937,31 @@ export interface components {
|
|
|
2936
2937
|
updatedAt: string;
|
|
2937
2938
|
};
|
|
2938
2939
|
};
|
|
2940
|
+
UpdateOrgUnitResponse: {
|
|
2941
|
+
unit: {
|
|
2942
|
+
/** Format: uuid */
|
|
2943
|
+
id: string;
|
|
2944
|
+
/** Format: uuid */
|
|
2945
|
+
orgId: string;
|
|
2946
|
+
parentId: string | null;
|
|
2947
|
+
slug: string;
|
|
2948
|
+
name: string;
|
|
2949
|
+
description: string | null;
|
|
2950
|
+
typeTag: string;
|
|
2951
|
+
classification: ("execution_unit" | "org_container" | "custom") | null;
|
|
2952
|
+
orderKey: string;
|
|
2953
|
+
path: string;
|
|
2954
|
+
/** @enum {string} */
|
|
2955
|
+
syncMode: "manual_only" | "synced_readonly" | "synced_with_overrides";
|
|
2956
|
+
visibilityDefault: ("public" | "private" | "restricted") | null;
|
|
2957
|
+
metadata: {
|
|
2958
|
+
[key: string]: unknown;
|
|
2959
|
+
};
|
|
2960
|
+
archivedAt: string | null;
|
|
2961
|
+
createdAt: string;
|
|
2962
|
+
updatedAt: string;
|
|
2963
|
+
};
|
|
2964
|
+
};
|
|
2939
2965
|
OrgUnitChildrenResponse: {
|
|
2940
2966
|
/** Format: uuid */
|
|
2941
2967
|
parentId: string;
|
|
@@ -5522,6 +5548,35 @@ export interface operations {
|
|
|
5522
5548
|
};
|
|
5523
5549
|
};
|
|
5524
5550
|
};
|
|
5551
|
+
updateOrgUnit: {
|
|
5552
|
+
parameters: {
|
|
5553
|
+
query?: never;
|
|
5554
|
+
header?: never;
|
|
5555
|
+
path: {
|
|
5556
|
+
unitId: string;
|
|
5557
|
+
};
|
|
5558
|
+
cookie?: never;
|
|
5559
|
+
};
|
|
5560
|
+
requestBody: {
|
|
5561
|
+
content: {
|
|
5562
|
+
"application/json": {
|
|
5563
|
+
name?: string;
|
|
5564
|
+
description?: string | null;
|
|
5565
|
+
};
|
|
5566
|
+
};
|
|
5567
|
+
};
|
|
5568
|
+
responses: {
|
|
5569
|
+
/** @description Updated org unit */
|
|
5570
|
+
200: {
|
|
5571
|
+
headers: {
|
|
5572
|
+
[name: string]: unknown;
|
|
5573
|
+
};
|
|
5574
|
+
content: {
|
|
5575
|
+
"application/json": components["schemas"]["UpdateOrgUnitResponse"];
|
|
5576
|
+
};
|
|
5577
|
+
};
|
|
5578
|
+
};
|
|
5579
|
+
};
|
|
5525
5580
|
listOrgUnitChildren: {
|
|
5526
5581
|
parameters: {
|
|
5527
5582
|
query?: never;
|