@smartspace/api-client 0.1.0-pr.715.ce462e0 → 0.1.0-pr.718.1307972
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 +71 -77
- package/dist/generated/chat/api.js +53 -74
- package/dist/generated/chat/models/{getDataspacesDataSpaceIdDocumentsItemSasParams.d.ts → documentsGetDocumentSasParams.d.ts} +1 -1
- 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 +18 -18
- package/dist/generated/chat/models/index.js +18 -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/{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/{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/zod.d.ts +218 -253
- package/dist/generated/chat/zod.js +359 -389
- package/dist/generated/config/api.d.ts +213 -221
- package/dist/generated/config/api.js +130 -157
- 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/{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/{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/{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 +47 -47
- package/dist/generated/config/models/index.js +47 -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/{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/{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/{getWorkspacesWorkspaceIdSandboxMessagesParams.d.ts → sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.d.ts} +1 -1
- 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/{putWorkSpacesWorkspaceIdPromptresponseParams.d.ts → workSpacesUpdatePromptResponseFlagParams.d.ts} +1 -1
- package/dist/generated/config/models/{postWorkSpacesWorkspaceIdFilesBody.d.ts → workSpacesWorkspaceFilesWorkspaceIdFilesBody.d.ts} +1 -1
- package/dist/generated/config/models/{getWorkSpacesWorkspaceIdFilesParams.d.ts → workSpacesWorkspaceFilesWorkspaceIdFilesParams.d.ts} +1 -1
- package/dist/generated/config/zod.d.ts +553 -684
- package/dist/generated/config/zod.js +864 -959
- package/package.json +1 -1
- /package/dist/generated/chat/models/{getDataspacesDataSpaceIdDocumentsItemSasParams.js → documentsGetDocumentSasParams.js} +0 -0
- /package/dist/generated/chat/models/{getFilesIdDownloadParams.js → filesDownloadFileParams.js} +0 -0
- /package/dist/generated/chat/models/{getFilesIdParams.js → filesGetFileInfoParams.js} +0 -0
- /package/dist/generated/chat/models/{getFilesIdUriParams.js → filesGetUriParams.js} +0 -0
- /package/dist/generated/chat/models/{getFlowRunsIdVariables200One.js → filesUploadFilesBody.js} +0 -0
- /package/dist/generated/chat/models/{getFlowRunsIdVariables200Three.js → flowRunsGetVariables200One.js} +0 -0
- /package/dist/generated/chat/models/{getFlowRunsIdVariables200Two.js → flowRunsGetVariables200Three.js} +0 -0
- /package/dist/generated/chat/models/{getMessageThreadsIdCommentsParams.js → flowRunsGetVariables200Two.js} +0 -0
- /package/dist/generated/chat/models/{getMessageThreadsIdMessagesParams.js → messageThreadsGetCommentsParams.js} +0 -0
- /package/dist/generated/chat/models/{getMessagesIdCommentsParams.js → messageThreadsThreadMessagesIdMessagesParams.js} +0 -0
- /package/dist/generated/chat/models/{getModelsParams.js → messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams.js} +0 -0
- /package/dist/generated/chat/models/{getNotificationParams.js → messagesGetCommentsParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesIdAccessParams.js → modelsGetModelsParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesIdMessageThreadsParams.js → notificationGetParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesIdUsersParams.js → workSpacesGetAccessParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkSpacesParams.js → workSpacesGetGetParams.js} +0 -0
- /package/dist/generated/chat/models/{getWorkspacesWorkspaceIdMessagethreadsIdMessagesParams.js → workSpacesGetUsersParams.js} +0 -0
- /package/dist/generated/chat/models/{postFilesBody.js → workSpacesThreadParams.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 → flowRunsGetStepExecutionsParams.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsIdVariables200Two.js → flowRunsGetVariables200One.js} +0 -0
- /package/dist/generated/config/models/{getFlowRunsSearchParams.js → flowRunsGetVariables200Three.js} +0 -0
- /package/dist/generated/config/models/{getModelsParams.js → flowRunsGetVariables200Two.js} +0 -0
- /package/dist/generated/config/models/{getNotificationParams.js → flowRunsSearchFlowRunsParams.js} +0 -0
- /package/dist/generated/config/models/{getUsersIdWorkspacesParams.js → messageThreadsGetStepExecutionsParams.js} +0 -0
- /package/dist/generated/config/models/{getUsersParams.js → messageThreadsGetWorkspaceExecutionsParams.js} +0 -0
- /package/dist/generated/config/models/{getUsersSearchParams.js → modelsGetModelsParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpaceTemplatesParams.js → notificationGetParams.js} +0 -0
- /package/dist/generated/config/models/{getReportingRequestsByDurationParams.js → reportingGetRequestsParams.js} +0 -0
- /package/dist/generated/config/models/{getReportingTokensByDurationParams.js → reportingGetTokensParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpacesIdMessageThreadsParams.js → sandBoxThreadMessagesWorkspacesWorkspaceIdSandboxMessagesParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpacesParams.js → usersGetAccessWorkSpacesParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkSpacesWorkspaceIdFilesParams.js → usersGetUsersParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkspacesWorkSpaceIdFunctionexecutionsParams.js → usersRemoveUserFromAllWorkSpacesParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkspacesWorkSpaceIdMessagethreadsMessageThreadIdFunctionexecutionsParams.js → usersSearchUsersParams.js} +0 -0
- /package/dist/generated/config/models/{getWorkspacesWorkspaceIdSandboxMessagesParams.js → workSpaceTemplatesGetParams.js} +0 -0
- /package/dist/generated/config/models/{postBlockSetsNameBody.js → workSpacesGetGetParams.js} +0 -0
- /package/dist/generated/config/models/{postContainersContainerIdStartflowsParams.js → workSpacesGetThreadsParams.js} +0 -0
- /package/dist/generated/config/models/{postFilesBody.js → workSpacesUpdatePromptResponseFlagParams.js} +0 -0
- /package/dist/generated/config/models/{postWorkSpacesWorkspaceIdFilesBody.js → workSpacesWorkspaceFilesWorkspaceIdFilesBody.js} +0 -0
- /package/dist/generated/config/models/{putWorkSpacesWorkspaceIdPromptresponseParams.js → workSpacesWorkspaceFilesWorkspaceIdFilesParams.js} +0 -0
|
@@ -4,82 +4,76 @@
|
|
|
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, 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';
|
|
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
|
-
|
|
44
|
-
getWorkspacesWorkspaceIdMessagethreadsId: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
45
|
-
getWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
46
|
-
getWorkspacesWorkspaceIdMessagethreadsIdMessages: (workspaceId: string, id: string, params?: GetWorkspacesWorkspaceIdMessagethreadsIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
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
|
+
messageThreadsSetFavoritedChat: (id: string, boolean: boolean) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
20
|
+
messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages: (id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
21
|
+
messageThreadsThreadMessagesIdMessages: (id: string, params?: MessageThreadsThreadMessagesIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
22
|
+
messageThreadsThreadIdName: (id: string, messageThreadsThreadIdNameBody: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
23
|
+
messagesThreadMessages: (messageMessageRequest: MessageMessageRequest) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
24
|
+
messagesMessage: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25
|
+
messagesGetComments: (id: string, params?: MessagesGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
|
|
26
|
+
messagesPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
|
|
27
|
+
messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
28
|
+
modelsGetModels: (params?: ModelsGetModelsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionModelModelSummary, any, {}>>;
|
|
29
|
+
modelsGetModel: (id: string) => Promise<import("axios").AxiosResponse<ModelModel, any, {}>>;
|
|
30
|
+
notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationPagedNotifications, any, {}>>;
|
|
31
|
+
notificationPutUpdate: (notificationPutUpdateBody: string[]) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
32
|
+
notificationPutUpdateall: () => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
33
|
+
usersGetUserPhoto: (id: string) => Promise<import("axios").AxiosResponse<Blob, any, {}>>;
|
|
34
|
+
workSpacesGetGet: (params?: WorkSpacesGetGetParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionWorkSpace, any, {}>>;
|
|
35
|
+
workSpacesGetId: (id: string) => Promise<import("axios").AxiosResponse<WorkSpace, any, {}>>;
|
|
36
|
+
workSpacesGetAccess: (id: string, params?: WorkSpacesGetAccessParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAccess, any, {}>>;
|
|
37
|
+
workSpacesThread: (id: string, params?: WorkSpacesThreadParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageThreadMessageThreadSummary, any, {}>>;
|
|
38
|
+
workSpacesGetUsers: (id: string, params?: WorkSpacesGetUsersParams) => Promise<import("axios").AxiosResponse<AppUserAppUser[], any, {}>>;
|
|
39
|
+
documentsGetDocumentSas: (dataSpaceId: string, params?: DocumentsGetDocumentSasParams) => Promise<import("axios").AxiosResponse<IntegrationsAzureStorageSasToken, any, {}>>;
|
|
40
|
+
messageThreadsCreateMessageThread: (workspaceId: string, createMessageThread: CreateMessageThread) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageThreadMessageThreadSummary, any, {}>>;
|
|
41
|
+
messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageThreadMessageThreadSummary, any, {}>>;
|
|
42
|
+
messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages: (workspaceId: string, id: string) => Promise<import("axios").AxiosResponse<MessageMessageCreatorProfileImage[], any, {}>>;
|
|
43
|
+
messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages: (workspaceId: string, id: string, params?: MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageMessage, any, {}>>;
|
|
47
44
|
};
|
|
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
|
|
80
|
-
export type
|
|
81
|
-
export type
|
|
82
|
-
export type
|
|
83
|
-
export type GetWorkspacesWorkspaceIdMessagethreadsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['getWorkspacesWorkspaceIdMessagethreadsId']>>>;
|
|
84
|
-
export type GetWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['getWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages']>>>;
|
|
85
|
-
export type GetWorkspacesWorkspaceIdMessagethreadsIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['getWorkspacesWorkspaceIdMessagethreadsIdMessages']>>>;
|
|
45
|
+
export type FilesUploadFilesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesUploadFiles']>>>;
|
|
46
|
+
export type FilesGetFileInfoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesGetFileInfo']>>>;
|
|
47
|
+
export type FilesDownloadFileResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesDownloadFile']>>>;
|
|
48
|
+
export type FilesGetUriResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['filesGetUri']>>>;
|
|
49
|
+
export type FlowRunsGetVariablesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['flowRunsGetVariables']>>>;
|
|
50
|
+
export type FlowRunsSetVariableResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['flowRunsSetVariable']>>>;
|
|
51
|
+
export type MessageThreadsThreadIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadId']>>>;
|
|
52
|
+
export type MessageThreadsGetMessageThreadIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadId']>>>;
|
|
53
|
+
export type MessageThreadsGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetComments']>>>;
|
|
54
|
+
export type MessageThreadsPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsPostComment']>>>;
|
|
55
|
+
export type MessageThreadsSetFavoritedChatResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsSetFavoritedChat']>>>;
|
|
56
|
+
export type MessageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages']>>>;
|
|
57
|
+
export type MessageThreadsThreadMessagesIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesIdMessages']>>>;
|
|
58
|
+
export type MessageThreadsThreadIdNameResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadIdName']>>>;
|
|
59
|
+
export type MessagesThreadMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesThreadMessages']>>>;
|
|
60
|
+
export type MessagesMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesMessage']>>>;
|
|
61
|
+
export type MessagesGetCommentsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesGetComments']>>>;
|
|
62
|
+
export type MessagesPostCommentResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesPostComment']>>>;
|
|
63
|
+
export type MessagesAddValueToMessageResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messagesAddValueToMessage']>>>;
|
|
64
|
+
export type ModelsGetModelsResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['modelsGetModels']>>>;
|
|
65
|
+
export type ModelsGetModelResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['modelsGetModel']>>>;
|
|
66
|
+
export type NotificationGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationGet']>>>;
|
|
67
|
+
export type NotificationPutUpdateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationPutUpdate']>>>;
|
|
68
|
+
export type NotificationPutUpdateallResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationPutUpdateall']>>>;
|
|
69
|
+
export type UsersGetUserPhotoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['usersGetUserPhoto']>>>;
|
|
70
|
+
export type WorkSpacesGetGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetGet']>>>;
|
|
71
|
+
export type WorkSpacesGetIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetId']>>>;
|
|
72
|
+
export type WorkSpacesGetAccessResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetAccess']>>>;
|
|
73
|
+
export type WorkSpacesThreadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesThread']>>>;
|
|
74
|
+
export type WorkSpacesGetUsersResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetUsers']>>>;
|
|
75
|
+
export type DocumentsGetDocumentSasResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['documentsGetDocumentSas']>>>;
|
|
76
|
+
export type MessageThreadsCreateMessageThreadResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsCreateMessageThread']>>>;
|
|
77
|
+
export type MessageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId']>>>;
|
|
78
|
+
export type MessageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages']>>>;
|
|
79
|
+
export type MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages']>>>;
|
|
@@ -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,7 +90,7 @@ 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
|
|
@@ -99,7 +99,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
99
99
|
/**
|
|
100
100
|
* @summary Mark a message thread as favorited or not in SmartSpace, using the thread's ID and a boolean value in the request.
|
|
101
101
|
*/
|
|
102
|
-
const
|
|
102
|
+
const messageThreadsSetFavoritedChat = (id, boolean) => {
|
|
103
103
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/favorited`, method: 'PUT',
|
|
104
104
|
headers: { 'Content-Type': 'application/*+json', },
|
|
105
105
|
data: boolean
|
|
@@ -108,14 +108,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
108
108
|
/**
|
|
109
109
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
110
110
|
*/
|
|
111
|
-
const
|
|
111
|
+
const messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages = (id) => {
|
|
112
112
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
|
|
117
117
|
*/
|
|
118
|
-
const
|
|
118
|
+
const messageThreadsThreadMessagesIdMessages = (id, params) => {
|
|
119
119
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messages`, method: 'GET',
|
|
120
120
|
params
|
|
121
121
|
});
|
|
@@ -123,38 +123,17 @@ const getSmartSpaceChatAPI = () => {
|
|
|
123
123
|
/**
|
|
124
124
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
125
125
|
*/
|
|
126
|
-
const
|
|
126
|
+
const messageThreadsThreadIdName = (id, messageThreadsThreadIdNameBody) => {
|
|
127
127
|
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/name`, method: 'PUT',
|
|
128
128
|
headers: { 'Content-Type': 'application/*+json', },
|
|
129
|
-
data:
|
|
130
|
-
});
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* @summary Get the users who have access to a specific message thread.
|
|
134
|
-
*/
|
|
135
|
-
const getMessageThreadsThreadIdUsers = (threadId) => {
|
|
136
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users`, method: 'GET'
|
|
137
|
-
});
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* @summary Remove a user from a message thread. Requires workspace admin privileges.
|
|
141
|
-
*/
|
|
142
|
-
const deleteMessageThreadsThreadIdUsersUserId = (threadId, userId) => {
|
|
143
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users/${userId}`, method: 'DELETE'
|
|
144
|
-
});
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* @summary Add a user to a message thread.
|
|
148
|
-
*/
|
|
149
|
-
const postMessageThreadsThreadIdUsersUserId = (threadId, userId) => {
|
|
150
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users/${userId}`, method: 'POST'
|
|
129
|
+
data: messageThreadsThreadIdNameBody
|
|
151
130
|
});
|
|
152
131
|
};
|
|
153
132
|
/**
|
|
154
133
|
* @summary Handles the HTTP POST request to create a new message in a thread within SmartSpace.
|
|
155
134
|
This method specifies details like workspace ID, thread ID, and message content in the request.
|
|
156
135
|
*/
|
|
157
|
-
const
|
|
136
|
+
const messagesThreadMessages = (messageMessageRequest) => {
|
|
158
137
|
return (0, instance_1.customInstance)({ url: `/Messages`, method: 'POST',
|
|
159
138
|
headers: { 'Content-Type': 'application/*+json', },
|
|
160
139
|
data: messageMessageRequest
|
|
@@ -163,14 +142,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
163
142
|
/**
|
|
164
143
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
165
144
|
*/
|
|
166
|
-
const
|
|
145
|
+
const messagesMessage = (id) => {
|
|
167
146
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}`, method: 'DELETE'
|
|
168
147
|
});
|
|
169
148
|
};
|
|
170
149
|
/**
|
|
171
150
|
* @summary Retrieve comments attached to a specific message in SmartSpace, using the message's ID, with pagination options 'take' and 'skip'.
|
|
172
151
|
*/
|
|
173
|
-
const
|
|
152
|
+
const messagesGetComments = (id, params) => {
|
|
174
153
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/comments`, method: 'GET',
|
|
175
154
|
params
|
|
176
155
|
});
|
|
@@ -178,13 +157,13 @@ const getSmartSpaceChatAPI = () => {
|
|
|
178
157
|
/**
|
|
179
158
|
* @summary Add a new comment to a message in SmartSpace, using the message's ID and comment details in the request.
|
|
180
159
|
*/
|
|
181
|
-
const
|
|
160
|
+
const messagesPostComment = (id, createComment) => {
|
|
182
161
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/comments`, method: 'POST',
|
|
183
162
|
headers: { 'Content-Type': 'application/*+json', },
|
|
184
163
|
data: createComment
|
|
185
164
|
});
|
|
186
165
|
};
|
|
187
|
-
const
|
|
166
|
+
const messagesAddValueToMessage = (id, messageCreateMessageInput) => {
|
|
188
167
|
return (0, instance_1.customInstance)({ url: `/Messages/${id}/values`, method: 'POST',
|
|
189
168
|
headers: { 'Content-Type': 'application/*+json', },
|
|
190
169
|
data: messageCreateMessageInput
|
|
@@ -193,7 +172,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
193
172
|
/**
|
|
194
173
|
* @summary Retrieves a list of models.
|
|
195
174
|
*/
|
|
196
|
-
const
|
|
175
|
+
const modelsGetModels = (params) => {
|
|
197
176
|
return (0, instance_1.customInstance)({ url: `/Models`, method: 'GET',
|
|
198
177
|
params
|
|
199
178
|
});
|
|
@@ -201,14 +180,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
201
180
|
/**
|
|
202
181
|
* @summary Retrieves a model by its ID.
|
|
203
182
|
*/
|
|
204
|
-
const
|
|
183
|
+
const modelsGetModel = (id) => {
|
|
205
184
|
return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'GET'
|
|
206
185
|
});
|
|
207
186
|
};
|
|
208
187
|
/**
|
|
209
188
|
* @summary Retrieve notifications for user login.
|
|
210
189
|
*/
|
|
211
|
-
const
|
|
190
|
+
const notificationGet = (params) => {
|
|
212
191
|
return (0, instance_1.customInstance)({ url: `/Notification`, method: 'GET',
|
|
213
192
|
params
|
|
214
193
|
});
|
|
@@ -216,16 +195,16 @@ const getSmartSpaceChatAPI = () => {
|
|
|
216
195
|
/**
|
|
217
196
|
* @summary Update: mark read notifications.
|
|
218
197
|
*/
|
|
219
|
-
const
|
|
198
|
+
const notificationPutUpdate = (notificationPutUpdateBody) => {
|
|
220
199
|
return (0, instance_1.customInstance)({ url: `/Notification/update`, method: 'PUT',
|
|
221
200
|
headers: { 'Content-Type': 'application/*+json', },
|
|
222
|
-
data:
|
|
201
|
+
data: notificationPutUpdateBody
|
|
223
202
|
});
|
|
224
203
|
};
|
|
225
204
|
/**
|
|
226
205
|
* @summary Update: mark read all notifications.
|
|
227
206
|
*/
|
|
228
|
-
const
|
|
207
|
+
const notificationPutUpdateall = () => {
|
|
229
208
|
return (0, instance_1.customInstance)({ url: `/Notification/updateall`, method: 'PUT'
|
|
230
209
|
});
|
|
231
210
|
};
|
|
@@ -233,7 +212,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
233
212
|
* @summary Retrieves the profile photo for a user. Returns the raw JPEG image with HTTP cache headers
|
|
234
213
|
so browsers can cache the image via standard img src usage.
|
|
235
214
|
*/
|
|
236
|
-
const
|
|
215
|
+
const usersGetUserPhoto = (id) => {
|
|
237
216
|
return (0, instance_1.customInstance)({ url: `/Users/${id}/photo`, method: 'GET',
|
|
238
217
|
responseType: 'blob'
|
|
239
218
|
});
|
|
@@ -241,7 +220,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
241
220
|
/**
|
|
242
221
|
* @summary Fetch a list of all workspaces in SmartSpace, with options for pagination through 'take' and 'skip' query parameters.
|
|
243
222
|
*/
|
|
244
|
-
const
|
|
223
|
+
const workSpacesGetGet = (params) => {
|
|
245
224
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'GET',
|
|
246
225
|
params
|
|
247
226
|
});
|
|
@@ -249,14 +228,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
249
228
|
/**
|
|
250
229
|
* @summary Retrieve detailed information about a specific workspace in SmartSpace, using its ID.
|
|
251
230
|
*/
|
|
252
|
-
const
|
|
231
|
+
const workSpacesGetId = (id) => {
|
|
253
232
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'GET'
|
|
254
233
|
});
|
|
255
234
|
};
|
|
256
235
|
/**
|
|
257
236
|
* @summary Retrieve the access control details of a specific workspace in SmartSpace, using the workspace's ID, with pagination options take and skip.
|
|
258
237
|
*/
|
|
259
|
-
const
|
|
238
|
+
const workSpacesGetAccess = (id, params) => {
|
|
260
239
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/access`, method: 'GET',
|
|
261
240
|
params
|
|
262
241
|
});
|
|
@@ -264,12 +243,12 @@ const getSmartSpaceChatAPI = () => {
|
|
|
264
243
|
/**
|
|
265
244
|
* @summary Retrieve all message threads associated with a specific workspace in SmartSpace, identified by workspaceId, with pagination options take and skip.
|
|
266
245
|
*/
|
|
267
|
-
const
|
|
246
|
+
const workSpacesThread = (id, params) => {
|
|
268
247
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
269
248
|
params
|
|
270
249
|
});
|
|
271
250
|
};
|
|
272
|
-
const
|
|
251
|
+
const workSpacesGetUsers = (id, params) => {
|
|
273
252
|
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/users`, method: 'GET',
|
|
274
253
|
params
|
|
275
254
|
});
|
|
@@ -277,36 +256,36 @@ const getSmartSpaceChatAPI = () => {
|
|
|
277
256
|
/**
|
|
278
257
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific document in a data space, using the dataSpaceId and optional file parameter.
|
|
279
258
|
*/
|
|
280
|
-
const
|
|
259
|
+
const documentsGetDocumentSas = (dataSpaceId, params) => {
|
|
281
260
|
return (0, instance_1.customInstance)({ url: `/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
282
261
|
params
|
|
283
262
|
});
|
|
284
263
|
};
|
|
285
|
-
const
|
|
264
|
+
const messageThreadsCreateMessageThread = (workspaceId, createMessageThread) => {
|
|
286
265
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads`, method: 'POST',
|
|
287
266
|
headers: { 'Content-Type': 'application/*+json', },
|
|
288
267
|
data: createMessageThread
|
|
289
268
|
});
|
|
290
269
|
};
|
|
291
|
-
const
|
|
270
|
+
const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId = (workspaceId, id) => {
|
|
292
271
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
|
|
293
272
|
});
|
|
294
273
|
};
|
|
295
274
|
/**
|
|
296
275
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
297
276
|
*/
|
|
298
|
-
const
|
|
277
|
+
const messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages = (workspaceId, id) => {
|
|
299
278
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
300
279
|
});
|
|
301
280
|
};
|
|
302
281
|
/**
|
|
303
282
|
* @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
|
|
304
283
|
*/
|
|
305
|
-
const
|
|
284
|
+
const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages = (workspaceId, id, params) => {
|
|
306
285
|
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages`, method: 'GET',
|
|
307
286
|
params
|
|
308
287
|
});
|
|
309
288
|
};
|
|
310
|
-
return {
|
|
289
|
+
return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsThreadIdName, messagesThreadMessages, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages };
|
|
311
290
|
};
|
|
312
291
|
exports.getSmartSpaceChatAPI = getSmartSpaceChatAPI;
|
package/dist/generated/chat/models/{getFilesIdDownloadParams.d.ts → filesDownloadFileParams.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type FilesDownloadFileParams = {
|
|
8
8
|
/**
|
|
9
9
|
* Optional thread ID containing the file
|
|
10
10
|
* @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}$
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type FilesGetFileInfoParams = {
|
|
8
8
|
/**
|
|
9
9
|
* Optional thread ID containing the file
|
|
10
10
|
* @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}$
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
7
|
+
export type FilesGetUriParams = {
|
|
8
8
|
/**
|
|
9
9
|
* Optional thread ID containing the file
|
|
10
10
|
* @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}$
|