@smartspace/api-client 0.1.0-main.5e1821b → 0.1.0-main.822e38f
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 +14 -4
- package/dist/generated/chat/api.js +66 -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/fileUriResponse.d.ts +9 -0
- package/dist/generated/chat/models/fileUriResponse.js +8 -0
- package/dist/generated/chat/models/index.d.ts +2 -0
- package/dist/generated/chat/models/index.js +2 -0
- package/dist/generated/chat/zod.d.ts +166 -1
- package/dist/generated/chat/zod.js +165 -5
- package/dist/generated/config/api.d.ts +91 -11
- package/dist/generated/config/api.js +282 -7
- package/dist/generated/config/models/fileUriResponse.d.ts +9 -0
- 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 +10 -3
- package/dist/generated/config/models/index.js +10 -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/messageSandBoxMessageRequestVariables.js +8 -0
- 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 +534 -19
- package/dist/generated/config/zod.js +423 -37
- 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 → fileUriResponse.js} +0 -0
- /package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesBody.js → flowRunsAddFileIdFilesBody.js} +0 -0
- /package/dist/generated/config/models/{workSpacesWorkspaceFilesWorkspaceIdFilesParams.js → flowRunsCreateFlowRunParams.js} +0 -0
|
@@ -4,30 +4,33 @@
|
|
|
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, FileUriResponse, 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, {}>>;
|
|
11
11
|
filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
12
|
-
filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<
|
|
12
|
+
filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<FileUriResponse, any, {}>>;
|
|
13
13
|
flowRunsGetVariables: (id: string) => Promise<import("axios").AxiosResponse<FlowRunsGetVariables200One | FlowRunsGetVariables200Three | FlowRunsGetVariables200Two, any, {}>>;
|
|
14
14
|
flowRunsSetVariable: (id: string, variableName: string, flowRunsSetVariableBody: unknown) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
15
15
|
messageThreadsThreadId: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
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, {}>>;
|
|
30
|
-
messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<
|
|
33
|
+
messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
|
|
31
34
|
modelsGetModels: (params?: ModelsGetModelsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionModelModelSummary, any, {}>>;
|
|
32
35
|
modelsGetModel: (id: string) => Promise<import("axios").AxiosResponse<ModelModel, any, {}>>;
|
|
33
36
|
notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationPagedNotifications, 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
|
*/
|
|
@@ -184,6 +222,13 @@ const getSmartSpaceChatAPI = () => {
|
|
|
184
222
|
data: createComment
|
|
185
223
|
});
|
|
186
224
|
};
|
|
225
|
+
/**
|
|
226
|
+
* @summary Append a new input value to an in-flight message and stream successive
|
|
227
|
+
snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
|
|
228
|
+
with the latest cumulative state — the SDK should treat the response as
|
|
229
|
+
a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
|
|
230
|
+
frame being the authoritative completed message.
|
|
231
|
+
*/
|
|
187
232
|
const messagesAddValueToMessage = (id, messageCreateMessageInput) => {
|
|
188
233
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/values`, method: 'POST',
|
|
189
234
|
headers: { 'Content-Type': 'application/*+json', },
|
|
@@ -292,6 +337,15 @@ const getSmartSpaceChatAPI = () => {
|
|
|
292
337
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
|
|
293
338
|
});
|
|
294
339
|
};
|
|
340
|
+
/**
|
|
341
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
342
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
343
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
344
|
+
*/
|
|
345
|
+
const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail = (workspaceId, id) => {
|
|
346
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/detail`, method: 'GET'
|
|
347
|
+
});
|
|
348
|
+
};
|
|
295
349
|
/**
|
|
296
350
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
297
351
|
*/
|
|
@@ -307,6 +361,17 @@ const getSmartSpaceChatAPI = () => {
|
|
|
307
361
|
params
|
|
308
362
|
});
|
|
309
363
|
};
|
|
310
|
-
|
|
364
|
+
/**
|
|
365
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
366
|
+
snapshot (current messages with in-flight Redis state already
|
|
367
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
368
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
369
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
370
|
+
*/
|
|
371
|
+
const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream = (workspaceId, id) => {
|
|
372
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
|
|
373
|
+
});
|
|
374
|
+
};
|
|
375
|
+
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
376
|
};
|
|
312
377
|
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';
|
|
@@ -32,6 +33,7 @@ export * from './enumsNotificationType';
|
|
|
32
33
|
export * from './enumsVirtualMachineServerType';
|
|
33
34
|
export * from './enumsWorkSpaceOrderBy';
|
|
34
35
|
export * from './file';
|
|
36
|
+
export * from './fileUriResponse';
|
|
35
37
|
export * from './filesDownloadFileParams';
|
|
36
38
|
export * from './filesGetFileInfoParams';
|
|
37
39
|
export * from './filesGetUriParams';
|
|
@@ -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);
|
|
@@ -48,6 +49,7 @@ __exportStar(require("./enumsNotificationType"), exports);
|
|
|
48
49
|
__exportStar(require("./enumsVirtualMachineServerType"), exports);
|
|
49
50
|
__exportStar(require("./enumsWorkSpaceOrderBy"), exports);
|
|
50
51
|
__exportStar(require("./file"), exports);
|
|
52
|
+
__exportStar(require("./fileUriResponse"), exports);
|
|
51
53
|
__exportStar(require("./filesDownloadFileParams"), exports);
|
|
52
54
|
__exportStar(require("./filesGetFileInfoParams"), exports);
|
|
53
55
|
__exportStar(require("./filesGetUriParams"), exports);
|
|
@@ -98,7 +98,9 @@ export declare const filesGetUriQueryParams: zod.ZodObject<{
|
|
|
98
98
|
threadId: zod.ZodOptional<zod.ZodString>;
|
|
99
99
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
100
100
|
}, zod.core.$strict>;
|
|
101
|
-
export declare const filesGetUriResponse: zod.
|
|
101
|
+
export declare const filesGetUriResponse: zod.ZodObject<{
|
|
102
|
+
uri: zod.ZodString;
|
|
103
|
+
}, zod.core.$strip>;
|
|
102
104
|
export declare const flowRunsGetVariablesPathIdRegExp: RegExp;
|
|
103
105
|
export declare const flowRunsGetVariablesParams: zod.ZodObject<{
|
|
104
106
|
id: zod.ZodString;
|
|
@@ -187,6 +189,30 @@ export declare const messageThreadsPostCommentResponse: zod.ZodObject<{
|
|
|
187
189
|
id: zod.ZodString;
|
|
188
190
|
mentionedUsers: zod.ZodArray<zod.ZodString>;
|
|
189
191
|
}, zod.core.$strip>;
|
|
192
|
+
/**
|
|
193
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
194
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
195
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
196
|
+
*/
|
|
197
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailPathIdRegExp: RegExp;
|
|
198
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailParams: zod.ZodObject<{
|
|
199
|
+
id: zod.ZodString;
|
|
200
|
+
}, zod.core.$strict>;
|
|
201
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponseFlowIdRegExp: RegExp;
|
|
202
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponseIdRegExp: RegExp;
|
|
203
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponseWorkSpaceIdRegExp: RegExp;
|
|
204
|
+
export declare const messageThreadsGetMessageThreadDetailIdDetailResponse: zod.ZodObject<{
|
|
205
|
+
createdAt: zod.ZodISODateTime;
|
|
206
|
+
createdByUserId: zod.ZodString;
|
|
207
|
+
finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
|
|
208
|
+
flowId: zod.ZodString;
|
|
209
|
+
id: zod.ZodString;
|
|
210
|
+
isFlowRunning: zod.ZodBoolean;
|
|
211
|
+
modifiedAt: zod.ZodISODateTime;
|
|
212
|
+
modifiedByUserId: zod.ZodString;
|
|
213
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
214
|
+
workSpaceId: zod.ZodString;
|
|
215
|
+
}, zod.core.$strip>;
|
|
190
216
|
/**
|
|
191
217
|
* @summary Mark a message thread as favorited or not in SmartSpace, using the thread's ID and a boolean value in the request.
|
|
192
218
|
*/
|
|
@@ -256,6 +282,17 @@ export declare const messageThreadsThreadMessagesIdMessagesResponse: zod.ZodObje
|
|
|
256
282
|
}, zod.core.$strip>>;
|
|
257
283
|
total: zod.ZodNumber;
|
|
258
284
|
}, zod.core.$strip>;
|
|
285
|
+
/**
|
|
286
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
287
|
+
snapshot (current messages with in-flight Redis state already
|
|
288
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
289
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
290
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
291
|
+
*/
|
|
292
|
+
export declare const messageThreadsStreamThreadMessagesIdMessagesStreamPathIdRegExp: RegExp;
|
|
293
|
+
export declare const messageThreadsStreamThreadMessagesIdMessagesStreamParams: zod.ZodObject<{
|
|
294
|
+
id: zod.ZodString;
|
|
295
|
+
}, zod.core.$strict>;
|
|
259
296
|
/**
|
|
260
297
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
261
298
|
*/
|
|
@@ -302,6 +339,10 @@ export declare const messageThreadsAddThreadUserParams: zod.ZodObject<{
|
|
|
302
339
|
/**
|
|
303
340
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
304
341
|
This method specifies details like workspace ID, thread ID, and message content in the request.
|
|
342
|
+
Blocks until the flow completes and returns the final Message with all outputs populated,
|
|
343
|
+
preserving the original synchronous request/response contract for SDK and integration clients.
|
|
344
|
+
Clients that prefer to return immediately and subscribe to the SSE stream should use
|
|
345
|
+
`POST /messages/start` instead.
|
|
305
346
|
*/
|
|
306
347
|
export declare const messagesThreadMessagesBodyMessageThreadIdRegExp: RegExp;
|
|
307
348
|
export declare const messagesThreadMessagesBodyWorkSpaceIdRegExp: RegExp;
|
|
@@ -315,6 +356,86 @@ export declare const messagesThreadMessagesBody: zod.ZodObject<{
|
|
|
315
356
|
variables: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
316
357
|
workSpaceId: zod.ZodString;
|
|
317
358
|
}, zod.core.$strict>;
|
|
359
|
+
export declare const messagesThreadMessagesResponseIdRegExp: RegExp;
|
|
360
|
+
export declare const messagesThreadMessagesResponseMessageThreadIdRegExp: RegExp;
|
|
361
|
+
export declare const messagesThreadMessagesResponseValuesItemIdRegExp: RegExp;
|
|
362
|
+
export declare const messagesThreadMessagesResponse: zod.ZodObject<{
|
|
363
|
+
createdAt: zod.ZodISODateTime;
|
|
364
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
365
|
+
createdByUserId: zod.ZodString;
|
|
366
|
+
errors: zod.ZodArray<zod.ZodObject<{
|
|
367
|
+
blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
368
|
+
code: zod.ZodNumber;
|
|
369
|
+
data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
370
|
+
message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
371
|
+
}, zod.core.$strip>>;
|
|
372
|
+
hasComments: zod.ZodBoolean;
|
|
373
|
+
id: zod.ZodString;
|
|
374
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
375
|
+
values: zod.ZodArray<zod.ZodObject<{
|
|
376
|
+
channels: zod.ZodRecord<zod.ZodString, zod.ZodNumber>;
|
|
377
|
+
createdAt: zod.ZodISODateTime;
|
|
378
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
379
|
+
createdByUserId: zod.ZodString;
|
|
380
|
+
id: zod.ZodString;
|
|
381
|
+
name: zod.ZodString;
|
|
382
|
+
type: zod.ZodEnum<{
|
|
383
|
+
Input: "Input";
|
|
384
|
+
Output: "Output";
|
|
385
|
+
}>;
|
|
386
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
387
|
+
}, zod.core.$strip>>;
|
|
388
|
+
}, zod.core.$strip>;
|
|
389
|
+
/**
|
|
390
|
+
* @summary Starts a flow run on a thread and returns immediately with the initial Message
|
|
391
|
+
before the flow has produced any outputs. The flow continues in a background task;
|
|
392
|
+
deltas stream via Redis to the SSE endpoint at
|
|
393
|
+
`GET /MessageThreads/{id}/messages/stream` and final outputs are persisted to
|
|
394
|
+
the database. Use this endpoint when the client subscribes to the SSE stream for
|
|
395
|
+
live updates instead of waiting for the flow to complete.
|
|
396
|
+
*/
|
|
397
|
+
export declare const messagesStartThreadMessageBodyMessageThreadIdRegExp: RegExp;
|
|
398
|
+
export declare const messagesStartThreadMessageBodyWorkSpaceIdRegExp: RegExp;
|
|
399
|
+
export declare const messagesStartThreadMessageBody: zod.ZodObject<{
|
|
400
|
+
inputs: zod.ZodArray<zod.ZodObject<{
|
|
401
|
+
channels: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodNumber>>>;
|
|
402
|
+
name: zod.ZodString;
|
|
403
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
404
|
+
}, zod.core.$strict>>;
|
|
405
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
406
|
+
variables: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
407
|
+
workSpaceId: zod.ZodString;
|
|
408
|
+
}, zod.core.$strict>;
|
|
409
|
+
export declare const messagesStartThreadMessageResponseIdRegExp: RegExp;
|
|
410
|
+
export declare const messagesStartThreadMessageResponseMessageThreadIdRegExp: RegExp;
|
|
411
|
+
export declare const messagesStartThreadMessageResponseValuesItemIdRegExp: RegExp;
|
|
412
|
+
export declare const messagesStartThreadMessageResponse: zod.ZodObject<{
|
|
413
|
+
createdAt: zod.ZodISODateTime;
|
|
414
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
415
|
+
createdByUserId: zod.ZodString;
|
|
416
|
+
errors: zod.ZodArray<zod.ZodObject<{
|
|
417
|
+
blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
418
|
+
code: zod.ZodNumber;
|
|
419
|
+
data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
420
|
+
message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
421
|
+
}, zod.core.$strip>>;
|
|
422
|
+
hasComments: zod.ZodBoolean;
|
|
423
|
+
id: zod.ZodString;
|
|
424
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
425
|
+
values: zod.ZodArray<zod.ZodObject<{
|
|
426
|
+
channels: zod.ZodRecord<zod.ZodString, zod.ZodNumber>;
|
|
427
|
+
createdAt: zod.ZodISODateTime;
|
|
428
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
429
|
+
createdByUserId: zod.ZodString;
|
|
430
|
+
id: zod.ZodString;
|
|
431
|
+
name: zod.ZodString;
|
|
432
|
+
type: zod.ZodEnum<{
|
|
433
|
+
Input: "Input";
|
|
434
|
+
Output: "Output";
|
|
435
|
+
}>;
|
|
436
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
437
|
+
}, zod.core.$strip>>;
|
|
438
|
+
}, zod.core.$strip>;
|
|
318
439
|
/**
|
|
319
440
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
320
441
|
*/
|
|
@@ -372,6 +493,13 @@ export declare const messagesPostCommentResponse: zod.ZodObject<{
|
|
|
372
493
|
id: zod.ZodString;
|
|
373
494
|
mentionedUsers: zod.ZodArray<zod.ZodString>;
|
|
374
495
|
}, zod.core.$strip>;
|
|
496
|
+
/**
|
|
497
|
+
* @summary Append a new input value to an in-flight message and stream successive
|
|
498
|
+
snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
|
|
499
|
+
with the latest cumulative state — the SDK should treat the response as
|
|
500
|
+
a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
|
|
501
|
+
frame being the authoritative completed message.
|
|
502
|
+
*/
|
|
375
503
|
export declare const messagesAddValueToMessagePathIdRegExp: RegExp;
|
|
376
504
|
export declare const messagesAddValueToMessageParams: zod.ZodObject<{
|
|
377
505
|
id: zod.ZodString;
|
|
@@ -1251,6 +1379,31 @@ export declare const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessaget
|
|
|
1251
1379
|
totalMessages: zod.ZodNumber;
|
|
1252
1380
|
workSpaceId: zod.ZodString;
|
|
1253
1381
|
}, zod.core.$strip>;
|
|
1382
|
+
/**
|
|
1383
|
+
* @summary Pilot endpoint for the DTO/Mapperly pattern. Returns the full
|
|
1384
|
+
MessageThreadDto for the given id. 404 via ProblemDetails when
|
|
1385
|
+
the thread does not exist. See .claude/plans/dto-mapper-layer-overhaul.md.
|
|
1386
|
+
*/
|
|
1387
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailPathIdRegExp: RegExp;
|
|
1388
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailParams: zod.ZodObject<{
|
|
1389
|
+
id: zod.ZodString;
|
|
1390
|
+
workspaceId: zod.ZodString;
|
|
1391
|
+
}, zod.core.$strict>;
|
|
1392
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponseFlowIdRegExp: RegExp;
|
|
1393
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponseIdRegExp: RegExp;
|
|
1394
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponseWorkSpaceIdRegExp: RegExp;
|
|
1395
|
+
export declare const messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResponse: zod.ZodObject<{
|
|
1396
|
+
createdAt: zod.ZodISODateTime;
|
|
1397
|
+
createdByUserId: zod.ZodString;
|
|
1398
|
+
finishedAt: zod.ZodOptional<zod.ZodNullable<zod.ZodISODateTime>>;
|
|
1399
|
+
flowId: zod.ZodString;
|
|
1400
|
+
id: zod.ZodString;
|
|
1401
|
+
isFlowRunning: zod.ZodBoolean;
|
|
1402
|
+
modifiedAt: zod.ZodISODateTime;
|
|
1403
|
+
modifiedByUserId: zod.ZodString;
|
|
1404
|
+
name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1405
|
+
workSpaceId: zod.ZodString;
|
|
1406
|
+
}, zod.core.$strip>;
|
|
1254
1407
|
/**
|
|
1255
1408
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
1256
1409
|
*/
|
|
@@ -1314,3 +1467,15 @@ export declare const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethr
|
|
|
1314
1467
|
}, zod.core.$strip>>;
|
|
1315
1468
|
total: zod.ZodNumber;
|
|
1316
1469
|
}, zod.core.$strip>;
|
|
1470
|
+
/**
|
|
1471
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
1472
|
+
snapshot (current messages with in-flight Redis state already
|
|
1473
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
1474
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
1475
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
1476
|
+
*/
|
|
1477
|
+
export declare const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamPathIdRegExp: RegExp;
|
|
1478
|
+
export declare const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamParams: zod.ZodObject<{
|
|
1479
|
+
id: zod.ZodString;
|
|
1480
|
+
workspaceId: zod.ZodString;
|
|
1481
|
+
}, zod.core.$strict>;
|