@smartspace/api-client 0.1.0-pr.815.b53848e → 0.1.0-pr.817.50acd74
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 +6 -6
- package/dist/generated/chat/api.js +4 -4
- package/dist/generated/chat/models/{access.d.ts → accessAccess.d.ts} +1 -1
- package/dist/generated/chat/models/{filesFile.d.ts → file.d.ts} +1 -1
- package/dist/generated/chat/models/{filesFileUriResponse.d.ts → fileUriResponse.d.ts} +1 -1
- package/dist/generated/chat/models/filesDownloadFileParams.d.ts +2 -0
- package/dist/generated/chat/models/filesGetUriParams.d.ts +2 -0
- package/dist/generated/chat/models/index.d.ts +4 -4
- package/dist/generated/chat/models/index.js +4 -4
- package/dist/generated/chat/models/{pagedDataCollectionAccess.d.ts → pagedDataCollectionAccessAccess.d.ts} +3 -3
- package/dist/generated/chat/zod.d.ts +4 -4
- package/dist/generated/chat/zod.js +10 -10
- package/dist/generated/config/api.d.ts +15 -15
- package/dist/generated/config/api.js +12 -12
- package/dist/generated/config/models/{access.d.ts → accessAccess.d.ts} +1 -1
- package/dist/generated/config/models/{accessWorkSpace.d.ts → accessAccessWorkSpace.d.ts} +1 -1
- package/dist/generated/config/models/accessCreateAccess.d.ts +13 -0
- package/dist/generated/config/models/accessGetGroupsParams.d.ts +0 -9
- package/dist/generated/config/models/accessGetUsersInRoleRolesRoleIdUsersParams.d.ts +0 -9
- package/dist/generated/config/models/accessGetUsersInRoleUsersParams.d.ts +0 -13
- package/dist/generated/config/models/{activityActivityWorkSpace.d.ts → activitiesActivityWorkSpace.d.ts} +3 -3
- package/dist/generated/config/models/{activityLlmUsageMetrics.d.ts → activitiesLlmUsageMetrics.d.ts} +1 -1
- package/dist/generated/config/models/activityExportLoggingsParams.d.ts +0 -10
- package/dist/generated/config/models/activityGetLoggingParams.d.ts +0 -16
- package/dist/generated/config/models/{appUserAppUser.d.ts → appUserAppAccessUser.d.ts} +2 -2
- package/dist/generated/config/models/{filesFile.d.ts → file.d.ts} +1 -1
- package/dist/generated/config/models/{filesFileUriResponse.d.ts → fileUriResponse.d.ts} +1 -1
- package/dist/generated/config/models/filesDownloadFileParams.d.ts +2 -0
- package/dist/generated/config/models/filesGetFileInfoParams.d.ts +2 -0
- package/dist/generated/config/models/filesGetUriParams.d.ts +2 -0
- package/dist/generated/config/models/index.d.ts +13 -13
- package/dist/generated/config/models/index.js +13 -13
- package/dist/generated/config/models/{filesIngestedBlob.d.ts → ingestedBlob.d.ts} +3 -3
- package/dist/generated/config/models/{pagedDataCollectionAccess.d.ts → pagedDataCollectionAccessAccess.d.ts} +3 -3
- package/dist/generated/config/models/pagedDataCollectionActivitiesActivityWorkSpace.d.ts +11 -0
- package/dist/generated/config/models/pagedDataCollectionAppUserAppAccessUser.d.ts +11 -0
- package/dist/generated/config/models/{pagedDataCollectionAppUserAppUser.d.ts → pagedDataCollectionIngestedBlob.d.ts} +3 -3
- package/dist/generated/config/models/pagedDataCollectionIngestedBlob.js +2 -0
- package/dist/generated/config/zod.d.ts +29 -73
- package/dist/generated/config/zod.js +74 -96
- package/package.json +1 -1
- package/dist/generated/config/models/filesCreateFileFromBlobUri.d.ts +0 -14
- package/dist/generated/config/models/filesFileUriResponse.js +0 -8
- package/dist/generated/config/models/pagedDataCollectionActivityActivityWorkSpace.d.ts +0 -11
- package/dist/generated/config/models/pagedDataCollectionFilesIngestedBlob.d.ts +0 -11
- /package/dist/generated/chat/models/{access.js → accessAccess.js} +0 -0
- /package/dist/generated/chat/models/{filesFile.js → file.js} +0 -0
- /package/dist/generated/chat/models/{filesFileUriResponse.js → fileUriResponse.js} +0 -0
- /package/dist/generated/chat/models/{pagedDataCollectionAccess.js → pagedDataCollectionAccessAccess.js} +0 -0
- /package/dist/generated/config/models/{access.js → accessAccess.js} +0 -0
- /package/dist/generated/config/models/{accessWorkSpace.js → accessAccessWorkSpace.js} +0 -0
- /package/dist/generated/config/models/{activityActivityWorkSpace.js → accessCreateAccess.js} +0 -0
- /package/dist/generated/config/models/{filesIngestedBlob.js → activitiesActivityWorkSpace.js} +0 -0
- /package/dist/generated/config/models/{activityLlmUsageMetrics.js → activitiesLlmUsageMetrics.js} +0 -0
- /package/dist/generated/config/models/{appUserAppUser.js → appUserAppAccessUser.js} +0 -0
- /package/dist/generated/config/models/{filesCreateFileFromBlobUri.js → file.js} +0 -0
- /package/dist/generated/config/models/{filesFile.js → fileUriResponse.js} +0 -0
- /package/dist/generated/config/models/{pagedDataCollectionAccess.js → ingestedBlob.js} +0 -0
- /package/dist/generated/config/models/{pagedDataCollectionActivityActivityWorkSpace.js → pagedDataCollectionAccessAccess.js} +0 -0
- /package/dist/generated/config/models/{pagedDataCollectionAppUserAppUser.js → pagedDataCollectionActivitiesActivityWorkSpace.js} +0 -0
- /package/dist/generated/config/models/{pagedDataCollectionFilesIngestedBlob.js → pagedDataCollectionAppUserAppAccessUser.js} +0 -0
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type { AppUserAppUser, CommentComment, CreateComment, CreateMessageThread, DocumentsGetDocumentSasParams,
|
|
7
|
+
import type { AppUserAppUser, CommentComment, CreateComment, CreateMessageThread, DocumentsGetDocumentSasParams, File, FileUriResponse, FilesDownloadFileParams, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, IntegrationsAzureStorageSasToken, MessageCreateMessageInput, MessageMessage, MessageMessageCreatorProfileImage, MessageMessageRequest, MessageThreadMessageThreadSummary, MessageThreadsGetCommentsParams, MessageThreadsThreadMessagesIdMessagesParams, MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams, MessagesGetCommentsParams, ModelModel, ModelsGetModelsParams, NotificationGetParams, NotificationPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageMessage, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionModelModelSummary, PagedDataCollectionWorkSpace, WorkSpace, WorkSpacesGetAccessParams, WorkSpacesGetGetParams, WorkSpacesGetUsersParams, WorkSpacesThreadParams } from './models';
|
|
8
8
|
export declare const getSmartSpaceChatAPI: () => {
|
|
9
|
-
filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<
|
|
10
|
-
filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<
|
|
11
|
-
filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<
|
|
12
|
-
filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<
|
|
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<FileUriResponse, any, {}>>;
|
|
13
13
|
flowRunsGetVariables: (id: string) => Promise<import("axios").AxiosResponse<FlowRunsGetVariables200One | FlowRunsGetVariables200Three | FlowRunsGetVariables200Two, any, {}>>;
|
|
14
14
|
flowRunsSetVariable: (id: string, variableName: string, flowRunsSetVariableBody: unknown) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
15
15
|
messageThreadsThreadId: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
@@ -38,7 +38,7 @@ export declare const getSmartSpaceChatAPI: () => {
|
|
|
38
38
|
usersGetUserPhoto: (id: string) => Promise<import("axios").AxiosResponse<Blob, any, {}>>;
|
|
39
39
|
workSpacesGetGet: (params?: WorkSpacesGetGetParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionWorkSpace, any, {}>>;
|
|
40
40
|
workSpacesGetId: (id: string) => Promise<import("axios").AxiosResponse<WorkSpace, any, {}>>;
|
|
41
|
-
workSpacesGetAccess: (id: string, params?: WorkSpacesGetAccessParams) => Promise<import("axios").AxiosResponse<
|
|
41
|
+
workSpacesGetAccess: (id: string, params?: WorkSpacesGetAccessParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAccessAccess, any, {}>>;
|
|
42
42
|
workSpacesThread: (id: string, params?: WorkSpacesThreadParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionMessageThreadMessageThreadSummary, any, {}>>;
|
|
43
43
|
workSpacesGetUsers: (id: string, params?: WorkSpacesGetUsersParams) => Promise<import("axios").AxiosResponse<AppUserAppUser[], any, {}>>;
|
|
44
44
|
documentsGetDocumentSas: (dataSpaceId: string, params?: DocumentsGetDocumentSasParams) => Promise<import("axios").AxiosResponse<IntegrationsAzureStorageSasToken, any, {}>>;
|
|
@@ -4,7 +4,7 @@ exports.getSmartSpaceChatAPI = void 0;
|
|
|
4
4
|
const instance_1 = require("../../instance");
|
|
5
5
|
const getSmartSpaceChatAPI = () => {
|
|
6
6
|
/**
|
|
7
|
-
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
7
|
+
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
8
8
|
*/
|
|
9
9
|
const filesUploadFiles = (filesUploadFilesBody) => {
|
|
10
10
|
const formData = new FormData();
|
|
@@ -35,7 +35,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
|
-
* @summary Get details for a file previously uploaded
|
|
38
|
+
* @summary Get details for a file previously uploaded
|
|
39
39
|
*/
|
|
40
40
|
const filesGetFileInfo = (id, params) => {
|
|
41
41
|
return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
|
|
@@ -43,7 +43,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
* @summary Download a previously uploaded file
|
|
46
|
+
* @summary Download a previously uploaded file
|
|
47
47
|
*/
|
|
48
48
|
const filesDownloadFile = (id, params) => {
|
|
49
49
|
return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
|
|
@@ -51,7 +51,7 @@ const getSmartSpaceChatAPI = () => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
* @summary Get URI of a previously uploaded file
|
|
54
|
+
* @summary Get URI of a previously uploaded file
|
|
55
55
|
*/
|
|
56
56
|
const filesGetUri = (id, params) => {
|
|
57
57
|
return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { EnumsAccessType } from './enumsAccessType';
|
|
8
8
|
import type { EnumsAppPrincipalType } from './enumsAppPrincipalType';
|
|
9
|
-
export interface
|
|
9
|
+
export interface AccessAccess {
|
|
10
10
|
accessType: EnumsAccessType;
|
|
11
11
|
/** @nullable */
|
|
12
12
|
displayName?: string | null;
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export type FilesDownloadFileParams = {
|
|
8
8
|
/**
|
|
9
|
+
* Optional thread ID containing the file
|
|
9
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}$
|
|
10
11
|
*/
|
|
11
12
|
threadId?: string;
|
|
12
13
|
/**
|
|
14
|
+
* Optional workspace ID containing the file
|
|
13
15
|
* @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}$
|
|
14
16
|
*/
|
|
15
17
|
workspaceId?: string;
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export type FilesGetUriParams = {
|
|
8
8
|
/**
|
|
9
|
+
* Optional thread ID containing the file
|
|
9
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}$
|
|
10
11
|
*/
|
|
11
12
|
threadId?: string;
|
|
12
13
|
/**
|
|
14
|
+
* Optional workspace ID containing the file
|
|
13
15
|
* @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}$
|
|
14
16
|
*/
|
|
15
17
|
workspaceId?: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
export * from './
|
|
7
|
+
export * from './accessAccess';
|
|
8
8
|
export * from './appUserAppUser';
|
|
9
9
|
export * from './commentComment';
|
|
10
10
|
export * from './commentCommentSummary';
|
|
@@ -31,9 +31,9 @@ export * from './enumsModelRole';
|
|
|
31
31
|
export * from './enumsNotificationType';
|
|
32
32
|
export * from './enumsVirtualMachineServerType';
|
|
33
33
|
export * from './enumsWorkSpaceOrderBy';
|
|
34
|
+
export * from './file';
|
|
35
|
+
export * from './fileUriResponse';
|
|
34
36
|
export * from './filesDownloadFileParams';
|
|
35
|
-
export * from './filesFile';
|
|
36
|
-
export * from './filesFileUriResponse';
|
|
37
37
|
export * from './filesGetFileInfoParams';
|
|
38
38
|
export * from './filesGetUriParams';
|
|
39
39
|
export * from './filesUploadFilesBody';
|
|
@@ -91,7 +91,7 @@ export * from './modelsGetModelsParams';
|
|
|
91
91
|
export * from './notificationGetParams';
|
|
92
92
|
export * from './notificationNotification';
|
|
93
93
|
export * from './notificationPagedNotifications';
|
|
94
|
-
export * from './
|
|
94
|
+
export * from './pagedDataCollectionAccessAccess';
|
|
95
95
|
export * from './pagedDataCollectionCommentCommentSummary';
|
|
96
96
|
export * from './pagedDataCollectionMessageMessage';
|
|
97
97
|
export * from './pagedDataCollectionMessageThreadMessageThreadSummary';
|
|
@@ -20,7 +20,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
20
20
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
21
21
|
};
|
|
22
22
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
-
__exportStar(require("./
|
|
23
|
+
__exportStar(require("./accessAccess"), exports);
|
|
24
24
|
__exportStar(require("./appUserAppUser"), exports);
|
|
25
25
|
__exportStar(require("./commentComment"), exports);
|
|
26
26
|
__exportStar(require("./commentCommentSummary"), exports);
|
|
@@ -47,9 +47,9 @@ __exportStar(require("./enumsModelRole"), exports);
|
|
|
47
47
|
__exportStar(require("./enumsNotificationType"), exports);
|
|
48
48
|
__exportStar(require("./enumsVirtualMachineServerType"), exports);
|
|
49
49
|
__exportStar(require("./enumsWorkSpaceOrderBy"), exports);
|
|
50
|
+
__exportStar(require("./file"), exports);
|
|
51
|
+
__exportStar(require("./fileUriResponse"), exports);
|
|
50
52
|
__exportStar(require("./filesDownloadFileParams"), exports);
|
|
51
|
-
__exportStar(require("./filesFile"), exports);
|
|
52
|
-
__exportStar(require("./filesFileUriResponse"), exports);
|
|
53
53
|
__exportStar(require("./filesGetFileInfoParams"), exports);
|
|
54
54
|
__exportStar(require("./filesGetUriParams"), exports);
|
|
55
55
|
__exportStar(require("./filesUploadFilesBody"), exports);
|
|
@@ -107,7 +107,7 @@ __exportStar(require("./modelsGetModelsParams"), exports);
|
|
|
107
107
|
__exportStar(require("./notificationGetParams"), exports);
|
|
108
108
|
__exportStar(require("./notificationNotification"), exports);
|
|
109
109
|
__exportStar(require("./notificationPagedNotifications"), exports);
|
|
110
|
-
__exportStar(require("./
|
|
110
|
+
__exportStar(require("./pagedDataCollectionAccessAccess"), exports);
|
|
111
111
|
__exportStar(require("./pagedDataCollectionCommentCommentSummary"), exports);
|
|
112
112
|
__exportStar(require("./pagedDataCollectionMessageMessage"), exports);
|
|
113
113
|
__exportStar(require("./pagedDataCollectionMessageThreadMessageThreadSummary"), exports);
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* SmartSpace Chat API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
8
|
-
export interface
|
|
9
|
-
data:
|
|
7
|
+
import type { AccessAccess } from './accessAccess';
|
|
8
|
+
export interface PagedDataCollectionAccessAccess {
|
|
9
|
+
data: AccessAccess[];
|
|
10
10
|
total: number;
|
|
11
11
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import zod from 'zod';
|
|
8
8
|
/**
|
|
9
|
-
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
9
|
+
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
10
10
|
*/
|
|
11
11
|
export declare const filesUploadFilesBodyThreadIdRegExp: RegExp;
|
|
12
12
|
export declare const filesUploadFilesBodyUploadIdRegExp: RegExp;
|
|
@@ -46,7 +46,7 @@ export declare const filesUploadFilesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
46
46
|
workspaceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
47
47
|
}, zod.core.$strip>>;
|
|
48
48
|
/**
|
|
49
|
-
* @summary Get details for a file previously uploaded
|
|
49
|
+
* @summary Get details for a file previously uploaded
|
|
50
50
|
*/
|
|
51
51
|
export declare const filesGetFileInfoPathIdRegExp: RegExp;
|
|
52
52
|
export declare const filesGetFileInfoParams: zod.ZodObject<{
|
|
@@ -73,7 +73,7 @@ export declare const filesGetFileInfoResponse: zod.ZodObject<{
|
|
|
73
73
|
workspaceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
74
74
|
}, zod.core.$strip>;
|
|
75
75
|
/**
|
|
76
|
-
* @summary Download a previously uploaded file
|
|
76
|
+
* @summary Download a previously uploaded file
|
|
77
77
|
*/
|
|
78
78
|
export declare const filesDownloadFilePathIdRegExp: RegExp;
|
|
79
79
|
export declare const filesDownloadFileParams: zod.ZodObject<{
|
|
@@ -86,7 +86,7 @@ export declare const filesDownloadFileQueryParams: zod.ZodObject<{
|
|
|
86
86
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
87
87
|
}, zod.core.$strict>;
|
|
88
88
|
/**
|
|
89
|
-
* @summary Get URI of a previously uploaded file
|
|
89
|
+
* @summary Get URI of a previously uploaded file
|
|
90
90
|
*/
|
|
91
91
|
export declare const filesGetUriPathIdRegExp: RegExp;
|
|
92
92
|
export declare const filesGetUriParams: zod.ZodObject<{
|
|
@@ -16,7 +16,7 @@ exports.messageThreadsStreamThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdM
|
|
|
16
16
|
*/
|
|
17
17
|
const zod_1 = __importDefault(require("zod"));
|
|
18
18
|
/**
|
|
19
|
-
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
19
|
+
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
20
20
|
*/
|
|
21
21
|
exports.filesUploadFilesBodyThreadIdRegExp = new RegExp('^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$');
|
|
22
22
|
exports.filesUploadFilesBodyUploadIdRegExp = new RegExp('^[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}$');
|
|
@@ -46,7 +46,7 @@ exports.filesUploadFilesResponseItem = zod_1.default.object({
|
|
|
46
46
|
});
|
|
47
47
|
exports.filesUploadFilesResponse = zod_1.default.array(exports.filesUploadFilesResponseItem);
|
|
48
48
|
/**
|
|
49
|
-
* @summary Get details for a file previously uploaded
|
|
49
|
+
* @summary Get details for a file previously uploaded
|
|
50
50
|
*/
|
|
51
51
|
exports.filesGetFileInfoPathIdRegExp = new RegExp('^[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}$');
|
|
52
52
|
exports.filesGetFileInfoParams = zod_1.default.strictObject({
|
|
@@ -73,30 +73,30 @@ exports.filesGetFileInfoResponse = zod_1.default.object({
|
|
|
73
73
|
"workspaceId": zod_1.default.string().regex(exports.filesGetFileInfoResponseWorkspaceIdRegExp).nullish()
|
|
74
74
|
});
|
|
75
75
|
/**
|
|
76
|
-
* @summary Download a previously uploaded file
|
|
76
|
+
* @summary Download a previously uploaded file
|
|
77
77
|
*/
|
|
78
78
|
exports.filesDownloadFilePathIdRegExp = new RegExp('^[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}$');
|
|
79
79
|
exports.filesDownloadFileParams = zod_1.default.strictObject({
|
|
80
|
-
"id": zod_1.default.string().regex(exports.filesDownloadFilePathIdRegExp)
|
|
80
|
+
"id": zod_1.default.string().regex(exports.filesDownloadFilePathIdRegExp).describe('File id')
|
|
81
81
|
});
|
|
82
82
|
exports.filesDownloadFileQueryThreadIdRegExp = new RegExp('^[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}$');
|
|
83
83
|
exports.filesDownloadFileQueryWorkspaceIdRegExp = new RegExp('^[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}$');
|
|
84
84
|
exports.filesDownloadFileQueryParams = zod_1.default.strictObject({
|
|
85
|
-
"threadId": zod_1.default.string().regex(exports.filesDownloadFileQueryThreadIdRegExp).optional(),
|
|
86
|
-
"workspaceId": zod_1.default.string().regex(exports.filesDownloadFileQueryWorkspaceIdRegExp).optional()
|
|
85
|
+
"threadId": zod_1.default.string().regex(exports.filesDownloadFileQueryThreadIdRegExp).optional().describe('Optional thread ID containing the file'),
|
|
86
|
+
"workspaceId": zod_1.default.string().regex(exports.filesDownloadFileQueryWorkspaceIdRegExp).optional().describe('Optional workspace ID containing the file')
|
|
87
87
|
});
|
|
88
88
|
/**
|
|
89
|
-
* @summary Get URI of a previously uploaded file
|
|
89
|
+
* @summary Get URI of a previously uploaded file
|
|
90
90
|
*/
|
|
91
91
|
exports.filesGetUriPathIdRegExp = new RegExp('^[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}$');
|
|
92
92
|
exports.filesGetUriParams = zod_1.default.strictObject({
|
|
93
|
-
"id": zod_1.default.string().regex(exports.filesGetUriPathIdRegExp)
|
|
93
|
+
"id": zod_1.default.string().regex(exports.filesGetUriPathIdRegExp).describe('File id')
|
|
94
94
|
});
|
|
95
95
|
exports.filesGetUriQueryThreadIdRegExp = new RegExp('^[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}$');
|
|
96
96
|
exports.filesGetUriQueryWorkspaceIdRegExp = new RegExp('^[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}$');
|
|
97
97
|
exports.filesGetUriQueryParams = zod_1.default.strictObject({
|
|
98
|
-
"threadId": zod_1.default.string().regex(exports.filesGetUriQueryThreadIdRegExp).optional(),
|
|
99
|
-
"workspaceId": zod_1.default.string().regex(exports.filesGetUriQueryWorkspaceIdRegExp).optional()
|
|
98
|
+
"threadId": zod_1.default.string().regex(exports.filesGetUriQueryThreadIdRegExp).optional().describe('Optional thread ID containing the file'),
|
|
99
|
+
"workspaceId": zod_1.default.string().regex(exports.filesGetUriQueryWorkspaceIdRegExp).optional().describe('Optional workspace ID containing the file')
|
|
100
100
|
});
|
|
101
101
|
exports.filesGetUriResponse = zod_1.default.object({
|
|
102
102
|
"uri": zod_1.default.string()
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { AccessAccess, AccessAccessWorkSpace, AccessCreateAccess, AccessGetAccessesParams, AccessGetGroupsParams, AccessGetUsersInRoleRolesRoleIdUsersParams, AccessGetUsersInRoleUsersParams, AccessSearchGroupsParams, AccessSearchServicePrincipalsParams, AccessSearchUsersParams, ActivityExportLoggingsParams, ActivityGetLoggingParams, AppRole, AppUserAppUserDetail, AppUserAppUserSearchResult, ApplicationUpdateDeploymentInfo, ApplicationUpdateVersionInfo, BlockBlockSet, BlockInfo, BlockSetsAddBlockSetBody, BlockSetsGetBlockSetsParams, BlocksGetBlocksParams, ConfigApiAddMessageFileFromBlobUri, ConfigApiRunFlowRequest, ContainersPostParams, CoreManagementSmartSpaceUpgradeUpdate, CreateDataSet, CreateDataSource, CreateDataSpace, CreateModel, CreateModelConfiguration, CreateModelDeploymentProvider, CreateWorkSpace, DataSet, DataSetItemCreateRequest, DataSetProperty, DataSetSearchRequest, DataSetsGetContainerItemsRunHistoryParams, DataSetsGetGetParams, DataSetsGetIdItemsParams, DataSourceContainer, DataSourceType, DataSourcesContainersParams, DataSourcesDataSourceContainer, DataSourcesGetParams, DataSourcesTestConnectionResult, DataSpace, DataSpacesGetDataSetsParams, DataSpacesGetParams, DebugLogsResponse, DocumentsGetDocumentSasParams, EnumsModelDeploymentProviderType, EnumsModelRole, EnumsPermissions, File, FileUriResponse, FilesDownloadFileParams, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowDefinition, FlowRunsAddFileIdFilesBody, FlowRunsCreateFlowRunParams, FlowRunsGetStepExecutionsParams, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, FlowRunsSearchFlowRunsParams, IngestedBlob, IntegrationsAzureArmAzureLocation, IntegrationsAzureArmVirtualMachineSize, IntegrationsAzureStorageSasToken, IntegrationsSmartSpaceAiDebugLogsResponse, MessageCreateMessageInput, MessageMessage, MessageMessageCreatorProfileImage, MessageSandBoxMessageRequest, MessageThreadMessageThreadSummary, MessageThreadsGetStepExecutionsParams, MessageThreadsGetWorkspaceExecutionsParams, MicrosoftExtensionsDiagnosticsHealthChecksHealthStatus, ModelModel, ModelProvidersGetProvidersParams, ModelsGetDefaultDockerFileParams, ModelsGetModelsParams, NotificationGetParams, NotificationPagedNotifications, PagedDataCollectionAccessAccess, PagedDataCollectionActivitiesActivityWorkSpace, PagedDataCollectionAppUserAppAccessUser, PagedDataCollectionAppUserAppUserDetail, PagedDataCollectionAppUserAppUserSearchResult, PagedDataCollectionAppUserServicePrincipalSearchResult, PagedDataCollectionAzureADGroup, PagedDataCollectionDataSet, PagedDataCollectionDataSource, PagedDataCollectionDataSpace, PagedDataCollectionIngestedBlob, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionModelModelSummary, PagedDataCollectionWorkSpace, PagedDataCollectionWorkSpaceTemplatesTemplate, ReportingDuration, ReportingGetRequestsParams, ReportingGetTokensParams, ReportingReportDefinitionSystemDateTime, SandBoxGetThreadMessagesParams, TestDataSourceConnection, UpdateDataSet, UpdateDataSetBasicInfo, UpdateDataSource, UpdateDataSourceCredentials, UpdateDataSpace, UsersAdminPermissionParams, UsersGetAccessWorkSpacesParams, UsersGetUsersParams, UsersRemoveUserFromAllWorkSpacesParams, UsersSearchUsersParams, WorkSpace, WorkSpaceBasicInfo, WorkSpaceTemplatesGetParams, WorkSpaceUser, WorkSpacesGetGetParams, WorkSpacesGetThreadsParams, WorkSpacesGetWorkspaceFilesParams, WorkSpacesWorkspaceFilesBody } from './models';
|
|
8
8
|
export declare const getSmartSpaceAdminAPI: () => {
|
|
9
|
-
accessGetAccesses: (params?: AccessGetAccessesParams) => Promise<import("axios").AxiosResponse<
|
|
10
|
-
accessAddAccess: (
|
|
11
|
-
accessGetGroups: (params?: AccessGetGroupsParams) => Promise<import("axios").AxiosResponse<
|
|
9
|
+
accessGetAccesses: (params?: AccessGetAccessesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAccessAccess, any, {}>>;
|
|
10
|
+
accessAddAccess: (accessCreateAccess: AccessCreateAccess) => Promise<import("axios").AxiosResponse<AccessAccess, any, {}>>;
|
|
11
|
+
accessGetGroups: (params?: AccessGetGroupsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAzureADGroup, any, {}>>;
|
|
12
12
|
accessGetAppRoles: () => Promise<import("axios").AxiosResponse<AppRole[], any, {}>>;
|
|
13
|
-
accessGetUsersInRoleRolesRoleIdUsers: (roleId: string, params?: AccessGetUsersInRoleRolesRoleIdUsersParams) => Promise<import("axios").AxiosResponse<
|
|
13
|
+
accessGetUsersInRoleRolesRoleIdUsers: (roleId: string, params?: AccessGetUsersInRoleRolesRoleIdUsersParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAppUserAppAccessUser, any, {}>>;
|
|
14
14
|
accessSearchGroups: (params?: AccessSearchGroupsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAzureADGroup, any, {}>>;
|
|
15
15
|
accessSearchServicePrincipals: (params?: AccessSearchServicePrincipalsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAppUserServicePrincipalSearchResult, any, {}>>;
|
|
16
16
|
accessSearchUsers: (params?: AccessSearchUsersParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAppUserAppUserSearchResult, any, {}>>;
|
|
17
|
-
accessGetUsersInRoleUsers: (params?: AccessGetUsersInRoleUsersParams) => Promise<import("axios").AxiosResponse<
|
|
17
|
+
accessGetUsersInRoleUsers: (params?: AccessGetUsersInRoleUsersParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAppUserAppAccessUser, any, {}>>;
|
|
18
18
|
accessDeleteAccess: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
19
19
|
activityExportLoggings: (params?: ActivityExportLoggingsParams) => Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
20
|
-
activityGetLogging: (params?: ActivityGetLoggingParams) => Promise<import("axios").AxiosResponse<
|
|
20
|
+
activityGetLogging: (params?: ActivityGetLoggingParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionActivitiesActivityWorkSpace, any, {}>>;
|
|
21
21
|
applicationUpdateGetLatestDeployment: () => Promise<import("axios").AxiosResponse<ApplicationUpdateDeploymentInfo, any, {}>>;
|
|
22
22
|
applicationUpdateGetCurrentVersion: () => Promise<import("axios").AxiosResponse<ApplicationUpdateVersionInfo, any, {}>>;
|
|
23
23
|
applicationUpdateReapplyCurrentVersion: () => Promise<import("axios").AxiosResponse<ApplicationUpdateVersionInfo, any, {}>>;
|
|
@@ -68,13 +68,13 @@ export declare const getSmartSpaceAdminAPI: () => {
|
|
|
68
68
|
dataSpacesGetDataSets: (id: string, params?: DataSpacesGetDataSetsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionDataSet, any, {}>>;
|
|
69
69
|
dataSpacesPostDataset: (id: string, createDataSet: CreateDataSet) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
70
70
|
debugInvoke: (connectionId: string, method: string, debugInvokeBody: unknown[]) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
71
|
-
filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<
|
|
72
|
-
filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<
|
|
73
|
-
filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<
|
|
74
|
-
filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<
|
|
71
|
+
filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<File[], any, {}>>;
|
|
72
|
+
filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
73
|
+
filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
74
|
+
filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<FileUriResponse, any, {}>>;
|
|
75
75
|
flowRunsCreateFlowRun: (configApiRunFlowRequest: ConfigApiRunFlowRequest, params?: FlowRunsCreateFlowRunParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
76
76
|
flowRunsSearchFlowRuns: (params?: FlowRunsSearchFlowRunsParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
77
|
-
flowRunsGetFileFromFlowRunId: (flowRunId: string) => Promise<import("axios").AxiosResponse<
|
|
77
|
+
flowRunsGetFileFromFlowRunId: (flowRunId: string) => Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
78
78
|
flowRunsGetFlowRun: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
79
79
|
flowRunsAddFileIdFiles: (id: string, flowRunsAddFileIdFilesBody: FlowRunsAddFileIdFilesBody) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
80
80
|
flowRunsAddFileIdFilesExisting: (id: string, configApiAddMessageFileFromBlobUri: ConfigApiAddMessageFileFromBlobUri) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
@@ -114,7 +114,7 @@ export declare const getSmartSpaceAdminAPI: () => {
|
|
|
114
114
|
usersSearchUsers: (params?: UsersSearchUsersParams) => Promise<import("axios").AxiosResponse<AppUserAppUserSearchResult[], any, {}>>;
|
|
115
115
|
usersGetUserDetail: (id: string) => Promise<import("axios").AxiosResponse<AppUserAppUserDetail, any, {}>>;
|
|
116
116
|
usersGetUserPhoto: (id: string) => Promise<import("axios").AxiosResponse<Blob, any, {}>>;
|
|
117
|
-
usersGetAccessWorkSpaces: (id: string, params?: UsersGetAccessWorkSpacesParams) => Promise<import("axios").AxiosResponse<
|
|
117
|
+
usersGetAccessWorkSpaces: (id: string, params?: UsersGetAccessWorkSpacesParams) => Promise<import("axios").AxiosResponse<AccessAccessWorkSpace[], any, {}>>;
|
|
118
118
|
usersAdminPermission: (userId: string, params?: UsersAdminPermissionParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
119
119
|
usersAddUserPermission: (userId: string, enumsPermissions: EnumsPermissions) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
120
120
|
usersRemoveUserPermission: (userId: string, permission: EnumsPermissions) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
@@ -135,8 +135,8 @@ export declare const getSmartSpaceAdminAPI: () => {
|
|
|
135
135
|
workSpacesPutModelConfigurationIdModelconfigurationRolePut: (id: string, role: EnumsModelRole, createModelConfiguration: CreateModelConfiguration) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
136
136
|
workSpacesRemoveDataSpace: (workspaceId: string, dataspaceId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
137
137
|
workSpacesAddDataSpace: (workspaceId: string, dataspaceId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
138
|
-
workSpacesGetWorkspaceFiles: (workspaceId: string, params?: WorkSpacesGetWorkspaceFilesParams) => Promise<import("axios").AxiosResponse<
|
|
139
|
-
workSpacesWorkspaceFiles: (workspaceId: string, workSpacesWorkspaceFilesBody: WorkSpacesWorkspaceFilesBody) => Promise<import("axios").AxiosResponse<
|
|
138
|
+
workSpacesGetWorkspaceFiles: (workspaceId: string, params?: WorkSpacesGetWorkspaceFilesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionIngestedBlob, any, {}>>;
|
|
139
|
+
workSpacesWorkspaceFiles: (workspaceId: string, workSpacesWorkspaceFilesBody: WorkSpacesWorkspaceFilesBody) => Promise<import("axios").AxiosResponse<IngestedBlob[], any, {}>>;
|
|
140
140
|
workSpacesDeleteWorkspaceFile: (workspaceId: string, fileId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
141
141
|
workSpacesGetActiveFlow: (workspaceId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
142
142
|
workSpacesSetActiveFlow: (workspaceId: string, flowDefinition: FlowDefinition) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
@@ -12,16 +12,16 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
12
12
|
});
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* @summary
|
|
15
|
+
* @summary Add a new access grant for a principal or group to a workspace.
|
|
16
16
|
*/
|
|
17
|
-
const accessAddAccess = (
|
|
17
|
+
const accessAddAccess = (accessCreateAccess) => {
|
|
18
18
|
return (0, instance_1.customInstance)({ url: `/Access`, method: 'PUT',
|
|
19
19
|
headers: { 'Content-Type': 'application/*+json', },
|
|
20
|
-
data:
|
|
20
|
+
data: accessCreateAccess
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
|
-
* @summary List groups from Azure AD
|
|
24
|
+
* @summary List groups from Azure AD.
|
|
25
25
|
*/
|
|
26
26
|
const accessGetGroups = (params) => {
|
|
27
27
|
return (0, instance_1.customInstance)({ url: `/Access/groups`, method: 'GET',
|
|
@@ -36,7 +36,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
|
-
* @summary List users assigned to a specific role in SmartSpace by providing the role's ID
|
|
39
|
+
* @summary List users assigned to a specific role in SmartSpace by providing the role's ID.
|
|
40
40
|
*/
|
|
41
41
|
const accessGetUsersInRoleRolesRoleIdUsers = (roleId, params) => {
|
|
42
42
|
return (0, instance_1.customInstance)({ url: `/Access/roles/${roleId}/users`, method: 'GET',
|
|
@@ -76,14 +76,14 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
|
-
* @summary Remove a specific access entity in SmartSpace by using its ID
|
|
79
|
+
* @summary Remove a specific access entity in SmartSpace by using its ID.
|
|
80
80
|
*/
|
|
81
81
|
const accessDeleteAccess = (id) => {
|
|
82
82
|
return (0, instance_1.customInstance)({ url: `/Access/${id}`, method: 'DELETE'
|
|
83
83
|
});
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
|
-
* @summary
|
|
86
|
+
* @summary Export workspace activity log as a CSV file.
|
|
87
87
|
*/
|
|
88
88
|
const activityExportLoggings = (params) => {
|
|
89
89
|
return (0, instance_1.customInstance)({ url: `/Activity/csv/workspace`, method: 'GET',
|
|
@@ -91,7 +91,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
91
91
|
});
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
|
-
* @summary Retrieve
|
|
94
|
+
* @summary Retrieve workspace activity log entries with optional filtering and pagination.
|
|
95
95
|
*/
|
|
96
96
|
const activityGetLogging = (params) => {
|
|
97
97
|
return (0, instance_1.customInstance)({ url: `/Activity/workspace`, method: 'GET',
|
|
@@ -446,7 +446,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
446
446
|
});
|
|
447
447
|
};
|
|
448
448
|
/**
|
|
449
|
-
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
449
|
+
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
450
450
|
*/
|
|
451
451
|
const filesUploadFiles = (filesUploadFilesBody) => {
|
|
452
452
|
const formData = new FormData();
|
|
@@ -477,7 +477,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
477
477
|
});
|
|
478
478
|
};
|
|
479
479
|
/**
|
|
480
|
-
* @summary Get details for a file previously uploaded
|
|
480
|
+
* @summary Get details for a file previously uploaded
|
|
481
481
|
*/
|
|
482
482
|
const filesGetFileInfo = (id, params) => {
|
|
483
483
|
return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
|
|
@@ -485,7 +485,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
485
485
|
});
|
|
486
486
|
};
|
|
487
487
|
/**
|
|
488
|
-
* @summary Download a previously uploaded file
|
|
488
|
+
* @summary Download a previously uploaded file
|
|
489
489
|
*/
|
|
490
490
|
const filesDownloadFile = (id, params) => {
|
|
491
491
|
return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
|
|
@@ -493,7 +493,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
493
493
|
});
|
|
494
494
|
};
|
|
495
495
|
/**
|
|
496
|
-
* @summary Get URI of a previously uploaded file
|
|
496
|
+
* @summary Get URI of a previously uploaded file
|
|
497
497
|
*/
|
|
498
498
|
const filesGetUri = (id, params) => {
|
|
499
499
|
return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { EnumsAccessType } from './enumsAccessType';
|
|
8
8
|
import type { EnumsAppPrincipalType } from './enumsAppPrincipalType';
|
|
9
|
-
export interface
|
|
9
|
+
export interface AccessAccess {
|
|
10
10
|
accessType: EnumsAccessType;
|
|
11
11
|
/** @nullable */
|
|
12
12
|
displayName?: string | null;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { EnumsAccessType } from './enumsAccessType';
|
|
8
8
|
import type { EnumsAppPrincipalType } from './enumsAppPrincipalType';
|
|
9
|
-
export interface
|
|
9
|
+
export interface AccessAccessWorkSpace {
|
|
10
10
|
accessType: EnumsAccessType;
|
|
11
11
|
/** @nullable */
|
|
12
12
|
displayName?: string | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.13.2 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SmartSpace Admin API
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*/
|
|
7
|
+
import type { EnumsAccessType } from './enumsAccessType';
|
|
8
|
+
export interface AccessCreateAccess {
|
|
9
|
+
accessType: EnumsAccessType;
|
|
10
|
+
objectId: string;
|
|
11
|
+
/** @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}$ */
|
|
12
|
+
workSpaceId: string;
|
|
13
|
+
}
|
|
@@ -5,16 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
export type AccessGetGroupsParams = {
|
|
8
|
-
/**
|
|
9
|
-
* The search term to filter groups.
|
|
10
|
-
*/
|
|
11
8
|
search?: string;
|
|
12
|
-
/**
|
|
13
|
-
* The number of groups to skip.
|
|
14
|
-
*/
|
|
15
9
|
skip?: number;
|
|
16
|
-
/**
|
|
17
|
-
* The number of groups to take.
|
|
18
|
-
*/
|
|
19
10
|
take?: number;
|
|
20
11
|
};
|
|
@@ -5,16 +5,7 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
export type AccessGetUsersInRoleRolesRoleIdUsersParams = {
|
|
8
|
-
/**
|
|
9
|
-
* The number of users to skip.
|
|
10
|
-
*/
|
|
11
8
|
skip?: number;
|
|
12
|
-
/**
|
|
13
|
-
* The number of users to take.
|
|
14
|
-
*/
|
|
15
9
|
take?: number;
|
|
16
|
-
/**
|
|
17
|
-
* The search term to filter users.
|
|
18
|
-
*/
|
|
19
10
|
search?: string;
|
|
20
11
|
};
|
|
@@ -5,24 +5,11 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
export type AccessGetUsersInRoleUsersParams = {
|
|
8
|
-
/**
|
|
9
|
-
* The name of the role.
|
|
10
|
-
*/
|
|
11
8
|
roleName?: string;
|
|
12
|
-
/**
|
|
13
|
-
* The number of users to skip.
|
|
14
|
-
*/
|
|
15
9
|
skip?: number;
|
|
16
|
-
/**
|
|
17
|
-
* The number of users to take.
|
|
18
|
-
*/
|
|
19
10
|
take?: number;
|
|
20
|
-
/**
|
|
21
|
-
* The search query to filter users.
|
|
22
|
-
*/
|
|
23
11
|
search?: string;
|
|
24
12
|
/**
|
|
25
|
-
* The ID of the assigned workspace.
|
|
26
13
|
* @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}$
|
|
27
14
|
*/
|
|
28
15
|
assignedWorkspaceId?: string;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
7
|
import type { EnumsActivityType } from './enumsActivityType';
|
|
8
|
-
import type {
|
|
9
|
-
export interface
|
|
8
|
+
import type { ActivitiesLlmUsageMetrics } from './activitiesLlmUsageMetrics';
|
|
9
|
+
export interface ActivitiesActivityWorkSpace {
|
|
10
10
|
activityType?: EnumsActivityType;
|
|
11
11
|
/** @nullable */
|
|
12
12
|
durationMs?: number | null;
|
|
@@ -22,7 +22,7 @@ export interface ActivityActivityWorkSpace {
|
|
|
22
22
|
*/
|
|
23
23
|
id?: string | null;
|
|
24
24
|
/** @nullable */
|
|
25
|
-
llmUsages?:
|
|
25
|
+
llmUsages?: ActivitiesLlmUsageMetrics[] | null;
|
|
26
26
|
/** @nullable */
|
|
27
27
|
occurred?: string | null;
|
|
28
28
|
/** @nullable */
|
|
@@ -7,20 +7,10 @@
|
|
|
7
7
|
import type { EnumsActivityType } from './enumsActivityType';
|
|
8
8
|
export type ActivityExportLoggingsParams = {
|
|
9
9
|
/**
|
|
10
|
-
* The ID of the workspace.
|
|
11
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}$
|
|
12
11
|
*/
|
|
13
12
|
workSpaceId?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The starting date and time of the loggings.
|
|
16
|
-
*/
|
|
17
13
|
fromOccurred?: string;
|
|
18
|
-
/**
|
|
19
|
-
* The ending date and time of the loggings.
|
|
20
|
-
*/
|
|
21
14
|
toOccurred?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The type of activity to filter the loggings.
|
|
24
|
-
*/
|
|
25
15
|
activityType?: EnumsActivityType;
|
|
26
16
|
};
|