@smartspace/api-client 0.1.0-dev.7849caa → 0.1.0-dev.7c4fadd
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/dist/generated/chat/api.d.ts +12 -2
- package/dist/generated/chat/api.js +59 -1
- package/dist/generated/chat/models/dtosMessageThreadsMessageThreadDto.d.ts +23 -0
- package/dist/generated/chat/models/dtosMessageThreadsMessageThreadDto.js +8 -0
- package/dist/generated/chat/models/index.d.ts +1 -0
- package/dist/generated/chat/models/index.js +1 -0
- package/dist/generated/chat/models/modelModel.d.ts +2 -2
- package/dist/generated/chat/models/modelModelSummary.d.ts +2 -2
- package/dist/generated/chat/zod.d.ts +196 -40
- package/dist/generated/chat/zod.js +162 -11
- package/dist/generated/config/api.d.ts +89 -9
- package/dist/generated/config/api.js +274 -7
- package/dist/generated/config/models/flowRunsAddFileIdFilesBody.d.ts +9 -0
- package/dist/generated/config/models/flowRunsCreateFlowRunParams.d.ts +13 -0
- package/dist/generated/config/models/index.d.ts +9 -3
- package/dist/generated/config/models/index.js +9 -3
- package/dist/generated/config/models/messageSandBoxMessageRequest.d.ts +3 -0
- package/dist/generated/config/models/messageSandBoxMessageRequestVariables.d.ts +12 -0
- package/dist/generated/config/models/modelModel.d.ts +2 -2
- package/dist/generated/config/models/modelModelSummary.d.ts +2 -2
- package/dist/generated/config/models/modelProvidersGetProvidersParams.d.ts +16 -0
- package/dist/generated/config/models/modelProvidersGetProvidersParams.js +8 -0
- package/dist/generated/config/models/modelsGetDefaultDockerFileParams.d.ts +10 -0
- package/dist/generated/config/models/modelsGetDefaultDockerFileParams.js +2 -0
- package/dist/generated/config/models/{sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.d.ts → sandBoxGetThreadMessagesParams.d.ts} +1 -1
- package/dist/generated/config/models/sandBoxGetThreadMessagesParams.js +8 -0
- package/dist/generated/config/models/usersAdminPermissionParams.d.ts +9 -0
- package/dist/generated/config/models/usersAdminPermissionParams.js +8 -0
- package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesParams.d.ts → workSpacesGetWorkspaceFilesParams.d.ts} +1 -1
- package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.js +8 -0
- package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesBody.d.ts → workSpacesWorkspaceFilesBody.d.ts} +1 -1
- package/dist/generated/config/models/workSpacesWorkspaceFilesBody.js +8 -0
- package/dist/generated/config/zod.d.ts +573 -68
- package/dist/generated/config/zod.js +421 -45
- package/dist/generated/signalr/SmartSpace.App.Business.Models.Comment.d.ts +24 -0
- package/dist/generated/signalr/SmartSpace.App.Business.Models.Comment.js +5 -0
- package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.d.ts +27 -0
- package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.js +5 -0
- package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +71 -0
- package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.js +2 -0
- package/dist/generated/signalr/TypedSignalR.Client/index.d.ts +21 -0
- package/dist/generated/signalr/TypedSignalR.Client/index.js +114 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/signalr.d.ts +4 -0
- package/dist/signalr.js +18 -0
- package/package.json +6 -2
- /package/dist/generated/config/models/{sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.js → flowRunsAddFileIdFilesBody.js} +0 -0
- /package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesBody.js → flowRunsCreateFlowRunParams.js} +0 -0
- /package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesParams.js → messageSandBoxMessageRequestVariables.js} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type { AppUserAppUser, CommentComment, CreateComment, CreateMessageThread, DocumentsGetDocumentSasParams, File, FilesDownloadFileParams, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, IntegrationsAzureStorageSasToken, MessageCreateMessageInput, MessageMessageCreatorProfileImage, MessageMessageRequest, MessageThreadMessageThreadSummary, MessageThreadsGetCommentsParams, MessageThreadsThreadMessagesIdMessagesParams, MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams, MessagesGetCommentsParams, ModelModel, ModelsGetModelsParams, NotificationGetParams, NotificationPagedNotifications, PagedDataCollectionAccess, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageMessage, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionModelModelSummary, PagedDataCollectionWorkSpace, WorkSpace, WorkSpacesGetAccessParams, WorkSpacesGetGetParams, WorkSpacesGetUsersParams, WorkSpacesThreadParams } from './models';
|
|
7
|
+
import type { AppUserAppUser, CommentComment, CreateComment, CreateMessageThread, DocumentsGetDocumentSasParams, DtosMessageThreadsMessageThreadDto, File, FilesDownloadFileParams, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, IntegrationsAzureStorageSasToken, MessageCreateMessageInput, MessageMessage, MessageMessageCreatorProfileImage, MessageMessageRequest, MessageThreadMessageThreadSummary, MessageThreadsGetCommentsParams, MessageThreadsThreadMessagesIdMessagesParams, MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams, MessagesGetCommentsParams, ModelModel, ModelsGetModelsParams, NotificationGetParams, NotificationPagedNotifications, PagedDataCollectionAccess, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageMessage, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionModelModelSummary, PagedDataCollectionWorkSpace, WorkSpace, WorkSpacesGetAccessParams, WorkSpacesGetGetParams, WorkSpacesGetUsersParams, WorkSpacesThreadParams } from './models';
|
|
8
8
|
export declare const getSmartSpaceChatAPI: () => {
|
|
9
9
|
filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<File[], any, {}>>;
|
|
10
10
|
filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
@@ -16,14 +16,17 @@ export declare const getSmartSpaceChatAPI: () => {
|
|
|
16
16
|
messageThreadsGetMessageThreadId: (id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
17
17
|
messageThreadsGetComments: (id: string, params?: MessageThreadsGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
|
|
18
18
|
messageThreadsPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
|
|
19
|
+
messageThreadsGetMessageThreadDetailIdDetail: (id: string) => Promise<import("axios").AxiosResponse<DtosMessageThreadsMessageThreadDto, any, {}>>;
|
|
19
20
|
messageThreadsSetFavoritedChat: (id: string, boolean: boolean) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
20
21
|
messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages: (id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
21
22
|
messageThreadsThreadMessagesIdMessages: (id: string, params?: MessageThreadsThreadMessagesIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
23
|
+
messageThreadsStreamThreadMessagesIdMessagesStream: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
22
24
|
messageThreadsThreadIdName: (id: string, messageThreadsThreadIdNameBody: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
23
25
|
messageThreadsGetThreadUsers: (threadId: string) => Promise<import("axios").AxiosResponse<AppUserAppUser[], any, {}>>;
|
|
24
26
|
messageThreadsRemoveThreadUser: (threadId: string, userId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25
27
|
messageThreadsAddThreadUser: (threadId: string, userId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
26
|
-
messagesThreadMessages: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<
|
|
28
|
+
messagesThreadMessages: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
|
|
29
|
+
messagesStartThreadMessage: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
|
|
27
30
|
messagesMessage: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
28
31
|
messagesGetComments: (id: string, params?: MessagesGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
|
|
29
32
|
messagesPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
|
|
@@ -42,8 +45,10 @@ export declare const getSmartSpaceChatAPI: () => {
|
|
|
42
45
|
documentsGetDocumentSas: (dataSpaceId: string, params?: DocumentsGetDocumentSasParams) => Promise<import("axios").AxiosResponse<IntegrationsAzureStorageSasToken, any, {}>>;
|
|
43
46
|
messageThreadsCreateMessageThread: (workspaceId: string, createMessageThread: CreateMessageThread) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageThreadMessageThreadSummary, any, {}>>;
|
|
44
47
|
messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
48
|
+
messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<DtosMessageThreadsMessageThreadDto, any, {}>>;
|
|
45
49
|
messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
46
50
|
messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages: (workspaceId: string, id: string, params?: MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
51
|
+
messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
47
52
|
};
|
|
48
53
|
export type FilesUploadFilesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesUploadFiles']>>>;
|
|
49
54
|
export type FilesGetFileInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesGetFileInfo']>>>;
|
|
@@ -55,14 +60,17 @@ export type MessageThreadsThreadIdResult = NonNullable<Awaited<ReturnType<Return
|
|
|
55
60
|
export type MessageThreadsGetMessageThreadIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadId']>>>;
|
|
56
61
|
export type MessageThreadsGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetComments']>>>;
|
|
57
62
|
export type MessageThreadsPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsPostComment']>>>;
|
|
63
|
+
export type MessageThreadsGetMessageThreadDetailIdDetailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadDetailIdDetail']>>>;
|
|
58
64
|
export type MessageThreadsSetFavoritedChatResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsSetFavoritedChat']>>>;
|
|
59
65
|
export type MessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages']>>>;
|
|
60
66
|
export type MessageThreadsThreadMessagesIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesIdMessages']>>>;
|
|
67
|
+
export type MessageThreadsStreamThreadMessagesIdMessagesStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsStreamThreadMessagesIdMessagesStream']>>>;
|
|
61
68
|
export type MessageThreadsThreadIdNameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadIdName']>>>;
|
|
62
69
|
export type MessageThreadsGetThreadUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetThreadUsers']>>>;
|
|
63
70
|
export type MessageThreadsRemoveThreadUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsRemoveThreadUser']>>>;
|
|
64
71
|
export type MessageThreadsAddThreadUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsAddThreadUser']>>>;
|
|
65
72
|
export type MessagesThreadMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesThreadMessages']>>>;
|
|
73
|
+
export type MessagesStartThreadMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesStartThreadMessage']>>>;
|
|
66
74
|
export type MessagesMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesMessage']>>>;
|
|
67
75
|
export type MessagesGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesGetComments']>>>;
|
|
68
76
|
export type MessagesPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesPostComment']>>>;
|
|
@@ -81,5 +89,7 @@ export type WorkSpacesGetUsersResult = NonNullable<Awaited<ReturnType<ReturnType
|
|
|
81
89
|
export type DocumentsGetDocumentSasResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['documentsGetDocumentSas']>>>;
|
|
82
90
|
export type MessageThreadsCreateMessageThreadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsCreateMessageThread']>>>;
|
|
83
91
|
export type MessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId']>>>;
|
|
92
|
+
export type MessageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail']>>>;
|
|
84
93
|
export type MessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages']>>>;
|
|
85
94
|
export type MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages']>>>;
|
|
95
|
+
export type MessageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream']>>>;
|
|
@@ -96,6 +96,15 @@ const getSmartSpaceChatAPI = () => {
|
|
|
96
96
|
data: createComment
|
|
97
97
|
});
|
|
98
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
101
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
102
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
103
|
+
*/
|
|
104
|
+
const messageThreadsGetMessageThreadDetailIdDetail = (id) => {
|
|
105
|
+
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/detail`, method: 'GET'
|
|
106
|
+
});
|
|
107
|
+
};
|
|
99
108
|
/**
|
|
100
109
|
* @summary Mark a message thread as favorited or not in SmartSpace, using the thread's ID and a boolean value in the request.
|
|
101
110
|
*/
|
|
@@ -120,6 +129,17 @@ const getSmartSpaceChatAPI = () => {
|
|
|
120
129
|
params
|
|
121
130
|
});
|
|
122
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
134
|
+
snapshot (current messages with in-flight Redis state already
|
|
135
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
136
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
137
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
138
|
+
*/
|
|
139
|
+
const messageThreadsStreamThreadMessagesIdMessagesStream = (id) => {
|
|
140
|
+
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messages/stream`, method: 'GET'
|
|
141
|
+
});
|
|
142
|
+
};
|
|
123
143
|
/**
|
|
124
144
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
125
145
|
*/
|
|
@@ -153,6 +173,10 @@ const getSmartSpaceChatAPI = () => {
|
|
|
153
173
|
/**
|
|
154
174
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
155
175
|
This method specifies details like workspace ID, thread ID, and message content in the request.
|
|
176
|
+
Blocks until the flow completes and returns the final Message with all outputs populated,
|
|
177
|
+
preserving the original synchronous request/response contract for SDK and integration clients.
|
|
178
|
+
Clients that prefer to return immediately and subscribe to the SSE stream should use
|
|
179
|
+
`POST /messages/start` instead.
|
|
156
180
|
*/
|
|
157
181
|
const messagesThreadMessages = (messageMessageRequest) => {
|
|
158
182
|
return (0, instance_1.customInstance)({ url: `/Messages`, method: 'POST',
|
|
@@ -160,6 +184,20 @@ const getSmartSpaceChatAPI = () => {
|
|
|
160
184
|
data: messageMessageRequest
|
|
161
185
|
});
|
|
162
186
|
};
|
|
187
|
+
/**
|
|
188
|
+
* @summary Starts a flow run on a thread and returns immediately with the initial Message
|
|
189
|
+
before the flow has produced any outputs. The flow continues in a background task;
|
|
190
|
+
deltas stream via Redis to the SSE endpoint at
|
|
191
|
+
`GET /MessageThreads/{id}/messages/stream` and final outputs are persisted to
|
|
192
|
+
the database. Use this endpoint when the client subscribes to the SSE stream for
|
|
193
|
+
live updates instead of waiting for the flow to complete.
|
|
194
|
+
*/
|
|
195
|
+
const messagesStartThreadMessage = (messageMessageRequest) => {
|
|
196
|
+
return (0, instance_1.customInstance)({ url: `/Messages/start`, method: 'POST',
|
|
197
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
198
|
+
data: messageMessageRequest
|
|
199
|
+
});
|
|
200
|
+
};
|
|
163
201
|
/**
|
|
164
202
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
165
203
|
*/
|
|
@@ -292,6 +330,15 @@ const getSmartSpaceChatAPI = () => {
|
|
|
292
330
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
|
|
293
331
|
});
|
|
294
332
|
};
|
|
333
|
+
/**
|
|
334
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
335
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
336
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
337
|
+
*/
|
|
338
|
+
const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail = (workspaceId, id) => {
|
|
339
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/detail`, method: 'GET'
|
|
340
|
+
});
|
|
341
|
+
};
|
|
295
342
|
/**
|
|
296
343
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
297
344
|
*/
|
|
@@ -307,6 +354,17 @@ const getSmartSpaceChatAPI = () => {
|
|
|
307
354
|
params
|
|
308
355
|
});
|
|
309
356
|
};
|
|
310
|
-
|
|
357
|
+
/**
|
|
358
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
359
|
+
snapshot (current messages with in-flight Redis state already
|
|
360
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
361
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
362
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
363
|
+
*/
|
|
364
|
+
const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream = (workspaceId, id) => {
|
|
365
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
|
|
366
|
+
});
|
|
367
|
+
};
|
|
368
|
+
return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsGetMessageThreadDetailIdDetail, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsStreamThreadMessagesIdMessagesStream, messageThreadsThreadIdName, messageThreadsGetThreadUsers, messageThreadsRemoveThreadUser, messageThreadsAddThreadUser, messagesThreadMessages, messagesStartThreadMessage, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages, messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream };
|
|
311
369
|
};
|
|
312
370
|
exports.getSmartSpaceChatAPI = getSmartSpaceChatAPI;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Chat API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
export interface DtosMessageThreadsMessageThreadDto {
|
|
8
|
+
createdAt: string;
|
|
9
|
+
createdByUserId: string;
|
|
10
|
+
/** @nullable */
|
|
11
|
+
finishedAt?: string | null;
|
|
12
|
+
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
13
|
+
flowId: string;
|
|
14
|
+
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
15
|
+
id: string;
|
|
16
|
+
isFlowRunning: boolean;
|
|
17
|
+
modifiedAt: string;
|
|
18
|
+
modifiedByUserId: string;
|
|
19
|
+
/** @nullable */
|
|
20
|
+
name?: string | null;
|
|
21
|
+
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
22
|
+
workSpaceId: string;
|
|
23
|
+
}
|
|
@@ -17,6 +17,7 @@ export * from './dataSetProperty';
|
|
|
17
17
|
export * from './dataSourceContainer';
|
|
18
18
|
export * from './dataSpace';
|
|
19
19
|
export * from './documentsGetDocumentSasParams';
|
|
20
|
+
export * from './dtosMessageThreadsMessageThreadDto';
|
|
20
21
|
export * from './enumsAccessType';
|
|
21
22
|
export * from './enumsAppPrincipalType';
|
|
22
23
|
export * from './enumsFlowTriggerType';
|
|
@@ -33,6 +33,7 @@ __exportStar(require("./dataSetProperty"), exports);
|
|
|
33
33
|
__exportStar(require("./dataSourceContainer"), exports);
|
|
34
34
|
__exportStar(require("./dataSpace"), exports);
|
|
35
35
|
__exportStar(require("./documentsGetDocumentSasParams"), exports);
|
|
36
|
+
__exportStar(require("./dtosMessageThreadsMessageThreadDto"), exports);
|
|
36
37
|
__exportStar(require("./enumsAccessType"), exports);
|
|
37
38
|
__exportStar(require("./enumsAppPrincipalType"), exports);
|
|
38
39
|
__exportStar(require("./enumsFlowTriggerType"), exports);
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { ModelModelDeployment } from './modelModelDeployment';
|
|
8
8
|
import type { EnumsModelDeploymentProviderType } from './enumsModelDeploymentProviderType';
|
|
9
|
-
import type { ModelIModelProperty } from './modelIModelProperty';
|
|
10
9
|
import type { EnumsModelPublisher } from './enumsModelPublisher';
|
|
10
|
+
import type { ModelIModelProperty } from './modelIModelProperty';
|
|
11
11
|
export interface ModelModel {
|
|
12
12
|
/** @nullable */
|
|
13
13
|
createdAt?: string | null;
|
|
@@ -18,7 +18,7 @@ export interface ModelModel {
|
|
|
18
18
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
19
19
|
id: string;
|
|
20
20
|
modelDeploymentProviderType?: EnumsModelDeploymentProviderType;
|
|
21
|
+
modelPublisher?: EnumsModelPublisher;
|
|
21
22
|
name: string;
|
|
22
23
|
properties: ModelIModelProperty[];
|
|
23
|
-
publisher?: EnumsModelPublisher;
|
|
24
24
|
}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { EnumsModelDeploymentStatus } from './enumsModelDeploymentStatus';
|
|
8
8
|
import type { EnumsModelDeploymentProviderType } from './enumsModelDeploymentProviderType';
|
|
9
|
-
import type { ModelIModelProperty } from './modelIModelProperty';
|
|
10
9
|
import type { EnumsModelPublisher } from './enumsModelPublisher';
|
|
10
|
+
import type { ModelIModelProperty } from './modelIModelProperty';
|
|
11
11
|
export interface ModelModelSummary {
|
|
12
12
|
/** @nullable */
|
|
13
13
|
createdAt?: string | null;
|
|
@@ -18,9 +18,9 @@ export interface ModelModelSummary {
|
|
|
18
18
|
/** @pattern ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$ */
|
|
19
19
|
id: string;
|
|
20
20
|
modelDeploymentProviderType?: EnumsModelDeploymentProviderType;
|
|
21
|
+
modelPublisher?: EnumsModelPublisher;
|
|
21
22
|
name: string;
|
|
22
23
|
properties: ModelIModelProperty[];
|
|
23
|
-
publisher?: EnumsModelPublisher;
|
|
24
24
|
/** @nullable */
|
|
25
25
|
virtualMachineUrl?: string | null;
|
|
26
26
|
}
|
|
@@ -187,6 +187,30 @@ export declare const messageThreadsPostCommentResponse: zod.ZodObject<{
|
|
|
187
187
|
id: zod.ZodString;
|
|
188
188
|
mentionedUsers: zod.ZodArray<zod.ZodString>;
|
|
189
189
|
}, zod.core.$strip>;
|
|
190
|
+
/**
|
|
191
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
192
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
193
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
194
|
+
*/
|
|
195
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailPathIdRegExp: RegExp;
|
|
196
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailParams: zod.ZodObject<{
|
|
197
|
+
id: zod.ZodString;
|
|
198
|
+
}, zod.core.$strict>;
|
|
199
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponseFlowIdRegExp: RegExp;
|
|
200
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponseIdRegExp: RegExp;
|
|
201
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponseWorkSpaceIdRegExp: RegExp;
|
|
202
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponse: zod.ZodObject<{
|
|
203
|
+
createdAt: zod.ZodISODateTime;
|
|
204
|
+
createdByUserId: zod.ZodString;
|
|
205
|
+
finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
|
|
206
|
+
flowId: zod.ZodString;
|
|
207
|
+
id: zod.ZodString;
|
|
208
|
+
isFlowRunning: zod.ZodBoolean;
|
|
209
|
+
modifiedAt: zod.ZodISODateTime;
|
|
210
|
+
modifiedByUserId: zod.ZodString;
|
|
211
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
212
|
+
workSpaceId: zod.ZodString;
|
|
213
|
+
}, zod.core.$strip>;
|
|
190
214
|
/**
|
|
191
215
|
* @summary Mark a message thread as favorited or not in SmartSpace, using the thread's ID and a boolean value in the request.
|
|
192
216
|
*/
|
|
@@ -256,6 +280,17 @@ export declare const messageThreadsThreadMessagesIdMessagesResponse: zod.ZodObje
|
|
|
256
280
|
}, zod.core.$strip>>;
|
|
257
281
|
total: zod.ZodNumber;
|
|
258
282
|
}, zod.core.$strip>;
|
|
283
|
+
/**
|
|
284
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
285
|
+
snapshot (current messages with in-flight Redis state already
|
|
286
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
287
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
288
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
289
|
+
*/
|
|
290
|
+
export declare const messageThreadsStreamThreadMessagesIdMessagesStreamPathIdRegExp: RegExp;
|
|
291
|
+
export declare const messageThreadsStreamThreadMessagesIdMessagesStreamParams: zod.ZodObject<{
|
|
292
|
+
id: zod.ZodString;
|
|
293
|
+
}, zod.core.$strict>;
|
|
259
294
|
/**
|
|
260
295
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
261
296
|
*/
|
|
@@ -302,6 +337,10 @@ export declare const messageThreadsAddThreadUserParams: zod.ZodObject<{
|
|
|
302
337
|
/**
|
|
303
338
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
304
339
|
This method specifies details like workspace ID, thread ID, and message content in the request.
|
|
340
|
+
Blocks until the flow completes and returns the final Message with all outputs populated,
|
|
341
|
+
preserving the original synchronous request/response contract for SDK and integration clients.
|
|
342
|
+
Clients that prefer to return immediately and subscribe to the SSE stream should use
|
|
343
|
+
`POST /messages/start` instead.
|
|
305
344
|
*/
|
|
306
345
|
export declare const messagesThreadMessagesBodyMessageThreadIdRegExp: RegExp;
|
|
307
346
|
export declare const messagesThreadMessagesBodyWorkSpaceIdRegExp: RegExp;
|
|
@@ -315,6 +354,86 @@ export declare const messagesThreadMessagesBody: zod.ZodObject<{
|
|
|
315
354
|
variables: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
316
355
|
workSpaceId: zod.ZodString;
|
|
317
356
|
}, zod.core.$strict>;
|
|
357
|
+
export declare const messagesThreadMessagesResponseIdRegExp: RegExp;
|
|
358
|
+
export declare const messagesThreadMessagesResponseMessageThreadIdRegExp: RegExp;
|
|
359
|
+
export declare const messagesThreadMessagesResponseValuesItemIdRegExp: RegExp;
|
|
360
|
+
export declare const messagesThreadMessagesResponse: zod.ZodObject<{
|
|
361
|
+
createdAt: zod.ZodISODateTime;
|
|
362
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
363
|
+
createdByUserId: zod.ZodString;
|
|
364
|
+
errors: zod.ZodArray<zod.ZodObject<{
|
|
365
|
+
blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
366
|
+
code: zod.ZodNumber;
|
|
367
|
+
data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
368
|
+
message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
369
|
+
}, zod.core.$strip>>;
|
|
370
|
+
hasComments: zod.ZodBoolean;
|
|
371
|
+
id: zod.ZodString;
|
|
372
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
373
|
+
values: zod.ZodArray<zod.ZodObject<{
|
|
374
|
+
channels: zod.ZodRecord<zod.ZodString, zod.ZodNumber>;
|
|
375
|
+
createdAt: zod.ZodISODateTime;
|
|
376
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
377
|
+
createdByUserId: zod.ZodString;
|
|
378
|
+
id: zod.ZodString;
|
|
379
|
+
name: zod.ZodString;
|
|
380
|
+
type: zod.ZodEnum<{
|
|
381
|
+
Input: "Input";
|
|
382
|
+
Output: "Output";
|
|
383
|
+
}>;
|
|
384
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
385
|
+
}, zod.core.$strip>>;
|
|
386
|
+
}, zod.core.$strip>;
|
|
387
|
+
/**
|
|
388
|
+
* @summary Starts a flow run on a thread and returns immediately with the initial Message
|
|
389
|
+
before the flow has produced any outputs. The flow continues in a background task;
|
|
390
|
+
deltas stream via Redis to the SSE endpoint at
|
|
391
|
+
`GET /MessageThreads/{id}/messages/stream` and final outputs are persisted to
|
|
392
|
+
the database. Use this endpoint when the client subscribes to the SSE stream for
|
|
393
|
+
live updates instead of waiting for the flow to complete.
|
|
394
|
+
*/
|
|
395
|
+
export declare const messagesStartThreadMessageBodyMessageThreadIdRegExp: RegExp;
|
|
396
|
+
export declare const messagesStartThreadMessageBodyWorkSpaceIdRegExp: RegExp;
|
|
397
|
+
export declare const messagesStartThreadMessageBody: zod.ZodObject<{
|
|
398
|
+
inputs: zod.ZodArray<zod.ZodObject<{
|
|
399
|
+
channels: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodNumber>>>;
|
|
400
|
+
name: zod.ZodString;
|
|
401
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
402
|
+
}, zod.core.$strict>>;
|
|
403
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
404
|
+
variables: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
405
|
+
workSpaceId: zod.ZodString;
|
|
406
|
+
}, zod.core.$strict>;
|
|
407
|
+
export declare const messagesStartThreadMessageResponseIdRegExp: RegExp;
|
|
408
|
+
export declare const messagesStartThreadMessageResponseMessageThreadIdRegExp: RegExp;
|
|
409
|
+
export declare const messagesStartThreadMessageResponseValuesItemIdRegExp: RegExp;
|
|
410
|
+
export declare const messagesStartThreadMessageResponse: zod.ZodObject<{
|
|
411
|
+
createdAt: zod.ZodISODateTime;
|
|
412
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
413
|
+
createdByUserId: zod.ZodString;
|
|
414
|
+
errors: zod.ZodArray<zod.ZodObject<{
|
|
415
|
+
blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
416
|
+
code: zod.ZodNumber;
|
|
417
|
+
data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
418
|
+
message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
419
|
+
}, zod.core.$strip>>;
|
|
420
|
+
hasComments: zod.ZodBoolean;
|
|
421
|
+
id: zod.ZodString;
|
|
422
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
423
|
+
values: zod.ZodArray<zod.ZodObject<{
|
|
424
|
+
channels: zod.ZodRecord<zod.ZodString, zod.ZodNumber>;
|
|
425
|
+
createdAt: zod.ZodISODateTime;
|
|
426
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
427
|
+
createdByUserId: zod.ZodString;
|
|
428
|
+
id: zod.ZodString;
|
|
429
|
+
name: zod.ZodString;
|
|
430
|
+
type: zod.ZodEnum<{
|
|
431
|
+
Input: "Input";
|
|
432
|
+
Output: "Output";
|
|
433
|
+
}>;
|
|
434
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
435
|
+
}, zod.core.$strip>>;
|
|
436
|
+
}, zod.core.$strip>;
|
|
318
437
|
/**
|
|
319
438
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
320
439
|
*/
|
|
@@ -416,16 +535,7 @@ export declare const modelsGetModelsResponse: zod.ZodObject<{
|
|
|
416
535
|
VertexAi: "VertexAi";
|
|
417
536
|
AzureFoundry: "AzureFoundry";
|
|
418
537
|
}>>;
|
|
419
|
-
|
|
420
|
-
properties: zod.ZodArray<zod.ZodObject<{
|
|
421
|
-
name: zod.ZodString;
|
|
422
|
-
type: zod.ZodEnum<{
|
|
423
|
-
Boolean: "Boolean";
|
|
424
|
-
Number: "Number";
|
|
425
|
-
String: "String";
|
|
426
|
-
}>;
|
|
427
|
-
}, zod.core.$strip>>;
|
|
428
|
-
publisher: zod.ZodOptional<zod.ZodEnum<{
|
|
538
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
429
539
|
OpenAi: "OpenAi";
|
|
430
540
|
HuggingFace: "HuggingFace";
|
|
431
541
|
Cohere: "Cohere";
|
|
@@ -440,6 +550,15 @@ export declare const modelsGetModelsResponse: zod.ZodObject<{
|
|
|
440
550
|
Qwen: "Qwen";
|
|
441
551
|
Other: "Other";
|
|
442
552
|
}>>;
|
|
553
|
+
name: zod.ZodString;
|
|
554
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
555
|
+
name: zod.ZodString;
|
|
556
|
+
type: zod.ZodEnum<{
|
|
557
|
+
Boolean: "Boolean";
|
|
558
|
+
Number: "Number";
|
|
559
|
+
String: "String";
|
|
560
|
+
}>;
|
|
561
|
+
}, zod.core.$strip>>;
|
|
443
562
|
virtualMachineUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
444
563
|
}, zod.core.$strip>>;
|
|
445
564
|
total: zod.ZodNumber;
|
|
@@ -512,16 +631,7 @@ export declare const modelsGetModelResponse: zod.ZodObject<{
|
|
|
512
631
|
VertexAi: "VertexAi";
|
|
513
632
|
AzureFoundry: "AzureFoundry";
|
|
514
633
|
}>>;
|
|
515
|
-
|
|
516
|
-
properties: zod.ZodArray<zod.ZodObject<{
|
|
517
|
-
name: zod.ZodString;
|
|
518
|
-
type: zod.ZodEnum<{
|
|
519
|
-
Boolean: "Boolean";
|
|
520
|
-
Number: "Number";
|
|
521
|
-
String: "String";
|
|
522
|
-
}>;
|
|
523
|
-
}, zod.core.$strip>>;
|
|
524
|
-
publisher: zod.ZodOptional<zod.ZodEnum<{
|
|
634
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
525
635
|
OpenAi: "OpenAi";
|
|
526
636
|
HuggingFace: "HuggingFace";
|
|
527
637
|
Cohere: "Cohere";
|
|
@@ -536,6 +646,15 @@ export declare const modelsGetModelResponse: zod.ZodObject<{
|
|
|
536
646
|
Qwen: "Qwen";
|
|
537
647
|
Other: "Other";
|
|
538
648
|
}>>;
|
|
649
|
+
name: zod.ZodString;
|
|
650
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
651
|
+
name: zod.ZodString;
|
|
652
|
+
type: zod.ZodEnum<{
|
|
653
|
+
Boolean: "Boolean";
|
|
654
|
+
Number: "Number";
|
|
655
|
+
String: "String";
|
|
656
|
+
}>;
|
|
657
|
+
}, zod.core.$strip>>;
|
|
539
658
|
}, zod.core.$strip>;
|
|
540
659
|
/**
|
|
541
660
|
* @summary Retrieve notifications for user login.
|
|
@@ -789,16 +908,7 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
|
|
|
789
908
|
VertexAi: "VertexAi";
|
|
790
909
|
AzureFoundry: "AzureFoundry";
|
|
791
910
|
}>>;
|
|
792
|
-
|
|
793
|
-
properties: zod.ZodArray<zod.ZodObject<{
|
|
794
|
-
name: zod.ZodString;
|
|
795
|
-
type: zod.ZodEnum<{
|
|
796
|
-
Boolean: "Boolean";
|
|
797
|
-
Number: "Number";
|
|
798
|
-
String: "String";
|
|
799
|
-
}>;
|
|
800
|
-
}, zod.core.$strip>>;
|
|
801
|
-
publisher: zod.ZodOptional<zod.ZodEnum<{
|
|
911
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
802
912
|
OpenAi: "OpenAi";
|
|
803
913
|
HuggingFace: "HuggingFace";
|
|
804
914
|
Cohere: "Cohere";
|
|
@@ -813,6 +923,15 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
|
|
|
813
923
|
Qwen: "Qwen";
|
|
814
924
|
Other: "Other";
|
|
815
925
|
}>>;
|
|
926
|
+
name: zod.ZodString;
|
|
927
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
928
|
+
name: zod.ZodString;
|
|
929
|
+
type: zod.ZodEnum<{
|
|
930
|
+
Boolean: "Boolean";
|
|
931
|
+
Number: "Number";
|
|
932
|
+
String: "String";
|
|
933
|
+
}>;
|
|
934
|
+
}, zod.core.$strip>>;
|
|
816
935
|
}, zod.core.$strip>;
|
|
817
936
|
prePrompt: zod.ZodString;
|
|
818
937
|
presencePenalty: zod.ZodNumber;
|
|
@@ -1040,16 +1159,7 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
|
|
|
1040
1159
|
VertexAi: "VertexAi";
|
|
1041
1160
|
AzureFoundry: "AzureFoundry";
|
|
1042
1161
|
}>>;
|
|
1043
|
-
|
|
1044
|
-
properties: zod.ZodArray<zod.ZodObject<{
|
|
1045
|
-
name: zod.ZodString;
|
|
1046
|
-
type: zod.ZodEnum<{
|
|
1047
|
-
Boolean: "Boolean";
|
|
1048
|
-
Number: "Number";
|
|
1049
|
-
String: "String";
|
|
1050
|
-
}>;
|
|
1051
|
-
}, zod.core.$strip>>;
|
|
1052
|
-
publisher: zod.ZodOptional<zod.ZodEnum<{
|
|
1162
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
1053
1163
|
OpenAi: "OpenAi";
|
|
1054
1164
|
HuggingFace: "HuggingFace";
|
|
1055
1165
|
Cohere: "Cohere";
|
|
@@ -1064,6 +1174,15 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
|
|
|
1064
1174
|
Qwen: "Qwen";
|
|
1065
1175
|
Other: "Other";
|
|
1066
1176
|
}>>;
|
|
1177
|
+
name: zod.ZodString;
|
|
1178
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
1179
|
+
name: zod.ZodString;
|
|
1180
|
+
type: zod.ZodEnum<{
|
|
1181
|
+
Boolean: "Boolean";
|
|
1182
|
+
Number: "Number";
|
|
1183
|
+
String: "String";
|
|
1184
|
+
}>;
|
|
1185
|
+
}, zod.core.$strip>>;
|
|
1067
1186
|
}, zod.core.$strip>;
|
|
1068
1187
|
prePrompt: zod.ZodString;
|
|
1069
1188
|
presencePenalty: zod.ZodNumber;
|
|
@@ -1251,6 +1370,31 @@ export declare const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessaget
|
|
|
1251
1370
|
totalMessages: zod.ZodNumber;
|
|
1252
1371
|
workSpaceId: zod.ZodString;
|
|
1253
1372
|
}, zod.core.$strip>;
|
|
1373
|
+
/**
|
|
1374
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
1375
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
1376
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
1377
|
+
*/
|
|
1378
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailPathIdRegExp: RegExp;
|
|
1379
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailParams: zod.ZodObject<{
|
|
1380
|
+
id: zod.ZodString;
|
|
1381
|
+
workspaceId: zod.ZodString;
|
|
1382
|
+
}, zod.core.$strict>;
|
|
1383
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponseFlowIdRegExp: RegExp;
|
|
1384
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponseIdRegExp: RegExp;
|
|
1385
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponseWorkSpaceIdRegExp: RegExp;
|
|
1386
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponse: zod.ZodObject<{
|
|
1387
|
+
createdAt: zod.ZodISODateTime;
|
|
1388
|
+
createdByUserId: zod.ZodString;
|
|
1389
|
+
finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
|
|
1390
|
+
flowId: zod.ZodString;
|
|
1391
|
+
id: zod.ZodString;
|
|
1392
|
+
isFlowRunning: zod.ZodBoolean;
|
|
1393
|
+
modifiedAt: zod.ZodISODateTime;
|
|
1394
|
+
modifiedByUserId: zod.ZodString;
|
|
1395
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1396
|
+
workSpaceId: zod.ZodString;
|
|
1397
|
+
}, zod.core.$strip>;
|
|
1254
1398
|
/**
|
|
1255
1399
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
1256
1400
|
*/
|
|
@@ -1314,3 +1458,15 @@ export declare const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethr
|
|
|
1314
1458
|
}, zod.core.$strip>>;
|
|
1315
1459
|
total: zod.ZodNumber;
|
|
1316
1460
|
}, zod.core.$strip>;
|
|
1461
|
+
/**
|
|
1462
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
1463
|
+
snapshot (current messages with in-flight Redis state already
|
|
1464
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
1465
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
1466
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
1467
|
+
*/
|
|
1468
|
+
export declare const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamPathIdRegExp: RegExp;
|
|
1469
|
+
export declare const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamParams: zod.ZodObject<{
|
|
1470
|
+
id: zod.ZodString;
|
|
1471
|
+
workspaceId: zod.ZodString;
|
|
1472
|
+
}, zod.core.$strict>;
|