qovery-typescript-axios 1.1.1034 → 1.1.1036
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/api.ts +198 -25
- package/dist/api.d.ts +98 -17
- package/dist/api.js +173 -24
- package/dist/esm/api.d.ts +98 -17
- package/dist/esm/api.js +173 -24
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5791,28 +5791,26 @@ export type BuildAnalysisConfidence = typeof BuildAnalysisConfidence[keyof typeo
|
|
|
5791
5791
|
|
|
5792
5792
|
|
|
5793
5793
|
/**
|
|
5794
|
-
* Where the analysed Dockerfile came from. GIT is the repository at the build commit, INLINE the Dockerfile stored on the job
|
|
5794
|
+
* Where the analysed Dockerfile came from. GIT is the repository at the build commit, INLINE the Dockerfile stored on the job.
|
|
5795
5795
|
* @export
|
|
5796
5796
|
* @enum {string}
|
|
5797
5797
|
*/
|
|
5798
5798
|
|
|
5799
5799
|
export const BuildAnalysisDockerfileSource = {
|
|
5800
5800
|
GIT: 'GIT',
|
|
5801
|
-
INLINE: 'INLINE'
|
|
5802
|
-
PASTE: 'PASTE'
|
|
5801
|
+
INLINE: 'INLINE'
|
|
5803
5802
|
} as const;
|
|
5804
5803
|
|
|
5805
5804
|
export type BuildAnalysisDockerfileSource = typeof BuildAnalysisDockerfileSource[keyof typeof BuildAnalysisDockerfileSource];
|
|
5806
5805
|
|
|
5807
5806
|
|
|
5808
5807
|
/**
|
|
5809
|
-
*
|
|
5808
|
+
* MODEL_ERROR when the model call failed or returned an invalid result, TIMEOUT when the analysis took too long, INTERNAL_ERROR otherwise.
|
|
5810
5809
|
* @export
|
|
5811
5810
|
* @enum {string}
|
|
5812
5811
|
*/
|
|
5813
5812
|
|
|
5814
5813
|
export const BuildAnalysisFailureCode = {
|
|
5815
|
-
COPILOT_DISABLED: 'COPILOT_DISABLED',
|
|
5816
5814
|
MODEL_ERROR: 'MODEL_ERROR',
|
|
5817
5815
|
TIMEOUT: 'TIMEOUT',
|
|
5818
5816
|
INTERNAL_ERROR: 'INTERNAL_ERROR'
|
|
@@ -5947,6 +5945,19 @@ export interface BuildAnalysisResult {
|
|
|
5947
5945
|
}
|
|
5948
5946
|
|
|
5949
5947
|
|
|
5948
|
+
/**
|
|
5949
|
+
*
|
|
5950
|
+
* @export
|
|
5951
|
+
* @interface BuildAnalysisStartRequest
|
|
5952
|
+
*/
|
|
5953
|
+
export interface BuildAnalysisStartRequest {
|
|
5954
|
+
/**
|
|
5955
|
+
* Execution id of the build to analyse. It must be the latest build of the service, `latest_build_execution_id` in `BuildAnalysisState`.
|
|
5956
|
+
* @type {string}
|
|
5957
|
+
* @memberof BuildAnalysisStartRequest
|
|
5958
|
+
*/
|
|
5959
|
+
'execution_id': string;
|
|
5960
|
+
}
|
|
5950
5961
|
/**
|
|
5951
5962
|
*
|
|
5952
5963
|
* @export
|
|
@@ -5967,7 +5978,7 @@ export interface BuildAnalysisState {
|
|
|
5967
5978
|
'analysis': BuildAnalysisResponse | null;
|
|
5968
5979
|
}
|
|
5969
5980
|
/**
|
|
5970
|
-
* PENDING is queued, COLLECTING reads the build logs and the cache history, ANALYSING waits for the model, then DONE or FAILED.
|
|
5981
|
+
* PENDING is queued, COLLECTING reads the build logs and the cache history, ANALYSING waits for the model, then DONE or FAILED. The Dockerfile is resolved before the start answers 202.
|
|
5971
5982
|
* @export
|
|
5972
5983
|
* @enum {string}
|
|
5973
5984
|
*/
|
|
@@ -33159,6 +33170,53 @@ export const ApplicationBuildAnalysisApiAxiosParamCreator = function (configurat
|
|
|
33159
33170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33160
33171
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33161
33172
|
|
|
33173
|
+
return {
|
|
33174
|
+
url: toPathString(localVarUrlObj),
|
|
33175
|
+
options: localVarRequestOptions,
|
|
33176
|
+
};
|
|
33177
|
+
},
|
|
33178
|
+
/**
|
|
33179
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
33180
|
+
* @summary Analyse the latest build of an application
|
|
33181
|
+
* @param {string} applicationId Application ID
|
|
33182
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
33183
|
+
* @param {*} [options] Override http request option.
|
|
33184
|
+
* @throws {RequiredError}
|
|
33185
|
+
*/
|
|
33186
|
+
startApplicationBuildAnalysis: async (applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33187
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
33188
|
+
assertParamExists('startApplicationBuildAnalysis', 'applicationId', applicationId)
|
|
33189
|
+
// verify required parameter 'buildAnalysisStartRequest' is not null or undefined
|
|
33190
|
+
assertParamExists('startApplicationBuildAnalysis', 'buildAnalysisStartRequest', buildAnalysisStartRequest)
|
|
33191
|
+
const localVarPath = `/application/{applicationId}/buildAnalysis`
|
|
33192
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
33193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33195
|
+
let baseOptions;
|
|
33196
|
+
if (configuration) {
|
|
33197
|
+
baseOptions = configuration.baseOptions;
|
|
33198
|
+
}
|
|
33199
|
+
|
|
33200
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
33201
|
+
const localVarHeaderParameter = {} as any;
|
|
33202
|
+
const localVarQueryParameter = {} as any;
|
|
33203
|
+
|
|
33204
|
+
// authentication ApiKeyAuth required
|
|
33205
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33206
|
+
|
|
33207
|
+
// authentication bearerAuth required
|
|
33208
|
+
// http bearer authentication required
|
|
33209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33210
|
+
|
|
33211
|
+
|
|
33212
|
+
|
|
33213
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33214
|
+
|
|
33215
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33216
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33217
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33218
|
+
localVarRequestOptions.data = serializeDataIfNeeded(buildAnalysisStartRequest, localVarRequestOptions, configuration)
|
|
33219
|
+
|
|
33162
33220
|
return {
|
|
33163
33221
|
url: toPathString(localVarUrlObj),
|
|
33164
33222
|
options: localVarRequestOptions,
|
|
@@ -33187,6 +33245,20 @@ export const ApplicationBuildAnalysisApiFp = function(configuration?: Configurat
|
|
|
33187
33245
|
const localVarOperationServerBasePath = operationServerMap['ApplicationBuildAnalysisApi.getApplicationBuildAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
33188
33246
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33189
33247
|
},
|
|
33248
|
+
/**
|
|
33249
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
33250
|
+
* @summary Analyse the latest build of an application
|
|
33251
|
+
* @param {string} applicationId Application ID
|
|
33252
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
33253
|
+
* @param {*} [options] Override http request option.
|
|
33254
|
+
* @throws {RequiredError}
|
|
33255
|
+
*/
|
|
33256
|
+
async startApplicationBuildAnalysis(applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildAnalysisResponse>> {
|
|
33257
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startApplicationBuildAnalysis(applicationId, buildAnalysisStartRequest, options);
|
|
33258
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33259
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationBuildAnalysisApi.startApplicationBuildAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
33260
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33261
|
+
},
|
|
33190
33262
|
}
|
|
33191
33263
|
};
|
|
33192
33264
|
|
|
@@ -33207,6 +33279,17 @@ export const ApplicationBuildAnalysisApiFactory = function (configuration?: Conf
|
|
|
33207
33279
|
getApplicationBuildAnalysis(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisState> {
|
|
33208
33280
|
return localVarFp.getApplicationBuildAnalysis(applicationId, options).then((request) => request(axios, basePath));
|
|
33209
33281
|
},
|
|
33282
|
+
/**
|
|
33283
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
33284
|
+
* @summary Analyse the latest build of an application
|
|
33285
|
+
* @param {string} applicationId Application ID
|
|
33286
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
33287
|
+
* @param {*} [options] Override http request option.
|
|
33288
|
+
* @throws {RequiredError}
|
|
33289
|
+
*/
|
|
33290
|
+
startApplicationBuildAnalysis(applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisResponse> {
|
|
33291
|
+
return localVarFp.startApplicationBuildAnalysis(applicationId, buildAnalysisStartRequest, options).then((request) => request(axios, basePath));
|
|
33292
|
+
},
|
|
33210
33293
|
};
|
|
33211
33294
|
};
|
|
33212
33295
|
|
|
@@ -33228,6 +33311,19 @@ export class ApplicationBuildAnalysisApi extends BaseAPI {
|
|
|
33228
33311
|
public getApplicationBuildAnalysis(applicationId: string, options?: RawAxiosRequestConfig) {
|
|
33229
33312
|
return ApplicationBuildAnalysisApiFp(this.configuration).getApplicationBuildAnalysis(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
33230
33313
|
}
|
|
33314
|
+
|
|
33315
|
+
/**
|
|
33316
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
33317
|
+
* @summary Analyse the latest build of an application
|
|
33318
|
+
* @param {string} applicationId Application ID
|
|
33319
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
33320
|
+
* @param {*} [options] Override http request option.
|
|
33321
|
+
* @throws {RequiredError}
|
|
33322
|
+
* @memberof ApplicationBuildAnalysisApi
|
|
33323
|
+
*/
|
|
33324
|
+
public startApplicationBuildAnalysis(applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig) {
|
|
33325
|
+
return ApplicationBuildAnalysisApiFp(this.configuration).startApplicationBuildAnalysis(applicationId, buildAnalysisStartRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33326
|
+
}
|
|
33231
33327
|
}
|
|
33232
33328
|
|
|
33233
33329
|
|
|
@@ -56761,14 +56857,13 @@ export class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
56761
56857
|
export const EnvironmentExportApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
56762
56858
|
return {
|
|
56763
56859
|
/**
|
|
56764
|
-
*
|
|
56860
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56765
56861
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56766
56862
|
* @param {string} environmentId Environment ID
|
|
56767
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56768
56863
|
* @param {*} [options] Override http request option.
|
|
56769
56864
|
* @throws {RequiredError}
|
|
56770
56865
|
*/
|
|
56771
|
-
exportEnvironmentConfigurationIntoTerraform: async (environmentId: string,
|
|
56866
|
+
exportEnvironmentConfigurationIntoTerraform: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56772
56867
|
// verify required parameter 'environmentId' is not null or undefined
|
|
56773
56868
|
assertParamExists('exportEnvironmentConfigurationIntoTerraform', 'environmentId', environmentId)
|
|
56774
56869
|
const localVarPath = `/environment/{environmentId}/terraformExport`
|
|
@@ -56791,10 +56886,6 @@ export const EnvironmentExportApiAxiosParamCreator = function (configuration?: C
|
|
|
56791
56886
|
// http bearer authentication required
|
|
56792
56887
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56793
56888
|
|
|
56794
|
-
if (exportSecrets !== undefined) {
|
|
56795
|
-
localVarQueryParameter['exportSecrets'] = exportSecrets;
|
|
56796
|
-
}
|
|
56797
|
-
|
|
56798
56889
|
|
|
56799
56890
|
|
|
56800
56891
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -56817,15 +56908,14 @@ export const EnvironmentExportApiFp = function(configuration?: Configuration) {
|
|
|
56817
56908
|
const localVarAxiosParamCreator = EnvironmentExportApiAxiosParamCreator(configuration)
|
|
56818
56909
|
return {
|
|
56819
56910
|
/**
|
|
56820
|
-
*
|
|
56911
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56821
56912
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56822
56913
|
* @param {string} environmentId Environment ID
|
|
56823
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56824
56914
|
* @param {*} [options] Override http request option.
|
|
56825
56915
|
* @throws {RequiredError}
|
|
56826
56916
|
*/
|
|
56827
|
-
async exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
56828
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
56917
|
+
async exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
56918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportEnvironmentConfigurationIntoTerraform(environmentId, options);
|
|
56829
56919
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
56830
56920
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentExportApi.exportEnvironmentConfigurationIntoTerraform']?.[localVarOperationServerIndex]?.url;
|
|
56831
56921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -56841,15 +56931,14 @@ export const EnvironmentExportApiFactory = function (configuration?: Configurati
|
|
|
56841
56931
|
const localVarFp = EnvironmentExportApiFp(configuration)
|
|
56842
56932
|
return {
|
|
56843
56933
|
/**
|
|
56844
|
-
*
|
|
56934
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56845
56935
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56846
56936
|
* @param {string} environmentId Environment ID
|
|
56847
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56848
56937
|
* @param {*} [options] Override http request option.
|
|
56849
56938
|
* @throws {RequiredError}
|
|
56850
56939
|
*/
|
|
56851
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
56852
|
-
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
56940
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
56941
|
+
return localVarFp.exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(axios, basePath));
|
|
56853
56942
|
},
|
|
56854
56943
|
};
|
|
56855
56944
|
};
|
|
@@ -56862,16 +56951,15 @@ export const EnvironmentExportApiFactory = function (configuration?: Configurati
|
|
|
56862
56951
|
*/
|
|
56863
56952
|
export class EnvironmentExportApi extends BaseAPI {
|
|
56864
56953
|
/**
|
|
56865
|
-
*
|
|
56954
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
56866
56955
|
* @summary Export full environment and its resources into Terraform manifests
|
|
56867
56956
|
* @param {string} environmentId Environment ID
|
|
56868
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
56869
56957
|
* @param {*} [options] Override http request option.
|
|
56870
56958
|
* @throws {RequiredError}
|
|
56871
56959
|
* @memberof EnvironmentExportApi
|
|
56872
56960
|
*/
|
|
56873
|
-
public exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
56874
|
-
return EnvironmentExportApiFp(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId,
|
|
56961
|
+
public exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
56962
|
+
return EnvironmentExportApiFp(this.configuration).exportEnvironmentConfigurationIntoTerraform(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
56875
56963
|
}
|
|
56876
56964
|
}
|
|
56877
56965
|
|
|
@@ -63654,6 +63742,53 @@ export const JobBuildAnalysisApiAxiosParamCreator = function (configuration?: Co
|
|
|
63654
63742
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63655
63743
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63656
63744
|
|
|
63745
|
+
return {
|
|
63746
|
+
url: toPathString(localVarUrlObj),
|
|
63747
|
+
options: localVarRequestOptions,
|
|
63748
|
+
};
|
|
63749
|
+
},
|
|
63750
|
+
/**
|
|
63751
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
63752
|
+
* @summary Analyse the latest build of a job
|
|
63753
|
+
* @param {string} jobId Job ID
|
|
63754
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
63755
|
+
* @param {*} [options] Override http request option.
|
|
63756
|
+
* @throws {RequiredError}
|
|
63757
|
+
*/
|
|
63758
|
+
startJobBuildAnalysis: async (jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63759
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
63760
|
+
assertParamExists('startJobBuildAnalysis', 'jobId', jobId)
|
|
63761
|
+
// verify required parameter 'buildAnalysisStartRequest' is not null or undefined
|
|
63762
|
+
assertParamExists('startJobBuildAnalysis', 'buildAnalysisStartRequest', buildAnalysisStartRequest)
|
|
63763
|
+
const localVarPath = `/job/{jobId}/buildAnalysis`
|
|
63764
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
63765
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63766
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63767
|
+
let baseOptions;
|
|
63768
|
+
if (configuration) {
|
|
63769
|
+
baseOptions = configuration.baseOptions;
|
|
63770
|
+
}
|
|
63771
|
+
|
|
63772
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63773
|
+
const localVarHeaderParameter = {} as any;
|
|
63774
|
+
const localVarQueryParameter = {} as any;
|
|
63775
|
+
|
|
63776
|
+
// authentication ApiKeyAuth required
|
|
63777
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
63778
|
+
|
|
63779
|
+
// authentication bearerAuth required
|
|
63780
|
+
// http bearer authentication required
|
|
63781
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63782
|
+
|
|
63783
|
+
|
|
63784
|
+
|
|
63785
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
63786
|
+
|
|
63787
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
63789
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
63790
|
+
localVarRequestOptions.data = serializeDataIfNeeded(buildAnalysisStartRequest, localVarRequestOptions, configuration)
|
|
63791
|
+
|
|
63657
63792
|
return {
|
|
63658
63793
|
url: toPathString(localVarUrlObj),
|
|
63659
63794
|
options: localVarRequestOptions,
|
|
@@ -63682,6 +63817,20 @@ export const JobBuildAnalysisApiFp = function(configuration?: Configuration) {
|
|
|
63682
63817
|
const localVarOperationServerBasePath = operationServerMap['JobBuildAnalysisApi.getJobBuildAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
63683
63818
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63684
63819
|
},
|
|
63820
|
+
/**
|
|
63821
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
63822
|
+
* @summary Analyse the latest build of a job
|
|
63823
|
+
* @param {string} jobId Job ID
|
|
63824
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
63825
|
+
* @param {*} [options] Override http request option.
|
|
63826
|
+
* @throws {RequiredError}
|
|
63827
|
+
*/
|
|
63828
|
+
async startJobBuildAnalysis(jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildAnalysisResponse>> {
|
|
63829
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.startJobBuildAnalysis(jobId, buildAnalysisStartRequest, options);
|
|
63830
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
63831
|
+
const localVarOperationServerBasePath = operationServerMap['JobBuildAnalysisApi.startJobBuildAnalysis']?.[localVarOperationServerIndex]?.url;
|
|
63832
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
63833
|
+
},
|
|
63685
63834
|
}
|
|
63686
63835
|
};
|
|
63687
63836
|
|
|
@@ -63702,6 +63851,17 @@ export const JobBuildAnalysisApiFactory = function (configuration?: Configuratio
|
|
|
63702
63851
|
getJobBuildAnalysis(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisState> {
|
|
63703
63852
|
return localVarFp.getJobBuildAnalysis(jobId, options).then((request) => request(axios, basePath));
|
|
63704
63853
|
},
|
|
63854
|
+
/**
|
|
63855
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
63856
|
+
* @summary Analyse the latest build of a job
|
|
63857
|
+
* @param {string} jobId Job ID
|
|
63858
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
63859
|
+
* @param {*} [options] Override http request option.
|
|
63860
|
+
* @throws {RequiredError}
|
|
63861
|
+
*/
|
|
63862
|
+
startJobBuildAnalysis(jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisResponse> {
|
|
63863
|
+
return localVarFp.startJobBuildAnalysis(jobId, buildAnalysisStartRequest, options).then((request) => request(axios, basePath));
|
|
63864
|
+
},
|
|
63705
63865
|
};
|
|
63706
63866
|
};
|
|
63707
63867
|
|
|
@@ -63723,6 +63883,19 @@ export class JobBuildAnalysisApi extends BaseAPI {
|
|
|
63723
63883
|
public getJobBuildAnalysis(jobId: string, options?: RawAxiosRequestConfig) {
|
|
63724
63884
|
return JobBuildAnalysisApiFp(this.configuration).getJobBuildAnalysis(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
63725
63885
|
}
|
|
63886
|
+
|
|
63887
|
+
/**
|
|
63888
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
63889
|
+
* @summary Analyse the latest build of a job
|
|
63890
|
+
* @param {string} jobId Job ID
|
|
63891
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
63892
|
+
* @param {*} [options] Override http request option.
|
|
63893
|
+
* @throws {RequiredError}
|
|
63894
|
+
* @memberof JobBuildAnalysisApi
|
|
63895
|
+
*/
|
|
63896
|
+
public startJobBuildAnalysis(jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig) {
|
|
63897
|
+
return JobBuildAnalysisApiFp(this.configuration).startJobBuildAnalysis(jobId, buildAnalysisStartRequest, options).then((request) => request(this.axios, this.basePath));
|
|
63898
|
+
}
|
|
63726
63899
|
}
|
|
63727
63900
|
|
|
63728
63901
|
|
package/dist/api.d.ts
CHANGED
|
@@ -5611,23 +5611,21 @@ export declare const BuildAnalysisConfidence: {
|
|
|
5611
5611
|
};
|
|
5612
5612
|
export type BuildAnalysisConfidence = typeof BuildAnalysisConfidence[keyof typeof BuildAnalysisConfidence];
|
|
5613
5613
|
/**
|
|
5614
|
-
* Where the analysed Dockerfile came from. GIT is the repository at the build commit, INLINE the Dockerfile stored on the job
|
|
5614
|
+
* Where the analysed Dockerfile came from. GIT is the repository at the build commit, INLINE the Dockerfile stored on the job.
|
|
5615
5615
|
* @export
|
|
5616
5616
|
* @enum {string}
|
|
5617
5617
|
*/
|
|
5618
5618
|
export declare const BuildAnalysisDockerfileSource: {
|
|
5619
5619
|
readonly GIT: "GIT";
|
|
5620
5620
|
readonly INLINE: "INLINE";
|
|
5621
|
-
readonly PASTE: "PASTE";
|
|
5622
5621
|
};
|
|
5623
5622
|
export type BuildAnalysisDockerfileSource = typeof BuildAnalysisDockerfileSource[keyof typeof BuildAnalysisDockerfileSource];
|
|
5624
5623
|
/**
|
|
5625
|
-
*
|
|
5624
|
+
* MODEL_ERROR when the model call failed or returned an invalid result, TIMEOUT when the analysis took too long, INTERNAL_ERROR otherwise.
|
|
5626
5625
|
* @export
|
|
5627
5626
|
* @enum {string}
|
|
5628
5627
|
*/
|
|
5629
5628
|
export declare const BuildAnalysisFailureCode: {
|
|
5630
|
-
readonly COPILOT_DISABLED: "COPILOT_DISABLED";
|
|
5631
5629
|
readonly MODEL_ERROR: "MODEL_ERROR";
|
|
5632
5630
|
readonly TIMEOUT: "TIMEOUT";
|
|
5633
5631
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
@@ -5755,6 +5753,19 @@ export interface BuildAnalysisResult {
|
|
|
5755
5753
|
*/
|
|
5756
5754
|
'agent_prompt': string;
|
|
5757
5755
|
}
|
|
5756
|
+
/**
|
|
5757
|
+
*
|
|
5758
|
+
* @export
|
|
5759
|
+
* @interface BuildAnalysisStartRequest
|
|
5760
|
+
*/
|
|
5761
|
+
export interface BuildAnalysisStartRequest {
|
|
5762
|
+
/**
|
|
5763
|
+
* Execution id of the build to analyse. It must be the latest build of the service, `latest_build_execution_id` in `BuildAnalysisState`.
|
|
5764
|
+
* @type {string}
|
|
5765
|
+
* @memberof BuildAnalysisStartRequest
|
|
5766
|
+
*/
|
|
5767
|
+
'execution_id': string;
|
|
5768
|
+
}
|
|
5758
5769
|
/**
|
|
5759
5770
|
*
|
|
5760
5771
|
* @export
|
|
@@ -5775,7 +5786,7 @@ export interface BuildAnalysisState {
|
|
|
5775
5786
|
'analysis': BuildAnalysisResponse | null;
|
|
5776
5787
|
}
|
|
5777
5788
|
/**
|
|
5778
|
-
* PENDING is queued, COLLECTING reads the build logs and the cache history, ANALYSING waits for the model, then DONE or FAILED.
|
|
5789
|
+
* PENDING is queued, COLLECTING reads the build logs and the cache history, ANALYSING waits for the model, then DONE or FAILED. The Dockerfile is resolved before the start answers 202.
|
|
5779
5790
|
* @export
|
|
5780
5791
|
* @enum {string}
|
|
5781
5792
|
*/
|
|
@@ -30756,6 +30767,15 @@ export declare const ApplicationBuildAnalysisApiAxiosParamCreator: (configuratio
|
|
|
30756
30767
|
* @throws {RequiredError}
|
|
30757
30768
|
*/
|
|
30758
30769
|
getApplicationBuildAnalysis: (applicationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30770
|
+
/**
|
|
30771
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
30772
|
+
* @summary Analyse the latest build of an application
|
|
30773
|
+
* @param {string} applicationId Application ID
|
|
30774
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
30775
|
+
* @param {*} [options] Override http request option.
|
|
30776
|
+
* @throws {RequiredError}
|
|
30777
|
+
*/
|
|
30778
|
+
startApplicationBuildAnalysis: (applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30759
30779
|
};
|
|
30760
30780
|
/**
|
|
30761
30781
|
* ApplicationBuildAnalysisApi - functional programming interface
|
|
@@ -30770,6 +30790,15 @@ export declare const ApplicationBuildAnalysisApiFp: (configuration?: Configurati
|
|
|
30770
30790
|
* @throws {RequiredError}
|
|
30771
30791
|
*/
|
|
30772
30792
|
getApplicationBuildAnalysis(applicationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildAnalysisState>>;
|
|
30793
|
+
/**
|
|
30794
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
30795
|
+
* @summary Analyse the latest build of an application
|
|
30796
|
+
* @param {string} applicationId Application ID
|
|
30797
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
30798
|
+
* @param {*} [options] Override http request option.
|
|
30799
|
+
* @throws {RequiredError}
|
|
30800
|
+
*/
|
|
30801
|
+
startApplicationBuildAnalysis(applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildAnalysisResponse>>;
|
|
30773
30802
|
};
|
|
30774
30803
|
/**
|
|
30775
30804
|
* ApplicationBuildAnalysisApi - factory interface
|
|
@@ -30784,6 +30813,15 @@ export declare const ApplicationBuildAnalysisApiFactory: (configuration?: Config
|
|
|
30784
30813
|
* @throws {RequiredError}
|
|
30785
30814
|
*/
|
|
30786
30815
|
getApplicationBuildAnalysis(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisState>;
|
|
30816
|
+
/**
|
|
30817
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
30818
|
+
* @summary Analyse the latest build of an application
|
|
30819
|
+
* @param {string} applicationId Application ID
|
|
30820
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
30821
|
+
* @param {*} [options] Override http request option.
|
|
30822
|
+
* @throws {RequiredError}
|
|
30823
|
+
*/
|
|
30824
|
+
startApplicationBuildAnalysis(applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisResponse>;
|
|
30787
30825
|
};
|
|
30788
30826
|
/**
|
|
30789
30827
|
* ApplicationBuildAnalysisApi - object-oriented interface
|
|
@@ -30801,6 +30839,16 @@ export declare class ApplicationBuildAnalysisApi extends BaseAPI {
|
|
|
30801
30839
|
* @memberof ApplicationBuildAnalysisApi
|
|
30802
30840
|
*/
|
|
30803
30841
|
getApplicationBuildAnalysis(applicationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildAnalysisState, any, {}, any>>;
|
|
30842
|
+
/**
|
|
30843
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
30844
|
+
* @summary Analyse the latest build of an application
|
|
30845
|
+
* @param {string} applicationId Application ID
|
|
30846
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
30847
|
+
* @param {*} [options] Override http request option.
|
|
30848
|
+
* @throws {RequiredError}
|
|
30849
|
+
* @memberof ApplicationBuildAnalysisApi
|
|
30850
|
+
*/
|
|
30851
|
+
startApplicationBuildAnalysis(applicationId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildAnalysisResponse, any, {}, any>>;
|
|
30804
30852
|
}
|
|
30805
30853
|
/**
|
|
30806
30854
|
* ApplicationConfigurationApi - axios parameter creator
|
|
@@ -41543,14 +41591,13 @@ export declare class EnvironmentDeploymentRuleApi extends BaseAPI {
|
|
|
41543
41591
|
*/
|
|
41544
41592
|
export declare const EnvironmentExportApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
41545
41593
|
/**
|
|
41546
|
-
*
|
|
41594
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41547
41595
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41548
41596
|
* @param {string} environmentId Environment ID
|
|
41549
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41550
41597
|
* @param {*} [options] Override http request option.
|
|
41551
41598
|
* @throws {RequiredError}
|
|
41552
41599
|
*/
|
|
41553
|
-
exportEnvironmentConfigurationIntoTerraform: (environmentId: string,
|
|
41600
|
+
exportEnvironmentConfigurationIntoTerraform: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
41554
41601
|
};
|
|
41555
41602
|
/**
|
|
41556
41603
|
* EnvironmentExportApi - functional programming interface
|
|
@@ -41558,14 +41605,13 @@ export declare const EnvironmentExportApiAxiosParamCreator: (configuration?: Con
|
|
|
41558
41605
|
*/
|
|
41559
41606
|
export declare const EnvironmentExportApiFp: (configuration?: Configuration) => {
|
|
41560
41607
|
/**
|
|
41561
|
-
*
|
|
41608
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41562
41609
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41563
41610
|
* @param {string} environmentId Environment ID
|
|
41564
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41565
41611
|
* @param {*} [options] Override http request option.
|
|
41566
41612
|
* @throws {RequiredError}
|
|
41567
41613
|
*/
|
|
41568
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41614
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
|
|
41569
41615
|
};
|
|
41570
41616
|
/**
|
|
41571
41617
|
* EnvironmentExportApi - factory interface
|
|
@@ -41573,14 +41619,13 @@ export declare const EnvironmentExportApiFp: (configuration?: Configuration) =>
|
|
|
41573
41619
|
*/
|
|
41574
41620
|
export declare const EnvironmentExportApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
41575
41621
|
/**
|
|
41576
|
-
*
|
|
41622
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41577
41623
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41578
41624
|
* @param {string} environmentId Environment ID
|
|
41579
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41580
41625
|
* @param {*} [options] Override http request option.
|
|
41581
41626
|
* @throws {RequiredError}
|
|
41582
41627
|
*/
|
|
41583
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41628
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
|
41584
41629
|
};
|
|
41585
41630
|
/**
|
|
41586
41631
|
* EnvironmentExportApi - object-oriented interface
|
|
@@ -41590,15 +41635,14 @@ export declare const EnvironmentExportApiFactory: (configuration?: Configuration
|
|
|
41590
41635
|
*/
|
|
41591
41636
|
export declare class EnvironmentExportApi extends BaseAPI {
|
|
41592
41637
|
/**
|
|
41593
|
-
*
|
|
41638
|
+
* Secret values are never included in the export. Service secrets are preserved as empty input variables marked Redacted. Cloud, Git, registry and cluster credentials must be supplied through input variables without defaults.
|
|
41594
41639
|
* @summary Export full environment and its resources into Terraform manifests
|
|
41595
41640
|
* @param {string} environmentId Environment ID
|
|
41596
|
-
* @param {boolean} [exportSecrets] export Secrets from configuration and include them into Terraform export
|
|
41597
41641
|
* @param {*} [options] Override http request option.
|
|
41598
41642
|
* @throws {RequiredError}
|
|
41599
41643
|
* @memberof EnvironmentExportApi
|
|
41600
41644
|
*/
|
|
41601
|
-
exportEnvironmentConfigurationIntoTerraform(environmentId: string,
|
|
41645
|
+
exportEnvironmentConfigurationIntoTerraform(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
|
|
41602
41646
|
}
|
|
41603
41647
|
/**
|
|
41604
41648
|
* EnvironmentLogsApi - axios parameter creator
|
|
@@ -44738,6 +44782,15 @@ export declare const JobBuildAnalysisApiAxiosParamCreator: (configuration?: Conf
|
|
|
44738
44782
|
* @throws {RequiredError}
|
|
44739
44783
|
*/
|
|
44740
44784
|
getJobBuildAnalysis: (jobId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44785
|
+
/**
|
|
44786
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
44787
|
+
* @summary Analyse the latest build of a job
|
|
44788
|
+
* @param {string} jobId Job ID
|
|
44789
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
44790
|
+
* @param {*} [options] Override http request option.
|
|
44791
|
+
* @throws {RequiredError}
|
|
44792
|
+
*/
|
|
44793
|
+
startJobBuildAnalysis: (jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
44741
44794
|
};
|
|
44742
44795
|
/**
|
|
44743
44796
|
* JobBuildAnalysisApi - functional programming interface
|
|
@@ -44752,6 +44805,15 @@ export declare const JobBuildAnalysisApiFp: (configuration?: Configuration) => {
|
|
|
44752
44805
|
* @throws {RequiredError}
|
|
44753
44806
|
*/
|
|
44754
44807
|
getJobBuildAnalysis(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildAnalysisState>>;
|
|
44808
|
+
/**
|
|
44809
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
44810
|
+
* @summary Analyse the latest build of a job
|
|
44811
|
+
* @param {string} jobId Job ID
|
|
44812
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
44813
|
+
* @param {*} [options] Override http request option.
|
|
44814
|
+
* @throws {RequiredError}
|
|
44815
|
+
*/
|
|
44816
|
+
startJobBuildAnalysis(jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BuildAnalysisResponse>>;
|
|
44755
44817
|
};
|
|
44756
44818
|
/**
|
|
44757
44819
|
* JobBuildAnalysisApi - factory interface
|
|
@@ -44766,6 +44828,15 @@ export declare const JobBuildAnalysisApiFactory: (configuration?: Configuration,
|
|
|
44766
44828
|
* @throws {RequiredError}
|
|
44767
44829
|
*/
|
|
44768
44830
|
getJobBuildAnalysis(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisState>;
|
|
44831
|
+
/**
|
|
44832
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
44833
|
+
* @summary Analyse the latest build of a job
|
|
44834
|
+
* @param {string} jobId Job ID
|
|
44835
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
44836
|
+
* @param {*} [options] Override http request option.
|
|
44837
|
+
* @throws {RequiredError}
|
|
44838
|
+
*/
|
|
44839
|
+
startJobBuildAnalysis(jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): AxiosPromise<BuildAnalysisResponse>;
|
|
44769
44840
|
};
|
|
44770
44841
|
/**
|
|
44771
44842
|
* JobBuildAnalysisApi - object-oriented interface
|
|
@@ -44783,6 +44854,16 @@ export declare class JobBuildAnalysisApi extends BaseAPI {
|
|
|
44783
44854
|
* @memberof JobBuildAnalysisApi
|
|
44784
44855
|
*/
|
|
44785
44856
|
getJobBuildAnalysis(jobId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildAnalysisState, any, {}, any>>;
|
|
44857
|
+
/**
|
|
44858
|
+
* Starts an AI analysis of the latest build of the service. It runs in the background and reports its progress on the websocket route `/build/analysis`. The result gives a confidence, the estimated time saved, what was reviewed, a summary, the improvements to make, a prompt for the customer\'s own AI agent, and a reworked Dockerfile when an improvement is a Dockerfile change. Starting an analysis replaces the previous one. It never changes the build or the image.
|
|
44859
|
+
* @summary Analyse the latest build of a job
|
|
44860
|
+
* @param {string} jobId Job ID
|
|
44861
|
+
* @param {BuildAnalysisStartRequest} buildAnalysisStartRequest
|
|
44862
|
+
* @param {*} [options] Override http request option.
|
|
44863
|
+
* @throws {RequiredError}
|
|
44864
|
+
* @memberof JobBuildAnalysisApi
|
|
44865
|
+
*/
|
|
44866
|
+
startJobBuildAnalysis(jobId: string, buildAnalysisStartRequest: BuildAnalysisStartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BuildAnalysisResponse, any, {}, any>>;
|
|
44786
44867
|
}
|
|
44787
44868
|
/**
|
|
44788
44869
|
* JobConfigurationApi - axios parameter creator
|