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