@smartspace/api-client 0.1.0-dev.fa3ad8d → 0.1.0-dev.faf2de9
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 +14 -4
- package/dist/generated/chat/api.js +83 -42
- package/dist/generated/chat/api.msw.d.ts +27 -5
- package/dist/generated/chat/api.msw.js +192 -133
- package/dist/generated/chat/models/accessAccess.d.ts +1 -1
- package/dist/generated/chat/models/aiIModelProperty.d.ts +4 -5
- package/dist/generated/chat/models/aiModel.d.ts +7 -5
- package/dist/generated/chat/models/aiModelDeployment.d.ts +3 -2
- package/dist/generated/chat/models/aiModelDeploymentProperty.d.ts +11 -0
- package/dist/generated/chat/models/aiModelDeploymentProperty.js +2 -0
- package/dist/generated/chat/models/aiModelDeploymentVirtualMachineServerType.d.ts +11 -0
- package/dist/generated/chat/models/aiModelDeploymentVirtualMachineServerType.js +2 -0
- package/dist/generated/chat/models/aiModelModelDeploymentProviderType.d.ts +11 -0
- package/dist/generated/chat/models/aiModelModelDeploymentProviderType.js +2 -0
- package/dist/generated/chat/models/aiModelPropertyBoolean.d.ts +19 -0
- package/dist/generated/chat/models/aiModelPropertyBoolean.js +2 -0
- package/dist/generated/chat/models/aiModelPropertyBooleanType.d.ts +10 -0
- package/dist/generated/chat/models/aiModelPropertyBooleanType.js +13 -0
- package/dist/generated/chat/models/aiModelPropertyNumber.d.ts +19 -0
- package/dist/generated/chat/models/aiModelPropertyNumber.js +2 -0
- package/dist/generated/chat/models/aiModelPropertyNumberType.d.ts +10 -0
- package/dist/generated/chat/models/aiModelPropertyNumberType.js +13 -0
- package/dist/generated/chat/models/aiModelPropertyString.d.ts +19 -0
- package/dist/generated/chat/models/aiModelPropertyString.js +2 -0
- package/dist/generated/chat/models/aiModelPropertyStringType.d.ts +10 -0
- package/dist/generated/chat/models/aiModelPropertyStringType.js +13 -0
- package/dist/generated/chat/models/aiModelSummary.d.ts +11 -6
- package/dist/generated/chat/models/aiModelSummaryDeploymentStatus.d.ts +11 -0
- package/dist/generated/chat/models/aiModelSummaryDeploymentStatus.js +2 -0
- package/dist/generated/chat/models/aiModelSummaryModelDeploymentProviderType.d.ts +11 -0
- package/dist/generated/chat/models/aiModelSummaryModelDeploymentProviderType.js +2 -0
- package/dist/generated/chat/models/enumsAccessType.d.ts +9 -3
- package/dist/generated/chat/models/enumsAccessType.js +10 -3
- package/dist/generated/chat/models/enumsAppPrincipalType.d.ts +9 -3
- package/dist/generated/chat/models/enumsAppPrincipalType.js +10 -3
- package/dist/generated/chat/models/enumsFlowTriggerType.d.ts +9 -3
- package/dist/generated/chat/models/enumsFlowTriggerType.js +10 -3
- package/dist/generated/chat/models/enumsFlowVariableAccess.d.ts +9 -3
- package/dist/generated/chat/models/enumsFlowVariableAccess.js +10 -3
- package/dist/generated/chat/models/enumsMessageValueType.d.ts +9 -3
- package/dist/generated/chat/models/enumsMessageValueType.js +10 -3
- package/dist/generated/chat/models/enumsModelDeploymentProviderType.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelDeploymentProviderType.js +10 -3
- package/dist/generated/chat/models/enumsModelDeploymentStatus.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelDeploymentStatus.js +10 -3
- package/dist/generated/chat/models/enumsModelDeploymentStepName.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelDeploymentStepName.js +10 -3
- package/dist/generated/chat/models/enumsModelPropertyType.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelPropertyType.js +10 -3
- package/dist/generated/chat/models/enumsModelPublisher.d.ts +10 -3
- package/dist/generated/chat/models/enumsModelPublisher.js +11 -3
- package/dist/generated/chat/models/enumsModelRole.d.ts +9 -3
- package/dist/generated/chat/models/enumsModelRole.js +10 -3
- package/dist/generated/chat/models/enumsNotificationType.d.ts +9 -3
- package/dist/generated/chat/models/enumsNotificationType.js +10 -3
- package/dist/generated/chat/models/enumsVirtualMachineServerType.d.ts +9 -3
- package/dist/generated/chat/models/enumsVirtualMachineServerType.js +10 -3
- package/dist/generated/chat/models/enumsWorkSpaceOrderBy.d.ts +9 -3
- package/dist/generated/chat/models/enumsWorkSpaceOrderBy.js +10 -3
- package/dist/generated/chat/models/index.d.ts +24 -0
- package/dist/generated/chat/models/index.js +24 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechConfig.js +8 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
- package/dist/generated/chat/models/integrationsAzureSpeechSpeechToken.js +8 -0
- package/dist/generated/chat/models/managedSecretsMySecret.d.ts +13 -0
- package/dist/generated/chat/models/managedSecretsMySecret.js +8 -0
- package/dist/generated/chat/models/managedSecretsUpdateManagedSecretValue.d.ts +9 -0
- package/dist/generated/chat/models/managedSecretsUpdateManagedSecretValue.js +8 -0
- package/dist/generated/chat/models/messageThreadThreadEvent.d.ts +12 -0
- package/dist/generated/chat/models/messageThreadThreadEvent.js +8 -0
- package/dist/generated/chat/models/messagesMessageDelta.d.ts +14 -0
- package/dist/generated/chat/models/messagesMessageDelta.js +2 -0
- package/dist/generated/chat/models/messagesMessageError.d.ts +2 -0
- package/dist/generated/chat/models/microsoftAspNetCoreMvcProblemDetails.d.ts +6 -0
- package/dist/generated/chat/models/modelIModelProperty.d.ts +4 -5
- package/dist/generated/chat/models/modelModelPropertyBoolean.d.ts +19 -0
- package/dist/generated/chat/models/modelModelPropertyBoolean.js +2 -0
- package/dist/generated/chat/models/modelModelPropertyBooleanType.d.ts +10 -0
- package/dist/generated/chat/models/modelModelPropertyBooleanType.js +13 -0
- package/dist/generated/chat/models/modelModelPropertyNumber.d.ts +19 -0
- package/dist/generated/chat/models/modelModelPropertyNumber.js +2 -0
- package/dist/generated/chat/models/modelModelPropertyNumberType.d.ts +10 -0
- package/dist/generated/chat/models/modelModelPropertyNumberType.js +13 -0
- package/dist/generated/chat/models/modelModelPropertyString.d.ts +19 -0
- package/dist/generated/chat/models/modelModelPropertyString.js +2 -0
- package/dist/generated/chat/models/modelModelPropertyStringType.d.ts +10 -0
- package/dist/generated/chat/models/modelModelPropertyStringType.js +13 -0
- package/dist/generated/chat/models/pagedDataCollectionAccessAccess.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionAiModelSummary.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionCommentCommentSummary.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionMessageThreadMessageThreadSummary.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionMessagesMessage.d.ts +2 -0
- package/dist/generated/chat/models/pagedDataCollectionWorkSpacesWorkSpace.d.ts +2 -0
- package/dist/generated/chat/models/streamingThreadStreamFrame.d.ts +22 -0
- package/dist/generated/chat/models/streamingThreadStreamFrame.js +2 -0
- package/dist/generated/chat/models/workSpacesWorkSpace.d.ts +1 -0
- package/dist/generated/chat/operation-tags.d.ts +31 -0
- package/dist/generated/chat/operation-tags.js +34 -0
- package/dist/generated/chat/zod.d.ts +418 -265
- package/dist/generated/chat/zod.js +473 -130
- package/dist/generated/config/api.d.ts +86 -25
- package/dist/generated/config/api.js +463 -229
- package/dist/generated/config/api.msw.d.ts +93 -21
- package/dist/generated/config/api.msw.js +794 -606
- package/dist/generated/config/change-tags.d.ts +47 -0
- package/dist/generated/config/change-tags.js +43 -0
- package/dist/generated/config/models/accessAccess.d.ts +1 -1
- package/dist/generated/config/models/accessAccessWorkSpace.d.ts +1 -1
- package/dist/generated/config/models/accessGetUsersInRoleUsersParams.d.ts +1 -1
- package/dist/generated/config/models/activitiesActivityWorkSpace.d.ts +1 -1
- package/dist/generated/config/models/aiCreateModel.d.ts +4 -3
- package/dist/generated/config/models/aiCreateModelDeployment.d.ts +3 -2
- package/dist/generated/config/models/aiCreateModelDeploymentProviderProperty.d.ts +11 -0
- package/dist/generated/config/models/aiCreateModelDeploymentProviderProperty.js +2 -0
- package/dist/generated/config/models/aiCreateModelPublisher.d.ts +11 -0
- package/dist/generated/config/models/aiCreateModelPublisher.js +2 -0
- package/dist/generated/config/models/aiIModelProperty.d.ts +4 -5
- package/dist/generated/config/models/aiModel.d.ts +7 -5
- package/dist/generated/config/models/aiModelDeployment.d.ts +3 -2
- package/dist/generated/config/models/aiModelDeploymentProperty.d.ts +11 -0
- package/dist/generated/config/models/aiModelDeploymentProperty.js +2 -0
- package/dist/generated/config/models/aiModelDeploymentVirtualMachineServerType.d.ts +11 -0
- package/dist/generated/config/models/aiModelDeploymentVirtualMachineServerType.js +2 -0
- package/dist/generated/config/models/aiModelModelDeploymentProviderType.d.ts +11 -0
- package/dist/generated/config/models/aiModelModelDeploymentProviderType.js +2 -0
- package/dist/generated/config/models/aiModelPropertyBoolean.d.ts +19 -0
- package/dist/generated/config/models/aiModelPropertyBoolean.js +2 -0
- package/dist/generated/config/models/aiModelPropertyBooleanType.d.ts +10 -0
- package/dist/generated/config/models/aiModelPropertyBooleanType.js +13 -0
- package/dist/generated/config/models/aiModelPropertyNumber.d.ts +19 -0
- package/dist/generated/config/models/aiModelPropertyNumber.js +2 -0
- package/dist/generated/config/models/aiModelPropertyNumberType.d.ts +10 -0
- package/dist/generated/config/models/aiModelPropertyNumberType.js +13 -0
- package/dist/generated/config/models/aiModelPropertyString.d.ts +19 -0
- package/dist/generated/config/models/aiModelPropertyString.js +2 -0
- package/dist/generated/config/models/aiModelPropertyStringType.d.ts +10 -0
- package/dist/generated/config/models/aiModelPropertyStringType.js +13 -0
- package/dist/generated/config/models/aiModelSummary.d.ts +11 -6
- package/dist/generated/config/models/aiModelSummaryDeploymentStatus.d.ts +11 -0
- package/dist/generated/config/models/aiModelSummaryDeploymentStatus.js +2 -0
- package/dist/generated/config/models/aiModelSummaryModelDeploymentProviderType.d.ts +11 -0
- package/dist/generated/config/models/aiModelSummaryModelDeploymentProviderType.js +2 -0
- package/dist/generated/config/models/changeTagsChangeTag.d.ts +27 -0
- package/dist/generated/config/models/changeTagsChangeTag.js +31 -0
- package/dist/generated/config/models/changeTagsChangeTagView.d.ts +19 -0
- package/dist/generated/config/models/changeTagsChangeTagView.js +23 -0
- package/dist/generated/config/models/configApiControllersAuthDiscoveryControllerAuthDiscovery.d.ts +12 -0
- package/dist/generated/config/models/containerItem.d.ts +5 -0
- package/dist/generated/config/models/containerItem.js +0 -6
- package/dist/generated/config/models/containerItemIngestion.d.ts +34 -0
- package/dist/generated/config/models/containerItemIngestion.js +8 -0
- package/dist/generated/config/models/containersPostParams.d.ts +4 -0
- package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.d.ts +9 -3
- package/dist/generated/config/models/coreDeploymentEnumsDeploymentStatus.js +10 -3
- package/dist/generated/config/models/coreManagementInstallParameterType.d.ts +9 -3
- package/dist/generated/config/models/coreManagementInstallParameterType.js +10 -3
- package/dist/generated/config/models/coreManagementSmartSpaceBasePlan.d.ts +10 -0
- package/dist/generated/config/models/coreManagementSmartSpaceBasePlan.js +8 -0
- package/dist/generated/config/models/coreManagementSmartSpacePlan.d.ts +12 -0
- package/dist/generated/config/models/coreManagementSmartSpacePlan.js +2 -0
- package/dist/generated/config/models/coreManagementSmartSpaceUpgrade.d.ts +11 -0
- package/dist/generated/config/models/coreManagementSmartSpaceUpgrade.js +8 -0
- package/dist/generated/config/models/dataSetsGetParams.d.ts +2 -0
- package/dist/generated/config/models/dataSetsSetDataSetScoping.d.ts +2 -0
- package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.d.ts +9 -3
- package/dist/generated/config/models/dataSourcesCredentialsCredentialsType.js +10 -3
- package/dist/generated/config/models/dataSourcesDataSourcePropertyType.d.ts +9 -3
- package/dist/generated/config/models/dataSourcesDataSourcePropertyType.js +10 -3
- package/dist/generated/config/models/dataSpacesGetDataSetsParams.d.ts +2 -0
- package/dist/generated/config/models/enumsAccessType.d.ts +9 -3
- package/dist/generated/config/models/enumsAccessType.js +10 -3
- package/dist/generated/config/models/enumsActivityType.d.ts +9 -3
- package/dist/generated/config/models/enumsActivityType.js +10 -3
- package/dist/generated/config/models/enumsAppPrincipalType.d.ts +9 -3
- package/dist/generated/config/models/enumsAppPrincipalType.js +10 -3
- package/dist/generated/config/models/enumsBlockScope.d.ts +9 -3
- package/dist/generated/config/models/enumsBlockScope.js +10 -3
- package/dist/generated/config/models/enumsBlockType.d.ts +9 -3
- package/dist/generated/config/models/enumsBlockType.js +10 -3
- package/dist/generated/config/models/enumsDataSetScopingMode.d.ts +9 -3
- package/dist/generated/config/models/enumsDataSetScopingMode.js +10 -3
- package/dist/generated/config/models/enumsDataSourceCredentialType.d.ts +9 -3
- package/dist/generated/config/models/enumsDataSourceCredentialType.js +10 -3
- package/dist/generated/config/models/enumsFlowTriggerType.d.ts +9 -3
- package/dist/generated/config/models/enumsFlowTriggerType.js +10 -3
- package/dist/generated/config/models/enumsFlowVariableAccess.d.ts +9 -3
- package/dist/generated/config/models/enumsFlowVariableAccess.js +10 -3
- package/dist/generated/config/models/enumsIngestionStatus.d.ts +9 -3
- package/dist/generated/config/models/enumsIngestionStatus.js +10 -3
- package/dist/generated/config/models/enumsMessageValueType.d.ts +9 -3
- package/dist/generated/config/models/enumsMessageValueType.js +10 -3
- package/dist/generated/config/models/enumsModelDeploymentProviderType.d.ts +9 -3
- package/dist/generated/config/models/enumsModelDeploymentProviderType.js +10 -3
- package/dist/generated/config/models/enumsModelDeploymentStatus.d.ts +9 -3
- package/dist/generated/config/models/enumsModelDeploymentStatus.js +10 -3
- package/dist/generated/config/models/enumsModelDeploymentStepName.d.ts +9 -3
- package/dist/generated/config/models/enumsModelDeploymentStepName.js +10 -3
- package/dist/generated/config/models/enumsModelPropertyType.d.ts +9 -3
- package/dist/generated/config/models/enumsModelPropertyType.js +10 -3
- package/dist/generated/config/models/enumsModelPublisher.d.ts +10 -3
- package/dist/generated/config/models/enumsModelPublisher.js +11 -3
- package/dist/generated/config/models/enumsModelRole.d.ts +9 -3
- package/dist/generated/config/models/enumsModelRole.js +10 -3
- package/dist/generated/config/models/enumsNotificationType.d.ts +9 -3
- package/dist/generated/config/models/enumsNotificationType.js +10 -3
- package/dist/generated/config/models/enumsPermissions.d.ts +1 -2
- package/dist/generated/config/models/enumsPermissionsItem.d.ts +9 -3
- package/dist/generated/config/models/enumsPermissionsItem.js +10 -3
- package/dist/generated/config/models/enumsPinType.d.ts +9 -3
- package/dist/generated/config/models/enumsPinType.js +10 -3
- package/dist/generated/config/models/enumsPortType.d.ts +9 -3
- package/dist/generated/config/models/enumsPortType.js +10 -3
- package/dist/generated/config/models/enumsVirtualMachineServerType.d.ts +9 -3
- package/dist/generated/config/models/enumsVirtualMachineServerType.js +10 -3
- package/dist/generated/config/models/flowRunReference.d.ts +10 -0
- package/dist/generated/config/models/flowRunReference.js +8 -0
- package/dist/generated/config/models/flowRunsGetFlowRunParams.d.ts +12 -0
- package/dist/generated/config/models/flowRunsGetFlowRunParams.js +8 -0
- package/dist/generated/config/models/flowRunsGetStepExecutionsParams.d.ts +24 -0
- package/dist/generated/config/models/flowRunsGetWorkspaceRunsParams.d.ts +4 -0
- package/dist/generated/config/models/flowValueModel.d.ts +4 -0
- package/dist/generated/config/models/flowsFlowRun.d.ts +5 -2
- package/dist/generated/config/models/flowsFlowRunCancelResult.d.ts +9 -0
- package/dist/generated/config/models/flowsFlowRunCancelResult.js +8 -0
- package/dist/generated/config/models/flowsFlowRunWorkSpace.d.ts +11 -0
- package/dist/generated/config/models/flowsFlowRunWorkSpace.js +2 -0
- package/dist/generated/config/models/functionExecutionDebugModel.d.ts +4 -0
- package/dist/generated/config/models/index.d.ts +73 -2
- package/dist/generated/config/models/index.js +73 -2
- package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.d.ts +12 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechConfig.js +8 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.d.ts +10 -0
- package/dist/generated/config/models/integrationsAzureSpeechSpeechToken.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiBlockInput.d.ts +15 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiBlockInput.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiContainerItemRunHistory.d.ts +6 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowError.d.ts +18 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowError.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowErrorData.d.ts +10 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowErrorData.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowOutput.d.ts +14 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowOutput.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowRunMessage.d.ts +33 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowRunMessage.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValue.d.ts +16 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValue.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueChannels.d.ts +9 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueChannels.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueData.d.ts +10 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueData.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFlowValueModel.d.ts +4 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecution.d.ts +15 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecution.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiFunctionExecutionDebugModel.d.ts +6 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiIngestionRun.d.ts +21 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiLlmRoundUsage.d.ts +10 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiLlmRoundUsage.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiRunEventStreamFrame.d.ts +16 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiRunEventStreamFrame.js +2 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiTokenUsage.d.ts +18 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiTokenUsage.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiToolCallUsage.d.ts +11 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiToolCallUsage.js +8 -0
- package/dist/generated/config/models/integrationsSmartSpaceAiWorkspaceRun.d.ts +6 -0
- package/dist/generated/config/models/managedSecretsCreateManagedSecret.d.ts +4 -1
- package/dist/generated/config/models/managedSecretsGetManagedSecretUserValuesParams.d.ts +20 -0
- package/dist/generated/config/models/managedSecretsGetManagedSecretUserValuesParams.js +8 -0
- package/dist/generated/config/models/managedSecretsGetManagedSecretsParams.d.ts +21 -0
- package/dist/generated/config/models/managedSecretsGetManagedSecretsParams.js +8 -0
- package/dist/generated/config/models/managedSecretsManagedSecret.d.ts +2 -0
- package/dist/generated/config/models/managedSecretsManagedSecretUserValue.d.ts +10 -0
- package/dist/generated/config/models/managedSecretsManagedSecretUserValue.js +8 -0
- package/dist/generated/config/models/managedSecretsMySecret.d.ts +13 -0
- package/dist/generated/config/models/managedSecretsMySecret.js +8 -0
- package/dist/generated/config/models/messageThreadThreadEvent.d.ts +12 -0
- package/dist/generated/config/models/messageThreadThreadEvent.js +8 -0
- package/dist/generated/config/models/messagesMessageDelta.d.ts +14 -0
- package/dist/generated/config/models/messagesMessageDelta.js +2 -0
- package/dist/generated/config/models/messagesMessageError.d.ts +2 -0
- package/dist/generated/config/models/microsoftAspNetCoreMvcProblemDetails.d.ts +6 -0
- package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.d.ts +9 -3
- package/dist/generated/config/models/microsoftExtensionsDiagnosticsHealthChecksHealthStatus.js +10 -3
- package/dist/generated/config/models/modelDeployableModel.d.ts +11 -0
- package/dist/generated/config/models/modelDeployableModel.js +2 -0
- package/dist/generated/config/models/modelDeployableModelProperty.d.ts +14 -0
- package/dist/generated/config/models/modelDeployableModelProperty.js +2 -0
- package/dist/generated/config/models/modelDeployableModelPropertyType.d.ts +19 -0
- package/dist/generated/config/models/modelDeployableModelPropertyType.js +23 -0
- package/dist/generated/config/models/modelIModelProperty.d.ts +4 -5
- package/dist/generated/config/models/modelLoadProviderModelsRequest.d.ts +17 -0
- package/dist/generated/config/models/modelLoadProviderModelsRequest.js +2 -0
- package/dist/generated/config/models/modelLoadProviderModelsRequestGoogleCredentials.d.ts +12 -0
- package/dist/generated/config/models/modelLoadProviderModelsRequestGoogleCredentials.js +8 -0
- package/dist/generated/config/models/modelModelDeploymentProvider.d.ts +20 -0
- package/dist/generated/config/models/modelModelDeploymentProvider.js +2 -0
- package/dist/generated/config/models/modelModelDeploymentProviderType.d.ts +11 -0
- package/dist/generated/config/models/modelModelDeploymentProviderType.js +2 -0
- package/dist/generated/config/models/modelModelPropertyBoolean.d.ts +19 -0
- package/dist/generated/config/models/modelModelPropertyBoolean.js +2 -0
- package/dist/generated/config/models/modelModelPropertyBooleanType.d.ts +10 -0
- package/dist/generated/config/models/modelModelPropertyBooleanType.js +13 -0
- package/dist/generated/config/models/modelModelPropertyNumber.d.ts +19 -0
- package/dist/generated/config/models/modelModelPropertyNumber.js +2 -0
- package/dist/generated/config/models/modelModelPropertyNumberType.d.ts +10 -0
- package/dist/generated/config/models/modelModelPropertyNumberType.js +13 -0
- package/dist/generated/config/models/modelModelPropertyString.d.ts +19 -0
- package/dist/generated/config/models/modelModelPropertyString.js +2 -0
- package/dist/generated/config/models/modelModelPropertyStringType.d.ts +10 -0
- package/dist/generated/config/models/modelModelPropertyStringType.js +13 -0
- package/dist/generated/config/models/modelModelProviderType.d.ts +11 -0
- package/dist/generated/config/models/modelModelProviderType.js +2 -0
- package/dist/generated/config/models/pagedDataCollectionAccessAccess.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionAccessAccessWorkSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionActivitiesActivityWorkSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionAiModelSummary.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionAzureADGroup.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionContainerItem.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionDataSetsDataSet.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionDataSourcesDataSource.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionDataSpacesDataSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionFilesIngestedBlob.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionManagedSecretsManagedSecret.d.ts +13 -0
- package/dist/generated/config/models/pagedDataCollectionManagedSecretsManagedSecret.js +2 -0
- package/dist/generated/config/models/pagedDataCollectionManagedSecretsManagedSecretUserValue.d.ts +13 -0
- package/dist/generated/config/models/pagedDataCollectionManagedSecretsManagedSecretUserValue.js +2 -0
- package/dist/generated/config/models/pagedDataCollectionMessageThreadMessageThreadSummary.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionSyncsSync.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersAppAccessUser.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersAppUserDetail.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersAppUserSearchResult.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalDetail.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionUsersServicePrincipalSearchResult.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionWorkSpaceTemplatesTemplate.d.ts +2 -0
- package/dist/generated/config/models/pagedDataCollectionWorkSpacesWorkSpace.d.ts +2 -0
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionDataSetItem.d.ts +2 -0
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiContainerItemRunHistory.d.ts +2 -0
- package/dist/generated/config/models/pagedDataSystemCollectionsGenericICollectionIntegrationsSmartSpaceAiIngestionRun.d.ts +2 -0
- package/dist/generated/config/models/reingestResult.d.ts +9 -0
- package/dist/generated/config/models/reingestResult.js +8 -0
- package/dist/generated/config/models/reportingDuration.d.ts +9 -3
- package/dist/generated/config/models/reportingDuration.js +10 -3
- package/dist/generated/config/models/reportingGetRequestsParams.d.ts +3 -0
- package/dist/generated/config/models/reportingGetTokensParams.d.ts +3 -0
- package/dist/generated/config/models/reportingReportSeries.d.ts +4 -0
- package/dist/generated/config/models/reportingSplit.d.ts +12 -4
- package/dist/generated/config/models/reportingSplit.js +13 -4
- package/dist/generated/config/models/smartSpacePlanUsage.d.ts +11 -0
- package/dist/generated/config/models/smartSpacePlanUsage.js +8 -0
- package/dist/generated/config/models/streamingThreadStreamFrame.d.ts +22 -0
- package/dist/generated/config/models/streamingThreadStreamFrame.js +2 -0
- package/dist/generated/config/models/syncsGetPoisonedParams.d.ts +10 -0
- package/dist/generated/config/models/syncsGetPoisonedParams.js +8 -0
- package/dist/generated/config/models/syncsSync.d.ts +9 -4
- package/dist/generated/config/models/syncsSyncDataSourceInfo.d.ts +1 -0
- package/dist/generated/config/models/usageFlowRunInvocation.d.ts +31 -0
- package/dist/generated/config/models/usageFlowRunInvocation.js +2 -0
- package/dist/generated/config/models/usageInvocationModelUsage.d.ts +39 -0
- package/dist/generated/config/models/usageInvocationModelUsage.js +8 -0
- package/dist/generated/config/models/usageRecordFlowInvocation.d.ts +46 -0
- package/dist/generated/config/models/usageRecordFlowInvocation.js +8 -0
- package/dist/generated/config/models/usageRecordUsageEvent.d.ts +95 -0
- package/dist/generated/config/models/usageRecordUsageEvent.js +8 -0
- package/dist/generated/config/models/usageUsageEventsRecorded.d.ts +9 -0
- package/dist/generated/config/models/usageUsageEventsRecorded.js +8 -0
- package/dist/generated/config/models/usersAdministeredResource.d.ts +11 -0
- package/dist/generated/config/models/usersAdministeredResource.js +8 -0
- package/dist/generated/config/models/workSpaceTemplatesTemplate.d.ts +4 -3
- package/dist/generated/config/models/workSpaceTemplatesTemplateLatestVersion.d.ts +11 -0
- package/dist/generated/config/models/workSpaceTemplatesTemplateLatestVersion.js +2 -0
- package/dist/generated/config/models/workSpacesCreateWorkSpace.d.ts +5 -1
- package/dist/generated/config/models/workSpacesWorkSpace.d.ts +1 -0
- package/dist/generated/config/operation-tags.d.ts +33 -0
- package/dist/generated/config/operation-tags.js +36 -0
- package/dist/generated/config/zod.d.ts +1310 -980
- package/dist/generated/config/zod.js +1393 -423
- package/dist/generated/signalr/SmartSpace.App.Business.Models.MessageThread.d.ts +7 -0
- package/dist/generated/signalr/TypedSignalR.Client/SmartSpace.App.Business.Hubs.Contracts.d.ts +31 -9
- package/dist/generated/signalr/TypedSignalR.Client/index.js +10 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +11 -1
- package/dist/problem.d.ts +12 -0
- package/dist/problem.js +22 -0
- package/dist/signalr.d.ts +1 -1
- package/package.json +4 -3
- package/dist/generated/config/models/flowRunsSearchFlowRunsParams.d.ts +0 -25
- /package/dist/generated/config/models/{flowRunsSearchFlowRunsParams.js → configApiControllersAuthDiscoveryControllerAuthDiscovery.js} +0 -0
|
@@ -3,11 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getSmartSpaceAdminAPI = void 0;
|
|
4
4
|
const instance_1 = require("../../instance");
|
|
5
5
|
const getSmartSpaceAdminAPI = () => {
|
|
6
|
+
const authDiscoveryGet = () => {
|
|
7
|
+
return (0, instance_1.customInstance)({ url: `/v1/.well-known/smartspace-auth`, method: 'GET'
|
|
8
|
+
});
|
|
9
|
+
};
|
|
6
10
|
/**
|
|
7
11
|
* @summary Retrieve access details with optional filtering by workspace, access type, principal type, and search.
|
|
8
12
|
*/
|
|
9
13
|
const accessGetAccesses = (params) => {
|
|
10
|
-
return (0, instance_1.customInstance)({ url: `/Access`, method: 'GET',
|
|
14
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access`, method: 'GET',
|
|
11
15
|
params
|
|
12
16
|
});
|
|
13
17
|
};
|
|
@@ -15,7 +19,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
15
19
|
* @summary Add a new access grant for a principal or group to a workspace.
|
|
16
20
|
*/
|
|
17
21
|
const accessAddAccess = (accessCreateAccess) => {
|
|
18
|
-
return (0, instance_1.customInstance)({ url: `/Access`, method: 'PUT',
|
|
22
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access`, method: 'PUT',
|
|
19
23
|
headers: { 'Content-Type': 'application/*+json', },
|
|
20
24
|
data: accessCreateAccess
|
|
21
25
|
});
|
|
@@ -24,7 +28,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
24
28
|
* @summary List groups from Azure AD.
|
|
25
29
|
*/
|
|
26
30
|
const accessGetGroups = (params) => {
|
|
27
|
-
return (0, instance_1.customInstance)({ url: `/Access/groups`, method: 'GET',
|
|
31
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/groups`, method: 'GET',
|
|
28
32
|
params
|
|
29
33
|
});
|
|
30
34
|
};
|
|
@@ -32,14 +36,14 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
32
36
|
* @summary Fetch a list of all roles defined within SmartSpace, providing an overview of role-based access control.
|
|
33
37
|
*/
|
|
34
38
|
const accessGetAppRoles = () => {
|
|
35
|
-
return (0, instance_1.customInstance)({ url: `/Access/roles`, method: 'GET'
|
|
39
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/roles`, method: 'GET'
|
|
36
40
|
});
|
|
37
41
|
};
|
|
38
42
|
/**
|
|
39
43
|
* @summary List users assigned to a specific role in SmartSpace by providing the role's ID.
|
|
40
44
|
*/
|
|
41
45
|
const accessGetUsersInRoleRolesRoleIdUsers = (roleId, params) => {
|
|
42
|
-
return (0, instance_1.customInstance)({ url: `/Access/roles/${roleId}/users`, method: 'GET',
|
|
46
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/roles/${roleId}/users`, method: 'GET',
|
|
43
47
|
params
|
|
44
48
|
});
|
|
45
49
|
};
|
|
@@ -47,7 +51,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
47
51
|
* @summary Search Azure AD groups for access assignment.
|
|
48
52
|
*/
|
|
49
53
|
const accessSearchGroups = (params) => {
|
|
50
|
-
return (0, instance_1.customInstance)({ url: `/Access/search/groups`, method: 'GET',
|
|
54
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/search/groups`, method: 'GET',
|
|
51
55
|
params
|
|
52
56
|
});
|
|
53
57
|
};
|
|
@@ -55,7 +59,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
55
59
|
* @summary Search Azure AD service principals for access assignment.
|
|
56
60
|
*/
|
|
57
61
|
const accessSearchServicePrincipals = (params) => {
|
|
58
|
-
return (0, instance_1.customInstance)({ url: `/Access/search/serviceprincipals`, method: 'GET',
|
|
62
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/search/serviceprincipals`, method: 'GET',
|
|
59
63
|
params
|
|
60
64
|
});
|
|
61
65
|
};
|
|
@@ -63,7 +67,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
63
67
|
* @summary Search Azure AD users for access assignment.
|
|
64
68
|
*/
|
|
65
69
|
const accessSearchUsers = (params) => {
|
|
66
|
-
return (0, instance_1.customInstance)({ url: `/Access/search/users`, method: 'GET',
|
|
70
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/search/users`, method: 'GET',
|
|
67
71
|
params
|
|
68
72
|
});
|
|
69
73
|
};
|
|
@@ -71,7 +75,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
71
75
|
* @summary Retrieve users associated with a specified role in SmartSpace, enabling role-based user management.
|
|
72
76
|
*/
|
|
73
77
|
const accessGetUsersInRoleUsers = (params) => {
|
|
74
|
-
return (0, instance_1.customInstance)({ url: `/Access/users`, method: 'GET',
|
|
78
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/users`, method: 'GET',
|
|
75
79
|
params
|
|
76
80
|
});
|
|
77
81
|
};
|
|
@@ -79,22 +83,23 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
79
83
|
* @summary Remove a specific access entity in SmartSpace by using its ID.
|
|
80
84
|
*/
|
|
81
85
|
const accessDeleteAccess = (id) => {
|
|
82
|
-
return (0, instance_1.customInstance)({ url: `/Access/${id}`, method: 'DELETE'
|
|
86
|
+
return (0, instance_1.customInstance)({ url: `/v1/Access/${id}`, method: 'DELETE'
|
|
83
87
|
});
|
|
84
88
|
};
|
|
85
89
|
/**
|
|
86
90
|
* @summary Export workspace activity log as a CSV file.
|
|
87
91
|
*/
|
|
88
92
|
const activityExportLoggings = (params) => {
|
|
89
|
-
return (0, instance_1.customInstance)({ url: `/Activity/csv/workspace`, method: 'GET',
|
|
90
|
-
params
|
|
93
|
+
return (0, instance_1.customInstance)({ url: `/v1/Activity/csv/workspace`, method: 'GET',
|
|
94
|
+
params,
|
|
95
|
+
responseType: 'blob'
|
|
91
96
|
});
|
|
92
97
|
};
|
|
93
98
|
/**
|
|
94
99
|
* @summary Retrieve workspace activity log entries with optional filtering and pagination.
|
|
95
100
|
*/
|
|
96
101
|
const activityGetLogging = (params) => {
|
|
97
|
-
return (0, instance_1.customInstance)({ url: `/Activity/workspace`, method: 'GET',
|
|
102
|
+
return (0, instance_1.customInstance)({ url: `/v1/Activity/workspace`, method: 'GET',
|
|
98
103
|
params
|
|
99
104
|
});
|
|
100
105
|
};
|
|
@@ -102,14 +107,14 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
102
107
|
* @summary Gets the state of an update that was triggered by ApplyLatestAvailableVersion.
|
|
103
108
|
*/
|
|
104
109
|
const applicationUpdateGetLatestDeployment = () => {
|
|
105
|
-
return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/deployments/latest`, method: 'GET'
|
|
110
|
+
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/deployments/latest`, method: 'GET'
|
|
106
111
|
});
|
|
107
112
|
};
|
|
108
113
|
/**
|
|
109
114
|
* @summary Returns the current version of the application.
|
|
110
115
|
*/
|
|
111
116
|
const applicationUpdateGetCurrentVersion = () => {
|
|
112
|
-
return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/current`, method: 'GET'
|
|
117
|
+
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/current`, method: 'GET'
|
|
113
118
|
});
|
|
114
119
|
};
|
|
115
120
|
/**
|
|
@@ -117,7 +122,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
117
122
|
Returns 202 to indicate the operation has been triggered.
|
|
118
123
|
*/
|
|
119
124
|
const applicationUpdateReapplyCurrentVersion = () => {
|
|
120
|
-
return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/current/reapply`, method: 'PUT'
|
|
125
|
+
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/current/reapply`, method: 'PUT'
|
|
121
126
|
});
|
|
122
127
|
};
|
|
123
128
|
/**
|
|
@@ -126,7 +131,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
126
131
|
Returns 204 if no new version available.
|
|
127
132
|
*/
|
|
128
133
|
const applicationUpdateGetLatestAvailableVersion = () => {
|
|
129
|
-
return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/latest-available`, method: 'GET'
|
|
134
|
+
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/latest-available`, method: 'GET'
|
|
130
135
|
});
|
|
131
136
|
};
|
|
132
137
|
/**
|
|
@@ -135,14 +140,14 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
135
140
|
Returns 409 if the application is already in the process of updating.
|
|
136
141
|
*/
|
|
137
142
|
const applicationUpdateApplyLatestAvailableVersion = () => {
|
|
138
|
-
return (0, instance_1.customInstance)({ url: `/ApplicationUpdate/versions/latest-available`, method: 'PUT'
|
|
143
|
+
return (0, instance_1.customInstance)({ url: `/v1/ApplicationUpdate/versions/latest-available`, method: 'PUT'
|
|
139
144
|
});
|
|
140
145
|
};
|
|
141
146
|
/**
|
|
142
147
|
* @summary Get a list of all block sets visible to the current principal.
|
|
143
148
|
*/
|
|
144
149
|
const blockSetsGetBlockSets = (params) => {
|
|
145
|
-
return (0, instance_1.customInstance)({ url: `/BlockSets`, method: 'GET',
|
|
150
|
+
return (0, instance_1.customInstance)({ url: `/v1/BlockSets`, method: 'GET',
|
|
146
151
|
params
|
|
147
152
|
});
|
|
148
153
|
};
|
|
@@ -150,31 +155,30 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
150
155
|
* @summary Get the saved Python source code for a deployed custom block set.
|
|
151
156
|
*/
|
|
152
157
|
const blockSetsGetDeployedBlockCode = (blockSetName) => {
|
|
153
|
-
return (0, instance_1.customInstance)({ url: `/BlockSets/deployed-blocks/${blockSetName}/code`, method: 'GET'
|
|
158
|
+
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/deployed-blocks/${blockSetName}/code`, method: 'GET'
|
|
154
159
|
});
|
|
155
160
|
};
|
|
156
161
|
/**
|
|
157
162
|
* @summary Get the raw zip file for a deployed custom block set.
|
|
158
163
|
*/
|
|
159
164
|
const blockSetsGetDeployedBlockFiles = (blockSetName) => {
|
|
160
|
-
return (0, instance_1.customInstance)({ url: `/BlockSets/deployed-blocks/${blockSetName}/files`, method: 'GET'
|
|
165
|
+
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/deployed-blocks/${blockSetName}/files`, method: 'GET'
|
|
161
166
|
});
|
|
162
167
|
};
|
|
163
168
|
/**
|
|
164
169
|
* @summary Deletes an existing custom block set.
|
|
165
170
|
*/
|
|
166
171
|
const blockSetsDeleteBlockSet = (name) => {
|
|
167
|
-
return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'DELETE'
|
|
172
|
+
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'DELETE'
|
|
168
173
|
});
|
|
169
174
|
};
|
|
170
175
|
/**
|
|
171
176
|
* @summary Rename a published custom block set (all versions). Set names are
|
|
172
177
|
organizational — flows bind to block (class) names, so renaming never
|
|
173
|
-
breaks a flow. Admin-only
|
|
174
|
-
Admin policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
178
|
+
breaks a flow. Admin-only, as the class already says.
|
|
175
179
|
*/
|
|
176
180
|
const blockSetsRenameBlockSet = (name, blocksRenameBlockSetRequest) => {
|
|
177
|
-
return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'PATCH',
|
|
181
|
+
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'PATCH',
|
|
178
182
|
headers: { 'Content-Type': 'application/*+json', },
|
|
179
183
|
data: blocksRenameBlockSetRequest
|
|
180
184
|
});
|
|
@@ -187,7 +191,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
187
191
|
if (blockSetsAddBlockSetBody.file !== undefined) {
|
|
188
192
|
formData.append(`file`, blockSetsAddBlockSetBody.file);
|
|
189
193
|
}
|
|
190
|
-
return (0, instance_1.customInstance)({ url: `/BlockSets/${name}`, method: 'POST',
|
|
194
|
+
return (0, instance_1.customInstance)({ url: `/v1/BlockSets/${name}`, method: 'POST',
|
|
191
195
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
192
196
|
data: formData
|
|
193
197
|
});
|
|
@@ -196,64 +200,62 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
196
200
|
* @summary Get a list of all block interfaces
|
|
197
201
|
*/
|
|
198
202
|
const blocksGetBlocks = (params) => {
|
|
199
|
-
return (0, instance_1.customInstance)({ url: `/Blocks`, method: 'GET',
|
|
203
|
+
return (0, instance_1.customInstance)({ url: `/v1/Blocks`, method: 'GET',
|
|
200
204
|
params
|
|
201
205
|
});
|
|
202
206
|
};
|
|
203
207
|
/**
|
|
204
208
|
* @summary List the SDK's built-in blocks (smartspace.* modules) for the
|
|
205
209
|
custom-blocks draft picker. App-native blocks (LLMs etc.) are
|
|
206
|
-
excluded upstream. Admin-only
|
|
207
|
-
policy handler ignores class-level `[AuthorizeAdmin]`).
|
|
210
|
+
excluded upstream. Admin-only, above the editor floor the class carries.
|
|
208
211
|
*/
|
|
209
212
|
const blocksGetSdkBlocks = () => {
|
|
210
|
-
return (0, instance_1.customInstance)({ url: `/Blocks/sdk`, method: 'GET'
|
|
213
|
+
return (0, instance_1.customInstance)({ url: `/v1/Blocks/sdk`, method: 'GET'
|
|
211
214
|
});
|
|
212
215
|
};
|
|
213
216
|
/**
|
|
214
217
|
* @summary Get the Python source of a native/SDK block — used by the custom-blocks
|
|
215
|
-
page as a starting scaffold when creating a draft. Admin-only
|
|
216
|
-
|
|
217
|
-
class-level `[AuthorizeAdmin]`).
|
|
218
|
+
page as a starting scaffold when creating a draft. Admin-only, above the
|
|
219
|
+
editor floor the class carries.
|
|
218
220
|
*/
|
|
219
221
|
const blocksGetBlockSource = (name, version) => {
|
|
220
|
-
return (0, instance_1.customInstance)({ url: `/Blocks/${name}/${version}/source`, method: 'GET'
|
|
222
|
+
return (0, instance_1.customInstance)({ url: `/v1/Blocks/${name}/${version}/source`, method: 'GET'
|
|
221
223
|
});
|
|
222
224
|
};
|
|
223
225
|
/**
|
|
224
226
|
* @summary Manually trigger reingestion of a specific container item.
|
|
225
227
|
*/
|
|
226
228
|
const containersReingestContainerItem = (containerItemId) => {
|
|
227
|
-
return (0, instance_1.customInstance)({ url: `/Containers/items/${containerItemId}/reingest`, method: 'POST'
|
|
229
|
+
return (0, instance_1.customInstance)({ url: `/v1/Containers/items/${containerItemId}/reingest`, method: 'POST'
|
|
228
230
|
});
|
|
229
231
|
};
|
|
230
232
|
const containersPost = (containerId, params) => {
|
|
231
|
-
return (0, instance_1.customInstance)({ url: `/Containers/${containerId}/startflows`, method: 'POST',
|
|
233
|
+
return (0, instance_1.customInstance)({ url: `/v1/Containers/${containerId}/startflows`, method: 'POST',
|
|
232
234
|
params
|
|
233
235
|
});
|
|
234
236
|
};
|
|
235
237
|
const dataSetsGet = (params) => {
|
|
236
|
-
return (0, instance_1.customInstance)({ url: `/DataSets`, method: 'GET',
|
|
238
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets`, method: 'GET',
|
|
237
239
|
params
|
|
238
240
|
});
|
|
239
241
|
};
|
|
240
242
|
const dataSetsGetItem = (dataSetId, id) => {
|
|
241
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${dataSetId}/items/${id}`, method: 'GET'
|
|
243
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${dataSetId}/items/${id}`, method: 'GET'
|
|
242
244
|
});
|
|
243
245
|
};
|
|
244
246
|
const dataSetsDelete = (id) => {
|
|
245
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'DELETE'
|
|
247
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'DELETE'
|
|
246
248
|
});
|
|
247
249
|
};
|
|
248
250
|
const dataSetsGetById = (id) => {
|
|
249
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'GET'
|
|
251
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'GET'
|
|
250
252
|
});
|
|
251
253
|
};
|
|
252
254
|
/**
|
|
253
255
|
* @summary Update an existing dataset (name, description, container bindings).
|
|
254
256
|
*/
|
|
255
257
|
const dataSetsPut = (id, dataSetsUpdateDataSet) => {
|
|
256
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}`, method: 'PUT',
|
|
258
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}`, method: 'PUT',
|
|
257
259
|
headers: { 'Content-Type': 'application/*+json', },
|
|
258
260
|
data: dataSetsUpdateDataSet
|
|
259
261
|
});
|
|
@@ -262,17 +264,17 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
262
264
|
* @summary Update just the basic-info fields (name + description) on a dataset.
|
|
263
265
|
*/
|
|
264
266
|
const dataSetsPutBasicInfo = (id, dataSetsUpdateDataSetBasicInfo) => {
|
|
265
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/basicInfo`, method: 'PUT',
|
|
267
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/basicInfo`, method: 'PUT',
|
|
266
268
|
headers: { 'Content-Type': 'application/*+json', },
|
|
267
269
|
data: dataSetsUpdateDataSetBasicInfo
|
|
268
270
|
});
|
|
269
271
|
};
|
|
270
272
|
const dataSetsClear = (id) => {
|
|
271
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/clear`, method: 'POST'
|
|
273
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/clear`, method: 'POST'
|
|
272
274
|
});
|
|
273
275
|
};
|
|
274
276
|
const dataSetsGetContainerItemsRunHistory = (id, params) => {
|
|
275
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/containerItems/runHistory`, method: 'GET',
|
|
277
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/containerItems/runHistory`, method: 'GET',
|
|
276
278
|
params
|
|
277
279
|
});
|
|
278
280
|
};
|
|
@@ -280,34 +282,34 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
280
282
|
* @summary Move a dataset to a different dataspace.
|
|
281
283
|
*/
|
|
282
284
|
const dataSetsSetDataspace = (id, dataSetsSetDataspaceBody) => {
|
|
283
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/dataspace`, method: 'PUT',
|
|
285
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/dataspace`, method: 'PUT',
|
|
284
286
|
headers: { 'Content-Type': 'application/*+json', },
|
|
285
287
|
data: dataSetsSetDataspaceBody
|
|
286
288
|
});
|
|
287
289
|
};
|
|
288
290
|
const dataSetsExport = (id) => {
|
|
289
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/export`, method: 'GET'
|
|
291
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/export`, method: 'GET'
|
|
290
292
|
});
|
|
291
293
|
};
|
|
292
294
|
const dataSetsGetItems = (id, params) => {
|
|
293
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items`, method: 'GET',
|
|
295
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'GET',
|
|
294
296
|
params
|
|
295
297
|
});
|
|
296
298
|
};
|
|
297
299
|
const dataSetsAddItem = (id, dataSetItemCreateRequest) => {
|
|
298
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items`, method: 'POST',
|
|
300
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items`, method: 'POST',
|
|
299
301
|
headers: { 'Content-Type': 'application/*+json', },
|
|
300
302
|
data: dataSetItemCreateRequest
|
|
301
303
|
});
|
|
302
304
|
};
|
|
303
305
|
const dataSetsSearchItems = (id, dataSetSearchRequest) => {
|
|
304
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items/search`, method: 'POST',
|
|
306
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items/search`, method: 'POST',
|
|
305
307
|
headers: { 'Content-Type': 'application/*+json', },
|
|
306
308
|
data: dataSetSearchRequest
|
|
307
309
|
});
|
|
308
310
|
};
|
|
309
311
|
const dataSetsDeleteItem = (id, itemId) => {
|
|
310
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/items/${itemId}`, method: 'DELETE'
|
|
312
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/items/${itemId}`, method: 'DELETE'
|
|
311
313
|
});
|
|
312
314
|
};
|
|
313
315
|
/**
|
|
@@ -319,13 +321,13 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
319
321
|
* @summary Upsert a single property on a dataset.
|
|
320
322
|
*/
|
|
321
323
|
const dataSetsAddDataSetProperty = (id, dataSetsUpsertDataSetProperty) => {
|
|
322
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/properties`, method: 'POST',
|
|
324
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/properties`, method: 'POST',
|
|
323
325
|
headers: { 'Content-Type': 'application/*+json', },
|
|
324
326
|
data: dataSetsUpsertDataSetProperty
|
|
325
327
|
});
|
|
326
328
|
};
|
|
327
329
|
const dataSetsDeleteDataSetProperty = (id, name) => {
|
|
328
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/properties/${name}`, method: 'DELETE'
|
|
330
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/properties/${name}`, method: 'DELETE'
|
|
329
331
|
});
|
|
330
332
|
};
|
|
331
333
|
/**
|
|
@@ -335,7 +337,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
335
337
|
container item, including runs superseded by later re-ingests.
|
|
336
338
|
*/
|
|
337
339
|
const dataSetsGetIngestionRuns = (id, params) => {
|
|
338
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/runs`, method: 'GET',
|
|
340
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/runs`, method: 'GET',
|
|
339
341
|
params
|
|
340
342
|
});
|
|
341
343
|
};
|
|
@@ -343,7 +345,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
343
345
|
* @summary Set the per-document scoping config (mode + subject path) on a dataset.
|
|
344
346
|
*/
|
|
345
347
|
const dataSetsPutScoping = (id, dataSetsSetDataSetScoping) => {
|
|
346
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/scoping`, method: 'PUT',
|
|
348
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/scoping`, method: 'PUT',
|
|
347
349
|
headers: { 'Content-Type': 'application/*+json', },
|
|
348
350
|
data: dataSetsSetDataSetScoping
|
|
349
351
|
});
|
|
@@ -356,23 +358,35 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
356
358
|
marked row is returned. Nothing here deletes anything.
|
|
357
359
|
*/
|
|
358
360
|
const dataSetsPutSourceDeletes = (id, dataSetsSetDataSetSourceDeletes) => {
|
|
359
|
-
return (0, instance_1.customInstance)({ url: `/DataSets/${id}/sourceDeletes`, method: 'PUT',
|
|
361
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/sourceDeletes`, method: 'PUT',
|
|
360
362
|
headers: { 'Content-Type': 'application/*+json', },
|
|
361
363
|
data: dataSetsSetDataSetSourceDeletes
|
|
362
364
|
});
|
|
363
365
|
};
|
|
366
|
+
/**
|
|
367
|
+
* Answered from the dataset, so it does not depend on whether the caller also
|
|
368
|
+
administers the connectors behind those syncs. Unpaged — the set is bounded by
|
|
369
|
+
the dataset's own triggers — but `scoped` is true when connector visibility
|
|
370
|
+
hid some of them, so an empty list is never presented as "nothing feeds this".
|
|
371
|
+
* @summary The syncs feeding this dataset — the connector selections whose landed items
|
|
372
|
+
ingest into it, including any it shares with other datasets.
|
|
373
|
+
*/
|
|
374
|
+
const dataSetsGetSyncs = (id) => {
|
|
375
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSets/${id}/syncs`, method: 'GET'
|
|
376
|
+
});
|
|
377
|
+
};
|
|
364
378
|
/**
|
|
365
379
|
* @summary Fetch a list of all available data source types in SmartSpace.
|
|
366
380
|
*/
|
|
367
381
|
const dataSourceTypesGet = () => {
|
|
368
|
-
return (0, instance_1.customInstance)({ url: `/DataSourceTypes`, method: 'GET'
|
|
382
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes`, method: 'GET'
|
|
369
383
|
});
|
|
370
384
|
};
|
|
371
385
|
/**
|
|
372
386
|
* @summary Check for available containers for a specific data source type in SmartSpace.
|
|
373
387
|
*/
|
|
374
388
|
const dataSourceTypesGetAvailableContainers = (dataSourcesTestDataSourceConnection) => {
|
|
375
|
-
return (0, instance_1.customInstance)({ url: `/DataSourceTypes/AvailableContainers`, method: 'POST',
|
|
389
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/AvailableContainers`, method: 'POST',
|
|
376
390
|
headers: { 'Content-Type': 'application/*+json', },
|
|
377
391
|
data: dataSourcesTestDataSourceConnection
|
|
378
392
|
});
|
|
@@ -381,7 +395,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
381
395
|
* @summary Test the connection for a data source type in SmartSpace, verifying credentials and connectivity.
|
|
382
396
|
*/
|
|
383
397
|
const dataSourceTypesTestConnection = (dataSourcesTestDataSourceConnection) => {
|
|
384
|
-
return (0, instance_1.customInstance)({ url: `/DataSourceTypes/TestConnection`, method: 'POST',
|
|
398
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSourceTypes/TestConnection`, method: 'POST',
|
|
385
399
|
headers: { 'Content-Type': 'application/*+json', },
|
|
386
400
|
data: dataSourcesTestDataSourceConnection
|
|
387
401
|
});
|
|
@@ -390,7 +404,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
390
404
|
* @summary Retrieves a collection of data sources.
|
|
391
405
|
*/
|
|
392
406
|
const dataSourcesGet = (params) => {
|
|
393
|
-
return (0, instance_1.customInstance)({ url: `/DataSources`, method: 'GET',
|
|
407
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'GET',
|
|
394
408
|
params
|
|
395
409
|
});
|
|
396
410
|
};
|
|
@@ -398,7 +412,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
398
412
|
* @summary Create a new data source in SmartSpace, defining its properties and credentials for integration.
|
|
399
413
|
*/
|
|
400
414
|
const dataSourcesPost = (dataSourcesCreateDataSource) => {
|
|
401
|
-
return (0, instance_1.customInstance)({ url: `/DataSources`, method: 'POST',
|
|
415
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources`, method: 'POST',
|
|
402
416
|
headers: { 'Content-Type': 'application/*+json', },
|
|
403
417
|
data: dataSourcesCreateDataSource
|
|
404
418
|
});
|
|
@@ -407,14 +421,14 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
407
421
|
* @summary Remove a specific data source from SmartSpace using its unique ID.
|
|
408
422
|
*/
|
|
409
423
|
const dataSourcesDelete = (dataSourceId) => {
|
|
410
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}`, method: 'DELETE'
|
|
424
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'DELETE'
|
|
411
425
|
});
|
|
412
426
|
};
|
|
413
427
|
/**
|
|
414
428
|
* @summary Update the configuration of an existing data source in SmartSpace by specifying its ID.
|
|
415
429
|
*/
|
|
416
430
|
const dataSourcesPut = (dataSourceId, dataSourcesUpdateDataSource) => {
|
|
417
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}`, method: 'PUT',
|
|
431
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}`, method: 'PUT',
|
|
418
432
|
headers: { 'Content-Type': 'application/*+json', },
|
|
419
433
|
data: dataSourcesUpdateDataSource
|
|
420
434
|
});
|
|
@@ -423,7 +437,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
423
437
|
* @summary Retrieve container information associated with a specific data source in SmartSpace, using it's ID.
|
|
424
438
|
*/
|
|
425
439
|
const dataSourcesContainers = (dataSourceId, params) => {
|
|
426
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers`, method: 'GET',
|
|
440
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers`, method: 'GET',
|
|
427
441
|
params
|
|
428
442
|
});
|
|
429
443
|
};
|
|
@@ -432,18 +446,19 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
432
446
|
a total record count without persisting any state.
|
|
433
447
|
*/
|
|
434
448
|
const dataSourcesPreviewContainer = (dataSourceId, dataSourcesPreviewContainerRequest) => {
|
|
435
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
|
|
449
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/preview`, method: 'POST',
|
|
436
450
|
headers: { 'Content-Type': 'application/*+json', },
|
|
437
451
|
data: dataSourcesPreviewContainerRequest
|
|
438
452
|
});
|
|
439
453
|
};
|
|
440
454
|
/**
|
|
441
455
|
* @summary Returns a JSON Schema object for the container's properties, used to drive the filter editor UI.
|
|
442
|
-
Schema shape: { type: "object", properties: { [name]: { type, title, enum? } } }
|
|
456
|
+
Schema shape: { type: "object", properties: { [name]: { type, title, enum?, format? } } }
|
|
457
|
+
format "date"/"date-time" marks date-valued properties (their filter values remain epoch-millisecond strings).
|
|
443
458
|
containerPath is a query param (not a route segment) to avoid ASP.NET routing splits on paths containing '/'.
|
|
444
459
|
*/
|
|
445
460
|
const dataSourcesContainerSchema = (dataSourceId, params) => {
|
|
446
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
|
|
461
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/containers/properties`, method: 'GET',
|
|
447
462
|
params
|
|
448
463
|
});
|
|
449
464
|
};
|
|
@@ -451,7 +466,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
451
466
|
* @summary Update the credentials for an existing data source in SmartSpace by specifying its ID.
|
|
452
467
|
*/
|
|
453
468
|
const dataSourcesUpdateCredentials = (dataSourceId, dataSourcesUpdateDataSourceCredentials) => {
|
|
454
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/credentials`, method: 'PUT',
|
|
469
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/credentials`, method: 'PUT',
|
|
455
470
|
headers: { 'Content-Type': 'application/*+json', },
|
|
456
471
|
data: dataSourcesUpdateDataSourceCredentials
|
|
457
472
|
});
|
|
@@ -462,23 +477,23 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
462
477
|
are safe — concurrent syncs of the same source collapse to one run.
|
|
463
478
|
*/
|
|
464
479
|
const dataSourcesRequestSync = (dataSourceId) => {
|
|
465
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${dataSourceId}/sync`, method: 'POST'
|
|
480
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${dataSourceId}/sync`, method: 'POST'
|
|
466
481
|
});
|
|
467
482
|
};
|
|
468
483
|
const dataSourcesGetAdminUsers = (id) => {
|
|
469
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins`, method: 'GET'
|
|
484
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins`, method: 'GET'
|
|
470
485
|
});
|
|
471
486
|
};
|
|
472
487
|
const dataSourcesDeleteAdmin = (id, userId) => {
|
|
473
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'DELETE'
|
|
488
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'DELETE'
|
|
474
489
|
});
|
|
475
490
|
};
|
|
476
491
|
const dataSourcesAddAdmin = (id, userId) => {
|
|
477
|
-
return (0, instance_1.customInstance)({ url: `/DataSources/${id}/admins/${userId}`, method: 'PUT'
|
|
492
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSources/${id}/admins/${userId}`, method: 'PUT'
|
|
478
493
|
});
|
|
479
494
|
};
|
|
480
495
|
const dataSpacesGet = (params) => {
|
|
481
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'GET',
|
|
496
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'GET',
|
|
482
497
|
params
|
|
483
498
|
});
|
|
484
499
|
};
|
|
@@ -486,42 +501,42 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
486
501
|
* @summary Create a new dataspace.
|
|
487
502
|
*/
|
|
488
503
|
const dataSpacesPost = (dataSpacesCreateDataSpace) => {
|
|
489
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces`, method: 'POST',
|
|
504
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces`, method: 'POST',
|
|
490
505
|
headers: { 'Content-Type': 'application/*+json', },
|
|
491
506
|
data: dataSpacesCreateDataSpace
|
|
492
507
|
});
|
|
493
508
|
};
|
|
494
509
|
const dataSpacesDelete = (id) => {
|
|
495
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'DELETE'
|
|
510
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'DELETE'
|
|
496
511
|
});
|
|
497
512
|
};
|
|
498
513
|
const dataSpacesGetById = (id) => {
|
|
499
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'GET'
|
|
514
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'GET'
|
|
500
515
|
});
|
|
501
516
|
};
|
|
502
517
|
/**
|
|
503
518
|
* @summary Update an existing dataspace.
|
|
504
519
|
*/
|
|
505
520
|
const dataSpacesPut = (id, dataSpacesUpdateDataSpace) => {
|
|
506
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}`, method: 'PUT',
|
|
521
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}`, method: 'PUT',
|
|
507
522
|
headers: { 'Content-Type': 'application/*+json', },
|
|
508
523
|
data: dataSpacesUpdateDataSpace
|
|
509
524
|
});
|
|
510
525
|
};
|
|
511
526
|
const dataSpacesGetAdminUsers = (id) => {
|
|
512
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins`, method: 'GET'
|
|
527
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins`, method: 'GET'
|
|
513
528
|
});
|
|
514
529
|
};
|
|
515
530
|
const dataSpacesDeleteAdmin = (id, userId) => {
|
|
516
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
|
|
531
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'DELETE'
|
|
517
532
|
});
|
|
518
533
|
};
|
|
519
534
|
const dataSpacesAddAdmin = (id, userId) => {
|
|
520
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
535
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
521
536
|
});
|
|
522
537
|
};
|
|
523
538
|
const dataSpacesGetDataSets = (id, params) => {
|
|
524
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'GET',
|
|
539
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'GET',
|
|
525
540
|
params
|
|
526
541
|
});
|
|
527
542
|
};
|
|
@@ -529,17 +544,26 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
529
544
|
* @summary Create a new dataset inside this dataspace.
|
|
530
545
|
*/
|
|
531
546
|
const dataSpacesPostDataset = (id, dataSetsCreateDataSet) => {
|
|
532
|
-
return (0, instance_1.customInstance)({ url: `/DataSpaces/${id}/datasets`, method: 'POST',
|
|
547
|
+
return (0, instance_1.customInstance)({ url: `/v1/DataSpaces/${id}/datasets`, method: 'POST',
|
|
533
548
|
headers: { 'Content-Type': 'application/*+json', },
|
|
534
549
|
data: dataSetsCreateDataSet
|
|
535
550
|
});
|
|
536
551
|
};
|
|
537
552
|
const debugInvoke = (connectionId, method, debugInvokeBody) => {
|
|
538
|
-
return (0, instance_1.customInstance)({ url: `/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
|
|
553
|
+
return (0, instance_1.customInstance)({ url: `/v1/Debug/connections/${connectionId}/invoke/${method}`, method: 'POST',
|
|
539
554
|
headers: { 'Content-Type': 'application/*+json', },
|
|
540
555
|
data: debugInvokeBody
|
|
541
556
|
});
|
|
542
557
|
};
|
|
558
|
+
/**
|
|
559
|
+
* @summary The ingest pipeline, install-wide: depth and oldest-message age of the
|
|
560
|
+
ingest and poison queues, and how many consumer replicas have a live
|
|
561
|
+
heartbeat. Nothing reads a message body.
|
|
562
|
+
*/
|
|
563
|
+
const diagnosticsGetIngestQueue = () => {
|
|
564
|
+
return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/ingest-queue`, method: 'GET'
|
|
565
|
+
});
|
|
566
|
+
};
|
|
543
567
|
/**
|
|
544
568
|
* @summary Mongo index health for the flow-runs store: planned-vs-existing
|
|
545
569
|
indexes per collection, the latest index-ensure outcome per index
|
|
@@ -547,28 +571,28 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
547
571
|
transformations with their progress (currentOp).
|
|
548
572
|
*/
|
|
549
573
|
const diagnosticsGetMongoIndexes = () => {
|
|
550
|
-
return (0, instance_1.customInstance)({ url: `/Diagnostics/mongo-indexes`, method: 'GET'
|
|
574
|
+
return (0, instance_1.customInstance)({ url: `/v1/Diagnostics/mongo-indexes`, method: 'GET'
|
|
551
575
|
});
|
|
552
576
|
};
|
|
553
577
|
/**
|
|
554
578
|
* @summary List the current user's drafts (without parsed interfaces — load detail to get those).
|
|
555
579
|
*/
|
|
556
580
|
const draftsListDrafts = () => {
|
|
557
|
-
return (0, instance_1.customInstance)({ url: `/Drafts`, method: 'GET'
|
|
581
|
+
return (0, instance_1.customInstance)({ url: `/v1/Drafts`, method: 'GET'
|
|
558
582
|
});
|
|
559
583
|
};
|
|
560
584
|
/**
|
|
561
585
|
* @summary Delete a draft (row + blob). Does not touch any published Custom of the same name.
|
|
562
586
|
*/
|
|
563
587
|
const draftsDeleteDraft = (name) => {
|
|
564
|
-
return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'DELETE'
|
|
588
|
+
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'DELETE'
|
|
565
589
|
});
|
|
566
590
|
};
|
|
567
591
|
/**
|
|
568
592
|
* @summary Fetch a specific draft (source text, parsed interfaces, RowVersion, IsActive).
|
|
569
593
|
*/
|
|
570
594
|
const draftsGetDraft = (name) => {
|
|
571
|
-
return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'GET'
|
|
595
|
+
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'GET'
|
|
572
596
|
});
|
|
573
597
|
};
|
|
574
598
|
/**
|
|
@@ -576,7 +600,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
576
600
|
overrides the published Custom at the same `(name, version)` for them only.
|
|
577
601
|
*/
|
|
578
602
|
const draftsToggleDraft = (name, draftsToggleDraftRequest) => {
|
|
579
|
-
return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'PATCH',
|
|
603
|
+
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'PATCH',
|
|
580
604
|
headers: { 'Content-Type': 'application/*+json', },
|
|
581
605
|
data: draftsToggleDraftRequest
|
|
582
606
|
});
|
|
@@ -587,7 +611,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
587
611
|
current `RowVersion` if another session has saved in the interim.
|
|
588
612
|
*/
|
|
589
613
|
const draftsSaveDraft = (name, draftsSaveDraftRequest) => {
|
|
590
|
-
return (0, instance_1.customInstance)({ url: `/Drafts/${name}`, method: 'POST',
|
|
614
|
+
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}`, method: 'POST',
|
|
591
615
|
headers: { 'Content-Type': 'application/*+json', },
|
|
592
616
|
data: draftsSaveDraftRequest
|
|
593
617
|
});
|
|
@@ -599,7 +623,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
599
623
|
replace it (a new row supersedes the old per newest-wins resolution).
|
|
600
624
|
*/
|
|
601
625
|
const draftsPublishDraft = (name, draftsPublishDraftRequest) => {
|
|
602
|
-
return (0, instance_1.customInstance)({ url: `/Drafts/${name}/publish`, method: 'POST',
|
|
626
|
+
return (0, instance_1.customInstance)({ url: `/v1/Drafts/${name}/publish`, method: 'POST',
|
|
603
627
|
headers: { 'Content-Type': 'application/*+json', },
|
|
604
628
|
data: draftsPublishDraftRequest
|
|
605
629
|
});
|
|
@@ -630,7 +654,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
630
654
|
if (filesUploadFilesBody.workspaceId !== undefined) {
|
|
631
655
|
formData.append(`workspaceId`, filesUploadFilesBody.workspaceId);
|
|
632
656
|
}
|
|
633
|
-
return (0, instance_1.customInstance)({ url: `/Files`, method: 'POST',
|
|
657
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files`, method: 'POST',
|
|
634
658
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
635
659
|
data: formData
|
|
636
660
|
});
|
|
@@ -639,7 +663,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
639
663
|
* @summary Get details for a file previously uploaded.
|
|
640
664
|
*/
|
|
641
665
|
const filesGetFileInfo = (id, params) => {
|
|
642
|
-
return (0, instance_1.customInstance)({ url: `/Files/${id}`, method: 'GET',
|
|
666
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}`, method: 'GET',
|
|
643
667
|
params
|
|
644
668
|
});
|
|
645
669
|
};
|
|
@@ -647,7 +671,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
647
671
|
* @summary Download a previously uploaded file.
|
|
648
672
|
*/
|
|
649
673
|
const filesDownloadFile = (id, params) => {
|
|
650
|
-
return (0, instance_1.customInstance)({ url: `/Files/${id}/download`, method: 'GET',
|
|
674
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/download`, method: 'GET',
|
|
651
675
|
params
|
|
652
676
|
});
|
|
653
677
|
};
|
|
@@ -655,7 +679,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
655
679
|
* @summary Get URI of a previously uploaded file.
|
|
656
680
|
*/
|
|
657
681
|
const filesGetUri = (id, params) => {
|
|
658
|
-
return (0, instance_1.customInstance)({ url: `/Files/${id}/uri`, method: 'GET',
|
|
682
|
+
return (0, instance_1.customInstance)({ url: `/v1/Files/${id}/uri`, method: 'GET',
|
|
659
683
|
params
|
|
660
684
|
});
|
|
661
685
|
};
|
|
@@ -663,32 +687,25 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
663
687
|
* @summary Creates a new flow run with the specified parameters
|
|
664
688
|
*/
|
|
665
689
|
const flowRunsCreateFlowRun = (configApiRunFlowRequest, params) => {
|
|
666
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns`, method: 'POST',
|
|
690
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns`, method: 'POST',
|
|
667
691
|
headers: { 'Content-Type': 'application/*+json', },
|
|
668
692
|
data: configApiRunFlowRequest,
|
|
669
693
|
params
|
|
670
694
|
});
|
|
671
695
|
};
|
|
672
|
-
/**
|
|
673
|
-
* @summary Searches for flow runs based on search term
|
|
674
|
-
*/
|
|
675
|
-
const flowRunsSearchFlowRuns = (params) => {
|
|
676
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/search`, method: 'GET',
|
|
677
|
-
params
|
|
678
|
-
});
|
|
679
|
-
};
|
|
680
696
|
/**
|
|
681
697
|
* @summary Gets a singile file if it was used as an input to the flow run
|
|
682
698
|
*/
|
|
683
699
|
const flowRunsGetFileFromFlowRunId = (flowRunId) => {
|
|
684
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${flowRunId}/file`, method: 'GET'
|
|
700
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${flowRunId}/file`, method: 'GET'
|
|
685
701
|
});
|
|
686
702
|
};
|
|
687
703
|
/**
|
|
688
704
|
* @summary Gets a flow run including its context
|
|
689
705
|
*/
|
|
690
|
-
const flowRunsGetFlowRun = (id) => {
|
|
691
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}`, method: 'GET'
|
|
706
|
+
const flowRunsGetFlowRun = (id, params) => {
|
|
707
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}`, method: 'GET',
|
|
708
|
+
params
|
|
692
709
|
});
|
|
693
710
|
};
|
|
694
711
|
/**
|
|
@@ -698,7 +715,42 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
698
715
|
seconds. Cancelled runs carry cancelledAt in their basic info.
|
|
699
716
|
*/
|
|
700
717
|
const flowRunsCancelFlowRun = (id) => {
|
|
701
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/cancel`, method: 'POST'
|
|
718
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/cancel`, method: 'POST'
|
|
719
|
+
});
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* Frames are unnamed SSE `data:` events, each carrying a `kind`:
|
|
723
|
+
`snapshot` (rows + total; the AI side sends it first), `events`
|
|
724
|
+
(rows that just changed, same shape), `lagged` and `gap` (both
|
|
725
|
+
mean re-read; the stream stays attached), and `unavailable` (the
|
|
726
|
+
feature is not enabled on the install; sent once, then the stream ends —
|
|
727
|
+
do not retry).
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
The client tracks no offset. The AI side attaches to its change stream
|
|
731
|
+
before it reads the log, so rows written between the two arrive twice
|
|
732
|
+
rather than not at all, and where it could not, or lost rows later, it
|
|
733
|
+
sends `gap` or `lagged`. A reconnect simply starts with a fresh
|
|
734
|
+
snapshot. This API relays that contract; it does not enforce it.
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
The AI side sends rows with structure and timings and with value payloads
|
|
738
|
+
left out — expand a step through M:SmartSpace.App.ConfigApi.Controllers.FlowRunsController.GetStepExecution(System.Guid,System.Guid) for those —
|
|
739
|
+
and sends only persisted state, which does not include LLM token deltas.
|
|
740
|
+
Nothing here strips a payload: a row is relayed as it arrives.
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
This endpoint does not return 501. The AI side answers 501 when the
|
|
744
|
+
feature is off, and that arrives here as the `unavailable` frame on a
|
|
745
|
+
200. Surfacing it as an exception instead would reach the caller as a
|
|
746
|
+
generic 500, which loses the one thing it needs to know: that retrying
|
|
747
|
+
will never help.
|
|
748
|
+
|
|
749
|
+
* @summary Live run events for a run: a snapshot of the run so far, then the tail,
|
|
750
|
+
on one connection.
|
|
751
|
+
*/
|
|
752
|
+
const flowRunsStreamRunEvents = (id) => {
|
|
753
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/events/stream`, method: 'GET'
|
|
702
754
|
});
|
|
703
755
|
};
|
|
704
756
|
const flowRunsAddFileIdFiles = (id, flowRunsAddFileIdFilesBody) => {
|
|
@@ -706,47 +758,125 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
706
758
|
if (flowRunsAddFileIdFilesBody.file !== undefined) {
|
|
707
759
|
formData.append(`file`, flowRunsAddFileIdFilesBody.file);
|
|
708
760
|
}
|
|
709
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/files`, method: 'POST',
|
|
761
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files`, method: 'POST',
|
|
710
762
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
711
763
|
data: formData
|
|
712
764
|
});
|
|
713
765
|
};
|
|
714
766
|
const flowRunsAddFileIdFilesExisting = (id, filesAddMessageFileFromBlobUri) => {
|
|
715
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/files/existing`, method: 'POST',
|
|
767
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/files/existing`, method: 'POST',
|
|
716
768
|
headers: { 'Content-Type': 'application/*+json', },
|
|
717
769
|
data: filesAddMessageFileFromBlobUri
|
|
718
770
|
});
|
|
719
771
|
};
|
|
772
|
+
/**
|
|
773
|
+
* @summary Lists a run's function executions, newest first.
|
|
774
|
+
*/
|
|
720
775
|
const flowRunsGetStepExecutions = (id, params) => {
|
|
721
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/functionexecutions`, method: 'GET',
|
|
776
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions`, method: 'GET',
|
|
722
777
|
params
|
|
723
778
|
});
|
|
724
779
|
};
|
|
780
|
+
/**
|
|
781
|
+
* Inline values are returned as stored. Values spilled to blob storage come
|
|
782
|
+
back by reference (`isBlob`, `sizeBytes`, `data` null) and are
|
|
783
|
+
fetched with M:SmartSpace.App.ConfigApi.Controllers.FlowRunsController.GetFlowValueDownload(System.Guid,System.Guid); they are never downloaded on
|
|
784
|
+
this read, so expanding a large step costs the same as a small one.
|
|
785
|
+
* @summary Gets one execution of a run with its input/output values — the detail read
|
|
786
|
+
behind `functionexecutions?includeValues=false`.
|
|
787
|
+
*/
|
|
788
|
+
const flowRunsGetStepExecution = (id, executionId) => {
|
|
789
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/functionexecutions/${executionId}`, method: 'GET'
|
|
790
|
+
});
|
|
791
|
+
};
|
|
792
|
+
/**
|
|
793
|
+
* Read from SQL only. Gated like the run read: 404 for a run the caller may not see.
|
|
794
|
+
Cost sums the priced calls; unpricedCalls says how many calls it leaves out.
|
|
795
|
+
* @summary A run's invocations, oldest first: on a chat thread one per message, on an
|
|
796
|
+
ingestion run one. Each carries its model calls summed by model and round.
|
|
797
|
+
*/
|
|
798
|
+
const flowRunsGetInvocations = (id) => {
|
|
799
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/invocations`, method: 'GET'
|
|
800
|
+
});
|
|
801
|
+
};
|
|
802
|
+
/**
|
|
803
|
+
* Redirects to short-lived direct-from-storage link, so the payload never
|
|
804
|
+
transits this service — the same pattern as file downloads. Only values the
|
|
805
|
+
per-execution read returned by reference resolve here.
|
|
806
|
+
* @summary Downloads a blob-spilled value's payload.
|
|
807
|
+
*/
|
|
808
|
+
const flowRunsGetFlowValueDownload = (id, valueId) => {
|
|
809
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/values/${valueId}/download`, method: 'GET'
|
|
810
|
+
});
|
|
811
|
+
};
|
|
725
812
|
const flowRunsGetVariables = (id) => {
|
|
726
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables`, method: 'GET'
|
|
813
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables`, method: 'GET'
|
|
727
814
|
});
|
|
728
815
|
};
|
|
729
816
|
const flowRunsSetVariable = (id, variableName, flowRunsSetVariableBody) => {
|
|
730
|
-
return (0, instance_1.customInstance)({ url: `/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
|
|
817
|
+
return (0, instance_1.customInstance)({ url: `/v1/FlowRuns/${id}/variables/${variableName}`, method: 'PUT',
|
|
731
818
|
headers: { 'Content-Type': 'application/*+json', },
|
|
732
819
|
data: flowRunsSetVariableBody
|
|
733
820
|
});
|
|
734
821
|
};
|
|
735
822
|
const flowsGet = (id) => {
|
|
736
|
-
return (0, instance_1.customInstance)({ url: `/Flows/${id}`, method: 'GET'
|
|
823
|
+
return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}`, method: 'GET'
|
|
737
824
|
});
|
|
738
825
|
};
|
|
739
826
|
const flowsSetActiveFlowDefinition = (id, flowsFlowDefinition) => {
|
|
740
|
-
return (0, instance_1.customInstance)({ url: `/Flows/${id}/active`, method: 'PUT',
|
|
827
|
+
return (0, instance_1.customInstance)({ url: `/v1/Flows/${id}/active`, method: 'PUT',
|
|
741
828
|
headers: { 'Content-Type': 'application/*+json', },
|
|
742
829
|
data: flowsFlowDefinition
|
|
743
830
|
});
|
|
744
831
|
};
|
|
832
|
+
/**
|
|
833
|
+
* @summary Returns one entry per known key, each carrying both the currently-configured value
|
|
834
|
+
(what's set in mgmt-api now) and the active value (what the install last confirmed it
|
|
835
|
+
was running with). The frontend diffs these to show pending changes.
|
|
836
|
+
*/
|
|
837
|
+
const installParametersList = () => {
|
|
838
|
+
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters`, method: 'GET'
|
|
839
|
+
});
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* @summary Returns the closed registry of known install-parameter keys. Each entry describes the
|
|
843
|
+
key's type, default, and human-readable description so the frontend can render a typed
|
|
844
|
+
input per key.
|
|
845
|
+
*/
|
|
846
|
+
const installParametersGetRegistry = () => {
|
|
847
|
+
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/registry`, method: 'GET'
|
|
848
|
+
});
|
|
849
|
+
};
|
|
850
|
+
/**
|
|
851
|
+
* @summary Clears the override for a parameter so it falls back to the registry's default on the
|
|
852
|
+
next install update. Idempotent — deleting an already-absent key returns 204.
|
|
853
|
+
*/
|
|
854
|
+
const installParametersDelete = (key) => {
|
|
855
|
+
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/${key}`, method: 'DELETE'
|
|
856
|
+
});
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* @summary Returns a single parameter by key. Returns 404 if the key is known but has no override set.
|
|
860
|
+
*/
|
|
861
|
+
const installParametersGet = (key) => {
|
|
862
|
+
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/${key}`, method: 'GET'
|
|
863
|
+
});
|
|
864
|
+
};
|
|
865
|
+
/**
|
|
866
|
+
* @summary Upserts the override value for a parameter. The management API type-checks it against the
|
|
867
|
+
registry (a boolean key requires a JSON boolean value, etc.); this route forwards it unchanged.
|
|
868
|
+
*/
|
|
869
|
+
const installParametersUpsert = (key, coreManagementUpsertInstallParameterModel) => {
|
|
870
|
+
return (0, instance_1.customInstance)({ url: `/v1/InstallParameters/${key}`, method: 'PUT',
|
|
871
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
872
|
+
data: coreManagementUpsertInstallParameterModel
|
|
873
|
+
});
|
|
874
|
+
};
|
|
745
875
|
/**
|
|
746
876
|
* @summary Retrieves a list of model deployment providers.
|
|
747
877
|
*/
|
|
748
878
|
const modelProvidersGetProviders = (params) => {
|
|
749
|
-
return (0, instance_1.customInstance)({ url: `/ModelProviders`, method: 'GET',
|
|
879
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'GET',
|
|
750
880
|
params
|
|
751
881
|
});
|
|
752
882
|
};
|
|
@@ -754,7 +884,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
754
884
|
* @summary Creates a new model deployment provider.
|
|
755
885
|
*/
|
|
756
886
|
const modelProvidersCreateProvider = (aiCreateModelDeploymentProvider) => {
|
|
757
|
-
return (0, instance_1.customInstance)({ url: `/ModelProviders`, method: 'POST',
|
|
887
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders`, method: 'POST',
|
|
758
888
|
headers: { 'Content-Type': 'application/*+json', },
|
|
759
889
|
data: aiCreateModelDeploymentProvider
|
|
760
890
|
});
|
|
@@ -763,25 +893,37 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
763
893
|
* @summary Retrieves the deployable models for a model provider
|
|
764
894
|
*/
|
|
765
895
|
const modelProvidersGetModelProviderTypes = () => {
|
|
766
|
-
return (0, instance_1.customInstance)({ url: `/ModelProviders/types`, method: 'GET'
|
|
896
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types`, method: 'GET'
|
|
767
897
|
});
|
|
768
898
|
};
|
|
769
899
|
/**
|
|
770
900
|
* @summary Retrieves the deployable models for a model provider
|
|
771
901
|
*/
|
|
772
902
|
const modelProvidersGetModelProviderTypeDeployableModels = (providerType) => {
|
|
773
|
-
return (0, instance_1.customInstance)({ url: `/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
|
|
903
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types/${providerType}/deployablemodels`, method: 'GET'
|
|
904
|
+
});
|
|
905
|
+
};
|
|
906
|
+
/**
|
|
907
|
+
* @summary Retrieves the deployable models for a model provider type, further filtered to only the
|
|
908
|
+
models actually available from the given credentials — used by the "Load Models" button
|
|
909
|
+
in the Admin UI before a provider is saved. Credentials travel in the body rather than
|
|
910
|
+
the query string since they may not be persisted anywhere yet.
|
|
911
|
+
*/
|
|
912
|
+
const modelProvidersLoadProviderModels = (providerType, modelLoadProviderModelsRequest) => {
|
|
913
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/types/${providerType}/loadmodels`, method: 'POST',
|
|
914
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
915
|
+
data: modelLoadProviderModelsRequest
|
|
774
916
|
});
|
|
775
917
|
};
|
|
776
918
|
const modelProvidersGetProvider = (id) => {
|
|
777
|
-
return (0, instance_1.customInstance)({ url: `/ModelProviders/${id}`, method: 'GET'
|
|
919
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'GET'
|
|
778
920
|
});
|
|
779
921
|
};
|
|
780
922
|
/**
|
|
781
923
|
* @summary Updates or inserts a model deployment provider.
|
|
782
924
|
*/
|
|
783
925
|
const modelProvidersUpsertProvider = (id, aiCreateModelDeploymentProvider) => {
|
|
784
|
-
return (0, instance_1.customInstance)({ url: `/ModelProviders/${id}`, method: 'PUT',
|
|
926
|
+
return (0, instance_1.customInstance)({ url: `/v1/ModelProviders/${id}`, method: 'PUT',
|
|
785
927
|
headers: { 'Content-Type': 'application/*+json', },
|
|
786
928
|
data: aiCreateModelDeploymentProvider
|
|
787
929
|
});
|
|
@@ -790,7 +932,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
790
932
|
* @summary Retrieves a list of models.
|
|
791
933
|
*/
|
|
792
934
|
const modelsGetModels = (params) => {
|
|
793
|
-
return (0, instance_1.customInstance)({ url: `/Models`, method: 'GET',
|
|
935
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'GET',
|
|
794
936
|
params
|
|
795
937
|
});
|
|
796
938
|
};
|
|
@@ -798,7 +940,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
798
940
|
* @summary Creates a new model.
|
|
799
941
|
*/
|
|
800
942
|
const modelsCreateModel = (aiCreateModel) => {
|
|
801
|
-
return (0, instance_1.customInstance)({ url: `/Models`, method: 'POST',
|
|
943
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models`, method: 'POST',
|
|
802
944
|
headers: { 'Content-Type': 'application/*+json', },
|
|
803
945
|
data: aiCreateModel
|
|
804
946
|
});
|
|
@@ -807,11 +949,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
807
949
|
* @summary Retrieves the instance-wide default model — the one pre-selected on new LLM blocks and the default workspace flow.
|
|
808
950
|
*/
|
|
809
951
|
const modelsGetDefaultModel = () => {
|
|
810
|
-
return (0, instance_1.customInstance)({ url: `/Models/default`, method: 'GET'
|
|
952
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/default`, method: 'GET'
|
|
811
953
|
});
|
|
812
954
|
};
|
|
813
955
|
const modelsGetDefaultDockerFile = (params) => {
|
|
814
|
-
return (0, instance_1.customInstance)({ url: `/Models/defaultdockerfile`, method: 'GET',
|
|
956
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/defaultdockerfile`, method: 'GET',
|
|
815
957
|
params
|
|
816
958
|
});
|
|
817
959
|
};
|
|
@@ -819,21 +961,21 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
819
961
|
* @summary Deletes a model with the specified ID.
|
|
820
962
|
*/
|
|
821
963
|
const modelsDeleteModel = (id) => {
|
|
822
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'DELETE'
|
|
964
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'DELETE'
|
|
823
965
|
});
|
|
824
966
|
};
|
|
825
967
|
/**
|
|
826
968
|
* @summary Retrieves a model by its ID.
|
|
827
969
|
*/
|
|
828
970
|
const modelsGetModel = (id) => {
|
|
829
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'GET'
|
|
971
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'GET'
|
|
830
972
|
});
|
|
831
973
|
};
|
|
832
974
|
/**
|
|
833
975
|
* @summary Updates or inserts a model with the specified ID.
|
|
834
976
|
*/
|
|
835
977
|
const modelsUpsertModel = (id, aiCreateModel) => {
|
|
836
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}`, method: 'PUT',
|
|
978
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}`, method: 'PUT',
|
|
837
979
|
headers: { 'Content-Type': 'application/*+json', },
|
|
838
980
|
data: aiCreateModel
|
|
839
981
|
});
|
|
@@ -842,35 +984,43 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
842
984
|
* @summary Clears the default flag from the specified model, leaving the instance with no default.
|
|
843
985
|
*/
|
|
844
986
|
const modelsClearDefaultModel = (id) => {
|
|
845
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}/default`, method: 'DELETE'
|
|
987
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'DELETE'
|
|
846
988
|
});
|
|
847
989
|
};
|
|
848
990
|
/**
|
|
849
991
|
* @summary Makes the specified model the instance-wide default, replacing any previous default.
|
|
850
992
|
*/
|
|
851
993
|
const modelsSetDefaultModel = (id) => {
|
|
852
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}/default`, method: 'PUT'
|
|
994
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/default`, method: 'PUT'
|
|
995
|
+
});
|
|
996
|
+
};
|
|
997
|
+
/**
|
|
998
|
+
* @summary Retrieves the deployment of a model: VM URL, docker file, provider and steps. Platform admins only; the
|
|
999
|
+
class gate lets editors reach the route and the deployment view refuses them with 403.
|
|
1000
|
+
*/
|
|
1001
|
+
const modelsGetModelDeployment = (id) => {
|
|
1002
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment`, method: 'GET'
|
|
853
1003
|
});
|
|
854
1004
|
};
|
|
855
1005
|
/**
|
|
856
1006
|
* @summary Retrieves the Docker logs for a specific deployment of a model.
|
|
857
1007
|
*/
|
|
858
1008
|
const modelsGetDeploymentDockerLogs = (id) => {
|
|
859
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}/deployment/docker-logs`, method: 'GET'
|
|
1009
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/deployment/docker-logs`, method: 'GET'
|
|
860
1010
|
});
|
|
861
1011
|
};
|
|
862
1012
|
/**
|
|
863
1013
|
* @summary Retrieves the health status of a model.
|
|
864
1014
|
*/
|
|
865
1015
|
const modelsGetModelHealth = (id) => {
|
|
866
|
-
return (0, instance_1.customInstance)({ url: `/Models/${id}/health`, method: 'GET'
|
|
1016
|
+
return (0, instance_1.customInstance)({ url: `/v1/Models/${id}/health`, method: 'GET'
|
|
867
1017
|
});
|
|
868
1018
|
};
|
|
869
1019
|
/**
|
|
870
1020
|
* @summary Retrieve notifications for user login.
|
|
871
1021
|
*/
|
|
872
1022
|
const notificationGet = (params) => {
|
|
873
|
-
return (0, instance_1.customInstance)({ url: `/Notification`, method: 'GET',
|
|
1023
|
+
return (0, instance_1.customInstance)({ url: `/v1/Notification`, method: 'GET',
|
|
874
1024
|
params
|
|
875
1025
|
});
|
|
876
1026
|
};
|
|
@@ -878,7 +1028,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
878
1028
|
* @summary Update: mark read notifications.
|
|
879
1029
|
*/
|
|
880
1030
|
const notificationPutUpdate = (notificationPutUpdateBody) => {
|
|
881
|
-
return (0, instance_1.customInstance)({ url: `/Notification/update`, method: 'PUT',
|
|
1031
|
+
return (0, instance_1.customInstance)({ url: `/v1/Notification/update`, method: 'PUT',
|
|
882
1032
|
headers: { 'Content-Type': 'application/*+json', },
|
|
883
1033
|
data: notificationPutUpdateBody
|
|
884
1034
|
});
|
|
@@ -887,21 +1037,21 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
887
1037
|
* @summary Update: mark read all notifications.
|
|
888
1038
|
*/
|
|
889
1039
|
const notificationPutUpdateall = () => {
|
|
890
|
-
return (0, instance_1.customInstance)({ url: `/Notification/updateall`, method: 'PUT'
|
|
1040
|
+
return (0, instance_1.customInstance)({ url: `/v1/Notification/updateall`, method: 'PUT'
|
|
891
1041
|
});
|
|
892
1042
|
};
|
|
893
1043
|
/**
|
|
894
1044
|
* @summary Gets the current SmartSpace plan
|
|
895
1045
|
*/
|
|
896
1046
|
const planGetSmartSpacePlan = () => {
|
|
897
|
-
return (0, instance_1.customInstance)({ url: `/Plan`, method: 'GET'
|
|
1047
|
+
return (0, instance_1.customInstance)({ url: `/v1/Plan`, method: 'GET'
|
|
898
1048
|
});
|
|
899
1049
|
};
|
|
900
1050
|
/**
|
|
901
1051
|
* @summary Update the upgrade component of the smartspace plan
|
|
902
1052
|
*/
|
|
903
1053
|
const planUpdateSmartSpaceUpgrade = (coreManagementSmartSpaceUpgradeUpdate) => {
|
|
904
|
-
return (0, instance_1.customInstance)({ url: `/Plan/upgrade`, method: 'PUT',
|
|
1054
|
+
return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade`, method: 'PUT',
|
|
905
1055
|
headers: { 'Content-Type': 'application/*+json', },
|
|
906
1056
|
data: coreManagementSmartSpaceUpgradeUpdate
|
|
907
1057
|
});
|
|
@@ -910,7 +1060,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
910
1060
|
* @summary Calculate the cost of an upgrade change
|
|
911
1061
|
*/
|
|
912
1062
|
const planCalculateSmartSpaceUpgradeCost = (coreManagementSmartSpaceUpgradeUpdate) => {
|
|
913
|
-
return (0, instance_1.customInstance)({ url: `/Plan/upgrade/calculate`, method: 'POST',
|
|
1063
|
+
return (0, instance_1.customInstance)({ url: `/v1/Plan/upgrade/calculate`, method: 'POST',
|
|
914
1064
|
headers: { 'Content-Type': 'application/*+json', },
|
|
915
1065
|
data: coreManagementSmartSpaceUpgradeUpdate
|
|
916
1066
|
});
|
|
@@ -919,22 +1069,22 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
919
1069
|
* @summary Gets usage information of the current SmartSpace plan
|
|
920
1070
|
*/
|
|
921
1071
|
const planGetSmartSpacePlanUsage = () => {
|
|
922
|
-
return (0, instance_1.customInstance)({ url: `/Plan/usage`, method: 'GET'
|
|
1072
|
+
return (0, instance_1.customInstance)({ url: `/v1/Plan/usage`, method: 'GET'
|
|
923
1073
|
});
|
|
924
1074
|
};
|
|
925
1075
|
/**
|
|
926
|
-
* @summary Gets the number of
|
|
1076
|
+
* @summary Gets the number of flow invocations by a specified duration
|
|
927
1077
|
*/
|
|
928
1078
|
const reportingGetRequests = (duration, params) => {
|
|
929
|
-
return (0, instance_1.customInstance)({ url: `/Reporting/Requests/by/${duration}`, method: 'GET',
|
|
1079
|
+
return (0, instance_1.customInstance)({ url: `/v1/Reporting/Requests/by/${duration}`, method: 'GET',
|
|
930
1080
|
params
|
|
931
1081
|
});
|
|
932
1082
|
};
|
|
933
1083
|
/**
|
|
934
|
-
* @summary Gets the
|
|
1084
|
+
* @summary Gets the tokens used by a specified duration, with cost where the model call was priced and the count of calls that were not
|
|
935
1085
|
*/
|
|
936
1086
|
const reportingGetTokens = (duration, params) => {
|
|
937
|
-
return (0, instance_1.customInstance)({ url: `/Reporting/Tokens/by/${duration}`, method: 'GET',
|
|
1087
|
+
return (0, instance_1.customInstance)({ url: `/v1/Reporting/Tokens/by/${duration}`, method: 'GET',
|
|
938
1088
|
params
|
|
939
1089
|
});
|
|
940
1090
|
};
|
|
@@ -943,10 +1093,28 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
943
1093
|
role, with their permission flags and last recorded activity.
|
|
944
1094
|
*/
|
|
945
1095
|
const servicePrincipalsGetServicePrincipals = (params) => {
|
|
946
|
-
return (0, instance_1.customInstance)({ url: `/ServicePrincipals`, method: 'GET',
|
|
1096
|
+
return (0, instance_1.customInstance)({ url: `/v1/ServicePrincipals`, method: 'GET',
|
|
947
1097
|
params
|
|
948
1098
|
});
|
|
949
1099
|
};
|
|
1100
|
+
/**
|
|
1101
|
+
* @summary Whether speech-to-text (composer dictation) is available on this install, and how the browser
|
|
1102
|
+
should connect. The UI decides whether to render the microphone from this, so it answers for
|
|
1103
|
+
the install rather than failing: an install without speech reports enabled = false.
|
|
1104
|
+
*/
|
|
1105
|
+
const speechGetConfig = () => {
|
|
1106
|
+
return (0, instance_1.customInstance)({ url: `/v1/Speech/config`, method: 'GET'
|
|
1107
|
+
});
|
|
1108
|
+
};
|
|
1109
|
+
/**
|
|
1110
|
+
* @summary A token from this install's Speech account token service, which the browser passes straight
|
|
1111
|
+
to Azure AI Speech to stream audio for recognition. Roughly ten minutes of life, scoped to
|
|
1112
|
+
recognition on this one resource in one region.
|
|
1113
|
+
*/
|
|
1114
|
+
const speechGetToken = () => {
|
|
1115
|
+
return (0, instance_1.customInstance)({ url: `/v1/Speech/token`, method: 'GET'
|
|
1116
|
+
});
|
|
1117
|
+
};
|
|
950
1118
|
/**
|
|
951
1119
|
* @summary List configured syncs. status matches the data
|
|
952
1120
|
source's latest completed sync (e.g. Success / Failure), or "never"
|
|
@@ -954,7 +1122,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
954
1122
|
name | connector | lastSync (default: path).
|
|
955
1123
|
*/
|
|
956
1124
|
const syncsGet = (params) => {
|
|
957
|
-
return (0, instance_1.customInstance)({ url: `/Syncs`, method: 'GET',
|
|
1125
|
+
return (0, instance_1.customInstance)({ url: `/v1/Syncs`, method: 'GET',
|
|
958
1126
|
params
|
|
959
1127
|
});
|
|
960
1128
|
};
|
|
@@ -965,7 +1133,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
965
1133
|
isSyncing flag. Literal route wins over the {containerId} template.
|
|
966
1134
|
*/
|
|
967
1135
|
const syncsGetQueue = () => {
|
|
968
|
-
return (0, instance_1.customInstance)({ url: `/Syncs/queue`, method: 'GET'
|
|
1136
|
+
return (0, instance_1.customInstance)({ url: `/v1/Syncs/queue`, method: 'GET'
|
|
969
1137
|
});
|
|
970
1138
|
};
|
|
971
1139
|
/**
|
|
@@ -976,11 +1144,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
976
1144
|
blobs are not cleaned up here.
|
|
977
1145
|
*/
|
|
978
1146
|
const syncsDelete = (containerId) => {
|
|
979
|
-
return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'DELETE'
|
|
1147
|
+
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'DELETE'
|
|
980
1148
|
});
|
|
981
1149
|
};
|
|
982
1150
|
const syncsGetById = (containerId) => {
|
|
983
|
-
return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}`, method: 'GET'
|
|
1151
|
+
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}`, method: 'GET'
|
|
984
1152
|
});
|
|
985
1153
|
};
|
|
986
1154
|
/**
|
|
@@ -988,7 +1156,18 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
988
1156
|
container-items endpoint.
|
|
989
1157
|
*/
|
|
990
1158
|
const syncsGetItems = (containerId, params) => {
|
|
991
|
-
return (0, instance_1.customInstance)({ url: `/Syncs/${containerId}/items`, method: 'GET',
|
|
1159
|
+
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/items`, method: 'GET',
|
|
1160
|
+
params
|
|
1161
|
+
});
|
|
1162
|
+
};
|
|
1163
|
+
/**
|
|
1164
|
+
* @summary The sync's dead-letter list: the ingestion run records the AI API's
|
|
1165
|
+
consumer gave up on, newest first, each with the reason. The poison queue
|
|
1166
|
+
holds the replay copies and is not read here. 502 when the install's AI
|
|
1167
|
+
API predates the route, rather than an opaque 500.
|
|
1168
|
+
*/
|
|
1169
|
+
const syncsGetPoisoned = (containerId, params) => {
|
|
1170
|
+
return (0, instance_1.customInstance)({ url: `/v1/Syncs/${containerId}/poisoned`, method: 'GET',
|
|
992
1171
|
params
|
|
993
1172
|
});
|
|
994
1173
|
};
|
|
@@ -996,7 +1175,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
996
1175
|
* @summary Gets Tenant Id
|
|
997
1176
|
*/
|
|
998
1177
|
const tenantIdGetResult = () => {
|
|
999
|
-
return (0, instance_1.customInstance)({ url: `/TenantId`, method: 'GET'
|
|
1178
|
+
return (0, instance_1.customInstance)({ url: `/v1/TenantId`, method: 'GET'
|
|
1000
1179
|
});
|
|
1001
1180
|
};
|
|
1002
1181
|
/**
|
|
@@ -1004,23 +1183,23 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1004
1183
|
with optional search and pagination controls take and skip.
|
|
1005
1184
|
*/
|
|
1006
1185
|
const usersGetUsers = (params) => {
|
|
1007
|
-
return (0, instance_1.customInstance)({ url: `/Users`, method: 'GET',
|
|
1186
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users`, method: 'GET',
|
|
1008
1187
|
params
|
|
1009
1188
|
});
|
|
1010
1189
|
};
|
|
1011
1190
|
const usersGetUsersByFilter = (permissions) => {
|
|
1012
|
-
return (0, instance_1.customInstance)({ url: `/Users/[permissions=${permissions}]`, method: 'GET'
|
|
1191
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/[permissions=${permissions}]`, method: 'GET'
|
|
1013
1192
|
});
|
|
1014
1193
|
};
|
|
1015
1194
|
const usersGetMyPermissions = () => {
|
|
1016
|
-
return (0, instance_1.customInstance)({ url: `/Users/me/permissions`, method: 'GET'
|
|
1195
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/me/permissions`, method: 'GET'
|
|
1017
1196
|
});
|
|
1018
1197
|
};
|
|
1019
1198
|
/**
|
|
1020
1199
|
* @summary Disable user (Remove all assigned WorkSpaces by UserId)
|
|
1021
1200
|
*/
|
|
1022
1201
|
const usersRemoveUserFromAllWorkSpaces = (params) => {
|
|
1023
|
-
return (0, instance_1.customInstance)({ url: `/Users/remove-assigned-workspace`, method: 'DELETE',
|
|
1202
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/remove-assigned-workspace`, method: 'DELETE',
|
|
1024
1203
|
params
|
|
1025
1204
|
});
|
|
1026
1205
|
};
|
|
@@ -1028,7 +1207,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1028
1207
|
* @summary Search users by name for autocomplete/navigation. Returns lightweight results (id, name, email only).
|
|
1029
1208
|
*/
|
|
1030
1209
|
const usersSearchUsers = (params) => {
|
|
1031
|
-
return (0, instance_1.customInstance)({ url: `/Users/search`, method: 'GET',
|
|
1210
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/search`, method: 'GET',
|
|
1032
1211
|
params
|
|
1033
1212
|
});
|
|
1034
1213
|
};
|
|
@@ -1036,7 +1215,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1036
1215
|
* @summary Retrieve user detail in SmartSpace
|
|
1037
1216
|
*/
|
|
1038
1217
|
const usersGetUserDetail = (id) => {
|
|
1039
|
-
return (0, instance_1.customInstance)({ url: `/Users/${id}`, method: 'GET'
|
|
1218
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}`, method: 'GET'
|
|
1040
1219
|
});
|
|
1041
1220
|
};
|
|
1042
1221
|
/**
|
|
@@ -1044,7 +1223,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1044
1223
|
so browsers can cache the image via standard img src usage.
|
|
1045
1224
|
*/
|
|
1046
1225
|
const usersGetUserPhoto = (id) => {
|
|
1047
|
-
return (0, instance_1.customInstance)({ url: `/Users/${id}/photo`, method: 'GET',
|
|
1226
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/photo`, method: 'GET',
|
|
1048
1227
|
responseType: 'blob'
|
|
1049
1228
|
});
|
|
1050
1229
|
};
|
|
@@ -1052,44 +1231,72 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1052
1231
|
* @summary Adds Admin for a access for a user
|
|
1053
1232
|
*/
|
|
1054
1233
|
const usersGetAccessWorkSpaces = (id, params) => {
|
|
1055
|
-
return (0, instance_1.customInstance)({ url: `/Users/${id}/workspaces`, method: 'GET',
|
|
1234
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${id}/workspaces`, method: 'GET',
|
|
1056
1235
|
params
|
|
1057
1236
|
});
|
|
1058
1237
|
};
|
|
1059
1238
|
const usersAdminPermission = (userId, params) => {
|
|
1060
|
-
return (0, instance_1.customInstance)({ url: `/Users/${userId}/admin`, method: 'PUT',
|
|
1239
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/admin`, method: 'PUT',
|
|
1061
1240
|
params
|
|
1062
1241
|
});
|
|
1063
1242
|
};
|
|
1243
|
+
/**
|
|
1244
|
+
* @summary The data sources (connectors) a user is an admin of. Editing or deleting one also needs the matching flag.
|
|
1245
|
+
*/
|
|
1246
|
+
const usersGetAdministeredDataSources = (userId) => {
|
|
1247
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/datasources`, method: 'GET'
|
|
1248
|
+
});
|
|
1249
|
+
};
|
|
1250
|
+
/**
|
|
1251
|
+
* @summary The data spaces a user is an admin of. Editing or deleting one also needs the matching flag.
|
|
1252
|
+
*/
|
|
1253
|
+
const usersGetAdministeredDataSpaces = (userId) => {
|
|
1254
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/dataspaces`, method: 'GET'
|
|
1255
|
+
});
|
|
1256
|
+
};
|
|
1257
|
+
/**
|
|
1258
|
+
* @summary A user's permission flags; None when they have no row.
|
|
1259
|
+
*/
|
|
1260
|
+
const usersGetUserPermissions = (userId) => {
|
|
1261
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions`, method: 'GET'
|
|
1262
|
+
});
|
|
1263
|
+
};
|
|
1064
1264
|
const usersAddUserPermission = (userId, enumsPermissions) => {
|
|
1065
|
-
return (0, instance_1.customInstance)({ url: `/Users/${userId}/permissions`, method: 'PUT',
|
|
1265
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions`, method: 'PUT',
|
|
1066
1266
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1067
1267
|
data: enumsPermissions
|
|
1068
1268
|
});
|
|
1069
1269
|
};
|
|
1070
1270
|
const usersRemoveUserPermission = (userId, permission) => {
|
|
1071
|
-
return (0, instance_1.customInstance)({ url: `/Users/${userId}/permissions/${permission}`, method: 'DELETE'
|
|
1271
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/permissions/${permission}`, method: 'DELETE'
|
|
1272
|
+
});
|
|
1273
|
+
};
|
|
1274
|
+
/**
|
|
1275
|
+
* @summary Every per-user secret, with whether this user has set a value and when. Never the value.
|
|
1276
|
+
*/
|
|
1277
|
+
const usersGetUserSecrets = (userId) => {
|
|
1278
|
+
return (0, instance_1.customInstance)({ url: `/v1/Users/${userId}/secrets`, method: 'GET'
|
|
1072
1279
|
});
|
|
1073
1280
|
};
|
|
1074
1281
|
/**
|
|
1075
1282
|
* @summary Returns a list of available Azure locations for deploying virtual machines
|
|
1076
1283
|
*/
|
|
1077
1284
|
const virtualMachinesGetVirtualMachineLocations = () => {
|
|
1078
|
-
return (0, instance_1.customInstance)({ url: `/VirtualMachines/locations`, method: 'GET'
|
|
1285
|
+
return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations`, method: 'GET'
|
|
1079
1286
|
});
|
|
1080
1287
|
};
|
|
1081
1288
|
/**
|
|
1082
1289
|
* @summary Returns a list of virtual machines sizes available in the specified location
|
|
1083
1290
|
*/
|
|
1084
1291
|
const virtualMachinesGetVirtualMachineSize = (location) => {
|
|
1085
|
-
return (0, instance_1.customInstance)({ url: `/VirtualMachines/locations/${location}/sizes`, method: 'GET'
|
|
1292
|
+
return (0, instance_1.customInstance)({ url: `/v1/VirtualMachines/locations/${location}/sizes`, method: 'GET'
|
|
1086
1293
|
});
|
|
1087
1294
|
};
|
|
1088
1295
|
/**
|
|
1089
1296
|
* @summary Obtain a list of all templates in SmartSpace, with pagination options take and skip.
|
|
1090
1297
|
*/
|
|
1091
1298
|
const workSpaceTemplatesGet = (params) => {
|
|
1092
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaceTemplates`, method: 'GET',
|
|
1299
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaceTemplates`, method: 'GET',
|
|
1093
1300
|
params
|
|
1094
1301
|
});
|
|
1095
1302
|
};
|
|
@@ -1097,7 +1304,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1097
1304
|
* @summary Retrieves a collection of workspaces.
|
|
1098
1305
|
*/
|
|
1099
1306
|
const workSpacesGetGet = (params) => {
|
|
1100
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'GET',
|
|
1307
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'GET',
|
|
1101
1308
|
params
|
|
1102
1309
|
});
|
|
1103
1310
|
};
|
|
@@ -1105,7 +1312,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1105
1312
|
* @summary Creates a new workspace.
|
|
1106
1313
|
*/
|
|
1107
1314
|
const workSpacesPost = (workSpacesCreateWorkSpace) => {
|
|
1108
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces`, method: 'POST',
|
|
1315
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces`, method: 'POST',
|
|
1109
1316
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1110
1317
|
data: workSpacesCreateWorkSpace
|
|
1111
1318
|
});
|
|
@@ -1114,33 +1321,33 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1114
1321
|
* @summary Deletes a workspace by its ID.
|
|
1115
1322
|
*/
|
|
1116
1323
|
const workSpacesDelete = (id) => {
|
|
1117
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'DELETE'
|
|
1324
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'DELETE'
|
|
1118
1325
|
});
|
|
1119
1326
|
};
|
|
1120
1327
|
/**
|
|
1121
1328
|
* @summary Retrieves a workspace by its ID.
|
|
1122
1329
|
*/
|
|
1123
1330
|
const workSpacesGetId = (id) => {
|
|
1124
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}`, method: 'GET'
|
|
1331
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}`, method: 'GET'
|
|
1125
1332
|
});
|
|
1126
1333
|
};
|
|
1127
1334
|
const workSpacesGetWorkspaceAdmins = (id) => {
|
|
1128
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins`, method: 'GET'
|
|
1335
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins`, method: 'GET'
|
|
1129
1336
|
});
|
|
1130
1337
|
};
|
|
1131
1338
|
const workSpacesDeleteAdmin = (id, userId) => {
|
|
1132
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
|
|
1339
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'DELETE'
|
|
1133
1340
|
});
|
|
1134
1341
|
};
|
|
1135
1342
|
const workSpacesAddWorkspaceAdmin = (id, userId) => {
|
|
1136
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
1343
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/admins/${userId}`, method: 'PUT'
|
|
1137
1344
|
});
|
|
1138
1345
|
};
|
|
1139
1346
|
/**
|
|
1140
1347
|
* @summary Updates the basic information of a workspace.
|
|
1141
1348
|
*/
|
|
1142
1349
|
const workSpacesPut = (id, workSpacesUpdateWorkSpaceBasicInfo) => {
|
|
1143
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/basicinfo`, method: 'PUT',
|
|
1350
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/basicinfo`, method: 'PUT',
|
|
1144
1351
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1145
1352
|
data: workSpacesUpdateWorkSpaceBasicInfo
|
|
1146
1353
|
});
|
|
@@ -1149,7 +1356,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1149
1356
|
* @summary Marks a workspace as favorited or not for the active user.
|
|
1150
1357
|
*/
|
|
1151
1358
|
const workSpacesSetFavorited = (id, boolean) => {
|
|
1152
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/favorited`, method: 'PUT',
|
|
1359
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/favorited`, method: 'PUT',
|
|
1153
1360
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1154
1361
|
data: boolean
|
|
1155
1362
|
});
|
|
@@ -1158,32 +1365,16 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1158
1365
|
* @summary Retrieves message threads for a workspace.
|
|
1159
1366
|
*/
|
|
1160
1367
|
const workSpacesGetThreads = (id, params) => {
|
|
1161
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
1368
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${id}/messageThreads`, method: 'GET',
|
|
1162
1369
|
params
|
|
1163
1370
|
});
|
|
1164
1371
|
};
|
|
1165
|
-
/**
|
|
1166
|
-
* @summary Deletes the model configuration for a specific workspace and role.
|
|
1167
|
-
*/
|
|
1168
|
-
const workSpacesDeleteModelConfiguration = (id, role) => {
|
|
1169
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'DELETE'
|
|
1170
|
-
});
|
|
1171
|
-
};
|
|
1172
|
-
/**
|
|
1173
|
-
* @summary Updates the model configuration for a specific workspace and role.
|
|
1174
|
-
*/
|
|
1175
|
-
const workSpacesPutModelConfiguration = (id, role, createModelConfiguration) => {
|
|
1176
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${id}/modelconfiguration/${role}`, method: 'PUT',
|
|
1177
|
-
headers: { 'Content-Type': 'application/*+json', },
|
|
1178
|
-
data: createModelConfiguration
|
|
1179
|
-
});
|
|
1180
|
-
};
|
|
1181
1372
|
/**
|
|
1182
1373
|
* @summary Detaches a connector from a workspace. Flows still referencing it
|
|
1183
1374
|
fail at resolve time rather than silently keeping access.
|
|
1184
1375
|
*/
|
|
1185
1376
|
const workSpacesRemoveConnector = (workspaceId, connectorId) => {
|
|
1186
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
|
|
1377
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'DELETE'
|
|
1187
1378
|
});
|
|
1188
1379
|
};
|
|
1189
1380
|
/**
|
|
@@ -1193,28 +1384,28 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1193
1384
|
the same attachment at call time.
|
|
1194
1385
|
*/
|
|
1195
1386
|
const workSpacesAddConnector = (workspaceId, connectorId) => {
|
|
1196
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
|
|
1387
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/connectors/${connectorId}`, method: 'PUT'
|
|
1197
1388
|
});
|
|
1198
1389
|
};
|
|
1199
1390
|
/**
|
|
1200
1391
|
* @summary Removes a data space from a workspace.
|
|
1201
1392
|
*/
|
|
1202
1393
|
const workSpacesRemoveDataSpace = (workspaceId, dataspaceId) => {
|
|
1203
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
|
|
1394
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'DELETE'
|
|
1204
1395
|
});
|
|
1205
1396
|
};
|
|
1206
1397
|
/**
|
|
1207
1398
|
* @summary Adds a data space to a workspace.
|
|
1208
1399
|
*/
|
|
1209
1400
|
const workSpacesAddDataSpace = (workspaceId, dataspaceId) => {
|
|
1210
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
|
|
1401
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/dataspaces/${dataspaceId}`, method: 'PUT'
|
|
1211
1402
|
});
|
|
1212
1403
|
};
|
|
1213
1404
|
/**
|
|
1214
1405
|
* @summary Gets a list of all the files that are uploaded directly to the workspace.
|
|
1215
1406
|
*/
|
|
1216
1407
|
const workSpacesGetWorkspaceFiles = (workspaceId, params) => {
|
|
1217
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files`, method: 'GET',
|
|
1408
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'GET',
|
|
1218
1409
|
params
|
|
1219
1410
|
});
|
|
1220
1411
|
};
|
|
@@ -1226,7 +1417,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1226
1417
|
if (workSpacesWorkspaceFilesBody.files !== undefined) {
|
|
1227
1418
|
workSpacesWorkspaceFilesBody.files.forEach(value => formData.append(`files`, value));
|
|
1228
1419
|
}
|
|
1229
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files`, method: 'POST',
|
|
1420
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files`, method: 'POST',
|
|
1230
1421
|
headers: { 'Content-Type': 'multipart/form-data', },
|
|
1231
1422
|
data: formData
|
|
1232
1423
|
});
|
|
@@ -1235,18 +1426,18 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1235
1426
|
* @summary Removes a file from the workspace and the ingested content.
|
|
1236
1427
|
*/
|
|
1237
1428
|
const workSpacesDeleteWorkspaceFile = (workspaceId, fileId) => {
|
|
1238
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
|
|
1429
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/files/${fileId}`, method: 'DELETE'
|
|
1239
1430
|
});
|
|
1240
1431
|
};
|
|
1241
1432
|
const workSpacesGetActiveFlow = (workspaceId) => {
|
|
1242
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
|
|
1433
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'GET'
|
|
1243
1434
|
});
|
|
1244
1435
|
};
|
|
1245
1436
|
/**
|
|
1246
1437
|
* @summary Sets the active flow definition for a workspace.
|
|
1247
1438
|
*/
|
|
1248
1439
|
const workSpacesSetActiveFlow = (workspaceId, flowsFlowDefinition) => {
|
|
1249
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
|
|
1440
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active`, method: 'PUT',
|
|
1250
1441
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1251
1442
|
data: flowsFlowDefinition
|
|
1252
1443
|
});
|
|
@@ -1255,7 +1446,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1255
1446
|
* @summary Updates the layout of blocks for the active flow definition.
|
|
1256
1447
|
*/
|
|
1257
1448
|
const workSpacesSetActiveFlowLayout = (workspaceId, workSpacesSetActiveFlowLayoutBody) => {
|
|
1258
|
-
return (0, instance_1.customInstance)({ url: `/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
|
|
1449
|
+
return (0, instance_1.customInstance)({ url: `/v1/WorkSpaces/${workspaceId}/flows/active/layout`, method: 'PUT',
|
|
1259
1450
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1260
1451
|
data: workSpacesSetActiveFlowLayoutBody
|
|
1261
1452
|
});
|
|
@@ -1264,7 +1455,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1264
1455
|
* @summary Lists connectors with their auth settings — never a credential.
|
|
1265
1456
|
*/
|
|
1266
1457
|
const connectorsGetConnectors = (params) => {
|
|
1267
|
-
return (0, instance_1.customInstance)({ url: `/connectors`, method: 'GET',
|
|
1458
|
+
return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'GET',
|
|
1268
1459
|
params
|
|
1269
1460
|
});
|
|
1270
1461
|
};
|
|
@@ -1273,7 +1464,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1273
1464
|
goes to Key Vault, the row stores only the reference.
|
|
1274
1465
|
*/
|
|
1275
1466
|
const connectorsCreateConnector = (connectorsCreateConnector) => {
|
|
1276
|
-
return (0, instance_1.customInstance)({ url: `/connectors`, method: 'POST',
|
|
1467
|
+
return (0, instance_1.customInstance)({ url: `/v1/connectors`, method: 'POST',
|
|
1277
1468
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1278
1469
|
data: connectorsCreateConnector
|
|
1279
1470
|
});
|
|
@@ -1285,16 +1476,16 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1285
1476
|
choose one. Admins pass this gate via the role bypass.
|
|
1286
1477
|
*/
|
|
1287
1478
|
const connectorsGetConnectorSummaries = (params) => {
|
|
1288
|
-
return (0, instance_1.customInstance)({ url: `/connectors/summaries`, method: 'GET',
|
|
1479
|
+
return (0, instance_1.customInstance)({ url: `/v1/connectors/summaries`, method: 'GET',
|
|
1289
1480
|
params
|
|
1290
1481
|
});
|
|
1291
1482
|
};
|
|
1292
1483
|
const connectorsDeleteConnector = (id) => {
|
|
1293
|
-
return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'DELETE'
|
|
1484
|
+
return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'DELETE'
|
|
1294
1485
|
});
|
|
1295
1486
|
};
|
|
1296
1487
|
const connectorsGetConnector = (id) => {
|
|
1297
|
-
return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'GET'
|
|
1488
|
+
return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'GET'
|
|
1298
1489
|
});
|
|
1299
1490
|
};
|
|
1300
1491
|
/**
|
|
@@ -1302,7 +1493,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1302
1493
|
untouched; supply one to rotate it.
|
|
1303
1494
|
*/
|
|
1304
1495
|
const connectorsUpdateConnector = (id, connectorsUpdateConnector) => {
|
|
1305
|
-
return (0, instance_1.customInstance)({ url: `/connectors/${id}`, method: 'PUT',
|
|
1496
|
+
return (0, instance_1.customInstance)({ url: `/v1/connectors/${id}`, method: 'PUT',
|
|
1306
1497
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1307
1498
|
data: connectorsUpdateConnector
|
|
1308
1499
|
});
|
|
@@ -1311,61 +1502,104 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1311
1502
|
* @summary Retrieve a Shared Access Signature (SAS) for a specific item within a data space's documents in SmartSpace, using the dataSpaceId.
|
|
1312
1503
|
*/
|
|
1313
1504
|
const documentsGetDocumentSas = (dataSpaceId, params) => {
|
|
1314
|
-
return (0, instance_1.customInstance)({ url: `/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
1505
|
+
return (0, instance_1.customInstance)({ url: `/v1/dataspaces/${dataSpaceId}/documents/item/sas`, method: 'GET',
|
|
1315
1506
|
params
|
|
1316
1507
|
});
|
|
1317
1508
|
};
|
|
1318
1509
|
/**
|
|
1319
|
-
* @summary
|
|
1510
|
+
* @summary Returns a single public parameter by key. Returns 404 if the key is not in the public
|
|
1511
|
+
allowlist or has no override set.
|
|
1512
|
+
*/
|
|
1513
|
+
const publicInstallParametersGet = (key) => {
|
|
1514
|
+
return (0, instance_1.customInstance)({ url: `/v1/installparameters/public/${key}`, method: 'GET'
|
|
1515
|
+
});
|
|
1516
|
+
};
|
|
1517
|
+
/**
|
|
1518
|
+
* @summary Lists a page of managed secrets — names, mode and audit metadata only, never values.
|
|
1519
|
+
`search` matches part of the name; `sortBy` is name, mode, createdAt or
|
|
1520
|
+
modifiedAt (default name); `sortDirection` is asc or desc.
|
|
1320
1521
|
*/
|
|
1321
|
-
const managedSecretsGetManagedSecrets = () => {
|
|
1322
|
-
return (0, instance_1.customInstance)({ url: `/managedsecrets`, method: 'GET'
|
|
1522
|
+
const managedSecretsGetManagedSecrets = (params) => {
|
|
1523
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'GET',
|
|
1524
|
+
params
|
|
1323
1525
|
});
|
|
1324
1526
|
};
|
|
1325
1527
|
/**
|
|
1326
|
-
* @summary Creates a named secret
|
|
1327
|
-
|
|
1528
|
+
* @summary Creates a named secret. A shared secret stores its value and keeps only the
|
|
1529
|
+
reference; a per-user secret is created empty.
|
|
1328
1530
|
*/
|
|
1329
1531
|
const managedSecretsCreateManagedSecret = (managedSecretsCreateManagedSecret) => {
|
|
1330
|
-
return (0, instance_1.customInstance)({ url: `/managedsecrets`, method: 'POST',
|
|
1532
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets`, method: 'POST',
|
|
1331
1533
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1332
1534
|
data: managedSecretsCreateManagedSecret
|
|
1333
1535
|
});
|
|
1334
1536
|
};
|
|
1335
1537
|
/**
|
|
1336
|
-
* @summary Deletes a secret: removes
|
|
1538
|
+
* @summary Deletes a secret: removes every stored value and hard-deletes the rows.
|
|
1337
1539
|
*/
|
|
1338
1540
|
const managedSecretsDeleteManagedSecret = (name) => {
|
|
1339
|
-
return (0, instance_1.customInstance)({ url: `/managedsecrets/${name}`, method: 'DELETE'
|
|
1541
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}`, method: 'DELETE'
|
|
1542
|
+
});
|
|
1543
|
+
};
|
|
1544
|
+
/**
|
|
1545
|
+
* @summary One managed secret by name — name, mode and audit metadata only, never a value.
|
|
1546
|
+
*/
|
|
1547
|
+
const managedSecretsGetManagedSecret = (name) => {
|
|
1548
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}`, method: 'GET'
|
|
1549
|
+
});
|
|
1550
|
+
};
|
|
1551
|
+
/**
|
|
1552
|
+
* @summary Lists a page of the users who have a value on a per-user secret. Ids only, never values.
|
|
1553
|
+
`sortBy` is modifiedAt (default, newest first) or userId.
|
|
1554
|
+
*/
|
|
1555
|
+
const managedSecretsGetManagedSecretUserValues = (name, params) => {
|
|
1556
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/users`, method: 'GET',
|
|
1557
|
+
params
|
|
1558
|
+
});
|
|
1559
|
+
};
|
|
1560
|
+
/**
|
|
1561
|
+
* @summary Deletes one user's value on a per-user secret.
|
|
1562
|
+
*/
|
|
1563
|
+
const managedSecretsDeleteManagedSecretUserValue = (name, userId) => {
|
|
1564
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/users/${userId}/value`, method: 'DELETE'
|
|
1565
|
+
});
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* @summary Sets or rotates one user's value on a per-user secret. Write-only.
|
|
1569
|
+
*/
|
|
1570
|
+
const managedSecretsSetManagedSecretUserValue = (name, userId, managedSecretsUpdateManagedSecretValue) => {
|
|
1571
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/users/${userId}/value`, method: 'PUT',
|
|
1572
|
+
headers: { 'Content-Type': 'application/*+json', },
|
|
1573
|
+
data: managedSecretsUpdateManagedSecretValue
|
|
1340
1574
|
});
|
|
1341
1575
|
};
|
|
1342
1576
|
/**
|
|
1343
|
-
* @summary Overwrites (rotates) a secret's value
|
|
1344
|
-
|
|
1345
|
-
audit metadata.
|
|
1577
|
+
* @summary Overwrites (rotates) a shared secret's value under the same stored reference.
|
|
1578
|
+
The value is write-only; nothing is returned but audit metadata.
|
|
1346
1579
|
*/
|
|
1347
1580
|
const managedSecretsOverwriteManagedSecretValue = (name, managedSecretsUpdateManagedSecretValue) => {
|
|
1348
|
-
return (0, instance_1.customInstance)({ url: `/managedsecrets/${name}/value`, method: 'PUT',
|
|
1581
|
+
return (0, instance_1.customInstance)({ url: `/v1/managedsecrets/${name}/value`, method: 'PUT',
|
|
1349
1582
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1350
1583
|
data: managedSecretsUpdateManagedSecretValue
|
|
1351
1584
|
});
|
|
1352
1585
|
};
|
|
1353
1586
|
const messageThreadsGetWorkspaceExecutions = (workSpaceId, params) => {
|
|
1354
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
|
|
1587
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/functionexecutions`, method: 'GET',
|
|
1355
1588
|
params
|
|
1356
1589
|
});
|
|
1357
1590
|
};
|
|
1358
1591
|
const messageThreadsGetStepExecutions = (workSpaceId, messageThreadId, params) => {
|
|
1359
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
|
|
1592
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workSpaceId}/messagethreads/${messageThreadId}/functionexecutions`, method: 'GET',
|
|
1360
1593
|
params
|
|
1361
1594
|
});
|
|
1362
1595
|
};
|
|
1363
1596
|
/**
|
|
1364
1597
|
* @summary Lists a workspace's flow runs, newest first (chat threads, designer
|
|
1365
|
-
runs, CallFlow sub-runs). Proxies the AI API's workspace run store
|
|
1598
|
+
runs, CallFlow sub-runs). Proxies the AI API's workspace run store and
|
|
1599
|
+
joins each run's usage totals from SQL.
|
|
1366
1600
|
*/
|
|
1367
1601
|
const flowRunsGetWorkspaceRuns = (workspaceId, params) => {
|
|
1368
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/runs`, method: 'GET',
|
|
1602
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/runs`, method: 'GET',
|
|
1369
1603
|
params
|
|
1370
1604
|
});
|
|
1371
1605
|
};
|
|
@@ -1373,28 +1607,28 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1373
1607
|
* @summary Fetch details of the sandbox environment for a specific workspace in SmartSpace, using the workspaceId.
|
|
1374
1608
|
*/
|
|
1375
1609
|
const sandBoxGetSandboxThread = (workspaceId) => {
|
|
1376
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox`, method: 'GET'
|
|
1610
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox`, method: 'GET'
|
|
1377
1611
|
});
|
|
1378
1612
|
};
|
|
1379
1613
|
/**
|
|
1380
1614
|
* @summary Retrieve message creators profile images from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
|
|
1381
1615
|
*/
|
|
1382
1616
|
const sandBoxThreadMessageCreateByUsersProfileImages = (workspaceId) => {
|
|
1383
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
|
|
1617
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messagecreateduserprofileimages`, method: 'GET'
|
|
1384
1618
|
});
|
|
1385
1619
|
};
|
|
1386
1620
|
/**
|
|
1387
1621
|
* @summary Remove messages from the sandbox environment of a specific workspace in SmartSpace, identified by workspaceId.
|
|
1388
1622
|
*/
|
|
1389
1623
|
const sandBoxClearSandboxMessages = (workspaceId) => {
|
|
1390
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
|
|
1624
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'DELETE'
|
|
1391
1625
|
});
|
|
1392
1626
|
};
|
|
1393
1627
|
/**
|
|
1394
1628
|
* @summary Retrieve messages from the sandbox environment of a specific workspace in SmartSpace, with options for pagination take and skip
|
|
1395
1629
|
*/
|
|
1396
1630
|
const sandBoxGetThreadMessages = (workspaceId, params) => {
|
|
1397
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
|
|
1631
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'GET',
|
|
1398
1632
|
params
|
|
1399
1633
|
});
|
|
1400
1634
|
};
|
|
@@ -1407,7 +1641,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1407
1641
|
should subscribe to the SSE endpoint for live token-by-token updates.
|
|
1408
1642
|
*/
|
|
1409
1643
|
const sandBoxThreadMessages = (workspaceId, messagesSandBoxMessageRequest) => {
|
|
1410
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
|
|
1644
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages`, method: 'POST',
|
|
1411
1645
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1412
1646
|
data: messagesSandBoxMessageRequest
|
|
1413
1647
|
});
|
|
@@ -1422,7 +1656,7 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1422
1656
|
`GET /messagethreads/{id}/messages/stream`.
|
|
1423
1657
|
*/
|
|
1424
1658
|
const sandBoxStreamSandboxMessages = (workspaceId) => {
|
|
1425
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
|
|
1659
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/stream`, method: 'GET'
|
|
1426
1660
|
});
|
|
1427
1661
|
};
|
|
1428
1662
|
/**
|
|
@@ -1434,11 +1668,11 @@ const getSmartSpaceAdminAPI = () => {
|
|
|
1434
1668
|
message. Mirrors the chat-api `POST /messages/{id}/values`.
|
|
1435
1669
|
*/
|
|
1436
1670
|
const sandBoxAddValueToMessage = (workspaceId, id, messagesCreateMessageInput) => {
|
|
1437
|
-
return (0, instance_1.customInstance)({ url: `/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
|
|
1671
|
+
return (0, instance_1.customInstance)({ url: `/v1/workspaces/${workspaceId}/sandbox/messages/${id}/values`, method: 'POST',
|
|
1438
1672
|
headers: { 'Content-Type': 'application/*+json', },
|
|
1439
1673
|
data: messagesCreateMessageInput
|
|
1440
1674
|
});
|
|
1441
1675
|
};
|
|
1442
|
-
return { accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsGetDeployedBlockCode, blockSetsGetDeployedBlockFiles, blockSetsDeleteBlockSet, blockSetsRenameBlockSet, blockSetsAddBlockSet, blocksGetBlocks, blocksGetSdkBlocks, blocksGetBlockSource, containersReingestContainerItem, containersPost, dataSetsGet, dataSetsGetItem, dataSetsDelete, dataSetsGetById, dataSetsPut, dataSetsPutBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteItem, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSetsGetIngestionRuns, dataSetsPutScoping, dataSetsPutSourceDeletes, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesPreviewContainer, dataSourcesContainerSchema, dataSourcesUpdateCredentials, dataSourcesRequestSync, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, diagnosticsGetMongoIndexes, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun,
|
|
1676
|
+
return { authDiscoveryGet, accessGetAccesses, accessAddAccess, accessGetGroups, accessGetAppRoles, accessGetUsersInRoleRolesRoleIdUsers, accessSearchGroups, accessSearchServicePrincipals, accessSearchUsers, accessGetUsersInRoleUsers, accessDeleteAccess, activityExportLoggings, activityGetLogging, applicationUpdateGetLatestDeployment, applicationUpdateGetCurrentVersion, applicationUpdateReapplyCurrentVersion, applicationUpdateGetLatestAvailableVersion, applicationUpdateApplyLatestAvailableVersion, blockSetsGetBlockSets, blockSetsGetDeployedBlockCode, blockSetsGetDeployedBlockFiles, blockSetsDeleteBlockSet, blockSetsRenameBlockSet, blockSetsAddBlockSet, blocksGetBlocks, blocksGetSdkBlocks, blocksGetBlockSource, containersReingestContainerItem, containersPost, dataSetsGet, dataSetsGetItem, dataSetsDelete, dataSetsGetById, dataSetsPut, dataSetsPutBasicInfo, dataSetsClear, dataSetsGetContainerItemsRunHistory, dataSetsSetDataspace, dataSetsExport, dataSetsGetItems, dataSetsAddItem, dataSetsSearchItems, dataSetsDeleteItem, dataSetsAddDataSetProperty, dataSetsDeleteDataSetProperty, dataSetsGetIngestionRuns, dataSetsPutScoping, dataSetsPutSourceDeletes, dataSetsGetSyncs, dataSourceTypesGet, dataSourceTypesGetAvailableContainers, dataSourceTypesTestConnection, dataSourcesGet, dataSourcesPost, dataSourcesDelete, dataSourcesPut, dataSourcesContainers, dataSourcesPreviewContainer, dataSourcesContainerSchema, dataSourcesUpdateCredentials, dataSourcesRequestSync, dataSourcesGetAdminUsers, dataSourcesDeleteAdmin, dataSourcesAddAdmin, dataSpacesGet, dataSpacesPost, dataSpacesDelete, dataSpacesGetById, dataSpacesPut, dataSpacesGetAdminUsers, dataSpacesDeleteAdmin, dataSpacesAddAdmin, dataSpacesGetDataSets, dataSpacesPostDataset, debugInvoke, diagnosticsGetIngestQueue, diagnosticsGetMongoIndexes, draftsListDrafts, draftsDeleteDraft, draftsGetDraft, draftsToggleDraft, draftsSaveDraft, draftsPublishDraft, filesUploadFiles, filesGetFileInfo, filesDownloadFile, filesGetUri, flowRunsCreateFlowRun, flowRunsGetFileFromFlowRunId, flowRunsGetFlowRun, flowRunsCancelFlowRun, flowRunsStreamRunEvents, flowRunsAddFileIdFiles, flowRunsAddFileIdFilesExisting, flowRunsGetStepExecutions, flowRunsGetStepExecution, flowRunsGetInvocations, flowRunsGetFlowValueDownload, flowRunsGetVariables, flowRunsSetVariable, flowsGet, flowsSetActiveFlowDefinition, installParametersList, installParametersGetRegistry, installParametersDelete, installParametersGet, installParametersUpsert, modelProvidersGetProviders, modelProvidersCreateProvider, modelProvidersGetModelProviderTypes, modelProvidersGetModelProviderTypeDeployableModels, modelProvidersLoadProviderModels, modelProvidersGetProvider, modelProvidersUpsertProvider, modelsGetModels, modelsCreateModel, modelsGetDefaultModel, modelsGetDefaultDockerFile, modelsDeleteModel, modelsGetModel, modelsUpsertModel, modelsClearDefaultModel, modelsSetDefaultModel, modelsGetModelDeployment, modelsGetDeploymentDockerLogs, modelsGetModelHealth, notificationGet, notificationPutUpdate, notificationPutUpdateall, planGetSmartSpacePlan, planUpdateSmartSpaceUpgrade, planCalculateSmartSpaceUpgradeCost, planGetSmartSpacePlanUsage, reportingGetRequests, reportingGetTokens, servicePrincipalsGetServicePrincipals, speechGetConfig, speechGetToken, syncsGet, syncsGetQueue, syncsDelete, syncsGetById, syncsGetItems, syncsGetPoisoned, tenantIdGetResult, usersGetUsers, usersGetUsersByFilter, usersGetMyPermissions, usersRemoveUserFromAllWorkSpaces, usersSearchUsers, usersGetUserDetail, usersGetUserPhoto, usersGetAccessWorkSpaces, usersAdminPermission, usersGetAdministeredDataSources, usersGetAdministeredDataSpaces, usersGetUserPermissions, usersAddUserPermission, usersRemoveUserPermission, usersGetUserSecrets, virtualMachinesGetVirtualMachineLocations, virtualMachinesGetVirtualMachineSize, workSpaceTemplatesGet, workSpacesGetGet, workSpacesPost, workSpacesDelete, workSpacesGetId, workSpacesGetWorkspaceAdmins, workSpacesDeleteAdmin, workSpacesAddWorkspaceAdmin, workSpacesPut, workSpacesSetFavorited, workSpacesGetThreads, workSpacesRemoveConnector, workSpacesAddConnector, workSpacesRemoveDataSpace, workSpacesAddDataSpace, workSpacesGetWorkspaceFiles, workSpacesWorkspaceFiles, workSpacesDeleteWorkspaceFile, workSpacesGetActiveFlow, workSpacesSetActiveFlow, workSpacesSetActiveFlowLayout, connectorsGetConnectors, connectorsCreateConnector, connectorsGetConnectorSummaries, connectorsDeleteConnector, connectorsGetConnector, connectorsUpdateConnector, documentsGetDocumentSas, publicInstallParametersGet, managedSecretsGetManagedSecrets, managedSecretsCreateManagedSecret, managedSecretsDeleteManagedSecret, managedSecretsGetManagedSecret, managedSecretsGetManagedSecretUserValues, managedSecretsDeleteManagedSecretUserValue, managedSecretsSetManagedSecretUserValue, managedSecretsOverwriteManagedSecretValue, messageThreadsGetWorkspaceExecutions, messageThreadsGetStepExecutions, flowRunsGetWorkspaceRuns, sandBoxGetSandboxThread, sandBoxThreadMessageCreateByUsersProfileImages, sandBoxClearSandboxMessages, sandBoxGetThreadMessages, sandBoxThreadMessages, sandBoxStreamSandboxMessages, sandBoxAddValueToMessage };
|
|
1443
1677
|
};
|
|
1444
1678
|
exports.getSmartSpaceAdminAPI = getSmartSpaceAdminAPI;
|