@smartspace/api-client 0.1.0-pr.973.b9f6d9f → 0.1.0-pr.976.ba8c32f
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 +2 -0
- package/dist/generated/chat/api.js +10 -1
- package/dist/generated/chat/api.msw.d.ts +1 -0
- package/dist/generated/chat/api.msw.js +14 -2
- package/dist/generated/chat/models/accessAccess.d.ts +11 -0
- package/dist/generated/chat/models/aiIModelProperty.d.ts +6 -0
- package/dist/generated/chat/models/aiModel.d.ts +7 -0
- package/dist/generated/chat/models/aiModelSummary.d.ts +5 -0
- package/dist/generated/chat/models/commentComment.d.ts +9 -0
- package/dist/generated/chat/models/commentCreateComment.d.ts +7 -0
- package/dist/generated/chat/models/connectorsConnectorSummary.d.ts +6 -0
- package/dist/generated/chat/models/filesFile.d.ts +12 -0
- package/dist/generated/chat/models/filesFileUriResponse.d.ts +7 -0
- package/dist/generated/chat/models/mentionsMention.d.ts +7 -0
- package/dist/generated/chat/models/notificationsNotification.d.ts +9 -0
- package/dist/generated/chat/models/notificationsPagedNotifications.d.ts +4 -0
- package/dist/generated/chat/models/usersAppUser.d.ts +5 -0
- package/dist/generated/chat/models/workSpaceInfo.d.ts +6 -0
- package/dist/generated/chat/models/workSpacesWorkSpace.d.ts +9 -0
- package/dist/generated/chat/zod.d.ts +9 -0
- package/dist/generated/chat/zod.js +39 -30
- package/dist/generated/config/api.d.ts +3 -1
- package/dist/generated/config/api.js +19 -1
- package/dist/generated/config/api.msw.d.ts +3 -1
- package/dist/generated/config/api.msw.js +19 -5
- package/dist/generated/config/models/accessAccess.d.ts +11 -0
- package/dist/generated/config/models/accessAccessWorkSpace.d.ts +6 -0
- package/dist/generated/config/models/accessCreateAccess.d.ts +4 -0
- package/dist/generated/config/models/activitiesActivityWorkSpace.d.ts +8 -0
- package/dist/generated/config/models/aiIModelProperty.d.ts +6 -0
- package/dist/generated/config/models/aiModel.d.ts +7 -0
- package/dist/generated/config/models/aiModelSummary.d.ts +5 -0
- package/dist/generated/config/models/blocksBlockInfo.d.ts +6 -0
- package/dist/generated/config/models/blocksBlockInterface.d.ts +9 -0
- package/dist/generated/config/models/blocksBlockSet.d.ts +7 -0
- package/dist/generated/config/models/blocksInputPinInterface.d.ts +6 -0
- package/dist/generated/config/models/blocksOutputPinInterface.d.ts +6 -0
- package/dist/generated/config/models/blocksPortInterface.d.ts +5 -0
- package/dist/generated/config/models/blocksStateInterface.d.ts +4 -0
- package/dist/generated/config/models/blocksUsedInWorkspaceRef.d.ts +5 -0
- package/dist/generated/config/models/connectorsConnector.d.ts +7 -0
- package/dist/generated/config/models/connectorsConnectorSummary.d.ts +6 -0
- package/dist/generated/config/models/connectorsCreateConnector.d.ts +5 -0
- package/dist/generated/config/models/connectorsResolvedConnector.d.ts +9 -0
- package/dist/generated/config/models/connectorsUpdateConnector.d.ts +9 -0
- package/dist/generated/config/models/dataSetsCreateDataSet.d.ts +6 -0
- package/dist/generated/config/models/dataSetsCreateDataSetContainer.d.ts +6 -0
- package/dist/generated/config/models/dataSetsDataSet.d.ts +14 -0
- package/dist/generated/config/models/dataSetsDataSetProperty.d.ts +5 -0
- package/dist/generated/config/models/dataSetsSetDataSetScoping.d.ts +6 -0
- package/dist/generated/config/models/dataSetsUpdateDataSet.d.ts +6 -0
- package/dist/generated/config/models/dataSetsUpdateDataSetBasicInfo.d.ts +4 -0
- package/dist/generated/config/models/dataSetsUpsertDataSetProperty.d.ts +15 -1
- package/dist/generated/config/models/dataSourcesCreateDataSource.d.ts +6 -0
- package/dist/generated/config/models/dataSourcesDataSource.d.ts +6 -0
- package/dist/generated/config/models/dataSourcesDataSourceAdminUser.d.ts +6 -0
- package/dist/generated/config/models/dataSourcesDataSourceCredentialsDefinition.d.ts +5 -0
- package/dist/generated/config/models/dataSourcesTestDataSourceConnection.d.ts +7 -0
- package/dist/generated/config/models/dataSourcesUpdateDataSourceCredentials.d.ts +6 -0
- package/dist/generated/config/models/dataSpacesCreateDataSpace.d.ts +5 -0
- package/dist/generated/config/models/dataSpacesDataSpace.d.ts +9 -0
- package/dist/generated/config/models/dataSpacesDataSpaceAdmin.d.ts +12 -0
- package/dist/generated/config/models/dataSpacesDataSpaceWorkSpaceRef.d.ts +5 -0
- package/dist/generated/config/models/dataSpacesUpdateDataSpace.d.ts +6 -0
- package/dist/generated/config/models/draftsDraft.d.ts +6 -0
- package/dist/generated/config/models/draftsPublishDraftRequest.d.ts +5 -0
- package/dist/generated/config/models/draftsSaveDraftRequest.d.ts +5 -0
- package/dist/generated/config/models/draftsSaveDraftResponse.d.ts +5 -0
- package/dist/generated/config/models/filesCreateFileFromBlobUri.d.ts +6 -0
- package/dist/generated/config/models/filesFile.d.ts +12 -0
- package/dist/generated/config/models/filesFileUriResponse.d.ts +7 -0
- package/dist/generated/config/models/filesIngestedBlob.d.ts +7 -0
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +16 -0
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.js +8 -0
- package/dist/generated/config/models/index.d.ts +3 -0
- package/dist/generated/config/models/index.js +3 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.d.ts +11 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiSmartSpaceAiPagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiWorkspaceRun.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +27 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.js +8 -0
- package/dist/generated/config/models/managedSecretsCreateManagedSecret.d.ts +7 -0
- package/dist/generated/config/models/managedSecretsManagedSecret.d.ts +8 -0
- package/dist/generated/config/models/managedSecretsUpdateManagedSecretValue.d.ts +4 -0
- package/dist/generated/config/models/notificationsNotification.d.ts +9 -0
- package/dist/generated/config/models/notificationsPagedNotifications.d.ts +4 -0
- package/dist/generated/config/models/syncsSyncQueueState.d.ts +6 -0
- package/dist/generated/config/models/syncsSyncRunInfo.d.ts +5 -0
- package/dist/generated/config/models/usersAppAccessUser.d.ts +5 -0
- package/dist/generated/config/models/usersAppRole.d.ts +3 -0
- package/dist/generated/config/models/usersAppUserDetail.d.ts +5 -0
- package/dist/generated/config/models/usersAppUserSearchResult.d.ts +5 -0
- package/dist/generated/config/models/usersAppUserSummary.d.ts +6 -0
- package/dist/generated/config/models/usersServicePrincipalSearchResult.d.ts +4 -0
- package/dist/generated/config/models/workSpaceInfo.d.ts +6 -0
- package/dist/generated/config/models/workSpacesCreateWorkSpace.d.ts +5 -0
- package/dist/generated/config/models/workSpacesUpdateWorkSpaceBasicInfo.d.ts +5 -0
- package/dist/generated/config/models/workSpacesWorkSpace.d.ts +9 -0
- package/dist/generated/config/models/workSpacesWorkSpaceUser.d.ts +6 -0
- package/dist/generated/config/zod.d.ts +40 -2
- package/dist/generated/config/zod.js +168 -130
- package/package.json +1 -1
|
@@ -10,15 +10,15 @@ exports.dataSetsGetIngestionRunsQueryTakeDefault = exports.dataSetsGetIngestionR
|
|
|
10
10
|
exports.dataSourcesContainerSchemaParams = exports.dataSourcesContainerSchemaPathDataSourceIdRegExp = exports.dataSourcesPreviewContainerResponse = exports.dataSourcesPreviewContainerBody = exports.dataSourcesPreviewContainerParams = exports.dataSourcesPreviewContainerPathDataSourceIdRegExp = exports.dataSourcesContainersResponse = exports.dataSourcesContainersResponseItem = exports.dataSourcesContainersResponseIdRegExp = exports.dataSourcesContainersResponseDataSourceIdRegExp = exports.dataSourcesContainersQueryParams = exports.dataSourcesContainersParams = exports.dataSourcesContainersPathDataSourceIdRegExp = exports.dataSourcesPutBody = exports.dataSourcesPutParams = exports.dataSourcesPutPathDataSourceIdRegExp = exports.dataSourcesDeleteParams = exports.dataSourcesDeletePathDataSourceIdRegExp = exports.dataSourcesPostResponse = exports.dataSourcesPostResponseIdRegExp = exports.dataSourcesPostResponseContainersItemIdRegExp = exports.dataSourcesPostResponseContainersItemDataSourceIdRegExp = exports.dataSourcesPostBody = exports.dataSourcesGetResponse = exports.dataSourcesGetResponseDataItemIdRegExp = exports.dataSourcesGetResponseDataItemContainersItemIdRegExp = exports.dataSourcesGetResponseDataItemContainersItemDataSourceIdRegExp = exports.dataSourcesGetQueryParams = exports.dataSourcesGetQuerySkipDefault = exports.dataSourcesGetQueryTakeDefault = exports.dataSourceTypesTestConnectionResponse = exports.dataSourceTypesTestConnectionBody = exports.dataSourceTypesGetAvailableContainersResponse = exports.dataSourceTypesGetAvailableContainersResponseItem = exports.dataSourceTypesGetAvailableContainersBody = exports.dataSourceTypesGetResponse = exports.dataSourceTypesGetResponseItem = exports.dataSetsPutScopingBody = exports.dataSetsPutScopingParams = exports.dataSetsPutScopingPathIdRegExp = exports.dataSetsGetIngestionRunsResponse = exports.dataSetsGetIngestionRunsResponseDataItemRetryOfRegExp = exports.dataSetsGetIngestionRunsResponseDataItemItemIdRegExp = exports.dataSetsGetIngestionRunsResponseDataItemFlowRunIdRegExp = exports.dataSetsGetIngestionRunsResponseDataItemDataSetVersionRegExp = exports.dataSetsGetIngestionRunsResponseDataItemDataSetIdRegExp = exports.dataSetsGetIngestionRunsResponseDataItemContainerIdRegExp = exports.dataSetsGetIngestionRunsResponseDataItemCausedByRegExp = exports.dataSetsGetIngestionRunsQueryParams = exports.dataSetsGetIngestionRunsQueryItemIdRegExp = void 0;
|
|
11
11
|
exports.dataSpacesPutResponseParentWorkspaceIdRegExp = exports.dataSpacesPutResponseIdRegExp = exports.dataSpacesPutResponseDataSetsItemVersionRegExp = exports.dataSpacesPutResponseDataSetsItemIdRegExp = exports.dataSpacesPutResponseDataSetsItemFlowIdRegExp = exports.dataSpacesPutResponseDataSetsItemDataSpaceIdRegExp = exports.dataSpacesPutBody = exports.dataSpacesPutBodyIdRegExp = exports.dataSpacesPutBodyDataSetIdsItemRegExp = exports.dataSpacesPutParams = exports.dataSpacesPutPathIdRegExp = exports.dataSpacesGetByIdResponse = exports.dataSpacesGetByIdResponseWorkSpacesItemIdRegExp = exports.dataSpacesGetByIdResponseParentWorkspaceIdRegExp = exports.dataSpacesGetByIdResponseIdRegExp = exports.dataSpacesGetByIdResponseDataSetsItemVersionRegExp = exports.dataSpacesGetByIdResponseDataSetsItemIdRegExp = exports.dataSpacesGetByIdResponseDataSetsItemFlowIdRegExp = exports.dataSpacesGetByIdResponseDataSetsItemDataSpaceIdRegExp = exports.dataSpacesGetByIdParams = exports.dataSpacesGetByIdPathIdRegExp = exports.dataSpacesDeleteParams = exports.dataSpacesDeletePathIdRegExp = exports.dataSpacesPostBody = exports.dataSpacesPostBodyDataSetIdsItemRegExp = exports.dataSpacesGetResponse = exports.dataSpacesGetResponseDataItemWorkSpacesItemIdRegExp = exports.dataSpacesGetResponseDataItemParentWorkspaceIdRegExp = exports.dataSpacesGetResponseDataItemIdRegExp = exports.dataSpacesGetResponseDataItemDataSetsItemVersionRegExp = exports.dataSpacesGetResponseDataItemDataSetsItemIdRegExp = exports.dataSpacesGetResponseDataItemDataSetsItemFlowIdRegExp = exports.dataSpacesGetResponseDataItemDataSetsItemDataSpaceIdRegExp = exports.dataSpacesGetQueryParams = exports.dataSpacesGetQuerySkipDefault = exports.dataSpacesGetQueryTakeDefault = exports.dataSourcesAddAdminParams = exports.dataSourcesAddAdminPathIdRegExp = exports.dataSourcesDeleteAdminParams = exports.dataSourcesDeleteAdminPathIdRegExp = exports.dataSourcesGetAdminUsersResponse = exports.dataSourcesGetAdminUsersResponseItem = exports.dataSourcesGetAdminUsersParams = exports.dataSourcesGetAdminUsersPathIdRegExp = exports.dataSourcesRequestSyncParams = exports.dataSourcesRequestSyncPathDataSourceIdRegExp = exports.dataSourcesUpdateCredentialsBody = exports.dataSourcesUpdateCredentialsParams = exports.dataSourcesUpdateCredentialsPathDataSourceIdRegExp = exports.dataSourcesContainerSchemaQueryParams = void 0;
|
|
12
12
|
exports.filesUploadFilesResponseItem = exports.filesUploadFilesResponseWorkspaceIdRegExpOne = exports.filesUploadFilesResponseThreadIdRegExpOne = exports.filesUploadFilesResponseIdRegExpOne = exports.filesUploadFilesBody = exports.filesUploadFilesBodyWorkspaceIdRegExpOne = exports.filesUploadFilesBodyUploadIdRegExpOne = exports.filesUploadFilesBodyThreadIdRegExpOne = exports.draftsPublishDraftResponse = exports.draftsPublishDraftResponseBlockSetIdRegExp = exports.draftsPublishDraftBody = exports.draftsPublishDraftParams = exports.draftsSaveDraftResponse = exports.draftsSaveDraftBody = exports.draftsSaveDraftParams = exports.draftsToggleDraftBody = exports.draftsToggleDraftParams = exports.draftsGetDraftResponse = exports.draftsGetDraftParams = exports.draftsDeleteDraftParams = exports.draftsListDraftsResponse = exports.draftsListDraftsResponseItem = exports.debugInvokeBody = exports.debugInvokeBodyItem = exports.debugInvokeParams = exports.dataSpacesPostDatasetBody = exports.dataSpacesPostDatasetBodyContainerInfoItemDataSourceIdRegExp = exports.dataSpacesPostDatasetParams = exports.dataSpacesPostDatasetPathIdRegExp = exports.dataSpacesGetDataSetsResponse = exports.dataSpacesGetDataSetsResponseDataItemVersionRegExp = exports.dataSpacesGetDataSetsResponseDataItemIdRegExp = exports.dataSpacesGetDataSetsResponseDataItemFlowIdRegExp = exports.dataSpacesGetDataSetsResponseDataItemDataSpaceIdRegExp = exports.dataSpacesGetDataSetsQueryParams = exports.dataSpacesGetDataSetsQuerySkipDefault = exports.dataSpacesGetDataSetsQueryTakeDefault = exports.dataSpacesGetDataSetsParams = exports.dataSpacesGetDataSetsPathIdRegExp = exports.dataSpacesAddAdminParams = exports.dataSpacesAddAdminPathIdRegExp = exports.dataSpacesDeleteAdminParams = exports.dataSpacesDeleteAdminPathIdRegExp = exports.dataSpacesGetAdminUsersResponse = exports.dataSpacesGetAdminUsersResponseItem = exports.dataSpacesGetAdminUsersResponseDataSpaceIdRegExp = exports.dataSpacesGetAdminUsersParams = exports.dataSpacesGetAdminUsersPathIdRegExp = exports.dataSpacesPutResponse = exports.dataSpacesPutResponseWorkSpacesItemIdRegExp = void 0;
|
|
13
|
-
exports.flowRunsGetStepExecutionsQuerySearchDefault = exports.flowRunsGetStepExecutionsQueryTakeDefault = exports.flowRunsGetStepExecutionsQuerySkipDefault = exports.flowRunsGetStepExecutionsParams = exports.flowRunsGetStepExecutionsPathIdRegExp = exports.flowRunsAddFileIdFilesExistingBody = exports.flowRunsAddFileIdFilesExistingBodyFlowRunIdRegExp = exports.flowRunsAddFileIdFilesExistingParams = exports.flowRunsAddFileIdFilesExistingPathIdRegExp = exports.flowRunsAddFileIdFilesBody = exports.flowRunsAddFileIdFilesParams = exports.flowRunsAddFileIdFilesPathIdRegExp = exports.flowRunsCancelFlowRunParams = exports.
|
|
13
|
+
exports.flowRunsGetStepExecutionsQuerySearchDefault = exports.flowRunsGetStepExecutionsQueryTakeDefault = exports.flowRunsGetStepExecutionsQuerySkipDefault = exports.flowRunsGetStepExecutionsParams = exports.flowRunsGetStepExecutionsPathIdRegExp = exports.flowRunsAddFileIdFilesExistingBody = exports.flowRunsAddFileIdFilesExistingBodyFlowRunIdRegExp = exports.flowRunsAddFileIdFilesExistingParams = exports.flowRunsAddFileIdFilesExistingPathIdRegExp = exports.flowRunsAddFileIdFilesBody = exports.flowRunsAddFileIdFilesParams = exports.flowRunsAddFileIdFilesPathIdRegExp = exports.flowRunsCancelFlowRunParams = exports.flowRunsCancelFlowRunPathIdRegExpOne = exports.flowRunsGetFlowRunParams = exports.flowRunsGetFlowRunPathIdRegExp = exports.flowRunsGetFileFromFlowRunIdResponse = exports.flowRunsGetFileFromFlowRunIdResponseWorkspaceIdRegExp = exports.flowRunsGetFileFromFlowRunIdResponseThreadIdRegExp = exports.flowRunsGetFileFromFlowRunIdResponseIdRegExp = exports.flowRunsGetFileFromFlowRunIdParams = exports.flowRunsGetFileFromFlowRunIdPathFlowRunIdRegExp = exports.flowRunsSearchFlowRunsQueryParams = exports.flowRunsSearchFlowRunsQueryTakeDefault = exports.flowRunsSearchFlowRunsQuerySkipDefault = exports.flowRunsSearchFlowRunsQueryDataSetIdRegExp = exports.flowRunsCreateFlowRunBody = exports.flowRunsCreateFlowRunQueryParams = exports.flowRunsCreateFlowRunQueryFlowIdRegExp = exports.filesGetUriResponse = exports.filesGetUriQueryParams = exports.filesGetUriQueryWorkspaceIdRegExpOne = exports.filesGetUriQueryThreadIdRegExpOne = exports.filesGetUriParams = exports.filesGetUriPathIdRegExpOne = exports.filesDownloadFileQueryParams = exports.filesDownloadFileQueryWorkspaceIdRegExpOne = exports.filesDownloadFileQueryThreadIdRegExpOne = exports.filesDownloadFileParams = exports.filesDownloadFilePathIdRegExpOne = exports.filesGetFileInfoResponse = exports.filesGetFileInfoResponseWorkspaceIdRegExpOne = exports.filesGetFileInfoResponseThreadIdRegExpOne = exports.filesGetFileInfoResponseIdRegExpOne = exports.filesGetFileInfoQueryParams = exports.filesGetFileInfoQueryWorkspaceIdRegExpOne = exports.filesGetFileInfoQueryThreadIdRegExpOne = exports.filesGetFileInfoParams = exports.filesGetFileInfoPathIdRegExpOne = exports.filesUploadFilesResponse = void 0;
|
|
14
14
|
exports.modelsUpsertModelPathIdRegExp = exports.modelsGetModelResponse = exports.modelsGetModelResponseIdRegExpOne = exports.modelsGetModelResponseDeploymentStepsItemIdRegExpOne = exports.modelsGetModelResponseDeploymentProviderIdRegExpOne = exports.modelsGetModelResponseDeploymentIdRegExpOne = exports.modelsGetModelParams = exports.modelsGetModelPathIdRegExpOne = exports.modelsDeleteModelParams = exports.modelsDeleteModelPathIdRegExp = exports.modelsGetDefaultDockerFileResponse = exports.modelsGetDefaultDockerFileQueryParams = exports.modelsCreateModelBody = exports.modelsCreateModelBodyDeploymentProviderIdRegExpOne = exports.modelsCreateModelBodyDeploymentProviderIdRegExp = exports.modelsGetModelsResponse = exports.modelsGetModelsResponseDataItemIdRegExpOne = exports.modelsGetModelsQueryParams = exports.modelsGetModelsQuerySearchDefaultOne = exports.modelsGetModelsQuerySkipDefaultOne = exports.modelsGetModelsQueryTakeDefaultOne = exports.modelProvidersUpsertProviderBody = exports.modelProvidersUpsertProviderBodyIdRegExp = exports.modelProvidersUpsertProviderParams = exports.modelProvidersUpsertProviderPathIdRegExp = exports.modelProvidersGetProviderParams = exports.modelProvidersGetProviderPathIdRegExp = exports.modelProvidersGetModelProviderTypeDeployableModelsParams = exports.modelProvidersCreateProviderBody = exports.modelProvidersCreateProviderBodyIdRegExp = exports.modelProvidersGetProvidersQueryParams = exports.modelProvidersGetProvidersQuerySkipDefault = exports.modelProvidersGetProvidersQueryTakeDefault = exports.flowsSetActiveFlowDefinitionBody = exports.flowsSetActiveFlowDefinitionParams = exports.flowsSetActiveFlowDefinitionPathIdRegExp = exports.flowsGetParams = exports.flowsGetPathIdRegExp = exports.flowRunsSetVariableBody = exports.flowRunsSetVariableParams = exports.flowRunsSetVariablePathIdRegExpOne = exports.flowRunsGetVariablesResponse = exports.flowRunsGetVariablesParams = exports.flowRunsGetVariablesPathIdRegExpOne = exports.flowRunsGetStepExecutionsResponse = exports.flowRunsGetStepExecutionsResponseLogsItemOutputsItemIdRegExp = exports.flowRunsGetStepExecutionsResponseLogsItemInputsItemValueIdRegExp = exports.flowRunsGetStepExecutionsResponseLogsItemInputsItemIdRegExp = exports.flowRunsGetStepExecutionsResponseLogsItemIdRegExp = exports.flowRunsGetStepExecutionsQueryParams = void 0;
|
|
15
15
|
exports.syncsGetItemsQueryTakeDefault = exports.syncsGetItemsQuerySkipDefault = exports.syncsGetItemsParams = exports.syncsGetItemsPathContainerIdRegExp = exports.syncsGetByIdResponse = exports.syncsGetByIdResponseIdRegExp = exports.syncsGetByIdResponseDataSourceIdRegExp = exports.syncsGetByIdResponseDataSetsItemVersionRegExp = exports.syncsGetByIdResponseDataSetsItemIdRegExp = exports.syncsGetByIdParams = exports.syncsGetByIdPathContainerIdRegExp = exports.syncsGetQueueResponse = exports.syncsGetQueueResponseWaitingDataSourceIdsItemRegExp = exports.syncsGetResponse = exports.syncsGetResponseDataItemIdRegExp = exports.syncsGetResponseDataItemDataSourceIdRegExp = exports.syncsGetResponseDataItemDataSetsItemVersionRegExp = exports.syncsGetResponseDataItemDataSetsItemIdRegExp = exports.syncsGetQueryParams = exports.syncsGetQueryDataSourceIdRegExp = exports.syncsGetQuerySkipDefault = exports.syncsGetQueryTakeDefault = exports.reportingGetTokensResponse = exports.reportingGetTokensQueryParams = exports.reportingGetTokensParams = exports.reportingGetRequestsResponse = exports.reportingGetRequestsQueryParams = exports.reportingGetRequestsParams = exports.planCalculateSmartSpaceUpgradeCostBody = exports.planUpdateSmartSpaceUpgradeBody = exports.notificationPutUpdateBody = exports.notificationPutUpdateBodyItem = exports.notificationPutUpdateBodyRegExpOne = exports.notificationGetResponse = exports.notificationGetResponseDataItemWorkSpaceIdRegExpOne = exports.notificationGetResponseDataItemThreadIdRegExpOne = exports.notificationGetResponseDataItemIdRegExpOne = exports.notificationGetQueryParams = exports.notificationGetQuerySkipDefaultOne = exports.notificationGetQueryTakeDefaultOne = exports.modelsGetModelHealthResponse = exports.modelsGetModelHealthParams = exports.modelsGetModelHealthPathIdRegExp = exports.modelsGetDeploymentDockerLogsResponse = exports.modelsGetDeploymentDockerLogsParams = exports.modelsGetDeploymentDockerLogsPathIdRegExp = exports.modelsUpsertModelBody = exports.modelsUpsertModelBodyDeploymentProviderIdRegExpOne = exports.modelsUpsertModelBodyDeploymentProviderIdRegExp = exports.modelsUpsertModelParams = void 0;
|
|
16
16
|
exports.workSpaceTemplatesGetResponseDataItemIdRegExp = exports.workSpaceTemplatesGetQueryParams = exports.workSpaceTemplatesGetQuerySearchDefault = exports.workSpaceTemplatesGetQuerySkipDefault = exports.workSpaceTemplatesGetQueryTakeDefault = exports.virtualMachinesGetVirtualMachineSizeResponse = exports.virtualMachinesGetVirtualMachineSizeResponseItem = exports.virtualMachinesGetVirtualMachineSizeParams = exports.virtualMachinesGetVirtualMachineLocationsResponse = exports.virtualMachinesGetVirtualMachineLocationsResponseItem = exports.usersRemoveUserPermissionParams = exports.usersRemoveUserPermissionPathUserIdRegExp = exports.usersAddUserPermissionBody = exports.usersAddUserPermissionBodyItem = exports.usersAddUserPermissionParams = exports.usersAddUserPermissionPathUserIdRegExp = exports.usersAdminPermissionQueryParams = exports.usersAdminPermissionParams = exports.usersAdminPermissionPathUserIdRegExp = exports.usersGetAccessWorkSpacesResponse = exports.usersGetAccessWorkSpacesResponseDataItemWorkSpaceIdRegExp = exports.usersGetAccessWorkSpacesResponseDataItemIdRegExp = exports.usersGetAccessWorkSpacesQueryParams = exports.usersGetAccessWorkSpacesQueryTakeDefault = exports.usersGetAccessWorkSpacesQuerySkipDefault = exports.usersGetAccessWorkSpacesParams = exports.usersGetAccessWorkSpacesPathIdRegExp = exports.usersGetUserPhotoResponse = exports.usersGetUserPhotoParams = exports.usersGetUserPhotoPathIdRegExpOne = exports.usersGetUserDetailResponse = exports.usersGetUserDetailParams = exports.usersSearchUsersResponse = exports.usersSearchUsersResponseItem = exports.usersSearchUsersQueryParams = exports.usersSearchUsersQueryTakeDefault = exports.usersRemoveUserFromAllWorkSpacesQueryParams = exports.usersRemoveUserFromAllWorkSpacesQueryUserIdRegExp = exports.usersGetMyPermissionsResponse = exports.usersGetMyPermissionsResponseItem = exports.usersGetUsersByFilterParams = exports.usersGetUsersResponse = exports.usersGetUsersQueryParams = exports.usersGetUsersQueryTakeDefault = exports.usersGetUsersQuerySkipDefault = exports.tenantIdGetResultResponse = exports.syncsGetItemsResponse = exports.syncsGetItemsResponseDataItemIdRegExp = exports.syncsGetItemsResponseDataItemContainerIdRegExp = exports.syncsGetItemsQueryParams = void 0;
|
|
17
17
|
exports.workSpacesGetIdResponseModelConfigurationsItemModelDeploymentIdRegExpOne = exports.workSpacesGetIdResponseIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemWorkspacesInfoItemIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemParentWorkspaceIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemVersionRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemFlowTriggersItemIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemFlowTriggersItemFlowIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemFlowTriggersItemDataSourceContainerIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemFlowTriggersItemDataSourceContainerDataSourceIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemFlowIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemFlowActiveFlowDefinitionIdRegExpOne = exports.workSpacesGetIdResponseDataSpacesItemDataSetsItemDataSpaceIdRegExpOne = exports.workSpacesGetIdResponseConnectorsItemIdRegExpOne = exports.workSpacesGetIdParams = exports.workSpacesGetIdPathIdRegExpOne = exports.workSpacesDeleteParams = exports.workSpacesDeletePathIdRegExp = exports.workSpacesPostBody = exports.workSpacesPostBodyTemplateVersionIdRegExp = exports.workSpacesPostBodyModelConfigurationsItemModelIdRegExp = exports.workSpacesPostBodyIdRegExp = exports.workSpacesPostBodyDataSpacesItemRegExp = exports.workSpacesGetGetResponse = exports.workSpacesGetGetResponseDataItemSandBoxThreadIdRegExpOne = exports.workSpacesGetGetResponseDataItemModelConfigurationsItemModelIdRegExpOne = exports.workSpacesGetGetResponseDataItemModelConfigurationsItemModelDeploymentStepsItemIdRegExpOne = exports.workSpacesGetGetResponseDataItemModelConfigurationsItemModelDeploymentProviderIdRegExpOne = exports.workSpacesGetGetResponseDataItemModelConfigurationsItemModelDeploymentIdRegExpOne = exports.workSpacesGetGetResponseDataItemIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemWorkspacesInfoItemIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemParentWorkspaceIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemVersionRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemFlowTriggersItemIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemFlowTriggersItemFlowIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemFlowTriggersItemDataSourceContainerIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemFlowTriggersItemDataSourceContainerDataSourceIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemFlowIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemFlowActiveFlowDefinitionIdRegExpOne = exports.workSpacesGetGetResponseDataItemDataSpacesItemDataSetsItemDataSpaceIdRegExpOne = exports.workSpacesGetGetResponseDataItemConnectorsItemIdRegExpOne = exports.workSpacesGetGetQueryParams = exports.workSpacesGetGetQuerySkipDefaultOne = exports.workSpacesGetGetQueryTakeDefaultOne = exports.workSpaceTemplatesGetResponse = exports.workSpaceTemplatesGetResponseDataItemPublisherIdRegExp = exports.workSpaceTemplatesGetResponseDataItemLatestVersionIdRegExp = void 0;
|
|
18
18
|
exports.workSpacesGetWorkspaceFilesQueryTakeDefault = exports.workSpacesGetWorkspaceFilesParams = exports.workSpacesGetWorkspaceFilesPathWorkspaceIdRegExp = exports.workSpacesAddDataSpaceParams = exports.workSpacesAddDataSpacePathDataspaceIdRegExp = exports.workSpacesAddDataSpacePathWorkspaceIdRegExp = exports.workSpacesRemoveDataSpaceParams = exports.workSpacesRemoveDataSpacePathDataspaceIdRegExp = exports.workSpacesRemoveDataSpacePathWorkspaceIdRegExp = exports.workSpacesAddConnectorParams = exports.workSpacesAddConnectorPathConnectorIdRegExp = exports.workSpacesAddConnectorPathWorkspaceIdRegExp = exports.workSpacesRemoveConnectorParams = exports.workSpacesRemoveConnectorPathConnectorIdRegExp = exports.workSpacesRemoveConnectorPathWorkspaceIdRegExp = exports.workSpacesPutModelConfigurationBody = exports.workSpacesPutModelConfigurationBodyModelIdRegExp = exports.workSpacesPutModelConfigurationParams = exports.workSpacesPutModelConfigurationPathIdRegExp = exports.workSpacesDeleteModelConfigurationParams = exports.workSpacesDeleteModelConfigurationPathIdRegExp = exports.workSpacesGetThreadsResponse = exports.workSpacesGetThreadsResponseDataItemWorkSpaceIdRegExp = exports.workSpacesGetThreadsResponseDataItemIdRegExp = exports.workSpacesGetThreadsQueryParams = exports.workSpacesGetThreadsQuerySkipDefault = exports.workSpacesGetThreadsQueryTakeDefault = exports.workSpacesGetThreadsParams = exports.workSpacesGetThreadsPathIdRegExp = exports.workSpacesSetFavoritedBody = exports.workSpacesSetFavoritedParams = exports.workSpacesSetFavoritedPathIdRegExp = exports.workSpacesPutBody = exports.workSpacesPutParams = exports.workSpacesPutPathIdRegExp = exports.workSpacesAddWorkspaceAdminParams = exports.workSpacesAddWorkspaceAdminPathUserIdRegExp = exports.workSpacesAddWorkspaceAdminPathIdRegExp = exports.workSpacesDeleteAdminParams = exports.workSpacesDeleteAdminPathUserIdRegExp = exports.workSpacesDeleteAdminPathIdRegExp = exports.workSpacesGetWorkspaceAdminsResponse = exports.workSpacesGetWorkspaceAdminsResponseItem = exports.workSpacesGetWorkspaceAdminsParams = exports.workSpacesGetWorkspaceAdminsPathIdRegExp = exports.workSpacesGetIdResponse = exports.workSpacesGetIdResponseSandBoxThreadIdRegExpOne = exports.workSpacesGetIdResponseModelConfigurationsItemModelIdRegExpOne = exports.workSpacesGetIdResponseModelConfigurationsItemModelDeploymentStepsItemIdRegExpOne = exports.workSpacesGetIdResponseModelConfigurationsItemModelDeploymentProviderIdRegExpOne = void 0;
|
|
19
19
|
exports.documentsGetDocumentSasResponse = exports.documentsGetDocumentSasQueryParams = exports.documentsGetDocumentSasParams = exports.documentsGetDocumentSasPathDataSpaceIdRegExpOne = exports.connectorsUpdateConnectorResponse = exports.connectorsUpdateConnectorResponseIdRegExp = exports.connectorsUpdateConnectorBody = exports.connectorsUpdateConnectorParams = exports.connectorsUpdateConnectorPathIdRegExp = exports.connectorsGetConnectorResponse = exports.connectorsGetConnectorResponseIdRegExp = exports.connectorsGetConnectorParams = exports.connectorsGetConnectorPathIdRegExp = exports.connectorsDeleteConnectorParams = exports.connectorsDeleteConnectorPathIdRegExp = exports.connectorsGetConnectorSummariesResponse = exports.connectorsGetConnectorSummariesResponseItem = exports.connectorsGetConnectorSummariesResponseIdRegExp = exports.connectorsGetConnectorSummariesQueryParams = exports.connectorsCreateConnectorBody = exports.connectorsGetConnectorsResponse = exports.connectorsGetConnectorsResponseItem = exports.connectorsGetConnectorsResponseIdRegExp = exports.connectorsGetConnectorsQueryParams = exports.workSpacesSetActiveFlowLayoutBody = exports.workSpacesSetActiveFlowLayoutParams = exports.workSpacesSetActiveFlowLayoutPathWorkspaceIdRegExp = exports.workSpacesSetActiveFlowBody = exports.workSpacesSetActiveFlowParams = exports.workSpacesSetActiveFlowPathWorkspaceIdRegExp = exports.workSpacesGetActiveFlowResponse = exports.workSpacesGetActiveFlowParams = exports.workSpacesGetActiveFlowPathWorkspaceIdRegExp = exports.workSpacesDeleteWorkspaceFileParams = exports.workSpacesDeleteWorkspaceFilePathFileIdRegExp = exports.workSpacesDeleteWorkspaceFilePathWorkspaceIdRegExp = exports.workSpacesWorkspaceFilesResponse = exports.workSpacesWorkspaceFilesResponseItem = exports.workSpacesWorkspaceFilesResponseFileWorkspaceIdRegExp = exports.workSpacesWorkspaceFilesResponseFileThreadIdRegExp = exports.workSpacesWorkspaceFilesResponseFileIdRegExp = exports.workSpacesWorkspaceFilesBody = exports.workSpacesWorkspaceFilesParams = exports.workSpacesWorkspaceFilesPathWorkspaceIdRegExp = exports.workSpacesGetWorkspaceFilesResponse = exports.workSpacesGetWorkspaceFilesResponseDataItemFileWorkspaceIdRegExp = exports.workSpacesGetWorkspaceFilesResponseDataItemFileThreadIdRegExp = exports.workSpacesGetWorkspaceFilesResponseDataItemFileIdRegExp = exports.workSpacesGetWorkspaceFilesQueryParams = exports.workSpacesGetWorkspaceFilesQuerySkipDefault = void 0;
|
|
20
|
-
exports.
|
|
21
|
-
exports.sandBoxAddValueToMessageBody = exports.sandBoxAddValueToMessageParams = exports.sandBoxAddValueToMessagePathIdRegExp = exports.sandBoxAddValueToMessagePathWorkspaceIdRegExp = exports.sandBoxStreamSandboxMessagesParams = exports.sandBoxStreamSandboxMessagesPathWorkspaceIdRegExp = exports.sandBoxThreadMessagesResponse = exports.sandBoxThreadMessagesResponseValuesItemIdRegExp = exports.sandBoxThreadMessagesResponseMessageThreadIdRegExp = exports.sandBoxThreadMessagesResponseIdRegExp = exports.sandBoxThreadMessagesBody = exports.sandBoxThreadMessagesParams = exports.sandBoxThreadMessagesPathWorkspaceIdRegExp = exports.sandBoxGetThreadMessagesResponse = exports.sandBoxGetThreadMessagesResponseItem = exports.sandBoxGetThreadMessagesResponseValuesItemIdRegExp = void 0;
|
|
20
|
+
exports.sandBoxThreadMessageCreateByUsersProfileImagesResponse = exports.sandBoxThreadMessageCreateByUsersProfileImagesResponseItem = exports.sandBoxThreadMessageCreateByUsersProfileImagesParams = exports.sandBoxThreadMessageCreateByUsersProfileImagesPathWorkspaceIdRegExp = exports.sandBoxGetSandboxThreadResponse = exports.sandBoxGetSandboxThreadResponseWorkSpaceIdRegExp = exports.sandBoxGetSandboxThreadResponseIdRegExp = exports.sandBoxGetSandboxThreadParams = exports.sandBoxGetSandboxThreadPathWorkspaceIdRegExp = exports.flowRunsGetWorkspaceRunsResponse = exports.flowRunsGetWorkspaceRunsResponseDataItemFlowRunIdRegExp = exports.flowRunsGetWorkspaceRunsResponseDataItemFlowIdRegExp = exports.flowRunsGetWorkspaceRunsResponseDataItemFlowDefinitionIdRegExp = exports.flowRunsGetWorkspaceRunsQueryParams = exports.flowRunsGetWorkspaceRunsQueryTakeDefault = exports.flowRunsGetWorkspaceRunsQuerySkipDefault = exports.flowRunsGetWorkspaceRunsParams = exports.flowRunsGetWorkspaceRunsPathWorkspaceIdRegExp = exports.messageThreadsGetStepExecutionsResponse = exports.messageThreadsGetStepExecutionsResponseLogsItemOutputsItemIdRegExp = exports.messageThreadsGetStepExecutionsResponseLogsItemInputsItemValueIdRegExp = exports.messageThreadsGetStepExecutionsResponseLogsItemInputsItemIdRegExp = exports.messageThreadsGetStepExecutionsResponseLogsItemIdRegExp = exports.messageThreadsGetStepExecutionsQueryParams = exports.messageThreadsGetStepExecutionsQuerySearchDefault = exports.messageThreadsGetStepExecutionsQueryTakeDefault = exports.messageThreadsGetStepExecutionsQuerySkipDefault = exports.messageThreadsGetStepExecutionsParams = exports.messageThreadsGetStepExecutionsPathMessageThreadIdRegExp = exports.messageThreadsGetStepExecutionsPathWorkSpaceIdRegExp = exports.messageThreadsGetWorkspaceExecutionsResponse = exports.messageThreadsGetWorkspaceExecutionsResponseLogsItemOutputsItemIdRegExp = exports.messageThreadsGetWorkspaceExecutionsResponseLogsItemInputsItemValueIdRegExp = exports.messageThreadsGetWorkspaceExecutionsResponseLogsItemInputsItemIdRegExp = exports.messageThreadsGetWorkspaceExecutionsResponseLogsItemIdRegExp = exports.messageThreadsGetWorkspaceExecutionsQueryParams = exports.messageThreadsGetWorkspaceExecutionsQuerySearchDefault = exports.messageThreadsGetWorkspaceExecutionsQueryTakeDefault = exports.messageThreadsGetWorkspaceExecutionsQuerySkipDefault = exports.messageThreadsGetWorkspaceExecutionsParams = exports.messageThreadsGetWorkspaceExecutionsPathWorkSpaceIdRegExp = exports.managedSecretsOverwriteManagedSecretValueResponse = exports.managedSecretsOverwriteManagedSecretValueResponseIdRegExp = exports.managedSecretsOverwriteManagedSecretValueBody = exports.managedSecretsOverwriteManagedSecretValueParams = exports.managedSecretsDeleteManagedSecretParams = exports.managedSecretsCreateManagedSecretBody = exports.managedSecretsGetManagedSecretsResponse = exports.managedSecretsGetManagedSecretsResponseItem = exports.managedSecretsGetManagedSecretsResponseIdRegExp = void 0;
|
|
21
|
+
exports.sandBoxAddValueToMessageBody = exports.sandBoxAddValueToMessageParams = exports.sandBoxAddValueToMessagePathIdRegExp = exports.sandBoxAddValueToMessagePathWorkspaceIdRegExp = exports.sandBoxStreamSandboxMessagesParams = exports.sandBoxStreamSandboxMessagesPathWorkspaceIdRegExp = exports.sandBoxThreadMessagesResponse = exports.sandBoxThreadMessagesResponseValuesItemIdRegExp = exports.sandBoxThreadMessagesResponseMessageThreadIdRegExp = exports.sandBoxThreadMessagesResponseIdRegExp = exports.sandBoxThreadMessagesBody = exports.sandBoxThreadMessagesParams = exports.sandBoxThreadMessagesPathWorkspaceIdRegExp = exports.sandBoxGetThreadMessagesResponse = exports.sandBoxGetThreadMessagesResponseItem = exports.sandBoxGetThreadMessagesResponseValuesItemIdRegExp = exports.sandBoxGetThreadMessagesResponseMessageThreadIdRegExp = exports.sandBoxGetThreadMessagesResponseIdRegExp = exports.sandBoxGetThreadMessagesQueryParams = exports.sandBoxGetThreadMessagesQuerySkipDefault = exports.sandBoxGetThreadMessagesQueryTakeDefault = exports.sandBoxGetThreadMessagesParams = exports.sandBoxGetThreadMessagesPathWorkspaceIdRegExp = exports.sandBoxClearSandboxMessagesParams = exports.sandBoxClearSandboxMessagesPathWorkspaceIdRegExp = void 0;
|
|
22
22
|
/**
|
|
23
23
|
* Generated by orval v7.13.2 🍺
|
|
24
24
|
* Do not edit manually.
|
|
@@ -55,7 +55,7 @@ exports.accessGetAccessesResponse = zod_1.default.object({
|
|
|
55
55
|
"principalType": zod_1.default.enum(['Unknown', 'User', 'ServicePrincipal', 'Internal']).optional(),
|
|
56
56
|
"userEmailAddress": zod_1.default.string().nullish(),
|
|
57
57
|
"workSpaceId": zod_1.default.string().regex(exports.accessGetAccessesResponseDataItemWorkSpaceIdRegExp).nullish()
|
|
58
|
-
})),
|
|
58
|
+
}).describe('Full read shape for an access grant. The model collides on the simple\r\nname with `SmartSpace.App.Data.Entities.EntityAccess` at the\r\nnamespace alias boundary — but the entity uses a different short name\r\n(`EntityAccess`), so no alias is required when both are imported.\r\n \r\nDisplay names (`DisplayName`, `UserEmailAddress`) are not\r\ncolumns on the entity — they are resolved at read time from Azure AD via\r\n`IUserService` / `IAzureADClient` and filled in by the service\r\nafter loading.')),
|
|
59
59
|
"total": zod_1.default.number()
|
|
60
60
|
});
|
|
61
61
|
/**
|
|
@@ -66,7 +66,7 @@ exports.accessAddAccessBody = zod_1.default.strictObject({
|
|
|
66
66
|
"accessType": zod_1.default.enum(['Principal', 'Group']),
|
|
67
67
|
"objectId": zod_1.default.string(),
|
|
68
68
|
"workSpaceId": zod_1.default.string().regex(exports.accessAddAccessBodyWorkSpaceIdRegExp)
|
|
69
|
-
});
|
|
69
|
+
}).describe('Request body for creating an access grant. Access records are junction\r\nrows — there is no `UpdateAccess`; the convention is delete + create.');
|
|
70
70
|
/**
|
|
71
71
|
* @summary List groups from Azure AD.
|
|
72
72
|
*/
|
|
@@ -93,7 +93,7 @@ exports.accessGetAppRolesResponseItem = zod_1.default.object({
|
|
|
93
93
|
"description": zod_1.default.string(),
|
|
94
94
|
"id": zod_1.default.string().regex(exports.accessGetAppRolesResponseIdRegExp),
|
|
95
95
|
"name": zod_1.default.string()
|
|
96
|
-
});
|
|
96
|
+
}).describe('Azure AD application-role model. Sourced from AAD; no local EF entity.');
|
|
97
97
|
exports.accessGetAppRolesResponse = zod_1.default.array(exports.accessGetAppRolesResponseItem);
|
|
98
98
|
/**
|
|
99
99
|
* @summary List users assigned to a specific role in SmartSpace by providing the role's ID.
|
|
@@ -115,7 +115,7 @@ exports.accessGetUsersInRoleRolesRoleIdUsersResponse = zod_1.default.object({
|
|
|
115
115
|
"emailAddress": zod_1.default.string().nullish(),
|
|
116
116
|
"isAssigned": zod_1.default.boolean(),
|
|
117
117
|
"userId": zod_1.default.string()
|
|
118
|
-
})),
|
|
118
|
+
}).describe('User model in the context of an access-grant picker — adds an\r\n`IsAssigned` flag for highlighting users who already have access to\r\nthe target resource.')),
|
|
119
119
|
"total": zod_1.default.number()
|
|
120
120
|
});
|
|
121
121
|
/**
|
|
@@ -155,7 +155,7 @@ exports.accessSearchServicePrincipalsResponse = zod_1.default.object({
|
|
|
155
155
|
"displayName": zod_1.default.string(),
|
|
156
156
|
"id": zod_1.default.string(),
|
|
157
157
|
"isAssigned": zod_1.default.boolean()
|
|
158
|
-
})),
|
|
158
|
+
}).describe('Service-principal counterpart of SmartSpace.App.Business.Models.Users.AppUserSearchResult for\r\nthe same picker UI.')),
|
|
159
159
|
"total": zod_1.default.number()
|
|
160
160
|
});
|
|
161
161
|
/**
|
|
@@ -176,7 +176,7 @@ exports.accessSearchUsersResponse = zod_1.default.object({
|
|
|
176
176
|
"id": zod_1.default.string(),
|
|
177
177
|
"isAssigned": zod_1.default.boolean(),
|
|
178
178
|
"name": zod_1.default.string()
|
|
179
|
-
})),
|
|
179
|
+
}).describe('Minimal user search result for autocomplete / picker UIs. Drops every\r\nfield that isn\'t needed to render a row — the picker only needs id, name,\r\nand email.')),
|
|
180
180
|
"total": zod_1.default.number()
|
|
181
181
|
});
|
|
182
182
|
/**
|
|
@@ -198,7 +198,7 @@ exports.accessGetUsersInRoleUsersResponse = zod_1.default.object({
|
|
|
198
198
|
"emailAddress": zod_1.default.string().nullish(),
|
|
199
199
|
"isAssigned": zod_1.default.boolean(),
|
|
200
200
|
"userId": zod_1.default.string()
|
|
201
|
-
})),
|
|
201
|
+
}).describe('User model in the context of an access-grant picker — adds an\r\n`IsAssigned` flag for highlighting users who already have access to\r\nthe target resource.')),
|
|
202
202
|
"total": zod_1.default.number()
|
|
203
203
|
});
|
|
204
204
|
/**
|
|
@@ -259,7 +259,7 @@ exports.activityGetLoggingResponse = zod_1.default.object({
|
|
|
259
259
|
"response": zod_1.default.string().nullish(),
|
|
260
260
|
"workSpaceId": zod_1.default.string().regex(exports.activityGetLoggingResponseDataItemWorkSpaceIdRegExp).nullish(),
|
|
261
261
|
"workSpaceName": zod_1.default.string().nullish()
|
|
262
|
-
})),
|
|
262
|
+
}).describe('Workspace-scoped activity row returned by the activity log endpoint. The\r\n`EventDescription`, `Prompt`, `Response`, and\r\n`QueryNumber` are deserialised from the activity\'s\r\n`DisplayName` (a JSON-serialised `WorkSpaceConfiguration`);\r\n`LlmUsages` and `DurationMs` from `MetricsJson`. Build\r\nhappens in service code — see `ActivityService.GetLogWorkSpaceAsync`.')),
|
|
263
263
|
"total": zod_1.default.number()
|
|
264
264
|
});
|
|
265
265
|
/**
|
|
@@ -312,7 +312,7 @@ exports.blockSetsGetBlockSetsResponseItem = zod_1.default.object({
|
|
|
312
312
|
"sticky": zod_1.default.boolean(),
|
|
313
313
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary']),
|
|
314
314
|
"virtual": zod_1.default.boolean()
|
|
315
|
-
})),
|
|
315
|
+
}).describe('Model for an input pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.InputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`,\r\n`Default`) rather than the raw `*Json` columns.')),
|
|
316
316
|
"isFunction": zod_1.default.boolean(),
|
|
317
317
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
318
318
|
"outputs": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
@@ -325,9 +325,9 @@ exports.blockSetsGetBlockSetsResponseItem = zod_1.default.object({
|
|
|
325
325
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
326
326
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
327
327
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
328
|
-
})),
|
|
328
|
+
}).describe('Model for an output pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.OutputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`)\r\nrather than the raw `*Json` columns.')),
|
|
329
329
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
330
|
-
})),
|
|
330
|
+
}).describe('Model for a block `PortInterface`. Inputs and Outputs are keyed by pin\r\nname (entities store them as `List<...>` with a `Key`\r\ncolumn; the model exposes them as dictionaries to match the API shape).')),
|
|
331
331
|
"scopes": zod_1.default.array(zod_1.default.enum(['WorkSpace', 'DataSet'])).nullish(),
|
|
332
332
|
"state": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
333
333
|
"default": zod_1.default.any().nullish(),
|
|
@@ -336,8 +336,8 @@ exports.blockSetsGetBlockSetsResponseItem = zod_1.default.object({
|
|
|
336
336
|
"pin": zod_1.default.string(),
|
|
337
337
|
"port": zod_1.default.string()
|
|
338
338
|
}))
|
|
339
|
-
}))
|
|
340
|
-
}))),
|
|
339
|
+
}).describe('Model for a block `StateInterface` — a piece of state declared by a\r\nblock interface, with a JSON default value and an optional pin-ref scope.'))
|
|
340
|
+
}).describe('Model for a block interface — the schema that describes a single\r\n(name, version) pair of a block (ports, state, scope). Collides on the\r\nsimple name with `SmartSpace.App.Data.Entities.BlockInterface`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. `Name` and `Version` live on the entity but are surfaced\r\nhere too so the wire shape is self-describing (the same model travels via\r\nSignalR debug payloads where the keys are stripped).'))),
|
|
341
341
|
"connectionId": zod_1.default.string().nullish(),
|
|
342
342
|
"createdByUserId": zod_1.default.string().nullish(),
|
|
343
343
|
"id": zod_1.default.string().regex(exports.blockSetsGetBlockSetsResponseIdRegExp),
|
|
@@ -348,8 +348,8 @@ exports.blockSetsGetBlockSetsResponseItem = zod_1.default.object({
|
|
|
348
348
|
"usedInWorkspaces": zod_1.default.array(zod_1.default.object({
|
|
349
349
|
"id": zod_1.default.string().regex(exports.blockSetsGetBlockSetsResponseUsedInWorkspacesItemIdRegExp),
|
|
350
350
|
"name": zod_1.default.string()
|
|
351
|
-
}))
|
|
352
|
-
});
|
|
351
|
+
}).describe('A workspace that references one of the block set\'s blocks in its active\r\nflow definition. Carries the id so the UI can deep-link to the workspace\r\ndesigner (e.g. to detach a block before deleting its set).'))
|
|
352
|
+
}).describe('Model for a `BlockSet` — a versioned collection of block interfaces.\r\nCollides on the simple name with `SmartSpace.App.Data.Entities.BlockSet`;\r\nalias `DataEntities = SmartSpace.App.Data.Entities` in files that\r\nimport both. `BlockInterfaces` is keyed by block name then version to\r\nmatch the API shape consumers expect.');
|
|
353
353
|
exports.blockSetsGetBlockSetsResponse = zod_1.default.array(exports.blockSetsGetBlockSetsResponseItem);
|
|
354
354
|
/**
|
|
355
355
|
* @summary Get the saved Python source code for a deployed custom block set.
|
|
@@ -418,7 +418,7 @@ exports.blocksGetBlocksResponse = zod_1.default.record(zod_1.default.string(), z
|
|
|
418
418
|
"sticky": zod_1.default.boolean(),
|
|
419
419
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary']),
|
|
420
420
|
"virtual": zod_1.default.boolean()
|
|
421
|
-
})),
|
|
421
|
+
}).describe('Model for an input pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.InputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`,\r\n`Default`) rather than the raw `*Json` columns.')),
|
|
422
422
|
"isFunction": zod_1.default.boolean(),
|
|
423
423
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
424
424
|
"outputs": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
@@ -431,9 +431,9 @@ exports.blocksGetBlocksResponse = zod_1.default.record(zod_1.default.string(), z
|
|
|
431
431
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
432
432
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
433
433
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
434
|
-
})),
|
|
434
|
+
}).describe('Model for an output pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.OutputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`)\r\nrather than the raw `*Json` columns.')),
|
|
435
435
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
436
|
-
})),
|
|
436
|
+
}).describe('Model for a block `PortInterface`. Inputs and Outputs are keyed by pin\r\nname (entities store them as `List<...>` with a `Key`\r\ncolumn; the model exposes them as dictionaries to match the API shape).')),
|
|
437
437
|
"scopes": zod_1.default.array(zod_1.default.enum(['WorkSpace', 'DataSet'])).nullish(),
|
|
438
438
|
"state": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
439
439
|
"default": zod_1.default.any().nullish(),
|
|
@@ -442,13 +442,13 @@ exports.blocksGetBlocksResponse = zod_1.default.record(zod_1.default.string(), z
|
|
|
442
442
|
"pin": zod_1.default.string(),
|
|
443
443
|
"port": zod_1.default.string()
|
|
444
444
|
}))
|
|
445
|
-
}))
|
|
446
|
-
}),
|
|
445
|
+
}).describe('Model for a block `StateInterface` — a piece of state declared by a\r\nblock interface, with a JSON default value and an optional pin-ref scope.'))
|
|
446
|
+
}).describe('Model for a block interface — the schema that describes a single\r\n(name, version) pair of a block (ports, state, scope). Collides on the\r\nsimple name with `SmartSpace.App.Data.Entities.BlockInterface`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. `Name` and `Version` live on the entity but are surfaced\r\nhere too so the wire shape is self-describing (the same model travels via\r\nSignalR debug payloads where the keys are stripped).'),
|
|
447
447
|
"name": zod_1.default.string(),
|
|
448
448
|
"sourceCodeUrl": zod_1.default.string().nullish(),
|
|
449
449
|
"type": zod_1.default.enum(['Native', 'Custom', 'Debug']),
|
|
450
450
|
"version": zod_1.default.string()
|
|
451
|
-
})));
|
|
451
|
+
}).describe('Flattened block descriptor — one `BlockInfo` per (name, version) pair\r\nacross every visible `BlockSet`. This is the shape the\r\n`BlocksController` returns; the dictionary-of-dictionaries layout is\r\nreconstructed by the service from the underlying interfaces.')));
|
|
452
452
|
/**
|
|
453
453
|
* @summary List the SDK's built-in blocks (smartspace.* modules) for the
|
|
454
454
|
custom-blocks draft picker. App-native blocks (LLMs etc.) are
|
|
@@ -637,11 +637,11 @@ exports.dataSetsGetResponse = zod_1.default.object({
|
|
|
637
637
|
"description": zod_1.default.string().nullish(),
|
|
638
638
|
"isVector": zod_1.default.boolean(),
|
|
639
639
|
"name": zod_1.default.string()
|
|
640
|
-
})),
|
|
640
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
641
641
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
642
642
|
"subjectPath": zod_1.default.string().nullish(),
|
|
643
643
|
"version": zod_1.default.string().regex(exports.dataSetsGetResponseDataItemVersionRegExp).nullish()
|
|
644
|
-
})),
|
|
644
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.')),
|
|
645
645
|
"total": zod_1.default.number()
|
|
646
646
|
});
|
|
647
647
|
exports.dataSetsGetItemPathDataSetIdRegExp = 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}$');
|
|
@@ -696,11 +696,11 @@ exports.dataSetsGetByIdResponse = zod_1.default.object({
|
|
|
696
696
|
"description": zod_1.default.string().nullish(),
|
|
697
697
|
"isVector": zod_1.default.boolean(),
|
|
698
698
|
"name": zod_1.default.string()
|
|
699
|
-
})),
|
|
699
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
700
700
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
701
701
|
"subjectPath": zod_1.default.string().nullish(),
|
|
702
702
|
"version": zod_1.default.string().regex(exports.dataSetsGetByIdResponseVersionRegExp).nullish()
|
|
703
|
-
});
|
|
703
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.');
|
|
704
704
|
/**
|
|
705
705
|
* @summary Update an existing dataset (name, description, container bindings).
|
|
706
706
|
*/
|
|
@@ -718,11 +718,11 @@ exports.dataSetsPutBody = zod_1.default.strictObject({
|
|
|
718
718
|
"value": zod_1.default.string()
|
|
719
719
|
})).nullish(),
|
|
720
720
|
"path": zod_1.default.string()
|
|
721
|
-
})).nullish(),
|
|
721
|
+
}).describe('Container reference used in create/update requests — pair of\r\n`DataSourceId` and a `Path` identifying a specific container\r\ninside that data source. The service hashes the pair to produce the\r\ncontainer id. Optional Filters restrict which records are synced.')).nullish(),
|
|
722
722
|
"description": zod_1.default.string().nullish(),
|
|
723
723
|
"id": zod_1.default.string().regex(exports.dataSetsPutBodyIdRegExp),
|
|
724
724
|
"name": zod_1.default.string().nullish()
|
|
725
|
-
});
|
|
725
|
+
}).describe('Update-request shape for a DataSet — name/description plus optional\r\nre-binding of containers. Container info null = leave the existing\r\nflow alone, just update basic fields; empty = disconnect every\r\ncontainer (soft-deletes all flow triggers).');
|
|
726
726
|
exports.dataSetsPutResponseDataSpaceIdRegExp = 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}$');
|
|
727
727
|
exports.dataSetsPutResponseFlowIdRegExp = 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}$');
|
|
728
728
|
exports.dataSetsPutResponseIdRegExp = 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}$');
|
|
@@ -741,11 +741,11 @@ exports.dataSetsPutResponse = zod_1.default.object({
|
|
|
741
741
|
"description": zod_1.default.string().nullish(),
|
|
742
742
|
"isVector": zod_1.default.boolean(),
|
|
743
743
|
"name": zod_1.default.string()
|
|
744
|
-
})),
|
|
744
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
745
745
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
746
746
|
"subjectPath": zod_1.default.string().nullish(),
|
|
747
747
|
"version": zod_1.default.string().regex(exports.dataSetsPutResponseVersionRegExp).nullish()
|
|
748
|
-
});
|
|
748
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.');
|
|
749
749
|
/**
|
|
750
750
|
* @summary Update just the basic-info fields (name + description) on a dataset.
|
|
751
751
|
*/
|
|
@@ -756,7 +756,7 @@ exports.dataSetsPutBasicInfoParams = zod_1.default.strictObject({
|
|
|
756
756
|
exports.dataSetsPutBasicInfoBody = zod_1.default.strictObject({
|
|
757
757
|
"description": zod_1.default.string().nullish(),
|
|
758
758
|
"name": zod_1.default.string()
|
|
759
|
-
});
|
|
759
|
+
}).describe('Lightweight update for just the editable basic-info fields. Used by the\r\n`PUT /DataSets/{id}/basicInfo` endpoint.');
|
|
760
760
|
exports.dataSetsClearPathIdRegExp = 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}$');
|
|
761
761
|
exports.dataSetsClearParams = zod_1.default.strictObject({
|
|
762
762
|
"id": zod_1.default.string().regex(exports.dataSetsClearPathIdRegExp)
|
|
@@ -824,11 +824,11 @@ exports.dataSetsSetDataspaceResponse = zod_1.default.object({
|
|
|
824
824
|
"description": zod_1.default.string().nullish(),
|
|
825
825
|
"isVector": zod_1.default.boolean(),
|
|
826
826
|
"name": zod_1.default.string()
|
|
827
|
-
})),
|
|
827
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
828
828
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
829
829
|
"subjectPath": zod_1.default.string().nullish(),
|
|
830
830
|
"version": zod_1.default.string().regex(exports.dataSetsSetDataspaceResponseVersionRegExp).nullish()
|
|
831
|
-
});
|
|
831
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.');
|
|
832
832
|
exports.dataSetsExportPathIdRegExp = 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}$');
|
|
833
833
|
exports.dataSetsExportParams = zod_1.default.strictObject({
|
|
834
834
|
"id": zod_1.default.string().regex(exports.dataSetsExportPathIdRegExp)
|
|
@@ -846,7 +846,7 @@ exports.dataSetsExportResponse = zod_1.default.object({
|
|
|
846
846
|
"size": zod_1.default.number(),
|
|
847
847
|
"threadId": zod_1.default.string().regex(exports.dataSetsExportResponseThreadIdRegExp).nullish(),
|
|
848
848
|
"workspaceId": zod_1.default.string().regex(exports.dataSetsExportResponseWorkspaceIdRegExp).nullish()
|
|
849
|
-
});
|
|
849
|
+
}).describe('Model for a stored file blob. The simple name collides with\r\n`System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`\r\n(which is itself named to side-step the BCL collision); the\r\n`SmartSpace.App.Business.Models.Files` namespace disambiguates. When\r\nimporting both this model and the entity, alias the entity side:\r\n```using DataEntities = SmartSpace.App.Data.Entities;```\n`ThreadId` reflects the entity column `MessageThreadId`\r\n(renamed at the model boundary because the API contract has always called\r\nit `threadId`). `WorkspaceId` keeps the lower-s spelling that\r\nmatches the entity column and is already on the wire.');
|
|
850
850
|
exports.dataSetsGetItemsPathIdRegExp = 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}$');
|
|
851
851
|
exports.dataSetsGetItemsParams = zod_1.default.strictObject({
|
|
852
852
|
"id": zod_1.default.string().regex(exports.dataSetsGetItemsPathIdRegExp)
|
|
@@ -929,6 +929,15 @@ exports.dataSetsDeleteItemParams = zod_1.default.strictObject({
|
|
|
929
929
|
"itemId": zod_1.default.string().regex(exports.dataSetsDeleteItemPathItemIdRegExp)
|
|
930
930
|
});
|
|
931
931
|
/**
|
|
932
|
+
* NOTE — `isVector` is vestigial. Nothing in the platform reads it any
|
|
933
|
+
more (its last consumer was removed in Jan 2025), and it has no effect on
|
|
934
|
+
ingestion or querying. It remains in the contract as an *optional* field
|
|
935
|
+
rather than being deleted outright because this endpoint is `[Public]`
|
|
936
|
+
and our OpenAPI specs are unversioned: we cannot rule out external
|
|
937
|
+
integrations that still send or read the field, and removing a required
|
|
938
|
+
property would break them without warning. Once spec versioning (or
|
|
939
|
+
confirmed zero external usage) makes removal safe, drop it end-to-end —
|
|
940
|
+
model, entity, mappers, and column.
|
|
932
941
|
* @summary Upsert a single property on a dataset.
|
|
933
942
|
*/
|
|
934
943
|
exports.dataSetsAddDataSetPropertyPathIdRegExp = 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}$');
|
|
@@ -937,14 +946,14 @@ exports.dataSetsAddDataSetPropertyParams = zod_1.default.strictObject({
|
|
|
937
946
|
});
|
|
938
947
|
exports.dataSetsAddDataSetPropertyBody = zod_1.default.strictObject({
|
|
939
948
|
"description": zod_1.default.string().nullish(),
|
|
940
|
-
"isVector": zod_1.default.boolean(),
|
|
949
|
+
"isVector": zod_1.default.boolean().nullish().describe('Unused — the platform no longer reads this field and\r\n it has no effect on ingestion or querying. It is retained as an optional\r\n property purely for backward compatibility (see the description of\r\n `POST /DataSets/{id}/properties`); omit it in new integrations.\r\n When omitted, the stored value is preserved on update and defaults to\r\n `false` on create.'),
|
|
941
950
|
"name": zod_1.default.string()
|
|
942
|
-
});
|
|
951
|
+
}).describe('Upsert payload for a single DataSet property. `Name` is the key —\r\nexisting property with the same name is updated in place, otherwise a\r\nnew one is added.');
|
|
943
952
|
exports.dataSetsAddDataSetPropertyResponse = zod_1.default.object({
|
|
944
953
|
"description": zod_1.default.string().nullish(),
|
|
945
954
|
"isVector": zod_1.default.boolean(),
|
|
946
955
|
"name": zod_1.default.string()
|
|
947
|
-
});
|
|
956
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.');
|
|
948
957
|
exports.dataSetsDeleteDataSetPropertyPathIdRegExp = 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}$');
|
|
949
958
|
exports.dataSetsDeleteDataSetPropertyParams = zod_1.default.strictObject({
|
|
950
959
|
"id": zod_1.default.string().regex(exports.dataSetsDeleteDataSetPropertyPathIdRegExp),
|
|
@@ -1014,7 +1023,7 @@ exports.dataSetsPutScopingParams = zod_1.default.strictObject({
|
|
|
1014
1023
|
exports.dataSetsPutScopingBody = zod_1.default.strictObject({
|
|
1015
1024
|
"mode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
1016
1025
|
"subjectPath": zod_1.default.string().nullish()
|
|
1017
|
-
});
|
|
1026
|
+
}).describe('Sets the per-document scoping config on a dataset (intelligence-layer\r\n`scoping` block). When `Mode` is `Unrestricted` the\r\n`SubjectPath` is cleared; when `PerSubject`, `SubjectPath`\r\nselects the document field to match (null = the built-in owner envelope).');
|
|
1018
1027
|
/**
|
|
1019
1028
|
* @summary Fetch a list of all available data source types in SmartSpace.
|
|
1020
1029
|
*/
|
|
@@ -1026,7 +1035,7 @@ exports.dataSourceTypesGetResponseItem = zod_1.default.object({
|
|
|
1026
1035
|
"key": zod_1.default.string(),
|
|
1027
1036
|
"type": zod_1.default.enum(['String', 'Int', 'Bool'])
|
|
1028
1037
|
}))
|
|
1029
|
-
}),
|
|
1038
|
+
}).describe('Schema metadata describing the *shape* of credentials a connector type\r\nrequires — not credential values. Exempted from\r\n`ModelFolderSafetyTests` via `LegitimateSchemaExceptions`.'),
|
|
1030
1039
|
"defaultSyncIntervalMinutes": zod_1.default.number().nullish(),
|
|
1031
1040
|
"id": zod_1.default.string(),
|
|
1032
1041
|
"name": zod_1.default.string()
|
|
@@ -1038,7 +1047,7 @@ exports.dataSourceTypesGetResponse = zod_1.default.array(exports.dataSourceTypes
|
|
|
1038
1047
|
exports.dataSourceTypesGetAvailableContainersBody = zod_1.default.strictObject({
|
|
1039
1048
|
"credentials": zod_1.default.record(zod_1.default.string(), zod_1.default.string()),
|
|
1040
1049
|
"dataSourceTypeId": zod_1.default.string()
|
|
1041
|
-
});
|
|
1050
|
+
}).describe('Request shape for the test-connection endpoint and an internal carrier\r\nfor the data-source-type service when probing credentials. Contains an\r\ninline credentials dictionary — listed under\r\n`ModelFolderSafetyTests.ExistingDebtToReview`; redesign to a\r\nKeyVault-ref-only payload is tracked in TODO.md.');
|
|
1042
1051
|
exports.dataSourceTypesGetAvailableContainersResponseItem = zod_1.default.object({
|
|
1043
1052
|
"children": zod_1.default.array(zod_1.default.any()).nullish(),
|
|
1044
1053
|
"filters": zod_1.default.array(zod_1.default.object({
|
|
@@ -1060,7 +1069,7 @@ exports.dataSourceTypesGetAvailableContainersResponse = zod_1.default.array(expo
|
|
|
1060
1069
|
exports.dataSourceTypesTestConnectionBody = zod_1.default.strictObject({
|
|
1061
1070
|
"credentials": zod_1.default.record(zod_1.default.string(), zod_1.default.string()),
|
|
1062
1071
|
"dataSourceTypeId": zod_1.default.string()
|
|
1063
|
-
});
|
|
1072
|
+
}).describe('Request shape for the test-connection endpoint and an internal carrier\r\nfor the data-source-type service when probing credentials. Contains an\r\ninline credentials dictionary — listed under\r\n`ModelFolderSafetyTests.ExistingDebtToReview`; redesign to a\r\nKeyVault-ref-only payload is tracked in TODO.md.');
|
|
1064
1073
|
exports.dataSourceTypesTestConnectionResponse = zod_1.default.object({
|
|
1065
1074
|
"exceptionType": zod_1.default.string().nullish(),
|
|
1066
1075
|
"isSuccessful": zod_1.default.boolean(),
|
|
@@ -1104,7 +1113,7 @@ exports.dataSourcesGetResponse = zod_1.default.object({
|
|
|
1104
1113
|
"modifiedByUserId": zod_1.default.string().nullish(),
|
|
1105
1114
|
"name": zod_1.default.string(),
|
|
1106
1115
|
"searchable": zod_1.default.boolean()
|
|
1107
|
-
})),
|
|
1116
|
+
}).describe('Full read shape for a DataSource. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSource`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.')),
|
|
1108
1117
|
"total": zod_1.default.number()
|
|
1109
1118
|
});
|
|
1110
1119
|
/**
|
|
@@ -1115,7 +1124,7 @@ exports.dataSourcesPostBody = zod_1.default.strictObject({
|
|
|
1115
1124
|
"credentials": zod_1.default.record(zod_1.default.string(), zod_1.default.string()),
|
|
1116
1125
|
"keyId": zod_1.default.string().nullish(),
|
|
1117
1126
|
"name": zod_1.default.string()
|
|
1118
|
-
});
|
|
1127
|
+
}).describe('Create request shape — paired with SmartSpace.App.Business.Models.DataSources.UpdateDataSource even\r\nthough field overlap is partial; the `[Required]` contract differs.\r\nAccepts inline credentials at creation time (listed under\r\n`ModelFolderSafetyTests.ExistingDebtToReview`).');
|
|
1119
1128
|
exports.dataSourcesPostResponseContainersItemDataSourceIdRegExp = 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}$');
|
|
1120
1129
|
exports.dataSourcesPostResponseContainersItemIdRegExp = 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}$');
|
|
1121
1130
|
exports.dataSourcesPostResponseIdRegExp = 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}$');
|
|
@@ -1140,7 +1149,7 @@ exports.dataSourcesPostResponse = zod_1.default.object({
|
|
|
1140
1149
|
"modifiedByUserId": zod_1.default.string().nullish(),
|
|
1141
1150
|
"name": zod_1.default.string(),
|
|
1142
1151
|
"searchable": zod_1.default.boolean()
|
|
1143
|
-
});
|
|
1152
|
+
}).describe('Full read shape for a DataSource. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSource`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.');
|
|
1144
1153
|
/**
|
|
1145
1154
|
* @summary Remove a specific data source from SmartSpace using its unique ID.
|
|
1146
1155
|
*/
|
|
@@ -1224,7 +1233,7 @@ exports.dataSourcesUpdateCredentialsParams = zod_1.default.strictObject({
|
|
|
1224
1233
|
});
|
|
1225
1234
|
exports.dataSourcesUpdateCredentialsBody = zod_1.default.strictObject({
|
|
1226
1235
|
"credentials": zod_1.default.record(zod_1.default.string(), zod_1.default.string().nullable())
|
|
1227
|
-
});
|
|
1236
|
+
}).describe('Partial-update payload for connector credentials — only non-empty\r\nvalues overwrite the existing entries (see\r\n`DataSourceService.UpdateCredentialsAsync`). Listed under\r\n`ModelFolderSafetyTests.ExistingDebtToReview`.');
|
|
1228
1237
|
/**
|
|
1229
1238
|
* @summary Requests an on-demand sync of a data source. The request is queued;
|
|
1230
1239
|
the sync service picks it up within ~30 seconds. Repeated requests
|
|
@@ -1241,7 +1250,7 @@ exports.dataSourcesGetAdminUsersParams = zod_1.default.strictObject({
|
|
|
1241
1250
|
exports.dataSourcesGetAdminUsersResponseItem = zod_1.default.object({
|
|
1242
1251
|
"id": zod_1.default.string(),
|
|
1243
1252
|
"name": zod_1.default.string()
|
|
1244
|
-
});
|
|
1253
|
+
}).describe('API response shape for \"list admin users on a DataSource\" — joins the\r\njunction SmartSpace.App.Business.Models.DataSources.DataSourceAdmin with the user-service principal\r\nto surface a display name. Composed in the service; not a Mapperly\r\nprojection target (the join crosses an external service boundary).');
|
|
1245
1254
|
exports.dataSourcesGetAdminUsersResponse = zod_1.default.array(exports.dataSourcesGetAdminUsersResponseItem);
|
|
1246
1255
|
exports.dataSourcesDeleteAdminPathIdRegExp = 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}$');
|
|
1247
1256
|
exports.dataSourcesDeleteAdminParams = zod_1.default.strictObject({
|
|
@@ -1287,11 +1296,11 @@ exports.dataSpacesGetResponse = zod_1.default.object({
|
|
|
1287
1296
|
"description": zod_1.default.string().nullish(),
|
|
1288
1297
|
"isVector": zod_1.default.boolean(),
|
|
1289
1298
|
"name": zod_1.default.string()
|
|
1290
|
-
})),
|
|
1299
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
1291
1300
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
1292
1301
|
"subjectPath": zod_1.default.string().nullish(),
|
|
1293
1302
|
"version": zod_1.default.string().regex(exports.dataSpacesGetResponseDataItemDataSetsItemVersionRegExp).nullish()
|
|
1294
|
-
})),
|
|
1303
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.')),
|
|
1295
1304
|
"id": zod_1.default.string().regex(exports.dataSpacesGetResponseDataItemIdRegExp),
|
|
1296
1305
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
1297
1306
|
"modifiedByUserId": zod_1.default.string(),
|
|
@@ -1300,8 +1309,8 @@ exports.dataSpacesGetResponse = zod_1.default.object({
|
|
|
1300
1309
|
"workSpaces": zod_1.default.array(zod_1.default.object({
|
|
1301
1310
|
"id": zod_1.default.string().regex(exports.dataSpacesGetResponseDataItemWorkSpacesItemIdRegExp),
|
|
1302
1311
|
"name": zod_1.default.string()
|
|
1303
|
-
}))
|
|
1304
|
-
})),
|
|
1312
|
+
}).describe('Lightweight reference to a WorkSpace that uses this DataSpace. Avoids\r\npulling the full WorkSpace shape (admins, flows, configurations) when a\r\ncaller only needs to surface \"what workspaces reference this DataSpace\".'))
|
|
1313
|
+
}).describe('Model for a DataSpace. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSpace`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. The fully-qualified `DataSets.DataSet` below also\r\ndisambiguates from the legacy unmigrated `Business.Models.DataSet`\r\n— implicit name resolution prefers the ancestor namespace and would\r\notherwise pick up the legacy record.')),
|
|
1305
1314
|
"total": zod_1.default.number()
|
|
1306
1315
|
});
|
|
1307
1316
|
/**
|
|
@@ -1311,7 +1320,7 @@ exports.dataSpacesPostBodyDataSetIdsItemRegExp = new RegExp('^[0-9a-fA-F]{8}-[0-
|
|
|
1311
1320
|
exports.dataSpacesPostBody = zod_1.default.strictObject({
|
|
1312
1321
|
"dataSetIds": zod_1.default.array(zod_1.default.string().regex(exports.dataSpacesPostBodyDataSetIdsItemRegExp)).nullish(),
|
|
1313
1322
|
"name": zod_1.default.string()
|
|
1314
|
-
});
|
|
1323
|
+
}).describe('Create-request shape for a DataSpace. `DataSetIds` is an optional\r\npre-attachment of existing datasets to the new dataspace; the creating\r\nprincipal is implicitly added as the first admin.');
|
|
1315
1324
|
exports.dataSpacesDeletePathIdRegExp = 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}$');
|
|
1316
1325
|
exports.dataSpacesDeleteParams = zod_1.default.strictObject({
|
|
1317
1326
|
"id": zod_1.default.string().regex(exports.dataSpacesDeletePathIdRegExp)
|
|
@@ -1344,11 +1353,11 @@ exports.dataSpacesGetByIdResponse = zod_1.default.object({
|
|
|
1344
1353
|
"description": zod_1.default.string().nullish(),
|
|
1345
1354
|
"isVector": zod_1.default.boolean(),
|
|
1346
1355
|
"name": zod_1.default.string()
|
|
1347
|
-
})),
|
|
1356
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
1348
1357
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
1349
1358
|
"subjectPath": zod_1.default.string().nullish(),
|
|
1350
1359
|
"version": zod_1.default.string().regex(exports.dataSpacesGetByIdResponseDataSetsItemVersionRegExp).nullish()
|
|
1351
|
-
})),
|
|
1360
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.')),
|
|
1352
1361
|
"id": zod_1.default.string().regex(exports.dataSpacesGetByIdResponseIdRegExp),
|
|
1353
1362
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
1354
1363
|
"modifiedByUserId": zod_1.default.string(),
|
|
@@ -1357,8 +1366,8 @@ exports.dataSpacesGetByIdResponse = zod_1.default.object({
|
|
|
1357
1366
|
"workSpaces": zod_1.default.array(zod_1.default.object({
|
|
1358
1367
|
"id": zod_1.default.string().regex(exports.dataSpacesGetByIdResponseWorkSpacesItemIdRegExp),
|
|
1359
1368
|
"name": zod_1.default.string()
|
|
1360
|
-
}))
|
|
1361
|
-
});
|
|
1369
|
+
}).describe('Lightweight reference to a WorkSpace that uses this DataSpace. Avoids\r\npulling the full WorkSpace shape (admins, flows, configurations) when a\r\ncaller only needs to surface \"what workspaces reference this DataSpace\".'))
|
|
1370
|
+
}).describe('Model for a DataSpace. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSpace`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. The fully-qualified `DataSets.DataSet` below also\r\ndisambiguates from the legacy unmigrated `Business.Models.DataSet`\r\n— implicit name resolution prefers the ancestor namespace and would\r\notherwise pick up the legacy record.');
|
|
1362
1371
|
/**
|
|
1363
1372
|
* @summary Update an existing dataspace.
|
|
1364
1373
|
*/
|
|
@@ -1372,7 +1381,7 @@ exports.dataSpacesPutBody = zod_1.default.strictObject({
|
|
|
1372
1381
|
"dataSetIds": zod_1.default.array(zod_1.default.string().regex(exports.dataSpacesPutBodyDataSetIdsItemRegExp)),
|
|
1373
1382
|
"id": zod_1.default.string().regex(exports.dataSpacesPutBodyIdRegExp),
|
|
1374
1383
|
"name": zod_1.default.string()
|
|
1375
|
-
});
|
|
1384
|
+
}).describe('Update-request shape for a DataSpace — rename and re-bind the attached\r\ndatasets. The complete `DataSetIds` list is treated as the desired\r\nstate; datasets present today but missing here are unbound, new ones\r\nare bound in.');
|
|
1376
1385
|
exports.dataSpacesPutResponseDataSetsItemDataSpaceIdRegExp = 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}$');
|
|
1377
1386
|
exports.dataSpacesPutResponseDataSetsItemFlowIdRegExp = 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}$');
|
|
1378
1387
|
exports.dataSpacesPutResponseDataSetsItemIdRegExp = 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}$');
|
|
@@ -1397,11 +1406,11 @@ exports.dataSpacesPutResponse = zod_1.default.object({
|
|
|
1397
1406
|
"description": zod_1.default.string().nullish(),
|
|
1398
1407
|
"isVector": zod_1.default.boolean(),
|
|
1399
1408
|
"name": zod_1.default.string()
|
|
1400
|
-
})),
|
|
1409
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
1401
1410
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
1402
1411
|
"subjectPath": zod_1.default.string().nullish(),
|
|
1403
1412
|
"version": zod_1.default.string().regex(exports.dataSpacesPutResponseDataSetsItemVersionRegExp).nullish()
|
|
1404
|
-
})),
|
|
1413
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.')),
|
|
1405
1414
|
"id": zod_1.default.string().regex(exports.dataSpacesPutResponseIdRegExp),
|
|
1406
1415
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
1407
1416
|
"modifiedByUserId": zod_1.default.string(),
|
|
@@ -1410,8 +1419,8 @@ exports.dataSpacesPutResponse = zod_1.default.object({
|
|
|
1410
1419
|
"workSpaces": zod_1.default.array(zod_1.default.object({
|
|
1411
1420
|
"id": zod_1.default.string().regex(exports.dataSpacesPutResponseWorkSpacesItemIdRegExp),
|
|
1412
1421
|
"name": zod_1.default.string()
|
|
1413
|
-
}))
|
|
1414
|
-
});
|
|
1422
|
+
}).describe('Lightweight reference to a WorkSpace that uses this DataSpace. Avoids\r\npulling the full WorkSpace shape (admins, flows, configurations) when a\r\ncaller only needs to surface \"what workspaces reference this DataSpace\".'))
|
|
1423
|
+
}).describe('Model for a DataSpace. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSpace`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. The fully-qualified `DataSets.DataSet` below also\r\ndisambiguates from the legacy unmigrated `Business.Models.DataSet`\r\n— implicit name resolution prefers the ancestor namespace and would\r\notherwise pick up the legacy record.');
|
|
1415
1424
|
exports.dataSpacesGetAdminUsersPathIdRegExp = 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}$');
|
|
1416
1425
|
exports.dataSpacesGetAdminUsersParams = zod_1.default.strictObject({
|
|
1417
1426
|
"id": zod_1.default.string().regex(exports.dataSpacesGetAdminUsersPathIdRegExp)
|
|
@@ -1419,9 +1428,9 @@ exports.dataSpacesGetAdminUsersParams = zod_1.default.strictObject({
|
|
|
1419
1428
|
exports.dataSpacesGetAdminUsersResponseDataSpaceIdRegExp = 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}$');
|
|
1420
1429
|
exports.dataSpacesGetAdminUsersResponseItem = zod_1.default.object({
|
|
1421
1430
|
"dataSpaceId": zod_1.default.string().regex(exports.dataSpacesGetAdminUsersResponseDataSpaceIdRegExp),
|
|
1422
|
-
"displayName": zod_1.default.string(),
|
|
1431
|
+
"displayName": zod_1.default.string().describe('Display name resolved from `IUserService.GetPrincipalsByIdsAsync`\r\nafter projection. Empty string when the principal lookup misses.'),
|
|
1423
1432
|
"userId": zod_1.default.string()
|
|
1424
|
-
});
|
|
1433
|
+
}).describe('Model for a DataSpace admin junction record. The composite key is\r\n(UserId, DataSpaceId) — no surrogate id. Junction entities follow the\r\ndelete+create convention, so there is no `UpdateDataSpaceAdmin`.\r\n \r\n`DisplayName` is filled by the service via `IUserService`\r\npost-projection — it isn\'t on the entity and can\'t be projected, so it\r\nhangs off the record as an `init`-only property rather than a\r\nconstructor parameter.');
|
|
1425
1434
|
exports.dataSpacesGetAdminUsersResponse = zod_1.default.array(exports.dataSpacesGetAdminUsersResponseItem);
|
|
1426
1435
|
exports.dataSpacesDeleteAdminPathIdRegExp = 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}$');
|
|
1427
1436
|
exports.dataSpacesDeleteAdminParams = zod_1.default.strictObject({
|
|
@@ -1463,11 +1472,11 @@ exports.dataSpacesGetDataSetsResponse = zod_1.default.object({
|
|
|
1463
1472
|
"description": zod_1.default.string().nullish(),
|
|
1464
1473
|
"isVector": zod_1.default.boolean(),
|
|
1465
1474
|
"name": zod_1.default.string()
|
|
1466
|
-
})),
|
|
1475
|
+
}).describe('Model for a property on a DataSet — a named, optionally-vectorised field\r\nstored on each ingested item. Read-only at the model boundary; writes go\r\nthrough SmartSpace.App.Business.Models.DataSets.UpsertDataSetProperty.')),
|
|
1467
1476
|
"scopingMode": zod_1.default.enum(['Unrestricted', 'PerSubject']),
|
|
1468
1477
|
"subjectPath": zod_1.default.string().nullish(),
|
|
1469
1478
|
"version": zod_1.default.string().regex(exports.dataSpacesGetDataSetsResponseDataItemVersionRegExp).nullish()
|
|
1470
|
-
})),
|
|
1479
|
+
}).describe('Model for a DataSet. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.DataSet`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth.\r\n \r\nThe nested Flow shape on the legacy `SmartSpace.App.Business.Models.DataSet`\r\nis intentionally dropped here — `FlowId` only. The Flow domain\r\nhasn\'t migrated yet and projecting its recursive structure (Flow →\r\nTriggers → DataSourceContainer → DataSource, Flow → ActiveFlowDefinition\r\n→ Inputs) into the model layer would couple two unmigrated domains and\r\nbloat every DataSet read with multiple JOIN fan-outs. Callers that need\r\nFlow detail fetch it via `IFlowService`.')),
|
|
1471
1480
|
"total": zod_1.default.number()
|
|
1472
1481
|
});
|
|
1473
1482
|
/**
|
|
@@ -1487,10 +1496,10 @@ exports.dataSpacesPostDatasetBody = zod_1.default.strictObject({
|
|
|
1487
1496
|
"value": zod_1.default.string()
|
|
1488
1497
|
})).nullish(),
|
|
1489
1498
|
"path": zod_1.default.string()
|
|
1490
|
-
})).nullish(),
|
|
1499
|
+
}).describe('Container reference used in create/update requests — pair of\r\n`DataSourceId` and a `Path` identifying a specific container\r\ninside that data source. The service hashes the pair to produce the\r\ncontainer id. Optional Filters restrict which records are synced.')).nullish(),
|
|
1491
1500
|
"description": zod_1.default.string().nullish(),
|
|
1492
1501
|
"name": zod_1.default.string()
|
|
1493
|
-
});
|
|
1502
|
+
}).describe('Create-request shape for a DataSet. The DataSpace it belongs to is\r\ncarried on the route (`/DataSpaces/{id}/datasets`) rather than the\r\nbody. Container info is optional — empty list means \"file-only\" dataset\r\nwith a freshly-created file ingestion flow.');
|
|
1494
1503
|
exports.debugInvokeParams = zod_1.default.strictObject({
|
|
1495
1504
|
"connectionId": zod_1.default.string(),
|
|
1496
1505
|
"method": zod_1.default.string()
|
|
@@ -1517,7 +1526,7 @@ exports.draftsListDraftsResponseItem = zod_1.default.object({
|
|
|
1517
1526
|
"sticky": zod_1.default.boolean(),
|
|
1518
1527
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary']),
|
|
1519
1528
|
"virtual": zod_1.default.boolean()
|
|
1520
|
-
})),
|
|
1529
|
+
}).describe('Model for an input pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.InputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`,\r\n`Default`) rather than the raw `*Json` columns.')),
|
|
1521
1530
|
"isFunction": zod_1.default.boolean(),
|
|
1522
1531
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1523
1532
|
"outputs": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
@@ -1530,9 +1539,9 @@ exports.draftsListDraftsResponseItem = zod_1.default.object({
|
|
|
1530
1539
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1531
1540
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1532
1541
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
1533
|
-
})),
|
|
1542
|
+
}).describe('Model for an output pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.OutputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`)\r\nrather than the raw `*Json` columns.')),
|
|
1534
1543
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
1535
|
-
})),
|
|
1544
|
+
}).describe('Model for a block `PortInterface`. Inputs and Outputs are keyed by pin\r\nname (entities store them as `List<...>` with a `Key`\r\ncolumn; the model exposes them as dictionaries to match the API shape).')),
|
|
1536
1545
|
"scopes": zod_1.default.array(zod_1.default.enum(['WorkSpace', 'DataSet'])).nullish(),
|
|
1537
1546
|
"state": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
1538
1547
|
"default": zod_1.default.any().nullish(),
|
|
@@ -1541,15 +1550,15 @@ exports.draftsListDraftsResponseItem = zod_1.default.object({
|
|
|
1541
1550
|
"pin": zod_1.default.string(),
|
|
1542
1551
|
"port": zod_1.default.string()
|
|
1543
1552
|
}))
|
|
1544
|
-
}))
|
|
1545
|
-
}))),
|
|
1553
|
+
}).describe('Model for a block `StateInterface` — a piece of state declared by a\r\nblock interface, with a JSON default value and an optional pin-ref scope.'))
|
|
1554
|
+
}).describe('Model for a block interface — the schema that describes a single\r\n(name, version) pair of a block (ports, state, scope). Collides on the\r\nsimple name with `SmartSpace.App.Data.Entities.BlockInterface`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. `Name` and `Version` live on the entity but are surfaced\r\nhere too so the wire shape is self-describing (the same model travels via\r\nSignalR debug payloads where the keys are stripped).'))),
|
|
1546
1555
|
"isActive": zod_1.default.boolean(),
|
|
1547
1556
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
1548
1557
|
"name": zod_1.default.string(),
|
|
1549
1558
|
"parseError": zod_1.default.string().nullish(),
|
|
1550
1559
|
"rowVersion": zod_1.default.string(),
|
|
1551
1560
|
"sourceText": zod_1.default.string()
|
|
1552
|
-
});
|
|
1561
|
+
}).describe('A browser-authored Draft Custom block — a `BlockSet` row with\r\n`IsDraft = true`, scoped to one user. See `ADR-0002` for the\r\nresolution rule that decides when the owner\'s draft wins over a published\r\nCustom at the same `(name, version)`.');
|
|
1553
1562
|
exports.draftsListDraftsResponse = zod_1.default.array(exports.draftsListDraftsResponseItem);
|
|
1554
1563
|
/**
|
|
1555
1564
|
* @summary Delete a draft (row + blob). Does not touch any published Custom of the same name.
|
|
@@ -1580,7 +1589,7 @@ exports.draftsGetDraftResponse = zod_1.default.object({
|
|
|
1580
1589
|
"sticky": zod_1.default.boolean(),
|
|
1581
1590
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary']),
|
|
1582
1591
|
"virtual": zod_1.default.boolean()
|
|
1583
|
-
})),
|
|
1592
|
+
}).describe('Model for an input pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.InputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`,\r\n`Default`) rather than the raw `*Json` columns.')),
|
|
1584
1593
|
"isFunction": zod_1.default.boolean(),
|
|
1585
1594
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1586
1595
|
"outputs": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
@@ -1593,9 +1602,9 @@ exports.draftsGetDraftResponse = zod_1.default.object({
|
|
|
1593
1602
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1594
1603
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1595
1604
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
1596
|
-
})),
|
|
1605
|
+
}).describe('Model for an output pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.OutputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`)\r\nrather than the raw `*Json` columns.')),
|
|
1597
1606
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
1598
|
-
})),
|
|
1607
|
+
}).describe('Model for a block `PortInterface`. Inputs and Outputs are keyed by pin\r\nname (entities store them as `List<...>` with a `Key`\r\ncolumn; the model exposes them as dictionaries to match the API shape).')),
|
|
1599
1608
|
"scopes": zod_1.default.array(zod_1.default.enum(['WorkSpace', 'DataSet'])).nullish(),
|
|
1600
1609
|
"state": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
1601
1610
|
"default": zod_1.default.any().nullish(),
|
|
@@ -1604,15 +1613,15 @@ exports.draftsGetDraftResponse = zod_1.default.object({
|
|
|
1604
1613
|
"pin": zod_1.default.string(),
|
|
1605
1614
|
"port": zod_1.default.string()
|
|
1606
1615
|
}))
|
|
1607
|
-
}))
|
|
1608
|
-
}))),
|
|
1616
|
+
}).describe('Model for a block `StateInterface` — a piece of state declared by a\r\nblock interface, with a JSON default value and an optional pin-ref scope.'))
|
|
1617
|
+
}).describe('Model for a block interface — the schema that describes a single\r\n(name, version) pair of a block (ports, state, scope). Collides on the\r\nsimple name with `SmartSpace.App.Data.Entities.BlockInterface`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. `Name` and `Version` live on the entity but are surfaced\r\nhere too so the wire shape is self-describing (the same model travels via\r\nSignalR debug payloads where the keys are stripped).'))),
|
|
1609
1618
|
"isActive": zod_1.default.boolean(),
|
|
1610
1619
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
1611
1620
|
"name": zod_1.default.string(),
|
|
1612
1621
|
"parseError": zod_1.default.string().nullish(),
|
|
1613
1622
|
"rowVersion": zod_1.default.string(),
|
|
1614
1623
|
"sourceText": zod_1.default.string()
|
|
1615
|
-
});
|
|
1624
|
+
}).describe('A browser-authored Draft Custom block — a `BlockSet` row with\r\n`IsDraft = true`, scoped to one user. See `ADR-0002` for the\r\nresolution rule that decides when the owner\'s draft wins over a published\r\nCustom at the same `(name, version)`.');
|
|
1616
1625
|
/**
|
|
1617
1626
|
* @summary Toggle the draft's "Start testing" flag. See ADR-0002 — owner's active draft
|
|
1618
1627
|
overrides the published Custom at the same `(name, version)` for them only.
|
|
@@ -1634,7 +1643,7 @@ exports.draftsSaveDraftParams = zod_1.default.strictObject({
|
|
|
1634
1643
|
exports.draftsSaveDraftBody = zod_1.default.strictObject({
|
|
1635
1644
|
"expectedRowVersion": zod_1.default.string().nullish(),
|
|
1636
1645
|
"source": zod_1.default.string()
|
|
1637
|
-
});
|
|
1646
|
+
}).describe('Save a draft\'s source. `ExpectedRowVersion` is the value the client last saw;\r\nthe server returns 409 if the DB has moved on (eg. another tab). Null is allowed\r\nonly for first-ever creation.');
|
|
1638
1647
|
exports.draftsSaveDraftResponse = zod_1.default.object({
|
|
1639
1648
|
"blockInterfaces": zod_1.default.record(zod_1.default.string(), zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
1640
1649
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
@@ -1652,7 +1661,7 @@ exports.draftsSaveDraftResponse = zod_1.default.object({
|
|
|
1652
1661
|
"sticky": zod_1.default.boolean(),
|
|
1653
1662
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary']),
|
|
1654
1663
|
"virtual": zod_1.default.boolean()
|
|
1655
|
-
})),
|
|
1664
|
+
}).describe('Model for an input pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.InputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`,\r\n`Default`) rather than the raw `*Json` columns.')),
|
|
1656
1665
|
"isFunction": zod_1.default.boolean(),
|
|
1657
1666
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1658
1667
|
"outputs": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
@@ -1665,9 +1674,9 @@ exports.draftsSaveDraftResponse = zod_1.default.object({
|
|
|
1665
1674
|
"metadata": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1666
1675
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any()),
|
|
1667
1676
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
1668
|
-
})),
|
|
1677
|
+
}).describe('Model for an output pin on a block port. Mirrors the live\r\n`SmartSpace.App.Data.Entities.OutputPinInterface` shape but exposes the\r\nparsed JSON payloads (`Metadata`, `Schema`, `Generics`)\r\nrather than the raw `*Json` columns.')),
|
|
1669
1678
|
"type": zod_1.default.enum(['Single', 'List', 'Dictionary'])
|
|
1670
|
-
})),
|
|
1679
|
+
}).describe('Model for a block `PortInterface`. Inputs and Outputs are keyed by pin\r\nname (entities store them as `List<...>` with a `Key`\r\ncolumn; the model exposes them as dictionaries to match the API shape).')),
|
|
1671
1680
|
"scopes": zod_1.default.array(zod_1.default.enum(['WorkSpace', 'DataSet'])).nullish(),
|
|
1672
1681
|
"state": zod_1.default.record(zod_1.default.string(), zod_1.default.object({
|
|
1673
1682
|
"default": zod_1.default.any().nullish(),
|
|
@@ -1676,11 +1685,11 @@ exports.draftsSaveDraftResponse = zod_1.default.object({
|
|
|
1676
1685
|
"pin": zod_1.default.string(),
|
|
1677
1686
|
"port": zod_1.default.string()
|
|
1678
1687
|
}))
|
|
1679
|
-
}))
|
|
1680
|
-
}))),
|
|
1688
|
+
}).describe('Model for a block `StateInterface` — a piece of state declared by a\r\nblock interface, with a JSON default value and an optional pin-ref scope.'))
|
|
1689
|
+
}).describe('Model for a block interface — the schema that describes a single\r\n(name, version) pair of a block (ports, state, scope). Collides on the\r\nsimple name with `SmartSpace.App.Data.Entities.BlockInterface`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. `Name` and `Version` live on the entity but are surfaced\r\nhere too so the wire shape is self-describing (the same model travels via\r\nSignalR debug payloads where the keys are stripped).'))),
|
|
1681
1690
|
"parseError": zod_1.default.string().nullish(),
|
|
1682
1691
|
"rowVersion": zod_1.default.string()
|
|
1683
|
-
});
|
|
1692
|
+
}).describe('Response after saving a draft. `ParseError` is non-null when the source\r\nfailed to parse — the text is still persisted, but `BlockInterfaces` is\r\nempty until parse succeeds (matches the editor\'s live-preview semantics).');
|
|
1684
1693
|
/**
|
|
1685
1694
|
* @summary Publish the draft's saved source as a tenant-visible Custom block set.
|
|
1686
1695
|
When a published set of the same name exists, the first call returns 409
|
|
@@ -1693,7 +1702,7 @@ exports.draftsPublishDraftParams = zod_1.default.strictObject({
|
|
|
1693
1702
|
exports.draftsPublishDraftBody = zod_1.default.strictObject({
|
|
1694
1703
|
"confirmOverwrite": zod_1.default.boolean(),
|
|
1695
1704
|
"publishAs": zod_1.default.string().nullish()
|
|
1696
|
-
});
|
|
1705
|
+
}).describe('`ConfirmOverwrite` must be true to replace an already-published set of\r\n the same name — the first attempt 409s with the impact details so the user\r\n opts in deliberately (see the custom-block rework design, Phase 3).');
|
|
1697
1706
|
exports.draftsPublishDraftResponseBlockSetIdRegExp = 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}$');
|
|
1698
1707
|
exports.draftsPublishDraftResponse = zod_1.default.object({
|
|
1699
1708
|
"blockSetId": zod_1.default.string().regex(exports.draftsPublishDraftResponseBlockSetIdRegExp),
|
|
@@ -1731,7 +1740,7 @@ exports.filesUploadFilesResponseItem = zod_1.default.object({
|
|
|
1731
1740
|
"size": zod_1.default.number(),
|
|
1732
1741
|
"threadId": zod_1.default.string().regex(exports.filesUploadFilesResponseThreadIdRegExpOne).nullish(),
|
|
1733
1742
|
"workspaceId": zod_1.default.string().regex(exports.filesUploadFilesResponseWorkspaceIdRegExpOne).nullish()
|
|
1734
|
-
});
|
|
1743
|
+
}).describe('Model for a stored file blob. The simple name collides with\r\n`System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`\r\n(which is itself named to side-step the BCL collision); the\r\n`SmartSpace.App.Business.Models.Files` namespace disambiguates. When\r\nimporting both this model and the entity, alias the entity side:\r\n```using DataEntities = SmartSpace.App.Data.Entities;```\n`ThreadId` reflects the entity column `MessageThreadId`\r\n(renamed at the model boundary because the API contract has always called\r\nit `threadId`). `WorkspaceId` keeps the lower-s spelling that\r\nmatches the entity column and is already on the wire.');
|
|
1735
1744
|
exports.filesUploadFilesResponse = zod_1.default.array(exports.filesUploadFilesResponseItem);
|
|
1736
1745
|
/**
|
|
1737
1746
|
* @summary Get details for a file previously uploaded.
|
|
@@ -1759,7 +1768,7 @@ exports.filesGetFileInfoResponse = zod_1.default.object({
|
|
|
1759
1768
|
"size": zod_1.default.number(),
|
|
1760
1769
|
"threadId": zod_1.default.string().regex(exports.filesGetFileInfoResponseThreadIdRegExpOne).nullish(),
|
|
1761
1770
|
"workspaceId": zod_1.default.string().regex(exports.filesGetFileInfoResponseWorkspaceIdRegExpOne).nullish()
|
|
1762
|
-
});
|
|
1771
|
+
}).describe('Model for a stored file blob. The simple name collides with\r\n`System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`\r\n(which is itself named to side-step the BCL collision); the\r\n`SmartSpace.App.Business.Models.Files` namespace disambiguates. When\r\nimporting both this model and the entity, alias the entity side:\r\n```using DataEntities = SmartSpace.App.Data.Entities;```\n`ThreadId` reflects the entity column `MessageThreadId`\r\n(renamed at the model boundary because the API contract has always called\r\nit `threadId`). `WorkspaceId` keeps the lower-s spelling that\r\nmatches the entity column and is already on the wire.');
|
|
1763
1772
|
/**
|
|
1764
1773
|
* @summary Download a previously uploaded file.
|
|
1765
1774
|
*/
|
|
@@ -1788,7 +1797,7 @@ exports.filesGetUriQueryParams = zod_1.default.strictObject({
|
|
|
1788
1797
|
});
|
|
1789
1798
|
exports.filesGetUriResponse = zod_1.default.object({
|
|
1790
1799
|
"uri": zod_1.default.string()
|
|
1791
|
-
});
|
|
1800
|
+
}).describe('Response shape for `GET /files/{id}/uri` on both the chat-api and\r\nconfig-api. Frontends call this with whatever URL the server hands them\r\n(e.g. as the `sourceUri` on a file MessageValue) and expect a JSON\r\nobject — not a bare string — so the wire format stays extensible (we can\r\nadd e.g. an expiry without breaking clients).');
|
|
1792
1801
|
/**
|
|
1793
1802
|
* @summary Creates a new flow run with the specified parameters
|
|
1794
1803
|
*/
|
|
@@ -1836,7 +1845,7 @@ exports.flowRunsGetFileFromFlowRunIdResponse = zod_1.default.object({
|
|
|
1836
1845
|
"size": zod_1.default.number(),
|
|
1837
1846
|
"threadId": zod_1.default.string().regex(exports.flowRunsGetFileFromFlowRunIdResponseThreadIdRegExp).nullish(),
|
|
1838
1847
|
"workspaceId": zod_1.default.string().regex(exports.flowRunsGetFileFromFlowRunIdResponseWorkspaceIdRegExp).nullish()
|
|
1839
|
-
});
|
|
1848
|
+
}).describe('Model for a stored file blob. The simple name collides with\r\n`System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`\r\n(which is itself named to side-step the BCL collision); the\r\n`SmartSpace.App.Business.Models.Files` namespace disambiguates. When\r\nimporting both this model and the entity, alias the entity side:\r\n```using DataEntities = SmartSpace.App.Data.Entities;```\n`ThreadId` reflects the entity column `MessageThreadId`\r\n(renamed at the model boundary because the API contract has always called\r\nit `threadId`). `WorkspaceId` keeps the lower-s spelling that\r\nmatches the entity column and is already on the wire.');
|
|
1840
1849
|
/**
|
|
1841
1850
|
* @summary Gets a flow run including its context
|
|
1842
1851
|
*/
|
|
@@ -1850,9 +1859,9 @@ is cooperative: a queued run is stamped cancelled before it starts;
|
|
|
1850
1859
|
a running flow stops between block executions, typically within
|
|
1851
1860
|
seconds. Cancelled runs carry cancelledAt in their basic info.
|
|
1852
1861
|
*/
|
|
1853
|
-
exports.
|
|
1862
|
+
exports.flowRunsCancelFlowRunPathIdRegExpOne = 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}$');
|
|
1854
1863
|
exports.flowRunsCancelFlowRunParams = zod_1.default.strictObject({
|
|
1855
|
-
"id": zod_1.default.string().regex(exports.
|
|
1864
|
+
"id": zod_1.default.string().regex(exports.flowRunsCancelFlowRunPathIdRegExpOne)
|
|
1856
1865
|
});
|
|
1857
1866
|
exports.flowRunsAddFileIdFilesPathIdRegExp = 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}$');
|
|
1858
1867
|
exports.flowRunsAddFileIdFilesParams = zod_1.default.strictObject({
|
|
@@ -2073,9 +2082,9 @@ exports.modelsGetModelsResponse = zod_1.default.object({
|
|
|
2073
2082
|
"properties": zod_1.default.array(zod_1.default.object({
|
|
2074
2083
|
"name": zod_1.default.string(),
|
|
2075
2084
|
"type": zod_1.default.enum(['Boolean', 'Number', 'String'])
|
|
2076
|
-
})),
|
|
2085
|
+
}).describe('Polymorphic AI-model parameter (Number / Boolean / String) — discriminator\r\nlives on `Type`. The shape is kept because the public JSON contract\r\nreturns the variant-specific fields under one collection; flattening to a\r\nsingle record would be a breaking wire-shape change for the admin UI.')),
|
|
2077
2086
|
"virtualMachineUrl": zod_1.default.string().nullish()
|
|
2078
|
-
})),
|
|
2087
|
+
}).describe('Lighter list-endpoint shape — drops the nested `Deployment.Steps`\r\ncollection and keeps a flat `DeploymentStatus` + provider type for\r\nthe AI Models grid.')),
|
|
2079
2088
|
"total": zod_1.default.number()
|
|
2080
2089
|
});
|
|
2081
2090
|
/**
|
|
@@ -2165,8 +2174,8 @@ exports.modelsGetModelResponse = zod_1.default.object({
|
|
|
2165
2174
|
"properties": zod_1.default.array(zod_1.default.object({
|
|
2166
2175
|
"name": zod_1.default.string(),
|
|
2167
2176
|
"type": zod_1.default.enum(['Boolean', 'Number', 'String'])
|
|
2168
|
-
}))
|
|
2169
|
-
});
|
|
2177
|
+
}).describe('Polymorphic AI-model parameter (Number / Boolean / String) — discriminator\r\nlives on `Type`. The shape is kept because the public JSON contract\r\nreturns the variant-specific fields under one collection; flattening to a\r\nsingle record would be a breaking wire-shape change for the admin UI.'))
|
|
2178
|
+
}).describe('Full read model for an AI Model. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.Model`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. The folder is named `AiModels` to avoid the second namespace\r\ncollision with `SmartSpace.App.Business.Models` itself.');
|
|
2170
2179
|
/**
|
|
2171
2180
|
* @summary Updates or inserts a model with the specified ID.
|
|
2172
2181
|
*/
|
|
@@ -2238,10 +2247,10 @@ exports.notificationGetResponse = zod_1.default.object({
|
|
|
2238
2247
|
"notificationType": zod_1.default.enum(['WorkSpaceUpdated', 'MessageThreadUpdated', 'CommentUpdated', 'AddedToThread']),
|
|
2239
2248
|
"threadId": zod_1.default.string().regex(exports.notificationGetResponseDataItemThreadIdRegExpOne).nullish(),
|
|
2240
2249
|
"workSpaceId": zod_1.default.string().regex(exports.notificationGetResponseDataItemWorkSpaceIdRegExpOne).nullish()
|
|
2241
|
-
})),
|
|
2250
|
+
}).describe('Model for a Notification. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.Notification`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. `CreatedBy` (display name) sits outside the positional ctor\r\nbecause it can\'t be expression-tree-translated — the service hydrates it\r\npost-projection via `IUserService.GetPrincipalDisplayNameByIdAsync`\r\nand emits a `with { CreatedBy = ... }`.')),
|
|
2242
2251
|
"total": zod_1.default.number(),
|
|
2243
2252
|
"totalUnread": zod_1.default.number()
|
|
2244
|
-
});
|
|
2253
|
+
}).describe('Notification list response shape. Two counts so callers can render an\r\n\"X unread of Y total\" badge without a second round-trip.');
|
|
2245
2254
|
/**
|
|
2246
2255
|
* @summary Update: mark read notifications.
|
|
2247
2256
|
*/
|
|
@@ -2352,7 +2361,7 @@ exports.syncsGetResponse = zod_1.default.object({
|
|
|
2352
2361
|
"message": zod_1.default.string().nullish(),
|
|
2353
2362
|
"start": zod_1.default.iso.datetime({}),
|
|
2354
2363
|
"status": zod_1.default.string()
|
|
2355
|
-
})).nullish(),
|
|
2364
|
+
}).describe('One sync = one configured data source container: the source selection\r\n(path + filters) the sync service pulls, with its high-water mark and the\r\ndatasets subscribed to it via container flow triggers.')).nullish(),
|
|
2356
2365
|
"statusMessage": zod_1.default.string().nullish()
|
|
2357
2366
|
})),
|
|
2358
2367
|
"total": zod_1.default.number()
|
|
@@ -2367,7 +2376,7 @@ exports.syncsGetQueueResponseWaitingDataSourceIdsItemRegExp = new RegExp('^[0-9a
|
|
|
2367
2376
|
exports.syncsGetQueueResponse = zod_1.default.object({
|
|
2368
2377
|
"depth": zod_1.default.number(),
|
|
2369
2378
|
"waitingDataSourceIds": zod_1.default.array(zod_1.default.string().regex(exports.syncsGetQueueResponseWaitingDataSourceIdsItemRegExp))
|
|
2370
|
-
});
|
|
2379
|
+
}).describe('Point-in-time view of the sync-requests queue: how many requests are\r\nwaiting and which data sources they are for. Waiting only — a message\r\nbeing processed is invisible for its visibility timeout (that state is\r\nwhat IsSyncing covers).');
|
|
2371
2380
|
exports.syncsGetByIdPathContainerIdRegExp = 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}$');
|
|
2372
2381
|
exports.syncsGetByIdParams = zod_1.default.strictObject({
|
|
2373
2382
|
"containerId": zod_1.default.string().regex(exports.syncsGetByIdPathContainerIdRegExp)
|
|
@@ -2405,7 +2414,7 @@ exports.syncsGetByIdResponse = zod_1.default.object({
|
|
|
2405
2414
|
"message": zod_1.default.string().nullish(),
|
|
2406
2415
|
"start": zod_1.default.iso.datetime({}),
|
|
2407
2416
|
"status": zod_1.default.string()
|
|
2408
|
-
})).nullish(),
|
|
2417
|
+
}).describe('One sync = one configured data source container: the source selection\r\n(path + filters) the sync service pulls, with its high-water mark and the\r\ndatasets subscribed to it via container flow triggers.')).nullish(),
|
|
2409
2418
|
"statusMessage": zod_1.default.string().nullish()
|
|
2410
2419
|
});
|
|
2411
2420
|
/**
|
|
@@ -2460,7 +2469,7 @@ exports.usersGetUsersResponse = zod_1.default.object({
|
|
|
2460
2469
|
"mobilePhone": zod_1.default.string().nullish(),
|
|
2461
2470
|
"name": zod_1.default.string(),
|
|
2462
2471
|
"permissions": zod_1.default.array(zod_1.default.enum(['WorkspaceCreate', 'WorkspaceEdit', 'WorkspaceDelete', 'DataSpaceCreate', 'DataSpaceEdit', 'DataSpaceDelete', 'ConnectorCreate', 'ConnectorEdit', 'ConnectorDelete']))
|
|
2463
|
-
})),
|
|
2472
|
+
}).describe('Full per-user detail returned by the admin user-management endpoints.\r\nJoins the AAD principal with the local SmartSpace.App.Business.Models.Users.UserPermission\r\njunction state and last-activity timestamp.')),
|
|
2464
2473
|
"total": zod_1.default.number()
|
|
2465
2474
|
});
|
|
2466
2475
|
exports.usersGetUsersByFilterParams = zod_1.default.strictObject({
|
|
@@ -2488,7 +2497,7 @@ exports.usersSearchUsersResponseItem = zod_1.default.object({
|
|
|
2488
2497
|
"id": zod_1.default.string(),
|
|
2489
2498
|
"isAssigned": zod_1.default.boolean(),
|
|
2490
2499
|
"name": zod_1.default.string()
|
|
2491
|
-
});
|
|
2500
|
+
}).describe('Minimal user search result for autocomplete / picker UIs. Drops every\r\nfield that isn\'t needed to render a row — the picker only needs id, name,\r\nand email.');
|
|
2492
2501
|
exports.usersSearchUsersResponse = zod_1.default.array(exports.usersSearchUsersResponseItem);
|
|
2493
2502
|
/**
|
|
2494
2503
|
* @summary Retrieve user detail in SmartSpace
|
|
@@ -2502,7 +2511,7 @@ exports.usersGetUserDetailResponse = zod_1.default.object({
|
|
|
2502
2511
|
"isAdmin": zod_1.default.boolean().nullish(),
|
|
2503
2512
|
"mobilePhone": zod_1.default.string().nullish(),
|
|
2504
2513
|
"name": zod_1.default.string()
|
|
2505
|
-
});
|
|
2514
|
+
}).describe('Lighter user model used by role-membership lookups and permission-based\r\nfilters where the full per-user activity and permission set isn\'t needed.\r\nDrops the heavier SmartSpace.App.Business.Models.Users.AppUserDetail fields to keep\r\nrole-membership payloads tight.');
|
|
2506
2515
|
/**
|
|
2507
2516
|
* @summary Retrieves the profile photo for a user. Returns the raw JPEG image with HTTP cache headers
|
|
2508
2517
|
so browsers can cache the image via standard img src usage.
|
|
@@ -2536,7 +2545,7 @@ exports.usersGetAccessWorkSpacesResponse = zod_1.default.object({
|
|
|
2536
2545
|
"principalType": zod_1.default.enum(['Unknown', 'User', 'ServicePrincipal', 'Internal']).optional(),
|
|
2537
2546
|
"workSpaceId": zod_1.default.string().regex(exports.usersGetAccessWorkSpacesResponseDataItemWorkSpaceIdRegExp).nullish(),
|
|
2538
2547
|
"workSpaceName": zod_1.default.string().nullish()
|
|
2539
|
-
})),
|
|
2548
|
+
}).describe('Per-workspace access summary surfaced by the \"what workspaces does this\r\nuser belong to\" lookups. Carries the workspace\'s name alongside the\r\naccess grant so callers can render the assignment list without an\r\nadditional workspace lookup.')),
|
|
2540
2549
|
"total": zod_1.default.number()
|
|
2541
2550
|
});
|
|
2542
2551
|
exports.usersAdminPermissionPathUserIdRegExp = 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}$');
|
|
@@ -2645,7 +2654,7 @@ exports.workSpacesGetGetResponse = zod_1.default.object({
|
|
|
2645
2654
|
"id": zod_1.default.string().regex(exports.workSpacesGetGetResponseDataItemConnectorsItemIdRegExpOne),
|
|
2646
2655
|
"kind": zod_1.default.string(),
|
|
2647
2656
|
"name": zod_1.default.string()
|
|
2648
|
-
})),
|
|
2657
|
+
}).describe('The shape non-admins are allowed to see: enough to pick a connector from a\r\ndropdown, and nothing more. No URL (that is infrastructure detail) and no\r\nauth settings. Used by the workspace MCP tab\'s picker and embedded in the\r\nworkspace detail response so the flow editor can list what is attached.')),
|
|
2649
2658
|
"createdAt": zod_1.default.iso.datetime({}),
|
|
2650
2659
|
"createdByUserId": zod_1.default.string(),
|
|
2651
2660
|
"dataSpaces": zod_1.default.array(zod_1.default.object({
|
|
@@ -2747,7 +2756,7 @@ exports.workSpacesGetGetResponse = zod_1.default.object({
|
|
|
2747
2756
|
"workspacesInfo": zod_1.default.array(zod_1.default.object({
|
|
2748
2757
|
"id": zod_1.default.string().regex(exports.workSpacesGetGetResponseDataItemDataSpacesItemWorkspacesInfoItemIdRegExpOne),
|
|
2749
2758
|
"name": zod_1.default.string()
|
|
2750
|
-
})).nullish()
|
|
2759
|
+
}).describe('Cross-domain lightweight workspace pointer (id + name) embedded in\r\nshapes owned by other domains (e.g. SmartSpace.App.Business.Models.DataSpace). Stays\r\nin the legacy `SmartSpace.App.Business.Models` namespace until\r\nthose domains migrate.')).nullish()
|
|
2751
2760
|
})),
|
|
2752
2761
|
"favorited": zod_1.default.boolean(),
|
|
2753
2762
|
"firstPrompt": zod_1.default.string().nullish(),
|
|
@@ -2816,7 +2825,7 @@ exports.workSpacesGetGetResponse = zod_1.default.object({
|
|
|
2816
2825
|
"access": zod_1.default.enum(['None', 'Read', 'Write']),
|
|
2817
2826
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any())
|
|
2818
2827
|
}))
|
|
2819
|
-
})),
|
|
2828
|
+
}).describe('Full read model for a WorkSpace. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.WorkSpace`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. References pre-existing cross-domain models\r\n(SmartSpace.App.Business.Models.DataSpace, SmartSpace.App.Business.Models.ModelConfiguration,\r\nSmartSpace.App.Business.Models.Flows.FlowInput, SmartSpace.App.Business.Models.Flows.FlowVariable) — those are not\r\nre-modelled by this PR.')),
|
|
2820
2829
|
"total": zod_1.default.number()
|
|
2821
2830
|
});
|
|
2822
2831
|
/**
|
|
@@ -2841,7 +2850,7 @@ exports.workSpacesPostBody = zod_1.default.strictObject({
|
|
|
2841
2850
|
})),
|
|
2842
2851
|
"name": zod_1.default.string(),
|
|
2843
2852
|
"templateVersionId": zod_1.default.string().regex(exports.workSpacesPostBodyTemplateVersionIdRegExp).nullish()
|
|
2844
|
-
});
|
|
2853
|
+
}).describe('Request shape for creating a workspace. SmartSpace.App.Business.Models.WorkSpaces.CreateWorkSpace.Id is optional —\r\ncallers may pre-allocate the id (e.g. for idempotency / client-side\r\noptimistic UI) or let the service generate one.');
|
|
2845
2854
|
/**
|
|
2846
2855
|
* @summary Deletes a workspace by its ID.
|
|
2847
2856
|
*/
|
|
@@ -2880,7 +2889,7 @@ exports.workSpacesGetIdResponse = zod_1.default.object({
|
|
|
2880
2889
|
"id": zod_1.default.string().regex(exports.workSpacesGetIdResponseConnectorsItemIdRegExpOne),
|
|
2881
2890
|
"kind": zod_1.default.string(),
|
|
2882
2891
|
"name": zod_1.default.string()
|
|
2883
|
-
})),
|
|
2892
|
+
}).describe('The shape non-admins are allowed to see: enough to pick a connector from a\r\ndropdown, and nothing more. No URL (that is infrastructure detail) and no\r\nauth settings. Used by the workspace MCP tab\'s picker and embedded in the\r\nworkspace detail response so the flow editor can list what is attached.')),
|
|
2884
2893
|
"createdAt": zod_1.default.iso.datetime({}),
|
|
2885
2894
|
"createdByUserId": zod_1.default.string(),
|
|
2886
2895
|
"dataSpaces": zod_1.default.array(zod_1.default.object({
|
|
@@ -2982,7 +2991,7 @@ exports.workSpacesGetIdResponse = zod_1.default.object({
|
|
|
2982
2991
|
"workspacesInfo": zod_1.default.array(zod_1.default.object({
|
|
2983
2992
|
"id": zod_1.default.string().regex(exports.workSpacesGetIdResponseDataSpacesItemWorkspacesInfoItemIdRegExpOne),
|
|
2984
2993
|
"name": zod_1.default.string()
|
|
2985
|
-
})).nullish()
|
|
2994
|
+
}).describe('Cross-domain lightweight workspace pointer (id + name) embedded in\r\nshapes owned by other domains (e.g. SmartSpace.App.Business.Models.DataSpace). Stays\r\nin the legacy `SmartSpace.App.Business.Models` namespace until\r\nthose domains migrate.')).nullish()
|
|
2986
2995
|
})),
|
|
2987
2996
|
"favorited": zod_1.default.boolean(),
|
|
2988
2997
|
"firstPrompt": zod_1.default.string().nullish(),
|
|
@@ -3051,7 +3060,7 @@ exports.workSpacesGetIdResponse = zod_1.default.object({
|
|
|
3051
3060
|
"access": zod_1.default.enum(['None', 'Read', 'Write']),
|
|
3052
3061
|
"schema": zod_1.default.record(zod_1.default.string(), zod_1.default.any())
|
|
3053
3062
|
}))
|
|
3054
|
-
});
|
|
3063
|
+
}).describe('Full read model for a WorkSpace. Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.WorkSpace`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import\r\nboth. References pre-existing cross-domain models\r\n(SmartSpace.App.Business.Models.DataSpace, SmartSpace.App.Business.Models.ModelConfiguration,\r\nSmartSpace.App.Business.Models.Flows.FlowInput, SmartSpace.App.Business.Models.Flows.FlowVariable) — those are not\r\nre-modelled by this PR.');
|
|
3055
3064
|
exports.workSpacesGetWorkspaceAdminsPathIdRegExp = 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}$');
|
|
3056
3065
|
exports.workSpacesGetWorkspaceAdminsParams = zod_1.default.strictObject({
|
|
3057
3066
|
"id": zod_1.default.string().regex(exports.workSpacesGetWorkspaceAdminsPathIdRegExp)
|
|
@@ -3060,7 +3069,7 @@ exports.workSpacesGetWorkspaceAdminsResponseItem = zod_1.default.object({
|
|
|
3060
3069
|
"id": zod_1.default.string(),
|
|
3061
3070
|
"isAdmin": zod_1.default.boolean(),
|
|
3062
3071
|
"name": zod_1.default.string()
|
|
3063
|
-
});
|
|
3072
|
+
}).describe('User-on-workspace projection: the user\'s id, display name, and whether\r\nthey are a workspace admin. Composed by the service from\r\n`EntityAccess` + `WorkspaceAdmin` records + the user-directory\r\ndisplay name — not a direct entity projection.');
|
|
3064
3073
|
exports.workSpacesGetWorkspaceAdminsResponse = zod_1.default.array(exports.workSpacesGetWorkspaceAdminsResponseItem);
|
|
3065
3074
|
exports.workSpacesDeleteAdminPathIdRegExp = 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}$');
|
|
3066
3075
|
exports.workSpacesDeleteAdminPathUserIdRegExp = 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}$');
|
|
@@ -3088,7 +3097,7 @@ exports.workSpacesPutBody = zod_1.default.strictObject({
|
|
|
3088
3097
|
"showSources": zod_1.default.boolean(),
|
|
3089
3098
|
"summary": zod_1.default.string().nullish(),
|
|
3090
3099
|
"tags": zod_1.default.array(zod_1.default.string()).nullish()
|
|
3091
|
-
});
|
|
3100
|
+
}).describe('Request shape for the basic-info PUT endpoint. Replaces the legacy\r\n`WorkSpaceBasicInfo` record (which lacked DataAnnotations); shape\r\nunchanged so the wire contract is preserved.');
|
|
3092
3101
|
/**
|
|
3093
3102
|
* @summary Marks a workspace as favorited or not for the active user.
|
|
3094
3103
|
*/
|
|
@@ -3229,13 +3238,13 @@ exports.workSpacesGetWorkspaceFilesResponse = zod_1.default.object({
|
|
|
3229
3238
|
"size": zod_1.default.number(),
|
|
3230
3239
|
"threadId": zod_1.default.string().regex(exports.workSpacesGetWorkspaceFilesResponseDataItemFileThreadIdRegExp).nullish(),
|
|
3231
3240
|
"workspaceId": zod_1.default.string().regex(exports.workSpacesGetWorkspaceFilesResponseDataItemFileWorkspaceIdRegExp).nullish()
|
|
3232
|
-
}).optional(),
|
|
3241
|
+
}).optional().describe('Model for a stored file blob. The simple name collides with\r\n`System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`\r\n(which is itself named to side-step the BCL collision); the\r\n`SmartSpace.App.Business.Models.Files` namespace disambiguates. When\r\nimporting both this model and the entity, alias the entity side:\r\n```using DataEntities = SmartSpace.App.Data.Entities;```\n`ThreadId` reflects the entity column `MessageThreadId`\r\n(renamed at the model boundary because the API contract has always called\r\nit `threadId`). `WorkspaceId` keeps the lower-s spelling that\r\nmatches the entity column and is already on the wire.'),
|
|
3233
3242
|
"flowRunId": zod_1.default.string().nullish(),
|
|
3234
3243
|
"id": zod_1.default.string(),
|
|
3235
3244
|
"modifiedAt": zod_1.default.iso.datetime({}).nullish(),
|
|
3236
3245
|
"modifiedByUserId": zod_1.default.string().nullish(),
|
|
3237
3246
|
"status": zod_1.default.enum(['Uploaded', 'Ingested', 'Ingesting'])
|
|
3238
|
-
})),
|
|
3247
|
+
}).describe('Model for an ingested blob — pairs a stored SmartSpace.App.Business.Models.Files.IngestedBlob.File with its\r\ningestion lifecycle (status, owning dataset, originating flow run).\r\n`CreatedByUserName` is filled in by the service post-projection\r\n(display-name lookup via `IUserService`); it is not part of the EF\r\nprojection because it cannot be expression-tree-translated.')),
|
|
3239
3248
|
"total": zod_1.default.number()
|
|
3240
3249
|
});
|
|
3241
3250
|
/**
|
|
@@ -3266,13 +3275,13 @@ exports.workSpacesWorkspaceFilesResponseItem = zod_1.default.object({
|
|
|
3266
3275
|
"size": zod_1.default.number(),
|
|
3267
3276
|
"threadId": zod_1.default.string().regex(exports.workSpacesWorkspaceFilesResponseFileThreadIdRegExp).nullish(),
|
|
3268
3277
|
"workspaceId": zod_1.default.string().regex(exports.workSpacesWorkspaceFilesResponseFileWorkspaceIdRegExp).nullish()
|
|
3269
|
-
}).optional(),
|
|
3278
|
+
}).optional().describe('Model for a stored file blob. The simple name collides with\r\n`System.IO.File` and `SmartSpace.App.Data.Entities.FileEntity`\r\n(which is itself named to side-step the BCL collision); the\r\n`SmartSpace.App.Business.Models.Files` namespace disambiguates. When\r\nimporting both this model and the entity, alias the entity side:\r\n```using DataEntities = SmartSpace.App.Data.Entities;```\n`ThreadId` reflects the entity column `MessageThreadId`\r\n(renamed at the model boundary because the API contract has always called\r\nit `threadId`). `WorkspaceId` keeps the lower-s spelling that\r\nmatches the entity column and is already on the wire.'),
|
|
3270
3279
|
"flowRunId": zod_1.default.string().nullish(),
|
|
3271
3280
|
"id": zod_1.default.string(),
|
|
3272
3281
|
"modifiedAt": zod_1.default.iso.datetime({}).nullish(),
|
|
3273
3282
|
"modifiedByUserId": zod_1.default.string().nullish(),
|
|
3274
3283
|
"status": zod_1.default.enum(['Uploaded', 'Ingested', 'Ingesting'])
|
|
3275
|
-
});
|
|
3284
|
+
}).describe('Model for an ingested blob — pairs a stored SmartSpace.App.Business.Models.Files.IngestedBlob.File with its\r\ningestion lifecycle (status, owning dataset, originating flow run).\r\n`CreatedByUserName` is filled in by the service post-projection\r\n(display-name lookup via `IUserService`); it is not part of the EF\r\nprojection because it cannot be expression-tree-translated.');
|
|
3276
3285
|
exports.workSpacesWorkspaceFilesResponse = zod_1.default.array(exports.workSpacesWorkspaceFilesResponseItem);
|
|
3277
3286
|
/**
|
|
3278
3287
|
* @summary Removes a file from the workspace and the ingested content.
|
|
@@ -3424,7 +3433,7 @@ exports.connectorsGetConnectorsResponseItem = zod_1.default.object({
|
|
|
3424
3433
|
"modifiedByUserId": zod_1.default.string(),
|
|
3425
3434
|
"name": zod_1.default.string(),
|
|
3426
3435
|
"url": zod_1.default.string()
|
|
3427
|
-
});
|
|
3436
|
+
}).describe('Admin read shape for a connector. Carries the auth SETTINGS (type, header,\r\nscheme) because an admin editing the connector needs to see them — but\r\nnever the vault reference and never the value. Collides on the simple name\r\nwith `SmartSpace.App.Data.Entities.Connector`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files importing both.');
|
|
3428
3437
|
exports.connectorsGetConnectorsResponse = zod_1.default.array(exports.connectorsGetConnectorsResponseItem);
|
|
3429
3438
|
/**
|
|
3430
3439
|
* @summary Creates a connector and its shared credential in one call: the value
|
|
@@ -3438,7 +3447,7 @@ exports.connectorsCreateConnectorBody = zod_1.default.strictObject({
|
|
|
3438
3447
|
"name": zod_1.default.string(),
|
|
3439
3448
|
"secret": zod_1.default.string().nullish(),
|
|
3440
3449
|
"url": zod_1.default.string()
|
|
3441
|
-
});
|
|
3450
|
+
}).describe('Create request. One form writes both rows: the connector (identity) and\r\nits single shared connection (credential). `Secret` is write-only —\r\nit goes straight to Key Vault and is never returned by any admin endpoint.');
|
|
3442
3451
|
/**
|
|
3443
3452
|
* @summary Picker list for workspace editors: id, name and kind only. Gated on
|
|
3444
3453
|
WorkspaceEdit rather than Admin because attaching a connector to a
|
|
@@ -3453,7 +3462,7 @@ exports.connectorsGetConnectorSummariesResponseItem = zod_1.default.object({
|
|
|
3453
3462
|
"id": zod_1.default.string().regex(exports.connectorsGetConnectorSummariesResponseIdRegExp),
|
|
3454
3463
|
"kind": zod_1.default.string(),
|
|
3455
3464
|
"name": zod_1.default.string()
|
|
3456
|
-
});
|
|
3465
|
+
}).describe('The shape non-admins are allowed to see: enough to pick a connector from a\r\ndropdown, and nothing more. No URL (that is infrastructure detail) and no\r\nauth settings. Used by the workspace MCP tab\'s picker and embedded in the\r\nworkspace detail response so the flow editor can list what is attached.');
|
|
3457
3466
|
exports.connectorsGetConnectorSummariesResponse = zod_1.default.array(exports.connectorsGetConnectorSummariesResponseItem);
|
|
3458
3467
|
exports.connectorsDeleteConnectorPathIdRegExp = 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}$');
|
|
3459
3468
|
exports.connectorsDeleteConnectorParams = zod_1.default.strictObject({
|
|
@@ -3477,7 +3486,7 @@ exports.connectorsGetConnectorResponse = zod_1.default.object({
|
|
|
3477
3486
|
"modifiedByUserId": zod_1.default.string(),
|
|
3478
3487
|
"name": zod_1.default.string(),
|
|
3479
3488
|
"url": zod_1.default.string()
|
|
3480
|
-
});
|
|
3489
|
+
}).describe('Admin read shape for a connector. Carries the auth SETTINGS (type, header,\r\nscheme) because an admin editing the connector needs to see them — but\r\nnever the vault reference and never the value. Collides on the simple name\r\nwith `SmartSpace.App.Data.Entities.Connector`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files importing both.');
|
|
3481
3490
|
/**
|
|
3482
3491
|
* @summary Updates a connector. Omit `Secret` to leave the credential
|
|
3483
3492
|
untouched; supply one to rotate it.
|
|
@@ -3493,7 +3502,7 @@ exports.connectorsUpdateConnectorBody = zod_1.default.strictObject({
|
|
|
3493
3502
|
"name": zod_1.default.string(),
|
|
3494
3503
|
"secret": zod_1.default.string().nullish(),
|
|
3495
3504
|
"url": zod_1.default.string()
|
|
3496
|
-
});
|
|
3505
|
+
}).describe('Update request. `Kind` is absent on purpose — changing what a\r\nconnector IS would invalidate every flow referencing it; delete and\r\nrecreate instead.\r\n \r\n`Secret` null means \"leave the credential alone\". A non-null value\r\nrotates it: a new version of the SAME vault secret, so the row\'s reference\r\nnever changes and no orphan is left behind.');
|
|
3497
3506
|
exports.connectorsUpdateConnectorResponseIdRegExp = 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}$');
|
|
3498
3507
|
exports.connectorsUpdateConnectorResponse = zod_1.default.object({
|
|
3499
3508
|
"authHeaderName": zod_1.default.string().nullish(),
|
|
@@ -3508,7 +3517,7 @@ exports.connectorsUpdateConnectorResponse = zod_1.default.object({
|
|
|
3508
3517
|
"modifiedByUserId": zod_1.default.string(),
|
|
3509
3518
|
"name": zod_1.default.string(),
|
|
3510
3519
|
"url": zod_1.default.string()
|
|
3511
|
-
});
|
|
3520
|
+
}).describe('Admin read shape for a connector. Carries the auth SETTINGS (type, header,\r\nscheme) because an admin editing the connector needs to see them — but\r\nnever the vault reference and never the value. Collides on the simple name\r\nwith `SmartSpace.App.Data.Entities.Connector`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files importing both.');
|
|
3512
3521
|
/**
|
|
3513
3522
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific item within a data space's documents in SmartSpace, using the dataSpaceId.
|
|
3514
3523
|
*/
|
|
@@ -3533,7 +3542,7 @@ exports.managedSecretsGetManagedSecretsResponseItem = zod_1.default.object({
|
|
|
3533
3542
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
3534
3543
|
"modifiedByUserId": zod_1.default.string(),
|
|
3535
3544
|
"name": zod_1.default.string()
|
|
3536
|
-
});
|
|
3545
|
+
}).describe('Read/list shape for a managed secret. Deliberately carries NO value property\r\nand NO vault reference — secret values are write-only through the admin\r\nsurface and only ever leave via the machine-only resolve endpoint\r\n(SmartSpace.App.Business.Models.ManagedSecrets.ResolvedManagedSecret). Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.ManagedSecret`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import both.');
|
|
3537
3546
|
exports.managedSecretsGetManagedSecretsResponse = zod_1.default.array(exports.managedSecretsGetManagedSecretsResponseItem);
|
|
3538
3547
|
/**
|
|
3539
3548
|
* @summary Creates a named secret: writes the value to Key Vault and stores only
|
|
@@ -3542,7 +3551,7 @@ the vault reference.
|
|
|
3542
3551
|
exports.managedSecretsCreateManagedSecretBody = zod_1.default.strictObject({
|
|
3543
3552
|
"name": zod_1.default.string(),
|
|
3544
3553
|
"value": zod_1.default.string()
|
|
3545
|
-
});
|
|
3554
|
+
}).describe('Create request shape. `Name` must match the token-safe pattern so it\r\nembeds cleanly in flow-definition secret tokens; the same rule is enforced\r\nas a business rule in `ManagedSecretService` (single source:\r\n`CreateManagedSecret.Pattern`). `Value` is write-only — it goes to\r\nKey Vault and is never returned by any admin endpoint.');
|
|
3546
3555
|
/**
|
|
3547
3556
|
* @summary Deletes a secret: removes the Key Vault secret and hard-deletes the row.
|
|
3548
3557
|
*/
|
|
@@ -3559,7 +3568,7 @@ exports.managedSecretsOverwriteManagedSecretValueParams = zod_1.default.strictOb
|
|
|
3559
3568
|
});
|
|
3560
3569
|
exports.managedSecretsOverwriteManagedSecretValueBody = zod_1.default.strictObject({
|
|
3561
3570
|
"value": zod_1.default.string()
|
|
3562
|
-
});
|
|
3571
|
+
}).describe('Overwrite-value request shape (rotation). Writes a new version of the same\r\nKey Vault secret — the row\'s vault reference is reused, never re-minted.');
|
|
3563
3572
|
exports.managedSecretsOverwriteManagedSecretValueResponseIdRegExp = 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}$');
|
|
3564
3573
|
exports.managedSecretsOverwriteManagedSecretValueResponse = zod_1.default.object({
|
|
3565
3574
|
"createdAt": zod_1.default.iso.datetime({}),
|
|
@@ -3568,7 +3577,7 @@ exports.managedSecretsOverwriteManagedSecretValueResponse = zod_1.default.object
|
|
|
3568
3577
|
"modifiedAt": zod_1.default.iso.datetime({}),
|
|
3569
3578
|
"modifiedByUserId": zod_1.default.string(),
|
|
3570
3579
|
"name": zod_1.default.string()
|
|
3571
|
-
});
|
|
3580
|
+
}).describe('Read/list shape for a managed secret. Deliberately carries NO value property\r\nand NO vault reference — secret values are write-only through the admin\r\nsurface and only ever leave via the machine-only resolve endpoint\r\n(SmartSpace.App.Business.Models.ManagedSecrets.ResolvedManagedSecret). Collides on the simple name with\r\n`SmartSpace.App.Data.Entities.ManagedSecret`; alias\r\n`DataEntities = SmartSpace.App.Data.Entities` in files that import both.');
|
|
3572
3581
|
exports.messageThreadsGetWorkspaceExecutionsPathWorkSpaceIdRegExp = 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}$');
|
|
3573
3582
|
exports.messageThreadsGetWorkspaceExecutionsParams = zod_1.default.strictObject({
|
|
3574
3583
|
"workSpaceId": zod_1.default.string().regex(exports.messageThreadsGetWorkspaceExecutionsPathWorkSpaceIdRegExp)
|
|
@@ -3685,6 +3694,35 @@ exports.messageThreadsGetStepExecutionsResponse = zod_1.default.object({
|
|
|
3685
3694
|
})),
|
|
3686
3695
|
"total": zod_1.default.number()
|
|
3687
3696
|
});
|
|
3697
|
+
/**
|
|
3698
|
+
* @summary Lists a workspace's flow runs, newest first (chat threads, designer
|
|
3699
|
+
runs, CallFlow sub-runs). Proxies the AI API's workspace run store.
|
|
3700
|
+
*/
|
|
3701
|
+
exports.flowRunsGetWorkspaceRunsPathWorkspaceIdRegExp = 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}$');
|
|
3702
|
+
exports.flowRunsGetWorkspaceRunsParams = zod_1.default.strictObject({
|
|
3703
|
+
"workspaceId": zod_1.default.string().regex(exports.flowRunsGetWorkspaceRunsPathWorkspaceIdRegExp).describe('Workspace whose runs to list')
|
|
3704
|
+
});
|
|
3705
|
+
exports.flowRunsGetWorkspaceRunsQuerySkipDefault = 0;
|
|
3706
|
+
exports.flowRunsGetWorkspaceRunsQueryTakeDefault = 20;
|
|
3707
|
+
exports.flowRunsGetWorkspaceRunsQueryParams = zod_1.default.strictObject({
|
|
3708
|
+
"skip": zod_1.default.number().optional().describe('Number of records to skip'),
|
|
3709
|
+
"take": zod_1.default.number().default(exports.flowRunsGetWorkspaceRunsQueryTakeDefault).describe('Number of records to take')
|
|
3710
|
+
});
|
|
3711
|
+
exports.flowRunsGetWorkspaceRunsResponseDataItemFlowDefinitionIdRegExp = 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}$');
|
|
3712
|
+
exports.flowRunsGetWorkspaceRunsResponseDataItemFlowIdRegExp = 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}$');
|
|
3713
|
+
exports.flowRunsGetWorkspaceRunsResponseDataItemFlowRunIdRegExp = 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}$');
|
|
3714
|
+
exports.flowRunsGetWorkspaceRunsResponse = zod_1.default.object({
|
|
3715
|
+
"data": zod_1.default.array(zod_1.default.object({
|
|
3716
|
+
"createdAt": zod_1.default.iso.datetime({}).nullish(),
|
|
3717
|
+
"finishedAt": zod_1.default.iso.datetime({}).nullish(),
|
|
3718
|
+
"flowDefinitionId": zod_1.default.string().regex(exports.flowRunsGetWorkspaceRunsResponseDataItemFlowDefinitionIdRegExp).nullish(),
|
|
3719
|
+
"flowId": zod_1.default.string().regex(exports.flowRunsGetWorkspaceRunsResponseDataItemFlowIdRegExp).nullish(),
|
|
3720
|
+
"flowRunId": zod_1.default.string().regex(exports.flowRunsGetWorkspaceRunsResponseDataItemFlowRunIdRegExp),
|
|
3721
|
+
"runAt": zod_1.default.iso.datetime({}).nullish(),
|
|
3722
|
+
"status": zod_1.default.string()
|
|
3723
|
+
})),
|
|
3724
|
+
"total": zod_1.default.number()
|
|
3725
|
+
});
|
|
3688
3726
|
/**
|
|
3689
3727
|
* @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
|
|
3690
3728
|
*/
|