@company-semantics/contracts 11.0.0 → 12.0.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": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"zod": "^4.4.3"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@types/node": "^
|
|
118
|
+
"@types/node": "^22.19.20",
|
|
119
119
|
"husky": "^9.1.7",
|
|
120
120
|
"lint-staged": "^17.0.7",
|
|
121
121
|
"markdownlint-cli2": "^0.22.1",
|
|
@@ -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 = '8d48325678a4' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '8d48325678a4837e0921b96c4c80fd3fe898dbd26cabb48483e9a5f3f7f9e488' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -126,7 +126,7 @@ export interface paths {
|
|
|
126
126
|
patch: operations["updateUserProfile"];
|
|
127
127
|
trace?: never;
|
|
128
128
|
};
|
|
129
|
-
"/api/user/resync-slack-avatar": {
|
|
129
|
+
"/api/user/resync-slack-avatar/preview": {
|
|
130
130
|
parameters: {
|
|
131
131
|
query?: never;
|
|
132
132
|
header?: never;
|
|
@@ -135,8 +135,25 @@ export interface paths {
|
|
|
135
135
|
};
|
|
136
136
|
get?: never;
|
|
137
137
|
put?: never;
|
|
138
|
-
/**
|
|
139
|
-
post: operations["
|
|
138
|
+
/** Preview a Slack avatar resync (stages without persisting) */
|
|
139
|
+
post: operations["resyncSlackAvatarPreview"];
|
|
140
|
+
delete?: never;
|
|
141
|
+
options?: never;
|
|
142
|
+
head?: never;
|
|
143
|
+
patch?: never;
|
|
144
|
+
trace?: never;
|
|
145
|
+
};
|
|
146
|
+
"/api/user/resync-slack-avatar/commit": {
|
|
147
|
+
parameters: {
|
|
148
|
+
query?: never;
|
|
149
|
+
header?: never;
|
|
150
|
+
path?: never;
|
|
151
|
+
cookie?: never;
|
|
152
|
+
};
|
|
153
|
+
get?: never;
|
|
154
|
+
put?: never;
|
|
155
|
+
/** Commit a previewed Slack avatar resync */
|
|
156
|
+
post: operations["resyncSlackAvatarCommit"];
|
|
140
157
|
delete?: never;
|
|
141
158
|
options?: never;
|
|
142
159
|
head?: never;
|
|
@@ -2870,6 +2887,32 @@ export interface components {
|
|
|
2870
2887
|
preferredName?: string | null;
|
|
2871
2888
|
primaryUnitId?: string | null;
|
|
2872
2889
|
};
|
|
2890
|
+
ResyncSlackAvatarPreviewResponse: {
|
|
2891
|
+
/** @constant */
|
|
2892
|
+
success: true;
|
|
2893
|
+
avatar: {
|
|
2894
|
+
/** @enum {string} */
|
|
2895
|
+
source: "photo" | "initials";
|
|
2896
|
+
url?: string;
|
|
2897
|
+
initials: string;
|
|
2898
|
+
};
|
|
2899
|
+
candidateKey: string;
|
|
2900
|
+
contentSha256: string;
|
|
2901
|
+
};
|
|
2902
|
+
ResyncSlackAvatarCommitResponse: {
|
|
2903
|
+
/** @constant */
|
|
2904
|
+
success: true;
|
|
2905
|
+
avatar: {
|
|
2906
|
+
/** @enum {string} */
|
|
2907
|
+
source: "photo" | "initials";
|
|
2908
|
+
url?: string;
|
|
2909
|
+
initials: string;
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
ResyncSlackAvatarCommitRequest: {
|
|
2913
|
+
candidateKey: string;
|
|
2914
|
+
contentSha256: string;
|
|
2915
|
+
};
|
|
2873
2916
|
SamlCallbackRequest: {
|
|
2874
2917
|
SAMLResponse: string;
|
|
2875
2918
|
RelayState: string;
|
|
@@ -3748,6 +3791,7 @@ export interface components {
|
|
|
3748
3791
|
/** @enum {string} */
|
|
3749
3792
|
level: "root" | "department" | "team" | "context";
|
|
3750
3793
|
content: string;
|
|
3794
|
+
contentRedacted?: boolean;
|
|
3751
3795
|
/** @enum {string} */
|
|
3752
3796
|
visibility: "private" | "unit" | "org";
|
|
3753
3797
|
parentId: string | null;
|
|
@@ -4761,7 +4805,7 @@ export interface components {
|
|
|
4761
4805
|
id: string;
|
|
4762
4806
|
};
|
|
4763
4807
|
/** @enum {string} */
|
|
4764
|
-
access_level: "owner" | "editor" | "commenter" | "viewer";
|
|
4808
|
+
access_level: "meta" | "owner" | "editor" | "commenter" | "viewer";
|
|
4765
4809
|
/** @enum {string} */
|
|
4766
4810
|
source: "explicit" | "ownership" | "visibility" | "inheritance" | "migration";
|
|
4767
4811
|
}[];
|
|
@@ -4788,7 +4832,7 @@ export interface components {
|
|
|
4788
4832
|
/** Format: uuid */
|
|
4789
4833
|
entity_id: string;
|
|
4790
4834
|
/** @enum {string} */
|
|
4791
|
-
access_level: "owner" | "editor" | "commenter" | "viewer";
|
|
4835
|
+
access_level: "meta" | "owner" | "editor" | "commenter" | "viewer";
|
|
4792
4836
|
/** @enum {string} */
|
|
4793
4837
|
source: "explicit" | "ownership" | "visibility" | "inheritance" | "migration";
|
|
4794
4838
|
}[];
|
|
@@ -5097,7 +5141,7 @@ export interface operations {
|
|
|
5097
5141
|
};
|
|
5098
5142
|
};
|
|
5099
5143
|
};
|
|
5100
|
-
|
|
5144
|
+
resyncSlackAvatarPreview: {
|
|
5101
5145
|
parameters: {
|
|
5102
5146
|
query?: never;
|
|
5103
5147
|
header?: never;
|
|
@@ -5106,12 +5150,38 @@ export interface operations {
|
|
|
5106
5150
|
};
|
|
5107
5151
|
requestBody?: never;
|
|
5108
5152
|
responses: {
|
|
5109
|
-
/** @description
|
|
5153
|
+
/** @description Slack avatar staged for preview; persist via /commit */
|
|
5110
5154
|
200: {
|
|
5111
5155
|
headers: {
|
|
5112
5156
|
[name: string]: unknown;
|
|
5113
5157
|
};
|
|
5114
|
-
content
|
|
5158
|
+
content: {
|
|
5159
|
+
"application/json": components["schemas"]["ResyncSlackAvatarPreviewResponse"];
|
|
5160
|
+
};
|
|
5161
|
+
};
|
|
5162
|
+
};
|
|
5163
|
+
};
|
|
5164
|
+
resyncSlackAvatarCommit: {
|
|
5165
|
+
parameters: {
|
|
5166
|
+
query?: never;
|
|
5167
|
+
header?: never;
|
|
5168
|
+
path?: never;
|
|
5169
|
+
cookie?: never;
|
|
5170
|
+
};
|
|
5171
|
+
requestBody: {
|
|
5172
|
+
content: {
|
|
5173
|
+
"application/json": components["schemas"]["ResyncSlackAvatarCommitRequest"];
|
|
5174
|
+
};
|
|
5175
|
+
};
|
|
5176
|
+
responses: {
|
|
5177
|
+
/** @description Previewed Slack avatar persisted */
|
|
5178
|
+
200: {
|
|
5179
|
+
headers: {
|
|
5180
|
+
[name: string]: unknown;
|
|
5181
|
+
};
|
|
5182
|
+
content: {
|
|
5183
|
+
"application/json": components["schemas"]["ResyncSlackAvatarCommitResponse"];
|
|
5184
|
+
};
|
|
5115
5185
|
};
|
|
5116
5186
|
};
|
|
5117
5187
|
};
|
|
@@ -115,7 +115,8 @@ export const openApiRoutes = {
|
|
|
115
115
|
'/api/user/preferences/dismissed-banners': ['GET'],
|
|
116
116
|
'/api/user/preferences/dismissed-banners/{bannerId}': ['POST'],
|
|
117
117
|
'/api/user/profile': ['PATCH'],
|
|
118
|
-
'/api/user/resync-slack-avatar': ['POST'],
|
|
118
|
+
'/api/user/resync-slack-avatar/commit': ['POST'],
|
|
119
|
+
'/api/user/resync-slack-avatar/preview': ['POST'],
|
|
119
120
|
'/api/users/org-chart': ['GET'],
|
|
120
121
|
'/api/users/org-chart/import': ['POST'],
|
|
121
122
|
'/api/users/org-chart/import/{operationId}/retry': ['POST'],
|