@thinkai/tai-api-contract 2.144.1 → 2.146.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.
|
@@ -3232,7 +3232,8 @@ export interface paths {
|
|
|
3232
3232
|
delete: operations["deleteCodeChatThread"];
|
|
3233
3233
|
options?: never;
|
|
3234
3234
|
head?: never;
|
|
3235
|
-
|
|
3235
|
+
/** Rename a code chat thread */
|
|
3236
|
+
patch: operations["patchCodeChatThread"];
|
|
3236
3237
|
trace?: never;
|
|
3237
3238
|
};
|
|
3238
3239
|
"/workspaces/{workspaceId}/code-chat/threads/{threadId}/messages": {
|
|
@@ -8240,6 +8241,12 @@ export interface components {
|
|
|
8240
8241
|
/** @description IANA timezone printed on the PDF cover. */
|
|
8241
8242
|
timezone: string;
|
|
8242
8243
|
filename: string;
|
|
8244
|
+
/**
|
|
8245
|
+
* @description Export audience recorded for audit. `external` means the client generated a share-safe PDF with organizational identifiers redacted. Omitted legacy requests are recorded as `internal`.
|
|
8246
|
+
* @default internal
|
|
8247
|
+
* @enum {string}
|
|
8248
|
+
*/
|
|
8249
|
+
shareMode: "internal" | "external";
|
|
8243
8250
|
providerIds?: string[];
|
|
8244
8251
|
repoIds?: string[];
|
|
8245
8252
|
};
|
|
@@ -9138,6 +9145,10 @@ export interface components {
|
|
|
9138
9145
|
/** Format: date-time */
|
|
9139
9146
|
updatedAt: string;
|
|
9140
9147
|
};
|
|
9148
|
+
CodeChatThreadPatchBodyDto: {
|
|
9149
|
+
/** @description Display title for the conversation. */
|
|
9150
|
+
title: string;
|
|
9151
|
+
};
|
|
9141
9152
|
CodeChatThreadListDto: {
|
|
9142
9153
|
items: components["schemas"]["CodeChatThreadDto"][];
|
|
9143
9154
|
};
|
|
@@ -10819,6 +10830,7 @@ export type CodeChatSyncIndexesBodyDto = components['schemas']['CodeChatSyncInde
|
|
|
10819
10830
|
export type CodeChatSyncIndexesResultDto = components['schemas']['CodeChatSyncIndexesResultDto'];
|
|
10820
10831
|
export type CodeChatSkippedRepoDto = components['schemas']['CodeChatSkippedRepoDto'];
|
|
10821
10832
|
export type CodeChatThreadDto = components['schemas']['CodeChatThreadDto'];
|
|
10833
|
+
export type CodeChatThreadPatchBodyDto = components['schemas']['CodeChatThreadPatchBodyDto'];
|
|
10822
10834
|
export type CodeChatThreadListDto = components['schemas']['CodeChatThreadListDto'];
|
|
10823
10835
|
export type CodeChatCreateThreadBodyDto = components['schemas']['CodeChatCreateThreadBodyDto'];
|
|
10824
10836
|
export type CodeChatCitationDto = components['schemas']['CodeChatCitationDto'];
|
|
@@ -19543,6 +19555,52 @@ export interface operations {
|
|
|
19543
19555
|
};
|
|
19544
19556
|
};
|
|
19545
19557
|
};
|
|
19558
|
+
patchCodeChatThread: {
|
|
19559
|
+
parameters: {
|
|
19560
|
+
query?: never;
|
|
19561
|
+
header?: never;
|
|
19562
|
+
path: {
|
|
19563
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19564
|
+
threadId: string;
|
|
19565
|
+
};
|
|
19566
|
+
cookie?: never;
|
|
19567
|
+
};
|
|
19568
|
+
requestBody: {
|
|
19569
|
+
content: {
|
|
19570
|
+
"application/json": components["schemas"]["CodeChatThreadPatchBodyDto"];
|
|
19571
|
+
};
|
|
19572
|
+
};
|
|
19573
|
+
responses: {
|
|
19574
|
+
/** @description Updated thread */
|
|
19575
|
+
200: {
|
|
19576
|
+
headers: {
|
|
19577
|
+
[name: string]: unknown;
|
|
19578
|
+
};
|
|
19579
|
+
content: {
|
|
19580
|
+
"application/json": components["schemas"]["CodeChatThreadDto"];
|
|
19581
|
+
};
|
|
19582
|
+
};
|
|
19583
|
+
/** @description title is required (`invalid_input`) */
|
|
19584
|
+
400: {
|
|
19585
|
+
headers: {
|
|
19586
|
+
[name: string]: unknown;
|
|
19587
|
+
};
|
|
19588
|
+
content: {
|
|
19589
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19590
|
+
};
|
|
19591
|
+
};
|
|
19592
|
+
401: components["responses"]["Unauthorized"];
|
|
19593
|
+
/** @description Thread not found (`thread_not_found`) */
|
|
19594
|
+
404: {
|
|
19595
|
+
headers: {
|
|
19596
|
+
[name: string]: unknown;
|
|
19597
|
+
};
|
|
19598
|
+
content: {
|
|
19599
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19600
|
+
};
|
|
19601
|
+
};
|
|
19602
|
+
};
|
|
19603
|
+
};
|
|
19546
19604
|
postCodeChatMessage: {
|
|
19547
19605
|
parameters: {
|
|
19548
19606
|
query?: never;
|