@smartspace/api-client 0.1.0-dev.793b98c → 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.
Files changed (55) hide show
  1. package/dist/generated/chat/api.d.ts +12 -2
  2. package/dist/generated/chat/api.js +59 -1
  3. package/dist/generated/chat/models/dtosMessageThreadsMessageThreadDto.d.ts +23 -0
  4. package/dist/generated/chat/models/dtosMessageThreadsMessageThreadDto.js +8 -0
  5. package/dist/generated/chat/models/enumsModelPublisher.d.ts +22 -0
  6. package/dist/generated/chat/models/enumsModelPublisher.js +25 -0
  7. package/dist/generated/chat/models/index.d.ts +2 -0
  8. package/dist/generated/chat/models/index.js +2 -0
  9. package/dist/generated/chat/models/modelModel.d.ts +2 -0
  10. package/dist/generated/chat/models/modelModelSummary.d.ts +2 -0
  11. package/dist/generated/chat/zod.d.ts +216 -0
  12. package/dist/generated/chat/zod.js +159 -4
  13. package/dist/generated/config/api.d.ts +89 -9
  14. package/dist/generated/config/api.js +274 -7
  15. package/dist/generated/config/models/createModel.d.ts +2 -0
  16. package/dist/generated/config/models/enumsModelPublisher.d.ts +22 -0
  17. package/dist/generated/config/models/enumsModelPublisher.js +25 -0
  18. package/dist/generated/config/models/flowRunsAddFileIdFilesBody.d.ts +9 -0
  19. package/dist/generated/config/models/flowRunsCreateFlowRunParams.d.ts +13 -0
  20. package/dist/generated/config/models/index.d.ts +10 -3
  21. package/dist/generated/config/models/index.js +10 -3
  22. package/dist/generated/config/models/messageSandBoxMessageRequest.d.ts +3 -0
  23. package/dist/generated/config/models/messageSandBoxMessageRequestVariables.d.ts +12 -0
  24. package/dist/generated/config/models/modelModel.d.ts +2 -0
  25. package/dist/generated/config/models/modelModelSummary.d.ts +2 -0
  26. package/dist/generated/config/models/modelProvidersGetProvidersParams.d.ts +16 -0
  27. package/dist/generated/config/models/modelProvidersGetProvidersParams.js +8 -0
  28. package/dist/generated/config/models/modelsGetDefaultDockerFileParams.d.ts +10 -0
  29. package/dist/generated/config/models/modelsGetDefaultDockerFileParams.js +2 -0
  30. package/dist/generated/config/models/{sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.d.ts → sandBoxGetThreadMessagesParams.d.ts} +1 -1
  31. package/dist/generated/config/models/sandBoxGetThreadMessagesParams.js +8 -0
  32. package/dist/generated/config/models/usersAdminPermissionParams.d.ts +9 -0
  33. package/dist/generated/config/models/usersAdminPermissionParams.js +8 -0
  34. package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesParams.d.ts → workSpacesGetWorkspaceFilesParams.d.ts} +1 -1
  35. package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.js +8 -0
  36. package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesBody.d.ts → workSpacesWorkspaceFilesBody.d.ts} +1 -1
  37. package/dist/generated/config/models/workSpacesWorkspaceFilesBody.js +8 -0
  38. package/dist/generated/config/zod.d.ts +628 -18
  39. package/dist/generated/config/zod.js +421 -38
  40. package/dist/generated/signalr/SmartSpace.App.Business.Models.Comment.d.ts +24 -0
  41. package/dist/generated/signalr/SmartSpace.App.Business.Models.Comment.js +5 -0
  42. package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.d.ts +27 -0
  43. package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.js +5 -0
  44. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +71 -0
  45. package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.js +2 -0
  46. package/dist/generated/signalr/TypedSignalR.Client/index.d.ts +21 -0
  47. package/dist/generated/signalr/TypedSignalR.Client/index.js +114 -0
  48. package/dist/index.d.ts +1 -0
  49. package/dist/index.js +2 -1
  50. package/dist/signalr.d.ts +4 -0
  51. package/dist/signalr.js +18 -0
  52. package/package.json +6 -2
  53. /package/dist/generated/config/models/{sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.js → flowRunsAddFileIdFilesBody.js} +0 -0
  54. /package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesBody.js → flowRunsCreateFlowRunParams.js} +0 -0
  55. /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<void, any, {}>>;
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
- return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsThreadIdName, messageThreadsGetThreadUsers, messageThreadsRemoveThreadUser, messageThreadsAddThreadUser, messagesThreadMessages, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages };
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
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Chat API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,22 @@
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 type EnumsModelPublisher = typeof EnumsModelPublisher[keyof typeof EnumsModelPublisher];
8
+ export declare const EnumsModelPublisher: {
9
+ readonly OpenAi: "OpenAi";
10
+ readonly Anthropic: "Anthropic";
11
+ readonly Google: "Google";
12
+ readonly Meta: "Meta";
13
+ readonly Mistral: "Mistral";
14
+ readonly Microsoft: "Microsoft";
15
+ readonly DeepSeek: "DeepSeek";
16
+ readonly Cohere: "Cohere";
17
+ readonly XAi: "XAi";
18
+ readonly HuggingFace: "HuggingFace";
19
+ readonly Amazon: "Amazon";
20
+ readonly Qwen: "Qwen";
21
+ readonly Other: "Other";
22
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Chat API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.EnumsModelPublisher = void 0;
10
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
11
+ exports.EnumsModelPublisher = {
12
+ OpenAi: 'OpenAi',
13
+ Anthropic: 'Anthropic',
14
+ Google: 'Google',
15
+ Meta: 'Meta',
16
+ Mistral: 'Mistral',
17
+ Microsoft: 'Microsoft',
18
+ DeepSeek: 'DeepSeek',
19
+ Cohere: 'Cohere',
20
+ XAi: 'XAi',
21
+ HuggingFace: 'HuggingFace',
22
+ Amazon: 'Amazon',
23
+ Qwen: 'Qwen',
24
+ Other: 'Other',
25
+ };
@@ -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';
@@ -26,6 +27,7 @@ export * from './enumsModelDeploymentProviderType';
26
27
  export * from './enumsModelDeploymentStatus';
27
28
  export * from './enumsModelDeploymentStepName';
28
29
  export * from './enumsModelPropertyType';
30
+ export * from './enumsModelPublisher';
29
31
  export * from './enumsModelRole';
30
32
  export * from './enumsNotificationType';
31
33
  export * from './enumsVirtualMachineServerType';
@@ -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);
@@ -42,6 +43,7 @@ __exportStar(require("./enumsModelDeploymentProviderType"), exports);
42
43
  __exportStar(require("./enumsModelDeploymentStatus"), exports);
