@epam/ai-dial-chat-api-client 1.3.0-dev.35 → 1.3.0-dev.354
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/generated/src/apis/ApplicationsApi.d.ts +58 -3
- package/generated/src/apis/ApplicationsApi.d.ts.map +1 -1
- package/generated/src/apis/ApplicationsApi.js +156 -2
- package/generated/src/apis/AuthApi.d.ts +10 -0
- package/generated/src/apis/AuthApi.d.ts.map +1 -1
- package/generated/src/apis/AuthApi.js +24 -0
- package/generated/src/apis/CelebrationsApi.d.ts +60 -0
- package/generated/src/apis/CelebrationsApi.d.ts.map +1 -0
- package/generated/src/apis/CelebrationsApi.js +107 -0
- package/generated/src/apis/ConversationsApi.d.ts +34 -7
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -1
- package/generated/src/apis/ConversationsApi.js +86 -6
- package/generated/src/apis/CustomApiApi.d.ts +49 -4
- package/generated/src/apis/CustomApiApi.d.ts.map +1 -1
- package/generated/src/apis/CustomApiApi.js +113 -4
- package/generated/src/apis/DeploymentsApi.d.ts +13 -0
- package/generated/src/apis/DeploymentsApi.d.ts.map +1 -1
- package/generated/src/apis/DeploymentsApi.js +35 -0
- package/generated/src/apis/ExternalServicesApi.d.ts +30 -1
- package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -1
- package/generated/src/apis/ExternalServicesApi.js +82 -0
- package/generated/src/apis/FilesApi.d.ts +25 -0
- package/generated/src/apis/FilesApi.d.ts.map +1 -1
- package/generated/src/apis/FilesApi.js +62 -1
- package/generated/src/apis/OfflineCredentialsApi.d.ts +10 -0
- package/generated/src/apis/OfflineCredentialsApi.d.ts.map +1 -1
- package/generated/src/apis/OfflineCredentialsApi.js +31 -0
- package/generated/src/apis/ProjectsApi.d.ts +309 -0
- package/generated/src/apis/ProjectsApi.d.ts.map +1 -0
- package/generated/src/apis/ProjectsApi.js +906 -0
- package/generated/src/apis/PublishApi.d.ts +30 -1
- package/generated/src/apis/PublishApi.d.ts.map +1 -1
- package/generated/src/apis/PublishApi.js +54 -1
- package/generated/src/apis/ShareApi.d.ts +13 -0
- package/generated/src/apis/ShareApi.d.ts.map +1 -1
- package/generated/src/apis/ShareApi.js +34 -0
- package/generated/src/apis/SkillsApi.d.ts +14 -1
- package/generated/src/apis/SkillsApi.d.ts.map +1 -1
- package/generated/src/apis/SkillsApi.js +36 -0
- package/generated/src/apis/ToolsetsApi.d.ts +29 -2
- package/generated/src/apis/ToolsetsApi.d.ts.map +1 -1
- package/generated/src/apis/ToolsetsApi.js +77 -3
- package/generated/src/apis/index.d.ts +2 -0
- package/generated/src/apis/index.d.ts.map +1 -1
- package/generated/src/apis/index.js +2 -0
- package/generated/src/models/index.d.ts +4583 -2622
- package/generated/src/models/index.d.ts.map +1 -1
- package/generated/src/models/index.js +225 -3
- package/package.json +2 -2
- package/tsconfig.lib.tsbuildinfo +1 -1
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat API
|
|
3
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { AttachGenerationDto, ConversationResponseDto, CreateConversationDto, CreateProjectResponseDto, ListProjectsResponseDto, ProjectArtifactListResponseDto, ProjectConversationListResponseDto, ProjectConversationTitlesBodyDto, ProjectConversationTitlesResponseDto, ProjectDetailsDto, RenameConversationBodyDto, RenameConversationResponseDto, SaveConversationBodyDto, SendCompletionDto, StopCompletionDto, UpdateProjectResponseDto, WatchProjectsBodyDto } from '../models/index';
|
|
14
|
+
export interface AttachToProjectGenerationRequest {
|
|
15
|
+
id: string;
|
|
16
|
+
attachGenerationDto: AttachGenerationDto;
|
|
17
|
+
}
|
|
18
|
+
export interface CreateProjectRequest {
|
|
19
|
+
name: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
instructions?: string;
|
|
22
|
+
fileNames?: string;
|
|
23
|
+
files?: Array<Blob>;
|
|
24
|
+
}
|
|
25
|
+
export interface CreateProjectConversationRequest {
|
|
26
|
+
id: string;
|
|
27
|
+
createConversationDto: CreateConversationDto;
|
|
28
|
+
}
|
|
29
|
+
export interface DeleteProjectRequest {
|
|
30
|
+
id: string;
|
|
31
|
+
ifMatch: string;
|
|
32
|
+
}
|
|
33
|
+
export interface DeleteProjectConversationRequest {
|
|
34
|
+
id: string;
|
|
35
|
+
conversationName: string;
|
|
36
|
+
}
|
|
37
|
+
export interface DownloadProjectRequest {
|
|
38
|
+
id: string;
|
|
39
|
+
}
|
|
40
|
+
export interface DownloadProjectArtifactRequest {
|
|
41
|
+
id: string;
|
|
42
|
+
fileName: string;
|
|
43
|
+
}
|
|
44
|
+
export interface DownloadProjectFileRequest {
|
|
45
|
+
id: string;
|
|
46
|
+
fileName: string;
|
|
47
|
+
}
|
|
48
|
+
export interface GetProjectRequest {
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
51
|
+
export interface GetProjectConversationRequest {
|
|
52
|
+
id: string;
|
|
53
|
+
conversationName: string;
|
|
54
|
+
}
|
|
55
|
+
export interface GetProjectConversationTitlesRequest {
|
|
56
|
+
id: string;
|
|
57
|
+
projectConversationTitlesBodyDto: ProjectConversationTitlesBodyDto;
|
|
58
|
+
}
|
|
59
|
+
export interface ListProjectArtifactsRequest {
|
|
60
|
+
id: string;
|
|
61
|
+
}
|
|
62
|
+
export interface ListProjectConversationsRequest {
|
|
63
|
+
id: string;
|
|
64
|
+
}
|
|
65
|
+
export interface MarkProjectConversationViewedRequest {
|
|
66
|
+
id: string;
|
|
67
|
+
conversationName: string;
|
|
68
|
+
}
|
|
69
|
+
export interface RenameProjectConversationRequest {
|
|
70
|
+
id: string;
|
|
71
|
+
conversationName: string;
|
|
72
|
+
renameConversationBodyDto: RenameConversationBodyDto;
|
|
73
|
+
}
|
|
74
|
+
export interface SaveProjectConversationRequest {
|
|
75
|
+
id: string;
|
|
76
|
+
conversationName: string;
|
|
77
|
+
saveConversationBodyDto: SaveConversationBodyDto;
|
|
78
|
+
}
|
|
79
|
+
export interface StopProjectCompletionRequest {
|
|
80
|
+
id: string;
|
|
81
|
+
stopCompletionDto: StopCompletionDto;
|
|
82
|
+
}
|
|
83
|
+
export interface StreamProjectCompletionRequest {
|
|
84
|
+
id: string;
|
|
85
|
+
sendCompletionDto: SendCompletionDto;
|
|
86
|
+
}
|
|
87
|
+
export interface UpdateProjectRequest {
|
|
88
|
+
id: string;
|
|
89
|
+
ifMatch: string;
|
|
90
|
+
name: string;
|
|
91
|
+
description?: string;
|
|
92
|
+
instructions?: string;
|
|
93
|
+
fileNames?: string;
|
|
94
|
+
removedFileNames?: string;
|
|
95
|
+
files?: Array<Blob>;
|
|
96
|
+
}
|
|
97
|
+
export interface WatchProjectsRequest {
|
|
98
|
+
watchProjectsBodyDto: WatchProjectsBodyDto;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
export declare class ProjectsApi extends runtime.BaseAPI {
|
|
104
|
+
/**
|
|
105
|
+
* Replays the active generation of a project conversation as SSE, exactly as `POST /api/v1/conversations/completions/attach` does.
|
|
106
|
+
* Attach to a generation of a project conversation
|
|
107
|
+
*/
|
|
108
|
+
attachToProjectGenerationRaw(requestParameters: AttachToProjectGenerationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
109
|
+
/**
|
|
110
|
+
* Replays the active generation of a project conversation as SSE, exactly as `POST /api/v1/conversations/completions/attach` does.
|
|
111
|
+
* Attach to a generation of a project conversation
|
|
112
|
+
*/
|
|
113
|
+
attachToProjectGeneration(requestParameters: AttachToProjectGenerationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Creates a project at the root of the session user\'s bucket in one atomic, create-only DIAL Core call. The BFF writes PROJECT.md (YAML frontmatter with name and description, instructions as the body) and each context file under context/. Name, file names, types, per-file size, total size and file count are validated first; every domain rejection carries a ProjectCreateErrorCode.
|
|
116
|
+
* Create a project
|
|
117
|
+
*/
|
|
118
|
+
createProjectRaw(requestParameters: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateProjectResponseDto>>;
|
|
119
|
+
/**
|
|
120
|
+
* Creates a project at the root of the session user\'s bucket in one atomic, create-only DIAL Core call. The BFF writes PROJECT.md (YAML frontmatter with name and description, instructions as the body) and each context file under context/. Name, file names, types, per-file size, total size and file count are validated first; every domain rejection carries a ProjectCreateErrorCode.
|
|
121
|
+
* Create a project
|
|
122
|
+
*/
|
|
123
|
+
createProject(requestParameters: CreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateProjectResponseDto>;
|
|
124
|
+
/**
|
|
125
|
+
* Creates a conversation inside the project from its first message, as `POST /api/v1/conversations` does at the top level.
|
|
126
|
+
* Create a project conversation
|
|
127
|
+
*/
|
|
128
|
+
createProjectConversationRaw(requestParameters: CreateProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationResponseDto>>;
|
|
129
|
+
/**
|
|
130
|
+
* Creates a conversation inside the project from its first message, as `POST /api/v1/conversations` does at the top level.
|
|
131
|
+
* Create a project conversation
|
|
132
|
+
*/
|
|
133
|
+
createProjectConversation(requestParameters: CreateProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationResponseDto>;
|
|
134
|
+
/**
|
|
135
|
+
* Deletes the project, its conversations included, only if its content is still the `contentVersion` named by `If-Match`, then removes it from the caller\'s pins. Only a project in the caller\'s own bucket can be deleted.
|
|
136
|
+
* Delete a project
|
|
137
|
+
*/
|
|
138
|
+
deleteProjectRaw(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
139
|
+
/**
|
|
140
|
+
* Deletes the project, its conversations included, only if its content is still the `contentVersion` named by `If-Match`, then removes it from the caller\'s pins. Only a project in the caller\'s own bucket can be deleted.
|
|
141
|
+
* Delete a project
|
|
142
|
+
*/
|
|
143
|
+
deleteProject(requestParameters: DeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
144
|
+
/**
|
|
145
|
+
* Delete a project conversation
|
|
146
|
+
*/
|
|
147
|
+
deleteProjectConversationRaw(requestParameters: DeleteProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
148
|
+
/**
|
|
149
|
+
* Delete a project conversation
|
|
150
|
+
*/
|
|
151
|
+
deleteProjectConversation(requestParameters: DeleteProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
152
|
+
/**
|
|
153
|
+
* Streams DIAL Core\'s archive of the whole project (`PROJECT.md` and `context/`) as an attachment.
|
|
154
|
+
* Download a project as a ZIP archive
|
|
155
|
+
*/
|
|
156
|
+
downloadProjectRaw(requestParameters: DownloadProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
157
|
+
/**
|
|
158
|
+
* Streams DIAL Core\'s archive of the whole project (`PROJECT.md` and `context/`) as an attachment.
|
|
159
|
+
* Download a project as a ZIP archive
|
|
160
|
+
*/
|
|
161
|
+
downloadProject(requestParameters: DownloadProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
162
|
+
/**
|
|
163
|
+
* Streams one file directly under the project `artifacts/` folder as an attachment with `X-Content-Type-Options: nosniff`. Any reader of the project may call it.
|
|
164
|
+
* Download one output of a project
|
|
165
|
+
*/
|
|
166
|
+
downloadProjectArtifactRaw(requestParameters: DownloadProjectArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
167
|
+
/**
|
|
168
|
+
* Streams one file directly under the project `artifacts/` folder as an attachment with `X-Content-Type-Options: nosniff`. Any reader of the project may call it.
|
|
169
|
+
* Download one output of a project
|
|
170
|
+
*/
|
|
171
|
+
downloadProjectArtifact(requestParameters: DownloadProjectArtifactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
172
|
+
/**
|
|
173
|
+
* Streams one file directly under the project `context/` folder as an attachment with `X-Content-Type-Options: nosniff`.
|
|
174
|
+
* Download one context file of a project
|
|
175
|
+
*/
|
|
176
|
+
downloadProjectFileRaw(requestParameters: DownloadProjectFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
177
|
+
/**
|
|
178
|
+
* Streams one file directly under the project `context/` folder as an attachment with `X-Content-Type-Options: nosniff`.
|
|
179
|
+
* Download one context file of a project
|
|
180
|
+
*/
|
|
181
|
+
downloadProjectFile(requestParameters: DownloadProjectFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
182
|
+
/**
|
|
183
|
+
* Returns one project\'s name, description, instructions, context files with their sizes, and the ETag of the version they were read from. The BFF reads the project archive from DIAL Core, because project metadata carries no file sizes. `canEdit` is true for the owner and for a recipient the project is shared with with WRITE; `canManage` (rename, delete, share, publish) is true only for a project in the caller\'s own bucket.
|
|
184
|
+
* Get a project
|
|
185
|
+
*/
|
|
186
|
+
getProjectRaw(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDetailsDto>>;
|
|
187
|
+
/**
|
|
188
|
+
* Returns one project\'s name, description, instructions, context files with their sizes, and the ETag of the version they were read from. The BFF reads the project archive from DIAL Core, because project metadata carries no file sizes. `canEdit` is true for the owner and for a recipient the project is shared with with WRITE; `canManage` (rename, delete, share, publish) is true only for a project in the caller\'s own bucket.
|
|
189
|
+
* Get a project
|
|
190
|
+
*/
|
|
191
|
+
getProject(requestParameters: GetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDetailsDto>;
|
|
192
|
+
/**
|
|
193
|
+
* Get a project conversation
|
|
194
|
+
*/
|
|
195
|
+
getProjectConversationRaw(requestParameters: GetProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationResponseDto>>;
|
|
196
|
+
/**
|
|
197
|
+
* Get a project conversation
|
|
198
|
+
*/
|
|
199
|
+
getProjectConversation(requestParameters: GetProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationResponseDto>;
|
|
200
|
+
/**
|
|
201
|
+
* Reads the bodies of the named conversations, as listed with `isTitlePending`, and returns them with their titles and read state resolved. Up to 100 names per request. Any reader of the project may call it.
|
|
202
|
+
* Resolve project conversations\' titles
|
|
203
|
+
*/
|
|
204
|
+
getProjectConversationTitlesRaw(requestParameters: GetProjectConversationTitlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectConversationTitlesResponseDto>>;
|
|
205
|
+
/**
|
|
206
|
+
* Reads the bodies of the named conversations, as listed with `isTitlePending`, and returns them with their titles and read state resolved. Up to 100 names per request. Any reader of the project may call it.
|
|
207
|
+
* Resolve project conversations\' titles
|
|
208
|
+
*/
|
|
209
|
+
getProjectConversationTitles(requestParameters: GetProjectConversationTitlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectConversationTitlesResponseDto>;
|
|
210
|
+
/**
|
|
211
|
+
* Lists the files directly under the project `artifacts/` folder, where the agents of the project\'s chats save their outputs, newest first. Nested paths are not listed. Any reader of the project may call it.
|
|
212
|
+
* List a project\'s outputs
|
|
213
|
+
*/
|
|
214
|
+
listProjectArtifactsRaw(requestParameters: ListProjectArtifactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectArtifactListResponseDto>>;
|
|
215
|
+
/**
|
|
216
|
+
* Lists the files directly under the project `artifacts/` folder, where the agents of the project\'s chats save their outputs, newest first. Nested paths are not listed. Any reader of the project may call it.
|
|
217
|
+
* List a project\'s outputs
|
|
218
|
+
*/
|
|
219
|
+
listProjectArtifacts(requestParameters: ListProjectArtifactsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectArtifactListResponseDto>;
|
|
220
|
+
/**
|
|
221
|
+
* Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves.
|
|
222
|
+
* List a project\'s conversations
|
|
223
|
+
*/
|
|
224
|
+
listProjectConversationsRaw(requestParameters: ListProjectConversationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectConversationListResponseDto>>;
|
|
225
|
+
/**
|
|
226
|
+
* Lists every conversation stored in the project\'s `conversations/` folder, newest first, with their authors. DIAL Core cannot page the folder in this order, so the list is not paged; the client pages it locally. Bodies are read for the 20 newest conversations only: the others have a cached title or carry `isTitlePending`, which `POST /api/v1/projects/:id/conversations/titles` resolves.
|
|
227
|
+
* List a project\'s conversations
|
|
228
|
+
*/
|
|
229
|
+
listProjectConversations(requestParameters: ListProjectConversationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectConversationListResponseDto>;
|
|
230
|
+
/**
|
|
231
|
+
* Returns every DIAL project visible to the session user: the user\'s own bucket, the public (organization) bucket, and projects shared with the user, merged and de-duplicated by id. The BFF follows DIAL Core paging itself, so the list is complete up to a per-source page cap. A failing source is omitted; the request fails only when both bucket listings fail.
|
|
232
|
+
* List projects
|
|
233
|
+
*/
|
|
234
|
+
listProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProjectsResponseDto>>;
|
|
235
|
+
/**
|
|
236
|
+
* Returns every DIAL project visible to the session user: the user\'s own bucket, the public (organization) bucket, and projects shared with the user, merged and de-duplicated by id. The BFF follows DIAL Core paging itself, so the list is complete up to a per-source page cap. A failing source is omitted; the request fails only when both bucket listings fail.
|
|
237
|
+
* List projects
|
|
238
|
+
*/
|
|
239
|
+
listProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProjectsResponseDto>;
|
|
240
|
+
/**
|
|
241
|
+
* Records the conversation\'s current version as seen by the caller, in the caller\'s own read state, so it is not reported unread until it changes. Any reader of the project may call it.
|
|
242
|
+
* Mark a project conversation as viewed
|
|
243
|
+
*/
|
|
244
|
+
markProjectConversationViewedRaw(requestParameters: MarkProjectConversationViewedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
245
|
+
/**
|
|
246
|
+
* Records the conversation\'s current version as seen by the caller, in the caller\'s own read state, so it is not reported unread until it changes. Any reader of the project may call it.
|
|
247
|
+
* Mark a project conversation as viewed
|
|
248
|
+
*/
|
|
249
|
+
markProjectConversationViewed(requestParameters: MarkProjectConversationViewedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
250
|
+
/**
|
|
251
|
+
* Rewrites the conversation\'s display name; its file name does not change.
|
|
252
|
+
* Rename a project conversation
|
|
253
|
+
*/
|
|
254
|
+
renameProjectConversationRaw(requestParameters: RenameProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RenameConversationResponseDto>>;
|
|
255
|
+
/**
|
|
256
|
+
* Rewrites the conversation\'s display name; its file name does not change.
|
|
257
|
+
* Rename a project conversation
|
|
258
|
+
*/
|
|
259
|
+
renameProjectConversation(requestParameters: RenameProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RenameConversationResponseDto>;
|
|
260
|
+
/**
|
|
261
|
+
* Overwrites the conversation body, never over a pending background answer, as `PUT /api/v1/conversations` does.
|
|
262
|
+
* Save a project conversation
|
|
263
|
+
*/
|
|
264
|
+
saveProjectConversationRaw(requestParameters: SaveProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConversationResponseDto>>;
|
|
265
|
+
/**
|
|
266
|
+
* Overwrites the conversation body, never over a pending background answer, as `PUT /api/v1/conversations` does.
|
|
267
|
+
* Save a project conversation
|
|
268
|
+
*/
|
|
269
|
+
saveProjectConversation(requestParameters: SaveProjectConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConversationResponseDto>;
|
|
270
|
+
/**
|
|
271
|
+
* Stop a generation of a project conversation
|
|
272
|
+
*/
|
|
273
|
+
stopProjectCompletionRaw(requestParameters: StopProjectCompletionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
274
|
+
/**
|
|
275
|
+
* Stop a generation of a project conversation
|
|
276
|
+
*/
|
|
277
|
+
stopProjectCompletion(requestParameters: StopProjectCompletionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
278
|
+
/**
|
|
279
|
+
* Streams a completion as SSE exactly as `POST /api/v1/conversations/completions` does, with the `x-project-id` header on the model call and nothing else added to the request.
|
|
280
|
+
* Stream a completion of a project conversation
|
|
281
|
+
*/
|
|
282
|
+
streamProjectCompletionRaw(requestParameters: StreamProjectCompletionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
283
|
+
/**
|
|
284
|
+
* Streams a completion as SSE exactly as `POST /api/v1/conversations/completions` does, with the `x-project-id` header on the model call and nothing else added to the request.
|
|
285
|
+
* Stream a completion of a project conversation
|
|
286
|
+
*/
|
|
287
|
+
streamProjectCompletion(requestParameters: StreamProjectCompletionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
288
|
+
/**
|
|
289
|
+
* Saves the name, description, instructions and context of a project in one conditional DIAL Core write: the BFF rebuilds PROJECT.md, keeps every stored context file not listed in `removedFileNames`, adds the `files` parts, carries the stored conversations over, and writes the whole project conditioned on the fresh snapshot\'s ETag, retrying a concurrent conversation write while `If-Match` still names the `contentVersion`. A different name then moves the project in its folder and keeps the caller\'s pin. The owner and a recipient the project is shared with with WRITE may save; only the owner may rename. Every domain rejection carries a ProjectCreateErrorCode.
|
|
290
|
+
* Save a project edit
|
|
291
|
+
*/
|
|
292
|
+
updateProjectRaw(requestParameters: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UpdateProjectResponseDto>>;
|
|
293
|
+
/**
|
|
294
|
+
* Saves the name, description, instructions and context of a project in one conditional DIAL Core write: the BFF rebuilds PROJECT.md, keeps every stored context file not listed in `removedFileNames`, adds the `files` parts, carries the stored conversations over, and writes the whole project conditioned on the fresh snapshot\'s ETag, retrying a concurrent conversation write while `If-Match` still names the `contentVersion`. A different name then moves the project in its folder and keeps the caller\'s pin. The owner and a recipient the project is shared with with WRITE may save; only the owner may rename. Every domain rejection carries a ProjectCreateErrorCode.
|
|
295
|
+
* Save a project edit
|
|
296
|
+
*/
|
|
297
|
+
updateProject(requestParameters: UpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UpdateProjectResponseDto>;
|
|
298
|
+
/**
|
|
299
|
+
* Opens one DIAL Core resource subscription for the given project ids and streams project-level changes as SSE: each `data:` line is a `ProjectWatchEventDto`. Events of files inside a project are dropped, and a `: keepalive` comment is sent every 15 seconds. The stream lasts until the client disconnects or DIAL Core ends it.
|
|
300
|
+
* Follow changes to listed projects via SSE
|
|
301
|
+
*/
|
|
302
|
+
watchProjectsRaw(requestParameters: WatchProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
303
|
+
/**
|
|
304
|
+
* Opens one DIAL Core resource subscription for the given project ids and streams project-level changes as SSE: each `data:` line is a `ProjectWatchEventDto`. Events of files inside a project are dropped, and a `: keepalive` comment is sent every 15 seconds. The stream lasts until the client disconnects or DIAL Core ends it.
|
|
305
|
+
* Follow changes to listed projects via SSE
|
|
306
|
+
*/
|
|
307
|
+
watchProjects(requestParameters: WatchProjectsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
308
|
+
}
|
|
309
|
+
//# sourceMappingURL=ProjectsApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjectsApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/ProjectsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,8BAA8B,EAC9B,kCAAkC,EAClC,gCAAgC,EAChC,oCAAoC,EAEpC,iBAAiB,EACjB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACrB;AAED,MAAM,WAAW,gCAAgC;IAC/C,EAAE,EA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