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