43
44
  __exportStar(require("./enumsModelDeploymentStepName"), exports);
44
45
  __exportStar(require("./enumsModelPropertyType"), exports);
46
+ __exportStar(require("./enumsModelPublisher"), exports);
45
47
  __exportStar(require("./enumsModelRole"), exports);
46
48
  __exportStar(require("./enumsNotificationType"), exports);
47
49
  __exportStar(require("./enumsVirtualMachineServerType"), exports);
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import type { ModelModelDeployment } from './modelModelDeployment';
8
8
  import type { EnumsModelDeploymentProviderType } from './enumsModelDeploymentProviderType';
9
+ import type { EnumsModelPublisher } from './enumsModelPublisher';
9
10
  import type { ModelIModelProperty } from './modelIModelProperty';
10
11
  export interface ModelModel {
11
12
  /** @nullable */
@@ -17,6 +18,7 @@ export interface ModelModel {
17
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}$ */
18
19
  id: string;
19
20
  modelDeploymentProviderType?: EnumsModelDeploymentProviderType;
21
+ modelPublisher?: EnumsModelPublisher;
20
22
  name: string;
21
23
  properties: ModelIModelProperty[];
22
24
  }
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import type { EnumsModelDeploymentStatus } from './enumsModelDeploymentStatus';
8
8
  import type { EnumsModelDeploymentProviderType } from './enumsModelDeploymentProviderType';
9
+ import type { EnumsModelPublisher } from './enumsModelPublisher';
9
10
  import type { ModelIModelProperty } from './modelIModelProperty';
