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