qovery-typescript-axios 1.1.44 → 1.1.47
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 +361 -176
- package/dist/api.d.ts +208 -92
- package/dist/api.js +337 -176
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5248,6 +5248,18 @@ export interface DeploymentHistoryJobResponse {
|
|
|
5248
5248
|
* @memberof DeploymentHistoryJobResponse
|
|
5249
5249
|
*/
|
|
5250
5250
|
'tag'?: string;
|
|
5251
|
+
/**
|
|
5252
|
+
*
|
|
5253
|
+
* @type {Commit}
|
|
5254
|
+
* @memberof DeploymentHistoryJobResponse
|
|
5255
|
+
*/
|
|
5256
|
+
'commit'?: Commit;
|
|
5257
|
+
/**
|
|
5258
|
+
*
|
|
5259
|
+
* @type {JobRequestAllOfSchedule}
|
|
5260
|
+
* @memberof DeploymentHistoryJobResponse
|
|
5261
|
+
*/
|
|
5262
|
+
'schedule'?: JobRequestAllOfSchedule;
|
|
5251
5263
|
/**
|
|
5252
5264
|
*
|
|
5253
5265
|
* @type {Array<string>}
|
|
@@ -5291,6 +5303,18 @@ export interface DeploymentHistoryJobResponseAllOf {
|
|
|
5291
5303
|
* @memberof DeploymentHistoryJobResponseAllOf
|
|
5292
5304
|
*/
|
|
5293
5305
|
'tag'?: string;
|
|
5306
|
+
/**
|
|
5307
|
+
*
|
|
5308
|
+
* @type {Commit}
|
|
5309
|
+
* @memberof DeploymentHistoryJobResponseAllOf
|
|
5310
|
+
*/
|
|
5311
|
+
'commit'?: Commit;
|
|
5312
|
+
/**
|
|
5313
|
+
*
|
|
5314
|
+
* @type {JobRequestAllOfSchedule}
|
|
5315
|
+
* @memberof DeploymentHistoryJobResponseAllOf
|
|
5316
|
+
*/
|
|
5317
|
+
'schedule'?: JobRequestAllOfSchedule;
|
|
5294
5318
|
/**
|
|
5295
5319
|
*
|
|
5296
5320
|
* @type {Array<string>}
|
|
@@ -32177,13 +32201,17 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32177
32201
|
/**
|
|
32178
32202
|
* You must provide a git commit id
|
|
32179
32203
|
* @summary Deploy job
|
|
32204
|
+
* @param {string} jobId Job ID
|
|
32180
32205
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32181
32206
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32182
32207
|
* @param {*} [options] Override http request option.
|
|
32183
32208
|
* @throws {RequiredError}
|
|
32184
32209
|
*/
|
|
32185
|
-
deployJob: async (force?: boolean, jobDeployRequest?: JobDeployRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32186
|
-
|
|
32210
|
+
deployJob: async (jobId: string, force?: boolean, jobDeployRequest?: JobDeployRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32211
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32212
|
+
assertParamExists('deployJob', 'jobId', jobId)
|
|
32213
|
+
const localVarPath = `/job/{jobId}/deploy`
|
|
32214
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32187
32215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32188
32216
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32189
32217
|
let baseOptions;
|
|
@@ -32220,12 +32248,16 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32220
32248
|
/**
|
|
32221
32249
|
*
|
|
32222
32250
|
* @summary Restart job
|
|
32251
|
+
* @param {string} jobId Job ID
|
|
32223
32252
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32224
32253
|
* @param {*} [options] Override http request option.
|
|
32225
32254
|
* @throws {RequiredError}
|
|
32226
32255
|
*/
|
|
32227
|
-
restartJob: async (force?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32228
|
-
|
|
32256
|
+
restartJob: async (jobId: string, force?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32257
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32258
|
+
assertParamExists('restartJob', 'jobId', jobId)
|
|
32259
|
+
const localVarPath = `/job/{jobId}/restart`
|
|
32260
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32229
32261
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32230
32262
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32231
32263
|
let baseOptions;
|
|
@@ -32259,11 +32291,15 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32259
32291
|
/**
|
|
32260
32292
|
*
|
|
32261
32293
|
* @summary Stop job
|
|
32294
|
+
* @param {string} jobId Job ID
|
|
32262
32295
|
* @param {*} [options] Override http request option.
|
|
32263
32296
|
* @throws {RequiredError}
|
|
32264
32297
|
*/
|
|
32265
|
-
stopJob: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32266
|
-
|
|
32298
|
+
stopJob: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32299
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32300
|
+
assertParamExists('stopJob', 'jobId', jobId)
|
|
32301
|
+
const localVarPath = `/job/{jobId}/stop`
|
|
32302
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32267
32303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32268
32304
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32269
32305
|
let baseOptions;
|
|
@@ -32303,34 +32339,37 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
32303
32339
|
/**
|
|
32304
32340
|
* You must provide a git commit id
|
|
32305
32341
|
* @summary Deploy job
|
|
32342
|
+
* @param {string} jobId Job ID
|
|
32306
32343
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32307
32344
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32308
32345
|
* @param {*} [options] Override http request option.
|
|
32309
32346
|
* @throws {RequiredError}
|
|
32310
32347
|
*/
|
|
32311
|
-
async deployJob(force?: boolean, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32312
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(force, jobDeployRequest, options);
|
|
32348
|
+
async deployJob(jobId: string, force?: boolean, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployJob(jobId, force, jobDeployRequest, options);
|
|
32313
32350
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32314
32351
|
},
|
|
32315
32352
|
/**
|
|
32316
32353
|
*
|
|
32317
32354
|
* @summary Restart job
|
|
32355
|
+
* @param {string} jobId Job ID
|
|
32318
32356
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32319
32357
|
* @param {*} [options] Override http request option.
|
|
32320
32358
|
* @throws {RequiredError}
|
|
32321
32359
|
*/
|
|
32322
|
-
async restartJob(force?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32323
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.restartJob(force, options);
|
|
32360
|
+
async restartJob(jobId: string, force?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restartJob(jobId, force, options);
|
|
32324
32362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32325
32363
|
},
|
|
32326
32364
|
/**
|
|
32327
32365
|
*
|
|
32328
32366
|
* @summary Stop job
|
|
32367
|
+
* @param {string} jobId Job ID
|
|
32329
32368
|
* @param {*} [options] Override http request option.
|
|
32330
32369
|
* @throws {RequiredError}
|
|
32331
32370
|
*/
|
|
32332
|
-
async stopJob(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32333
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.stopJob(options);
|
|
32371
|
+
async stopJob(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopJob(jobId, options);
|
|
32334
32373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32335
32374
|
},
|
|
32336
32375
|
}
|
|
@@ -32346,32 +32385,35 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
32346
32385
|
/**
|
|
32347
32386
|
* You must provide a git commit id
|
|
32348
32387
|
* @summary Deploy job
|
|
32388
|
+
* @param {string} jobId Job ID
|
|
32349
32389
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32350
32390
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32351
32391
|
* @param {*} [options] Override http request option.
|
|
32352
32392
|
* @throws {RequiredError}
|
|
32353
32393
|
*/
|
|
32354
|
-
deployJob(force?: boolean, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
32355
|
-
return localVarFp.deployJob(force, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
32394
|
+
deployJob(jobId: string, force?: boolean, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
32395
|
+
return localVarFp.deployJob(jobId, force, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
32356
32396
|
},
|
|
32357
32397
|
/**
|
|
32358
32398
|
*
|
|
32359
32399
|
* @summary Restart job
|
|
32400
|
+
* @param {string} jobId Job ID
|
|
32360
32401
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32361
32402
|
* @param {*} [options] Override http request option.
|
|
32362
32403
|
* @throws {RequiredError}
|
|
32363
32404
|
*/
|
|
32364
|
-
restartJob(force?: boolean, options?: any): AxiosPromise<Status> {
|
|
32365
|
-
return localVarFp.restartJob(force, options).then((request) => request(axios, basePath));
|
|
32405
|
+
restartJob(jobId: string, force?: boolean, options?: any): AxiosPromise<Status> {
|
|
32406
|
+
return localVarFp.restartJob(jobId, force, options).then((request) => request(axios, basePath));
|
|
32366
32407
|
},
|
|
32367
32408
|
/**
|
|
32368
32409
|
*
|
|
32369
32410
|
* @summary Stop job
|
|
32411
|
+
* @param {string} jobId Job ID
|
|
32370
32412
|
* @param {*} [options] Override http request option.
|
|
32371
32413
|
* @throws {RequiredError}
|
|
32372
32414
|
*/
|
|
32373
|
-
stopJob(options?: any): AxiosPromise<Status> {
|
|
32374
|
-
return localVarFp.stopJob(options).then((request) => request(axios, basePath));
|
|
32415
|
+
stopJob(jobId: string, options?: any): AxiosPromise<Status> {
|
|
32416
|
+
return localVarFp.stopJob(jobId, options).then((request) => request(axios, basePath));
|
|
32375
32417
|
},
|
|
32376
32418
|
};
|
|
32377
32419
|
};
|
|
@@ -32386,37 +32428,40 @@ export class JobActionsApi extends BaseAPI {
|
|
|
32386
32428
|
/**
|
|
32387
32429
|
* You must provide a git commit id
|
|
32388
32430
|
* @summary Deploy job
|
|
32431
|
+
* @param {string} jobId Job ID
|
|
32389
32432
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32390
32433
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32391
32434
|
* @param {*} [options] Override http request option.
|
|
32392
32435
|
* @throws {RequiredError}
|
|
32393
32436
|
* @memberof JobActionsApi
|
|
32394
32437
|
*/
|
|
32395
|
-
public deployJob(force?: boolean, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) {
|
|
32396
|
-
return JobActionsApiFp(this.configuration).deployJob(force, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32438
|
+
public deployJob(jobId: string, force?: boolean, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) {
|
|
32439
|
+
return JobActionsApiFp(this.configuration).deployJob(jobId, force, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
32397
32440
|
}
|
|
32398
32441
|
|
|
32399
32442
|
/**
|
|
32400
32443
|
*
|
|
32401
32444
|
* @summary Restart job
|
|
32445
|
+
* @param {string} jobId Job ID
|
|
32402
32446
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32403
32447
|
* @param {*} [options] Override http request option.
|
|
32404
32448
|
* @throws {RequiredError}
|
|
32405
32449
|
* @memberof JobActionsApi
|
|
32406
32450
|
*/
|
|
32407
|
-
public restartJob(force?: boolean, options?: AxiosRequestConfig) {
|
|
32408
|
-
return JobActionsApiFp(this.configuration).restartJob(force, options).then((request) => request(this.axios, this.basePath));
|
|
32451
|
+
public restartJob(jobId: string, force?: boolean, options?: AxiosRequestConfig) {
|
|
32452
|
+
return JobActionsApiFp(this.configuration).restartJob(jobId, force, options).then((request) => request(this.axios, this.basePath));
|
|
32409
32453
|
}
|
|
32410
32454
|
|
|
32411
32455
|
/**
|
|
32412
32456
|
*
|
|
32413
32457
|
* @summary Stop job
|
|
32458
|
+
* @param {string} jobId Job ID
|
|
32414
32459
|
* @param {*} [options] Override http request option.
|
|
32415
32460
|
* @throws {RequiredError}
|
|
32416
32461
|
* @memberof JobActionsApi
|
|
32417
32462
|
*/
|
|
32418
|
-
public stopJob(options?: AxiosRequestConfig) {
|
|
32419
|
-
return JobActionsApiFp(this.configuration).stopJob(options).then((request) => request(this.axios, this.basePath));
|
|
32463
|
+
public stopJob(jobId: string, options?: AxiosRequestConfig) {
|
|
32464
|
+
return JobActionsApiFp(this.configuration).stopJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
32420
32465
|
}
|
|
32421
32466
|
}
|
|
32422
32467
|
|
|
@@ -32430,12 +32475,16 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
32430
32475
|
/**
|
|
32431
32476
|
* Edit advanced settings by returning table of advanced settings.
|
|
32432
32477
|
* @summary Edit advanced settings
|
|
32478
|
+
* @param {string} jobId Job ID
|
|
32433
32479
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32434
32480
|
* @param {*} [options] Override http request option.
|
|
32435
32481
|
* @throws {RequiredError}
|
|
32436
32482
|
*/
|
|
32437
|
-
editJobAdvancedSettings: async (jobAdvancedSettings?: JobAdvancedSettings, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32438
|
-
|
|
32483
|
+
editJobAdvancedSettings: async (jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32484
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32485
|
+
assertParamExists('editJobAdvancedSettings', 'jobId', jobId)
|
|
32486
|
+
const localVarPath = `/job/{jobId}/advancedSettings`
|
|
32487
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32439
32488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32440
32489
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32441
32490
|
let baseOptions;
|
|
@@ -32468,11 +32517,15 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
32468
32517
|
/**
|
|
32469
32518
|
* Get list and values of the advanced settings of the job.
|
|
32470
32519
|
* @summary Get advanced settings
|
|
32520
|
+
* @param {string} jobId Job ID
|
|
32471
32521
|
* @param {*} [options] Override http request option.
|
|
32472
32522
|
* @throws {RequiredError}
|
|
32473
32523
|
*/
|
|
32474
|
-
getJobAdvancedSettings: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32475
|
-
|
|
32524
|
+
getJobAdvancedSettings: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32525
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32526
|
+
assertParamExists('getJobAdvancedSettings', 'jobId', jobId)
|
|
32527
|
+
const localVarPath = `/job/{jobId}/advancedSettings`
|
|
32528
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32476
32529
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32477
32530
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32478
32531
|
let baseOptions;
|
|
@@ -32512,22 +32565,24 @@ export const JobConfigurationApiFp = function(configuration?: Configuration) {
|
|
|
32512
32565
|
/**
|
|
32513
32566
|
* Edit advanced settings by returning table of advanced settings.
|
|
32514
32567
|
* @summary Edit advanced settings
|
|
32568
|
+
* @param {string} jobId Job ID
|
|
32515
32569
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32516
32570
|
* @param {*} [options] Override http request option.
|
|
32517
32571
|
* @throws {RequiredError}
|
|
32518
32572
|
*/
|
|
32519
|
-
async editJobAdvancedSettings(jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
32520
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobAdvancedSettings(jobAdvancedSettings, options);
|
|
32573
|
+
async editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
32574
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobAdvancedSettings(jobId, jobAdvancedSettings, options);
|
|
32521
32575
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32522
32576
|
},
|
|
32523
32577
|
/**
|
|
32524
32578
|
* Get list and values of the advanced settings of the job.
|
|
32525
32579
|
* @summary Get advanced settings
|
|
32580
|
+
* @param {string} jobId Job ID
|
|
32526
32581
|
* @param {*} [options] Override http request option.
|
|
32527
32582
|
* @throws {RequiredError}
|
|
32528
32583
|
*/
|
|
32529
|
-
async getJobAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
32530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobAdvancedSettings(options);
|
|
32584
|
+
async getJobAdvancedSettings(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
32585
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobAdvancedSettings(jobId, options);
|
|
32531
32586
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32532
32587
|
},
|
|
32533
32588
|
}
|
|
@@ -32543,21 +32598,23 @@ export const JobConfigurationApiFactory = function (configuration?: Configuratio
|
|
|
32543
32598
|
/**
|
|
32544
32599
|
* Edit advanced settings by returning table of advanced settings.
|
|
32545
32600
|
* @summary Edit advanced settings
|
|
32601
|
+
* @param {string} jobId Job ID
|
|
32546
32602
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32547
32603
|
* @param {*} [options] Override http request option.
|
|
32548
32604
|
* @throws {RequiredError}
|
|
32549
32605
|
*/
|
|
32550
|
-
editJobAdvancedSettings(jobAdvancedSettings?: JobAdvancedSettings, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
32551
|
-
return localVarFp.editJobAdvancedSettings(jobAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
32606
|
+
editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
32607
|
+
return localVarFp.editJobAdvancedSettings(jobId, jobAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
32552
32608
|
},
|
|
32553
32609
|
/**
|
|
32554
32610
|
* Get list and values of the advanced settings of the job.
|
|
32555
32611
|
* @summary Get advanced settings
|
|
32612
|
+
* @param {string} jobId Job ID
|
|
32556
32613
|
* @param {*} [options] Override http request option.
|
|
32557
32614
|
* @throws {RequiredError}
|
|
32558
32615
|
*/
|
|
32559
|
-
getJobAdvancedSettings(options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
32560
|
-
return localVarFp.getJobAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
32616
|
+
getJobAdvancedSettings(jobId: string, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
32617
|
+
return localVarFp.getJobAdvancedSettings(jobId, options).then((request) => request(axios, basePath));
|
|
32561
32618
|
},
|
|
32562
32619
|
};
|
|
32563
32620
|
};
|
|
@@ -32572,24 +32629,26 @@ export class JobConfigurationApi extends BaseAPI {
|
|
|
32572
32629
|
/**
|
|
32573
32630
|
* Edit advanced settings by returning table of advanced settings.
|
|
32574
32631
|
* @summary Edit advanced settings
|
|
32632
|
+
* @param {string} jobId Job ID
|
|
32575
32633
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32576
32634
|
* @param {*} [options] Override http request option.
|
|
32577
32635
|
* @throws {RequiredError}
|
|
32578
32636
|
* @memberof JobConfigurationApi
|
|
32579
32637
|
*/
|
|
32580
|
-
public editJobAdvancedSettings(jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig) {
|
|
32581
|
-
return JobConfigurationApiFp(this.configuration).editJobAdvancedSettings(jobAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
32638
|
+
public editJobAdvancedSettings(jobId: string, jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig) {
|
|
32639
|
+
return JobConfigurationApiFp(this.configuration).editJobAdvancedSettings(jobId, jobAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
32582
32640
|
}
|
|
32583
32641
|
|
|
32584
32642
|
/**
|
|
32585
32643
|
* Get list and values of the advanced settings of the job.
|
|
32586
32644
|
* @summary Get advanced settings
|
|
32645
|
+
* @param {string} jobId Job ID
|
|
32587
32646
|
* @param {*} [options] Override http request option.
|
|
32588
32647
|
* @throws {RequiredError}
|
|
32589
32648
|
* @memberof JobConfigurationApi
|
|
32590
32649
|
*/
|
|
32591
|
-
public getJobAdvancedSettings(options?: AxiosRequestConfig) {
|
|
32592
|
-
return JobConfigurationApiFp(this.configuration).getJobAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
32650
|
+
public getJobAdvancedSettings(jobId: string, options?: AxiosRequestConfig) {
|
|
32651
|
+
return JobConfigurationApiFp(this.configuration).getJobAdvancedSettings(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
32593
32652
|
}
|
|
32594
32653
|
}
|
|
32595
32654
|
|
|
@@ -32603,11 +32662,15 @@ export const JobDeploymentHistoryApiAxiosParamCreator = function (configuration?
|
|
|
32603
32662
|
/**
|
|
32604
32663
|
* Returns the 20 last job deployments
|
|
32605
32664
|
* @summary List job deployments
|
|
32665
|
+
* @param {string} jobId Job ID
|
|
32606
32666
|
* @param {*} [options] Override http request option.
|
|
32607
32667
|
* @throws {RequiredError}
|
|
32608
32668
|
*/
|
|
32609
|
-
listJobDeploymentHistory: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32610
|
-
|
|
32669
|
+
listJobDeploymentHistory: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32670
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32671
|
+
assertParamExists('listJobDeploymentHistory', 'jobId', jobId)
|
|
32672
|
+
const localVarPath = `/job/{jobId}/deploymentHistory`
|
|
32673
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32611
32674
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32612
32675
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32613
32676
|
let baseOptions;
|
|
@@ -32647,11 +32710,12 @@ export const JobDeploymentHistoryApiFp = function(configuration?: Configuration)
|
|
|
32647
32710
|
/**
|
|
32648
32711
|
* Returns the 20 last job deployments
|
|
32649
32712
|
* @summary List job deployments
|
|
32713
|
+
* @param {string} jobId Job ID
|
|
32650
32714
|
* @param {*} [options] Override http request option.
|
|
32651
32715
|
* @throws {RequiredError}
|
|
32652
32716
|
*/
|
|
32653
|
-
async listJobDeploymentHistory(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>> {
|
|
32654
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobDeploymentHistory(options);
|
|
32717
|
+
async listJobDeploymentHistory(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>> {
|
|
32718
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobDeploymentHistory(jobId, options);
|
|
32655
32719
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32656
32720
|
},
|
|
32657
32721
|
}
|
|
@@ -32667,11 +32731,12 @@ export const JobDeploymentHistoryApiFactory = function (configuration?: Configur
|
|
|
32667
32731
|
/**
|
|
32668
32732
|
* Returns the 20 last job deployments
|
|
32669
32733
|
* @summary List job deployments
|
|
32734
|
+
* @param {string} jobId Job ID
|
|
32670
32735
|
* @param {*} [options] Override http request option.
|
|
32671
32736
|
* @throws {RequiredError}
|
|
32672
32737
|
*/
|
|
32673
|
-
listJobDeploymentHistory(options?: any): AxiosPromise<PaginationData & object> {
|
|
32674
|
-
return localVarFp.listJobDeploymentHistory(options).then((request) => request(axios, basePath));
|
|
32738
|
+
listJobDeploymentHistory(jobId: string, options?: any): AxiosPromise<PaginationData & object> {
|
|
32739
|
+
return localVarFp.listJobDeploymentHistory(jobId, options).then((request) => request(axios, basePath));
|
|
32675
32740
|
},
|
|
32676
32741
|
};
|
|
32677
32742
|
};
|
|
@@ -32686,12 +32751,13 @@ export class JobDeploymentHistoryApi extends BaseAPI {
|
|
|
32686
32751
|
/**
|
|
32687
32752
|
* Returns the 20 last job deployments
|
|
32688
32753
|
* @summary List job deployments
|
|
32754
|
+
* @param {string} jobId Job ID
|
|
32689
32755
|
* @param {*} [options] Override http request option.
|
|
32690
32756
|
* @throws {RequiredError}
|
|
32691
32757
|
* @memberof JobDeploymentHistoryApi
|
|
32692
32758
|
*/
|
|
32693
|
-
public listJobDeploymentHistory(options?: AxiosRequestConfig) {
|
|
32694
|
-
return JobDeploymentHistoryApiFp(this.configuration).listJobDeploymentHistory(options).then((request) => request(this.axios, this.basePath));
|
|
32759
|
+
public listJobDeploymentHistory(jobId: string, options?: AxiosRequestConfig) {
|
|
32760
|
+
return JobDeploymentHistoryApiFp(this.configuration).listJobDeploymentHistory(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
32695
32761
|
}
|
|
32696
32762
|
}
|
|
32697
32763
|
|
|
@@ -32705,12 +32771,16 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32705
32771
|
/**
|
|
32706
32772
|
* - Add an environment variable to the job.
|
|
32707
32773
|
* @summary Add an environment variable to the job
|
|
32774
|
+
* @param {string} jobId Job ID
|
|
32708
32775
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
32709
32776
|
* @param {*} [options] Override http request option.
|
|
32710
32777
|
* @throws {RequiredError}
|
|
32711
32778
|
*/
|
|
32712
|
-
createJobEnvironmentVariable: async (environmentVariableRequest?: EnvironmentVariableRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32713
|
-
|
|
32779
|
+
createJobEnvironmentVariable: async (jobId: string, environmentVariableRequest?: EnvironmentVariableRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32780
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32781
|
+
assertParamExists('createJobEnvironmentVariable', 'jobId', jobId)
|
|
32782
|
+
const localVarPath = `/job/{jobId}/environmentVariable`
|
|
32783
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32714
32784
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32715
32785
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32716
32786
|
let baseOptions;
|
|
@@ -32743,15 +32813,19 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32743
32813
|
/**
|
|
32744
32814
|
* - Allows you to add an alias at job level on an existing environment variable having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new environment variable at job level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
32745
32815
|
* @summary Create an environment variable alias at the job level
|
|
32816
|
+
* @param {string} jobId Job ID
|
|
32746
32817
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32747
32818
|
* @param {Key} [key]
|
|
32748
32819
|
* @param {*} [options] Override http request option.
|
|
32749
32820
|
* @throws {RequiredError}
|
|
32750
32821
|
*/
|
|
32751
|
-
createJobEnvironmentVariableAlias: async (environmentVariableId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32822
|
+
createJobEnvironmentVariableAlias: async (jobId: string, environmentVariableId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32823
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32824
|
+
assertParamExists('createJobEnvironmentVariableAlias', 'jobId', jobId)
|
|
32752
32825
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32753
32826
|
assertParamExists('createJobEnvironmentVariableAlias', 'environmentVariableId', environmentVariableId)
|
|
32754
32827
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}/alias`
|
|
32828
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32755
32829
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32756
32830
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32757
32831
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32785,15 +32859,19 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32785
32859
|
/**
|
|
32786
32860
|
* - Allows you to override at job level an environment variable that has a higher scope. - You only have to specify a value in the request body - The system will create a new environment variable at job level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" field of the newly created variable
|
|
32787
32861
|
* @summary Create an environment variable override at the job level
|
|
32862
|
+
* @param {string} jobId Job ID
|
|
32788
32863
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32789
32864
|
* @param {Value} [value]
|
|
32790
32865
|
* @param {*} [options] Override http request option.
|
|
32791
32866
|
* @throws {RequiredError}
|
|
32792
32867
|
*/
|
|
32793
|
-
createJobEnvironmentVariableOverride: async (environmentVariableId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32868
|
+
createJobEnvironmentVariableOverride: async (jobId: string, environmentVariableId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32869
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32870
|
+
assertParamExists('createJobEnvironmentVariableOverride', 'jobId', jobId)
|
|
32794
32871
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32795
32872
|
assertParamExists('createJobEnvironmentVariableOverride', 'environmentVariableId', environmentVariableId)
|
|
32796
32873
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}/override`
|
|
32874
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32797
32875
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32798
32876
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32799
32877
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32827,14 +32905,18 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32827
32905
|
/**
|
|
32828
32906
|
* - To delete an environment variable from an job you must have the project user permission - You can\'t delete a BUILT_IN variable - If you delete a variable having override or alias, the associated override/alias will be deleted as well
|
|
32829
32907
|
* @summary Delete an environment variable from a job
|
|
32908
|
+
* @param {string} jobId Job ID
|
|
32830
32909
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32831
32910
|
* @param {*} [options] Override http request option.
|
|
32832
32911
|
* @throws {RequiredError}
|
|
32833
32912
|
*/
|
|
32834
|
-
deleteJobEnvironmentVariable: async (environmentVariableId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32913
|
+
deleteJobEnvironmentVariable: async (jobId: string, environmentVariableId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32914
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32915
|
+
assertParamExists('deleteJobEnvironmentVariable', 'jobId', jobId)
|
|
32835
32916
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32836
32917
|
assertParamExists('deleteJobEnvironmentVariable', 'environmentVariableId', environmentVariableId)
|
|
32837
32918
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}`
|
|
32919
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32838
32920
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32839
32921
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32840
32922
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32865,17 +32947,21 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32865
32947
|
/**
|
|
32866
32948
|
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
32867
32949
|
* @summary Edit an environment variable belonging to the job
|
|
32950
|
+
* @param {string} jobId Job ID
|
|
32868
32951
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32869
32952
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
32870
32953
|
* @param {*} [options] Override http request option.
|
|
32871
32954
|
* @throws {RequiredError}
|
|
32872
32955
|
*/
|
|
32873
|
-
editJobEnvironmentVariable: async (environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32956
|
+
editJobEnvironmentVariable: async (jobId: string, environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32957
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
32958
|
+
assertParamExists('editJobEnvironmentVariable', 'jobId', jobId)
|
|
32874
32959
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32875
32960
|
assertParamExists('editJobEnvironmentVariable', 'environmentVariableId', environmentVariableId)
|
|
32876
32961
|
// verify required parameter 'environmentVariableEditRequest' is not null or undefined
|
|
32877
32962
|
assertParamExists('editJobEnvironmentVariable', 'environmentVariableEditRequest', environmentVariableEditRequest)
|
|
32878
32963
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}`
|
|
32964
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32879
32965
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32880
32966
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32881
32967
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32909,12 +32995,16 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32909
32995
|
/**
|
|
32910
32996
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32911
32997
|
* @summary Import variables
|
|
32998
|
+
* @param {string} jobId Job ID
|
|
32912
32999
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32913
33000
|
* @param {*} [options] Override http request option.
|
|
32914
33001
|
* @throws {RequiredError}
|
|
32915
33002
|
*/
|
|
32916
|
-
importJobEnvironmentVariable: async (variableImportRequest?: VariableImportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32917
|
-
|
|
33003
|
+
importJobEnvironmentVariable: async (jobId: string, variableImportRequest?: VariableImportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33004
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33005
|
+
assertParamExists('importJobEnvironmentVariable', 'jobId', jobId)
|
|
33006
|
+
const localVarPath = `/job/{jobId}/environmentVariable/import`
|
|
33007
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32918
33008
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32919
33009
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32920
33010
|
let baseOptions;
|
|
@@ -32947,11 +33037,15 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32947
33037
|
/**
|
|
32948
33038
|
*
|
|
32949
33039
|
* @summary List environment variables
|
|
33040
|
+
* @param {string} jobId Job ID
|
|
32950
33041
|
* @param {*} [options] Override http request option.
|
|
32951
33042
|
* @throws {RequiredError}
|
|
32952
33043
|
*/
|
|
32953
|
-
listJobEnvironmentVariable: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32954
|
-
|
|
33044
|
+
listJobEnvironmentVariable: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33045
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33046
|
+
assertParamExists('listJobEnvironmentVariable', 'jobId', jobId)
|
|
33047
|
+
const localVarPath = `/job/{jobId}/environmentVariable`
|
|
33048
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
32955
33049
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32956
33050
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32957
33051
|
let baseOptions;
|
|
@@ -32991,80 +33085,87 @@ export const JobEnvironmentVariableApiFp = function(configuration?: Configuratio
|
|
|
32991
33085
|
/**
|
|
32992
33086
|
* - Add an environment variable to the job.
|
|
32993
33087
|
* @summary Add an environment variable to the job
|
|
33088
|
+
* @param {string} jobId Job ID
|
|
32994
33089
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
32995
33090
|
* @param {*} [options] Override http request option.
|
|
32996
33091
|
* @throws {RequiredError}
|
|
32997
33092
|
*/
|
|
32998
|
-
async createJobEnvironmentVariable(environmentVariableRequest?: EnvironmentVariableRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
32999
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobEnvironmentVariable(environmentVariableRequest, options);
|
|
33093
|
+
async createJobEnvironmentVariable(jobId: string, environmentVariableRequest?: EnvironmentVariableRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33094
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobEnvironmentVariable(jobId, environmentVariableRequest, options);
|
|
33000
33095
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33001
33096
|
},
|
|
33002
33097
|
/**
|
|
33003
33098
|
* - Allows you to add an alias at job level on an existing environment variable having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new environment variable at job level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
33004
33099
|
* @summary Create an environment variable alias at the job level
|
|
33100
|
+
* @param {string} jobId Job ID
|
|
33005
33101
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33006
33102
|
* @param {Key} [key]
|
|
33007
33103
|
* @param {*} [options] Override http request option.
|
|
33008
33104
|
* @throws {RequiredError}
|
|
33009
33105
|
*/
|
|
33010
|
-
async createJobEnvironmentVariableAlias(environmentVariableId: string, key?: Key, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33011
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobEnvironmentVariableAlias(environmentVariableId, key, options);
|
|
33106
|
+
async createJobEnvironmentVariableAlias(jobId: string, environmentVariableId: string, key?: Key, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobEnvironmentVariableAlias(jobId, environmentVariableId, key, options);
|
|
33012
33108
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33013
33109
|
},
|
|
33014
33110
|
/**
|
|
33015
33111
|
* - Allows you to override at job level an environment variable that has a higher scope. - You only have to specify a value in the request body - The system will create a new environment variable at job level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" field of the newly created variable
|
|
33016
33112
|
* @summary Create an environment variable override at the job level
|
|
33113
|
+
* @param {string} jobId Job ID
|
|
33017
33114
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33018
33115
|
* @param {Value} [value]
|
|
33019
33116
|
* @param {*} [options] Override http request option.
|
|
33020
33117
|
* @throws {RequiredError}
|
|
33021
33118
|
*/
|
|
33022
|
-
async createJobEnvironmentVariableOverride(environmentVariableId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33023
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobEnvironmentVariableOverride(environmentVariableId, value, options);
|
|
33119
|
+
async createJobEnvironmentVariableOverride(jobId: string, environmentVariableId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobEnvironmentVariableOverride(jobId, environmentVariableId, value, options);
|
|
33024
33121
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33025
33122
|
},
|
|
33026
33123
|
/**
|
|
33027
33124
|
* - To delete an environment variable from an job you must have the project user permission - You can\'t delete a BUILT_IN variable - If you delete a variable having override or alias, the associated override/alias will be deleted as well
|
|
33028
33125
|
* @summary Delete an environment variable from a job
|
|
33126
|
+
* @param {string} jobId Job ID
|
|
33029
33127
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33030
33128
|
* @param {*} [options] Override http request option.
|
|
33031
33129
|
* @throws {RequiredError}
|
|
33032
33130
|
*/
|
|
33033
|
-
async deleteJobEnvironmentVariable(environmentVariableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33034
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJobEnvironmentVariable(environmentVariableId, options);
|
|
33131
|
+
async deleteJobEnvironmentVariable(jobId: string, environmentVariableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJobEnvironmentVariable(jobId, environmentVariableId, options);
|
|
33035
33133
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33036
33134
|
},
|
|
33037
33135
|
/**
|
|
33038
33136
|
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
33039
33137
|
* @summary Edit an environment variable belonging to the job
|
|
33138
|
+
* @param {string} jobId Job ID
|
|
33040
33139
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33041
33140
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
33042
33141
|
* @param {*} [options] Override http request option.
|
|
33043
33142
|
* @throws {RequiredError}
|
|
33044
33143
|
*/
|
|
33045
|
-
async editJobEnvironmentVariable(environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33046
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobEnvironmentVariable(environmentVariableId, environmentVariableEditRequest, options);
|
|
33144
|
+
async editJobEnvironmentVariable(jobId: string, environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobEnvironmentVariable(jobId, environmentVariableId, environmentVariableEditRequest, options);
|
|
33047
33146
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33048
33147
|
},
|
|
33049
33148
|
/**
|
|
33050
33149
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
33051
33150
|
* @summary Import variables
|
|
33151
|
+
* @param {string} jobId Job ID
|
|
33052
33152
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
33053
33153
|
* @param {*} [options] Override http request option.
|
|
33054
33154
|
* @throws {RequiredError}
|
|
33055
33155
|
*/
|
|
33056
|
-
async importJobEnvironmentVariable(variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableImport>> {
|
|
33057
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importJobEnvironmentVariable(variableImportRequest, options);
|
|
33156
|
+
async importJobEnvironmentVariable(jobId: string, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableImport>> {
|
|
33157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importJobEnvironmentVariable(jobId, variableImportRequest, options);
|
|
33058
33158
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33059
33159
|
},
|
|
33060
33160
|
/**
|
|
33061
33161
|
*
|
|
33062
33162
|
* @summary List environment variables
|
|
33163
|
+
* @param {string} jobId Job ID
|
|
33063
33164
|
* @param {*} [options] Override http request option.
|
|
33064
33165
|
* @throws {RequiredError}
|
|
33065
33166
|
*/
|
|
33066
|
-
async listJobEnvironmentVariable(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariableResponseList>> {
|
|
33067
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobEnvironmentVariable(options);
|
|
33167
|
+
async listJobEnvironmentVariable(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariableResponseList>> {
|
|
33168
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobEnvironmentVariable(jobId, options);
|
|
33068
33169
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33069
33170
|
},
|
|
33070
33171
|
}
|
|
@@ -33080,74 +33181,81 @@ export const JobEnvironmentVariableApiFactory = function (configuration?: Config
|
|
|
33080
33181
|
/**
|
|
33081
33182
|
* - Add an environment variable to the job.
|
|
33082
33183
|
* @summary Add an environment variable to the job
|
|
33184
|
+
* @param {string} jobId Job ID
|
|
33083
33185
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
33084
33186
|
* @param {*} [options] Override http request option.
|
|
33085
33187
|
* @throws {RequiredError}
|
|
33086
33188
|
*/
|
|
33087
|
-
createJobEnvironmentVariable(environmentVariableRequest?: EnvironmentVariableRequest, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33088
|
-
return localVarFp.createJobEnvironmentVariable(environmentVariableRequest, options).then((request) => request(axios, basePath));
|
|
33189
|
+
createJobEnvironmentVariable(jobId: string, environmentVariableRequest?: EnvironmentVariableRequest, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33190
|
+
return localVarFp.createJobEnvironmentVariable(jobId, environmentVariableRequest, options).then((request) => request(axios, basePath));
|
|
33089
33191
|
},
|
|
33090
33192
|
/**
|
|
33091
33193
|
* - Allows you to add an alias at job level on an existing environment variable having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new environment variable at job level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
33092
33194
|
* @summary Create an environment variable alias at the job level
|
|
33195
|
+
* @param {string} jobId Job ID
|
|
33093
33196
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33094
33197
|
* @param {Key} [key]
|
|
33095
33198
|
* @param {*} [options] Override http request option.
|
|
33096
33199
|
* @throws {RequiredError}
|
|
33097
33200
|
*/
|
|
33098
|
-
createJobEnvironmentVariableAlias(environmentVariableId: string, key?: Key, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33099
|
-
return localVarFp.createJobEnvironmentVariableAlias(environmentVariableId, key, options).then((request) => request(axios, basePath));
|
|
33201
|
+
createJobEnvironmentVariableAlias(jobId: string, environmentVariableId: string, key?: Key, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33202
|
+
return localVarFp.createJobEnvironmentVariableAlias(jobId, environmentVariableId, key, options).then((request) => request(axios, basePath));
|
|
33100
33203
|
},
|
|
33101
33204
|
/**
|
|
33102
33205
|
* - Allows you to override at job level an environment variable that has a higher scope. - You only have to specify a value in the request body - The system will create a new environment variable at job level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" field of the newly created variable
|
|
33103
33206
|
* @summary Create an environment variable override at the job level
|
|
33207
|
+
* @param {string} jobId Job ID
|
|
33104
33208
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33105
33209
|
* @param {Value} [value]
|
|
33106
33210
|
* @param {*} [options] Override http request option.
|
|
33107
33211
|
* @throws {RequiredError}
|
|
33108
33212
|
*/
|
|
33109
|
-
createJobEnvironmentVariableOverride(environmentVariableId: string, value?: Value, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33110
|
-
return localVarFp.createJobEnvironmentVariableOverride(environmentVariableId, value, options).then((request) => request(axios, basePath));
|
|
33213
|
+
createJobEnvironmentVariableOverride(jobId: string, environmentVariableId: string, value?: Value, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33214
|
+
return localVarFp.createJobEnvironmentVariableOverride(jobId, environmentVariableId, value, options).then((request) => request(axios, basePath));
|
|
33111
33215
|
},
|
|
33112
33216
|
/**
|
|
33113
33217
|
* - To delete an environment variable from an job you must have the project user permission - You can\'t delete a BUILT_IN variable - If you delete a variable having override or alias, the associated override/alias will be deleted as well
|
|
33114
33218
|
* @summary Delete an environment variable from a job
|
|
33219
|
+
* @param {string} jobId Job ID
|
|
33115
33220
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33116
33221
|
* @param {*} [options] Override http request option.
|
|
33117
33222
|
* @throws {RequiredError}
|
|
33118
33223
|
*/
|
|
33119
|
-
deleteJobEnvironmentVariable(environmentVariableId: string, options?: any): AxiosPromise<void> {
|
|
33120
|
-
return localVarFp.deleteJobEnvironmentVariable(environmentVariableId, options).then((request) => request(axios, basePath));
|
|
33224
|
+
deleteJobEnvironmentVariable(jobId: string, environmentVariableId: string, options?: any): AxiosPromise<void> {
|
|
33225
|
+
return localVarFp.deleteJobEnvironmentVariable(jobId, environmentVariableId, options).then((request) => request(axios, basePath));
|
|
33121
33226
|
},
|
|
33122
33227
|
/**
|
|
33123
33228
|
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
33124
33229
|
* @summary Edit an environment variable belonging to the job
|
|
33230
|
+
* @param {string} jobId Job ID
|
|
33125
33231
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33126
33232
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
33127
33233
|
* @param {*} [options] Override http request option.
|
|
33128
33234
|
* @throws {RequiredError}
|
|
33129
33235
|
*/
|
|
33130
|
-
editJobEnvironmentVariable(environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33131
|
-
return localVarFp.editJobEnvironmentVariable(environmentVariableId, environmentVariableEditRequest, options).then((request) => request(axios, basePath));
|
|
33236
|
+
editJobEnvironmentVariable(jobId: string, environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33237
|
+
return localVarFp.editJobEnvironmentVariable(jobId, environmentVariableId, environmentVariableEditRequest, options).then((request) => request(axios, basePath));
|
|
33132
33238
|
},
|
|
33133
33239
|
/**
|
|
33134
33240
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
33135
33241
|
* @summary Import variables
|
|
33242
|
+
* @param {string} jobId Job ID
|
|
33136
33243
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
33137
33244
|
* @param {*} [options] Override http request option.
|
|
33138
33245
|
* @throws {RequiredError}
|
|
33139
33246
|
*/
|
|
33140
|
-
importJobEnvironmentVariable(variableImportRequest?: VariableImportRequest, options?: any): AxiosPromise<VariableImport> {
|
|
33141
|
-
return localVarFp.importJobEnvironmentVariable(variableImportRequest, options).then((request) => request(axios, basePath));
|
|
33247
|
+
importJobEnvironmentVariable(jobId: string, variableImportRequest?: VariableImportRequest, options?: any): AxiosPromise<VariableImport> {
|
|
33248
|
+
return localVarFp.importJobEnvironmentVariable(jobId, variableImportRequest, options).then((request) => request(axios, basePath));
|
|
33142
33249
|
},
|
|
33143
33250
|
/**
|
|
33144
33251
|
*
|
|
33145
33252
|
* @summary List environment variables
|
|
33253
|
+
* @param {string} jobId Job ID
|
|
33146
33254
|
* @param {*} [options] Override http request option.
|
|
33147
33255
|
* @throws {RequiredError}
|
|
33148
33256
|
*/
|
|
33149
|
-
listJobEnvironmentVariable(options?: any): AxiosPromise<EnvironmentVariableResponseList> {
|
|
33150
|
-
return localVarFp.listJobEnvironmentVariable(options).then((request) => request(axios, basePath));
|
|
33257
|
+
listJobEnvironmentVariable(jobId: string, options?: any): AxiosPromise<EnvironmentVariableResponseList> {
|
|
33258
|
+
return localVarFp.listJobEnvironmentVariable(jobId, options).then((request) => request(axios, basePath));
|
|
33151
33259
|
},
|
|
33152
33260
|
};
|
|
33153
33261
|
};
|
|
@@ -33162,87 +33270,94 @@ export class JobEnvironmentVariableApi extends BaseAPI {
|
|
|
33162
33270
|
/**
|
|
33163
33271
|
* - Add an environment variable to the job.
|
|
33164
33272
|
* @summary Add an environment variable to the job
|
|
33273
|
+
* @param {string} jobId Job ID
|
|
33165
33274
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
33166
33275
|
* @param {*} [options] Override http request option.
|
|
33167
33276
|
* @throws {RequiredError}
|
|
33168
33277
|
* @memberof JobEnvironmentVariableApi
|
|
33169
33278
|
*/
|
|
33170
|
-
public createJobEnvironmentVariable(environmentVariableRequest?: EnvironmentVariableRequest, options?: AxiosRequestConfig) {
|
|
33171
|
-
return JobEnvironmentVariableApiFp(this.configuration).createJobEnvironmentVariable(environmentVariableRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33279
|
+
public createJobEnvironmentVariable(jobId: string, environmentVariableRequest?: EnvironmentVariableRequest, options?: AxiosRequestConfig) {
|
|
33280
|
+
return JobEnvironmentVariableApiFp(this.configuration).createJobEnvironmentVariable(jobId, environmentVariableRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33172
33281
|
}
|
|
33173
33282
|
|
|
33174
33283
|
/**
|
|
33175
33284
|
* - Allows you to add an alias at job level on an existing environment variable having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new environment variable at job level with the same value as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the aliased_variable will be exposed in the \"aliased_variable\" field of the newly created variable - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
33176
33285
|
* @summary Create an environment variable alias at the job level
|
|
33286
|
+
* @param {string} jobId Job ID
|
|
33177
33287
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33178
33288
|
* @param {Key} [key]
|
|
33179
33289
|
* @param {*} [options] Override http request option.
|
|
33180
33290
|
* @throws {RequiredError}
|
|
33181
33291
|
* @memberof JobEnvironmentVariableApi
|
|
33182
33292
|
*/
|
|
33183
|
-
public createJobEnvironmentVariableAlias(environmentVariableId: string, key?: Key, options?: AxiosRequestConfig) {
|
|
33184
|
-
return JobEnvironmentVariableApiFp(this.configuration).createJobEnvironmentVariableAlias(environmentVariableId, key, options).then((request) => request(this.axios, this.basePath));
|
|
33293
|
+
public createJobEnvironmentVariableAlias(jobId: string, environmentVariableId: string, key?: Key, options?: AxiosRequestConfig) {
|
|
33294
|
+
return JobEnvironmentVariableApiFp(this.configuration).createJobEnvironmentVariableAlias(jobId, environmentVariableId, key, options).then((request) => request(this.axios, this.basePath));
|
|
33185
33295
|
}
|
|
33186
33296
|
|
|
33187
33297
|
/**
|
|
33188
33298
|
* - Allows you to override at job level an environment variable that has a higher scope. - You only have to specify a value in the request body - The system will create a new environment variable at job level with the same key as the one corresponding to the variable id in the path - The response body will contain the newly created variable - Information regarding the overridden_variable will be exposed in the \"overridden_variable\" field of the newly created variable
|
|
33189
33299
|
* @summary Create an environment variable override at the job level
|
|
33300
|
+
* @param {string} jobId Job ID
|
|
33190
33301
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33191
33302
|
* @param {Value} [value]
|
|
33192
33303
|
* @param {*} [options] Override http request option.
|
|
33193
33304
|
* @throws {RequiredError}
|
|
33194
33305
|
* @memberof JobEnvironmentVariableApi
|
|
33195
33306
|
*/
|
|
33196
|
-
public createJobEnvironmentVariableOverride(environmentVariableId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
33197
|
-
return JobEnvironmentVariableApiFp(this.configuration).createJobEnvironmentVariableOverride(environmentVariableId, value, options).then((request) => request(this.axios, this.basePath));
|
|
33307
|
+
public createJobEnvironmentVariableOverride(jobId: string, environmentVariableId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
33308
|
+
return JobEnvironmentVariableApiFp(this.configuration).createJobEnvironmentVariableOverride(jobId, environmentVariableId, value, options).then((request) => request(this.axios, this.basePath));
|
|
33198
33309
|
}
|
|
33199
33310
|
|
|
33200
33311
|
/**
|
|
33201
33312
|
* - To delete an environment variable from an job you must have the project user permission - You can\'t delete a BUILT_IN variable - If you delete a variable having override or alias, the associated override/alias will be deleted as well
|
|
33202
33313
|
* @summary Delete an environment variable from a job
|
|
33314
|
+
* @param {string} jobId Job ID
|
|
33203
33315
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33204
33316
|
* @param {*} [options] Override http request option.
|
|
33205
33317
|
* @throws {RequiredError}
|
|
33206
33318
|
* @memberof JobEnvironmentVariableApi
|
|
33207
33319
|
*/
|
|
33208
|
-
public deleteJobEnvironmentVariable(environmentVariableId: string, options?: AxiosRequestConfig) {
|
|
33209
|
-
return JobEnvironmentVariableApiFp(this.configuration).deleteJobEnvironmentVariable(environmentVariableId, options).then((request) => request(this.axios, this.basePath));
|
|
33320
|
+
public deleteJobEnvironmentVariable(jobId: string, environmentVariableId: string, options?: AxiosRequestConfig) {
|
|
33321
|
+
return JobEnvironmentVariableApiFp(this.configuration).deleteJobEnvironmentVariable(jobId, environmentVariableId, options).then((request) => request(this.axios, this.basePath));
|
|
33210
33322
|
}
|
|
33211
33323
|
|
|
33212
33324
|
/**
|
|
33213
33325
|
* - You can\'t edit a BUILT_IN variable - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the variable it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
33214
33326
|
* @summary Edit an environment variable belonging to the job
|
|
33327
|
+
* @param {string} jobId Job ID
|
|
33215
33328
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33216
33329
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
33217
33330
|
* @param {*} [options] Override http request option.
|
|
33218
33331
|
* @throws {RequiredError}
|
|
33219
33332
|
* @memberof JobEnvironmentVariableApi
|
|
33220
33333
|
*/
|
|
33221
|
-
public editJobEnvironmentVariable(environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: AxiosRequestConfig) {
|
|
33222
|
-
return JobEnvironmentVariableApiFp(this.configuration).editJobEnvironmentVariable(environmentVariableId, environmentVariableEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33334
|
+
public editJobEnvironmentVariable(jobId: string, environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: AxiosRequestConfig) {
|
|
33335
|
+
return JobEnvironmentVariableApiFp(this.configuration).editJobEnvironmentVariable(jobId, environmentVariableId, environmentVariableEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33223
33336
|
}
|
|
33224
33337
|
|
|
33225
33338
|
/**
|
|
33226
33339
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
33227
33340
|
* @summary Import variables
|
|
33341
|
+
* @param {string} jobId Job ID
|
|
33228
33342
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
33229
33343
|
* @param {*} [options] Override http request option.
|
|
33230
33344
|
* @throws {RequiredError}
|
|
33231
33345
|
* @memberof JobEnvironmentVariableApi
|
|
33232
33346
|
*/
|
|
33233
|
-
public importJobEnvironmentVariable(variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig) {
|
|
33234
|
-
return JobEnvironmentVariableApiFp(this.configuration).importJobEnvironmentVariable(variableImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33347
|
+
public importJobEnvironmentVariable(jobId: string, variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig) {
|
|
33348
|
+
return JobEnvironmentVariableApiFp(this.configuration).importJobEnvironmentVariable(jobId, variableImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33235
33349
|
}
|
|
33236
33350
|
|
|
33237
33351
|
/**
|
|
33238
33352
|
*
|
|
33239
33353
|
* @summary List environment variables
|
|
33354
|
+
* @param {string} jobId Job ID
|
|
33240
33355
|
* @param {*} [options] Override http request option.
|
|
33241
33356
|
* @throws {RequiredError}
|
|
33242
33357
|
* @memberof JobEnvironmentVariableApi
|
|
33243
33358
|
*/
|
|
33244
|
-
public listJobEnvironmentVariable(options?: AxiosRequestConfig) {
|
|
33245
|
-
return JobEnvironmentVariableApiFp(this.configuration).listJobEnvironmentVariable(options).then((request) => request(this.axios, this.basePath));
|
|
33359
|
+
public listJobEnvironmentVariable(jobId: string, options?: AxiosRequestConfig) {
|
|
33360
|
+
return JobEnvironmentVariableApiFp(this.configuration).listJobEnvironmentVariable(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
33246
33361
|
}
|
|
33247
33362
|
}
|
|
33248
33363
|
|
|
@@ -33256,11 +33371,15 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
33256
33371
|
/**
|
|
33257
33372
|
* To delete the job you must have the admin permission
|
|
33258
33373
|
* @summary Delete job
|
|
33374
|
+
* @param {string} jobId Job ID
|
|
33259
33375
|
* @param {*} [options] Override http request option.
|
|
33260
33376
|
* @throws {RequiredError}
|
|
33261
33377
|
*/
|
|
33262
|
-
deleteJob: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33263
|
-
|
|
33378
|
+
deleteJob: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33379
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33380
|
+
assertParamExists('deleteJob', 'jobId', jobId)
|
|
33381
|
+
const localVarPath = `/job/{jobId}`
|
|
33382
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33264
33383
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33265
33384
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33266
33385
|
let baseOptions;
|
|
@@ -33290,12 +33409,16 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
33290
33409
|
/**
|
|
33291
33410
|
* - To edit the job you must have the admin permission.
|
|
33292
33411
|
* @summary Edit job
|
|
33412
|
+
* @param {string} jobId Job ID
|
|
33293
33413
|
* @param {JobRequest} [jobRequest]
|
|
33294
33414
|
* @param {*} [options] Override http request option.
|
|
33295
33415
|
* @throws {RequiredError}
|
|
33296
33416
|
*/
|
|
33297
|
-
editJob: async (jobRequest?: JobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33298
|
-
|
|
33417
|
+
editJob: async (jobId: string, jobRequest?: JobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33418
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33419
|
+
assertParamExists('editJob', 'jobId', jobId)
|
|
33420
|
+
const localVarPath = `/job/{jobId}`
|
|
33421
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33299
33422
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33300
33423
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33301
33424
|
let baseOptions;
|
|
@@ -33366,11 +33489,15 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
33366
33489
|
/**
|
|
33367
33490
|
*
|
|
33368
33491
|
* @summary Get job status
|
|
33492
|
+
* @param {string} jobId Job ID
|
|
33369
33493
|
* @param {*} [options] Override http request option.
|
|
33370
33494
|
* @throws {RequiredError}
|
|
33371
33495
|
*/
|
|
33372
|
-
getJobStatus: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33373
|
-
|
|
33496
|
+
getJobStatus: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33497
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33498
|
+
assertParamExists('getJobStatus', 'jobId', jobId)
|
|
33499
|
+
const localVarPath = `/job/{jobId}/status`
|
|
33500
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33374
33501
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33375
33502
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33376
33503
|
let baseOptions;
|
|
@@ -33410,22 +33537,24 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33410
33537
|
/**
|
|
33411
33538
|
* To delete the job you must have the admin permission
|
|
33412
33539
|
* @summary Delete job
|
|
33540
|
+
* @param {string} jobId Job ID
|
|
33413
33541
|
* @param {*} [options] Override http request option.
|
|
33414
33542
|
* @throws {RequiredError}
|
|
33415
33543
|
*/
|
|
33416
|
-
async deleteJob(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33417
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJob(options);
|
|
33544
|
+
async deleteJob(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33545
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJob(jobId, options);
|
|
33418
33546
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33419
33547
|
},
|
|
33420
33548
|
/**
|
|
33421
33549
|
* - To edit the job you must have the admin permission.
|
|
33422
33550
|
* @summary Edit job
|
|
33551
|
+
* @param {string} jobId Job ID
|
|
33423
33552
|
* @param {JobRequest} [jobRequest]
|
|
33424
33553
|
* @param {*} [options] Override http request option.
|
|
33425
33554
|
* @throws {RequiredError}
|
|
33426
33555
|
*/
|
|
33427
|
-
async editJob(jobRequest?: JobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
|
|
33428
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editJob(jobRequest, options);
|
|
33556
|
+
async editJob(jobId: string, jobRequest?: JobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
|
|
33557
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editJob(jobId, jobRequest, options);
|
|
33429
33558
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33430
33559
|
},
|
|
33431
33560
|
/**
|
|
@@ -33442,11 +33571,12 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33442
33571
|
/**
|
|
33443
33572
|
*
|
|
33444
33573
|
* @summary Get job status
|
|
33574
|
+
* @param {string} jobId Job ID
|
|
33445
33575
|
* @param {*} [options] Override http request option.
|
|
33446
33576
|
* @throws {RequiredError}
|
|
33447
33577
|
*/
|
|
33448
|
-
async getJobStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
33449
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobStatus(options);
|
|
33578
|
+
async getJobStatus(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
33579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobStatus(jobId, options);
|
|
33450
33580
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33451
33581
|
},
|
|
33452
33582
|
}
|
|
@@ -33462,21 +33592,23 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
|
|
|
33462
33592
|
/**
|
|
33463
33593
|
* To delete the job you must have the admin permission
|
|
33464
33594
|
* @summary Delete job
|
|
33595
|
+
* @param {string} jobId Job ID
|
|
33465
33596
|
* @param {*} [options] Override http request option.
|
|
33466
33597
|
* @throws {RequiredError}
|
|
33467
33598
|
*/
|
|
33468
|
-
deleteJob(options?: any): AxiosPromise<void> {
|
|
33469
|
-
return localVarFp.deleteJob(options).then((request) => request(axios, basePath));
|
|
33599
|
+
deleteJob(jobId: string, options?: any): AxiosPromise<void> {
|
|
33600
|
+
return localVarFp.deleteJob(jobId, options).then((request) => request(axios, basePath));
|
|
33470
33601
|
},
|
|
33471
33602
|
/**
|
|
33472
33603
|
* - To edit the job you must have the admin permission.
|
|
33473
33604
|
* @summary Edit job
|
|
33605
|
+
* @param {string} jobId Job ID
|
|
33474
33606
|
* @param {JobRequest} [jobRequest]
|
|
33475
33607
|
* @param {*} [options] Override http request option.
|
|
33476
33608
|
* @throws {RequiredError}
|
|
33477
33609
|
*/
|
|
33478
|
-
editJob(jobRequest?: JobRequest, options?: any): AxiosPromise<JobResponse> {
|
|
33479
|
-
return localVarFp.editJob(jobRequest, options).then((request) => request(axios, basePath));
|
|
33610
|
+
editJob(jobId: string, jobRequest?: JobRequest, options?: any): AxiosPromise<JobResponse> {
|
|
33611
|
+
return localVarFp.editJob(jobId, jobRequest, options).then((request) => request(axios, basePath));
|
|
33480
33612
|
},
|
|
33481
33613
|
/**
|
|
33482
33614
|
*
|
|
@@ -33491,11 +33623,12 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
|
|
|
33491
33623
|
/**
|
|
33492
33624
|
*
|
|
33493
33625
|
* @summary Get job status
|
|
33626
|
+
* @param {string} jobId Job ID
|
|
33494
33627
|
* @param {*} [options] Override http request option.
|
|
33495
33628
|
* @throws {RequiredError}
|
|
33496
33629
|
*/
|
|
33497
|
-
getJobStatus(options?: any): AxiosPromise<Status> {
|
|
33498
|
-
return localVarFp.getJobStatus(options).then((request) => request(axios, basePath));
|
|
33630
|
+
getJobStatus(jobId: string, options?: any): AxiosPromise<Status> {
|
|
33631
|
+
return localVarFp.getJobStatus(jobId, options).then((request) => request(axios, basePath));
|
|
33499
33632
|
},
|
|
33500
33633
|
};
|
|
33501
33634
|
};
|
|
@@ -33510,24 +33643,26 @@ export class JobMainCallsApi extends BaseAPI {
|
|
|
33510
33643
|
/**
|
|
33511
33644
|
* To delete the job you must have the admin permission
|
|
33512
33645
|
* @summary Delete job
|
|
33646
|
+
* @param {string} jobId Job ID
|
|
33513
33647
|
* @param {*} [options] Override http request option.
|
|
33514
33648
|
* @throws {RequiredError}
|
|
33515
33649
|
* @memberof JobMainCallsApi
|
|
33516
33650
|
*/
|
|
33517
|
-
public deleteJob(options?: AxiosRequestConfig) {
|
|
33518
|
-
return JobMainCallsApiFp(this.configuration).deleteJob(options).then((request) => request(this.axios, this.basePath));
|
|
33651
|
+
public deleteJob(jobId: string, options?: AxiosRequestConfig) {
|
|
33652
|
+
return JobMainCallsApiFp(this.configuration).deleteJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
33519
33653
|
}
|
|
33520
33654
|
|
|
33521
33655
|
/**
|
|
33522
33656
|
* - To edit the job you must have the admin permission.
|
|
33523
33657
|
* @summary Edit job
|
|
33658
|
+
* @param {string} jobId Job ID
|
|
33524
33659
|
* @param {JobRequest} [jobRequest]
|
|
33525
33660
|
* @param {*} [options] Override http request option.
|
|
33526
33661
|
* @throws {RequiredError}
|
|
33527
33662
|
* @memberof JobMainCallsApi
|
|
33528
33663
|
*/
|
|
33529
|
-
public editJob(jobRequest?: JobRequest, options?: AxiosRequestConfig) {
|
|
33530
|
-
return JobMainCallsApiFp(this.configuration).editJob(jobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33664
|
+
public editJob(jobId: string, jobRequest?: JobRequest, options?: AxiosRequestConfig) {
|
|
33665
|
+
return JobMainCallsApiFp(this.configuration).editJob(jobId, jobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33531
33666
|
}
|
|
33532
33667
|
|
|
33533
33668
|
/**
|
|
@@ -33545,12 +33680,13 @@ export class JobMainCallsApi extends BaseAPI {
|
|
|
33545
33680
|
/**
|
|
33546
33681
|
*
|
|
33547
33682
|
* @summary Get job status
|
|
33683
|
+
* @param {string} jobId Job ID
|
|
33548
33684
|
* @param {*} [options] Override http request option.
|
|
33549
33685
|
* @throws {RequiredError}
|
|
33550
33686
|
* @memberof JobMainCallsApi
|
|
33551
33687
|
*/
|
|
33552
|
-
public getJobStatus(options?: AxiosRequestConfig) {
|
|
33553
|
-
return JobMainCallsApiFp(this.configuration).getJobStatus(options).then((request) => request(this.axios, this.basePath));
|
|
33688
|
+
public getJobStatus(jobId: string, options?: AxiosRequestConfig) {
|
|
33689
|
+
return JobMainCallsApiFp(this.configuration).getJobStatus(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
33554
33690
|
}
|
|
33555
33691
|
}
|
|
33556
33692
|
|
|
@@ -33564,11 +33700,15 @@ export const JobMetricsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
33564
33700
|
/**
|
|
33565
33701
|
*
|
|
33566
33702
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33703
|
+
* @param {string} jobId Job ID
|
|
33567
33704
|
* @param {*} [options] Override http request option.
|
|
33568
33705
|
* @throws {RequiredError}
|
|
33569
33706
|
*/
|
|
33570
|
-
getJobCurrentInstance: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33571
|
-
|
|
33707
|
+
getJobCurrentInstance: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33708
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33709
|
+
assertParamExists('getJobCurrentInstance', 'jobId', jobId)
|
|
33710
|
+
const localVarPath = `/job/{jobId}/instance`
|
|
33711
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33572
33712
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33573
33713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33574
33714
|
let baseOptions;
|
|
@@ -33608,11 +33748,12 @@ export const JobMetricsApiFp = function(configuration?: Configuration) {
|
|
|
33608
33748
|
/**
|
|
33609
33749
|
*
|
|
33610
33750
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33751
|
+
* @param {string} jobId Job ID
|
|
33611
33752
|
* @param {*} [options] Override http request option.
|
|
33612
33753
|
* @throws {RequiredError}
|
|
33613
33754
|
*/
|
|
33614
|
-
async getJobCurrentInstance(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceResponseList>> {
|
|
33615
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobCurrentInstance(options);
|
|
33755
|
+
async getJobCurrentInstance(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceResponseList>> {
|
|
33756
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getJobCurrentInstance(jobId, options);
|
|
33616
33757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33617
33758
|
},
|
|
33618
33759
|
}
|
|
@@ -33628,11 +33769,12 @@ export const JobMetricsApiFactory = function (configuration?: Configuration, bas
|
|
|
33628
33769
|
/**
|
|
33629
33770
|
*
|
|
33630
33771
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33772
|
+
* @param {string} jobId Job ID
|
|
33631
33773
|
* @param {*} [options] Override http request option.
|
|
33632
33774
|
* @throws {RequiredError}
|
|
33633
33775
|
*/
|
|
33634
|
-
getJobCurrentInstance(options?: any): AxiosPromise<InstanceResponseList> {
|
|
33635
|
-
return localVarFp.getJobCurrentInstance(options).then((request) => request(axios, basePath));
|
|
33776
|
+
getJobCurrentInstance(jobId: string, options?: any): AxiosPromise<InstanceResponseList> {
|
|
33777
|
+
return localVarFp.getJobCurrentInstance(jobId, options).then((request) => request(axios, basePath));
|
|
33636
33778
|
},
|
|
33637
33779
|
};
|
|
33638
33780
|
};
|
|
@@ -33647,12 +33789,13 @@ export class JobMetricsApi extends BaseAPI {
|
|
|
33647
33789
|
/**
|
|
33648
33790
|
*
|
|
33649
33791
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33792
|
+
* @param {string} jobId Job ID
|
|
33650
33793
|
* @param {*} [options] Override http request option.
|
|
33651
33794
|
* @throws {RequiredError}
|
|
33652
33795
|
* @memberof JobMetricsApi
|
|
33653
33796
|
*/
|
|
33654
|
-
public getJobCurrentInstance(options?: AxiosRequestConfig) {
|
|
33655
|
-
return JobMetricsApiFp(this.configuration).getJobCurrentInstance(options).then((request) => request(this.axios, this.basePath));
|
|
33797
|
+
public getJobCurrentInstance(jobId: string, options?: AxiosRequestConfig) {
|
|
33798
|
+
return JobMetricsApiFp(this.configuration).getJobCurrentInstance(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
33656
33799
|
}
|
|
33657
33800
|
}
|
|
33658
33801
|
|
|
@@ -33666,12 +33809,16 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33666
33809
|
/**
|
|
33667
33810
|
* - Add a secret to the job.
|
|
33668
33811
|
* @summary Add a secret to the job
|
|
33812
|
+
* @param {string} jobId Job ID
|
|
33669
33813
|
* @param {SecretRequest} [secretRequest]
|
|
33670
33814
|
* @param {*} [options] Override http request option.
|
|
33671
33815
|
* @throws {RequiredError}
|
|
33672
33816
|
*/
|
|
33673
|
-
createJobSecret: async (secretRequest?: SecretRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33674
|
-
|
|
33817
|
+
createJobSecret: async (jobId: string, secretRequest?: SecretRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33818
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33819
|
+
assertParamExists('createJobSecret', 'jobId', jobId)
|
|
33820
|
+
const localVarPath = `/job/{jobId}/secret`
|
|
33821
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33675
33822
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33676
33823
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33677
33824
|
let baseOptions;
|
|
@@ -33704,15 +33851,19 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33704
33851
|
/**
|
|
33705
33852
|
* - Allows you to add an alias at job level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at job level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
33706
33853
|
* @summary Create a secret alias at the job level
|
|
33854
|
+
* @param {string} jobId Job ID
|
|
33707
33855
|
* @param {string} secretId Secret ID
|
|
33708
33856
|
* @param {Key} [key]
|
|
33709
33857
|
* @param {*} [options] Override http request option.
|
|
33710
33858
|
* @throws {RequiredError}
|
|
33711
33859
|
*/
|
|
33712
|
-
createJobSecretAlias: async (secretId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33860
|
+
createJobSecretAlias: async (jobId: string, secretId: string, key?: Key, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33861
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33862
|
+
assertParamExists('createJobSecretAlias', 'jobId', jobId)
|
|
33713
33863
|
// verify required parameter 'secretId' is not null or undefined
|
|
33714
33864
|
assertParamExists('createJobSecretAlias', 'secretId', secretId)
|
|
33715
33865
|
const localVarPath = `/job/{jobId}/secret/{secretId}/alias`
|
|
33866
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33716
33867
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33717
33868
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33718
33869
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33746,15 +33897,19 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33746
33897
|
/**
|
|
33747
33898
|
* - Allows you to override at job level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at job level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
33748
33899
|
* @summary Create a secret override at the job level
|
|
33900
|
+
* @param {string} jobId Job ID
|
|
33749
33901
|
* @param {string} secretId Secret ID
|
|
33750
33902
|
* @param {Value} [value]
|
|
33751
33903
|
* @param {*} [options] Override http request option.
|
|
33752
33904
|
* @throws {RequiredError}
|
|
33753
33905
|
*/
|
|
33754
|
-
createJobSecretOverride: async (secretId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33906
|
+
createJobSecretOverride: async (jobId: string, secretId: string, value?: Value, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33907
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33908
|
+
assertParamExists('createJobSecretOverride', 'jobId', jobId)
|
|
33755
33909
|
// verify required parameter 'secretId' is not null or undefined
|
|
33756
33910
|
assertParamExists('createJobSecretOverride', 'secretId', secretId)
|
|
33757
33911
|
const localVarPath = `/job/{jobId}/secret/{secretId}/override`
|
|
33912
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33758
33913
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33759
33914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33760
33915
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33788,14 +33943,18 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33788
33943
|
/**
|
|
33789
33944
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
33790
33945
|
* @summary Delete a secret from an job
|
|
33946
|
+
* @param {string} jobId Job ID
|
|
33791
33947
|
* @param {string} secretId Secret ID
|
|
33792
33948
|
* @param {*} [options] Override http request option.
|
|
33793
33949
|
* @throws {RequiredError}
|
|
33794
33950
|
*/
|
|
33795
|
-
deleteJobSecret: async (secretId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33951
|
+
deleteJobSecret: async (jobId: string, secretId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33952
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33953
|
+
assertParamExists('deleteJobSecret', 'jobId', jobId)
|
|
33796
33954
|
// verify required parameter 'secretId' is not null or undefined
|
|
33797
33955
|
assertParamExists('deleteJobSecret', 'secretId', secretId)
|
|
33798
33956
|
const localVarPath = `/job/{jobId}/secret/{secretId}`
|
|
33957
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33799
33958
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33800
33959
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33801
33960
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33826,17 +33985,21 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33826
33985
|
/**
|
|
33827
33986
|
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
33828
33987
|
* @summary Edit a secret belonging to the job
|
|
33988
|
+
* @param {string} jobId Job ID
|
|
33829
33989
|
* @param {string} secretId Secret ID
|
|
33830
33990
|
* @param {SecretEditRequest} secretEditRequest
|
|
33831
33991
|
* @param {*} [options] Override http request option.
|
|
33832
33992
|
* @throws {RequiredError}
|
|
33833
33993
|
*/
|
|
33834
|
-
editJobSecret: async (secretId: string, secretEditRequest: SecretEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33994
|
+
editJobSecret: async (jobId: string, secretId: string, secretEditRequest: SecretEditRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33995
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
33996
|
+
assertParamExists('editJobSecret', 'jobId', jobId)
|
|
33835
33997
|
// verify required parameter 'secretId' is not null or undefined
|
|
33836
33998
|
assertParamExists('editJobSecret', 'secretId', secretId)
|
|
33837
33999
|
// verify required parameter 'secretEditRequest' is not null or undefined
|
|
33838
34000
|
assertParamExists('editJobSecret', 'secretEditRequest', secretEditRequest)
|
|
33839
34001
|
const localVarPath = `/job/{jobId}/secret/{secretId}`
|
|
34002
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33840
34003
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33841
34004
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33842
34005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33870,11 +34033,15 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33870
34033
|
/**
|
|
33871
34034
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
33872
34035
|
* @summary List job secrets
|
|
34036
|
+
* @param {string} jobId Job ID
|
|
33873
34037
|
* @param {*} [options] Override http request option.
|
|
33874
34038
|
* @throws {RequiredError}
|
|
33875
34039
|
*/
|
|
33876
|
-
listJobSecrets: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33877
|
-
|
|
34040
|
+
listJobSecrets: async (jobId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34041
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
34042
|
+
assertParamExists('listJobSecrets', 'jobId', jobId)
|
|
34043
|
+
const localVarPath = `/job/{jobId}/secret`
|
|
34044
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
33878
34045
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33879
34046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33880
34047
|
let baseOptions;
|
|
@@ -33914,69 +34081,75 @@ export const JobSecretApiFp = function(configuration?: Configuration) {
|
|
|
33914
34081
|
/**
|
|
33915
34082
|
* - Add a secret to the job.
|
|
33916
34083
|
* @summary Add a secret to the job
|
|
34084
|
+
* @param {string} jobId Job ID
|
|
33917
34085
|
* @param {SecretRequest} [secretRequest]
|
|
33918
34086
|
* @param {*} [options] Override http request option.
|
|
33919
34087
|
* @throws {RequiredError}
|
|
33920
34088
|
*/
|
|
33921
|
-
async createJobSecret(secretRequest?: SecretRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33922
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobSecret(secretRequest, options);
|
|
34089
|
+
async createJobSecret(jobId: string, secretRequest?: SecretRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
34090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobSecret(jobId, secretRequest, options);
|
|
33923
34091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33924
34092
|
},
|
|
33925
34093
|
/**
|
|
33926
34094
|
* - Allows you to add an alias at job level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at job level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
33927
34095
|
* @summary Create a secret alias at the job level
|
|
34096
|
+
* @param {string} jobId Job ID
|
|
33928
34097
|
* @param {string} secretId Secret ID
|
|
33929
34098
|
* @param {Key} [key]
|
|
33930
34099
|
* @param {*} [options] Override http request option.
|
|
33931
34100
|
* @throws {RequiredError}
|
|
33932
34101
|
*/
|
|
33933
|
-
async createJobSecretAlias(secretId: string, key?: Key, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33934
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobSecretAlias(secretId, key, options);
|
|
34102
|
+
async createJobSecretAlias(jobId: string, secretId: string, key?: Key, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
34103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobSecretAlias(jobId, secretId, key, options);
|
|
33935
34104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33936
34105
|
},
|
|
33937
34106
|
/**
|
|
33938
34107
|
* - Allows you to override at job level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at job level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
33939
34108
|
* @summary Create a secret override at the job level
|
|
34109
|
+
* @param {string} jobId Job ID
|
|
33940
34110
|
* @param {string} secretId Secret ID
|
|
33941
34111
|
* @param {Value} [value]
|
|
33942
34112
|
* @param {*} [options] Override http request option.
|
|
33943
34113
|
* @throws {RequiredError}
|
|
33944
34114
|
*/
|
|
33945
|
-
async createJobSecretOverride(secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33946
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobSecretOverride(secretId, value, options);
|
|
34115
|
+
async createJobSecretOverride(jobId: string, secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
34116
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createJobSecretOverride(jobId, secretId, value, options);
|
|
33947
34117
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33948
34118
|
},
|
|
33949
34119
|
/**
|
|
33950
34120
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
33951
34121
|
* @summary Delete a secret from an job
|
|
34122
|
+
* @param {string} jobId Job ID
|
|
33952
34123
|
* @param {string} secretId Secret ID
|
|
33953
34124
|
* @param {*} [options] Override http request option.
|
|
33954
34125
|
* @throws {RequiredError}
|
|
33955
34126
|
*/
|
|
33956
|
-
async deleteJobSecret(secretId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33957
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJobSecret(secretId, options);
|
|
34127
|
+
async deleteJobSecret(jobId: string, secretId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
34128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteJobSecret(jobId, secretId, options);
|
|
33958
34129
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33959
34130
|
},
|
|
33960
34131
|
/**
|
|
33961
34132
|
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
33962
34133
|
* @summary Edit a secret belonging to the job
|
|
34134
|
+
* @param {string} jobId Job ID
|
|
33963
34135
|
* @param {string} secretId Secret ID
|
|
33964
34136
|
* @param {SecretEditRequest} secretEditRequest
|
|
33965
34137
|
* @param {*} [options] Override http request option.
|
|
33966
34138
|
* @throws {RequiredError}
|
|
33967
34139
|
*/
|
|
33968
|
-
async editJobSecret(secretId: string, secretEditRequest: SecretEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33969
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobSecret(secretId, secretEditRequest, options);
|
|
34140
|
+
async editJobSecret(jobId: string, secretId: string, secretEditRequest: SecretEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
34141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editJobSecret(jobId, secretId, secretEditRequest, options);
|
|
33970
34142
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33971
34143
|
},
|
|
33972
34144
|
/**
|
|
33973
34145
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
33974
34146
|
* @summary List job secrets
|
|
34147
|
+
* @param {string} jobId Job ID
|
|
33975
34148
|
* @param {*} [options] Override http request option.
|
|
33976
34149
|
* @throws {RequiredError}
|
|
33977
34150
|
*/
|
|
33978
|
-
async listJobSecrets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecretResponseList>> {
|
|
33979
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobSecrets(options);
|
|
34151
|
+
async listJobSecrets(jobId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecretResponseList>> {
|
|
34152
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobSecrets(jobId, options);
|
|
33980
34153
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33981
34154
|
},
|
|
33982
34155
|
}
|
|
@@ -33992,64 +34165,70 @@ export const JobSecretApiFactory = function (configuration?: Configuration, base
|
|
|
33992
34165
|
/**
|
|
33993
34166
|
* - Add a secret to the job.
|
|
33994
34167
|
* @summary Add a secret to the job
|
|
34168
|
+
* @param {string} jobId Job ID
|
|
33995
34169
|
* @param {SecretRequest} [secretRequest]
|
|
33996
34170
|
* @param {*} [options] Override http request option.
|
|
33997
34171
|
* @throws {RequiredError}
|
|
33998
34172
|
*/
|
|
33999
|
-
createJobSecret(secretRequest?: SecretRequest, options?: any): AxiosPromise<Secret> {
|
|
34000
|
-
return localVarFp.createJobSecret(secretRequest, options).then((request) => request(axios, basePath));
|
|
34173
|
+
createJobSecret(jobId: string, secretRequest?: SecretRequest, options?: any): AxiosPromise<Secret> {
|
|
34174
|
+
return localVarFp.createJobSecret(jobId, secretRequest, options).then((request) => request(axios, basePath));
|
|
34001
34175
|
},
|
|
34002
34176
|
/**
|
|
34003
34177
|
* - Allows you to add an alias at job level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at job level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
34004
34178
|
* @summary Create a secret alias at the job level
|
|
34179
|
+
* @param {string} jobId Job ID
|
|
34005
34180
|
* @param {string} secretId Secret ID
|
|
34006
34181
|
* @param {Key} [key]
|
|
34007
34182
|
* @param {*} [options] Override http request option.
|
|
34008
34183
|
* @throws {RequiredError}
|
|
34009
34184
|
*/
|
|
34010
|
-
createJobSecretAlias(secretId: string, key?: Key, options?: any): AxiosPromise<Secret> {
|
|
34011
|
-
return localVarFp.createJobSecretAlias(secretId, key, options).then((request) => request(axios, basePath));
|
|
34185
|
+
createJobSecretAlias(jobId: string, secretId: string, key?: Key, options?: any): AxiosPromise<Secret> {
|
|
34186
|
+
return localVarFp.createJobSecretAlias(jobId, secretId, key, options).then((request) => request(axios, basePath));
|
|
34012
34187
|
},
|
|
34013
34188
|
/**
|
|
34014
34189
|
* - Allows you to override at job level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at job level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
34015
34190
|
* @summary Create a secret override at the job level
|
|
34191
|
+
* @param {string} jobId Job ID
|
|
34016
34192
|
* @param {string} secretId Secret ID
|
|
34017
34193
|
* @param {Value} [value]
|
|
34018
34194
|
* @param {*} [options] Override http request option.
|
|
34019
34195
|
* @throws {RequiredError}
|
|
34020
34196
|
*/
|
|
34021
|
-
createJobSecretOverride(secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
|
|
34022
|
-
return localVarFp.createJobSecretOverride(secretId, value, options).then((request) => request(axios, basePath));
|
|
34197
|
+
createJobSecretOverride(jobId: string, secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
|
|
34198
|
+
return localVarFp.createJobSecretOverride(jobId, secretId, value, options).then((request) => request(axios, basePath));
|
|
34023
34199
|
},
|
|
34024
34200
|
/**
|
|
34025
34201
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
34026
34202
|
* @summary Delete a secret from an job
|
|
34203
|
+
* @param {string} jobId Job ID
|
|
34027
34204
|
* @param {string} secretId Secret ID
|
|
34028
34205
|
* @param {*} [options] Override http request option.
|
|
34029
34206
|
* @throws {RequiredError}
|
|
34030
34207
|
*/
|
|
34031
|
-
deleteJobSecret(secretId: string, options?: any): AxiosPromise<void> {
|
|
34032
|
-
return localVarFp.deleteJobSecret(secretId, options).then((request) => request(axios, basePath));
|
|
34208
|
+
deleteJobSecret(jobId: string, secretId: string, options?: any): AxiosPromise<void> {
|
|
34209
|
+
return localVarFp.deleteJobSecret(jobId, secretId, options).then((request) => request(axios, basePath));
|
|
34033
34210
|
},
|
|
34034
34211
|
/**
|
|
34035
34212
|
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
34036
34213
|
* @summary Edit a secret belonging to the job
|
|
34214
|
+
* @param {string} jobId Job ID
|
|
34037
34215
|
* @param {string} secretId Secret ID
|
|
34038
34216
|
* @param {SecretEditRequest} secretEditRequest
|
|
34039
34217
|
* @param {*} [options] Override http request option.
|
|
34040
34218
|
* @throws {RequiredError}
|
|
34041
34219
|
*/
|
|
34042
|
-
editJobSecret(secretId: string, secretEditRequest: SecretEditRequest, options?: any): AxiosPromise<Secret> {
|
|
34043
|
-
return localVarFp.editJobSecret(secretId, secretEditRequest, options).then((request) => request(axios, basePath));
|
|
34220
|
+
editJobSecret(jobId: string, secretId: string, secretEditRequest: SecretEditRequest, options?: any): AxiosPromise<Secret> {
|
|
34221
|
+
return localVarFp.editJobSecret(jobId, secretId, secretEditRequest, options).then((request) => request(axios, basePath));
|
|
34044
34222
|
},
|
|
34045
34223
|
/**
|
|
34046
34224
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
34047
34225
|
* @summary List job secrets
|
|
34226
|
+
* @param {string} jobId Job ID
|
|
34048
34227
|
* @param {*} [options] Override http request option.
|
|
34049
34228
|
* @throws {RequiredError}
|
|
34050
34229
|
*/
|
|
34051
|
-
listJobSecrets(options?: any): AxiosPromise<SecretResponseList> {
|
|
34052
|
-
return localVarFp.listJobSecrets(options).then((request) => request(axios, basePath));
|
|
34230
|
+
listJobSecrets(jobId: string, options?: any): AxiosPromise<SecretResponseList> {
|
|
34231
|
+
return localVarFp.listJobSecrets(jobId, options).then((request) => request(axios, basePath));
|
|
34053
34232
|
},
|
|
34054
34233
|
};
|
|
34055
34234
|
};
|
|
@@ -34064,75 +34243,81 @@ export class JobSecretApi extends BaseAPI {
|
|
|
34064
34243
|
/**
|
|
34065
34244
|
* - Add a secret to the job.
|
|
34066
34245
|
* @summary Add a secret to the job
|
|
34246
|
+
* @param {string} jobId Job ID
|
|
34067
34247
|
* @param {SecretRequest} [secretRequest]
|
|
34068
34248
|
* @param {*} [options] Override http request option.
|
|
34069
34249
|
* @throws {RequiredError}
|
|
34070
34250
|
* @memberof JobSecretApi
|
|
34071
34251
|
*/
|
|
34072
|
-
public createJobSecret(secretRequest?: SecretRequest, options?: AxiosRequestConfig) {
|
|
34073
|
-
return JobSecretApiFp(this.configuration).createJobSecret(secretRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34252
|
+
public createJobSecret(jobId: string, secretRequest?: SecretRequest, options?: AxiosRequestConfig) {
|
|
34253
|
+
return JobSecretApiFp(this.configuration).createJobSecret(jobId, secretRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34074
34254
|
}
|
|
34075
34255
|
|
|
34076
34256
|
/**
|
|
34077
34257
|
* - Allows you to add an alias at job level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at job level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
34078
34258
|
* @summary Create a secret alias at the job level
|
|
34259
|
+
* @param {string} jobId Job ID
|
|
34079
34260
|
* @param {string} secretId Secret ID
|
|
34080
34261
|
* @param {Key} [key]
|
|
34081
34262
|
* @param {*} [options] Override http request option.
|
|
34082
34263
|
* @throws {RequiredError}
|
|
34083
34264
|
* @memberof JobSecretApi
|
|
34084
34265
|
*/
|
|
34085
|
-
public createJobSecretAlias(secretId: string, key?: Key, options?: AxiosRequestConfig) {
|
|
34086
|
-
return JobSecretApiFp(this.configuration).createJobSecretAlias(secretId, key, options).then((request) => request(this.axios, this.basePath));
|
|
34266
|
+
public createJobSecretAlias(jobId: string, secretId: string, key?: Key, options?: AxiosRequestConfig) {
|
|
34267
|
+
return JobSecretApiFp(this.configuration).createJobSecretAlias(jobId, secretId, key, options).then((request) => request(this.axios, this.basePath));
|
|
34087
34268
|
}
|
|
34088
34269
|
|
|
34089
34270
|
/**
|
|
34090
34271
|
* - Allows you to override at job level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at job level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
34091
34272
|
* @summary Create a secret override at the job level
|
|
34273
|
+
* @param {string} jobId Job ID
|
|
34092
34274
|
* @param {string} secretId Secret ID
|
|
34093
34275
|
* @param {Value} [value]
|
|
34094
34276
|
* @param {*} [options] Override http request option.
|
|
34095
34277
|
* @throws {RequiredError}
|
|
34096
34278
|
* @memberof JobSecretApi
|
|
34097
34279
|
*/
|
|
34098
|
-
public createJobSecretOverride(secretId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
34099
|
-
return JobSecretApiFp(this.configuration).createJobSecretOverride(secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
34280
|
+
public createJobSecretOverride(jobId: string, secretId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
34281
|
+
return JobSecretApiFp(this.configuration).createJobSecretOverride(jobId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
34100
34282
|
}
|
|
34101
34283
|
|
|
34102
34284
|
/**
|
|
34103
34285
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
34104
34286
|
* @summary Delete a secret from an job
|
|
34287
|
+
* @param {string} jobId Job ID
|
|
34105
34288
|
* @param {string} secretId Secret ID
|
|
34106
34289
|
* @param {*} [options] Override http request option.
|
|
34107
34290
|
* @throws {RequiredError}
|
|
34108
34291
|
* @memberof JobSecretApi
|
|
34109
34292
|
*/
|
|
34110
|
-
public deleteJobSecret(secretId: string, options?: AxiosRequestConfig) {
|
|
34111
|
-
return JobSecretApiFp(this.configuration).deleteJobSecret(secretId, options).then((request) => request(this.axios, this.basePath));
|
|
34293
|
+
public deleteJobSecret(jobId: string, secretId: string, options?: AxiosRequestConfig) {
|
|
34294
|
+
return JobSecretApiFp(this.configuration).deleteJobSecret(jobId, secretId, options).then((request) => request(this.axios, this.basePath));
|
|
34112
34295
|
}
|
|
34113
34296
|
|
|
34114
34297
|
/**
|
|
34115
34298
|
* - You can\'t edit a BUILT_IN secret - For an override, you can\'t edit the key - For an alias, you can\'t edit the value - An override can only have a scope lower to the secret it is overriding (hierarchy is BUILT_IN > PROJECT > ENVIRONMENT > CONTAINER)
|
|
34116
34299
|
* @summary Edit a secret belonging to the job
|
|
34300
|
+
* @param {string} jobId Job ID
|
|
34117
34301
|
* @param {string} secretId Secret ID
|
|
34118
34302
|
* @param {SecretEditRequest} secretEditRequest
|
|
34119
34303
|
* @param {*} [options] Override http request option.
|
|
34120
34304
|
* @throws {RequiredError}
|
|
34121
34305
|
* @memberof JobSecretApi
|
|
34122
34306
|
*/
|
|
34123
|
-
public editJobSecret(secretId: string, secretEditRequest: SecretEditRequest, options?: AxiosRequestConfig) {
|
|
34124
|
-
return JobSecretApiFp(this.configuration).editJobSecret(secretId, secretEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34307
|
+
public editJobSecret(jobId: string, secretId: string, secretEditRequest: SecretEditRequest, options?: AxiosRequestConfig) {
|
|
34308
|
+
return JobSecretApiFp(this.configuration).editJobSecret(jobId, secretId, secretEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34125
34309
|
}
|
|
34126
34310
|
|
|
34127
34311
|
/**
|
|
34128
34312
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
34129
34313
|
* @summary List job secrets
|
|
34314
|
+
* @param {string} jobId Job ID
|
|
34130
34315
|
* @param {*} [options] Override http request option.
|
|
34131
34316
|
* @throws {RequiredError}
|
|
34132
34317
|
* @memberof JobSecretApi
|
|
34133
34318
|
*/
|
|
34134
|
-
public listJobSecrets(options?: AxiosRequestConfig) {
|
|
34135
|
-
return JobSecretApiFp(this.configuration).listJobSecrets(options).then((request) => request(this.axios, this.basePath));
|
|
34319
|
+
public listJobSecrets(jobId: string, options?: AxiosRequestConfig) {
|
|
34320
|
+
return JobSecretApiFp(this.configuration).listJobSecrets(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
34136
34321
|
}
|
|
34137
34322
|
}
|
|
34138
34323
|
|