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