@company-semantics/contracts 83.0.0 → 83.1.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 = 'e485ddbb7682' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = 'e485ddbb7682e98908329d4b788ce63dd32e00c23a6360e344d953ae9a42fc0e' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -281,6 +281,23 @@ export interface paths {
|
|
|
281
281
|
patch?: never;
|
|
282
282
|
trace?: never;
|
|
283
283
|
};
|
|
284
|
+
"/api/chats/resolve-launch": {
|
|
285
|
+
parameters: {
|
|
286
|
+
query?: never;
|
|
287
|
+
header?: never;
|
|
288
|
+
path?: never;
|
|
289
|
+
cookie?: never;
|
|
290
|
+
};
|
|
291
|
+
get?: never;
|
|
292
|
+
put?: never;
|
|
293
|
+
/** Resolve a launch to its subject’s active chat (read-only) */
|
|
294
|
+
post: operations["resolveChatLaunch"];
|
|
295
|
+
delete?: never;
|
|
296
|
+
options?: never;
|
|
297
|
+
head?: never;
|
|
298
|
+
patch?: never;
|
|
299
|
+
trace?: never;
|
|
300
|
+
};
|
|
284
301
|
"/api/chats/{id}": {
|
|
285
302
|
parameters: {
|
|
286
303
|
query?: never;
|
|
@@ -369,6 +386,23 @@ export interface paths {
|
|
|
369
386
|
patch?: never;
|
|
370
387
|
trace?: never;
|
|
371
388
|
};
|
|
389
|
+
"/api/chats/{id}/start-fresh": {
|
|
390
|
+
parameters: {
|
|
391
|
+
query?: never;
|
|
392
|
+
header?: never;
|
|
393
|
+
path?: never;
|
|
394
|
+
cookie?: never;
|
|
395
|
+
};
|
|
396
|
+
get?: never;
|
|
397
|
+
put?: never;
|
|
398
|
+
/** Start a fresh chat on the same subject, handing over a summary */
|
|
399
|
+
post: operations["startFreshChat"];
|
|
400
|
+
delete?: never;
|
|
401
|
+
options?: never;
|
|
402
|
+
head?: never;
|
|
403
|
+
patch?: never;
|
|
404
|
+
trace?: never;
|
|
405
|
+
};
|
|
372
406
|
"/api/chats/{id}/generate-title": {
|
|
373
407
|
parameters: {
|
|
374
408
|
query?: never;
|
|
@@ -4865,6 +4899,34 @@ export interface components {
|
|
|
4865
4899
|
avatarUrl: string | null;
|
|
4866
4900
|
}[];
|
|
4867
4901
|
};
|
|
4902
|
+
ResolveLaunchResponse: {
|
|
4903
|
+
subjectId: string | null;
|
|
4904
|
+
chatId: string | null;
|
|
4905
|
+
generation: number | null;
|
|
4906
|
+
/** @enum {string} */
|
|
4907
|
+
disposition: "resume-existing-anchor" | "resume-and-launch" | "created-and-launch";
|
|
4908
|
+
};
|
|
4909
|
+
/** @description The launch to resolve against its subject’s active generation. */
|
|
4910
|
+
ResolveLaunchRequest: {
|
|
4911
|
+
launch: {
|
|
4912
|
+
/** @constant */
|
|
4913
|
+
kind: "structure-review";
|
|
4914
|
+
/** Format: uuid */
|
|
4915
|
+
proposalId: string;
|
|
4916
|
+
} | {
|
|
4917
|
+
/** @constant */
|
|
4918
|
+
kind: "workflow";
|
|
4919
|
+
/** Format: uuid */
|
|
4920
|
+
workflowId: string;
|
|
4921
|
+
} | {
|
|
4922
|
+
/** @constant */
|
|
4923
|
+
kind: "input-request";
|
|
4924
|
+
/** @enum {string} */
|
|
4925
|
+
requestType: "org-structure/review" | "source-sync/candidates" | "source-sync/synthesis";
|
|
4926
|
+
/** Format: uuid */
|
|
4927
|
+
requestId: string;
|
|
4928
|
+
};
|
|
4929
|
+
};
|
|
4868
4930
|
GetChatResponse: {
|
|
4869
4931
|
chat: {
|
|
4870
4932
|
id: string;
|
|
@@ -4973,6 +5035,20 @@ export interface components {
|
|
|
4973
5035
|
/** Format: uuid */
|
|
4974
5036
|
userId: string;
|
|
4975
5037
|
};
|
|
5038
|
+
StartFreshChatResponse: {
|
|
5039
|
+
chatId: string;
|
|
5040
|
+
interactionId: string;
|
|
5041
|
+
subjectId: string;
|
|
5042
|
+
generation: number;
|
|
5043
|
+
continuationOf: {
|
|
5044
|
+
chatId: string;
|
|
5045
|
+
};
|
|
5046
|
+
};
|
|
5047
|
+
LaunchTargetSuperseded: {
|
|
5048
|
+
/** @constant */
|
|
5049
|
+
code: "launch_target_superseded";
|
|
5050
|
+
activeChatId: string | null;
|
|
5051
|
+
};
|
|
4976
5052
|
GenerateTitleResponse: {
|
|
4977
5053
|
title: string;
|
|
4978
5054
|
isAutoGenerated: boolean;
|
|
@@ -10054,6 +10130,8 @@ export interface operations {
|
|
|
10054
10130
|
limit?: number;
|
|
10055
10131
|
cursor?: string;
|
|
10056
10132
|
includePinned?: "true" | "false";
|
|
10133
|
+
surface?: "recents";
|
|
10134
|
+
subjectId?: string;
|
|
10057
10135
|
};
|
|
10058
10136
|
header?: never;
|
|
10059
10137
|
path?: never;
|
|
@@ -10140,6 +10218,30 @@ export interface operations {
|
|
|
10140
10218
|
};
|
|
10141
10219
|
};
|
|
10142
10220
|
};
|
|
10221
|
+
resolveChatLaunch: {
|
|
10222
|
+
parameters: {
|
|
10223
|
+
query?: never;
|
|
10224
|
+
header?: never;
|
|
10225
|
+
path?: never;
|
|
10226
|
+
cookie?: never;
|
|
10227
|
+
};
|
|
10228
|
+
requestBody: {
|
|
10229
|
+
content: {
|
|
10230
|
+
"application/json": components["schemas"]["ResolveLaunchRequest"];
|
|
10231
|
+
};
|
|
10232
|
+
};
|
|
10233
|
+
responses: {
|
|
10234
|
+
/** @description Where the launch would land; nothing is written */
|
|
10235
|
+
200: {
|
|
10236
|
+
headers: {
|
|
10237
|
+
[name: string]: unknown;
|
|
10238
|
+
};
|
|
10239
|
+
content: {
|
|
10240
|
+
"application/json": components["schemas"]["ResolveLaunchResponse"];
|
|
10241
|
+
};
|
|
10242
|
+
};
|
|
10243
|
+
};
|
|
10244
|
+
};
|
|
10143
10245
|
getChat: {
|
|
10144
10246
|
parameters: {
|
|
10145
10247
|
query?: never;
|
|
@@ -10330,6 +10432,37 @@ export interface operations {
|
|
|
10330
10432
|
};
|
|
10331
10433
|
};
|
|
10332
10434
|
};
|
|
10435
|
+
startFreshChat: {
|
|
10436
|
+
parameters: {
|
|
10437
|
+
query?: never;
|
|
10438
|
+
header?: never;
|
|
10439
|
+
path: {
|
|
10440
|
+
id: string;
|
|
10441
|
+
};
|
|
10442
|
+
cookie?: never;
|
|
10443
|
+
};
|
|
10444
|
+
requestBody?: never;
|
|
10445
|
+
responses: {
|
|
10446
|
+
/** @description The new active chat of the subject */
|
|
10447
|
+
200: {
|
|
10448
|
+
headers: {
|
|
10449
|
+
[name: string]: unknown;
|
|
10450
|
+
};
|
|
10451
|
+
content: {
|
|
10452
|
+
"application/json": components["schemas"]["StartFreshChatResponse"];
|
|
10453
|
+
};
|
|
10454
|
+
};
|
|
10455
|
+
/** @description The chat is not its subject’s active chat */
|
|
10456
|
+
409: {
|
|
10457
|
+
headers: {
|
|
10458
|
+
[name: string]: unknown;
|
|
10459
|
+
};
|
|
10460
|
+
content: {
|
|
10461
|
+
"application/json": components["schemas"]["LaunchTargetSuperseded"];
|
|
10462
|
+
};
|
|
10463
|
+
};
|
|
10464
|
+
};
|
|
10465
|
+
};
|
|
10333
10466
|
generateChatTitle: {
|
|
10334
10467
|
parameters: {
|
|
10335
10468
|
query?: never;
|
|
@@ -20,6 +20,7 @@ export const openApiRoutes = {
|
|
|
20
20
|
'/api/chats/events': ['GET'],
|
|
21
21
|
'/api/chats/mentionable': ['GET'],
|
|
22
22
|
'/api/chats/proactive/{eventId}': ['GET'],
|
|
23
|
+
'/api/chats/resolve-launch': ['POST'],
|
|
23
24
|
'/api/chats/{chatId}/shares': ['GET', 'POST'],
|
|
24
25
|
'/api/chats/{id}': ['DELETE', 'GET', 'PATCH'],
|
|
25
26
|
'/api/chats/{id}/generate-title': ['POST'],
|
|
@@ -28,6 +29,7 @@ export const openApiRoutes = {
|
|
|
28
29
|
'/api/chats/{id}/participants': ['GET', 'POST'],
|
|
29
30
|
'/api/chats/{id}/participants/{userId}': ['DELETE'],
|
|
30
31
|
'/api/chats/{id}/pin': ['DELETE', 'POST'],
|
|
32
|
+
'/api/chats/{id}/start-fresh': ['POST'],
|
|
31
33
|
'/api/comments': ['GET'],
|
|
32
34
|
'/api/comments/threads': ['POST'],
|
|
33
35
|
'/api/comments/threads/{threadId}': ['DELETE'],
|