@smartspace/api-client 0.1.0-dev.aad7fc7 → 0.1.0-dev.ac1fa47
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 +5 -1
- package/dist/generated/chat/api.js +60 -42
- package/dist/generated/chat/api.msw.d.ts +5 -1
- package/dist/generated/chat/api.msw.js +103 -119
- package/dist/generated/chat/models/enumsAccessType.d.ts +9 -3
- package/dist/generated/chat/models/enumsAccessType.js +10 -3
- package/dist/generated/chat/models/enumsAppPrincipalType.d.ts +9 -3
- package/dist/generated/chat/models/enumsAppPrincipalType.js +10 -3
- package/dist/generated/chat/models/enumsFlowTriggerType.d.ts +9 -3
- package/dist/generated/chat/models/enumsFlowTriggerType.js +10 -3
- package/dist/generated/chat/models/enumsFlowVariableAccess.d.ts +9 -3
- package/dist/generated/chat/models/enumsFlowVariableAccess.js +10 -3
- package/dist/generated/chat/models/enumsMessageValueType.d.ts +9 -3
- package/dist/generated/chat/models/enumsMessageValueType.js +10 -3
- package/dist/generated/chat/models/enumsModelDeploymentProviderType.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelDeploymentProviderType.js +10 -3
- package/dist/generated/chat/models/enumsModelDeploymentStatus.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelDeploymentStatus.js +10 -3
- package/dist/generated/chat/models/enumsModelDeploymentStepName.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelDeploymentStepName.js +10 -3
- package/dist/generated/chat/models/enumsModelPropertyType.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelPropertyType.js +10 -3
- package/dist/generated/chat/models/enumsModelPublisher.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelPublisher.js +10 -3
- package/dist/generated/chat/models/enumsModelRole.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelRole.js +10 -3
- package/dist/generated/chat/models/enumsNotificationType.d.ts +9 -3
- package/dist/generated/chat/models/enumsNotificationType.js +10 -3
- package/dist/generated/chat/models/enumsVirtualMachineServerType.d.ts +9 -3
- package/dist/generated/chat/models/enumsVirtualMachineServerType.js +10 -3
- package/dist/generated/chat/models/enumsWorkSpaceOrderBy.d.ts +9 -3
- package/dist/generated/chat/models/enumsWorkSpaceOrderBy.js +10 -3
- package/dist/generated/chat/models/index.d.ts +2 -0
- package/dist/generated/chat/models/index.js +2 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.js +8 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.js +8 -0
- package/dist/generated/chat/zod.d.ts +57 -256
- package/dist/generated/chat/zod.js +114 -95
- package/dist/generated/config/api.d.ts +13 -1
- package/dist/generated/config/api.js +274 -189
- package/dist/generated/config/api.msw.d.ts +11 -1
- package/dist/generated/config/api.msw.js +399 -513
- package/dist/generated/config/models/containerItem.d.ts +3 -0
- package/dist/generated/config/models/containerItem.js +0 -6
- package/dist/generated/config/models/containerItemIngestion.d.ts +34 -0
- package/dist/generated/config/models/containerItemIngestion.js +8 -0
- package/dist/generated/config/models/containersPostParams.d.ts +4 -0
- package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.d.ts +9 -3
- package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.js +10 -3
- package/dist/generated/config/models/coreManagementInstallParameterType.d.ts +9 -3
- package/dist/generated/config/models/coreManagementInstallParameterType.js +10 -3
- package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.d.ts +9 -3
- package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.js +10 -3
- package/dist/generated/config/models/dataSourcesDataSourcePropertyType.d.ts +9 -3
- package/dist/generated/config/models/dataSourcesDataSourcePropertyType.js +10 -3
- package/dist/generated/config/models/enumsAccessType.d.ts +9 -3
- package/dist/generated/config/models/enumsAccessType.js +10 -3
- package/dist/generated/config/models/enumsActivityType.d.ts +9 -3
- package/dist/generated/config/models/enumsActivityType.js +10 -3
- package/dist/generated/config/models/enumsAppPrincipalType.d.ts +9 -3
- package/dist/generated/config/models/enumsAppPrincipalType.js +10 -3
- package/dist/generated/config/models/enumsBlockScope.d.ts +9 -3
- package/dist/generated/config/models/enumsBlockScope.js +10 -3
- package/dist/generated/config/models/enumsBlockType.d.ts +9 -3
- package/dist/generated/config/models/enumsBlockType.js +10 -3
- package/dist/generated/config/models/enumsDataSetScopingMode.d.ts +9 -3
- package/dist/generated/config/models/enumsDataSetScopingMode.js +10 -3
- package/dist/generated/config/models/enumsDataSourceCredentialType.d.ts +9 -3
- package/dist/generated/config/models/enumsDataSourceCredentialType.js +10 -3
- package/dist/generated/config/models/enumsFlowTriggerType.d.ts +9 -3
- package/dist/generated/config/models/enumsFlowTriggerType.js +10 -3
- package/dist/generated/config/models/enumsFlowVariableAccess.d.ts +9 -3
- package/dist/generated/config/models/enumsFlowVariableAccess.js +10 -3
- package/dist/generated/config/models/enumsIngestionStatus.d.ts +9 -3
- package/dist/generated/config/models/enumsIngestionStatus.js +10 -3
- package/dist/generated/config/models/enumsMessageValueType.d.ts +9 -3
- package/dist/generated/config/models/enumsMessageValueType.js +10 -3
- package/dist/generated/config/models/enumsModelDeploymentProviderType.d.ts +9 -3
- package/dist/generated/config/models/enumsModelDeploymentProviderType.js +10 -3
- package/dist/generated/config/models/enumsModelDeploymentStatus.d.ts +9 -3
- package/dist/generated/config/models/enumsModelDeploymentStatus.js +10 -3
- package/dist/generated/config/models/enumsModelDeploymentStepName.d.ts +9 -3
- package/dist/generated/config/models/enumsModelDeploymentStepName.js +10 -3
- package/dist/generated/config/models/enumsModelPropertyType.d.ts +9 -3
- package/dist/generated/config/models/enumsModelPropertyType.js +10 -3
- package/dist/generated/config/models/enumsModelPublisher.d.ts +9 -3
- package/dist/generated/config/models/enumsModelPublisher.js +10 -3
- package/dist/generated/config/models/enumsModelRole.d.ts +9 -3
- package/dist/generated/config/models/enumsModelRole.js +10 -3
- package/dist/generated/config/models/enumsNotificationType.d.ts +9 -3
- package/dist/generated/config/models/enumsNotificationType.js +10 -3
- package/dist/generated/config/models/enumsPermissions.d.ts +1 -2
- package/dist/generated/config/models/enumsPermissionsItem.d.ts +9 -3
- package/dist/generated/config/models/enumsPermissionsItem.js +10 -3
- package/dist/generated/config/models/enumsPinType.d.ts +9 -3
- package/dist/generated/config/models/enumsPinType.js +10 -3
- package/dist/generated/config/models/enumsPortType.d.ts +9 -3
- package/dist/generated/config/models/enumsPortType.js +10 -3
- package/dist/generated/config/models/enumsVirtualMachineServerType.d.ts +9 -3
- package/dist/generated/config/models/enumsVirtualMachineServerType.js +10 -3
- package/dist/generated/config/models/index.d.ts +5 -1
- package/dist/generated/config/models/index.js +5 -1
- package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.js +8 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +4 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +15 -0
- package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.d.ts +9 -3
- package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.js +10 -3
- package/dist/generated/config/models/reportingDuration.d.ts +9 -3
- package/dist/generated/config/models/reportingDuration.js +10 -3
- package/dist/generated/config/models/reportingSplit.d.ts +9 -3
- package/dist/generated/config/models/reportingSplit.js +10 -3
- package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
- package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
- package/dist/generated/config/models/syncsSync.d.ts +8 -0
- package/dist/generated/config/zod.d.ts +344 -874
- package/dist/generated/config/zod.js +508 -298
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type { AiModel, CommentComment, CommentCreateComment, CreateMessageThread, DocumentsGetDocumentSasParams, FilesDownloadFileParams, FilesFile, FilesFileUriResponse, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, IntegrationsAzureStorageSasToken, MessageThreadMessageThreadSummary, MessageThreadsGetCommentsParams, MessageThreadsThreadMessagesIdMessagesParams, MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams, MessagesCreateMessageInput, MessagesGetCommentsParams, MessagesMessage, MessagesMessageCreatorProfileImage, MessagesMessageRequest, ModelsGetModelsParams, NotificationGetParams, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAiModelSummary, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionMessagesMessage, PagedDataCollectionWorkSpacesWorkSpace, UsersAppUser, WorkSpacesGetAccessParams, WorkSpacesGetGetParams, WorkSpacesGetUsersParams, WorkSpacesThreadParams, WorkSpacesWorkSpace } from './models';
|
|
7
|
+
import type { AiModel, CommentComment, CommentCreateComment, CreateMessageThread, DocumentsGetDocumentSasParams, FilesDownloadFileParams, FilesFile, FilesFileUriResponse, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, MessageThreadMessageThreadSummary, MessageThreadsGetCommentsParams, MessageThreadsThreadMessagesIdMessagesParams, MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams, MessagesCreateMessageInput, MessagesGetCommentsParams, MessagesMessage, MessagesMessageCreatorProfileImage, MessagesMessageRequest, ModelsGetModelsParams, NotificationGetParams, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAiModelSummary, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionMessagesMessage, PagedDataCollectionWorkSpacesWorkSpace, UsersAppUser, WorkSpacesGetAccessParams, WorkSpacesGetGetParams, WorkSpacesGetUsersParams, WorkSpacesThreadParams, WorkSpacesWorkSpace } from './models';
|
|
8
8
|
export declare const getSmartSpaceChatAPI: () => {
|
|
9
9
|
filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<void | FilesFile[], any, {}>>;
|
|
10
10
|
filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<FilesFile, any, {}>>;
|
|
@@ -35,6 +35,8 @@ export declare const getSmartSpaceChatAPI: () => {
|
|
|
35
35
|
notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationsPagedNotifications, any, {}>>;
|
|
36
36
|
notificationPutUpdate: (notificationPutUpdateBody: string[]) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
37
37
|
notificationPutUpdateall: () => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
38
|
+
speechGetConfig: () => Promise<import("axios").AxiosResponse<IntegrationsAzureSpeechSpeechConfig, any, {}>>;
|
|
39
|
+
speechGetToken: () => Promise<import("axios").AxiosResponse<IntegrationsAzureSpeechSpeechToken, any, {}>>;
|
|
38
40
|
usersGetUserPhoto: (id: string) => Promise<import("axios").AxiosResponse<Blob, any, {}>>;
|
|
39
41
|
workSpacesGetGet: (params?: WorkSpacesGetGetParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionWorkSpacesWorkSpace, any, {}>>;
|
|
40
42
|
workSpacesGetId: (id: string) => Promise<import("axios").AxiosResponse<WorkSpacesWorkSpace, any, {}>>;
|
|
@@ -77,6 +79,8 @@ export type ModelsGetModelResult = NonNullable<Awaited<ReturnType<ReturnType<typ
|
|
|
77
79
|
export type NotificationGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationGet']>>>;
|
|
78
80
|
export type NotificationPutUpdateResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationPutUpdate']>>>;
|
|
79
81
|
export type NotificationPutUpdateallResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['notificationPutUpdateall']>>>;
|
|
82
|
+
export type SpeechGetConfigResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['speechGetConfig']>>>;
|
|
83
|
+
export type SpeechGetTokenResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['speechGetToken']>>>;
|
|
80
84
|
export type UsersGetUserPhotoResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['usersGetUserPhoto']>>>;
|
|
81
85
|
export type WorkSpacesGetGetResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetGet']>>>;
|
|
82
86
|
export type WorkSpacesGetIdResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceChatAPI>['workSpacesGetId']>>>;
|
|
@@ -29,7 +29,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
29
29
|
if (filesUploadFilesBody.workspaceId !== undefined) {
|
|
30
30
|
formData.append(`workspaceId`, filesUploadFilesBody.workspaceId);
|
|
31
31
|
}
|
|
32
|
-
return (0, instance_1.customInstance)({ url: `/Files`, method: 'POST',
|
|
32
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files`, method: 'POST',
|
|
33
33
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
34
34
|
data: formData
|
|
35
35
|
});
|
|
@@ -38,7 +38,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
38
38
|
* @summary Get details for a file previously uploaded.
|
|
39
39
|
*/
|
|
40
40
|
const filesGetFileInfo = (id, params) => {
|
|
41
|
-
return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
|
|
41
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}`, method: 'GET',
|
|
42
42
|
params
|
|
43
43
|
});
|
|
44
44
|
};
|
|
@@ -46,7 +46,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
46
46
|
* @summary Download a previously uploaded file.
|
|
47
47
|
*/
|
|
48
48
|
const filesDownloadFile = (id, params) => {
|
|
49
|
-
return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
|
|
49
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
|
|
50
50
|
params
|
|
51
51
|
});
|
|
52
52
|
};
|
|
@@ -54,7 +54,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
54
54
|
* @summary Get URI of a previously uploaded file.
|
|
55
55
|
*/
|
|
56
56
|
const filesGetUri = (id, params) => {
|
|
57
|
-
return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
|
|
57
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
|
|
58
58
|
params
|
|
59
59
|
});
|
|
60
60
|
};
|
|
@@ -64,15 +64,15 @@ const getSmartSpaceChatAPI = () => {
|
|
|
64
64
|
engine stops between block executions, typically within seconds.
|
|
65
65
|
*/
|
|
66
66
|
const flowRunsCancelFlowRun = (id) => {
|
|
67
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/cancel`, method: 'POST'
|
|
67
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/cancel`, method: 'POST'
|
|
68
68
|
});
|
|
69
69
|
};
|
|
70
70
|
const flowRunsGetVariables = (id) => {
|
|
71
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables`, method: 'GET'
|
|
71
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
|
|
72
72
|
});
|
|
73
73
|
};
|
|
74
74
|
const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
|
|
75
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
|
|
75
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
|
|
76
76
|
headers: { 'Content-Type': 'application/*+json', },
|
|
77
77
|
data: flowRunsSetVariableBody
|
|
78
78
|
});
|
|
@@ -81,18 +81,18 @@ const getSmartSpaceChatAPI = () => {
|
|
|
81
81
|
* @summary Delete a specific message thread from SmartSpace, using it's ID.
|
|
82
82
|
*/
|
|
83
83
|
const messageThreadsThreadId = (id) => {
|
|
84
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}`, method: 'DELETE'
|
|
84
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}`, method: 'DELETE'
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
87
|
const messageThreadsGetMessageThreadId = (id) => {
|
|
88
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}`, method: 'GET'
|
|
88
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}`, method: 'GET'
|
|
89
89
|
});
|
|
90
90
|
};
|
|
91
91
|
/**
|
|
92
92
|
* @summary Retrieve comments from a specified message thread in SmartSpace, using the thread's ID, with take and skip for pagination control.
|
|
93
93
|
*/
|
|
94
94
|
const messageThreadsGetComments = (id, params) => {
|
|
95
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/comments`, method: 'GET',
|
|
95
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/comments`, method: 'GET',
|
|
96
96
|
params
|
|
97
97
|
});
|
|
98
98
|
};
|
|
@@ -100,7 +100,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
100
100
|
* @summary Submit a new comment to a specific message thread in SmartSpace, identified by the thread's ID, using the provided comment schema.
|
|
101
101
|
*/
|
|
102
102
|
const messageThreadsPostComment = (id, commentCreateComment) => {
|
|
103
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/comments`, method: 'POST',
|
|
103
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/comments`, method: 'POST',
|
|
104
104
|
headers: { 'Content-Type': 'application/*+json', },
|
|
105
105
|
data: commentCreateComment
|
|
106
106
|
});
|
|
@@ -109,7 +109,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
109
109
|
* @summary Mark a message thread as favorited or not in SmartSpace, using the thread's ID and a boolean value in the request.
|
|
110
110
|
*/
|
|
111
111
|
const messageThreadsSetFavoritedChat = (id, boolean) => {
|
|
112
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/favorited`, method: 'PUT',
|
|
112
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/favorited`, method: 'PUT',
|
|
113
113
|
headers: { 'Content-Type': 'application/*+json', },
|
|
114
114
|
data: boolean
|
|
115
115
|
});
|
|
@@ -118,14 +118,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
118
118
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
119
119
|
*/
|
|
120
120
|
const messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages = (id) => {
|
|
121
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
121
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
124
|
/**
|
|
125
125
|
* @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
|
|
126
126
|
*/
|
|
127
127
|
const messageThreadsThreadMessagesIdMessages = (id, params) => {
|
|
128
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messages`, method: 'GET',
|
|
128
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/messages`, method: 'GET',
|
|
129
129
|
params
|
|
130
130
|
});
|
|
131
131
|
};
|
|
@@ -137,14 +137,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
137
137
|
mean reconnect is just "re-open" — no cursor handshake.
|
|
138
138
|
*/
|
|
139
139
|
const messageThreadsStreamThreadMessagesIdMessagesStream = (id) => {
|
|
140
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/messages/stream`, method: 'GET'
|
|
140
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/messages/stream`, method: 'GET'
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
144
144
|
* @summary Update the name of a message thread in SmartSpace, using the thread's ID and providing the new name in the request.
|
|
145
145
|
*/
|
|
146
146
|
const messageThreadsThreadIdName = (id, messageThreadsThreadIdNameBody) => {
|
|
147
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${id}/name`, method: 'PUT',
|
|
147
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${id}/name`, method: 'PUT',
|
|
148
148
|
headers: { 'Content-Type': 'application/*+json', },
|
|
149
149
|
data: messageThreadsThreadIdNameBody
|
|
150
150
|
});
|
|
@@ -153,14 +153,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
153
153
|
* @summary Get the users who have access to a specific message thread.
|
|
154
154
|
*/
|
|
155
155
|
const messageThreadsGetThreadUsers = (threadId) => {
|
|
156
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users`, method: 'GET'
|
|
156
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${threadId}/users`, method: 'GET'
|
|
157
157
|
});
|
|
158
158
|
};
|
|
159
159
|
/**
|
|
160
160
|
* @summary Add a user to a message thread.
|
|
161
161
|
*/
|
|
162
162
|
const messageThreadsAddThreadUser = (threadId, userId) => {
|
|
163
|
-
return (0, instance_1.customInstance)({ url: `/MessageThreads/${threadId}/users/${userId}`, method: 'POST'
|
|
163
|
+
return (0, instance_1.customInstance)({ url: `/v1/MessageThreads/${threadId}/users/${userId}`, method: 'POST'
|
|
164
164
|
});
|
|
165
165
|
};
|
|
166
166
|
/**
|
|
@@ -172,7 +172,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
172
172
|
`POST /messages/start` instead.
|
|
173
173
|
*/
|
|
174
174
|
const messagesThreadMessages = (messagesMessageRequest) => {
|
|
175
|
-
return (0, instance_1.customInstance)({ url: `/Messages`, method: 'POST',
|
|
175
|
+
return (0, instance_1.customInstance)({ url: `/v1/Messages`, method: 'POST',
|
|
176
176
|
headers: { 'Content-Type': 'application/*+json', },
|
|
177
177
|
data: messagesMessageRequest
|
|
178
178
|
});
|
|
@@ -186,7 +186,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
186
186
|
live updates instead of waiting for the flow to complete.
|
|
187
187
|
*/
|
|
188
188
|
const messagesStartThreadMessage = (messagesMessageRequest) => {
|
|
189
|
-
return (0, instance_1.customInstance)({ url: `/Messages/start`, method: 'POST',
|
|
189
|
+
return (0, instance_1.customInstance)({ url: `/v1/Messages/start`, method: 'POST',
|
|
190
190
|
headers: { 'Content-Type': 'application/*+json', },
|
|
191
191
|
data: messagesMessageRequest
|
|
192
192
|
});
|
|
@@ -195,14 +195,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
195
195
|
* @summary Remove a specific message from SmartSpace using its ID.
|
|
196
196
|
*/
|
|
197
197
|
const messagesMessage = (id) => {
|
|
198
|
-
return (0, instance_1.customInstance)({ url: `/Messages/${id}`, method: 'DELETE'
|
|
198
|
+
return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}`, method: 'DELETE'
|
|
199
199
|
});
|
|
200
200
|
};
|
|
201
201
|
/**
|
|
202
202
|
* @summary Retrieve comments attached to a specific message in SmartSpace, using the message's ID, with pagination options 'take' and 'skip'.
|
|
203
203
|
*/
|
|
204
204
|
const messagesGetComments = (id, params) => {
|
|
205
|
-
return (0, instance_1.customInstance)({ url: `/Messages/${id}/comments`, method: 'GET',
|
|
205
|
+
return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}/comments`, method: 'GET',
|
|
206
206
|
params
|
|
207
207
|
});
|
|
208
208
|
};
|
|
@@ -210,7 +210,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
210
210
|
* @summary Add a new comment to a message in SmartSpace, using the message's ID and comment details in the request.
|
|
211
211
|
*/
|
|
212
212
|
const messagesPostComment = (id, commentCreateComment) => {
|
|
213
|
-
return (0, instance_1.customInstance)({ url: `/Messages/${id}/comments`, method: 'POST',
|
|
213
|
+
return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}/comments`, method: 'POST',
|
|
214
214
|
headers: { 'Content-Type': 'application/*+json', },
|
|
215
215
|
data: commentCreateComment
|
|
216
216
|
});
|
|
@@ -223,7 +223,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
223
223
|
frame being the authoritative completed message.
|
|
224
224
|
*/
|
|
225
225
|
const messagesAddValueToMessage = (id, messagesCreateMessageInput) => {
|
|
226
|
-
return (0, instance_1.customInstance)({ url: `/Messages/${id}/values`, method: 'POST',
|
|
226
|
+
return (0, instance_1.customInstance)({ url: `/v1/Messages/${id}/values`, method: 'POST',
|
|
227
227
|
headers: { 'Content-Type': 'application/*+json', },
|
|
228
228
|
data: messagesCreateMessageInput
|
|
229
229
|
});
|
|
@@ -232,7 +232,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
232
232
|
* @summary Retrieves a list of models.
|
|
233
233
|
*/
|
|
234
234
|
const modelsGetModels = (params) => {
|
|
235
|
-
return (0, instance_1.customInstance)({ url: `/Models`, method: 'GET',
|
|
235
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'GET',
|
|
236
236
|
params
|
|
237
237
|
});
|
|
238
238
|
};
|
|
@@ -240,14 +240,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
240
240
|
* @summary Retrieves a model by its ID.
|
|
241
241
|
*/
|
|
242
242
|
const modelsGetModel = (id) => {
|
|
243
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'GET'
|
|
243
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'GET'
|
|
244
244
|
});
|
|
245
245
|
};
|
|
246
246
|
/**
|
|
247
247
|
* @summary Retrieve notifications for user login.
|
|
248
248
|
*/
|
|
249
249
|
const notificationGet = (params) => {
|
|
250
|
-
return (0, instance_1.customInstance)({ url: `/Notification`, method: 'GET',
|
|
250
|
+
return (0, instance_1.customInstance)({ url: `/v1/Notification`, method: 'GET',
|
|
251
251
|
params
|
|
252
252
|
});
|
|
253
253
|
};
|
|
@@ -255,7 +255,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
255
255
|
* @summary Update: mark read notifications.
|
|
256
256
|
*/
|
|
257
257
|
const notificationPutUpdate = (notificationPutUpdateBody) => {
|
|
258
|
-
return (0, instance_1.customInstance)({ url: `/Notification/update`, method: 'PUT',
|
|
258
|
+
return (0, instance_1.customInstance)({ url: `/v1/Notification/update`, method: 'PUT',
|
|
259
259
|
headers: { 'Content-Type': 'application/*+json', },
|
|
260
260
|
data: notificationPutUpdateBody
|
|
261
261
|
});
|
|
@@ -264,7 +264,25 @@ const getSmartSpaceChatAPI = () => {
|
|
|
264
264
|
* @summary Update: mark read all notifications.
|
|
265
265
|
*/
|
|
266
266
|
const notificationPutUpdateall = () => {
|
|
267
|
-
return (0, instance_1.customInstance)({ url: `/Notification/updateall`, method: 'PUT'
|
|
267
|
+
return (0, instance_1.customInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
|
|
268
|
+
});
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
* @summary Whether speech-to-text (composer dictation) is available on this install, and how the browser
|
|
272
|
+
should connect. The UI decides whether to render the microphone from this, so it answers for
|
|
273
|
+
the install rather than failing: an install without speech reports enabled = false.
|
|
274
|
+
*/
|
|
275
|
+
const speechGetConfig = () => {
|
|
276
|
+
return (0, instance_1.customInstance)({ url: `/v1/Speech/config`, method: 'GET'
|
|
277
|
+
});
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* @summary A token from this install's Speech account token service, which the browser passes straight
|
|
281
|
+
to Azure AI Speech to stream audio for recognition. Roughly ten minutes of life, scoped to
|
|
282
|
+
recognition on this one resource in one region.
|
|
283
|
+
*/
|
|
284
|
+
const speechGetToken = () => {
|
|
285
|
+
return (0, instance_1.customInstance)({ url: `/v1/Speech/token`, method: 'GET'
|
|
268
286
|
});
|
|
269
287
|
};
|
|
270
288
|
/**
|
|
@@ -272,7 +290,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
272
290
|
so browsers can cache the image via standard img src usage.
|
|
273
291
|
*/
|
|
274
292
|
const usersGetUserPhoto = (id) => {
|
|
275
|
-
return (0, instance_1.customInstance)({ url: `/Users/${id}/photo`, method: 'GET',
|
|
293
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
|
|
276
294
|
responseType: 'blob'
|
|
277
295
|
});
|
|
278
296
|
};
|
|
@@ -280,7 +298,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
280
298
|
* @summary Fetches a list of all workspaces with pagination.
|
|
281
299
|
*/
|
|
282
300
|
const workSpacesGetGet = (params) => {
|
|
283
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'GET',
|
|
301
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
|
|
284
302
|
params
|
|
285
303
|
});
|
|
286
304
|
};
|
|
@@ -288,14 +306,14 @@ const getSmartSpaceChatAPI = () => {
|
|
|
288
306
|
* @summary Retrieves a workspace by its ID.
|
|
289
307
|
*/
|
|
290
308
|
const workSpacesGetId = (id) => {
|
|
291
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'GET'
|
|
309
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
|
|
292
310
|
});
|
|
293
311
|
};
|
|
294
312
|
/**
|
|
295
313
|
* @summary Retrieves the access control details of a workspace.
|
|
296
314
|
*/
|
|
297
315
|
const workSpacesGetAccess = (id, params) => {
|
|
298
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/access`, method: 'GET',
|
|
316
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/access`, method: 'GET',
|
|
299
317
|
params
|
|
300
318
|
});
|
|
301
319
|
};
|
|
@@ -303,12 +321,12 @@ const getSmartSpaceChatAPI = () => {
|
|
|
303
321
|
* @summary Retrieves all message threads associated with a specified workspace.
|
|
304
322
|
*/
|
|
305
323
|
const workSpacesThread = (id, params) => {
|
|
306
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
324
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
307
325
|
params
|
|
308
326
|
});
|
|
309
327
|
};
|
|
310
328
|
const workSpacesGetUsers = (id, params) => {
|
|
311
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/users`, method: 'GET',
|
|
329
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/users`, method: 'GET',
|
|
312
330
|
params
|
|
313
331
|
});
|
|
314
332
|
};
|
|
@@ -316,32 +334,32 @@ const getSmartSpaceChatAPI = () => {
|
|
|
316
334
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific document in a data space, using the dataSpaceId and optional file parameter.
|
|
317
335
|
*/
|
|
318
336
|
const documentsGetDocumentSas = (dataSpaceId, params) => {
|
|
319
|
-
return (0, instance_1.customInstance)({ url: `/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
337
|
+
return (0, instance_1.customInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
320
338
|
params
|
|
321
339
|
});
|
|
322
340
|
};
|
|
323
341
|
const messageThreadsCreateMessageThread = (workspaceId, createMessageThread) => {
|
|
324
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads`, method: 'POST',
|
|
342
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads`, method: 'POST',
|
|
325
343
|
headers: { 'Content-Type': 'application/*+json', },
|
|
326
344
|
data: createMessageThread
|
|
327
345
|
});
|
|
328
346
|
};
|
|
329
347
|
const messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId = (workspaceId, id) => {
|
|
330
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
|
|
348
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}`, method: 'GET'
|
|
331
349
|
});
|
|
332
350
|
};
|
|
333
351
|
/**
|
|
334
352
|
* @summary Retrieves messages from a specific message thread along with the profile images of the users who created the messages.
|
|
335
353
|
*/
|
|
336
354
|
const messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages = (workspaceId, id) => {
|
|
337
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
355
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messagecreateduserprofileimages`, method: 'GET'
|
|
338
356
|
});
|
|
339
357
|
};
|
|
340
358
|
/**
|
|
341
359
|
* @summary Access messages within a specific message thread in SmartSpace, using the thread's ID, along with pagination options take and skip.
|
|
342
360
|
*/
|
|
343
361
|
const messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages = (workspaceId, id, params) => {
|
|
344
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages`, method: 'GET',
|
|
362
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messages`, method: 'GET',
|
|
345
363
|
params
|
|
346
364
|
});
|
|
347
365
|
};
|
|
@@ -353,9 +371,9 @@ const getSmartSpaceChatAPI = () => {
|
|
|
353
371
|
mean reconnect is just "re-open" — no cursor handshake.
|
|
354
372
|
*/
|
|
355
373
|
const messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream = (workspaceId, id) => {
|
|
356
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
|
|
374
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/messagethreads/${id}/messages/stream`, method: 'GET'
|
|
357
375
|
});
|
|
358
376
|
};
|
|
359
|
-
return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCancelFlowRun, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsStreamThreadMessagesIdMessagesStream, messageThreadsThreadIdName, messageThreadsGetThreadUsers, messageThreadsAddThreadUser, messagesThreadMessages, messagesStartThreadMessage, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages, messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream };
|
|
377
|
+
return { filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCancelFlowRun, flowRunsGetVariables, flowRunsSetVariable, messageThreadsThreadId, messageThreadsGetMessageThreadId, messageThreadsGetComments, messageThreadsPostComment, messageThreadsSetFavoritedChat, messageThreadsThreadMessageCreateByUsersProfileImagesIdMessagecreateduserprofileimages, messageThreadsThreadMessagesIdMessages, messageThreadsStreamThreadMessagesIdMessagesStream, messageThreadsThreadIdName, messageThreadsGetThreadUsers, messageThreadsAddThreadUser, messagesThreadMessages, messagesStartThreadMessage, messagesMessage, messagesGetComments, messagesPostComment, messagesAddValueToMessage, modelsGetModels, modelsGetModel, notificationGet, notificationPutUpdate, notificationPutUpdateall, speechGetConfig, speechGetToken, usersGetUserPhoto, workSpacesGetGet, workSpacesGetId, workSpacesGetAccess, workSpacesThread, workSpacesGetUsers, documentsGetDocumentSas, messageThreadsCreateMessageThread, messageThreadsGetMessageThreadWorkspacesWorkspaceIdMessagethreadsId, messageThreadsThreadMessageCreateByUsersProfileImagesWorkspacesWorkspaceIdMessagethreadsIdMessagecreateduserprofileimages, messageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessages, messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesStream };
|
|
360
378
|
};
|
|
361
379
|
exports.getSmartSpaceChatAPI = getSmartSpaceChatAPI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { http } from 'msw';
|
|
2
2
|
import type { RequestHandlerOptions } from 'msw';
|
|
3
|
-
import type { AiModel, CommentComment, FilesFile, FilesFileUriResponse, IntegrationsAzureStorageSasToken, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAiModelSummary, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionMessagesMessage, PagedDataCollectionWorkSpacesWorkSpace, UsersAppUser, WorkSpacesWorkSpace } from './models';
|
|
3
|
+
import type { AiModel, CommentComment, FilesFile, FilesFileUriResponse, IntegrationsAzureSpeechSpeechConfig, IntegrationsAzureSpeechSpeechToken, IntegrationsAzureStorageSasToken, MessageThreadMessageThreadSummary, MessagesMessage, MessagesMessageCreatorProfileImage, NotificationsPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionAiModelSummary, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionMessagesMessage, PagedDataCollectionWorkSpacesWorkSpace, UsersAppUser, WorkSpacesWorkSpace } from './models';
|
|
4
4
|
import type { FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two } from './models';
|
|
5
5
|
export declare const getFilesUploadFilesResponseMock: () => FilesFile[] | void;
|
|
6
6
|
export declare const getFilesGetFileInfoResponseMock: (overrideResponse?: Partial<FilesFile>) => FilesFile;
|
|
@@ -20,6 +20,8 @@ export declare const getMessagesAddValueToMessageResponseMock: (overrideResponse
|
|
|
20
20
|
export declare const getModelsGetModelsResponseMock: (overrideResponse?: Partial<PagedDataCollectionAiModelSummary>) => PagedDataCollectionAiModelSummary;
|
|
21
21
|
export declare const getModelsGetModelResponseMock: (overrideResponse?: Partial<AiModel>) => AiModel;
|
|
22
22
|
export declare const getNotificationGetResponseMock: (overrideResponse?: Partial<NotificationsPagedNotifications>) => NotificationsPagedNotifications;
|
|
23
|
+
export declare const getSpeechGetConfigResponseMock: (overrideResponse?: Partial<IntegrationsAzureSpeechSpeechConfig>) => IntegrationsAzureSpeechSpeechConfig;
|
|
24
|
+
export declare const getSpeechGetTokenResponseMock: (overrideResponse?: Partial<IntegrationsAzureSpeechSpeechToken>) => IntegrationsAzureSpeechSpeechToken;
|
|
23
25
|
export declare const getUsersGetUserPhotoResponseMock: () => Blob;
|
|
24
26
|
export declare const getWorkSpacesGetGetResponseMock: (overrideResponse?: Partial<PagedDataCollectionWorkSpacesWorkSpace>) => PagedDataCollectionWorkSpacesWorkSpace;
|
|
25
27
|
export declare const getWorkSpacesGetIdResponseMock: (overrideResponse?: Partial<WorkSpacesWorkSpace>) => WorkSpacesWorkSpace;
|
|
@@ -60,6 +62,8 @@ export declare const getModelsGetModelMockHandler: (overrideResponse?: AiModel |
|
|
|
60
62
|
export declare const getNotificationGetMockHandler: (overrideResponse?: NotificationsPagedNotifications | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<NotificationsPagedNotifications> | NotificationsPagedNotifications), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
61
63
|
export declare const getNotificationPutUpdateMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
62
64
|
export declare const getNotificationPutUpdateallMockHandler: (overrideResponse?: void | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<void> | void) | undefined, options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
65
|
+
export declare const getSpeechGetConfigMockHandler: (overrideResponse?: IntegrationsAzureSpeechSpeechConfig | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsAzureSpeechSpeechConfig> | IntegrationsAzureSpeechSpeechConfig), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
66
|
+
export declare const getSpeechGetTokenMockHandler: (overrideResponse?: IntegrationsAzureSpeechSpeechToken | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<IntegrationsAzureSpeechSpeechToken> | IntegrationsAzureSpeechSpeechToken), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
63
67
|
export declare const getUsersGetUserPhotoMockHandler: (overrideResponse?: Blob | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<Blob> | Blob), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
64
68
|
export declare const getWorkSpacesGetGetMockHandler: (overrideResponse?: PagedDataCollectionWorkSpacesWorkSpace | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<PagedDataCollectionWorkSpacesWorkSpace> | PagedDataCollectionWorkSpacesWorkSpace), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
65
69
|
export declare const getWorkSpacesGetIdMockHandler: (overrideResponse?: WorkSpacesWorkSpace | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<WorkSpacesWorkSpace> | WorkSpacesWorkSpace), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|