Skip to content

Commit

Permalink
chore: regenerate AI Core client (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
KavithaSiva authored Jan 22, 2025
1 parent 15b7fb8 commit b8be289
Show file tree
Hide file tree
Showing 329 changed files with 650 additions and 467 deletions.
24 changes: 16 additions & 8 deletions packages/ai-api/src/client/AI_CORE_API/application-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
*
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
*/
Expand All @@ -20,6 +20,7 @@ import type {
* This API is part of the 'AI_CORE_API' service.
*/
export const ApplicationApi = {
_defaultBasePath: undefined,
/**
* Return all Argo CD application data objects.
*
Expand All @@ -37,7 +38,8 @@ export const ApplicationApi = {
{
queryParameters,
headerParameters
}
},
ApplicationApi._defaultBasePath
),
/**
* Create an ArgoCD application to synchronise a repository.
Expand All @@ -56,7 +58,8 @@ export const ApplicationApi = {
{
body,
headerParameters
}
},
ApplicationApi._defaultBasePath
),
/**
* Returns the ArgoCD application health and sync status.
Expand All @@ -75,7 +78,8 @@ export const ApplicationApi = {
{
pathParameters: { applicationName },
headerParameters
}
},
ApplicationApi._defaultBasePath
),
/**
* Retrieve the ArgoCD application details.
Expand All @@ -94,7 +98,8 @@ export const ApplicationApi = {
{
pathParameters: { applicationName },
headerParameters
}
},
ApplicationApi._defaultBasePath
),
/**
* Update the referenced ArgoCD application to synchronize the repository.
Expand All @@ -116,7 +121,8 @@ export const ApplicationApi = {
pathParameters: { applicationName },
body,
headerParameters
}
},
ApplicationApi._defaultBasePath
),
/**
* Delete an ArgoCD application
Expand All @@ -134,7 +140,8 @@ export const ApplicationApi = {
{
pathParameters: { applicationName },
headerParameters
}
},
ApplicationApi._defaultBasePath
),
/**
* Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously
Expand All @@ -153,6 +160,7 @@ export const ApplicationApi = {
{
pathParameters: { applicationName },
headerParameters
}
},
ApplicationApi._defaultBasePath
)
};
47 changes: 32 additions & 15 deletions packages/ai-api/src/client/AI_CORE_API/artifact-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
*
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
*/
Expand All @@ -16,6 +16,7 @@ import type {
* This API is part of the 'AI_CORE_API' service.
*/
export const ArtifactApi = {
_defaultBasePath: undefined,
/**
* Retrieve a list of artifacts that matches the specified filter criteria.
* Filter criteria include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels.
Expand All @@ -41,10 +42,15 @@ export const ArtifactApi = {
},
headerParameters: { 'AI-Resource-Group': string }
) =>
new OpenApiRequestBuilder<AiArtifactList>('get', '/lm/artifacts', {
queryParameters,
headerParameters
}),
new OpenApiRequestBuilder<AiArtifactList>(
'get',
'/lm/artifacts',
{
queryParameters,
headerParameters
},
ArtifactApi._defaultBasePath
),
/**
* Register an artifact for use in a configuration, for example a model or a dataset.
* @param body - Request body.
Expand All @@ -61,7 +67,8 @@ export const ArtifactApi = {
{
body,
headerParameters
}
},
ArtifactApi._defaultBasePath
),
/**
* Retrieve details for artifact with artifactId.
Expand All @@ -75,11 +82,16 @@ export const ArtifactApi = {
queryParameters: { $expand?: 'scenario' },
headerParameters: { 'AI-Resource-Group': string }
) =>
new OpenApiRequestBuilder<AiArtifact>('get', '/lm/artifacts/{artifactId}', {
pathParameters: { artifactId },
queryParameters,
headerParameters
}),
new OpenApiRequestBuilder<AiArtifact>(
'get',
'/lm/artifacts/{artifactId}',
{
pathParameters: { artifactId },
queryParameters,
headerParameters
},
ArtifactApi._defaultBasePath
),
/**
* Retrieve the number of available artifacts that match the specified filter criteria.
* Filter criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact labels.
Expand All @@ -101,8 +113,13 @@ export const ArtifactApi = {
},
headerParameters: { 'AI-Resource-Group': string }
) =>
new OpenApiRequestBuilder<number>('get', '/lm/artifacts/$count', {
queryParameters,
headerParameters
})
new OpenApiRequestBuilder<number>(
'get',
'/lm/artifacts/$count',
{
queryParameters,
headerParameters
},
ArtifactApi._defaultBasePath
)
};
25 changes: 17 additions & 8 deletions packages/ai-api/src/client/AI_CORE_API/configuration-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
*
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
*/
Expand All @@ -15,6 +15,7 @@ import type {
* This API is part of the 'AI_CORE_API' service.
*/
export const ConfigurationApi = {
_defaultBasePath: undefined,
/**
* Retrieve a list of configurations. Filter results by scenario ID or a list of executable IDs.
* Search for configurations containing the search string as substring in the configuration name.
Expand All @@ -41,7 +42,8 @@ export const ConfigurationApi = {
{
queryParameters,
headerParameters
}
},
ConfigurationApi._defaultBasePath
),
/**
* Create a new configuration linked to a specific scenario and executable for use in an execution
Expand All @@ -61,7 +63,8 @@ export const ConfigurationApi = {
{
body,
headerParameters
}
},
ConfigurationApi._defaultBasePath
),
/**
* Retrieve details for configuration with configurationId.
Expand All @@ -82,7 +85,8 @@ export const ConfigurationApi = {
pathParameters: { configurationId },
queryParameters,
headerParameters
}
},
ConfigurationApi._defaultBasePath
),
/**
* Retrieve the number of available configurations that match the specified filter criteria.
Expand All @@ -101,8 +105,13 @@ export const ConfigurationApi = {
},
headerParameters: { 'AI-Resource-Group': string }
) =>
new OpenApiRequestBuilder<number>('get', '/lm/configurations/$count', {
queryParameters,
headerParameters
})
new OpenApiRequestBuilder<number>(
'get',
'/lm/configurations/$count',
{
queryParameters,
headerParameters
},
ConfigurationApi._defaultBasePath
)
};
47 changes: 32 additions & 15 deletions packages/ai-api/src/client/AI_CORE_API/deployment-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2025 SAP SE or an SAP affiliate company. All rights reserved.
*
* This is a generated file powered by the SAP Cloud SDK for JavaScript.
*/
Expand All @@ -21,6 +21,7 @@ import type {
* This API is part of the 'AI_CORE_API' service.
*/
export const DeploymentApi = {
_defaultBasePath: undefined,
/**
* Retrieve a list of deployments that match the specified filter criteria.
* Filter criteria include a list of executableIds, a scenarioId, a configurationId, or a deployment status.
Expand Down Expand Up @@ -50,10 +51,15 @@ export const DeploymentApi = {
},
headerParameters: { 'AI-Resource-Group': string }
) =>
new OpenApiRequestBuilder<AiDeploymentList>('get', '/lm/deployments', {
queryParameters,
headerParameters
}),
new OpenApiRequestBuilder<AiDeploymentList>(
'get',
'/lm/deployments',
{
queryParameters,
headerParameters
},
DeploymentApi._defaultBasePath
),
/**
* Create a deployment using the configuration specified by configurationId after synchronously checking the
* correctness of the configuration.
Expand All @@ -72,7 +78,8 @@ export const DeploymentApi = {
{
body,
headerParameters
}
},
DeploymentApi._defaultBasePath
),
/**
* Update status of multiple deployments. stop or delete multiple deployments.
Expand All @@ -90,7 +97,8 @@ export const DeploymentApi = {
{
body,
headerParameters
}
},
DeploymentApi._defaultBasePath
),
/**
* Retrieve details for execution with deploymentId.
Expand All @@ -111,7 +119,8 @@ export const DeploymentApi = {
pathParameters: { deploymentId },
queryParameters,
headerParameters
}
},
DeploymentApi._defaultBasePath
),
/**
* Update target status of a deployment to stop a deployment or change the configuration to be used by the
Expand All @@ -135,7 +144,8 @@ export const DeploymentApi = {
pathParameters: { deploymentId },
body,
headerParameters
}
},
DeploymentApi._defaultBasePath
),
/**
* Mark deployment with deploymentId as deleted.
Expand All @@ -153,7 +163,8 @@ export const DeploymentApi = {
{
pathParameters: { deploymentId },
headerParameters
}
},
DeploymentApi._defaultBasePath
),
/**
* Retrieve the number of available deployments. The number can be filtered by
Expand All @@ -179,10 +190,15 @@ export const DeploymentApi = {
},
headerParameters: { 'AI-Resource-Group': string }
) =>
new OpenApiRequestBuilder<number>('get', '/lm/deployments/$count', {
queryParameters,
headerParameters
}),
new OpenApiRequestBuilder<number>(
'get',
'/lm/deployments/$count',
{
queryParameters,
headerParameters
},
DeploymentApi._defaultBasePath
),
/**
* Retrieve logs of a deployment for getting insight into the deployment results or failures.
* @param deploymentId - Deployment identifier
Expand All @@ -207,6 +223,7 @@ export const DeploymentApi = {
pathParameters: { deploymentId },
queryParameters,
headerParameters
}
},
DeploymentApi._defaultBasePath
)
};
Loading

0 comments on commit b8be289

Please sign in to comment.