@smartspace/api-client 0.1.0-dev.300745c → 0.1.0-dev.36b671e
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 +10 -4
- package/dist/generated/chat/api.js +48 -1
- 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 +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/models/workSpace.d.ts +0 -2
- package/dist/generated/chat/zod.d.ts +157 -43
- package/dist/generated/chat/zod.js +122 -14
- package/dist/generated/config/api.d.ts +91 -13
- package/dist/generated/config/api.js +282 -15
- 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 -4
- package/dist/generated/config/models/index.js +10 -4
- 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/workSpace.d.ts +0 -2
- 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 +584 -82
- package/dist/generated/config/zod.js +432 -59
- 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/workSpacesUpdatePromptResponseFlagParams.d.ts +0 -12
- /package/dist/generated/config/models/{sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.js → fileUriResponse.js} +0 -0
- /package/dist/generated/config/models/{workSpacesUpdatePromptResponseFlagParams.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,12 +4,12 @@
|
|
|
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, 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, {}>>;
|
|
@@ -19,15 +19,17 @@ export declare const getSmartSpaceChatAPI: () => {
|
|
|
19
19
|
messageThreadsSetFavoritedChat: (id: string, boolean: boolean) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
20
20
|
messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages: (id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
21
21
|
messageThreadsThreadMessagesIdMessages: (id: string, params?: MessageThreadsThreadMessagesIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
22
|
+
messageThreadsStreamThreadMessagesIdMessagesStream: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
22
23
|
messageThreadsThreadIdName: (id: string, messageThreadsThreadIdNameBody: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
23
24
|
messageThreadsGetThreadUsers: (threadId: string) => Promise<import("axios").AxiosResponse<AppUserAppUser[], any, {}>>;
|
|
24
25
|
messageThreadsRemoveThreadUser: (threadId: string, userId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25
26
|
messageThreadsAddThreadUser: (threadId: string, userId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
26
|
-
messagesThreadMessages: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<
|
|
27
|
+
messagesThreadMessages: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
|
|
28
|
+
messagesStartThreadMessage: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
|
|
27
29
|
messagesMessage: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
28
30
|
messagesGetComments: (id: string, params?: MessagesGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
|
|
29
31
|
messagesPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
|
|
30
|
-
messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<
|
|
32
|
+
messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
|
|
31
33
|
modelsGetModels: (params?: ModelsGetModelsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionModelModelSummary, any, {}>>;
|
|
32
34
|
modelsGetModel: (id: string) => Promise<import("axios").AxiosResponse<ModelModel, any, {}>>;
|
|
33
35
|
notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationPagedNotifications, any, {}>>;
|
|
@@ -44,6 +46,7 @@ export declare const getSmartSpaceChatAPI: () => {
|
|
|
44
46
|
messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
45
47
|
messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
46
48
|
messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages: (workspaceId: string, id: string, params?: MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
49
|
+
messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
47
50
|
};
|
|
48
51
|
export type FilesUploadFilesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesUploadFiles']>>>;
|
|
49
52
|
export type FilesGetFileInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesGetFileInfo']>>>;
|
|
@@ -58,11 +61,13 @@ export type MessageThreadsPostCommentResult = NonNullable<Awaited<ReturnType<Ret
|
|
|
58
61
|
export type MessageThreadsSetFavoritedChatResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsSetFavoritedChat']>>>;
|
|
59
62
|
export type MessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages']>>>;
|
|
60
63
|
export type MessageThreadsThreadMessagesIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesIdMessages']>>>;
|
|
64
|
+
export type MessageThreadsStreamThreadMessagesIdMessagesStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsStreamThreadMessagesIdMessagesStream']>>>;
|
|
61
65
|
export type MessageThreadsThreadIdNameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadIdName']>>>;
|
|
62
66
|
export type MessageThreadsGetThreadUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetThreadUsers']>>>;
|
|
63
67
|
export type MessageThreadsRemoveThreadUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsRemoveThreadUser']>>>;
|
|
64
68
|
export type MessageThreadsAddThreadUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsAddThreadUser']>>>;
|
|
65
69
|
export type MessagesThreadMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesThreadMessages']>>>;
|
|
70
|
+
export type MessagesStartThreadMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesStartThreadMessage']>>>;
|
|
66
71
|
export type MessagesMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesMessage']>>>;
|
|
67
72
|
export type MessagesGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesGetComments']>>>;
|
|
68
73
|
export type MessagesPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesPostComment']>>>;
|
|
@@ -83,3 +88,4 @@ export type MessageThreadsCreateMessageThreadResult = NonNullable<Awaited<Return
|
|
|
83
88
|
export type MessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId']>>>;
|
|
84
89
|
export type MessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages']>>>;
|
|
85
90
|
export type MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages']>>>;
|
|
91
|
+
export type MessageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream']>>>;
|
|
@@ -120,6 +120,17 @@ const getSmartSpaceChatAPI = () => {
|
|
|
120
120
|
params
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
125
|
+
snapshot (current messages with in-flight Redis state already
|
|
126
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
127
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
128
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
129
|
+
*/
|
|
130
|
+
const messageThreadsStreamThreadMessagesIdMessagesStream = (id) => {
|
|
131
|
+
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messages/stream`, method: 'GET'
|
|
132
|
+
});
|
|
133
|
+
};
|
|
123
134
|
/**
|
|
124
135
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
125
136
|
*/
|
|
@@ -153,6 +164,10 @@ const getSmartSpaceChatAPI = () => {
|
|
|
153
164
|
/**
|
|
154
165
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
155
166
|
This method specifies details like workspace ID, thread ID, and message content in the request.
|
|
167
|
+
Blocks until the flow completes and returns the final Message with all outputs populated,
|
|
168
|
+
preserving the original synchronous request/response contract for SDK and integration clients.
|
|
169
|
+
Clients that prefer to return immediately and subscribe to the SSE stream should use
|
|
170
|
+
`POST /messages/start` instead.
|
|
156
171
|
*/
|
|
157
172
|
const messagesThreadMessages = (messageMessageRequest) => {
|
|
158
173
|
return (0, instance_1.customInstance)({ url: `/Messages`, method: 'POST',
|
|
@@ -160,6 +175,20 @@ const getSmartSpaceChatAPI = () => {
|
|
|
160
175
|
data: messageMessageRequest
|
|
161
176
|
});
|
|
162
177
|
};
|
|
178
|
+
/**
|
|
179
|
+
* @summary Starts a flow run on a thread and returns immediately with the initial Message
|
|
180
|
+
before the flow has produced any outputs. The flow continues in a background task;
|
|
181
|
+
deltas stream via Redis to the SSE endpoint at
|
|
182
|
+
`GET /MessageThreads/{id}/messages/stream` and final outputs are persisted to
|
|
183
|
+
the database. Use this endpoint when the client subscribes to the SSE stream for
|
|
184
|
+
live updates instead of waiting for the flow to complete.
|
|
185
|
+
*/
|
|
186
|
+
const messagesStartThreadMessage = (messageMessageRequest) => {
|
|
187
|
+
return (0, instance_1.customInstance)({ url: `/Messages/start`, method: 'POST',
|
|
188
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
189
|
+
data: messageMessageRequest
|
|
190
|
+
});
|
|
191
|
+
};
|
|
163
192
|
/**
|
|
164
193
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
165
194
|
*/
|
|
@@ -184,6 +213,13 @@ const getSmartSpaceChatAPI = () => {
|
|
|
184
213
|
data: createComment
|
|
185
214
|
});
|
|
186
215
|
};
|
|
216
|
+
/**
|
|
217
|
+
* @summary Append a new input value to an in-flight message and stream successive
|
|
218
|
+
snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
|
|
219
|
+
with the latest cumulative state — the SDK should treat the response as
|
|
220
|
+
a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
|
|
221
|
+
frame being the authoritative completed message.
|
|
222
|
+
*/
|
|
187
223
|
const messagesAddValueToMessage = (id, messageCreateMessageInput) => {
|
|
188
224
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/values`, method: 'POST',
|
|
189
225
|
headers: { 'Content-Type': 'application/*+json', },
|
|
@@ -307,6 +343,17 @@ const getSmartSpaceChatAPI = () => {
|
|
|
307
343
|
params
|
|
308
344
|
});
|
|
309
345
|
};
|
|
310
|
-
|
|
346
|
+
/**
|
|
347
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
348
|
+
snapshot (current messages with in-flight Redis state already
|
|
349
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
350
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
351
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
352
|
+
*/
|
|
353
|
+
const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream = (workspaceId, id) => {
|
|
354
|
+
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
|
|
355
|
+
});
|
|
356
|
+
};
|
|
357
|
+
return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, 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, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages, messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream };
|
|
311
358
|
};
|
|
312
359
|
exports.getSmartSpaceChatAPI = getSmartSpaceChatAPI;
|
|
@@ -32,6 +32,7 @@ export * from './enumsNotificationType';
|
|
|
32
32
|
export * from './enumsVirtualMachineServerType';
|
|
33
33
|
export * from './enumsWorkSpaceOrderBy';
|
|
34
34
|
export * from './file';
|
|
35
|
+
export * from './fileUriResponse';
|
|
35
36
|
export * from './filesDownloadFileParams';
|
|
36
37
|
export * from './filesGetFileInfoParams';
|
|
37
38
|
export * from './filesGetUriParams';
|
|
@@ -48,6 +48,7 @@ __exportStar(require("./enumsNotificationType"), exports);
|
|
|
48
48
|
__exportStar(require("./enumsVirtualMachineServerType"), exports);
|
|
49
49
|
__exportStar(require("./enumsWorkSpaceOrderBy"), exports);
|
|
50
50
|
__exportStar(require("./file"), exports);
|
|
51
|
+
__exportStar(require("./fileUriResponse"), exports);
|
|
51
52
|
__exportStar(require("./filesDownloadFileParams"), exports);
|
|
52
53
|
__exportStar(require("./filesGetFileInfoParams"), exports);
|
|
53
54
|
__exportStar(require("./filesGetUriParams"), 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
|
}
|
|
@@ -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;
|
|
@@ -256,6 +258,17 @@ export declare const messageThreadsThreadMessagesIdMessagesResponse: zod.ZodObje
|
|
|
256
258
|
}, zod.core.$strip>>;
|
|
257
259
|
total: zod.ZodNumber;
|
|
258
260
|
}, zod.core.$strip>;
|
|
261
|
+
/**
|
|
262
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
263
|
+
snapshot (current messages with in-flight Redis state already
|
|
264
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
265
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
266
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
267
|
+
*/
|
|
268
|
+
export declare const messageThreadsStreamThreadMessagesIdMessagesStreamPathIdRegExp: RegExp;
|
|
269
|
+
export declare const messageThreadsStreamThreadMessagesIdMessagesStreamParams: zod.ZodObject<{
|
|
270
|
+
id: zod.ZodString;
|
|
271
|
+
}, zod.core.$strict>;
|
|
259
272
|
/**
|
|
260
273
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
261
274
|
*/
|
|
@@ -302,6 +315,10 @@ export declare const messageThreadsAddThreadUserParams: zod.ZodObject<{
|
|
|
302
315
|
/**
|
|
303
316
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
304
317
|
This method specifies details like workspace ID, thread ID, and message content in the request.
|
|
318
|
+
Blocks until the flow completes and returns the final Message with all outputs populated,
|
|
319
|
+
preserving the original synchronous request/response contract for SDK and integration clients.
|
|
320
|
+
Clients that prefer to return immediately and subscribe to the SSE stream should use
|
|
321
|
+
`POST /messages/start` instead.
|
|
305
322
|
*/
|
|
306
323
|
export declare const messagesThreadMessagesBodyMessageThreadIdRegExp: RegExp;
|
|
307
324
|
export declare const messagesThreadMessagesBodyWorkSpaceIdRegExp: RegExp;
|
|
@@ -315,6 +332,86 @@ export declare const messagesThreadMessagesBody: zod.ZodObject<{
|
|
|
315
332
|
variables: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
316
333
|
workSpaceId: zod.ZodString;
|
|
317
334
|
}, zod.core.$strict>;
|
|
335
|
+
export declare const messagesThreadMessagesResponseIdRegExp: RegExp;
|
|
336
|
+
export declare const messagesThreadMessagesResponseMessageThreadIdRegExp: RegExp;
|
|
337
|
+
export declare const messagesThreadMessagesResponseValuesItemIdRegExp: RegExp;
|
|
338
|
+
export declare const messagesThreadMessagesResponse: zod.ZodObject<{
|
|
339
|
+
createdAt: zod.ZodISODateTime;
|
|
340
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
341
|
+
createdByUserId: zod.ZodString;
|
|
342
|
+
errors: zod.ZodArray<zod.ZodObject<{
|
|
343
|
+
blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
344
|
+
code: zod.ZodNumber;
|
|
345
|
+
data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
346
|
+
message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
347
|
+
}, zod.core.$strip>>;
|
|
348
|
+
hasComments: zod.ZodBoolean;
|
|
349
|
+
id: zod.ZodString;
|
|
350
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
351
|
+
values: zod.ZodArray<zod.ZodObject<{
|
|
352
|
+
channels: zod.ZodRecord<zod.ZodString, zod.ZodNumber>;
|
|
353
|
+
createdAt: zod.ZodISODateTime;
|
|
354
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
355
|
+
createdByUserId: zod.ZodString;
|
|
356
|
+
id: zod.ZodString;
|
|
357
|
+
name: zod.ZodString;
|
|
358
|
+
type: zod.ZodEnum<{
|
|
359
|
+
Input: "Input";
|
|
360
|
+
Output: "Output";
|
|
361
|
+
}>;
|
|
362
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
363
|
+
}, zod.core.$strip>>;
|
|
364
|
+
}, zod.core.$strip>;
|
|
365
|
+
/**
|
|
366
|
+
* @summary Starts a flow run on a thread and returns immediately with the initial Message
|
|
367
|
+
before the flow has produced any outputs. The flow continues in a background task;
|
|
368
|
+
deltas stream via Redis to the SSE endpoint at
|
|
369
|
+
`GET /MessageThreads/{id}/messages/stream` and final outputs are persisted to
|
|
370
|
+
the database. Use this endpoint when the client subscribes to the SSE stream for
|
|
371
|
+
live updates instead of waiting for the flow to complete.
|
|
372
|
+
*/
|
|
373
|
+
export declare const messagesStartThreadMessageBodyMessageThreadIdRegExp: RegExp;
|
|
374
|
+
export declare const messagesStartThreadMessageBodyWorkSpaceIdRegExp: RegExp;
|
|
375
|
+
export declare const messagesStartThreadMessageBody: zod.ZodObject<{
|
|
376
|
+
inputs: zod.ZodArray<zod.ZodObject<{
|
|
377
|
+
channels: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodNumber>>>;
|
|
378
|
+
name: zod.ZodString;
|
|
379
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
380
|
+
}, zod.core.$strict>>;
|
|
381
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
382
|
+
variables: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodAny>>>;
|
|
383
|
+
workSpaceId: zod.ZodString;
|
|
384
|
+
}, zod.core.$strict>;
|
|
385
|
+
export declare const messagesStartThreadMessageResponseIdRegExp: RegExp;
|
|
386
|
+
export declare const messagesStartThreadMessageResponseMessageThreadIdRegExp: RegExp;
|
|
387
|
+
export declare const messagesStartThreadMessageResponseValuesItemIdRegExp: RegExp;
|
|
388
|
+
export declare const messagesStartThreadMessageResponse: zod.ZodObject<{
|
|
389
|
+
createdAt: zod.ZodISODateTime;
|
|
390
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
391
|
+
createdByUserId: zod.ZodString;
|
|
392
|
+
errors: zod.ZodArray<zod.ZodObject<{
|
|
393
|
+
blockId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
394
|
+
code: zod.ZodNumber;
|
|
395
|
+
data: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
396
|
+
message: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
397
|
+
}, zod.core.$strip>>;
|
|
398
|
+
hasComments: zod.ZodBoolean;
|
|
399
|
+
id: zod.ZodString;
|
|
400
|
+
messageThreadId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
401
|
+
values: zod.ZodArray<zod.ZodObject<{
|
|
402
|
+
channels: zod.ZodRecord<zod.ZodString, zod.ZodNumber>;
|
|
403
|
+
createdAt: zod.ZodISODateTime;
|
|
404
|
+
createdBy: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
405
|
+
createdByUserId: zod.ZodString;
|
|
406
|
+
id: zod.ZodString;
|
|
407
|
+
name: zod.ZodString;
|
|
408
|
+
type: zod.ZodEnum<{
|
|
409
|
+
Input: "Input";
|
|
410
|
+
Output: "Output";
|
|
411
|
+
}>;
|
|
412
|
+
value: zod.ZodOptional<zod.ZodNullable<zod.ZodAny>>;
|
|
413
|
+
}, zod.core.$strip>>;
|
|
414
|
+
}, zod.core.$strip>;
|
|
318
415
|
/**
|
|
319
416
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
320
417
|
*/
|
|
@@ -372,6 +469,13 @@ export declare const messagesPostCommentResponse: zod.ZodObject<{
|
|
|
372
469
|
id: zod.ZodString;
|
|
373
470
|
mentionedUsers: zod.ZodArray<zod.ZodString>;
|
|
374
471
|
}, zod.core.$strip>;
|
|
472
|
+
/**
|
|
473
|
+
* @summary Append a new input value to an in-flight message and stream successive
|
|
474
|
+
snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
|
|
475
|
+
with the latest cumulative state — the SDK should treat the response as
|
|
476
|
+
a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
|
|
477
|
+
frame being the authoritative completed message.
|
|
478
|
+
*/
|
|
375
479
|
export declare const messagesAddValueToMessagePathIdRegExp: RegExp;
|
|
376
480
|
export declare const messagesAddValueToMessageParams: zod.ZodObject<{
|
|
377
481
|
id: zod.ZodString;
|
|
@@ -416,16 +520,7 @@ export declare const modelsGetModelsResponse: zod.ZodObject<{
|
|
|
416
520
|
VertexAi: "VertexAi";
|
|
417
521
|
AzureFoundry: "AzureFoundry";
|
|
418
522
|
}>>;
|
|
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<{
|
|
523
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
429
524
|
OpenAi: "OpenAi";
|
|
430
525
|
HuggingFace: "HuggingFace";
|
|
431
526
|
Cohere: "Cohere";
|
|
@@ -440,6 +535,15 @@ export declare const modelsGetModelsResponse: zod.ZodObject<{
|
|
|
440
535
|
Qwen: "Qwen";
|
|
441
536
|
Other: "Other";
|
|
442
537
|
}>>;
|
|
538
|
+
name: zod.ZodString;
|
|
539
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
540
|
+
name: zod.ZodString;
|
|
541
|
+
type: zod.ZodEnum<{
|
|
542
|
+
Boolean: "Boolean";
|
|
543
|
+
Number: "Number";
|
|
544
|
+
String: "String";
|
|
545
|
+
}>;
|
|
546
|
+
}, zod.core.$strip>>;
|
|
443
547
|
virtualMachineUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
444
548
|
}, zod.core.$strip>>;
|
|
445
549
|
total: zod.ZodNumber;
|
|
@@ -512,16 +616,7 @@ export declare const modelsGetModelResponse: zod.ZodObject<{
|
|
|
512
616
|
VertexAi: "VertexAi";
|
|
513
617
|
AzureFoundry: "AzureFoundry";
|
|
514
618
|
}>>;
|
|
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<{
|
|
619
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
525
620
|
OpenAi: "OpenAi";
|
|
526
621
|
HuggingFace: "HuggingFace";
|
|
527
622
|
Cohere: "Cohere";
|
|
@@ -536,6 +631,15 @@ export declare const modelsGetModelResponse: zod.ZodObject<{
|
|
|
536
631
|
Qwen: "Qwen";
|
|
537
632
|
Other: "Other";
|
|
538
633
|
}>>;
|
|
634
|
+
name: zod.ZodString;
|
|
635
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
636
|
+
name: zod.ZodString;
|
|
637
|
+
type: zod.ZodEnum<{
|
|
638
|
+
Boolean: "Boolean";
|
|
639
|
+
Number: "Number";
|
|
640
|
+
String: "String";
|
|
641
|
+
}>;
|
|
642
|
+
}, zod.core.$strip>>;
|
|
539
643
|
}, zod.core.$strip>;
|
|
540
644
|
/**
|
|
541
645
|
* @summary Retrieve notifications for user login.
|
|
@@ -729,7 +833,6 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
|
|
|
729
833
|
inputs: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
730
834
|
schema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
731
835
|
}, zod.core.$strip>>;
|
|
732
|
-
isPromptAndResponseLoggingEnabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
733
836
|
modelConfigurations: zod.ZodArray<zod.ZodObject<{
|
|
734
837
|
frequencyPenalty: zod.ZodNumber;
|
|
735
838
|
model: zod.ZodObject<{
|
|
@@ -789,16 +892,7 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
|
|
|
789
892
|
VertexAi: "VertexAi";
|
|
790
893
|
AzureFoundry: "AzureFoundry";
|
|
791
894
|
}>>;
|
|
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<{
|
|
895
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
802
896
|
OpenAi: "OpenAi";
|
|
803
897
|
HuggingFace: "HuggingFace";
|
|
804
898
|
Cohere: "Cohere";
|
|
@@ -813,6 +907,15 @@ export declare const workSpacesGetGetResponse: zod.ZodObject<{
|
|
|
813
907
|
Qwen: "Qwen";
|
|
814
908
|
Other: "Other";
|
|
815
909
|
}>>;
|
|
910
|
+
name: zod.ZodString;
|
|
911
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
912
|
+
name: zod.ZodString;
|
|
913
|
+
type: zod.ZodEnum<{
|
|
914
|
+
Boolean: "Boolean";
|
|
915
|
+
Number: "Number";
|
|
916
|
+
String: "String";
|
|
917
|
+
}>;
|
|
918
|
+
}, zod.core.$strip>>;
|
|
816
919
|
}, zod.core.$strip>;
|
|
817
920
|
prePrompt: zod.ZodString;
|
|
818
921
|
presencePenalty: zod.ZodNumber;
|
|
@@ -980,7 +1083,6 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
|
|
|
980
1083
|
inputs: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
|
981
1084
|
schema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
982
1085
|
}, zod.core.$strip>>;
|
|
983
|
-
isPromptAndResponseLoggingEnabled: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
984
1086
|
modelConfigurations: zod.ZodArray<zod.ZodObject<{
|
|
985
1087
|
frequencyPenalty: zod.ZodNumber;
|
|
986
1088
|
model: zod.ZodObject<{
|
|
@@ -1040,16 +1142,7 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
|
|
|
1040
1142
|
VertexAi: "VertexAi";
|
|
1041
1143
|
AzureFoundry: "AzureFoundry";
|
|
1042
1144
|
}>>;
|
|
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<{
|
|
1145
|
+
modelPublisher: zod.ZodOptional<zod.ZodEnum<{
|
|
1053
1146
|
OpenAi: "OpenAi";
|
|
1054
1147
|
HuggingFace: "HuggingFace";
|
|
1055
1148
|
Cohere: "Cohere";
|
|
@@ -1064,6 +1157,15 @@ export declare const workSpacesGetIdResponse: zod.ZodObject<{
|
|
|
1064
1157
|
Qwen: "Qwen";
|
|
1065
1158
|
Other: "Other";
|
|
1066
1159
|
}>>;
|
|
1160
|
+
name: zod.ZodString;
|
|
1161
|
+
properties: zod.ZodArray<zod.ZodObject<{
|
|
1162
|
+
name: zod.ZodString;
|
|
1163
|
+
type: zod.ZodEnum<{
|
|
1164
|
+
Boolean: "Boolean";
|
|
1165
|
+
Number: "Number";
|
|
1166
|
+
String: "String";
|
|
1167
|
+
}>;
|
|
1168
|
+
}, zod.core.$strip>>;
|
|
1067
1169
|
}, zod.core.$strip>;
|
|
1068
1170
|
prePrompt: zod.ZodString;
|
|
1069
1171
|
presencePenalty: zod.ZodNumber;
|
|
@@ -1314,3 +1416,15 @@ export declare const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethr
|
|
|
1314
1416
|
}, zod.core.$strip>>;
|
|
1315
1417
|
total: zod.ZodNumber;
|
|
1316
1418
|
}, zod.core.$strip>;
|
|
1419
|
+
/**
|
|
1420
|
+
* @summary SSE stream of all messages on a thread. First frame is the thread
|
|
1421
|
+
snapshot (current messages with in-flight Redis state already
|
|
1422
|
+
overlaid by `GetMessagesByThreadIdAsync`); subsequent frames
|
|
1423
|
+
are per-message chunk updates as they arrive. Cumulative deltas
|
|
1424
|
+
mean reconnect is just "re-open" — no cursor handshake.
|
|
1425
|
+
*/
|
|
1426
|
+
export declare const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamPathIdRegExp: RegExp;
|
|
1427
|
+
export declare const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamParams: zod.ZodObject<{
|
|
1428
|
+
id: zod.ZodString;
|
|
1429
|
+
workspaceId: zod.ZodString;
|
|
1430
|
+
}, zod.core.$strict>;
|