@company-semantics/contracts 1.4.0 → 1.4.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,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 = '9740ec13f6ea' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '9740ec13f6ea493d93a5b3cf1e8d7f6b0a1130a0e85846a446fe74aaa7a40fde' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1571,6 +1571,23 @@ export interface paths {
|
|
|
1571
1571
|
patch?: never;
|
|
1572
1572
|
trace?: never;
|
|
1573
1573
|
};
|
|
1574
|
+
"/api/org-units/{unitId}/permissions": {
|
|
1575
|
+
parameters: {
|
|
1576
|
+
query?: never;
|
|
1577
|
+
header?: never;
|
|
1578
|
+
path?: never;
|
|
1579
|
+
cookie?: never;
|
|
1580
|
+
};
|
|
1581
|
+
/** List effective managers of an org unit (direct + inherited) */
|
|
1582
|
+
get: operations["listOrgUnitPermissions"];
|
|
1583
|
+
put?: never;
|
|
1584
|
+
post?: never;
|
|
1585
|
+
delete?: never;
|
|
1586
|
+
options?: never;
|
|
1587
|
+
head?: never;
|
|
1588
|
+
patch?: never;
|
|
1589
|
+
trace?: never;
|
|
1590
|
+
};
|
|
1574
1591
|
"/api/org-units/{unitId}/memberships": {
|
|
1575
1592
|
parameters: {
|
|
1576
1593
|
query?: never;
|
|
@@ -3095,6 +3112,19 @@ export interface components {
|
|
|
3095
3112
|
updatedAt: string;
|
|
3096
3113
|
}[];
|
|
3097
3114
|
};
|
|
3115
|
+
ListOrgUnitPermissionsResponse: {
|
|
3116
|
+
/** Format: uuid */
|
|
3117
|
+
unitId: string;
|
|
3118
|
+
entries: {
|
|
3119
|
+
/** Format: uuid */
|
|
3120
|
+
userId: string;
|
|
3121
|
+
/** @enum {string} */
|
|
3122
|
+
membershipRole: "member" | "manager" | "owner";
|
|
3123
|
+
/** Format: uuid */
|
|
3124
|
+
inheritedFromUnitId: string;
|
|
3125
|
+
inheritedFromUnitName: string;
|
|
3126
|
+
}[];
|
|
3127
|
+
};
|
|
3098
3128
|
OrgUnitMembershipListResponse: {
|
|
3099
3129
|
/** Format: uuid */
|
|
3100
3130
|
unitId: string;
|
|
@@ -5729,6 +5759,28 @@ export interface operations {
|
|
|
5729
5759
|
};
|
|
5730
5760
|
};
|
|
5731
5761
|
};
|
|
5762
|
+
listOrgUnitPermissions: {
|
|
5763
|
+
parameters: {
|
|
5764
|
+
query?: never;
|
|
5765
|
+
header?: never;
|
|
5766
|
+
path: {
|
|
5767
|
+
unitId: string;
|
|
5768
|
+
};
|
|
5769
|
+
cookie?: never;
|
|
5770
|
+
};
|
|
5771
|
+
requestBody?: never;
|
|
5772
|
+
responses: {
|
|
5773
|
+
/** @description Effective managers inherited via ltree `path @>` */
|
|
5774
|
+
200: {
|
|
5775
|
+
headers: {
|
|
5776
|
+
[name: string]: unknown;
|
|
5777
|
+
};
|
|
5778
|
+
content: {
|
|
5779
|
+
"application/json": components["schemas"]["ListOrgUnitPermissionsResponse"];
|
|
5780
|
+
};
|
|
5781
|
+
};
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5732
5784
|
listOrgUnitMemberships: {
|
|
5733
5785
|
parameters: {
|
|
5734
5786
|
query?: never;
|