@smartspace/api-client 0.1.0-pr.775.4a4fa57 → 0.1.0-pr.776.c466004

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.
@@ -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, DtosMessageThreadsMessageThreadDto, File, FilesDownloadFileParams, FilesGetFileInfoParams, FilesGetUriParams, FilesUploadFilesBody, FlowRunsGetVariables200One, FlowRunsGetVariables200Three, FlowRunsGetVariables200Two, IntegrationsAzureStorageSasToken, MessageCreateMessageInput, MessageMessage, MessageMessageCreatorProfileImage, MessageMessageRequest, MessageThreadMessageThreadSummary, MessageThreadsGetCommentsParams, MessageThreadsThreadMessagesIdMessagesParams, MessageThreadsThreadMessagesWorkspacesWorkspaceIdMessagethreadsIdMessagesParams, MessagesGetCommentsParams, ModelModel, ModelsGetModelsParams, NotificationGetParams, NotificationPagedNotifications, PagedDataCollectionAccess, PagedDataCollectionCommentCommentSummary, PagedDataCollectionMessageMessage, PagedDataCollectionMessageThreadMessageThreadSummary, PagedDataCollectionModelModelSummary, PagedDataCollectionWorkSpace, WorkSpace, WorkSpacesGetAccessParams, WorkSpacesGetGetParams, WorkSpacesGetUsersParams, WorkSpacesThreadParams } from './models';
7
+ import type { AppUserAppUser, CommentComment, CreateComment, CreateMessageThread, DocumentsGetDocumentSasParams, DtosMessageThreadsMessageThreadDto, 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
9
  filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<File[], any, {}>>;
10
10
  filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<File, any, {}>>;
11
11
  filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
12
- filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<string, 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, {}>>;
@@ -30,7 +30,7 @@ export declare const getSmartSpaceChatAPI: () => {
30
30
  messagesMessage: (id: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
31
31
  messagesGetComments: (id: string, params?: MessagesGetCommentsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionCommentCommentSummary, any, {}>>;
32
32
  messagesPostComment: (id: string, createComment: CreateComment) => Promise<import("axios").AxiosResponse<CommentComment, any, {}>>;
33
- messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<void, any, {}>>;
33
+ messagesAddValueToMessage: (id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
34
34
  modelsGetModels: (params?: ModelsGetModelsParams) => Promise<import("axios").AxiosResponse<PagedDataCollectionModelModelSummary, any, {}>>;
35
35
  modelsGetModel: (id: string) => Promise<import("axios").AxiosResponse<ModelModel, any, {}>>;
36
36
  notificationGet: (params?: NotificationGetParams) => Promise<import("axios").AxiosResponse<NotificationPagedNotifications, any, {}>>;
@@ -222,6 +222,13 @@ const getSmartSpaceChatAPI = () => {
222
222
  data: createComment
223
223
  });
224
224
  };
225
+ /**
226
+ * @summary Append a new input value to an in-flight message and stream successive
227
+ snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
228
+ with the latest cumulative state — the SDK should treat the response as
229
+ a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
230
+ frame being the authoritative completed message.
231
+ */
225
232
  const messagesAddValueToMessage = (id, messageCreateMessageInput) => {
226
233
  return (0, instance_1.customInstance)({ url: `/Messages/${id}/values`, method: 'POST',
227
234
  headers: { 'Content-Type': 'application/*+json', },
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.13.2 🍺
3
+ * Do not edit manually.
4
+ * SmartSpace Chat API
5
+ * OpenAPI spec version: v1
6
+ */
7
+ export interface FileUriResponse {
8
+ uri: string;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Chat API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -33,6 +33,7 @@ export * from './enumsNotificationType';
33
33
  export * from './enumsVirtualMachineServerType';
34
34
  export * from './enumsWorkSpaceOrderBy';
35
35
  export * from './file';
36
+ export * from './fileUriResponse';
36
37
  export * from './filesDownloadFileParams';
37
38
  export * from './filesGetFileInfoParams';
38
39
  export * from './filesGetUriParams';
@@ -49,6 +49,7 @@ __exportStar(require("./enumsNotificationType"), exports);
49
49
  __exportStar(require("./enumsVirtualMachineServerType"), exports);
50
50
  __exportStar(require("./enumsWorkSpaceOrderBy"), exports);
51
51
  __exportStar(require("./file"), exports);
52
+ __exportStar(require("./fileUriResponse"), exports);
52
53
  __exportStar(require("./filesDownloadFileParams"), exports);
53
54
  __exportStar(require("./filesGetFileInfoParams"), exports);
54
55
  __exportStar(require("./filesGetUriParams"), exports);
@@ -98,7 +98,9 @@ export declare const filesGetUriQueryParams: zod.ZodObject<{
98
98
  threadId: zod.ZodOptional<zod.ZodString>;
99
99
  workspaceId: zod.ZodOptional<zod.ZodString>;
100
100
  }, zod.core.$strict>;
101
- export declare const filesGetUriResponse: zod.ZodString;
101
+ export declare const filesGetUriResponse: zod.ZodObject<{
102
+ uri: zod.ZodString;
103
+ }, zod.core.$strip>;
102
104
  export declare const flowRunsGetVariablesPathIdRegExp: RegExp;
103
105
  export declare const flowRunsGetVariablesParams: zod.ZodObject<{
104
106
  id: zod.ZodString;
@@ -491,6 +493,13 @@ export declare const messagesPostCommentResponse: zod.ZodObject<{
491
493
  id: zod.ZodString;
492
494
  mentionedUsers: zod.ZodArray<zod.ZodString>;
493
495
  }, zod.core.$strip>;
496
+ /**
497
+ * @summary Append a new input value to an in-flight message and stream successive
498
+ snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
499
+ with the latest cumulative state — the SDK should treat the response as
500
+ a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
501
+ frame being the authoritative completed message.
502
+ */
494
503
  export declare const messagesAddValueToMessagePathIdRegExp: RegExp;
495
504
  export declare const messagesAddValueToMessageParams: zod.ZodObject<{
496
505
  id: zod.ZodString;
@@ -99,7 +99,9 @@ exports.filesGetUriQueryParams = zod_1.default.strictObject({
99
99
  "threadId": zod_1.default.string().regex(exports.filesGetUriQueryThreadIdRegExp).optional().describe('Optional thread ID containing the file'),
100
100
  "workspaceId": zod_1.default.string().regex(exports.filesGetUriQueryWorkspaceIdRegExp).optional().describe('Optional workspace ID containing the file')
101
101
  });
102
- exports.filesGetUriResponse = zod_1.default.string();
102
+ exports.filesGetUriResponse = zod_1.default.object({
103
+ "uri": zod_1.default.string()
104
+ });
103
105
  exports.flowRunsGetVariablesPathIdRegExp = 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}$');
104
106
  exports.flowRunsGetVariablesParams = zod_1.default.strictObject({
105
107
  "id": zod_1.default.string().regex(exports.flowRunsGetVariablesPathIdRegExp)
@@ -475,6 +477,13 @@ exports.messagesPostCommentResponse = zod_1.default.object({
475
477
  "id": zod_1.default.string().regex(exports.messagesPostCommentResponseIdRegExp),
476
478
  "mentionedUsers": zod_1.default.array(zod_1.default.string())
477
479
  });
480
+ /**
481
+ * @summary Append a new input value to an in-flight message and stream successive
482
+ snapshots back to the client. Each frame is a full M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid)
483
+ with the latest cumulative state — the SDK should treat the response as
484
+ a stream of M:SmartSpace.App.ChatApi.Controllers.MessagesController.Message(System.Guid) frames (NDJSON / SSE), with the final
485
+ frame being the authoritative completed message.
486
+ */
478
487
  exports.messagesAddValueToMessagePathIdRegExp = 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}$');
479
488
  exports.messagesAddValueToMessageParams = zod_1.default.strictObject({
480
489
  "id": zod_1.default.string().regex(exports.messagesAddValueToMessagePathIdRegExp)
@@ -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, File, 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, WorkSpacesUpdatePromptResponseFlagParams, WorkSpacesWorkspaceFilesBody } from './models';
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, WorkSpacesUpdatePromptResponseFlagParams, 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, {}>>;
@@ -71,7 +71,7 @@ export declare const getSmartSpaceAdminAPI: () => {
71
71
  filesUploadFiles: (filesUploadFilesBody: FilesUploadFilesBody) => Promise<import("axios").AxiosResponse<File[], any, {}>>;
72
72
  filesGetFileInfo: (id: string, params?: FilesGetFileInfoParams) => Promise<import("axios").AxiosResponse<File, any, {}>>;
73
73
  filesDownloadFile: (id: string, params?: FilesDownloadFileParams) => Promise<import("axios").AxiosResponse<void, any, {}>>;
74
- filesGetUri: (id: string, params?: FilesGetUriParams) => Promise<import("axios").AxiosResponse<string, 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
77
  flowRunsGetFileFromFlowRunId: (flowRunId: string) => Promise<import("axios").AxiosResponse<File, any, {}>>;
@@ -151,7 +151,7 @@ export declare const getSmartSpaceAdminAPI: () => {
151
151
  sandBoxGetThreadMessages: (workspaceId: string, params?: SandBoxGetThreadMessagesParams) => Promise<import("axios").AxiosResponse<MessageMessage[], any, {}>>;
152
152
  sandBoxThreadMessages: (workspaceId: string, messageSandBoxMessageRequest: MessageSandBoxMessageRequest) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
153
153
  sandBoxStreamSandboxMessages: (workspaceId: string) => Promise<import("axios").AxiosResponse<void, any, {}>>;
154
- sandBoxAddValueToMessage: (workspaceId: string, id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<void, any, {}>>;
154
+ sandBoxAddValueToMessage: (workspaceId: string, id: string, messageCreateMessageInput: MessageCreateMessageInput) => Promise<import("axios").AxiosResponse<MessageMessage, any, {}>>;
155
155
  };
156
156
  export type AccessGetAccessesResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['accessGetAccesses']>>>;
157
157
  export type AccessAddAccessResult = NonNullable<Awaited<ReturnType<ReturnType<typeof getSmartSpaceAdminAPI>['accessAddAccess']>>>;
@@ -1079,6 +1079,14 @@ const getSmartSpaceAdminAPI = () => {
1079
1079
  return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
1080
1080
  });
1081
1081
  };
1082
+ /**
1083
+ * @summary Append a new input value to an in-flight sandbox message and stream
1084
+ successive snapshots back to the client. Each frame is a full
1085
+ SmartSpace.App.Business.Models.Message.Message with the latest cumulative state — the SDK
1086
+ should treat the response as a stream of SmartSpace.App.Business.Models.Message.Message frames
1087
+ (NDJSON / SSE), with the final frame being the authoritative completed
1088
+ message. Mirrors the chat-api `POST /messages/{id}/values`.
1089
+ */
1082
1090
  const sandBoxAddValueToMessage = (workspaceId, id, messageCreateMessageInput) => {
1083
1091
  return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
1084
1092
  headers: { 'Content-Type': 'application/*+json', },
@@ -0,0 +1,9 @@
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 FileUriResponse {
8
+ uri: string;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.13.2 🍺
4
+ * Do not edit manually.
5
+ * SmartSpace Admin API
6
+ * OpenAPI spec version: v1
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -102,6 +102,7 @@ export * from './enumsPinType';
102
102
  export * from './enumsPortType';
103
103
  export * from './enumsVirtualMachineServerType';
104
104
  export * from './file';
105
+ export * from './fileUriResponse';
105
106
  export * from './filesDownloadFileParams';
106
107
  export * from './filesGetFileInfoParams';
107
108
  export * from './filesGetUriParams';
@@ -118,6 +118,7 @@ __exportStar(require("./enumsPinType"), exports);
118
118
  __exportStar(require("./enumsPortType"), exports);
119
119
  __exportStar(require("./enumsVirtualMachineServerType"), exports);
120
120
  __exportStar(require("./file"), exports);
121
+ __exportStar(require("./fileUriResponse"), exports);
121
122
  __exportStar(require("./filesDownloadFileParams"), exports);
122
123
  __exportStar(require("./filesGetFileInfoParams"), exports);
123
124
  __exportStar(require("./filesGetUriParams"), exports);
@@ -1803,7 +1803,9 @@ export declare const filesGetUriQueryParams: zod.ZodObject<{
1803
1803
  threadId: zod.ZodOptional<zod.ZodString>;
1804
1804
  workspaceId: zod.ZodOptional<zod.ZodString>;
1805
1805
  }, zod.core.$strict>;
1806
- export declare const filesGetUriResponse: zod.ZodString;
1806
+ export declare const filesGetUriResponse: zod.ZodObject<{
1807
+ uri: zod.ZodString;
1808
+ }, zod.core.$strip>;
1807
1809
  /**
1808
1810
  * @summary Creates a new flow run with the specified parameters
1809
1811
  */
@@ -4204,6 +4206,14 @@ export declare const sandBoxStreamSandboxMessagesPathWorkspaceIdRegExp: RegExp;
4204
4206
  export declare const sandBoxStreamSandboxMessagesParams: zod.ZodObject<{
4205
4207
  workspaceId: zod.ZodString;
4206
4208
  }, zod.core.$strict>;
4209
+ /**
4210
+ * @summary Append a new input value to an in-flight sandbox message and stream
4211
+ successive snapshots back to the client. Each frame is a full
4212
+ SmartSpace.App.Business.Models.Message.Message with the latest cumulative state — the SDK
4213
+ should treat the response as a stream of SmartSpace.App.Business.Models.Message.Message frames
4214
+ (NDJSON / SSE), with the final frame being the authoritative completed
4215
+ message. Mirrors the chat-api `POST /messages/{id}/values`.
4216
+ */
4207
4217
  export declare const sandBoxAddValueToMessagePathWorkspaceIdRegExp: RegExp;
4208
4218
  export declare const sandBoxAddValueToMessagePathIdRegExp: RegExp;
4209
4219
  export declare const sandBoxAddValueToMessageParams: zod.ZodObject<{
@@ -1447,7 +1447,9 @@ exports.filesGetUriQueryParams = zod_1.default.strictObject({
1447
1447
  "threadId": zod_1.default.string().regex(exports.filesGetUriQueryThreadIdRegExpOne).optional().describe('Optional thread ID containing the file'),
1448
1448
  "workspaceId": zod_1.default.string().regex(exports.filesGetUriQueryWorkspaceIdRegExpOne).optional().describe('Optional workspace ID containing the file')
1449
1449
  });
1450
- exports.filesGetUriResponse = zod_1.default.string();
1450
+ exports.filesGetUriResponse = zod_1.default.object({
1451
+ "uri": zod_1.default.string()
1452
+ });
1451
1453
  /**
1452
1454
  * @summary Creates a new flow run with the specified parameters
1453
1455
  */
@@ -3294,6 +3296,14 @@ exports.sandBoxStreamSandboxMessagesPathWorkspaceIdRegExp = new RegExp('^[0-9a-f
3294
3296
  exports.sandBoxStreamSandboxMessagesParams = zod_1.default.strictObject({
3295
3297
  "workspaceId": zod_1.default.string().regex(exports.sandBoxStreamSandboxMessagesPathWorkspaceIdRegExp)
3296
3298
  });
3299
+ /**
3300
+ * @summary Append a new input value to an in-flight sandbox message and stream
3301
+ successive snapshots back to the client. Each frame is a full
3302
+ SmartSpace.App.Business.Models.Message.Message with the latest cumulative state — the SDK
3303
+ should treat the response as a stream of SmartSpace.App.Business.Models.Message.Message frames
3304
+ (NDJSON / SSE), with the final frame being the authoritative completed
3305
+ message. Mirrors the chat-api `POST /messages/{id}/values`.
3306
+ */
3297
3307
  exports.sandBoxAddValueToMessagePathWorkspaceIdRegExp = 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}$');
3298
3308
  exports.sandBoxAddValueToMessagePathIdRegExp = 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}$');
3299
3309
  exports.sandBoxAddValueToMessageParams = zod_1.default.strictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartspace/api-client",
3
- "version": "0.1.0-pr.775.4a4fa57",
3
+ "version": "0.1.0-pr.776.c466004",
4
4
  "description": "Generated TypeScript client for SmartSpace APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",