qovery-typescript-axios 1.1.67 → 1.1.69
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 +44 -26
- package/dist/api.d.ts +34 -16
- package/dist/api.js +26 -26
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -250,6 +250,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
250
250
|
* @memberof ApplicationAdvancedSettings
|
|
251
251
|
*/
|
|
252
252
|
'deployment.custom_domain_check_enabled'?: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* define how long in seconds an application is supposed to be stopped gracefully
|
|
255
|
+
* @type {number}
|
|
256
|
+
* @memberof ApplicationAdvancedSettings
|
|
257
|
+
*/
|
|
258
|
+
'deployment.termination_grace_period_seconds'?: number;
|
|
253
259
|
/**
|
|
254
260
|
*
|
|
255
261
|
* @type {number}
|
|
@@ -2941,6 +2947,12 @@ export interface ContainerAdvancedSettings {
|
|
|
2941
2947
|
* @memberof ContainerAdvancedSettings
|
|
2942
2948
|
*/
|
|
2943
2949
|
'deployment.custom_domain_check_enabled'?: boolean;
|
|
2950
|
+
/**
|
|
2951
|
+
* define how long in seconds an application is supposed to be stopped gracefully
|
|
2952
|
+
* @type {number}
|
|
2953
|
+
* @memberof ContainerAdvancedSettings
|
|
2954
|
+
*/
|
|
2955
|
+
'deployment.termination_grace_period_seconds'?: number;
|
|
2944
2956
|
/**
|
|
2945
2957
|
*
|
|
2946
2958
|
* @type {number}
|
|
@@ -7786,6 +7798,12 @@ export enum InvoiceStatusEnum {
|
|
|
7786
7798
|
* @interface JobAdvancedSettings
|
|
7787
7799
|
*/
|
|
7788
7800
|
export interface JobAdvancedSettings {
|
|
7801
|
+
/**
|
|
7802
|
+
* define how long in seconds an application is supposed to be stopped gracefully
|
|
7803
|
+
* @type {number}
|
|
7804
|
+
* @memberof JobAdvancedSettings
|
|
7805
|
+
*/
|
|
7806
|
+
'deployment.termination_grace_period_seconds'?: number;
|
|
7789
7807
|
/**
|
|
7790
7808
|
*
|
|
7791
7809
|
* @type {number}
|
|
@@ -32505,12 +32523,12 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32505
32523
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32506
32524
|
* @summary Deploy job
|
|
32507
32525
|
* @param {string} jobId Job ID
|
|
32508
|
-
* @param {JobForceEvent} [
|
|
32526
|
+
* @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.
|
|
32509
32527
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32510
32528
|
* @param {*} [options] Override http request option.
|
|
32511
32529
|
* @throws {RequiredError}
|
|
32512
32530
|
*/
|
|
32513
|
-
deployJob: async (jobId: string,
|
|
32531
|
+
deployJob: async (jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32514
32532
|
// verify required parameter 'jobId' is not null or undefined
|
|
32515
32533
|
assertParamExists('deployJob', 'jobId', jobId)
|
|
32516
32534
|
const localVarPath = `/job/{jobId}/deploy`
|
|
@@ -32530,8 +32548,8 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32530
32548
|
// http bearer authentication required
|
|
32531
32549
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32532
32550
|
|
|
32533
|
-
if (
|
|
32534
|
-
localVarQueryParameter['
|
|
32551
|
+
if (forceEvent !== undefined) {
|
|
32552
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
32535
32553
|
}
|
|
32536
32554
|
|
|
32537
32555
|
|
|
@@ -32552,11 +32570,11 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32552
32570
|
*
|
|
32553
32571
|
* @summary Restart job
|
|
32554
32572
|
* @param {string} jobId Job ID
|
|
32555
|
-
* @param {
|
|
32573
|
+
* @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.
|
|
32556
32574
|
* @param {*} [options] Override http request option.
|
|
32557
32575
|
* @throws {RequiredError}
|
|
32558
32576
|
*/
|
|
32559
|
-
restartJob: async (jobId: string,
|
|
32577
|
+
restartJob: async (jobId: string, forceEvent?: JobForceEvent, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32560
32578
|
// verify required parameter 'jobId' is not null or undefined
|
|
32561
32579
|
assertParamExists('restartJob', 'jobId', jobId)
|
|
32562
32580
|
const localVarPath = `/job/{jobId}/restart`
|
|
@@ -32576,8 +32594,8 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32576
32594
|
// http bearer authentication required
|
|
32577
32595
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32578
32596
|
|
|
32579
|
-
if (
|
|
32580
|
-
localVarQueryParameter['
|
|
32597
|
+
if (forceEvent !== undefined) {
|
|
32598
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
32581
32599
|
}
|
|
32582
32600
|
|
|
32583
32601
|
|
|
@@ -32643,25 +32661,25 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
32643
32661
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32644
32662
|
* @summary Deploy job
|
|
32645
32663
|
* @param {string} jobId Job ID
|
|
32646
|
-
* @param {JobForceEvent} [
|
|
32664
|
+
* @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
32665
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32648
32666
|
* @param {*} [options] Override http request option.
|
|
32649
32667
|
* @throws {RequiredError}
|
|
32650
32668
|
*/
|
|
32651
|
-
async deployJob(jobId: string,
|
|
32652
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId,
|
|
32669
|
+
async deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32670
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
32653
32671
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32654
32672
|
},
|
|
32655
32673
|
/**
|
|
32656
32674
|
*
|
|
32657
32675
|
* @summary Restart job
|
|
32658
32676
|
* @param {string} jobId Job ID
|
|
32659
|
-
* @param {
|
|
32677
|
+
* @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.
|
|
32660
32678
|
* @param {*} [options] Override http request option.
|
|
32661
32679
|
* @throws {RequiredError}
|
|
32662
32680
|
*/
|
|
32663
|
-
async restartJob(jobId: string,
|
|
32664
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.restartJob(jobId,
|
|
32681
|
+
async restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartJob(jobId, forceEvent, options);
|
|
32665
32683
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32666
32684
|
},
|
|
32667
32685
|
/**
|
|
@@ -32689,24 +32707,24 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
32689
32707
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32690
32708
|
* @summary Deploy job
|
|
32691
32709
|
* @param {string} jobId Job ID
|
|
32692
|
-
* @param {JobForceEvent} [
|
|
32710
|
+
* @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.
|
|
32693
32711
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32694
32712
|
* @param {*} [options] Override http request option.
|
|
32695
32713
|
* @throws {RequiredError}
|
|
32696
32714
|
*/
|
|
32697
|
-
deployJob(jobId: string,
|
|
32698
|
-
return localVarFp.deployJob(jobId,
|
|
32715
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
32716
|
+
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
32699
32717
|
},
|
|
32700
32718
|
/**
|
|
32701
32719
|
*
|
|
32702
32720
|
* @summary Restart job
|
|
32703
32721
|
* @param {string} jobId Job ID
|
|
32704
|
-
* @param {
|
|
32722
|
+
* @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.
|
|
32705
32723
|
* @param {*} [options] Override http request option.
|
|
32706
32724
|
* @throws {RequiredError}
|
|
32707
32725
|
*/
|
|
32708
|
-
restartJob(jobId: string,
|
|
32709
|
-
return localVarFp.restartJob(jobId,
|
|
32726
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status> {
|
|
32727
|
+
return localVarFp.restartJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
32710
32728
|
},
|
|
32711
32729
|
/**
|
|
32712
32730
|
*
|
|
@@ -32732,27 +32750,27 @@ export class JobActionsApi extends BaseAPI {
|
|
|
32732
32750
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
32733
32751
|
* @summary Deploy job
|
|
32734
32752
|
* @param {string} jobId Job ID
|
|
32735
|
-
* @param {JobForceEvent} [
|
|
32753
|
+
* @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.
|
|
32736
32754
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32737
32755
|
* @param {*} [options] Override http request option.
|
|
32738
32756
|
* @throws {RequiredError}
|
|
32739
32757
|
* @memberof JobActionsApi
|
|
32740
32758
|
*/
|
|
32741
|
-
public deployJob(jobId: string,
|
|
32742
|
-
return JobActionsApiFp(this.configuration).deployJob(jobId,
|
|
32759
|
+
public deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) {
|
|
32760
|
+
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32743
32761
|
}
|
|
32744
32762
|
|
|
32745
32763
|
/**
|
|
32746
32764
|
*
|
|
32747
32765
|
* @summary Restart job
|
|
32748
32766
|
* @param {string} jobId Job ID
|
|
32749
|
-
* @param {
|
|
32767
|
+
* @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.
|
|
32750
32768
|
* @param {*} [options] Override http request option.
|
|
32751
32769
|
* @throws {RequiredError}
|
|
32752
32770
|
* @memberof JobActionsApi
|
|
32753
32771
|
*/
|
|
32754
|
-
public restartJob(jobId: string,
|
|
32755
|
-
return JobActionsApiFp(this.configuration).restartJob(jobId,
|
|
32772
|
+
public restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) {
|
|
32773
|
+
return JobActionsApiFp(this.configuration).restartJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
32756
32774
|
}
|
|
32757
32775
|
|
|
32758
32776
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -239,6 +239,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
239
239
|
* @memberof ApplicationAdvancedSettings
|
|
240
240
|
*/
|
|
241
241
|
'deployment.custom_domain_check_enabled'?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* define how long in seconds an application is supposed to be stopped gracefully
|
|
244
|
+
* @type {number}
|
|
245
|
+
* @memberof ApplicationAdvancedSettings
|
|
246
|
+
*/
|
|
247
|
+
'deployment.termination_grace_period_seconds'?: number;
|
|
242
248
|
/**
|
|
243
249
|
*
|
|
244
250
|
* @type {number}
|
|
@@ -2918,6 +2924,12 @@ export interface ContainerAdvancedSettings {
|
|
|
2918
2924
|
* @memberof ContainerAdvancedSettings
|
|
2919
2925
|
*/
|
|
2920
2926
|
'deployment.custom_domain_check_enabled'?: boolean;
|
|
2927
|
+
/**
|
|
2928
|
+
* define how long in seconds an application is supposed to be stopped gracefully
|
|
2929
|
+
* @type {number}
|
|
2930
|
+
* @memberof ContainerAdvancedSettings
|
|
2931
|
+
*/
|
|
2932
|
+
'deployment.termination_grace_period_seconds'?: number;
|
|
2921
2933
|
/**
|
|
2922
2934
|
*
|
|
2923
2935
|
* @type {number}
|
|
@@ -7729,6 +7741,12 @@ export declare enum InvoiceStatusEnum {
|
|
|
7729
7741
|
* @interface JobAdvancedSettings
|
|
7730
7742
|
*/
|
|
7731
7743
|
export interface JobAdvancedSettings {
|
|
7744
|
+
/**
|
|
7745
|
+
* define how long in seconds an application is supposed to be stopped gracefully
|
|
7746
|
+
* @type {number}
|
|
7747
|
+
* @memberof JobAdvancedSettings
|
|
7748
|
+
*/
|
|
7749
|
+
'deployment.termination_grace_period_seconds'?: number;
|
|
7732
7750
|
/**
|
|
7733
7751
|
*
|
|
7734
7752
|
* @type {number}
|
|
@@ -22099,21 +22117,21 @@ export declare const JobActionsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
22099
22117
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22100
22118
|
* @summary Deploy job
|
|
22101
22119
|
* @param {string} jobId Job ID
|
|
22102
|
-
* @param {JobForceEvent} [
|
|
22120
|
+
* @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.
|
|
22103
22121
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22104
22122
|
* @param {*} [options] Override http request option.
|
|
22105
22123
|
* @throws {RequiredError}
|
|
22106
22124
|
*/
|
|
22107
|
-
deployJob: (jobId: string,
|
|
22125
|
+
deployJob: (jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22108
22126
|
/**
|
|
22109
22127
|
*
|
|
22110
22128
|
* @summary Restart job
|
|
22111
22129
|
* @param {string} jobId Job ID
|
|
22112
|
-
* @param {
|
|
22130
|
+
* @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.
|
|
22113
22131
|
* @param {*} [options] Override http request option.
|
|
22114
22132
|
* @throws {RequiredError}
|
|
22115
22133
|
*/
|
|
22116
|
-
restartJob: (jobId: string,
|
|
22134
|
+
restartJob: (jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22117
22135
|
/**
|
|
22118
22136
|
*
|
|
22119
22137
|
* @summary Stop job
|
|
@@ -22132,21 +22150,21 @@ export declare const JobActionsApiFp: (configuration?: Configuration) => {
|
|
|
22132
22150
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22133
22151
|
* @summary Deploy job
|
|
22134
22152
|
* @param {string} jobId Job ID
|
|
22135
|
-
* @param {JobForceEvent} [
|
|
22153
|
+
* @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.
|
|
22136
22154
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22137
22155
|
* @param {*} [options] Override http request option.
|
|
22138
22156
|
* @throws {RequiredError}
|
|
22139
22157
|
*/
|
|
22140
|
-
deployJob(jobId: string,
|
|
22158
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
22141
22159
|
/**
|
|
22142
22160
|
*
|
|
22143
22161
|
* @summary Restart job
|
|
22144
22162
|
* @param {string} jobId Job ID
|
|
22145
|
-
* @param {
|
|
22163
|
+
* @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.
|
|
22146
22164
|
* @param {*} [options] Override http request option.
|
|
22147
22165
|
* @throws {RequiredError}
|
|
22148
22166
|
*/
|
|
22149
|
-
restartJob(jobId: string,
|
|
22167
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
22150
22168
|
/**
|
|
22151
22169
|
*
|
|
22152
22170
|
* @summary Stop job
|
|
@@ -22165,21 +22183,21 @@ export declare const JobActionsApiFactory: (configuration?: Configuration, baseP
|
|
|
22165
22183
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22166
22184
|
* @summary Deploy job
|
|
22167
22185
|
* @param {string} jobId Job ID
|
|
22168
|
-
* @param {JobForceEvent} [
|
|
22186
|
+
* @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.
|
|
22169
22187
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22170
22188
|
* @param {*} [options] Override http request option.
|
|
22171
22189
|
* @throws {RequiredError}
|
|
22172
22190
|
*/
|
|
22173
|
-
deployJob(jobId: string,
|
|
22191
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status>;
|
|
22174
22192
|
/**
|
|
22175
22193
|
*
|
|
22176
22194
|
* @summary Restart job
|
|
22177
22195
|
* @param {string} jobId Job ID
|
|
22178
|
-
* @param {
|
|
22196
|
+
* @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.
|
|
22179
22197
|
* @param {*} [options] Override http request option.
|
|
22180
22198
|
* @throws {RequiredError}
|
|
22181
22199
|
*/
|
|
22182
|
-
restartJob(jobId: string,
|
|
22200
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: any): AxiosPromise<Status>;
|
|
22183
22201
|
/**
|
|
22184
22202
|
*
|
|
22185
22203
|
* @summary Stop job
|
|
@@ -22200,23 +22218,23 @@ export declare class JobActionsApi extends BaseAPI {
|
|
|
22200
22218
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
22201
22219
|
* @summary Deploy job
|
|
22202
22220
|
* @param {string} jobId Job ID
|
|
22203
|
-
* @param {JobForceEvent} [
|
|
22221
|
+
* @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
22222
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
22205
22223
|
* @param {*} [options] Override http request option.
|
|
22206
22224
|
* @throws {RequiredError}
|
|
22207
22225
|
* @memberof JobActionsApi
|
|
22208
22226
|
*/
|
|
22209
|
-
deployJob(jobId: string,
|
|
22227
|
+
deployJob(jobId: string, forceEvent?: JobForceEvent, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
22210
22228
|
/**
|
|
22211
22229
|
*
|
|
22212
22230
|
* @summary Restart job
|
|
22213
22231
|
* @param {string} jobId Job ID
|
|
22214
|
-
* @param {
|
|
22232
|
+
* @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.
|
|
22215
22233
|
* @param {*} [options] Override http request option.
|
|
22216
22234
|
* @throws {RequiredError}
|
|
22217
22235
|
* @memberof JobActionsApi
|
|
22218
22236
|
*/
|
|
22219
|
-
restartJob(jobId: string,
|
|
22237
|
+
restartJob(jobId: string, forceEvent?: JobForceEvent, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status>>;
|
|
22220
22238
|
/**
|
|
22221
22239
|
*
|
|
22222
22240
|
* @summary Stop job
|
package/dist/api.js
CHANGED
|
@@ -19510,12 +19510,12 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19510
19510
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19511
19511
|
* @summary Deploy job
|
|
19512
19512
|
* @param {string} jobId Job ID
|
|
19513
|
-
* @param {JobForceEvent} [
|
|
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.
|
|
19514
19514
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19515
19515
|
* @param {*} [options] Override http request option.
|
|
19516
19516
|
* @throws {RequiredError}
|
|
19517
19517
|
*/
|
|
19518
|
-
deployJob: (jobId,
|
|
19518
|
+
deployJob: (jobId, forceEvent, jobDeployRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
19519
19519
|
// verify required parameter 'jobId' is not null or undefined
|
|
19520
19520
|
(0, common_1.assertParamExists)('deployJob', 'jobId', jobId);
|
|
19521
19521
|
const localVarPath = `/job/{jobId}/deploy`
|
|
@@ -19532,8 +19532,8 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19532
19532
|
// authentication bearerAuth required
|
|
19533
19533
|
// http bearer authentication required
|
|
19534
19534
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19535
|
-
if (
|
|
19536
|
-
localVarQueryParameter['
|
|
19535
|
+
if (forceEvent !== undefined) {
|
|
19536
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
19537
19537
|
}
|
|
19538
19538
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19539
19539
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -19549,11 +19549,11 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19549
19549
|
*
|
|
19550
19550
|
* @summary Restart job
|
|
19551
19551
|
* @param {string} jobId Job ID
|
|
19552
|
-
* @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.
|
|
19553
19553
|
* @param {*} [options] Override http request option.
|
|
19554
19554
|
* @throws {RequiredError}
|
|
19555
19555
|
*/
|
|
19556
|
-
restartJob: (jobId,
|
|
19556
|
+
restartJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
19557
19557
|
// verify required parameter 'jobId' is not null or undefined
|
|
19558
19558
|
(0, common_1.assertParamExists)('restartJob', 'jobId', jobId);
|
|
19559
19559
|
const localVarPath = `/job/{jobId}/restart`
|
|
@@ -19570,8 +19570,8 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19570
19570
|
// authentication bearerAuth required
|
|
19571
19571
|
// http bearer authentication required
|
|
19572
19572
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19573
|
-
if (
|
|
19574
|
-
localVarQueryParameter['
|
|
19573
|
+
if (forceEvent !== undefined) {
|
|
19574
|
+
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
19575
19575
|
}
|
|
19576
19576
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19577
19577
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -19627,14 +19627,14 @@ const JobActionsApiFp = function (configuration) {
|
|
|
19627
19627
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19628
19628
|
* @summary Deploy job
|
|
19629
19629
|
* @param {string} jobId Job ID
|
|
19630
|
-
* @param {JobForceEvent} [
|
|
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.
|
|
19631
19631
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19632
19632
|
* @param {*} [options] Override http request option.
|
|
19633
19633
|
* @throws {RequiredError}
|
|
19634
19634
|
*/
|
|
19635
|
-
deployJob(jobId,
|
|
19635
|
+
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
19636
19636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19637
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployJob(jobId,
|
|
19637
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployJob(jobId, forceEvent, jobDeployRequest, options);
|
|
19638
19638
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
19639
19639
|
});
|
|
19640
19640
|
},
|
|
@@ -19642,13 +19642,13 @@ const JobActionsApiFp = function (configuration) {
|
|
|
19642
19642
|
*
|
|
19643
19643
|
* @summary Restart job
|
|
19644
19644
|
* @param {string} jobId Job ID
|
|
19645
|
-
* @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.
|
|
19646
19646
|
* @param {*} [options] Override http request option.
|
|
19647
19647
|
* @throws {RequiredError}
|
|
19648
19648
|
*/
|
|
19649
|
-
restartJob(jobId,
|
|
19649
|
+
restartJob(jobId, forceEvent, options) {
|
|
19650
19650
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19651
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartJob(jobId,
|
|
19651
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartJob(jobId, forceEvent, options);
|
|
19652
19652
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
19653
19653
|
});
|
|
19654
19654
|
},
|
|
@@ -19679,24 +19679,24 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
19679
19679
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19680
19680
|
* @summary Deploy job
|
|
19681
19681
|
* @param {string} jobId Job ID
|
|
19682
|
-
* @param {JobForceEvent} [
|
|
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.
|
|
19683
19683
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19684
19684
|
* @param {*} [options] Override http request option.
|
|
19685
19685
|
* @throws {RequiredError}
|
|
19686
19686
|
*/
|
|
19687
|
-
deployJob(jobId,
|
|
19688
|
-
return localVarFp.deployJob(jobId,
|
|
19687
|
+
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
19688
|
+
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
19689
19689
|
},
|
|
19690
19690
|
/**
|
|
19691
19691
|
*
|
|
19692
19692
|
* @summary Restart job
|
|
19693
19693
|
* @param {string} jobId Job ID
|
|
19694
|
-
* @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.
|
|
19695
19695
|
* @param {*} [options] Override http request option.
|
|
19696
19696
|
* @throws {RequiredError}
|
|
19697
19697
|
*/
|
|
19698
|
-
restartJob(jobId,
|
|
19699
|
-
return localVarFp.restartJob(jobId,
|
|
19698
|
+
restartJob(jobId, forceEvent, options) {
|
|
19699
|
+
return localVarFp.restartJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
19700
19700
|
},
|
|
19701
19701
|
/**
|
|
19702
19702
|
*
|
|
@@ -19722,26 +19722,26 @@ class JobActionsApi extends base_1.BaseAPI {
|
|
|
19722
19722
|
* You must provide a git commit id or an image tag depending on the source location of your code (git vs image repository).
|
|
19723
19723
|
* @summary Deploy job
|
|
19724
19724
|
* @param {string} jobId Job ID
|
|
19725
|
-
* @param {JobForceEvent} [
|
|
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.
|
|
19726
19726
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
19727
19727
|
* @param {*} [options] Override http request option.
|
|
19728
19728
|
* @throws {RequiredError}
|
|
19729
19729
|
* @memberof JobActionsApi
|
|
19730
19730
|
*/
|
|
19731
|
-
deployJob(jobId,
|
|
19732
|
-
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));
|
|
19733
19733
|
}
|
|
19734
19734
|
/**
|
|
19735
19735
|
*
|
|
19736
19736
|
* @summary Restart job
|
|
19737
19737
|
* @param {string} jobId Job ID
|
|
19738
|
-
* @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.
|
|
19739
19739
|
* @param {*} [options] Override http request option.
|
|
19740
19740
|
* @throws {RequiredError}
|
|
19741
19741
|
* @memberof JobActionsApi
|
|
19742
19742
|
*/
|
|
19743
|
-
restartJob(jobId,
|
|
19744
|
-
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));
|
|
19745
19745
|
}
|
|
19746
19746
|
/**
|
|
19747
19747
|
*
|