@smartspace/api-client 0.1.0-pr.815.b53848e → 0.1.0-pr.816.8189065
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 -5
- package/dist/generated/chat/api.js +4 -4
- 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 +2 -2
- package/dist/generated/chat/models/index.js +2 -2
- package/dist/generated/chat/zod.d.ts +4 -4
- package/dist/generated/chat/zod.js +10 -10
- package/dist/generated/config/api.d.ts +8 -8
- package/dist/generated/config/api.js +4 -4
- 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 +4 -5
- package/dist/generated/config/models/index.js +4 -5
- package/dist/generated/config/models/{filesIngestedBlob.d.ts → ingestedBlob.d.ts} +3 -3
- package/dist/generated/config/models/pagedDataCollectionIngestedBlob.d.ts +11 -0
- package/dist/generated/config/zod.d.ts +4 -4
- package/dist/generated/config/zod.js +13 -13
- 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/pagedDataCollectionFilesIngestedBlob.d.ts +0 -11
- /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/config/models/{filesCreateFileFromBlobUri.js → file.js} +0 -0
- /package/dist/generated/config/models/{filesFile.js → fileUriResponse.js} +0 -0
- /package/dist/generated/config/models/{filesIngestedBlob.js → ingestedBlob.js} +0 -0
- /package/dist/generated/config/models/{pagedDataCollectionFilesIngestedBlob.js → pagedDataCollectionIngestedBlob.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, PagedDataCollectionAccess, 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, {}>>;
|
|
@@ -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,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;
|
|
@@ -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';
|
|
@@ -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);
|
|
@@ -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,7 +4,7 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type { Access, AccessGetAccessesParams, AccessGetGroupsParams, AccessGetUsersInRoleRolesRoleIdUsersParams, AccessGetUsersInRoleUsersParams, AccessSearchGroupsParams, AccessSearchServicePrincipalsParams, AccessSearchUsersParams, AccessWorkSpace, ActivityExportLoggingsParams, ActivityGetLoggingParams, AppRole, AppUserAppUser, 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,
|
|
7
|
+
import type { Access, AccessGetAccessesParams, AccessGetGroupsParams, AccessGetUsersInRoleRolesRoleIdUsersParams, AccessGetUsersInRoleUsersParams, AccessSearchGroupsParams, AccessSearchServicePrincipalsParams, AccessSearchUsersParams, AccessWorkSpace, ActivityExportLoggingsParams, ActivityGetLoggingParams, AppRole, AppUserAppUser, 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, PagedDataCollectionAccess, PagedDataCollectionActivityActivityWorkSpace, PagedDataCollectionAppUserAppUser, 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
9
|
accessGetAccesses: (params?: AccessGetAccessesParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionAccess, any, {}>>;
|
|
10
10
|
accessAddAccess: (access: Access) => Promise<import("axios").AxiosResponse<Access, 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, {}>>;
|
|
@@ -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, {}>>;
|
|
@@ -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,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 FilesGetFileInfoParams = {
|
|
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;
|
|
@@ -101,13 +101,11 @@ export * from './enumsPermissions';
|
|
|
101
101
|
export * from './enumsPinType';
|
|
102
102
|
export * from './enumsPortType';
|
|
103
103
|
export * from './enumsVirtualMachineServerType';
|
|
104
|
-
export * from './
|
|
104
|
+
export * from './file';
|
|
105
|
+
export * from './fileUriResponse';
|
|
105
106
|
export * from './filesDownloadFileParams';
|
|
106
|
-
export * from './filesFile';
|
|
107
|
-
export * from './filesFileUriResponse';
|
|
108
107
|
export * from './filesGetFileInfoParams';
|
|
109
108
|
export * from './filesGetUriParams';
|
|
110
|
-
export * from './filesIngestedBlob';
|
|
111
109
|
export * from './filesUploadFilesBody';
|
|
112
110
|
export * from './flow';
|
|
113
111
|
export * from './flowBlock';
|
|
@@ -141,6 +139,7 @@ export * from './flowsBlockConstantValue';
|
|
|
141
139
|
export * from './flowsBlockPinRef';
|
|
142
140
|
export * from './flowsFlowPinRef';
|
|
143
141
|
export * from './functionExecutionDebugModel';
|
|
142
|
+
export * from './ingestedBlob';
|
|
144
143
|
export * from './inputPinInterface';
|
|
145
144
|
export * from './inputPinInterfaceDefault';
|
|
146
145
|
export * from './inputPinInterfaceGenerics';
|
|
@@ -202,7 +201,7 @@ export * from './pagedDataCollectionAzureADGroup';
|
|
|
202
201
|
export * from './pagedDataCollectionDataSet';
|
|
203
202
|
export * from './pagedDataCollectionDataSource';
|
|
204
203
|
export * from './pagedDataCollectionDataSpace';
|
|
205
|
-
export * from './
|
|
204
|
+
export * from './pagedDataCollectionIngestedBlob';
|
|
206
205
|
export * from './pagedDataCollectionMessageThreadMessageThreadSummary';
|
|
207
206
|
export * from './pagedDataCollectionModelModelSummary';
|
|
208
207
|
export * from './pagedDataCollectionWorkSpace';
|
|
@@ -117,13 +117,11 @@ __exportStar(require("./enumsPermissions"), exports);
|
|
|
117
117
|
__exportStar(require("./enumsPinType"), exports);
|
|
118
118
|
__exportStar(require("./enumsPortType"), exports);
|
|
119
119
|
__exportStar(require("./enumsVirtualMachineServerType"), exports);
|
|
120
|
-
__exportStar(require("./
|
|
120
|
+
__exportStar(require("./file"), exports);
|
|
121
|
+
__exportStar(require("./fileUriResponse"), exports);
|
|
121
122
|
__exportStar(require("./filesDownloadFileParams"), exports);
|
|
122
|
-
__exportStar(require("./filesFile"), exports);
|
|
123
|
-
__exportStar(require("./filesFileUriResponse"), exports);
|
|
124
123
|
__exportStar(require("./filesGetFileInfoParams"), exports);
|
|
125
124
|
__exportStar(require("./filesGetUriParams"), exports);
|
|
126
|
-
__exportStar(require("./filesIngestedBlob"), exports);
|
|
127
125
|
__exportStar(require("./filesUploadFilesBody"), exports);
|
|
128
126
|
__exportStar(require("./flow"), exports);
|
|
129
127
|
__exportStar(require("./flowBlock"), exports);
|
|
@@ -157,6 +155,7 @@ __exportStar(require("./flowsBlockConstantValue"), exports);
|
|
|
157
155
|
__exportStar(require("./flowsBlockPinRef"), exports);
|
|
158
156
|
__exportStar(require("./flowsFlowPinRef"), exports);
|
|
159
157
|
__exportStar(require("./functionExecutionDebugModel"), exports);
|
|
158
|
+
__exportStar(require("./ingestedBlob"), exports);
|
|
160
159
|
__exportStar(require("./inputPinInterface"), exports);
|
|
161
160
|
__exportStar(require("./inputPinInterfaceDefault"), exports);
|
|
162
161
|
__exportStar(require("./inputPinInterfaceGenerics"), exports);
|
|
@@ -218,7 +217,7 @@ __exportStar(require("./pagedDataCollectionAzureADGroup"), exports);
|
|
|
218
217
|
__exportStar(require("./pagedDataCollectionDataSet"), exports);
|
|
219
218
|
__exportStar(require("./pagedDataCollectionDataSource"), exports);
|
|
220
219
|
__exportStar(require("./pagedDataCollectionDataSpace"), exports);
|
|
221
|
-
__exportStar(require("./
|
|
220
|
+
__exportStar(require("./pagedDataCollectionIngestedBlob"), exports);
|
|
222
221
|
__exportStar(require("./pagedDataCollectionMessageThreadMessageThreadSummary"), exports);
|
|
223
222
|
__exportStar(require("./pagedDataCollectionModelModelSummary"), exports);
|
|
224
223
|
__exportStar(require("./pagedDataCollectionWorkSpace"), exports);
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* SmartSpace Admin API
|
|
5
5
|
* OpenAPI spec version: v1
|
|
6
6
|
*/
|
|
7
|
-
import type {
|
|
7
|
+
import type { File } from './file';
|
|
8
8
|
import type { EnumsIngestionStatus } from './enumsIngestionStatus';
|
|
9
|
-
export interface
|
|
9
|
+
export interface IngestedBlob {
|
|
10
10
|
/** @nullable */
|
|
11
11
|
createdAt?: string | null;
|
|
12
12
|
/** @nullable */
|
|
@@ -15,7 +15,7 @@ export interface FilesIngestedBlob {
|
|
|
15
15
|
createdByUserName?: string | null;
|
|
16
16
|
/** @nullable */
|
|
17
17
|
dataSetId?: string | null;
|
|
18
|
-
file?:
|
|
18
|
+
file?: File;
|
|
19
19
|
/** @nullable */
|
|
20
20
|
flowRunId?: string | null;
|
|
21
21
|
id: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { IngestedBlob } from './ingestedBlob';
|
|
8
|
+
export interface PagedDataCollectionIngestedBlob {
|
|
9
|
+
data: IngestedBlob[];
|
|
10
|
+
total: number;
|
|
11
|
+
}
|
|
@@ -1711,7 +1711,7 @@ export declare const debugInvokeParams: zod.ZodObject<{
|
|
|
1711
1711
|
export declare const debugInvokeBodyItem: zod.ZodAny;
|
|
1712
1712
|
export declare const debugInvokeBody: zod.ZodArray<zod.ZodAny>;
|
|
1713
1713
|
/**
|
|
1714
|
-
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
1714
|
+
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
1715
1715
|
*/
|
|
1716
1716
|
export declare const filesUploadFilesBodyThreadIdRegExpOne: RegExp;
|
|
1717
1717
|
export declare const filesUploadFilesBodyUploadIdRegExpOne: RegExp;
|
|
@@ -1751,7 +1751,7 @@ export declare const filesUploadFilesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1751
1751
|
workspaceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1752
1752
|
}, zod.core.$strip>>;
|
|
1753
1753
|
/**
|
|
1754
|
-
* @summary Get details for a file previously uploaded
|
|
1754
|
+
* @summary Get details for a file previously uploaded
|
|
1755
1755
|
*/
|
|
1756
1756
|
export declare const filesGetFileInfoPathIdRegExpOne: RegExp;
|
|
1757
1757
|
export declare const filesGetFileInfoParams: zod.ZodObject<{
|
|
@@ -1778,7 +1778,7 @@ export declare const filesGetFileInfoResponse: zod.ZodObject<{
|
|
|
1778
1778
|
workspaceId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1779
1779
|
}, zod.core.$strip>;
|
|
1780
1780
|
/**
|
|
1781
|
-
* @summary Download a previously uploaded file
|
|
1781
|
+
* @summary Download a previously uploaded file
|
|
1782
1782
|
*/
|
|
1783
1783
|
export declare const filesDownloadFilePathIdRegExpOne: RegExp;
|
|
1784
1784
|
export declare const filesDownloadFileParams: zod.ZodObject<{
|
|
@@ -1791,7 +1791,7 @@ export declare const filesDownloadFileQueryParams: zod.ZodObject<{
|
|
|
1791
1791
|
workspaceId: zod.ZodOptional<zod.ZodString>;
|
|
1792
1792
|
}, zod.core.$strict>;
|
|
1793
1793
|
/**
|
|
1794
|
-
* @summary Get URI of a previously uploaded file
|
|
1794
|
+
* @summary Get URI of a previously uploaded file
|
|
1795
1795
|
*/
|
|
1796
1796
|
export declare const filesGetUriPathIdRegExpOne: RegExp;
|
|
1797
1797
|
export declare const filesGetUriParams: zod.ZodObject<{
|
|
@@ -1365,7 +1365,7 @@ exports.debugInvokeParams = zod_1.default.strictObject({
|
|
|
1365
1365
|
exports.debugInvokeBodyItem = zod_1.default.any();
|
|
1366
1366
|
exports.debugInvokeBody = zod_1.default.array(exports.debugInvokeBodyItem);
|
|
1367
1367
|
/**
|
|
1368
|
-
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
1368
|
+
* @summary Upload files to be referenced in requests (supports full and chunked uploads)
|
|
1369
1369
|
*/
|
|
1370
1370
|
exports.filesUploadFilesBodyThreadIdRegExpOne = 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}$');
|
|
1371
1371
|
exports.filesUploadFilesBodyUploadIdRegExpOne = 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}$');
|
|
@@ -1395,17 +1395,17 @@ exports.filesUploadFilesResponseItem = zod_1.default.object({
|
|
|
1395
1395
|
});
|
|
1396
1396
|
exports.filesUploadFilesResponse = zod_1.default.array(exports.filesUploadFilesResponseItem);
|
|
1397
1397
|
/**
|
|
1398
|
-
* @summary Get details for a file previously uploaded
|
|
1398
|
+
* @summary Get details for a file previously uploaded
|
|
1399
1399
|
*/
|
|
1400
1400
|
exports.filesGetFileInfoPathIdRegExpOne = 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}$');
|
|
1401
1401
|
exports.filesGetFileInfoParams = zod_1.default.strictObject({
|
|
1402
|
-
"id": zod_1.default.string().regex(exports.filesGetFileInfoPathIdRegExpOne)
|
|
1402
|
+
"id": zod_1.default.string().regex(exports.filesGetFileInfoPathIdRegExpOne).describe('File id')
|
|
1403
1403
|
});
|
|
1404
1404
|
exports.filesGetFileInfoQueryThreadIdRegExpOne = 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}$');
|
|
1405
1405
|
exports.filesGetFileInfoQueryWorkspaceIdRegExpOne = 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}$');
|
|
1406
1406
|
exports.filesGetFileInfoQueryParams = zod_1.default.strictObject({
|
|
1407
|
-
"threadId": zod_1.default.string().regex(exports.filesGetFileInfoQueryThreadIdRegExpOne).optional(),
|
|
1408
|
-
"workspaceId": zod_1.default.string().regex(exports.filesGetFileInfoQueryWorkspaceIdRegExpOne).optional()
|
|
1407
|
+
"threadId": zod_1.default.string().regex(exports.filesGetFileInfoQueryThreadIdRegExpOne).optional().describe('Optional thread ID containing the file'),
|
|
1408
|
+
"workspaceId": zod_1.default.string().regex(exports.filesGetFileInfoQueryWorkspaceIdRegExpOne).optional().describe('Optional workspace ID containing the file')
|
|
1409
1409
|
});
|
|
1410
1410
|
exports.filesGetFileInfoResponseIdRegExpOne = 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}$');
|
|
1411
1411
|
exports.filesGetFileInfoResponseThreadIdRegExpOne = 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}$');
|
|
@@ -1422,30 +1422,30 @@ exports.filesGetFileInfoResponse = zod_1.default.object({
|
|
|
1422
1422
|
"workspaceId": zod_1.default.string().regex(exports.filesGetFileInfoResponseWorkspaceIdRegExpOne).nullish()
|
|
1423
1423
|
});
|
|
1424
1424
|
/**
|
|
1425
|
-
* @summary Download a previously uploaded file
|
|
1425
|
+
* @summary Download a previously uploaded file
|
|
1426
1426
|
*/
|
|
1427
1427
|
exports.filesDownloadFilePathIdRegExpOne = 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}$');
|
|
1428
1428
|
exports.filesDownloadFileParams = zod_1.default.strictObject({
|
|
1429
|
-
"id": zod_1.default.string().regex(exports.filesDownloadFilePathIdRegExpOne)
|
|
1429
|
+
"id": zod_1.default.string().regex(exports.filesDownloadFilePathIdRegExpOne).describe('File id')
|
|
1430
1430
|
});
|
|
1431
1431
|
exports.filesDownloadFileQueryThreadIdRegExpOne = 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}$');
|
|
1432
1432
|
exports.filesDownloadFileQueryWorkspaceIdRegExpOne = 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}$');
|
|
1433
1433
|
exports.filesDownloadFileQueryParams = zod_1.default.strictObject({
|
|
1434
|
-
"threadId": zod_1.default.string().regex(exports.filesDownloadFileQueryThreadIdRegExpOne).optional(),
|
|
1435
|
-
"workspaceId": zod_1.default.string().regex(exports.filesDownloadFileQueryWorkspaceIdRegExpOne).optional()
|
|
1434
|
+
"threadId": zod_1.default.string().regex(exports.filesDownloadFileQueryThreadIdRegExpOne).optional().describe('Optional thread ID containing the file'),
|
|
1435
|
+
"workspaceId": zod_1.default.string().regex(exports.filesDownloadFileQueryWorkspaceIdRegExpOne).optional().describe('Optional workspace ID containing the file')
|
|
1436
1436
|
});
|
|
1437
1437
|
/**
|
|
1438
|
-
* @summary Get URI of a previously uploaded file
|
|
1438
|
+
* @summary Get URI of a previously uploaded file
|
|
1439
1439
|
*/
|
|
1440
1440
|
exports.filesGetUriPathIdRegExpOne = 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}$');
|
|
1441
1441
|
exports.filesGetUriParams = zod_1.default.strictObject({
|
|
1442
|
-
"id": zod_1.default.string().regex(exports.filesGetUriPathIdRegExpOne)
|
|
1442
|
+
"id": zod_1.default.string().regex(exports.filesGetUriPathIdRegExpOne).describe('File id')
|
|
1443
1443
|
});
|
|
1444
1444
|
exports.filesGetUriQueryThreadIdRegExpOne = 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}$');
|
|
1445
1445
|
exports.filesGetUriQueryWorkspaceIdRegExpOne = 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}$');
|
|
1446
1446
|
exports.filesGetUriQueryParams = zod_1.default.strictObject({
|
|
1447
|
-
"threadId": zod_1.default.string().regex(exports.filesGetUriQueryThreadIdRegExpOne).optional(),
|
|
1448
|
-
"workspaceId": zod_1.default.string().regex(exports.filesGetUriQueryWorkspaceIdRegExpOne).optional()
|
|
1447
|
+
"threadId": zod_1.default.string().regex(exports.filesGetUriQueryThreadIdRegExpOne).optional().describe('Optional thread ID containing the file'),
|
|
1448
|
+
"workspaceId": zod_1.default.string().regex(exports.filesGetUriQueryWorkspaceIdRegExpOne).optional().describe('Optional workspace ID containing the file')
|
|
1449
1449
|
});
|
|
1450
1450
|
exports.filesGetUriResponse = zod_1.default.object({
|
|
1451
1451
|
"uri": zod_1.default.string()
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated by orval v7.13.2 🍺
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
* SmartSpace Admin API
|
|
5
|
-
* OpenAPI spec version: v1
|
|
6
|
-
*/
|
|
7
|
-
export interface FilesCreateFileFromBlobUri {
|
|
8
|
-
blobUri: string;
|
|
9
|
-
/**
|
|
10
|
-
* @nullable
|
|
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
|
-
*/
|
|
13
|
-
flowRunId?: string | null;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { FilesIngestedBlob } from './filesIngestedBlob';
|
|
8
|
-
export interface PagedDataCollectionFilesIngestedBlob {
|
|
9
|
-
data: FilesIngestedBlob[];
|
|
10
|
-
total: number;
|
|
11
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|