10
11
  export interface ModelModelSummary {
11
12
  /** @nullable */
@@ -17,6 +18,7 @@ export interface ModelModelSummary {
17
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}$ */
18
19
  id: string;
19
20
  modelDeploymentProviderType?: EnumsModelDeploymentProviderType;
21
+ modelPublisher?: EnumsModelPublisher;
20
22
  name: string;
21
23
  properties: ModelIModelProperty[];
22
24
  /** @nullable */
@@ -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,6 +535,21 @@ export declare const modelsGetModelsResponse: zod.ZodObject<{
416
535
  VertexAi: "VertexAi";
417
536
  AzureFoundry: "AzureFoundry";
418
537
  }>>;
538
+ modelPublisher: zod.ZodOptional<zod.ZodEnum<{
539
+ OpenAi: "OpenAi";
540
+ HuggingFace: "HuggingFace";
541
+ Cohere: "Cohere";
542
+ Anthropic: "Anthropic";
543
+ Google: "Google";
544
+ Meta: "Meta";
545
+ Mistral: "Mistral";
546
+ Microsoft: "Microsoft";
547
+ DeepSeek: "DeepSeek";
548
+ XAi: "XAi";
549
+ Amazon: "Amazon";
550
+ Qwen: "Qwen";
551
+ Other: "Other";
552
+ }>>;
419
553
  name: zod.ZodString;
420
554
  properties: zod.ZodArray<zod.ZodObject<{
421
555
  name: zod.ZodString;
@@ -497,6 +631,21 @@ export declare const modelsGetModelResponse: zod.ZodObject<{
497
631
  VertexAi: "VertexAi";
498
632
  AzureFoundry: "AzureFoundry";
499
633
  }>>;
634
+ modelPublisher: zod.ZodOptional<zod.ZodEnum<{
635
+ OpenAi: "OpenAi";
636
+ HuggingFace: "HuggingFace";
637
+ Cohere: "Cohere";
638
+ Anthropic: "Anthropic";
639
+ Google: "Google";
640
+ Meta: "Meta";
641
+ Mistral: "Mistral";
642
+ Microsoft: "Microsoft";
643
+ DeepSeek: "DeepSeek";
644
+ XAi: "XAi";
645
+ Amazon: "Amazon";
646
+ Qwen: "Qwen";
647
+ Other: "Other";
648
+ }>>;
500
649
  name: zod.ZodString;
501
650
  properties: zod.ZodArray<zod.ZodObject<{
502
651
  name: zod.ZodString;
@@ -759,6 +908,21 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
759
908
  VertexAi: "VertexAi";
760
909
  AzureFoundry: "AzureFoundry";
761
910
  }>>;
911
+ modelPublisher: zod.ZodOptional<zod.ZodEnum<{
912
+ OpenAi: "OpenAi";
913
+ HuggingFace: "HuggingFace";
914
+ Cohere: "Cohere";
915
+ Anthropic: "Anthropic";
916
+ Google: "Google";
917
+ Meta: "Meta";
918
+ Mistral: "Mistral";
919
+ Microsoft: "Microsoft";
920
+ DeepSeek: "DeepSeek";
921
+ XAi: "XAi";
922
+ Amazon: "Amazon";
923
+ Qwen: "Qwen";
924
+ Other: "Other";
925
+ }>>;
762
926
  name: zod.ZodString;
763
927
  properties: zod.ZodArray<zod.ZodObject<{
764
928
  name: zod.ZodString;
@@ -995,6 +1159,21 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
995
1159
  VertexAi: "VertexAi";
996
1160
  AzureFoundry: "AzureFoundry";
997
1161
  }>>;
1162
+ modelPublisher: zod.ZodOptional<zod.ZodEnum<{
1163
+ OpenAi: "OpenAi";
1164
+ HuggingFace: "HuggingFace";
1165
+ Cohere: "Cohere";
1166
+ Anthropic: "Anthropic";
1167
+ Google: "Google";
1168
+ Meta: "Meta";
1169
+ Mistral: "Mistral";
1170
+ Microsoft: "Microsoft";
1171
+ DeepSeek: "DeepSeek";
1172
+ XAi: "XAi";
1173
+ Amazon: "Amazon";
1174
+ Qwen: "Qwen";
1175
+ Other: "Other";
1176
+ }>>;
998
1177
  name: zod.ZodString;
999
1178
  properties: zod.ZodArray<zod.ZodObject<{
1000
1179
  name: zod.ZodString;
@@ -1191,6 +1370,31 @@ export declare const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessaget
1191
1370
  totalMessages: zod.ZodNumber;
1192
1371
  workSpaceId: zod.ZodString;
1193
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>;
1194
1398
  /**
1195
1399
  * @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
1196
1400
  */
@@ -1254,3 +1458,15 @@ export declare const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethr
1254
1458
  }, zod.core.$strip>>;
1255
1459
  total: zod.ZodNumber;
1256
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>;