qovery-typescript-axios 1.1.438 → 1.1.440
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 +231 -0
- package/dist/api.d.ts +138 -0
- package/dist/api.js +160 -8
- package/dist/esm/api.d.ts +138 -0
- package/dist/esm/api.js +152 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1655,6 +1655,51 @@ export interface CancelEnvironmentDeploymentRequest {
|
|
|
1655
1655
|
*/
|
|
1656
1656
|
'force_cancel'?: boolean;
|
|
1657
1657
|
}
|
|
1658
|
+
/**
|
|
1659
|
+
*
|
|
1660
|
+
* @export
|
|
1661
|
+
* @interface CleanFailedJob200Response
|
|
1662
|
+
*/
|
|
1663
|
+
export interface CleanFailedJob200Response {
|
|
1664
|
+
/**
|
|
1665
|
+
*
|
|
1666
|
+
* @type {Array<string>}
|
|
1667
|
+
* @memberof CleanFailedJob200Response
|
|
1668
|
+
*/
|
|
1669
|
+
'clean_kubernetes_jobs'?: Array<string>;
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
*
|
|
1673
|
+
* @export
|
|
1674
|
+
* @interface CleanFailedJobs200Response
|
|
1675
|
+
*/
|
|
1676
|
+
export interface CleanFailedJobs200Response {
|
|
1677
|
+
/**
|
|
1678
|
+
*
|
|
1679
|
+
* @type {Array<string>}
|
|
1680
|
+
* @memberof CleanFailedJobs200Response
|
|
1681
|
+
*/
|
|
1682
|
+
'clean_job_ids'?: Array<string>;
|
|
1683
|
+
/**
|
|
1684
|
+
*
|
|
1685
|
+
* @type {Array<string>}
|
|
1686
|
+
* @memberof CleanFailedJobs200Response
|
|
1687
|
+
*/
|
|
1688
|
+
'clean_kubernetes_jobs'?: Array<string>;
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @export
|
|
1693
|
+
* @interface CleanFailedJobsRequest
|
|
1694
|
+
*/
|
|
1695
|
+
export interface CleanFailedJobsRequest {
|
|
1696
|
+
/**
|
|
1697
|
+
*
|
|
1698
|
+
* @type {Array<string>}
|
|
1699
|
+
* @memberof CleanFailedJobsRequest
|
|
1700
|
+
*/
|
|
1701
|
+
'job_ids'?: Array<string>;
|
|
1702
|
+
}
|
|
1658
1703
|
/**
|
|
1659
1704
|
*
|
|
1660
1705
|
* @export
|
|
@@ -9191,6 +9236,21 @@ export const JobForceEvent = {
|
|
|
9191
9236
|
export type JobForceEvent = typeof JobForceEvent[keyof typeof JobForceEvent];
|
|
9192
9237
|
|
|
9193
9238
|
|
|
9239
|
+
/**
|
|
9240
|
+
*
|
|
9241
|
+
* @export
|
|
9242
|
+
* @enum {string}
|
|
9243
|
+
*/
|
|
9244
|
+
|
|
9245
|
+
export const JobLifecycleTypeEnum = {
|
|
9246
|
+
GENERIC: 'GENERIC',
|
|
9247
|
+
TERRAFORM: 'TERRAFORM',
|
|
9248
|
+
CLOUDFORMATION: 'CLOUDFORMATION'
|
|
9249
|
+
} as const;
|
|
9250
|
+
|
|
9251
|
+
export type JobLifecycleTypeEnum = typeof JobLifecycleTypeEnum[keyof typeof JobLifecycleTypeEnum];
|
|
9252
|
+
|
|
9253
|
+
|
|
9194
9254
|
/**
|
|
9195
9255
|
*
|
|
9196
9256
|
* @export
|
|
@@ -9312,7 +9372,15 @@ export interface JobRequestAllOfSchedule {
|
|
|
9312
9372
|
* @memberof JobRequestAllOfSchedule
|
|
9313
9373
|
*/
|
|
9314
9374
|
'cronjob'?: JobRequestAllOfScheduleCronjob;
|
|
9375
|
+
/**
|
|
9376
|
+
*
|
|
9377
|
+
* @type {JobLifecycleTypeEnum}
|
|
9378
|
+
* @memberof JobRequestAllOfSchedule
|
|
9379
|
+
*/
|
|
9380
|
+
'lifecycle_type'?: JobLifecycleTypeEnum;
|
|
9315
9381
|
}
|
|
9382
|
+
|
|
9383
|
+
|
|
9316
9384
|
/**
|
|
9317
9385
|
*
|
|
9318
9386
|
* @export
|
|
@@ -9728,7 +9796,15 @@ export interface LifecycleJobResponseAllOfSchedule {
|
|
|
9728
9796
|
* @memberof LifecycleJobResponseAllOfSchedule
|
|
9729
9797
|
*/
|
|
9730
9798
|
'on_delete'?: JobRequestAllOfScheduleOnStart;
|
|
9799
|
+
/**
|
|
9800
|
+
*
|
|
9801
|
+
* @type {JobLifecycleTypeEnum}
|
|
9802
|
+
* @memberof LifecycleJobResponseAllOfSchedule
|
|
9803
|
+
*/
|
|
9804
|
+
'lifecycle_type'?: JobLifecycleTypeEnum;
|
|
9731
9805
|
}
|
|
9806
|
+
|
|
9807
|
+
|
|
9732
9808
|
/**
|
|
9733
9809
|
*
|
|
9734
9810
|
* @export
|
|
@@ -31627,6 +31703,51 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
31627
31703
|
options: localVarRequestOptions,
|
|
31628
31704
|
};
|
|
31629
31705
|
},
|
|
31706
|
+
/**
|
|
31707
|
+
*
|
|
31708
|
+
* @summary Clean failed jobs within an environment
|
|
31709
|
+
* @param {string} environmentId
|
|
31710
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
31711
|
+
* @param {*} [options] Override http request option.
|
|
31712
|
+
* @throws {RequiredError}
|
|
31713
|
+
*/
|
|
31714
|
+
cleanFailedJobs: async (environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31715
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
31716
|
+
assertParamExists('cleanFailedJobs', 'environmentId', environmentId)
|
|
31717
|
+
const localVarPath = `/environment/{environmentId}/cleanFailedJobs`
|
|
31718
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
31719
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31720
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31721
|
+
let baseOptions;
|
|
31722
|
+
if (configuration) {
|
|
31723
|
+
baseOptions = configuration.baseOptions;
|
|
31724
|
+
}
|
|
31725
|
+
|
|
31726
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
31727
|
+
const localVarHeaderParameter = {} as any;
|
|
31728
|
+
const localVarQueryParameter = {} as any;
|
|
31729
|
+
|
|
31730
|
+
// authentication ApiKeyAuth required
|
|
31731
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
31732
|
+
|
|
31733
|
+
// authentication bearerAuth required
|
|
31734
|
+
// http bearer authentication required
|
|
31735
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
31736
|
+
|
|
31737
|
+
|
|
31738
|
+
|
|
31739
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
31740
|
+
|
|
31741
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
31742
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
31743
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
31744
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cleanFailedJobsRequest, localVarRequestOptions, configuration)
|
|
31745
|
+
|
|
31746
|
+
return {
|
|
31747
|
+
url: toPathString(localVarUrlObj),
|
|
31748
|
+
options: localVarRequestOptions,
|
|
31749
|
+
};
|
|
31750
|
+
},
|
|
31630
31751
|
/**
|
|
31631
31752
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
31632
31753
|
* @summary Clone environment
|
|
@@ -31997,6 +32118,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
31997
32118
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options);
|
|
31998
32119
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
31999
32120
|
},
|
|
32121
|
+
/**
|
|
32122
|
+
*
|
|
32123
|
+
* @summary Clean failed jobs within an environment
|
|
32124
|
+
* @param {string} environmentId
|
|
32125
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
32126
|
+
* @param {*} [options] Override http request option.
|
|
32127
|
+
* @throws {RequiredError}
|
|
32128
|
+
*/
|
|
32129
|
+
async cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanFailedJobs200Response>> {
|
|
32130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cleanFailedJobs(environmentId, cleanFailedJobsRequest, options);
|
|
32131
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32132
|
+
},
|
|
32000
32133
|
/**
|
|
32001
32134
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
32002
32135
|
* @summary Clone environment
|
|
@@ -32111,6 +32244,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
32111
32244
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: any): AxiosPromise<EnvironmentStatus> {
|
|
32112
32245
|
return localVarFp.cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options).then((request) => request(axios, basePath));
|
|
32113
32246
|
},
|
|
32247
|
+
/**
|
|
32248
|
+
*
|
|
32249
|
+
* @summary Clean failed jobs within an environment
|
|
32250
|
+
* @param {string} environmentId
|
|
32251
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
32252
|
+
* @param {*} [options] Override http request option.
|
|
32253
|
+
* @throws {RequiredError}
|
|
32254
|
+
*/
|
|
32255
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: any): AxiosPromise<CleanFailedJobs200Response> {
|
|
32256
|
+
return localVarFp.cleanFailedJobs(environmentId, cleanFailedJobsRequest, options).then((request) => request(axios, basePath));
|
|
32257
|
+
},
|
|
32114
32258
|
/**
|
|
32115
32259
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
32116
32260
|
* @summary Clone environment
|
|
@@ -32219,6 +32363,19 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
32219
32363
|
return EnvironmentActionsApiFp(this.configuration).cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32220
32364
|
}
|
|
32221
32365
|
|
|
32366
|
+
/**
|
|
32367
|
+
*
|
|
32368
|
+
* @summary Clean failed jobs within an environment
|
|
32369
|
+
* @param {string} environmentId
|
|
32370
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
32371
|
+
* @param {*} [options] Override http request option.
|
|
32372
|
+
* @throws {RequiredError}
|
|
32373
|
+
* @memberof EnvironmentActionsApi
|
|
32374
|
+
*/
|
|
32375
|
+
public cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig) {
|
|
32376
|
+
return EnvironmentActionsApiFp(this.configuration).cleanFailedJobs(environmentId, cleanFailedJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32377
|
+
}
|
|
32378
|
+
|
|
32222
32379
|
/**
|
|
32223
32380
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
32224
32381
|
* @summary Clone environment
|
|
@@ -38636,6 +38793,47 @@ export class HelmsApi extends BaseAPI {
|
|
|
38636
38793
|
*/
|
|
38637
38794
|
export const JobActionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38638
38795
|
return {
|
|
38796
|
+
/**
|
|
38797
|
+
*
|
|
38798
|
+
* @summary Clean a failed job
|
|
38799
|
+
* @param {string} jobId
|
|
38800
|
+
* @param {*} [options] Override http request option.
|
|
38801
|
+
* @throws {RequiredError}
|
|
38802
|
+
*/
|
|
38803
|
+
cleanFailedJob: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38804
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
38805
|
+
assertParamExists('cleanFailedJob', 'jobId', jobId)
|
|
38806
|
+
const localVarPath = `/job/{jobId}/cleanFailedJob`
|
|
38807
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
38808
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38809
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38810
|
+
let baseOptions;
|
|
38811
|
+
if (configuration) {
|
|
38812
|
+
baseOptions = configuration.baseOptions;
|
|
38813
|
+
}
|
|
38814
|
+
|
|
38815
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
38816
|
+
const localVarHeaderParameter = {} as any;
|
|
38817
|
+
const localVarQueryParameter = {} as any;
|
|
38818
|
+
|
|
38819
|
+
// authentication ApiKeyAuth required
|
|
38820
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38821
|
+
|
|
38822
|
+
// authentication bearerAuth required
|
|
38823
|
+
// http bearer authentication required
|
|
38824
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38825
|
+
|
|
38826
|
+
|
|
38827
|
+
|
|
38828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38830
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38831
|
+
|
|
38832
|
+
return {
|
|
38833
|
+
url: toPathString(localVarUrlObj),
|
|
38834
|
+
options: localVarRequestOptions,
|
|
38835
|
+
};
|
|
38836
|
+
},
|
|
38639
38837
|
/**
|
|
38640
38838
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
38641
38839
|
* @summary Deploy job
|
|
@@ -38783,6 +38981,17 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
38783
38981
|
export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
38784
38982
|
const localVarAxiosParamCreator = JobActionsApiAxiosParamCreator(configuration)
|
|
38785
38983
|
return {
|
|
38984
|
+
/**
|
|
38985
|
+
*
|
|
38986
|
+
* @summary Clean a failed job
|
|
38987
|
+
* @param {string} jobId
|
|
38988
|
+
* @param {*} [options] Override http request option.
|
|
38989
|
+
* @throws {RequiredError}
|
|
38990
|
+
*/
|
|
38991
|
+
async cleanFailedJob(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanFailedJob200Response>> {
|
|
38992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cleanFailedJob(jobId, options);
|
|
38993
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38994
|
+
},
|
|
38786
38995
|
/**
|
|
38787
38996
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
38788
38997
|
* @summary Deploy job
|
|
@@ -38829,6 +39038,16 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
38829
39038
|
export const JobActionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38830
39039
|
const localVarFp = JobActionsApiFp(configuration)
|
|
38831
39040
|
return {
|
|
39041
|
+
/**
|
|
39042
|
+
*
|
|
39043
|
+
* @summary Clean a failed job
|
|
39044
|
+
* @param {string} jobId
|
|
39045
|
+
* @param {*} [options] Override http request option.
|
|
39046
|
+
* @throws {RequiredError}
|
|
39047
|
+
*/
|
|
39048
|
+
cleanFailedJob(jobId: string, options?: any): AxiosPromise<CleanFailedJob200Response> {
|
|
39049
|
+
return localVarFp.cleanFailedJob(jobId, options).then((request) => request(axios, basePath));
|
|
39050
|
+
},
|
|
38832
39051
|
/**
|
|
38833
39052
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
38834
39053
|
* @summary Deploy job
|
|
@@ -38872,6 +39091,18 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
38872
39091
|
* @extends {BaseAPI}
|
|
38873
39092
|
*/
|
|
38874
39093
|
export class JobActionsApi extends BaseAPI {
|
|
39094
|
+
/**
|
|
39095
|
+
*
|
|
39096
|
+
* @summary Clean a failed job
|
|
39097
|
+
* @param {string} jobId
|
|
39098
|
+
* @param {*} [options] Override http request option.
|
|
39099
|
+
* @throws {RequiredError}
|
|
39100
|
+
* @memberof JobActionsApi
|
|
39101
|
+
*/
|
|
39102
|
+
public cleanFailedJob(jobId: string, options?: AxiosRequestConfig) {
|
|
39103
|
+
return JobActionsApiFp(this.configuration).cleanFailedJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
39104
|
+
}
|
|
39105
|
+
|
|
38875
39106
|
/**
|
|
38876
39107
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
38877
39108
|
* @summary Deploy job
|
package/dist/api.d.ts
CHANGED
|
@@ -1610,6 +1610,51 @@ export interface CancelEnvironmentDeploymentRequest {
|
|
|
1610
1610
|
*/
|
|
1611
1611
|
'force_cancel'?: boolean;
|
|
1612
1612
|
}
|
|
1613
|
+
/**
|
|
1614
|
+
*
|
|
1615
|
+
* @export
|
|
1616
|
+
* @interface CleanFailedJob200Response
|
|
1617
|
+
*/
|
|
1618
|
+
export interface CleanFailedJob200Response {
|
|
1619
|
+
/**
|
|
1620
|
+
*
|
|
1621
|
+
* @type {Array<string>}
|
|
1622
|
+
* @memberof CleanFailedJob200Response
|
|
1623
|
+
*/
|
|
1624
|
+
'clean_kubernetes_jobs'?: Array<string>;
|
|
1625
|
+
}
|
|
1626
|
+
/**
|
|
1627
|
+
*
|
|
1628
|
+
* @export
|
|
1629
|
+
* @interface CleanFailedJobs200Response
|
|
1630
|
+
*/
|
|
1631
|
+
export interface CleanFailedJobs200Response {
|
|
1632
|
+
/**
|
|
1633
|
+
*
|
|
1634
|
+
* @type {Array<string>}
|
|
1635
|
+
* @memberof CleanFailedJobs200Response
|
|
1636
|
+
*/
|
|
1637
|
+
'clean_job_ids'?: Array<string>;
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @type {Array<string>}
|
|
1641
|
+
* @memberof CleanFailedJobs200Response
|
|
1642
|
+
*/
|
|
1643
|
+
'clean_kubernetes_jobs'?: Array<string>;
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @export
|
|
1648
|
+
* @interface CleanFailedJobsRequest
|
|
1649
|
+
*/
|
|
1650
|
+
export interface CleanFailedJobsRequest {
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @type {Array<string>}
|
|
1654
|
+
* @memberof CleanFailedJobsRequest
|
|
1655
|
+
*/
|
|
1656
|
+
'job_ids'?: Array<string>;
|
|
1657
|
+
}
|
|
1613
1658
|
/**
|
|
1614
1659
|
*
|
|
1615
1660
|
* @export
|
|
@@ -8921,6 +8966,17 @@ export declare const JobForceEvent: {
|
|
|
8921
8966
|
readonly CRON: "CRON";
|
|
8922
8967
|
};
|
|
8923
8968
|
export type JobForceEvent = typeof JobForceEvent[keyof typeof JobForceEvent];
|
|
8969
|
+
/**
|
|
8970
|
+
*
|
|
8971
|
+
* @export
|
|
8972
|
+
* @enum {string}
|
|
8973
|
+
*/
|
|
8974
|
+
export declare const JobLifecycleTypeEnum: {
|
|
8975
|
+
readonly GENERIC: "GENERIC";
|
|
8976
|
+
readonly TERRAFORM: "TERRAFORM";
|
|
8977
|
+
readonly CLOUDFORMATION: "CLOUDFORMATION";
|
|
8978
|
+
};
|
|
8979
|
+
export type JobLifecycleTypeEnum = typeof JobLifecycleTypeEnum[keyof typeof JobLifecycleTypeEnum];
|
|
8924
8980
|
/**
|
|
8925
8981
|
*
|
|
8926
8982
|
* @export
|
|
@@ -9042,6 +9098,12 @@ export interface JobRequestAllOfSchedule {
|
|
|
9042
9098
|
* @memberof JobRequestAllOfSchedule
|
|
9043
9099
|
*/
|
|
9044
9100
|
'cronjob'?: JobRequestAllOfScheduleCronjob;
|
|
9101
|
+
/**
|
|
9102
|
+
*
|
|
9103
|
+
* @type {JobLifecycleTypeEnum}
|
|
9104
|
+
* @memberof JobRequestAllOfSchedule
|
|
9105
|
+
*/
|
|
9106
|
+
'lifecycle_type'?: JobLifecycleTypeEnum;
|
|
9045
9107
|
}
|
|
9046
9108
|
/**
|
|
9047
9109
|
*
|
|
@@ -9446,6 +9508,12 @@ export interface LifecycleJobResponseAllOfSchedule {
|
|
|
9446
9508
|
* @memberof LifecycleJobResponseAllOfSchedule
|
|
9447
9509
|
*/
|
|
9448
9510
|
'on_delete'?: JobRequestAllOfScheduleOnStart;
|
|
9511
|
+
/**
|
|
9512
|
+
*
|
|
9513
|
+
* @type {JobLifecycleTypeEnum}
|
|
9514
|
+
* @memberof LifecycleJobResponseAllOfSchedule
|
|
9515
|
+
*/
|
|
9516
|
+
'lifecycle_type'?: JobLifecycleTypeEnum;
|
|
9449
9517
|
}
|
|
9450
9518
|
/**
|
|
9451
9519
|
*
|
|
@@ -21929,6 +21997,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
|
|
|
21929
21997
|
* @throws {RequiredError}
|
|
21930
21998
|
*/
|
|
21931
21999
|
cancelEnvironmentDeployment: (environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22000
|
+
/**
|
|
22001
|
+
*
|
|
22002
|
+
* @summary Clean failed jobs within an environment
|
|
22003
|
+
* @param {string} environmentId
|
|
22004
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22005
|
+
* @param {*} [options] Override http request option.
|
|
22006
|
+
* @throws {RequiredError}
|
|
22007
|
+
*/
|
|
22008
|
+
cleanFailedJobs: (environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21932
22009
|
/**
|
|
21933
22010
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
21934
22011
|
* @summary Clone environment
|
|
@@ -22013,6 +22090,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
|
|
|
22013
22090
|
* @throws {RequiredError}
|
|
22014
22091
|
*/
|
|
22015
22092
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>>;
|
|
22093
|
+
/**
|
|
22094
|
+
*
|
|
22095
|
+
* @summary Clean failed jobs within an environment
|
|
22096
|
+
* @param {string} environmentId
|
|
22097
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22098
|
+
* @param {*} [options] Override http request option.
|
|
22099
|
+
* @throws {RequiredError}
|
|
22100
|
+
*/
|
|
22101
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanFailedJobs200Response>>;
|
|
22016
22102
|
/**
|
|
22017
22103
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
22018
22104
|
* @summary Clone environment
|
|
@@ -22097,6 +22183,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
|
|
|
22097
22183
|
* @throws {RequiredError}
|
|
22098
22184
|
*/
|
|
22099
22185
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: any): AxiosPromise<EnvironmentStatus>;
|
|
22186
|
+
/**
|
|
22187
|
+
*
|
|
22188
|
+
* @summary Clean failed jobs within an environment
|
|
22189
|
+
* @param {string} environmentId
|
|
22190
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22191
|
+
* @param {*} [options] Override http request option.
|
|
22192
|
+
* @throws {RequiredError}
|
|
22193
|
+
*/
|
|
22194
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: any): AxiosPromise<CleanFailedJobs200Response>;
|
|
22100
22195
|
/**
|
|
22101
22196
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
22102
22197
|
* @summary Clone environment
|
|
@@ -22184,6 +22279,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
22184
22279
|
* @memberof EnvironmentActionsApi
|
|
22185
22280
|
*/
|
|
22186
22281
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatus, any>>;
|
|
22282
|
+
/**
|
|
22283
|
+
*
|
|
22284
|
+
* @summary Clean failed jobs within an environment
|
|
22285
|
+
* @param {string} environmentId
|
|
22286
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22287
|
+
* @param {*} [options] Override http request option.
|
|
22288
|
+
* @throws {RequiredError}
|
|
22289
|
+
* @memberof EnvironmentActionsApi
|
|
22290
|
+
*/
|
|
22291
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanFailedJobs200Response, any>>;
|
|
22187
22292
|
/**
|
|
22188
22293
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
22189
22294
|
* @summary Clone environment
|
|
@@ -25282,6 +25387,14 @@ export declare class HelmsApi extends BaseAPI {
|
|
|
25282
25387
|
* @export
|
|
25283
25388
|
*/
|
|
25284
25389
|
export declare const JobActionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25390
|
+
/**
|
|
25391
|
+
*
|
|
25392
|
+
* @summary Clean a failed job
|
|
25393
|
+
* @param {string} jobId
|
|
25394
|
+
* @param {*} [options] Override http request option.
|
|
25395
|
+
* @throws {RequiredError}
|
|
25396
|
+
*/
|
|
25397
|
+
cleanFailedJob: (jobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25285
25398
|
/**
|
|
25286
25399
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25287
25400
|
* @summary Deploy job
|
|
@@ -25315,6 +25428,14 @@ export declare const JobActionsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
25315
25428
|
* @export
|
|
25316
25429
|
*/
|
|
25317
25430
|
export declare const JobActionsApiFp: (configuration?: Configuration) => {
|
|
25431
|
+
/**
|
|
25432
|
+
*
|
|
25433
|
+
* @summary Clean a failed job
|
|
25434
|
+
* @param {string} jobId
|
|
25435
|
+
* @param {*} [options] Override http request option.
|
|
25436
|
+
* @throws {RequiredError}
|
|
25437
|
+
*/
|
|
25438
|
+
cleanFailedJob(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanFailedJob200Response>>;
|
|
25318
25439
|
/**
|
|
25319
25440
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25320
25441
|
* @summary Deploy job
|
|
@@ -25348,6 +25469,14 @@ export declare const JobActionsApiFp: (configuration?: Configuration) => {
|
|
|
25348
25469
|
* @export
|
|
25349
25470
|
*/
|
|
25350
25471
|
export declare const JobActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25472
|
+
/**
|
|
25473
|
+
*
|
|
25474
|
+
* @summary Clean a failed job
|
|
25475
|
+
* @param {string} jobId
|
|
25476
|
+
* @param {*} [options] Override http request option.
|
|
25477
|
+
* @throws {RequiredError}
|
|
25478
|
+
*/
|
|
25479
|
+
cleanFailedJob(jobId: string, options?: any): AxiosPromise<CleanFailedJob200Response>;
|
|
25351
25480
|
/**
|
|
25352
25481
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25353
25482
|
* @summary Deploy job
|
|
@@ -25383,6 +25512,15 @@ export declare const JobActionsApiFactory: (configuration?: Configuration, baseP
|
|
|
25383
25512
|
* @extends {BaseAPI}
|
|
25384
25513
|
*/
|
|
25385
25514
|
export declare class JobActionsApi extends BaseAPI {
|
|
25515
|
+
/**
|
|
25516
|
+
*
|
|
25517
|
+
* @summary Clean a failed job
|
|
25518
|
+
* @param {string} jobId
|
|
25519
|
+
* @param {*} [options] Override http request option.
|
|
25520
|
+
* @throws {RequiredError}
|
|
25521
|
+
* @memberof JobActionsApi
|
|
25522
|
+
*/
|
|
25523
|
+
cleanFailedJob(jobId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanFailedJob200Response, any>>;
|
|
25386
25524
|
/**
|
|
25387
25525
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25388
25526
|
* @summary Deploy job
|
package/dist/api.js
CHANGED
|
@@ -22,14 +22,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = void 0;
|
|
25
|
+
exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.LinkedServiceTypeEnum = exports.LifecycleJobResponseJobTypeEnum = exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.JobScheduleEvent = exports.JobLifecycleTypeEnum = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HelmRepositoryKindEnum = exports.HelmPortProtocolEnum = exports.HelmForceEvent = exports.GitTokenAssociatedServiceType = exports.GitProviderEnum = exports.EnvironmentStatusEventOriginEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CronJobResponseJobTypeEnum = exports.CreateEnvironmentModeEnum = exports.CpuArchitectureEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureResponseTypeEnum = exports.ClusterFeatureResponseValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.AnnotationsGroupAssociatedItemType = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = void 0;
|
|
27
|
+
exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = void 0;
|
|
29
|
+
exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = void 0;
|
|
30
|
+
exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = void 0;
|
|
31
|
+
exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = void 0;
|
|
32
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -461,6 +461,16 @@ exports.JobForceEvent = {
|
|
|
461
461
|
DELETE: 'DELETE',
|
|
462
462
|
CRON: 'CRON'
|
|
463
463
|
};
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @export
|
|
467
|
+
* @enum {string}
|
|
468
|
+
*/
|
|
469
|
+
exports.JobLifecycleTypeEnum = {
|
|
470
|
+
GENERIC: 'GENERIC',
|
|
471
|
+
TERRAFORM: 'TERRAFORM',
|
|
472
|
+
CLOUDFORMATION: 'CLOUDFORMATION'
|
|
473
|
+
};
|
|
464
474
|
/**
|
|
465
475
|
* On which event the job is going to run. ON_START means when a deployment is requested for the environment ON_STOP means when a stop of the environment is requested ON_DELETE means when an environment delete is requested CRON means at a scheduled interval
|
|
466
476
|
* @export
|
|
@@ -16854,6 +16864,43 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16854
16864
|
options: localVarRequestOptions,
|
|
16855
16865
|
};
|
|
16856
16866
|
}),
|
|
16867
|
+
/**
|
|
16868
|
+
*
|
|
16869
|
+
* @summary Clean failed jobs within an environment
|
|
16870
|
+
* @param {string} environmentId
|
|
16871
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
16872
|
+
* @param {*} [options] Override http request option.
|
|
16873
|
+
* @throws {RequiredError}
|
|
16874
|
+
*/
|
|
16875
|
+
cleanFailedJobs: (environmentId, cleanFailedJobsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16876
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16877
|
+
(0, common_1.assertParamExists)('cleanFailedJobs', 'environmentId', environmentId);
|
|
16878
|
+
const localVarPath = `/environment/{environmentId}/cleanFailedJobs`
|
|
16879
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16881
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16882
|
+
let baseOptions;
|
|
16883
|
+
if (configuration) {
|
|
16884
|
+
baseOptions = configuration.baseOptions;
|
|
16885
|
+
}
|
|
16886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16887
|
+
const localVarHeaderParameter = {};
|
|
16888
|
+
const localVarQueryParameter = {};
|
|
16889
|
+
// authentication ApiKeyAuth required
|
|
16890
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
16891
|
+
// authentication bearerAuth required
|
|
16892
|
+
// http bearer authentication required
|
|
16893
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16894
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16895
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16896
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16897
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16898
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cleanFailedJobsRequest, localVarRequestOptions, configuration);
|
|
16899
|
+
return {
|
|
16900
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16901
|
+
options: localVarRequestOptions,
|
|
16902
|
+
};
|
|
16903
|
+
}),
|
|
16857
16904
|
/**
|
|
16858
16905
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
16859
16906
|
* @summary Clone environment
|
|
@@ -17165,6 +17212,20 @@ const EnvironmentActionsApiFp = function (configuration) {
|
|
|
17165
17212
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17166
17213
|
});
|
|
17167
17214
|
},
|
|
17215
|
+
/**
|
|
17216
|
+
*
|
|
17217
|
+
* @summary Clean failed jobs within an environment
|
|
17218
|
+
* @param {string} environmentId
|
|
17219
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
17220
|
+
* @param {*} [options] Override http request option.
|
|
17221
|
+
* @throws {RequiredError}
|
|
17222
|
+
*/
|
|
17223
|
+
cleanFailedJobs(environmentId, cleanFailedJobsRequest, options) {
|
|
17224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17225
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cleanFailedJobs(environmentId, cleanFailedJobsRequest, options);
|
|
17226
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17227
|
+
});
|
|
17228
|
+
},
|
|
17168
17229
|
/**
|
|
17169
17230
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
17170
17231
|
* @summary Clone environment
|
|
@@ -17295,6 +17356,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
17295
17356
|
cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options) {
|
|
17296
17357
|
return localVarFp.cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options).then((request) => request(axios, basePath));
|
|
17297
17358
|
},
|
|
17359
|
+
/**
|
|
17360
|
+
*
|
|
17361
|
+
* @summary Clean failed jobs within an environment
|
|
17362
|
+
* @param {string} environmentId
|
|
17363
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
17364
|
+
* @param {*} [options] Override http request option.
|
|
17365
|
+
* @throws {RequiredError}
|
|
17366
|
+
*/
|
|
17367
|
+
cleanFailedJobs(environmentId, cleanFailedJobsRequest, options) {
|
|
17368
|
+
return localVarFp.cleanFailedJobs(environmentId, cleanFailedJobsRequest, options).then((request) => request(axios, basePath));
|
|
17369
|
+
},
|
|
17298
17370
|
/**
|
|
17299
17371
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
17300
17372
|
* @summary Clone environment
|
|
@@ -17402,6 +17474,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
|
|
|
17402
17474
|
cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options) {
|
|
17403
17475
|
return (0, exports.EnvironmentActionsApiFp)(this.configuration).cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17404
17476
|
}
|
|
17477
|
+
/**
|
|
17478
|
+
*
|
|
17479
|
+
* @summary Clean failed jobs within an environment
|
|
17480
|
+
* @param {string} environmentId
|
|
17481
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
17482
|
+
* @param {*} [options] Override http request option.
|
|
17483
|
+
* @throws {RequiredError}
|
|
17484
|
+
* @memberof EnvironmentActionsApi
|
|
17485
|
+
*/
|
|
17486
|
+
cleanFailedJobs(environmentId, cleanFailedJobsRequest, options) {
|
|
17487
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).cleanFailedJobs(environmentId, cleanFailedJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17488
|
+
}
|
|
17405
17489
|
/**
|
|
17406
17490
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
17407
17491
|
* @summary Clone environment
|
|
@@ -23331,6 +23415,40 @@ exports.HelmsApi = HelmsApi;
|
|
|
23331
23415
|
*/
|
|
23332
23416
|
const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
23333
23417
|
return {
|
|
23418
|
+
/**
|
|
23419
|
+
*
|
|
23420
|
+
* @summary Clean a failed job
|
|
23421
|
+
* @param {string} jobId
|
|
23422
|
+
* @param {*} [options] Override http request option.
|
|
23423
|
+
* @throws {RequiredError}
|
|
23424
|
+
*/
|
|
23425
|
+
cleanFailedJob: (jobId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23426
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
23427
|
+
(0, common_1.assertParamExists)('cleanFailedJob', 'jobId', jobId);
|
|
23428
|
+
const localVarPath = `/job/{jobId}/cleanFailedJob`
|
|
23429
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
23430
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23431
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23432
|
+
let baseOptions;
|
|
23433
|
+
if (configuration) {
|
|
23434
|
+
baseOptions = configuration.baseOptions;
|
|
23435
|
+
}
|
|
23436
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23437
|
+
const localVarHeaderParameter = {};
|
|
23438
|
+
const localVarQueryParameter = {};
|
|
23439
|
+
// authentication ApiKeyAuth required
|
|
23440
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
23441
|
+
// authentication bearerAuth required
|
|
23442
|
+
// http bearer authentication required
|
|
23443
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
23444
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23445
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23446
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23447
|
+
return {
|
|
23448
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23449
|
+
options: localVarRequestOptions,
|
|
23450
|
+
};
|
|
23451
|
+
}),
|
|
23334
23452
|
/**
|
|
23335
23453
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23336
23454
|
* @summary Deploy job
|
|
@@ -23454,6 +23572,19 @@ exports.JobActionsApiAxiosParamCreator = JobActionsApiAxiosParamCreator;
|
|
|
23454
23572
|
const JobActionsApiFp = function (configuration) {
|
|
23455
23573
|
const localVarAxiosParamCreator = (0, exports.JobActionsApiAxiosParamCreator)(configuration);
|
|
23456
23574
|
return {
|
|
23575
|
+
/**
|
|
23576
|
+
*
|
|
23577
|
+
* @summary Clean a failed job
|
|
23578
|
+
* @param {string} jobId
|
|
23579
|
+
* @param {*} [options] Override http request option.
|
|
23580
|
+
* @throws {RequiredError}
|
|
23581
|
+
*/
|
|
23582
|
+
cleanFailedJob(jobId, options) {
|
|
23583
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23584
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cleanFailedJob(jobId, options);
|
|
23585
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
23586
|
+
});
|
|
23587
|
+
},
|
|
23457
23588
|
/**
|
|
23458
23589
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23459
23590
|
* @summary Deploy job
|
|
@@ -23506,6 +23637,16 @@ exports.JobActionsApiFp = JobActionsApiFp;
|
|
|
23506
23637
|
const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
23507
23638
|
const localVarFp = (0, exports.JobActionsApiFp)(configuration);
|
|
23508
23639
|
return {
|
|
23640
|
+
/**
|
|
23641
|
+
*
|
|
23642
|
+
* @summary Clean a failed job
|
|
23643
|
+
* @param {string} jobId
|
|
23644
|
+
* @param {*} [options] Override http request option.
|
|
23645
|
+
* @throws {RequiredError}
|
|
23646
|
+
*/
|
|
23647
|
+
cleanFailedJob(jobId, options) {
|
|
23648
|
+
return localVarFp.cleanFailedJob(jobId, options).then((request) => request(axios, basePath));
|
|
23649
|
+
},
|
|
23509
23650
|
/**
|
|
23510
23651
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23511
23652
|
* @summary Deploy job
|
|
@@ -23549,6 +23690,17 @@ exports.JobActionsApiFactory = JobActionsApiFactory;
|
|
|
23549
23690
|
* @extends {BaseAPI}
|
|
23550
23691
|
*/
|
|
23551
23692
|
class JobActionsApi extends base_1.BaseAPI {
|
|
23693
|
+
/**
|
|
23694
|
+
*
|
|
23695
|
+
* @summary Clean a failed job
|
|
23696
|
+
* @param {string} jobId
|
|
23697
|
+
* @param {*} [options] Override http request option.
|
|
23698
|
+
* @throws {RequiredError}
|
|
23699
|
+
* @memberof JobActionsApi
|
|
23700
|
+
*/
|
|
23701
|
+
cleanFailedJob(jobId, options) {
|
|
23702
|
+
return (0, exports.JobActionsApiFp)(this.configuration).cleanFailedJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
23703
|
+
}
|
|
23552
23704
|
/**
|
|
23553
23705
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23554
23706
|
* @summary Deploy job
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1610,6 +1610,51 @@ export interface CancelEnvironmentDeploymentRequest {
|
|
|
1610
1610
|
*/
|
|
1611
1611
|
'force_cancel'?: boolean;
|
|
1612
1612
|
}
|
|
1613
|
+
/**
|
|
1614
|
+
*
|
|
1615
|
+
* @export
|
|
1616
|
+
* @interface CleanFailedJob200Response
|
|
1617
|
+
*/
|
|
1618
|
+
export interface CleanFailedJob200Response {
|
|
1619
|
+
/**
|
|
1620
|
+
*
|
|
1621
|
+
* @type {Array<string>}
|
|
1622
|
+
* @memberof CleanFailedJob200Response
|
|
1623
|
+
*/
|
|
1624
|
+
'clean_kubernetes_jobs'?: Array<string>;
|
|
1625
|
+
}
|
|
1626
|
+
/**
|
|
1627
|
+
*
|
|
1628
|
+
* @export
|
|
1629
|
+
* @interface CleanFailedJobs200Response
|
|
1630
|
+
*/
|
|
1631
|
+
export interface CleanFailedJobs200Response {
|
|
1632
|
+
/**
|
|
1633
|
+
*
|
|
1634
|
+
* @type {Array<string>}
|
|
1635
|
+
* @memberof CleanFailedJobs200Response
|
|
1636
|
+
*/
|
|
1637
|
+
'clean_job_ids'?: Array<string>;
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @type {Array<string>}
|
|
1641
|
+
* @memberof CleanFailedJobs200Response
|
|
1642
|
+
*/
|
|
1643
|
+
'clean_kubernetes_jobs'?: Array<string>;
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @export
|
|
1648
|
+
* @interface CleanFailedJobsRequest
|
|
1649
|
+
*/
|
|
1650
|
+
export interface CleanFailedJobsRequest {
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @type {Array<string>}
|
|
1654
|
+
* @memberof CleanFailedJobsRequest
|
|
1655
|
+
*/
|
|
1656
|
+
'job_ids'?: Array<string>;
|
|
1657
|
+
}
|
|
1613
1658
|
/**
|
|
1614
1659
|
*
|
|
1615
1660
|
* @export
|
|
@@ -8921,6 +8966,17 @@ export declare const JobForceEvent: {
|
|
|
8921
8966
|
readonly CRON: "CRON";
|
|
8922
8967
|
};
|
|
8923
8968
|
export type JobForceEvent = typeof JobForceEvent[keyof typeof JobForceEvent];
|
|
8969
|
+
/**
|
|
8970
|
+
*
|
|
8971
|
+
* @export
|
|
8972
|
+
* @enum {string}
|
|
8973
|
+
*/
|
|
8974
|
+
export declare const JobLifecycleTypeEnum: {
|
|
8975
|
+
readonly GENERIC: "GENERIC";
|
|
8976
|
+
readonly TERRAFORM: "TERRAFORM";
|
|
8977
|
+
readonly CLOUDFORMATION: "CLOUDFORMATION";
|
|
8978
|
+
};
|
|
8979
|
+
export type JobLifecycleTypeEnum = typeof JobLifecycleTypeEnum[keyof typeof JobLifecycleTypeEnum];
|
|
8924
8980
|
/**
|
|
8925
8981
|
*
|
|
8926
8982
|
* @export
|
|
@@ -9042,6 +9098,12 @@ export interface JobRequestAllOfSchedule {
|
|
|
9042
9098
|
* @memberof JobRequestAllOfSchedule
|
|
9043
9099
|
*/
|
|
9044
9100
|
'cronjob'?: JobRequestAllOfScheduleCronjob;
|
|
9101
|
+
/**
|
|
9102
|
+
*
|
|
9103
|
+
* @type {JobLifecycleTypeEnum}
|
|
9104
|
+
* @memberof JobRequestAllOfSchedule
|
|
9105
|
+
*/
|
|
9106
|
+
'lifecycle_type'?: JobLifecycleTypeEnum;
|
|
9045
9107
|
}
|
|
9046
9108
|
/**
|
|
9047
9109
|
*
|
|
@@ -9446,6 +9508,12 @@ export interface LifecycleJobResponseAllOfSchedule {
|
|
|
9446
9508
|
* @memberof LifecycleJobResponseAllOfSchedule
|
|
9447
9509
|
*/
|
|
9448
9510
|
'on_delete'?: JobRequestAllOfScheduleOnStart;
|
|
9511
|
+
/**
|
|
9512
|
+
*
|
|
9513
|
+
* @type {JobLifecycleTypeEnum}
|
|
9514
|
+
* @memberof LifecycleJobResponseAllOfSchedule
|
|
9515
|
+
*/
|
|
9516
|
+
'lifecycle_type'?: JobLifecycleTypeEnum;
|
|
9449
9517
|
}
|
|
9450
9518
|
/**
|
|
9451
9519
|
*
|
|
@@ -21929,6 +21997,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
|
|
|
21929
21997
|
* @throws {RequiredError}
|
|
21930
21998
|
*/
|
|
21931
21999
|
cancelEnvironmentDeployment: (environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22000
|
+
/**
|
|
22001
|
+
*
|
|
22002
|
+
* @summary Clean failed jobs within an environment
|
|
22003
|
+
* @param {string} environmentId
|
|
22004
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22005
|
+
* @param {*} [options] Override http request option.
|
|
22006
|
+
* @throws {RequiredError}
|
|
22007
|
+
*/
|
|
22008
|
+
cleanFailedJobs: (environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21932
22009
|
/**
|
|
21933
22010
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
21934
22011
|
* @summary Clone environment
|
|
@@ -22013,6 +22090,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
|
|
|
22013
22090
|
* @throws {RequiredError}
|
|
22014
22091
|
*/
|
|
22015
22092
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>>;
|
|
22093
|
+
/**
|
|
22094
|
+
*
|
|
22095
|
+
* @summary Clean failed jobs within an environment
|
|
22096
|
+
* @param {string} environmentId
|
|
22097
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22098
|
+
* @param {*} [options] Override http request option.
|
|
22099
|
+
* @throws {RequiredError}
|
|
22100
|
+
*/
|
|
22101
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanFailedJobs200Response>>;
|
|
22016
22102
|
/**
|
|
22017
22103
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
22018
22104
|
* @summary Clone environment
|
|
@@ -22097,6 +22183,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
|
|
|
22097
22183
|
* @throws {RequiredError}
|
|
22098
22184
|
*/
|
|
22099
22185
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: any): AxiosPromise<EnvironmentStatus>;
|
|
22186
|
+
/**
|
|
22187
|
+
*
|
|
22188
|
+
* @summary Clean failed jobs within an environment
|
|
22189
|
+
* @param {string} environmentId
|
|
22190
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22191
|
+
* @param {*} [options] Override http request option.
|
|
22192
|
+
* @throws {RequiredError}
|
|
22193
|
+
*/
|
|
22194
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: any): AxiosPromise<CleanFailedJobs200Response>;
|
|
22100
22195
|
/**
|
|
22101
22196
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
22102
22197
|
* @summary Clone environment
|
|
@@ -22184,6 +22279,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
22184
22279
|
* @memberof EnvironmentActionsApi
|
|
22185
22280
|
*/
|
|
22186
22281
|
cancelEnvironmentDeployment(environmentId: string, cancelEnvironmentDeploymentRequest?: CancelEnvironmentDeploymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatus, any>>;
|
|
22282
|
+
/**
|
|
22283
|
+
*
|
|
22284
|
+
* @summary Clean failed jobs within an environment
|
|
22285
|
+
* @param {string} environmentId
|
|
22286
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
22287
|
+
* @param {*} [options] Override http request option.
|
|
22288
|
+
* @throws {RequiredError}
|
|
22289
|
+
* @memberof EnvironmentActionsApi
|
|
22290
|
+
*/
|
|
22291
|
+
cleanFailedJobs(environmentId: string, cleanFailedJobsRequest?: CleanFailedJobsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanFailedJobs200Response, any>>;
|
|
22187
22292
|
/**
|
|
22188
22293
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
22189
22294
|
* @summary Clone environment
|
|
@@ -25282,6 +25387,14 @@ export declare class HelmsApi extends BaseAPI {
|
|
|
25282
25387
|
* @export
|
|
25283
25388
|
*/
|
|
25284
25389
|
export declare const JobActionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25390
|
+
/**
|
|
25391
|
+
*
|
|
25392
|
+
* @summary Clean a failed job
|
|
25393
|
+
* @param {string} jobId
|
|
25394
|
+
* @param {*} [options] Override http request option.
|
|
25395
|
+
* @throws {RequiredError}
|
|
25396
|
+
*/
|
|
25397
|
+
cleanFailedJob: (jobId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
25285
25398
|
/**
|
|
25286
25399
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25287
25400
|
* @summary Deploy job
|
|
@@ -25315,6 +25428,14 @@ export declare const JobActionsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
25315
25428
|
* @export
|
|
25316
25429
|
*/
|
|
25317
25430
|
export declare const JobActionsApiFp: (configuration?: Configuration) => {
|
|
25431
|
+
/**
|
|
25432
|
+
*
|
|
25433
|
+
* @summary Clean a failed job
|
|
25434
|
+
* @param {string} jobId
|
|
25435
|
+
* @param {*} [options] Override http request option.
|
|
25436
|
+
* @throws {RequiredError}
|
|
25437
|
+
*/
|
|
25438
|
+
cleanFailedJob(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CleanFailedJob200Response>>;
|
|
25318
25439
|
/**
|
|
25319
25440
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25320
25441
|
* @summary Deploy job
|
|
@@ -25348,6 +25469,14 @@ export declare const JobActionsApiFp: (configuration?: Configuration) => {
|
|
|
25348
25469
|
* @export
|
|
25349
25470
|
*/
|
|
25350
25471
|
export declare const JobActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
25472
|
+
/**
|
|
25473
|
+
*
|
|
25474
|
+
* @summary Clean a failed job
|
|
25475
|
+
* @param {string} jobId
|
|
25476
|
+
* @param {*} [options] Override http request option.
|
|
25477
|
+
* @throws {RequiredError}
|
|
25478
|
+
*/
|
|
25479
|
+
cleanFailedJob(jobId: string, options?: any): AxiosPromise<CleanFailedJob200Response>;
|
|
25351
25480
|
/**
|
|
25352
25481
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25353
25482
|
* @summary Deploy job
|
|
@@ -25383,6 +25512,15 @@ export declare const JobActionsApiFactory: (configuration?: Configuration, baseP
|
|
|
25383
25512
|
* @extends {BaseAPI}
|
|
25384
25513
|
*/
|
|
25385
25514
|
export declare class JobActionsApi extends BaseAPI {
|
|
25515
|
+
/**
|
|
25516
|
+
*
|
|
25517
|
+
* @summary Clean a failed job
|
|
25518
|
+
* @param {string} jobId
|
|
25519
|
+
* @param {*} [options] Override http request option.
|
|
25520
|
+
* @throws {RequiredError}
|
|
25521
|
+
* @memberof JobActionsApi
|
|
25522
|
+
*/
|
|
25523
|
+
cleanFailedJob(jobId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CleanFailedJob200Response, any>>;
|
|
25386
25524
|
/**
|
|
25387
25525
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
25388
25526
|
* @summary Deploy job
|
package/dist/esm/api.js
CHANGED
|
@@ -451,6 +451,16 @@ export const JobForceEvent = {
|
|
|
451
451
|
DELETE: 'DELETE',
|
|
452
452
|
CRON: 'CRON'
|
|
453
453
|
};
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @export
|
|
457
|
+
* @enum {string}
|
|
458
|
+
*/
|
|
459
|
+
export const JobLifecycleTypeEnum = {
|
|
460
|
+
GENERIC: 'GENERIC',
|
|
461
|
+
TERRAFORM: 'TERRAFORM',
|
|
462
|
+
CLOUDFORMATION: 'CLOUDFORMATION'
|
|
463
|
+
};
|
|
454
464
|
/**
|
|
455
465
|
* On which event the job is going to run. ON_START means when a deployment is requested for the environment ON_STOP means when a stop of the environment is requested ON_DELETE means when an environment delete is requested CRON means at a scheduled interval
|
|
456
466
|
* @export
|
|
@@ -16712,6 +16722,43 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16712
16722
|
options: localVarRequestOptions,
|
|
16713
16723
|
};
|
|
16714
16724
|
}),
|
|
16725
|
+
/**
|
|
16726
|
+
*
|
|
16727
|
+
* @summary Clean failed jobs within an environment
|
|
16728
|
+
* @param {string} environmentId
|
|
16729
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
16730
|
+
* @param {*} [options] Override http request option.
|
|
16731
|
+
* @throws {RequiredError}
|
|
16732
|
+
*/
|
|
16733
|
+
cleanFailedJobs: (environmentId, cleanFailedJobsRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16734
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16735
|
+
assertParamExists('cleanFailedJobs', 'environmentId', environmentId);
|
|
16736
|
+
const localVarPath = `/environment/{environmentId}/cleanFailedJobs`
|
|
16737
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16738
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16739
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16740
|
+
let baseOptions;
|
|
16741
|
+
if (configuration) {
|
|
16742
|
+
baseOptions = configuration.baseOptions;
|
|
16743
|
+
}
|
|
16744
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16745
|
+
const localVarHeaderParameter = {};
|
|
16746
|
+
const localVarQueryParameter = {};
|
|
16747
|
+
// authentication ApiKeyAuth required
|
|
16748
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16749
|
+
// authentication bearerAuth required
|
|
16750
|
+
// http bearer authentication required
|
|
16751
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16752
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16753
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16754
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16755
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16756
|
+
localVarRequestOptions.data = serializeDataIfNeeded(cleanFailedJobsRequest, localVarRequestOptions, configuration);
|
|
16757
|
+
return {
|
|
16758
|
+
url: toPathString(localVarUrlObj),
|
|
16759
|
+
options: localVarRequestOptions,
|
|
16760
|
+
};
|
|
16761
|
+
}),
|
|
16715
16762
|
/**
|
|
16716
16763
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
16717
16764
|
* @summary Clone environment
|
|
@@ -17022,6 +17069,20 @@ export const EnvironmentActionsApiFp = function (configuration) {
|
|
|
17022
17069
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17023
17070
|
});
|
|
17024
17071
|
},
|
|
17072
|
+
/**
|
|
17073
|
+
*
|
|
17074
|
+
* @summary Clean failed jobs within an environment
|
|
17075
|
+
* @param {string} environmentId
|
|
17076
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
17077
|
+
* @param {*} [options] Override http request option.
|
|
17078
|
+
* @throws {RequiredError}
|
|
17079
|
+
*/
|
|
17080
|
+
cleanFailedJobs(environmentId, cleanFailedJobsRequest, options) {
|
|
17081
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17082
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cleanFailedJobs(environmentId, cleanFailedJobsRequest, options);
|
|
17083
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17084
|
+
});
|
|
17085
|
+
},
|
|
17025
17086
|
/**
|
|
17026
17087
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
17027
17088
|
* @summary Clone environment
|
|
@@ -17151,6 +17212,17 @@ export const EnvironmentActionsApiFactory = function (configuration, basePath, a
|
|
|
17151
17212
|
cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options) {
|
|
17152
17213
|
return localVarFp.cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options).then((request) => request(axios, basePath));
|
|
17153
17214
|
},
|
|
17215
|
+
/**
|
|
17216
|
+
*
|
|
17217
|
+
* @summary Clean failed jobs within an environment
|
|
17218
|
+
* @param {string} environmentId
|
|
17219
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
17220
|
+
* @param {*} [options] Override http request option.
|
|
17221
|
+
* @throws {RequiredError}
|
|
17222
|
+
*/
|
|
17223
|
+
cleanFailedJobs(environmentId, cleanFailedJobsRequest, options) {
|
|
17224
|
+
return localVarFp.cleanFailedJobs(environmentId, cleanFailedJobsRequest, options).then((request) => request(axios, basePath));
|
|
17225
|
+
},
|
|
17154
17226
|
/**
|
|
17155
17227
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
17156
17228
|
* @summary Clone environment
|
|
@@ -17257,6 +17329,18 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
17257
17329
|
cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options) {
|
|
17258
17330
|
return EnvironmentActionsApiFp(this.configuration).cancelEnvironmentDeployment(environmentId, cancelEnvironmentDeploymentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17259
17331
|
}
|
|
17332
|
+
/**
|
|
17333
|
+
*
|
|
17334
|
+
* @summary Clean failed jobs within an environment
|
|
17335
|
+
* @param {string} environmentId
|
|
17336
|
+
* @param {CleanFailedJobsRequest} [cleanFailedJobsRequest]
|
|
17337
|
+
* @param {*} [options] Override http request option.
|
|
17338
|
+
* @throws {RequiredError}
|
|
17339
|
+
* @memberof EnvironmentActionsApi
|
|
17340
|
+
*/
|
|
17341
|
+
cleanFailedJobs(environmentId, cleanFailedJobsRequest, options) {
|
|
17342
|
+
return EnvironmentActionsApiFp(this.configuration).cleanFailedJobs(environmentId, cleanFailedJobsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17343
|
+
}
|
|
17260
17344
|
/**
|
|
17261
17345
|
* You must provide a name. This will create a new environment, with the same configuration, and same applications and databases. Database data is not cloned.
|
|
17262
17346
|
* @summary Clone environment
|
|
@@ -23113,6 +23197,40 @@ export class HelmsApi extends BaseAPI {
|
|
|
23113
23197
|
*/
|
|
23114
23198
|
export const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
23115
23199
|
return {
|
|
23200
|
+
/**
|
|
23201
|
+
*
|
|
23202
|
+
* @summary Clean a failed job
|
|
23203
|
+
* @param {string} jobId
|
|
23204
|
+
* @param {*} [options] Override http request option.
|
|
23205
|
+
* @throws {RequiredError}
|
|
23206
|
+
*/
|
|
23207
|
+
cleanFailedJob: (jobId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
23208
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
23209
|
+
assertParamExists('cleanFailedJob', 'jobId', jobId);
|
|
23210
|
+
const localVarPath = `/job/{jobId}/cleanFailedJob`
|
|
23211
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
23212
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23213
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23214
|
+
let baseOptions;
|
|
23215
|
+
if (configuration) {
|
|
23216
|
+
baseOptions = configuration.baseOptions;
|
|
23217
|
+
}
|
|
23218
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
23219
|
+
const localVarHeaderParameter = {};
|
|
23220
|
+
const localVarQueryParameter = {};
|
|
23221
|
+
// authentication ApiKeyAuth required
|
|
23222
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
23223
|
+
// authentication bearerAuth required
|
|
23224
|
+
// http bearer authentication required
|
|
23225
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
23226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23228
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23229
|
+
return {
|
|
23230
|
+
url: toPathString(localVarUrlObj),
|
|
23231
|
+
options: localVarRequestOptions,
|
|
23232
|
+
};
|
|
23233
|
+
}),
|
|
23116
23234
|
/**
|
|
23117
23235
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23118
23236
|
* @summary Deploy job
|
|
@@ -23235,6 +23353,19 @@ export const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
23235
23353
|
export const JobActionsApiFp = function (configuration) {
|
|
23236
23354
|
const localVarAxiosParamCreator = JobActionsApiAxiosParamCreator(configuration);
|
|
23237
23355
|
return {
|
|
23356
|
+
/**
|
|
23357
|
+
*
|
|
23358
|
+
* @summary Clean a failed job
|
|
23359
|
+
* @param {string} jobId
|
|
23360
|
+
* @param {*} [options] Override http request option.
|
|
23361
|
+
* @throws {RequiredError}
|
|
23362
|
+
*/
|
|
23363
|
+
cleanFailedJob(jobId, options) {
|
|
23364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cleanFailedJob(jobId, options);
|
|
23366
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23367
|
+
});
|
|
23368
|
+
},
|
|
23238
23369
|
/**
|
|
23239
23370
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23240
23371
|
* @summary Deploy job
|
|
@@ -23286,6 +23417,16 @@ export const JobActionsApiFp = function (configuration) {
|
|
|
23286
23417
|
export const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
23287
23418
|
const localVarFp = JobActionsApiFp(configuration);
|
|
23288
23419
|
return {
|
|
23420
|
+
/**
|
|
23421
|
+
*
|
|
23422
|
+
* @summary Clean a failed job
|
|
23423
|
+
* @param {string} jobId
|
|
23424
|
+
* @param {*} [options] Override http request option.
|
|
23425
|
+
* @throws {RequiredError}
|
|
23426
|
+
*/
|
|
23427
|
+
cleanFailedJob(jobId, options) {
|
|
23428
|
+
return localVarFp.cleanFailedJob(jobId, options).then((request) => request(axios, basePath));
|
|
23429
|
+
},
|
|
23289
23430
|
/**
|
|
23290
23431
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23291
23432
|
* @summary Deploy job
|
|
@@ -23328,6 +23469,17 @@ export const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
23328
23469
|
* @extends {BaseAPI}
|
|
23329
23470
|
*/
|
|
23330
23471
|
export class JobActionsApi extends BaseAPI {
|
|
23472
|
+
/**
|
|
23473
|
+
*
|
|
23474
|
+
* @summary Clean a failed job
|
|
23475
|
+
* @param {string} jobId
|
|
23476
|
+
* @param {*} [options] Override http request option.
|
|
23477
|
+
* @throws {RequiredError}
|
|
23478
|
+
* @memberof JobActionsApi
|
|
23479
|
+
*/
|
|
23480
|
+
cleanFailedJob(jobId, options) {
|
|
23481
|
+
return JobActionsApiFp(this.configuration).cleanFailedJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
23482
|
+
}
|
|
23331
23483
|
/**
|
|
23332
23484
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
23333
23485
|
* @summary Deploy job
|