@company-semantics/contracts 2.18.0 → 3.0.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 = '30c4d8eb9dce' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '30c4d8eb9dcefed99d44a531c27a9e5a25eb4842c578e8933f64678a13816d07' as const;
|
package/src/api/generated.ts
CHANGED
package/src/content/schemas.ts
CHANGED
|
@@ -66,7 +66,6 @@ export const CompanyMdDocResponseSchema = z.object({
|
|
|
66
66
|
parentId: z.string().nullable(),
|
|
67
67
|
owningUnitId: z.string().nullable(),
|
|
68
68
|
owner: CompanyMdPersonSchema.nullable(),
|
|
69
|
-
coOwners: z.array(CompanyMdPersonSchema),
|
|
70
69
|
canEdit: z.boolean(),
|
|
71
70
|
inheritsFrom: z.string().nullable(),
|
|
72
71
|
sources: z.array(CompanyMdSourceSchema),
|
|
@@ -50,6 +50,7 @@ export const openApiRoutes = {
|
|
|
50
50
|
'/api/internal-admin/impersonate/session': ['GET'],
|
|
51
51
|
'/api/internal-admin/impersonate/start': ['POST'],
|
|
52
52
|
'/api/me': ['GET'],
|
|
53
|
+
'/api/me/access-list': ['GET'],
|
|
53
54
|
'/api/me/meetings/recordings/start': ['POST'],
|
|
54
55
|
'/api/me/meetings/recordings/{id}': ['DELETE'],
|
|
55
56
|
'/api/me/meetings/recordings/{id}/complete': ['POST'],
|
|
@@ -75,6 +76,7 @@ export const openApiRoutes = {
|
|
|
75
76
|
'/api/org-units/{unitId}/memberships': ['GET', 'POST'],
|
|
76
77
|
'/api/org-units/{unitId}/memberships/{userId}': ['DELETE'],
|
|
77
78
|
'/api/org-units/{unitId}/memberships/{userId}/role': ['PUT'],
|
|
79
|
+
'/api/org-units/{unitId}/my-authority': ['GET'],
|
|
78
80
|
'/api/org-units/{unitId}/owners': ['GET'],
|
|
79
81
|
'/api/org-units/{unitId}/permissions': ['GET'],
|
|
80
82
|
'/api/org-units/{unitId}/relationships': ['GET', 'POST'],
|
|
@@ -143,8 +145,10 @@ export const openApiRoutes = {
|
|
|
143
145
|
'/api/{entityType}/{id}/acl': ['GET'],
|
|
144
146
|
'/api/{entityType}/{id}/acl/{principalType}/{principalId}': ['DELETE', 'PUT'],
|
|
145
147
|
'/api/{entityType}/{id}/effective-access': ['POST'],
|
|
148
|
+
'/api/{entityType}/{id}/recent-decisions': ['GET'],
|
|
146
149
|
'/api/{entityType}/{id}/transfer-ownership': ['POST'],
|
|
147
150
|
'/api/{entityType}/{id}/visibility': ['PATCH'],
|
|
151
|
+
'/api/{entityType}/{id}/who-can-access': ['GET'],
|
|
148
152
|
'/auth/logout': ['POST'],
|
|
149
153
|
'/auth/me': ['GET'],
|
|
150
154
|
'/auth/sso/callback': ['GET', 'POST'],
|
package/src/org/company-md.ts
CHANGED
|
@@ -123,10 +123,6 @@ export interface CompanyMdDocCore extends CompanyMdNodeIdentity {
|
|
|
123
123
|
|
|
124
124
|
export interface CompanyMdDocCollaborators {
|
|
125
125
|
readonly owner: { readonly id: string; readonly name: string } | null;
|
|
126
|
-
readonly coOwners: ReadonlyArray<{
|
|
127
|
-
readonly id: string;
|
|
128
|
-
readonly name: string;
|
|
129
|
-
}>;
|
|
130
126
|
readonly canEdit: boolean;
|
|
131
127
|
readonly members: ReadonlyArray<{
|
|
132
128
|
readonly id: string;
|