@smartspace/api-client 0.1.0-main.9f42c88 → 0.1.0-main.f67ab69
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 +87 -71
- package/dist/generated/chat/api.js +132 -53
- package/dist/generated/chat/models/{getDataspacesDataSpaceIdDocumentsItemSasParams.d.ts → documentsGetDocumentSasParams.d.ts} +1 -1
- package/dist/generated/chat/models/dtosMessageThreadsMessageThreadDto.d.ts +23 -0
- package/dist/generated/chat/models/enumsModelPublisher.d.ts +22 -0
- package/dist/generated/chat/models/enumsModelPublisher.js +25 -0
- package/dist/generated/chat/models/{getFilesIdDownloadParams.d.ts → filesDownloadFileParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getFilesIdUriParams.d.ts → filesGetFileInfoParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getFilesIdParams.d.ts → filesGetUriParams.d.ts} +1 -1
- package/dist/generated/chat/models/{postFilesBody.d.ts → filesUploadFilesBody.d.ts} +1 -1
- package/dist/generated/chat/models/{getFlowRunsIdVariables200One.d.ts → flowRunsGetVariables200One.d.ts} +1 -1
- package/dist/generated/chat/models/{getFlowRunsIdVariables200Two.d.ts → flowRunsGetVariables200Three.d.ts} +1 -1
- package/dist/generated/chat/models/{getFlowRunsIdVariables200Three.d.ts → flowRunsGetVariables200Two.d.ts} +1 -1
- package/dist/generated/chat/models/index.d.ts +20 -18
- package/dist/generated/chat/models/index.js +20 -18
- package/dist/generated/chat/models/{getMessageThreadsIdCommentsParams.d.ts → messageThreadsGetCommentsParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getMessageThreadsIdMessagesParams.d.ts → messageThreadsThreadMessagesIdMessagesParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getWorkspacesWorkspaceIdMessagethreadsIdMessagesParams.d.ts → messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getMessagesIdCommentsParams.d.ts → messagesGetCommentsParams.d.ts} +1 -1
- package/dist/generated/chat/models/modelModel.d.ts +2 -0
- package/dist/generated/chat/models/modelModelSummary.d.ts +2 -0
- package/dist/generated/chat/models/{getModelsParams.d.ts → modelsGetModelsParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getNotificationParams.d.ts → notificationGetParams.d.ts} +1 -1
- package/dist/generated/chat/models/notificationNotification.d.ts +2 -0
- package/dist/generated/chat/models/{getWorkSpacesIdAccessParams.d.ts → workSpacesGetAccessParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getWorkSpacesParams.d.ts → workSpacesGetGetParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getWorkSpacesIdUsersParams.d.ts → workSpacesGetUsersParams.d.ts} +1 -1
- package/dist/generated/chat/models/{getWorkSpacesIdMessageThreadsParams.d.ts → workSpacesThreadParams.d.ts} +1 -1
- package/dist/generated/chat/models/workSpacesThreadParams.js +8 -0
- package/dist/generated/chat/zod.d.ts +470 -218
- package/dist/generated/chat/zod.js +545 -359
- package/dist/generated/config/api.d.ts +293 -221
- package/dist/generated/config/api.js +374 -134
- package/dist/generated/config/models/{getAccessParams.d.ts → accessGetAccessesParams.d.ts} +1 -1
- package/dist/generated/config/models/{getAccessGroupsParams.d.ts → accessGetGroupsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getAccessRolesRoleIdUsersParams.d.ts → accessGetUsersInRoleRolesRoleIdUsersParams.d.ts} +1 -1
- package/dist/generated/config/models/{getAccessUsersParams.d.ts → accessGetUsersInRoleUsersParams.d.ts} +1 -1
- package/dist/generated/config/models/{getAccessSearchUsersParams.d.ts → accessSearchGroupsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getAccessSearchServiceprincipalsParams.d.ts → accessSearchServicePrincipalsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getAccessSearchGroupsParams.d.ts → accessSearchUsersParams.d.ts} +1 -1
- package/dist/generated/config/models/{getActivityCsvWorkspaceParams.d.ts → activityExportLoggingsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getActivityWorkspaceParams.d.ts → activityGetLoggingParams.d.ts} +1 -1
- package/dist/generated/config/models/{postBlockSetsNameBody.d.ts → blockSetsAddBlockSetBody.d.ts} +1 -1
- package/dist/generated/config/models/{getBlocksParams.d.ts → blockSetsGetBlockSetsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getBlockSetsParams.d.ts → blocksGetBlocksParams.d.ts} +1 -1
- package/dist/generated/config/models/{postContainersContainerIdStartflowsParams.d.ts → containersPostParams.d.ts} +1 -1
- package/dist/generated/config/models/createModel.d.ts +2 -0
- package/dist/generated/config/models/{getDataSetsIdContainerItemsRunHistoryParams.d.ts → dataSetsGetContainerItemsRunHistoryParams.d.ts} +1 -1
- package/dist/generated/config/models/{getUsersParams.d.ts → dataSetsGetGetParams.d.ts} +3 -3
- package/dist/generated/config/models/{getDataSetsIdItemsParams.d.ts → dataSetsGetIdItemsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getDataSourcesDataSourceIdContainersParams.d.ts → dataSourcesContainersParams.d.ts} +1 -1
- package/dist/generated/config/models/{getDataSourcesParams.d.ts → dataSourcesGetParams.d.ts} +1 -1
- package/dist/generated/config/models/{getDataSpacesIdDatasetsParams.d.ts → dataSpacesGetDataSetsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getDataSpacesParams.d.ts → dataSpacesGetParams.d.ts} +1 -1
- package/dist/generated/config/models/{getDataspacesDataSpaceIdDocumentsItemSasParams.d.ts → documentsGetDocumentSasParams.d.ts} +1 -1
- package/dist/generated/config/models/enumsModelPublisher.d.ts +22 -0
- package/dist/generated/config/models/enumsModelPublisher.js +25 -0
- package/dist/generated/config/models/{getFilesIdDownloadParams.d.ts → filesDownloadFileParams.d.ts} +1 -1
- package/dist/generated/config/models/{getFilesIdUriParams.d.ts → filesGetFileInfoParams.d.ts} +1 -1
- package/dist/generated/config/models/{getFilesIdParams.d.ts → filesGetUriParams.d.ts} +1 -1
- package/dist/generated/config/models/{postFilesBody.d.ts → filesUploadFilesBody.d.ts} +1 -1
- 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/{getFlowRunsIdFunctionexecutionsParams.d.ts → flowRunsGetStepExecutionsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getFlowRunsIdVariables200Two.d.ts → flowRunsGetVariables200One.d.ts} +1 -1
- package/dist/generated/config/models/{getFlowRunsIdVariables200One.d.ts → flowRunsGetVariables200Three.d.ts} +1 -1
- package/dist/generated/config/models/{getFlowRunsIdVariables200Three.d.ts → flowRunsGetVariables200Two.d.ts} +1 -1
- package/dist/generated/config/models/{getFlowRunsSearchParams.d.ts → flowRunsSearchFlowRunsParams.d.ts} +1 -1
- package/dist/generated/config/models/index.d.ts +53 -47
- package/dist/generated/config/models/index.js +53 -47
- package/dist/generated/config/models/{getWorkspacesWorkSpaceIdFunctionexecutionsParams.d.ts → messageThreadsGetStepExecutionsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getWorkspacesWorkSpaceIdMessagethreadsMessageThreadIdFunctionexecutionsParams.d.ts → messageThreadsGetWorkspaceExecutionsParams.d.ts} +1 -1
- package/dist/generated/config/models/modelModel.d.ts +2 -0
- package/dist/generated/config/models/modelModelSummary.d.ts +2 -0
- package/dist/generated/config/models/modelProvidersGetProvidersParams.d.ts +16 -0
- package/dist/generated/config/models/modelsGetDefaultDockerFileParams.d.ts +10 -0
- package/dist/generated/config/models/{getModelsParams.d.ts → modelsGetModelsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getNotificationParams.d.ts → notificationGetParams.d.ts} +1 -1
- package/dist/generated/config/models/notificationNotification.d.ts +2 -0
- package/dist/generated/config/models/{getReportingTokensByDurationParams.d.ts → reportingGetRequestsParams.d.ts} +1 -1
- package/dist/generated/config/models/{getReportingRequestsByDurationParams.d.ts → reportingGetTokensParams.d.ts} +1 -1
- package/dist/generated/config/models/reportingGetTokensParams.js +2 -0
- package/dist/generated/config/models/{getWorkspacesWorkspaceIdSandboxMessagesParams.d.ts → sandBoxGetThreadMessagesParams.d.ts} +1 -1
- package/dist/generated/config/models/usersAdminPermissionParams.d.ts +9 -0
- package/dist/generated/config/models/{getUsersIdWorkspacesParams.d.ts → usersGetAccessWorkSpacesParams.d.ts} +1 -1
- package/dist/generated/config/models/{getDataSetsParams.d.ts → usersGetUsersParams.d.ts} +3 -3
- package/dist/generated/config/models/{deleteUsersRemoveAssignedWorkspaceParams.d.ts → usersRemoveUserFromAllWorkSpacesParams.d.ts} +1 -1
- package/dist/generated/config/models/{getUsersSearchParams.d.ts → usersSearchUsersParams.d.ts} +1 -1
- package/dist/generated/config/models/{getWorkSpaceTemplatesParams.d.ts → workSpaceTemplatesGetParams.d.ts} +1 -1
- package/dist/generated/config/models/{getWorkSpacesParams.d.ts → workSpacesGetGetParams.d.ts} +1 -1
- package/dist/generated/config/models/{getWorkSpacesIdMessageThreadsParams.d.ts → workSpacesGetThreadsParams.d.ts} +1 -1
- package/dist/generated/config/models/workSpacesGetThreadsParams.js +8 -0
- package/dist/generated/config/models/{getWorkSpacesWorkspaceIdFilesParams.d.ts → workSpacesGetWorkspaceFilesParams.d.ts} +1 -1
- package/dist/generated/config/models/workSpacesGetWorkspaceFilesParams.js +8 -0
- package/dist/generated/config/models/{putWorkSpacesWorkspaceIdPromptresponseParams.d.ts → workSpacesUpdatePromptResponseFlagParams.d.ts} +1 -1
- package/dist/generated/config/models/workSpacesUpdatePromptResponseFlagParams.js +8 -0
- package/dist/generated/config/models/{postWorkSpacesWorkspaceIdFilesBody.d.ts → workSpacesWorkspaceFilesBody.d.ts} +1 -1
- package/dist/generated/config/models/workSpacesWorkspaceFilesBody.js +8 -0
- package/dist/generated/config/zod.d.ts +1055 -576
- package/dist/generated/config/zod.js +1190 -902
- 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/chat/models/{getDataspacesDataSpaceIdDocumentsItemSasParams.js → documentsGetDocumentSasParams.js} +0 -0
- /package/dist/generated/chat/models/{getFilesIdDownloadParams.js → dtosMessageThreadsMessageThreadDto.js} +0 -0
- /package/dist/generated/chat/models/{getFilesIdParams.js → filesDownloadFileParams.js} +0 -0
- /package/dist/generated/chat/models/{getFilesIdUriParams.js → filesGetFileInfoParams.js} +0 -0
- /package/dist/generated/chat/models/{getFlowRunsIdVariables200One.js → filesGetUriParams.js} +0 -0
- /package/dist/generated/chat/models/{getFlowRunsIdVariables200Three.js → filesUploadFilesBody.js} +0 -0
- /package/dist/generated/chat/models/{getFlowRunsIdVariables200Two.js → flowRunsGetVariables200One.js} +0 -0
- /package/dist/generated/chat/models/{getMessageThreadsIdCommentsParams.js → flowRunsGetVariables200Three.js} +0 -0
- /package/dist/generated/chat/models/{getMessageThreadsIdMessagesParams.js → flowRunsGetVariables200Two.js} +0 -0
- /package/dist/generated/chat/models/{getMessagesIdCommentsParams.js → messageThreadsGetCommentsParams.js} +0 -0
- /package/dist/generated/chat/models/{getModelsParams.js → messageThreadsThreadMessagesIdMessagesParams.js} +0 -0
- /package/dist/generated/chat/models/{getNotificationParams.js → messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesIdAccessParams.js → messagesGetCommentsParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesIdMessageThreadsParams.js → modelsGetModelsParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesIdUsersParams.js → notificationGetParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkspacesWorkspaceIdMessagethreadsIdMessagesParams.js → workSpacesGetAccessParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesParams.js → workSpacesGetGetParams.js} +0 -0
- /package/dist/generated/chat/models/{postFilesBody.js → workSpacesGetUsersParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessParams.js → accessGetAccessesParams.js} +0 -0
- /package/dist/generated/config/models/{deleteUsersRemoveAssignedWorkspaceParams.js → accessGetGroupsParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessGroupsParams.js → accessGetUsersInRoleRolesRoleIdUsersParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessRolesRoleIdUsersParams.js → accessGetUsersInRoleUsersParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessSearchGroupsParams.js → accessSearchGroupsParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessSearchServiceprincipalsParams.js → accessSearchServicePrincipalsParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessSearchUsersParams.js → accessSearchUsersParams.js} +0 -0
- /package/dist/generated/config/models/{getActivityCsvWorkspaceParams.js → activityExportLoggingsParams.js} +0 -0
- /package/dist/generated/config/models/{getActivityWorkspaceParams.js → activityGetLoggingParams.js} +0 -0
- /package/dist/generated/config/models/{getAccessUsersParams.js → blockSetsAddBlockSetBody.js} +0 -0
- /package/dist/generated/config/models/{getBlockSetsParams.js → blockSetsGetBlockSetsParams.js} +0 -0
- /package/dist/generated/config/models/{getBlocksParams.js → blocksGetBlocksParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSetsIdContainerItemsRunHistoryParams.js → containersPostParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSetsIdItemsParams.js → dataSetsGetContainerItemsRunHistoryParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSetsParams.js → dataSetsGetGetParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSourcesDataSourceIdContainersParams.js → dataSetsGetIdItemsParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSourcesParams.js → dataSourcesContainersParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSpacesIdDatasetsParams.js → dataSourcesGetParams.js} +0 -0
- /package/dist/generated/config/models/{getDataSpacesParams.js → dataSpacesGetDataSetsParams.js} +0 -0
- /package/dist/generated/config/models/{getDataspacesDataSpaceIdDocumentsItemSasParams.js → dataSpacesGetParams.js} +0 -0
- /package/dist/generated/config/models/{getFilesIdDownloadParams.js → documentsGetDocumentSasParams.js} +0 -0
- /package/dist/generated/config/models/{getFilesIdParams.js → filesDownloadFileParams.js} +0 -0
- /package/dist/generated/config/models/{getFilesIdUriParams.js → filesGetFileInfoParams.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsIdFunctionexecutionsParams.js → filesGetUriParams.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsIdVariables200One.js → filesUploadFilesBody.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsIdVariables200Three.js → flowRunsAddFileIdFilesBody.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsIdVariables200Two.js → flowRunsCreateFlowRunParams.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsSearchParams.js → flowRunsGetStepExecutionsParams.js} +0 -0
- /package/dist/generated/config/models/{getModelsParams.js → flowRunsGetVariables200One.js} +0 -0
- /package/dist/generated/config/models/{getNotificationParams.js → flowRunsGetVariables200Three.js} +0 -0
- /package/dist/generated/config/models/{getUsersIdWorkspacesParams.js → flowRunsGetVariables200Two.js} +0 -0
- /package/dist/generated/config/models/{getUsersParams.js → flowRunsSearchFlowRunsParams.js} +0 -0
- /package/dist/generated/config/models/{getUsersSearchParams.js → messageThreadsGetStepExecutionsParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpaceTemplatesParams.js → messageThreadsGetWorkspaceExecutionsParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpacesIdMessageThreadsParams.js → modelProvidersGetProvidersParams.js} +0 -0
- /package/dist/generated/config/models/{getReportingRequestsByDurationParams.js → modelsGetDefaultDockerFileParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpacesParams.js → modelsGetModelsParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpacesWorkspaceIdFilesParams.js → notificationGetParams.js} +0 -0
- /package/dist/generated/config/models/{getReportingTokensByDurationParams.js → reportingGetRequestsParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkspacesWorkSpaceIdFunctionexecutionsParams.js → sandBoxGetThreadMessagesParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkspacesWorkSpaceIdMessagethreadsMessageThreadIdFunctionexecutionsParams.js → usersAdminPermissionParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkspacesWorkspaceIdSandboxMessagesParams.js → usersGetAccessWorkSpacesParams.js} +0 -0
- /package/dist/generated/config/models/{postBlockSetsNameBody.js → usersGetUsersParams.js} +0 -0
- /package/dist/generated/config/models/{postContainersContainerIdStartflowsParams.js → usersRemoveUserFromAllWorkSpacesParams.js} +0 -0
- /package/dist/generated/config/models/{postFilesBody.js → usersSearchUsersParams.js} +0 -0
- /package/dist/generated/config/models/{postWorkSpacesWorkspaceIdFilesBody.js → workSpaceTemplatesGetParams.js} +0 -0
- /package/dist/generated/config/models/{putWorkSpacesWorkspaceIdPromptresponseParams.js → workSpacesGetGetParams.js} +0 -0
|
@@ -4,76 +4,92 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type { AppUserAppUser, CommentComment, CreateComment, CreateMessageThread,
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
9
|
+
filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<File[], any, {}>>;
|
|
10
|
+
filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
11
|
+
filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
12
|
+
filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
13
|
+
flowRunsGetVariables: (id: string) => Promise<import("axios").AxiosResponse<FlowRunsGetVariables200One | FlowRunsGetVariables200Three | FlowRunsGetVariables200Two, any, {}>>;
|
|
14
|
+
flowRunsSetVariable: (id: string, variableName: string, flowRunsSetVariableBody: unknown) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
15
|
+
messageThreadsThreadId: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
16
|
+
messageThreadsGetMessageThreadId: (id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
17
|
+
messageThreadsGetComments: (id: string, params?: MessageThreadsGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
|
|
18
|
+
messageThreadsPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
|
|
19
|
+
messageThreadsGetMessageThreadDetailIdDetail: (id: string) => Promise<import("axios").AxiosResponse<DtosMessageThreadsMessageThreadDto, any, {}>>;
|
|
20
|
+
messageThreadsSetFavoritedChat: (id: string, boolean: boolean) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
21
|
+
messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages: (id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
22
|
+
messageThreadsThreadMessagesIdMessages: (id: string, params?: MessageThreadsThreadMessagesIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
23
|
+
messageThreadsStreamThreadMessagesIdMessagesStream: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24
|
+
messageThreadsThreadIdName: (id: string, messageThreadsThreadIdNameBody: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25
|
+
messageThreadsGetThreadUsers: (threadId: string) => Promise<import("axios").AxiosResponse<AppUserAppUser[], any, {}>>;
|
|
26
|
+
messageThreadsRemoveThreadUser: (threadId: string, userId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
27
|
+
messageThreadsAddThreadUser: (threadId: string, userId: string) => 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, {}>>;
|
|
30
|
+
messagesMessage: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31
|
+
messagesGetComments: (id: string, params?: MessagesGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
|
|
32
|
+
messagesPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
|
|
33
|
+
messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
34
|
+
modelsGetModels: (params?: ModelsGetModelsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionModelModelSummary, any, {}>>;
|
|
35
|
+
modelsGetModel: (id: string) => Promise<import("axios").AxiosResponse<ModelModel, any, {}>>;
|
|
36
|
+
notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationPagedNotifications, any, {}>>;
|
|
37
|
+
notificationPutUpdate: (notificationPutUpdateBody: string[]) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38
|
+
notificationPutUpdateall: () => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
39
|
+
usersGetUserPhoto: (id: string) => Promise<import("axios").AxiosResponse<Blob, any, {}>>;
|
|
40
|
+
workSpacesGetGet: (params?: WorkSpacesGetGetParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionWorkSpace, any, {}>>;
|
|
41
|
+
workSpacesGetId: (id: string) => Promise<import("axios").AxiosResponse<WorkSpace, any, {}>>;
|
|
42
|
+
workSpacesGetAccess: (id: string, params?: WorkSpacesGetAccessParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAccess, any, {}>>;
|
|
43
|
+
workSpacesThread: (id: string, params?: WorkSpacesThreadParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageThreadMessageThreadSummary, any, {}>>;
|
|
44
|
+
workSpacesGetUsers: (id: string, params?: WorkSpacesGetUsersParams) => Promise<import("axios").AxiosResponse<AppUserAppUser[], any, {}>>;
|
|
45
|
+
documentsGetDocumentSas: (dataSpaceId: string, params?: DocumentsGetDocumentSasParams) => Promise<import("axios").AxiosResponse<IntegrationsAzureStorageSasToken, any, {}>>;
|
|
46
|
+
messageThreadsCreateMessageThread: (workspaceId: string, createMessageThread: CreateMessageThread) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageThreadMessageThreadSummary, any, {}>>;
|
|
47
|
+
messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
48
|
+
messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<DtosMessageThreadsMessageThreadDto, any, {}>>;
|
|
49
|
+
messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
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, {}>>;
|
|
44
52
|
};
|
|
45
|
-
export type
|
|
46
|
-
export type
|
|
47
|
-
export type
|
|
48
|
-
export type
|
|
49
|
-
export type
|
|
50
|
-
export type
|
|
51
|
-
export type
|
|
52
|
-
export type
|
|
53
|
-
export type
|
|
54
|
-
export type
|
|
55
|
-
export type
|
|
56
|
-
export type
|
|
57
|
-
export type
|
|
58
|
-
export type
|
|
59
|
-
export type
|
|
60
|
-
export type
|
|
61
|
-
export type
|
|
62
|
-
export type
|
|
63
|
-
export type
|
|
64
|
-
export type
|
|
65
|
-
export type
|
|
66
|
-
export type
|
|
67
|
-
export type
|
|
68
|
-
export type
|
|
69
|
-
export type
|
|
70
|
-
export type
|
|
71
|
-
export type
|
|
72
|
-
export type
|
|
73
|
-
export type
|
|
74
|
-
export type
|
|
75
|
-
export type
|
|
76
|
-
export type
|
|
77
|
-
export type
|
|
78
|
-
export type
|
|
79
|
-
export type
|
|
53
|
+
export type FilesUploadFilesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesUploadFiles']>>>;
|
|
54
|
+
export type FilesGetFileInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesGetFileInfo']>>>;
|
|
55
|
+
export type FilesDownloadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesDownloadFile']>>>;
|
|
56
|
+
export type FilesGetUriResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesGetUri']>>>;
|
|
57
|
+
export type FlowRunsGetVariablesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['flowRunsGetVariables']>>>;
|
|
58
|
+
export type FlowRunsSetVariableResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['flowRunsSetVariable']>>>;
|
|
59
|
+
export type MessageThreadsThreadIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadId']>>>;
|
|
60
|
+
export type MessageThreadsGetMessageThreadIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadId']>>>;
|
|
61
|
+
export type MessageThreadsGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetComments']>>>;
|
|
62
|
+
export type MessageThreadsPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsPostComment']>>>;
|
|
63
|
+
export type MessageThreadsGetMessageThreadDetailIdDetailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadDetailIdDetail']>>>;
|
|
64
|
+
export type MessageThreadsSetFavoritedChatResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsSetFavoritedChat']>>>;
|
|
65
|
+
export type MessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages']>>>;
|
|
66
|
+
export type MessageThreadsThreadMessagesIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesIdMessages']>>>;
|
|
67
|
+
export type MessageThreadsStreamThreadMessagesIdMessagesStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsStreamThreadMessagesIdMessagesStream']>>>;
|
|
68
|
+
export type MessageThreadsThreadIdNameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadIdName']>>>;
|
|
69
|
+
export type MessageThreadsGetThreadUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetThreadUsers']>>>;
|
|
70
|
+
export type MessageThreadsRemoveThreadUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsRemoveThreadUser']>>>;
|
|
71
|
+
export type MessageThreadsAddThreadUserResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsAddThreadUser']>>>;
|
|
72
|
+
export type MessagesThreadMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesThreadMessages']>>>;
|
|
73
|
+
export type MessagesStartThreadMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesStartThreadMessage']>>>;
|
|
74
|
+
export type MessagesMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesMessage']>>>;
|
|
75
|
+
export type MessagesGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesGetComments']>>>;
|
|
76
|
+
export type MessagesPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesPostComment']>>>;
|
|
77
|
+
export type MessagesAddValueToMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesAddValueToMessage']>>>;
|
|
78
|
+
export type ModelsGetModelsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['modelsGetModels']>>>;
|
|
79
|
+
export type ModelsGetModelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['modelsGetModel']>>>;
|
|
80
|
+
export type NotificationGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationGet']>>>;
|
|
81
|
+
export type NotificationPutUpdateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationPutUpdate']>>>;
|
|
82
|
+
export type NotificationPutUpdateallResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationPutUpdateall']>>>;
|
|
83
|
+
export type UsersGetUserPhotoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['usersGetUserPhoto']>>>;
|
|
84
|
+
export type WorkSpacesGetGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetGet']>>>;
|
|
85
|
+
export type WorkSpacesGetIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetId']>>>;
|
|
86
|
+
export type WorkSpacesGetAccessResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetAccess']>>>;
|
|
87
|
+
export type WorkSpacesThreadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesThread']>>>;
|
|
88
|
+
export type WorkSpacesGetUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetUsers']>>>;
|
|
89
|
+
export type DocumentsGetDocumentSasResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['documentsGetDocumentSas']>>>;
|
|
90
|
+
export type MessageThreadsCreateMessageThreadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsCreateMessageThread']>>>;
|
|
91
|
+
export type MessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId']>>>;
|
|
92
|
+
export type MessageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetailResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadDetailWorkspacesWorkspaceIdMessagethreadsIdDetail']>>>;
|
|
93
|
+
export type MessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages']>>>;
|
|
94
|
+
export type MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages']>>>;
|
|
95
|
+
export type MessageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStreamResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream']>>>;
|
|
@@ -6,28 +6,28 @@ const getSmartSpaceChatAPI = () => {
|
|
|
6
6
|
/**
|
|
7
7
|
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const filesUploadFiles = (filesUploadFilesBody) => {
|
|
10
10
|
const formData = new FormData();
|
|
11
|
-
if (
|
|
12
|
-
formData.append(`chunkIndex`,
|
|
11
|
+
if (filesUploadFilesBody.chunkIndex !== undefined) {
|
|
12
|
+
formData.append(`chunkIndex`, filesUploadFilesBody.chunkIndex.toString());
|
|
13
13
|
}
|
|
14
|
-
if (
|
|
15
|
-
|
|
14
|
+
if (filesUploadFilesBody.files !== undefined) {
|
|
15
|
+
filesUploadFilesBody.files.forEach(value => formData.append(`files`, value));
|
|
16
16
|
}
|
|
17
|
-
if (
|
|
18
|
-
formData.append(`lastChunk`,
|
|
17
|
+
if (filesUploadFilesBody.lastChunk !== undefined) {
|
|
18
|
+
formData.append(`lastChunk`, filesUploadFilesBody.lastChunk.toString());
|
|
19
19
|
}
|
|
20
|
-
if (
|
|
21
|
-
formData.append(`threadId`,
|
|
20
|
+
if (filesUploadFilesBody.threadId !== undefined) {
|
|
21
|
+
formData.append(`threadId`, filesUploadFilesBody.threadId);
|
|
22
22
|
}
|
|
23
|
-
if (
|
|
24
|
-
formData.append(`totalChunks`,
|
|
23
|
+
if (filesUploadFilesBody.totalChunks !== undefined) {
|
|
24
|
+
formData.append(`totalChunks`, filesUploadFilesBody.totalChunks.toString());
|
|
25
25
|
}
|
|
26
|
-
if (
|
|
27
|
-
formData.append(`uploadId`,
|
|
26
|
+
if (filesUploadFilesBody.uploadId !== undefined) {
|
|
27
|
+
formData.append(`uploadId`, filesUploadFilesBody.uploadId);
|
|
28
28
|
}
|
|
29
|
-
if (
|
|
30
|
-
formData.append(`workspaceId`,
|
|
29
|
+
if (filesUploadFilesBody.workspaceId !== undefined) {
|
|
30
|
+
formData.append(`workspaceId`, filesUploadFilesBody.workspaceId);
|
|
31
31
|
}
|
|
32
32
|
return (0, instance_1.customInstance)({ url: `/Files`, method: 'POST',
|
|
33
33
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
@@ -37,7 +37,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
37
37
|
/**
|
|
38
38
|
* @summary Get details for a file previously uploaded
|
|
39
39
|
*/
|
|
40
|
-
const
|
|
40
|
+
const filesGetFileInfo = (id, params) => {
|
|
41
41
|
return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
|
|
42
42
|
params
|
|
43
43
|
});
|
|
@@ -45,7 +45,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
45
45
|
/**
|
|
46
46
|
* @summary Download a previously uploaded file
|
|
47
47
|
*/
|
|
48
|
-
const
|
|
48
|
+
const filesDownloadFile = (id, params) => {
|
|
49
49
|
return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
|
|
50
50
|
params
|
|
51
51
|
});
|
|
@@ -53,36 +53,36 @@ const getSmartSpaceChatAPI = () => {
|
|
|
53
53
|
/**
|
|
54
54
|
* @summary Get URI of a previously uploaded file
|
|
55
55
|
*/
|
|
56
|
-
const
|
|
56
|
+
const filesGetUri = (id, params) => {
|
|
57
57
|
return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
|
|
58
58
|
params
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
|
-
const
|
|
61
|
+
const flowRunsGetVariables = (id) => {
|
|
62
62
|
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables`, method: 'GET'
|
|
63
63
|
});
|
|
64
64
|
};
|
|
65
|
-
const
|
|
65
|
+
const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
|
|
66
66
|
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
|
|
67
67
|
headers: { 'Content-Type': 'application/*+json', },
|
|
68
|
-
data:
|
|
68
|
+
data: flowRunsSetVariableBody
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
72
72
|
* @summary Delete a specific message thread from SmartSpace, using it's ID.
|
|
73
73
|
*/
|
|
74
|
-
const
|
|
74
|
+
const messageThreadsThreadId = (id) => {
|
|
75
75
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}`, method: 'DELETE'
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
|
-
const
|
|
78
|
+
const messageThreadsGetMessageThreadId = (id) => {
|
|
79
79
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}`, method: 'GET'
|
|
80
80
|
});
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* @summary Retrieve comments from a specified message thread in SmartSpace, using the thread's ID, with take and skip for pagination control.
|
|
84
84
|
*/
|
|
85
|
-
const
|
|
85
|
+
const messageThreadsGetComments = (id, params) => {
|
|
86
86
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/comments`, method: 'GET',
|
|
87
87
|
params
|
|
88
88
|
});
|
|
@@ -90,16 +90,25 @@ const getSmartSpaceChatAPI = () => {
|
|
|
90
90
|
/**
|
|
91
91
|
* @summary Submit a new comment to a specific message thread in SmartSpace, identified by the thread's ID, using the provided comment schema.
|
|
92
92
|
*/
|
|
93
|
-
const
|
|
93
|
+
const messageThreadsPostComment = (id, createComment) => {
|
|
94
94
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/comments`, method: 'POST',
|
|
95
95
|
headers: { 'Content-Type': 'application/*+json', },
|
|
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
|
*/
|
|
102
|
-
const
|
|
111
|
+
const messageThreadsSetFavoritedChat = (id, boolean) => {
|
|
103
112
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/favorited`, method: 'PUT',
|
|
104
113
|
headers: { 'Content-Type': 'application/*+json', },
|
|
105
114
|
data: boolean
|
|
@@ -108,48 +117,98 @@ const getSmartSpaceChatAPI = () => {
|
|
|
108
117
|
/**
|
|
109
118
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
110
119
|
*/
|
|
111
|
-
const
|
|
120
|
+
const messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages = (id) => {
|
|
112
121
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
113
122
|
});
|
|
114
123
|
};
|
|
115
124
|
/**
|
|
116
125
|
* @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
|
|
117
126
|
*/
|
|
118
|
-
const
|
|
127
|
+
const messageThreadsThreadMessagesIdMessages = (id, params) => {
|
|
119
128
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messages`, method: 'GET',
|
|
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
|
*/
|
|
126
|
-
const
|
|
146
|
+
const messageThreadsThreadIdName = (id, messageThreadsThreadIdNameBody) => {
|
|
127
147
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/name`, method: 'PUT',
|
|
128
148
|
headers: { 'Content-Type': 'application/*+json', },
|
|
129
|
-
data:
|
|
149
|
+
data: messageThreadsThreadIdNameBody
|
|
150
|
+
});
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @summary Get the users who have access to a specific message thread.
|
|
154
|
+
*/
|
|
155
|
+
const messageThreadsGetThreadUsers = (threadId) => {
|
|
156
|
+
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users`, method: 'GET'
|
|
157
|
+
});
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @summary Remove a user from a message thread. Requires workspace admin privileges.
|
|
161
|
+
*/
|
|
162
|
+
const messageThreadsRemoveThreadUser = (threadId, userId) => {
|
|
163
|
+
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users/${userId}`, method: 'DELETE'
|
|
164
|
+
});
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* @summary Add a user to a message thread.
|
|
168
|
+
*/
|
|
169
|
+
const messageThreadsAddThreadUser = (threadId, userId) => {
|
|
170
|
+
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users/${userId}`, method: 'POST'
|
|
130
171
|
});
|
|
131
172
|
};
|
|
132
173
|
/**
|
|
133
174
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
134
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.
|
|
135
180
|
*/
|
|
136
|
-
const
|
|
181
|
+
const messagesThreadMessages = (messageMessageRequest) => {
|
|
137
182
|
return (0, instance_1.customInstance)({ url: `/Messages`, method: 'POST',
|
|
138
183
|
headers: { 'Content-Type': 'application/*+json', },
|
|
139
184
|
data: messageMessageRequest
|
|
140
185
|
});
|
|
141
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
|
+
};
|
|
142
201
|
/**
|
|
143
202
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
144
203
|
*/
|
|
145
|
-
const
|
|
204
|
+
const messagesMessage = (id) => {
|
|
146
205
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}`, method: 'DELETE'
|
|
147
206
|
});
|
|
148
207
|
};
|
|
149
208
|
/**
|
|
150
209
|
* @summary Retrieve comments attached to a specific message in SmartSpace, using the message's ID, with pagination options 'take' and 'skip'.
|
|
151
210
|
*/
|
|
152
|
-
const
|
|
211
|
+
const messagesGetComments = (id, params) => {
|
|
153
212
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/comments`, method: 'GET',
|
|
154
213
|
params
|
|
155
214
|
});
|
|
@@ -157,13 +216,13 @@ const getSmartSpaceChatAPI = () => {
|
|
|
157
216
|
/**
|
|
158
217
|
* @summary Add a new comment to a message in SmartSpace, using the message's ID and comment details in the request.
|
|
159
218
|
*/
|
|
160
|
-
const
|
|
219
|
+
const messagesPostComment = (id, createComment) => {
|
|
161
220
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/comments`, method: 'POST',
|
|
162
221
|
headers: { 'Content-Type': 'application/*+json', },
|
|
163
222
|
data: createComment
|
|
164
223
|
});
|
|
165
224
|
};
|
|
166
|
-
const
|
|
225
|
+
const messagesAddValueToMessage = (id, messageCreateMessageInput) => {
|
|
167
226
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/values`, method: 'POST',
|
|
168
227
|
headers: { 'Content-Type': 'application/*+json', },
|
|
169
228
|
data: messageCreateMessageInput
|
|
@@ -172,7 +231,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
172
231
|
/**
|
|
173
232
|
* @summary Retrieves a list of models.
|
|
174
233
|
*/
|
|
175
|
-
const
|
|
234
|
+
const modelsGetModels = (params) => {
|
|
176
235
|
return (0, instance_1.customInstance)({ url: `/Models`, method: 'GET',
|
|
177
236
|
params
|
|
178
237
|
});
|
|
@@ -180,14 +239,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
180
239
|
/**
|
|
181
240
|
* @summary Retrieves a model by its ID.
|
|
182
241
|
*/
|
|
183
|
-
const
|
|
242
|
+
const modelsGetModel = (id) => {
|
|
184
243
|
return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'GET'
|
|
185
244
|
});
|
|
186
245
|
};
|
|
187
246
|
/**
|
|
188
247
|
* @summary Retrieve notifications for user login.
|
|
189
248
|
*/
|
|
190
|
-
const
|
|
249
|
+
const notificationGet = (params) => {
|
|
191
250
|
return (0, instance_1.customInstance)({ url: `/Notification`, method: 'GET',
|
|
192
251
|
params
|
|
193
252
|
});
|
|
@@ -195,16 +254,16 @@ const getSmartSpaceChatAPI = () => {
|
|
|
195
254
|
/**
|
|
196
255
|
* @summary Update: mark read notifications.
|
|
197
256
|
*/
|
|
198
|
-
const
|
|
257
|
+
const notificationPutUpdate = (notificationPutUpdateBody) => {
|
|
199
258
|
return (0, instance_1.customInstance)({ url: `/Notification/update`, method: 'PUT',
|
|
200
259
|
headers: { 'Content-Type': 'application/*+json', },
|
|
201
|
-
data:
|
|
260
|
+
data: notificationPutUpdateBody
|
|
202
261
|
});
|
|
203
262
|
};
|
|
204
263
|
/**
|
|
205
264
|
* @summary Update: mark read all notifications.
|
|
206
265
|
*/
|
|
207
|
-
const
|
|
266
|
+
const notificationPutUpdateall = () => {
|
|
208
267
|
return (0, instance_1.customInstance)({ url: `/Notification/updateall`, method: 'PUT'
|
|
209
268
|
});
|
|
210
269
|
};
|
|
@@ -212,7 +271,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
212
271
|
* @summary Retrieves the profile photo for a user. Returns the raw JPEG image with HTTP cache headers
|
|
213
272
|
so browsers can cache the image via standard img src usage.
|
|
214
273
|
*/
|
|
215
|
-
const
|
|
274
|
+
const usersGetUserPhoto = (id) => {
|
|
216
275
|
return (0, instance_1.customInstance)({ url: `/Users/${id}/photo`, method: 'GET',
|
|
217
276
|
responseType: 'blob'
|
|
218
277
|
});
|
|
@@ -220,7 +279,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
220
279
|
/**
|
|
221
280
|
* @summary Fetch a list of all workspaces in SmartSpace, with options for pagination through 'take' and 'skip' query parameters.
|
|
222
281
|
*/
|
|
223
|
-
const
|
|
282
|
+
const workSpacesGetGet = (params) => {
|
|
224
283
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'GET',
|
|
225
284
|
params
|
|
226
285
|
});
|
|
@@ -228,14 +287,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
228
287
|
/**
|
|
229
288
|
* @summary Retrieve detailed information about a specific workspace in SmartSpace, using its ID.
|
|
230
289
|
*/
|
|
231
|
-
const
|
|
290
|
+
const workSpacesGetId = (id) => {
|
|
232
291
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'GET'
|
|
233
292
|
});
|
|
234
293
|
};
|
|
235
294
|
/**
|
|
236
295
|
* @summary Retrieve the access control details of a specific workspace in SmartSpace, using the workspace's ID, with pagination options take and skip.
|
|
237
296
|
*/
|
|
238
|
-
const
|
|
297
|
+
const workSpacesGetAccess = (id, params) => {
|
|
239
298
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/access`, method: 'GET',
|
|
240
299
|
params
|
|
241
300
|
});
|
|
@@ -243,12 +302,12 @@ const getSmartSpaceChatAPI = () => {
|
|
|
243
302
|
/**
|
|
244
303
|
* @summary Retrieve all message threads associated with a specific workspace in SmartSpace, identified by workspaceId, with pagination options take and skip.
|
|
245
304
|
*/
|
|
246
|
-
const
|
|
305
|
+
const workSpacesThread = (id, params) => {
|
|
247
306
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
248
307
|
params
|
|
249
308
|
});
|
|
250
309
|
};
|
|
251
|
-
const
|
|
310
|
+
const workSpacesGetUsers = (id, params) => {
|
|
252
311
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/users`, method: 'GET',
|
|
253
312
|
params
|
|
254
313
|
});
|
|
@@ -256,36 +315,56 @@ const getSmartSpaceChatAPI = () => {
|
|
|
256
315
|
/**
|
|
257
316
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific document in a data space, using the dataSpaceId and optional file parameter.
|
|
258
317
|
*/
|
|
259
|
-
const
|
|
318
|
+
const documentsGetDocumentSas = (dataSpaceId, params) => {
|
|
260
319
|
return (0, instance_1.customInstance)({ url: `/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
261
320
|
params
|
|
262
321
|
});
|
|
263
322
|
};
|
|
264
|
-
const
|
|
323
|
+
const messageThreadsCreateMessageThread = (workspaceId, createMessageThread) => {
|
|
265
324
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads`, method: 'POST',
|
|
266
325
|
headers: { 'Content-Type': 'application/*+json', },
|
|
267
326
|
data: createMessageThread
|
|
268
327
|
});
|
|
269
328
|
};
|
|
270
|
-
const
|
|
329
|
+
const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId = (workspaceId, id) => {
|
|
271
330
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
|
|
272
331
|
});
|
|
273
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
|
+
};
|
|
274
342
|
/**
|
|
275
343
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
276
344
|
*/
|
|
277
|
-
const
|
|
345
|
+
const messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages = (workspaceId, id) => {
|
|
278
346
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
279
347
|
});
|
|
280
348
|
};
|
|
281
349
|
/**
|
|
282
350
|
* @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
|
|
283
351
|
*/
|
|
284
|
-
const
|
|
352
|
+
const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages = (workspaceId, id, params) => {
|
|
285
353
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages`, method: 'GET',
|
|
286
354
|
params
|
|
287
355
|
});
|
|
288
356
|
};
|
|
289
|
-
|
|
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 };
|
|
290
369
|
};
|
|
291
370
|
exports.getSmartSpaceChatAPI = getSmartSpaceChatAPI;
|