qovery-typescript-axios 1.1.66 → 1.1.68
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 +39 -26
- package/dist/api.d.ts +27 -16
- package/dist/api.js +45 -33
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -7934,6 +7934,19 @@ export interface JobDeployRequest {
|
|
|
7934
7934
|
*/
|
|
7935
7935
|
'git_commit_id'?: string;
|
|
7936
7936
|
}
|
|
7937
|
+
/**
|
|
7938
|
+
*
|
|
7939
|
+
* @export
|
|
7940
|
+
* @enum {string}
|
|
7941
|
+
*/
|
|
7942
|
+
|
|
7943
|
+
export enum JobForceEvent {
|
|
7944
|
+
START = 'START',
|
|
7945
|
+
STOP = 'STOP',
|
|
7946
|
+
DELETE = 'DELETE',
|
|
7947
|
+
CRON = 'CRON'
|
|
7948
|
+
}
|
|
7949
|
+
|
|
7937
7950
|
/**
|
|
7938
7951
|
*
|
|
7939
7952
|
* @export
|
|
@@ -32492,12 +32505,12 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32492
32505
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32493
32506
|
* @summary Deploy job
|
|
32494
32507
|
* @param {string} jobId Job ID
|
|
32495
|
-
* @param {
|
|
32508
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32496
32509
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32497
32510
|
* @param {*} [options] Override http request option.
|
|
32498
32511
|
* @throws {RequiredError}
|
|
32499
32512
|
*/
|
|
32500
|
-
deployJob: async (jobId: string,
|
|
32513
|
+
deployJob: async (jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32501
32514
|
// verify required parameter 'jobId' is not null or undefined
|
|
32502
32515
|
assertParamExists('deployJob', 'jobId', jobId)
|
|
32503
32516
|
const localVarPath = `/job/{jobId}/deploy`
|
|
@@ -32517,8 +32530,8 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32517
32530
|
// http bearer authentication required
|
|
32518
32531
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32519
32532
|
|
|
32520
|
-
if (
|
|
32521
|
-
localVarQueryParameter['
|
|
32533
|
+
if (forceEvent !== undefined) {
|
|
32534
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
32522
32535
|
}
|
|
32523
32536
|
|
|
32524
32537
|
|
|
@@ -32539,11 +32552,11 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32539
32552
|
*
|
|
32540
32553
|
* @summary Restart job
|
|
32541
32554
|
* @param {string} jobId Job ID
|
|
32542
|
-
* @param {
|
|
32555
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32543
32556
|
* @param {*} [options] Override http request option.
|
|
32544
32557
|
* @throws {RequiredError}
|
|
32545
32558
|
*/
|
|
32546
|
-
restartJob: async (jobId: string,
|
|
32559
|
+
restartJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32547
32560
|
// verify required parameter 'jobId' is not null or undefined
|
|
32548
32561
|
assertParamExists('restartJob', 'jobId', jobId)
|
|
32549
32562
|
const localVarPath = `/job/{jobId}/restart`
|
|
@@ -32563,8 +32576,8 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32563
32576
|
// http bearer authentication required
|
|
32564
32577
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32565
32578
|
|
|
32566
|
-
if (
|
|
32567
|
-
localVarQueryParameter['
|
|
32579
|
+
if (forceEvent !== undefined) {
|
|
32580
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
32568
32581
|
}
|
|
32569
32582
|
|
|
32570
32583
|
|
|
@@ -32630,25 +32643,25 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
32630
32643
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32631
32644
|
* @summary Deploy job
|
|
32632
32645
|
* @param {string} jobId Job ID
|
|
32633
|
-
* @param {
|
|
32646
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32634
32647
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32635
32648
|
* @param {*} [options] Override http request option.
|
|
32636
32649
|
* @throws {RequiredError}
|
|
32637
32650
|
*/
|
|
32638
|
-
async deployJob(jobId: string,
|
|
32639
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId,
|
|
32651
|
+
async deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32652
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
32640
32653
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32641
32654
|
},
|
|
32642
32655
|
/**
|
|
32643
32656
|
*
|
|
32644
32657
|
* @summary Restart job
|
|
32645
32658
|
* @param {string} jobId Job ID
|
|
32646
|
-
* @param {
|
|
32659
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32647
32660
|
* @param {*} [options] Override http request option.
|
|
32648
32661
|
* @throws {RequiredError}
|
|
32649
32662
|
*/
|
|
32650
|
-
async restartJob(jobId: string,
|
|
32651
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.restartJob(jobId,
|
|
32663
|
+
async restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartJob(jobId, forceEvent, options);
|
|
32652
32665
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32653
32666
|
},
|
|
32654
32667
|
/**
|
|
@@ -32676,24 +32689,24 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
32676
32689
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32677
32690
|
* @summary Deploy job
|
|
32678
32691
|
* @param {string} jobId Job ID
|
|
32679
|
-
* @param {
|
|
32692
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32680
32693
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32681
32694
|
* @param {*} [options] Override http request option.
|
|
32682
32695
|
* @throws {RequiredError}
|
|
32683
32696
|
*/
|
|
32684
|
-
deployJob(jobId: string,
|
|
32685
|
-
return localVarFp.deployJob(jobId,
|
|
32697
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
32698
|
+
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
32686
32699
|
},
|
|
32687
32700
|
/**
|
|
32688
32701
|
*
|
|
32689
32702
|
* @summary Restart job
|
|
32690
32703
|
* @param {string} jobId Job ID
|
|
32691
|
-
* @param {
|
|
32704
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32692
32705
|
* @param {*} [options] Override http request option.
|
|
32693
32706
|
* @throws {RequiredError}
|
|
32694
32707
|
*/
|
|
32695
|
-
restartJob(jobId: string,
|
|
32696
|
-
return localVarFp.restartJob(jobId,
|
|
32708
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
|
|
32709
|
+
return localVarFp.restartJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
32697
32710
|
},
|
|
32698
32711
|
/**
|
|
32699
32712
|
*
|
|
@@ -32719,27 +32732,27 @@ export class JobActionsApi extends BaseAPI {
|
|
|
32719
32732
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32720
32733
|
* @summary Deploy job
|
|
32721
32734
|
* @param {string} jobId Job ID
|
|
32722
|
-
* @param {
|
|
32735
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32723
32736
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32724
32737
|
* @param {*} [options] Override http request option.
|
|
32725
32738
|
* @throws {RequiredError}
|
|
32726
32739
|
* @memberof JobActionsApi
|
|
32727
32740
|
*/
|
|
32728
|
-
public deployJob(jobId: string,
|
|
32729
|
-
return JobActionsApiFp(this.configuration).deployJob(jobId,
|
|
32741
|
+
public deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) {
|
|
32742
|
+
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32730
32743
|
}
|
|
32731
32744
|
|
|
32732
32745
|
/**
|
|
32733
32746
|
*
|
|
32734
32747
|
* @summary Restart job
|
|
32735
32748
|
* @param {string} jobId Job ID
|
|
32736
|
-
* @param {
|
|
32749
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
32737
32750
|
* @param {*} [options] Override http request option.
|
|
32738
32751
|
* @throws {RequiredError}
|
|
32739
32752
|
* @memberof JobActionsApi
|
|
32740
32753
|
*/
|
|
32741
|
-
public restartJob(jobId: string,
|
|
32742
|
-
return JobActionsApiFp(this.configuration).restartJob(jobId,
|
|
32754
|
+
public restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
|
|
32755
|
+
return JobActionsApiFp(this.configuration).restartJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
32743
32756
|
}
|
|
32744
32757
|
|
|
32745
32758
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -7875,6 +7875,17 @@ export interface JobDeployRequest {
|
|
|
7875
7875
|
*/
|
|
7876
7876
|
'git_commit_id'?: string;
|
|
7877
7877
|
}
|
|
7878
|
+
/**
|
|
7879
|
+
*
|
|
7880
|
+
* @export
|
|
7881
|
+
* @enum {string}
|
|
7882
|
+
*/
|
|
7883
|
+
export declare enum JobForceEvent {
|
|
7884
|
+
START = "START",
|
|
7885
|
+
STOP = "STOP",
|
|
7886
|
+
DELETE = "DELETE",
|
|
7887
|
+
CRON = "CRON"
|
|
7888
|
+
}
|
|
7878
7889
|
/**
|
|
7879
7890
|
*
|
|
7880
7891
|
* @export
|
|
@@ -22088,21 +22099,21 @@ export declare const JobActionsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
22088
22099
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22089
22100
|
* @summary Deploy job
|
|
22090
22101
|
* @param {string} jobId Job ID
|
|
22091
|
-
* @param {
|
|
22102
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22092
22103
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22093
22104
|
* @param {*} [options] Override http request option.
|
|
22094
22105
|
* @throws {RequiredError}
|
|
22095
22106
|
*/
|
|
22096
|
-
deployJob: (jobId: string,
|
|
22107
|
+
deployJob: (jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22097
22108
|
/**
|
|
22098
22109
|
*
|
|
22099
22110
|
* @summary Restart job
|
|
22100
22111
|
* @param {string} jobId Job ID
|
|
22101
|
-
* @param {
|
|
22112
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22102
22113
|
* @param {*} [options] Override http request option.
|
|
22103
22114
|
* @throws {RequiredError}
|
|
22104
22115
|
*/
|
|
22105
|
-
restartJob: (jobId: string,
|
|
22116
|
+
restartJob: (jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22106
22117
|
/**
|
|
22107
22118
|
*
|
|
22108
22119
|
* @summary Stop job
|
|
@@ -22121,21 +22132,21 @@ export declare const JobActionsApiFp: (configuration?: Configuration) => {
|
|
|
22121
22132
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22122
22133
|
* @summary Deploy job
|
|
22123
22134
|
* @param {string} jobId Job ID
|
|
22124
|
-
* @param {
|
|
22135
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22125
22136
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22126
22137
|
* @param {*} [options] Override http request option.
|
|
22127
22138
|
* @throws {RequiredError}
|
|
22128
22139
|
*/
|
|
22129
|
-
deployJob(jobId: string,
|
|
22140
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
22130
22141
|
/**
|
|
22131
22142
|
*
|
|
22132
22143
|
* @summary Restart job
|
|
22133
22144
|
* @param {string} jobId Job ID
|
|
22134
|
-
* @param {
|
|
22145
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22135
22146
|
* @param {*} [options] Override http request option.
|
|
22136
22147
|
* @throws {RequiredError}
|
|
22137
22148
|
*/
|
|
22138
|
-
restartJob(jobId: string,
|
|
22149
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
22139
22150
|
/**
|
|
22140
22151
|
*
|
|
22141
22152
|
* @summary Stop job
|
|
@@ -22154,21 +22165,21 @@ export declare const JobActionsApiFactory: (configuration?: Configuration, baseP
|
|
|
22154
22165
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22155
22166
|
* @summary Deploy job
|
|
22156
22167
|
* @param {string} jobId Job ID
|
|
22157
|
-
* @param {
|
|
22168
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22158
22169
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22159
22170
|
* @param {*} [options] Override http request option.
|
|
22160
22171
|
* @throws {RequiredError}
|
|
22161
22172
|
*/
|
|
22162
|
-
deployJob(jobId: string,
|
|
22173
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status>;
|
|
22163
22174
|
/**
|
|
22164
22175
|
*
|
|
22165
22176
|
* @summary Restart job
|
|
22166
22177
|
* @param {string} jobId Job ID
|
|
22167
|
-
* @param {
|
|
22178
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22168
22179
|
* @param {*} [options] Override http request option.
|
|
22169
22180
|
* @throws {RequiredError}
|
|
22170
22181
|
*/
|
|
22171
|
-
restartJob(jobId: string,
|
|
22182
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status>;
|
|
22172
22183
|
/**
|
|
22173
22184
|
*
|
|
22174
22185
|
* @summary Stop job
|
|
@@ -22189,23 +22200,23 @@ export declare class JobActionsApi extends BaseAPI {
|
|
|
22189
22200
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22190
22201
|
* @summary Deploy job
|
|
22191
22202
|
* @param {string} jobId Job ID
|
|
22192
|
-
* @param {
|
|
22203
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22193
22204
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22194
22205
|
* @param {*} [options] Override http request option.
|
|
22195
22206
|
* @throws {RequiredError}
|
|
22196
22207
|
* @memberof JobActionsApi
|
|
22197
22208
|
*/
|
|
22198
|
-
deployJob(jobId: string,
|
|
22209
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
22199
22210
|
/**
|
|
22200
22211
|
*
|
|
22201
22212
|
* @summary Restart job
|
|
22202
22213
|
* @param {string} jobId Job ID
|
|
22203
|
-
* @param {
|
|
22214
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22204
22215
|
* @param {*} [options] Override http request option.
|
|
22205
22216
|
* @throws {RequiredError}
|
|
22206
22217
|
* @memberof JobActionsApi
|
|
22207
22218
|
*/
|
|
22208
|
-
restartJob(jobId: string,
|
|
22219
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
22209
22220
|
/**
|
|
22210
22221
|
*
|
|
22211
22222
|
* @summary Stop job
|
package/dist/api.js
CHANGED
|
@@ -22,13 +22,13 @@ 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.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 = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StatusKindEnum = exports.StateEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.JobScheduleEvent = exports.JobForceEvent = exports.JobAdvancedSettingsLivenessProbeTypeEnum = exports.JobAdvancedSettingsReadinessProbeTypeEnum = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsReadinessProbeTypeEnum = exports.CompanySizeEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsLivenessProbeTypeEnum = exports.ApplicationAdvancedSettingsReadinessProbeTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = 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 = void 0;
|
|
27
|
+
exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerDependencyApi = exports.ContainerDependencyApiFactory = exports.ContainerDependencyApiFp = exports.ContainerDependencyApiAxiosParamCreator = 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 = void 0;
|
|
28
|
+
exports.DependencyApiFactory = exports.DependencyApiFp = exports.DependencyApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = 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.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = void 0;
|
|
29
|
+
exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = 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.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 = exports.DependencyApi = void 0;
|
|
30
|
+
exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = void 0;
|
|
31
|
+
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 = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -367,6 +367,18 @@ var JobAdvancedSettingsLivenessProbeTypeEnum;
|
|
|
367
367
|
JobAdvancedSettingsLivenessProbeTypeEnum["TCP"] = "TCP";
|
|
368
368
|
JobAdvancedSettingsLivenessProbeTypeEnum["HTTP"] = "HTTP";
|
|
369
369
|
})(JobAdvancedSettingsLivenessProbeTypeEnum = exports.JobAdvancedSettingsLivenessProbeTypeEnum || (exports.JobAdvancedSettingsLivenessProbeTypeEnum = {}));
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @export
|
|
373
|
+
* @enum {string}
|
|
374
|
+
*/
|
|
375
|
+
var JobForceEvent;
|
|
376
|
+
(function (JobForceEvent) {
|
|
377
|
+
JobForceEvent["START"] = "START";
|
|
378
|
+
JobForceEvent["STOP"] = "STOP";
|
|
379
|
+
JobForceEvent["DELETE"] = "DELETE";
|
|
380
|
+
JobForceEvent["CRON"] = "CRON";
|
|
381
|
+
})(JobForceEvent = exports.JobForceEvent || (exports.JobForceEvent = {}));
|
|
370
382
|
/**
|
|
371
383
|
* 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
|
|
372
384
|
* @export
|
|
@@ -19498,12 +19510,12 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19498
19510
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19499
19511
|
* @summary Deploy job
|
|
19500
19512
|
* @param {string} jobId Job ID
|
|
19501
|
-
* @param {
|
|
19513
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19502
19514
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19503
19515
|
* @param {*} [options] Override http request option.
|
|
19504
19516
|
* @throws {RequiredError}
|
|
19505
19517
|
*/
|
|
19506
|
-
deployJob: (jobId,
|
|
19518
|
+
deployJob: (jobId, forceEvent, jobDeployRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
19507
19519
|
// verify required parameter 'jobId' is not null or undefined
|
|
19508
19520
|
(0, common_1.assertParamExists)('deployJob', 'jobId', jobId);
|
|
19509
19521
|
const localVarPath = `/job/{jobId}/deploy`
|
|
@@ -19520,8 +19532,8 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19520
19532
|
// authentication bearerAuth required
|
|
19521
19533
|
// http bearer authentication required
|
|
19522
19534
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19523
|
-
if (
|
|
19524
|
-
localVarQueryParameter['
|
|
19535
|
+
if (forceEvent !== undefined) {
|
|
19536
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
19525
19537
|
}
|
|
19526
19538
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19527
19539
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19537,11 +19549,11 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19537
19549
|
*
|
|
19538
19550
|
* @summary Restart job
|
|
19539
19551
|
* @param {string} jobId Job ID
|
|
19540
|
-
* @param {
|
|
19552
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19541
19553
|
* @param {*} [options] Override http request option.
|
|
19542
19554
|
* @throws {RequiredError}
|
|
19543
19555
|
*/
|
|
19544
|
-
restartJob: (jobId,
|
|
19556
|
+
restartJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
19545
19557
|
// verify required parameter 'jobId' is not null or undefined
|
|
19546
19558
|
(0, common_1.assertParamExists)('restartJob', 'jobId', jobId);
|
|
19547
19559
|
const localVarPath = `/job/{jobId}/restart`
|
|
@@ -19558,8 +19570,8 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19558
19570
|
// authentication bearerAuth required
|
|
19559
19571
|
// http bearer authentication required
|
|
19560
19572
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19561
|
-
if (
|
|
19562
|
-
localVarQueryParameter['
|
|
19573
|
+
if (forceEvent !== undefined) {
|
|
19574
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
19563
19575
|
}
|
|
19564
19576
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19565
19577
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -19615,14 +19627,14 @@ const JobActionsApiFp = function (configuration) {
|
|
|
19615
19627
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19616
19628
|
* @summary Deploy job
|
|
19617
19629
|
* @param {string} jobId Job ID
|
|
19618
|
-
* @param {
|
|
19630
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19619
19631
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19620
19632
|
* @param {*} [options] Override http request option.
|
|
19621
19633
|
* @throws {RequiredError}
|
|
19622
19634
|
*/
|
|
19623
|
-
deployJob(jobId,
|
|
19635
|
+
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
19624
19636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19625
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployJob(jobId,
|
|
19637
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
19626
19638
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
19627
19639
|
});
|
|
19628
19640
|
},
|
|
@@ -19630,13 +19642,13 @@ const JobActionsApiFp = function (configuration) {
|
|
|
19630
19642
|
*
|
|
19631
19643
|
* @summary Restart job
|
|
19632
19644
|
* @param {string} jobId Job ID
|
|
19633
|
-
* @param {
|
|
19645
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19634
19646
|
* @param {*} [options] Override http request option.
|
|
19635
19647
|
* @throws {RequiredError}
|
|
19636
19648
|
*/
|
|
19637
|
-
restartJob(jobId,
|
|
19649
|
+
restartJob(jobId, forceEvent, options) {
|
|
19638
19650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19639
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartJob(jobId,
|
|
19651
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartJob(jobId, forceEvent, options);
|
|
19640
19652
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
19641
19653
|
});
|
|
19642
19654
|
},
|
|
@@ -19667,24 +19679,24 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
19667
19679
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19668
19680
|
* @summary Deploy job
|
|
19669
19681
|
* @param {string} jobId Job ID
|
|
19670
|
-
* @param {
|
|
19682
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19671
19683
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19672
19684
|
* @param {*} [options] Override http request option.
|
|
19673
19685
|
* @throws {RequiredError}
|
|
19674
19686
|
*/
|
|
19675
|
-
deployJob(jobId,
|
|
19676
|
-
return localVarFp.deployJob(jobId,
|
|
19687
|
+
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
19688
|
+
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
19677
19689
|
},
|
|
19678
19690
|
/**
|
|
19679
19691
|
*
|
|
19680
19692
|
* @summary Restart job
|
|
19681
19693
|
* @param {string} jobId Job ID
|
|
19682
|
-
* @param {
|
|
19694
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19683
19695
|
* @param {*} [options] Override http request option.
|
|
19684
19696
|
* @throws {RequiredError}
|
|
19685
19697
|
*/
|
|
19686
|
-
restartJob(jobId,
|
|
19687
|
-
return localVarFp.restartJob(jobId,
|
|
19698
|
+
restartJob(jobId, forceEvent, options) {
|
|
19699
|
+
return localVarFp.restartJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
19688
19700
|
},
|
|
19689
19701
|
/**
|
|
19690
19702
|
*
|
|
@@ -19710,26 +19722,26 @@ class JobActionsApi extends base_1.BaseAPI {
|
|
|
19710
19722
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19711
19723
|
* @summary Deploy job
|
|
19712
19724
|
* @param {string} jobId Job ID
|
|
19713
|
-
* @param {
|
|
19725
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19714
19726
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19715
19727
|
* @param {*} [options] Override http request option.
|
|
19716
19728
|
* @throws {RequiredError}
|
|
19717
19729
|
* @memberof JobActionsApi
|
|
19718
19730
|
*/
|
|
19719
|
-
deployJob(jobId,
|
|
19720
|
-
return (0, exports.JobActionsApiFp)(this.configuration).deployJob(jobId,
|
|
19731
|
+
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
19732
|
+
return (0, exports.JobActionsApiFp)(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19721
19733
|
}
|
|
19722
19734
|
/**
|
|
19723
19735
|
*
|
|
19724
19736
|
* @summary Restart job
|
|
19725
19737
|
* @param {string} jobId Job ID
|
|
19726
|
-
* @param {
|
|
19738
|
+
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
19727
19739
|
* @param {*} [options] Override http request option.
|
|
19728
19740
|
* @throws {RequiredError}
|
|
19729
19741
|
* @memberof JobActionsApi
|
|
19730
19742
|
*/
|
|
19731
|
-
restartJob(jobId,
|
|
19732
|
-
return (0, exports.JobActionsApiFp)(this.configuration).restartJob(jobId,
|
|
19743
|
+
restartJob(jobId, forceEvent, options) {
|
|
19744
|
+
return (0, exports.JobActionsApiFp)(this.configuration).restartJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
19733
19745
|
}
|
|
19734
19746
|
/**
|
|
19735
19747
|
*
|