qovery-typescript-axios 1.1.45 → 1.1.48
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 +337 -176
- package/dist/api.d.ts +184 -92
- package/dist/api.js +337 -176
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -32201,13 +32201,17 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32201
32201
|
/**
|
|
32202
32202
|
* You must provide a git commit id
|
|
32203
32203
|
* @summary Deploy job
|
|
32204
|
+
* @param {string} jobId Job ID
|
|
32204
32205
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32205
32206
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32206
32207
|
* @param {*} [options] Override http request option.
|
|
32207
32208
|
* @throws {RequiredError}
|
|
32208
32209
|
*/
|
|
32209
|
-
deployJob: async (force?: boolean, jobDeployRequest?: JobDeployRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32210
|
-
|
|
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)));
|
|
32211
32215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32212
32216
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32213
32217
|
let baseOptions;
|
|
@@ -32244,12 +32248,16 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32244
32248
|
/**
|
|
32245
32249
|
*
|
|
32246
32250
|
* @summary Restart job
|
|
32251
|
+
* @param {string} jobId Job ID
|
|
32247
32252
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32248
32253
|
* @param {*} [options] Override http request option.
|
|
32249
32254
|
* @throws {RequiredError}
|
|
32250
32255
|
*/
|
|
32251
|
-
restartJob: async (force?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32252
|
-
|
|
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)));
|
|
32253
32261
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32254
32262
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32255
32263
|
let baseOptions;
|
|
@@ -32283,11 +32291,15 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
32283
32291
|
/**
|
|
32284
32292
|
*
|
|
32285
32293
|
* @summary Stop job
|
|
32294
|
+
* @param {string} jobId Job ID
|
|
32286
32295
|
* @param {*} [options] Override http request option.
|
|
32287
32296
|
* @throws {RequiredError}
|
|
32288
32297
|
*/
|
|
32289
|
-
stopJob: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32290
|
-
|
|
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)));
|
|
32291
32303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32292
32304
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32293
32305
|
let baseOptions;
|
|
@@ -32327,34 +32339,37 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
32327
32339
|
/**
|
|
32328
32340
|
* You must provide a git commit id
|
|
32329
32341
|
* @summary Deploy job
|
|
32342
|
+
* @param {string} jobId Job ID
|
|
32330
32343
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32331
32344
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32332
32345
|
* @param {*} [options] Override http request option.
|
|
32333
32346
|
* @throws {RequiredError}
|
|
32334
32347
|
*/
|
|
32335
|
-
async deployJob(force?: boolean, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32336
|
-
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);
|
|
32337
32350
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32338
32351
|
},
|
|
32339
32352
|
/**
|
|
32340
32353
|
*
|
|
32341
32354
|
* @summary Restart job
|
|
32355
|
+
* @param {string} jobId Job ID
|
|
32342
32356
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32343
32357
|
* @param {*} [options] Override http request option.
|
|
32344
32358
|
* @throws {RequiredError}
|
|
32345
32359
|
*/
|
|
32346
|
-
async restartJob(force?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32347
|
-
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);
|
|
32348
32362
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32349
32363
|
},
|
|
32350
32364
|
/**
|
|
32351
32365
|
*
|
|
32352
32366
|
* @summary Stop job
|
|
32367
|
+
* @param {string} jobId Job ID
|
|
32353
32368
|
* @param {*} [options] Override http request option.
|
|
32354
32369
|
* @throws {RequiredError}
|
|
32355
32370
|
*/
|
|
32356
|
-
async stopJob(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
32357
|
-
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);
|
|
32358
32373
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32359
32374
|
},
|
|
32360
32375
|
}
|
|
@@ -32370,32 +32385,35 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
32370
32385
|
/**
|
|
32371
32386
|
* You must provide a git commit id
|
|
32372
32387
|
* @summary Deploy job
|
|
32388
|
+
* @param {string} jobId Job ID
|
|
32373
32389
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32374
32390
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32375
32391
|
* @param {*} [options] Override http request option.
|
|
32376
32392
|
* @throws {RequiredError}
|
|
32377
32393
|
*/
|
|
32378
|
-
deployJob(force?: boolean, jobDeployRequest?: JobDeployRequest, options?: any): AxiosPromise<Status> {
|
|
32379
|
-
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));
|
|
32380
32396
|
},
|
|
32381
32397
|
/**
|
|
32382
32398
|
*
|
|
32383
32399
|
* @summary Restart job
|
|
32400
|
+
* @param {string} jobId Job ID
|
|
32384
32401
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32385
32402
|
* @param {*} [options] Override http request option.
|
|
32386
32403
|
* @throws {RequiredError}
|
|
32387
32404
|
*/
|
|
32388
|
-
restartJob(force?: boolean, options?: any): AxiosPromise<Status> {
|
|
32389
|
-
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));
|
|
32390
32407
|
},
|
|
32391
32408
|
/**
|
|
32392
32409
|
*
|
|
32393
32410
|
* @summary Stop job
|
|
32411
|
+
* @param {string} jobId Job ID
|
|
32394
32412
|
* @param {*} [options] Override http request option.
|
|
32395
32413
|
* @throws {RequiredError}
|
|
32396
32414
|
*/
|
|
32397
|
-
stopJob(options?: any): AxiosPromise<Status> {
|
|
32398
|
-
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));
|
|
32399
32417
|
},
|
|
32400
32418
|
};
|
|
32401
32419
|
};
|
|
@@ -32410,37 +32428,40 @@ export class JobActionsApi extends BaseAPI {
|
|
|
32410
32428
|
/**
|
|
32411
32429
|
* You must provide a git commit id
|
|
32412
32430
|
* @summary Deploy job
|
|
32431
|
+
* @param {string} jobId Job ID
|
|
32413
32432
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32414
32433
|
* @param {JobDeployRequest} [jobDeployRequest]
|
|
32415
32434
|
* @param {*} [options] Override http request option.
|
|
32416
32435
|
* @throws {RequiredError}
|
|
32417
32436
|
* @memberof JobActionsApi
|
|
32418
32437
|
*/
|
|
32419
|
-
public deployJob(force?: boolean, jobDeployRequest?: JobDeployRequest, options?: AxiosRequestConfig) {
|
|
32420
|
-
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));
|
|
32421
32440
|
}
|
|
32422
32441
|
|
|
32423
32442
|
/**
|
|
32424
32443
|
*
|
|
32425
32444
|
* @summary Restart job
|
|
32445
|
+
* @param {string} jobId Job ID
|
|
32426
32446
|
* @param {boolean} [force] Enable or Disable the force trigger of the job
|
|
32427
32447
|
* @param {*} [options] Override http request option.
|
|
32428
32448
|
* @throws {RequiredError}
|
|
32429
32449
|
* @memberof JobActionsApi
|
|
32430
32450
|
*/
|
|
32431
|
-
public restartJob(force?: boolean, options?: AxiosRequestConfig) {
|
|
32432
|
-
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));
|
|
32433
32453
|
}
|
|
32434
32454
|
|
|
32435
32455
|
/**
|
|
32436
32456
|
*
|
|
32437
32457
|
* @summary Stop job
|
|
32458
|
+
* @param {string} jobId Job ID
|
|
32438
32459
|
* @param {*} [options] Override http request option.
|
|
32439
32460
|
* @throws {RequiredError}
|
|
32440
32461
|
* @memberof JobActionsApi
|
|
32441
32462
|
*/
|
|
32442
|
-
public stopJob(options?: AxiosRequestConfig) {
|
|
32443
|
-
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));
|
|
32444
32465
|
}
|
|
32445
32466
|
}
|
|
32446
32467
|
|
|
@@ -32454,12 +32475,16 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
32454
32475
|
/**
|
|
32455
32476
|
* Edit advanced settings by returning table of advanced settings.
|
|
32456
32477
|
* @summary Edit advanced settings
|
|
32478
|
+
* @param {string} jobId Job ID
|
|
32457
32479
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32458
32480
|
* @param {*} [options] Override http request option.
|
|
32459
32481
|
* @throws {RequiredError}
|
|
32460
32482
|
*/
|
|
32461
|
-
editJobAdvancedSettings: async (jobAdvancedSettings?: JobAdvancedSettings, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32462
|
-
|
|
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)));
|
|
32463
32488
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32464
32489
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32465
32490
|
let baseOptions;
|
|
@@ -32492,11 +32517,15 @@ export const JobConfigurationApiAxiosParamCreator = function (configuration?: Co
|
|
|
32492
32517
|
/**
|
|
32493
32518
|
* Get list and values of the advanced settings of the job.
|
|
32494
32519
|
* @summary Get advanced settings
|
|
32520
|
+
* @param {string} jobId Job ID
|
|
32495
32521
|
* @param {*} [options] Override http request option.
|
|
32496
32522
|
* @throws {RequiredError}
|
|
32497
32523
|
*/
|
|
32498
|
-
getJobAdvancedSettings: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32499
|
-
|
|
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)));
|
|
32500
32529
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32501
32530
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32502
32531
|
let baseOptions;
|
|
@@ -32536,22 +32565,24 @@ export const JobConfigurationApiFp = function(configuration?: Configuration) {
|
|
|
32536
32565
|
/**
|
|
32537
32566
|
* Edit advanced settings by returning table of advanced settings.
|
|
32538
32567
|
* @summary Edit advanced settings
|
|
32568
|
+
* @param {string} jobId Job ID
|
|
32539
32569
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32540
32570
|
* @param {*} [options] Override http request option.
|
|
32541
32571
|
* @throws {RequiredError}
|
|
32542
32572
|
*/
|
|
32543
|
-
async editJobAdvancedSettings(jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
32544
|
-
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);
|
|
32545
32575
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32546
32576
|
},
|
|
32547
32577
|
/**
|
|
32548
32578
|
* Get list and values of the advanced settings of the job.
|
|
32549
32579
|
* @summary Get advanced settings
|
|
32580
|
+
* @param {string} jobId Job ID
|
|
32550
32581
|
* @param {*} [options] Override http request option.
|
|
32551
32582
|
* @throws {RequiredError}
|
|
32552
32583
|
*/
|
|
32553
|
-
async getJobAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobAdvancedSettings>> {
|
|
32554
|
-
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);
|
|
32555
32586
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32556
32587
|
},
|
|
32557
32588
|
}
|
|
@@ -32567,21 +32598,23 @@ export const JobConfigurationApiFactory = function (configuration?: Configuratio
|
|
|
32567
32598
|
/**
|
|
32568
32599
|
* Edit advanced settings by returning table of advanced settings.
|
|
32569
32600
|
* @summary Edit advanced settings
|
|
32601
|
+
* @param {string} jobId Job ID
|
|
32570
32602
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32571
32603
|
* @param {*} [options] Override http request option.
|
|
32572
32604
|
* @throws {RequiredError}
|
|
32573
32605
|
*/
|
|
32574
|
-
editJobAdvancedSettings(jobAdvancedSettings?: JobAdvancedSettings, options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
32575
|
-
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));
|
|
32576
32608
|
},
|
|
32577
32609
|
/**
|
|
32578
32610
|
* Get list and values of the advanced settings of the job.
|
|
32579
32611
|
* @summary Get advanced settings
|
|
32612
|
+
* @param {string} jobId Job ID
|
|
32580
32613
|
* @param {*} [options] Override http request option.
|
|
32581
32614
|
* @throws {RequiredError}
|
|
32582
32615
|
*/
|
|
32583
|
-
getJobAdvancedSettings(options?: any): AxiosPromise<JobAdvancedSettings> {
|
|
32584
|
-
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));
|
|
32585
32618
|
},
|
|
32586
32619
|
};
|
|
32587
32620
|
};
|
|
@@ -32596,24 +32629,26 @@ export class JobConfigurationApi extends BaseAPI {
|
|
|
32596
32629
|
/**
|
|
32597
32630
|
* Edit advanced settings by returning table of advanced settings.
|
|
32598
32631
|
* @summary Edit advanced settings
|
|
32632
|
+
* @param {string} jobId Job ID
|
|
32599
32633
|
* @param {JobAdvancedSettings} [jobAdvancedSettings]
|
|
32600
32634
|
* @param {*} [options] Override http request option.
|
|
32601
32635
|
* @throws {RequiredError}
|
|
32602
32636
|
* @memberof JobConfigurationApi
|
|
32603
32637
|
*/
|
|
32604
|
-
public editJobAdvancedSettings(jobAdvancedSettings?: JobAdvancedSettings, options?: AxiosRequestConfig) {
|
|
32605
|
-
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));
|
|
32606
32640
|
}
|
|
32607
32641
|
|
|
32608
32642
|
/**
|
|
32609
32643
|
* Get list and values of the advanced settings of the job.
|
|
32610
32644
|
* @summary Get advanced settings
|
|
32645
|
+
* @param {string} jobId Job ID
|
|
32611
32646
|
* @param {*} [options] Override http request option.
|
|
32612
32647
|
* @throws {RequiredError}
|
|
32613
32648
|
* @memberof JobConfigurationApi
|
|
32614
32649
|
*/
|
|
32615
|
-
public getJobAdvancedSettings(options?: AxiosRequestConfig) {
|
|
32616
|
-
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));
|
|
32617
32652
|
}
|
|
32618
32653
|
}
|
|
32619
32654
|
|
|
@@ -32627,11 +32662,15 @@ export const JobDeploymentHistoryApiAxiosParamCreator = function (configuration?
|
|
|
32627
32662
|
/**
|
|
32628
32663
|
* Returns the 20 last job deployments
|
|
32629
32664
|
* @summary List job deployments
|
|
32665
|
+
* @param {string} jobId Job ID
|
|
32630
32666
|
* @param {*} [options] Override http request option.
|
|
32631
32667
|
* @throws {RequiredError}
|
|
32632
32668
|
*/
|
|
32633
|
-
listJobDeploymentHistory: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32634
|
-
|
|
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)));
|
|
32635
32674
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32636
32675
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32637
32676
|
let baseOptions;
|
|
@@ -32671,11 +32710,12 @@ export const JobDeploymentHistoryApiFp = function(configuration?: Configuration)
|
|
|
32671
32710
|
/**
|
|
32672
32711
|
* Returns the 20 last job deployments
|
|
32673
32712
|
* @summary List job deployments
|
|
32713
|
+
* @param {string} jobId Job ID
|
|
32674
32714
|
* @param {*} [options] Override http request option.
|
|
32675
32715
|
* @throws {RequiredError}
|
|
32676
32716
|
*/
|
|
32677
|
-
async listJobDeploymentHistory(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginationData & object>> {
|
|
32678
|
-
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);
|
|
32679
32719
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32680
32720
|
},
|
|
32681
32721
|
}
|
|
@@ -32691,11 +32731,12 @@ export const JobDeploymentHistoryApiFactory = function (configuration?: Configur
|
|
|
32691
32731
|
/**
|
|
32692
32732
|
* Returns the 20 last job deployments
|
|
32693
32733
|
* @summary List job deployments
|
|
32734
|
+
* @param {string} jobId Job ID
|
|
32694
32735
|
* @param {*} [options] Override http request option.
|
|
32695
32736
|
* @throws {RequiredError}
|
|
32696
32737
|
*/
|
|
32697
|
-
listJobDeploymentHistory(options?: any): AxiosPromise<PaginationData & object> {
|
|
32698
|
-
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));
|
|
32699
32740
|
},
|
|
32700
32741
|
};
|
|
32701
32742
|
};
|
|
@@ -32710,12 +32751,13 @@ export class JobDeploymentHistoryApi extends BaseAPI {
|
|
|
32710
32751
|
/**
|
|
32711
32752
|
* Returns the 20 last job deployments
|
|
32712
32753
|
* @summary List job deployments
|
|
32754
|
+
* @param {string} jobId Job ID
|
|
32713
32755
|
* @param {*} [options] Override http request option.
|
|
32714
32756
|
* @throws {RequiredError}
|
|
32715
32757
|
* @memberof JobDeploymentHistoryApi
|
|
32716
32758
|
*/
|
|
32717
|
-
public listJobDeploymentHistory(options?: AxiosRequestConfig) {
|
|
32718
|
-
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));
|
|
32719
32761
|
}
|
|
32720
32762
|
}
|
|
32721
32763
|
|
|
@@ -32729,12 +32771,16 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32729
32771
|
/**
|
|
32730
32772
|
* - Add an environment variable to the job.
|
|
32731
32773
|
* @summary Add an environment variable to the job
|
|
32774
|
+
* @param {string} jobId Job ID
|
|
32732
32775
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
32733
32776
|
* @param {*} [options] Override http request option.
|
|
32734
32777
|
* @throws {RequiredError}
|
|
32735
32778
|
*/
|
|
32736
|
-
createJobEnvironmentVariable: async (environmentVariableRequest?: EnvironmentVariableRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32737
|
-
|
|
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)));
|
|
32738
32784
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32739
32785
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32740
32786
|
let baseOptions;
|
|
@@ -32767,15 +32813,19 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32767
32813
|
/**
|
|
32768
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
|
|
32769
32815
|
* @summary Create an environment variable alias at the job level
|
|
32816
|
+
* @param {string} jobId Job ID
|
|
32770
32817
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32771
32818
|
* @param {Key} [key]
|
|
32772
32819
|
* @param {*} [options] Override http request option.
|
|
32773
32820
|
* @throws {RequiredError}
|
|
32774
32821
|
*/
|
|
32775
|
-
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)
|
|
32776
32825
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32777
32826
|
assertParamExists('createJobEnvironmentVariableAlias', 'environmentVariableId', environmentVariableId)
|
|
32778
32827
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}/alias`
|
|
32828
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32779
32829
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32780
32830
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32781
32831
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32809,15 +32859,19 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32809
32859
|
/**
|
|
32810
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
|
|
32811
32861
|
* @summary Create an environment variable override at the job level
|
|
32862
|
+
* @param {string} jobId Job ID
|
|
32812
32863
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32813
32864
|
* @param {Value} [value]
|
|
32814
32865
|
* @param {*} [options] Override http request option.
|
|
32815
32866
|
* @throws {RequiredError}
|
|
32816
32867
|
*/
|
|
32817
|
-
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)
|
|
32818
32871
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32819
32872
|
assertParamExists('createJobEnvironmentVariableOverride', 'environmentVariableId', environmentVariableId)
|
|
32820
32873
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}/override`
|
|
32874
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32821
32875
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32822
32876
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32823
32877
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32851,14 +32905,18 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32851
32905
|
/**
|
|
32852
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
|
|
32853
32907
|
* @summary Delete an environment variable from a job
|
|
32908
|
+
* @param {string} jobId Job ID
|
|
32854
32909
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32855
32910
|
* @param {*} [options] Override http request option.
|
|
32856
32911
|
* @throws {RequiredError}
|
|
32857
32912
|
*/
|
|
32858
|
-
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)
|
|
32859
32916
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32860
32917
|
assertParamExists('deleteJobEnvironmentVariable', 'environmentVariableId', environmentVariableId)
|
|
32861
32918
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}`
|
|
32919
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32862
32920
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32863
32921
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32864
32922
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32889,17 +32947,21 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32889
32947
|
/**
|
|
32890
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)
|
|
32891
32949
|
* @summary Edit an environment variable belonging to the job
|
|
32950
|
+
* @param {string} jobId Job ID
|
|
32892
32951
|
* @param {string} environmentVariableId Environment Variable ID
|
|
32893
32952
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
32894
32953
|
* @param {*} [options] Override http request option.
|
|
32895
32954
|
* @throws {RequiredError}
|
|
32896
32955
|
*/
|
|
32897
|
-
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)
|
|
32898
32959
|
// verify required parameter 'environmentVariableId' is not null or undefined
|
|
32899
32960
|
assertParamExists('editJobEnvironmentVariable', 'environmentVariableId', environmentVariableId)
|
|
32900
32961
|
// verify required parameter 'environmentVariableEditRequest' is not null or undefined
|
|
32901
32962
|
assertParamExists('editJobEnvironmentVariable', 'environmentVariableEditRequest', environmentVariableEditRequest)
|
|
32902
32963
|
const localVarPath = `/job/{jobId}/environmentVariable/{environmentVariableId}`
|
|
32964
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
32903
32965
|
.replace(`{${"environmentVariableId"}}`, encodeURIComponent(String(environmentVariableId)));
|
|
32904
32966
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32905
32967
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -32933,12 +32995,16 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32933
32995
|
/**
|
|
32934
32996
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
32935
32997
|
* @summary Import variables
|
|
32998
|
+
* @param {string} jobId Job ID
|
|
32936
32999
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
32937
33000
|
* @param {*} [options] Override http request option.
|
|
32938
33001
|
* @throws {RequiredError}
|
|
32939
33002
|
*/
|
|
32940
|
-
importJobEnvironmentVariable: async (variableImportRequest?: VariableImportRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32941
|
-
|
|
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)));
|
|
32942
33008
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32943
33009
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32944
33010
|
let baseOptions;
|
|
@@ -32971,11 +33037,15 @@ export const JobEnvironmentVariableApiAxiosParamCreator = function (configuratio
|
|
|
32971
33037
|
/**
|
|
32972
33038
|
*
|
|
32973
33039
|
* @summary List environment variables
|
|
33040
|
+
* @param {string} jobId Job ID
|
|
32974
33041
|
* @param {*} [options] Override http request option.
|
|
32975
33042
|
* @throws {RequiredError}
|
|
32976
33043
|
*/
|
|
32977
|
-
listJobEnvironmentVariable: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32978
|
-
|
|
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)));
|
|
32979
33049
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32980
33050
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32981
33051
|
let baseOptions;
|
|
@@ -33015,80 +33085,87 @@ export const JobEnvironmentVariableApiFp = function(configuration?: Configuratio
|
|
|
33015
33085
|
/**
|
|
33016
33086
|
* - Add an environment variable to the job.
|
|
33017
33087
|
* @summary Add an environment variable to the job
|
|
33088
|
+
* @param {string} jobId Job ID
|
|
33018
33089
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
33019
33090
|
* @param {*} [options] Override http request option.
|
|
33020
33091
|
* @throws {RequiredError}
|
|
33021
33092
|
*/
|
|
33022
|
-
async createJobEnvironmentVariable(environmentVariableRequest?: EnvironmentVariableRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33023
|
-
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);
|
|
33024
33095
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33025
33096
|
},
|
|
33026
33097
|
/**
|
|
33027
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
|
|
33028
33099
|
* @summary Create an environment variable alias at the job level
|
|
33100
|
+
* @param {string} jobId Job ID
|
|
33029
33101
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33030
33102
|
* @param {Key} [key]
|
|
33031
33103
|
* @param {*} [options] Override http request option.
|
|
33032
33104
|
* @throws {RequiredError}
|
|
33033
33105
|
*/
|
|
33034
|
-
async createJobEnvironmentVariableAlias(environmentVariableId: string, key?: Key, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33035
|
-
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);
|
|
33036
33108
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33037
33109
|
},
|
|
33038
33110
|
/**
|
|
33039
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
|
|
33040
33112
|
* @summary Create an environment variable override at the job level
|
|
33113
|
+
* @param {string} jobId Job ID
|
|
33041
33114
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33042
33115
|
* @param {Value} [value]
|
|
33043
33116
|
* @param {*} [options] Override http request option.
|
|
33044
33117
|
* @throws {RequiredError}
|
|
33045
33118
|
*/
|
|
33046
|
-
async createJobEnvironmentVariableOverride(environmentVariableId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33047
|
-
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);
|
|
33048
33121
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33049
33122
|
},
|
|
33050
33123
|
/**
|
|
33051
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
|
|
33052
33125
|
* @summary Delete an environment variable from a job
|
|
33126
|
+
* @param {string} jobId Job ID
|
|
33053
33127
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33054
33128
|
* @param {*} [options] Override http request option.
|
|
33055
33129
|
* @throws {RequiredError}
|
|
33056
33130
|
*/
|
|
33057
|
-
async deleteJobEnvironmentVariable(environmentVariableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33058
|
-
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);
|
|
33059
33133
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33060
33134
|
},
|
|
33061
33135
|
/**
|
|
33062
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)
|
|
33063
33137
|
* @summary Edit an environment variable belonging to the job
|
|
33138
|
+
* @param {string} jobId Job ID
|
|
33064
33139
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33065
33140
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
33066
33141
|
* @param {*} [options] Override http request option.
|
|
33067
33142
|
* @throws {RequiredError}
|
|
33068
33143
|
*/
|
|
33069
|
-
async editJobEnvironmentVariable(environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariable>> {
|
|
33070
|
-
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);
|
|
33071
33146
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33072
33147
|
},
|
|
33073
33148
|
/**
|
|
33074
33149
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
33075
33150
|
* @summary Import variables
|
|
33151
|
+
* @param {string} jobId Job ID
|
|
33076
33152
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
33077
33153
|
* @param {*} [options] Override http request option.
|
|
33078
33154
|
* @throws {RequiredError}
|
|
33079
33155
|
*/
|
|
33080
|
-
async importJobEnvironmentVariable(variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VariableImport>> {
|
|
33081
|
-
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);
|
|
33082
33158
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33083
33159
|
},
|
|
33084
33160
|
/**
|
|
33085
33161
|
*
|
|
33086
33162
|
* @summary List environment variables
|
|
33163
|
+
* @param {string} jobId Job ID
|
|
33087
33164
|
* @param {*} [options] Override http request option.
|
|
33088
33165
|
* @throws {RequiredError}
|
|
33089
33166
|
*/
|
|
33090
|
-
async listJobEnvironmentVariable(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentVariableResponseList>> {
|
|
33091
|
-
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);
|
|
33092
33169
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33093
33170
|
},
|
|
33094
33171
|
}
|
|
@@ -33104,74 +33181,81 @@ export const JobEnvironmentVariableApiFactory = function (configuration?: Config
|
|
|
33104
33181
|
/**
|
|
33105
33182
|
* - Add an environment variable to the job.
|
|
33106
33183
|
* @summary Add an environment variable to the job
|
|
33184
|
+
* @param {string} jobId Job ID
|
|
33107
33185
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
33108
33186
|
* @param {*} [options] Override http request option.
|
|
33109
33187
|
* @throws {RequiredError}
|
|
33110
33188
|
*/
|
|
33111
|
-
createJobEnvironmentVariable(environmentVariableRequest?: EnvironmentVariableRequest, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33112
|
-
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));
|
|
33113
33191
|
},
|
|
33114
33192
|
/**
|
|
33115
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
|
|
33116
33194
|
* @summary Create an environment variable alias at the job level
|
|
33195
|
+
* @param {string} jobId Job ID
|
|
33117
33196
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33118
33197
|
* @param {Key} [key]
|
|
33119
33198
|
* @param {*} [options] Override http request option.
|
|
33120
33199
|
* @throws {RequiredError}
|
|
33121
33200
|
*/
|
|
33122
|
-
createJobEnvironmentVariableAlias(environmentVariableId: string, key?: Key, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33123
|
-
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));
|
|
33124
33203
|
},
|
|
33125
33204
|
/**
|
|
33126
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
|
|
33127
33206
|
* @summary Create an environment variable override at the job level
|
|
33207
|
+
* @param {string} jobId Job ID
|
|
33128
33208
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33129
33209
|
* @param {Value} [value]
|
|
33130
33210
|
* @param {*} [options] Override http request option.
|
|
33131
33211
|
* @throws {RequiredError}
|
|
33132
33212
|
*/
|
|
33133
|
-
createJobEnvironmentVariableOverride(environmentVariableId: string, value?: Value, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33134
|
-
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));
|
|
33135
33215
|
},
|
|
33136
33216
|
/**
|
|
33137
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
|
|
33138
33218
|
* @summary Delete an environment variable from a job
|
|
33219
|
+
* @param {string} jobId Job ID
|
|
33139
33220
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33140
33221
|
* @param {*} [options] Override http request option.
|
|
33141
33222
|
* @throws {RequiredError}
|
|
33142
33223
|
*/
|
|
33143
|
-
deleteJobEnvironmentVariable(environmentVariableId: string, options?: any): AxiosPromise<void> {
|
|
33144
|
-
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));
|
|
33145
33226
|
},
|
|
33146
33227
|
/**
|
|
33147
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)
|
|
33148
33229
|
* @summary Edit an environment variable belonging to the job
|
|
33230
|
+
* @param {string} jobId Job ID
|
|
33149
33231
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33150
33232
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
33151
33233
|
* @param {*} [options] Override http request option.
|
|
33152
33234
|
* @throws {RequiredError}
|
|
33153
33235
|
*/
|
|
33154
|
-
editJobEnvironmentVariable(environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: any): AxiosPromise<EnvironmentVariable> {
|
|
33155
|
-
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));
|
|
33156
33238
|
},
|
|
33157
33239
|
/**
|
|
33158
33240
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
33159
33241
|
* @summary Import variables
|
|
33242
|
+
* @param {string} jobId Job ID
|
|
33160
33243
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
33161
33244
|
* @param {*} [options] Override http request option.
|
|
33162
33245
|
* @throws {RequiredError}
|
|
33163
33246
|
*/
|
|
33164
|
-
importJobEnvironmentVariable(variableImportRequest?: VariableImportRequest, options?: any): AxiosPromise<VariableImport> {
|
|
33165
|
-
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));
|
|
33166
33249
|
},
|
|
33167
33250
|
/**
|
|
33168
33251
|
*
|
|
33169
33252
|
* @summary List environment variables
|
|
33253
|
+
* @param {string} jobId Job ID
|
|
33170
33254
|
* @param {*} [options] Override http request option.
|
|
33171
33255
|
* @throws {RequiredError}
|
|
33172
33256
|
*/
|
|
33173
|
-
listJobEnvironmentVariable(options?: any): AxiosPromise<EnvironmentVariableResponseList> {
|
|
33174
|
-
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));
|
|
33175
33259
|
},
|
|
33176
33260
|
};
|
|
33177
33261
|
};
|
|
@@ -33186,87 +33270,94 @@ export class JobEnvironmentVariableApi extends BaseAPI {
|
|
|
33186
33270
|
/**
|
|
33187
33271
|
* - Add an environment variable to the job.
|
|
33188
33272
|
* @summary Add an environment variable to the job
|
|
33273
|
+
* @param {string} jobId Job ID
|
|
33189
33274
|
* @param {EnvironmentVariableRequest} [environmentVariableRequest]
|
|
33190
33275
|
* @param {*} [options] Override http request option.
|
|
33191
33276
|
* @throws {RequiredError}
|
|
33192
33277
|
* @memberof JobEnvironmentVariableApi
|
|
33193
33278
|
*/
|
|
33194
|
-
public createJobEnvironmentVariable(environmentVariableRequest?: EnvironmentVariableRequest, options?: AxiosRequestConfig) {
|
|
33195
|
-
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));
|
|
33196
33281
|
}
|
|
33197
33282
|
|
|
33198
33283
|
/**
|
|
33199
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
|
|
33200
33285
|
* @summary Create an environment variable alias at the job level
|
|
33286
|
+
* @param {string} jobId Job ID
|
|
33201
33287
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33202
33288
|
* @param {Key} [key]
|
|
33203
33289
|
* @param {*} [options] Override http request option.
|
|
33204
33290
|
* @throws {RequiredError}
|
|
33205
33291
|
* @memberof JobEnvironmentVariableApi
|
|
33206
33292
|
*/
|
|
33207
|
-
public createJobEnvironmentVariableAlias(environmentVariableId: string, key?: Key, options?: AxiosRequestConfig) {
|
|
33208
|
-
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));
|
|
33209
33295
|
}
|
|
33210
33296
|
|
|
33211
33297
|
/**
|
|
33212
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
|
|
33213
33299
|
* @summary Create an environment variable override at the job level
|
|
33300
|
+
* @param {string} jobId Job ID
|
|
33214
33301
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33215
33302
|
* @param {Value} [value]
|
|
33216
33303
|
* @param {*} [options] Override http request option.
|
|
33217
33304
|
* @throws {RequiredError}
|
|
33218
33305
|
* @memberof JobEnvironmentVariableApi
|
|
33219
33306
|
*/
|
|
33220
|
-
public createJobEnvironmentVariableOverride(environmentVariableId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
33221
|
-
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));
|
|
33222
33309
|
}
|
|
33223
33310
|
|
|
33224
33311
|
/**
|
|
33225
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
|
|
33226
33313
|
* @summary Delete an environment variable from a job
|
|
33314
|
+
* @param {string} jobId Job ID
|
|
33227
33315
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33228
33316
|
* @param {*} [options] Override http request option.
|
|
33229
33317
|
* @throws {RequiredError}
|
|
33230
33318
|
* @memberof JobEnvironmentVariableApi
|
|
33231
33319
|
*/
|
|
33232
|
-
public deleteJobEnvironmentVariable(environmentVariableId: string, options?: AxiosRequestConfig) {
|
|
33233
|
-
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));
|
|
33234
33322
|
}
|
|
33235
33323
|
|
|
33236
33324
|
/**
|
|
33237
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)
|
|
33238
33326
|
* @summary Edit an environment variable belonging to the job
|
|
33327
|
+
* @param {string} jobId Job ID
|
|
33239
33328
|
* @param {string} environmentVariableId Environment Variable ID
|
|
33240
33329
|
* @param {EnvironmentVariableEditRequest} environmentVariableEditRequest
|
|
33241
33330
|
* @param {*} [options] Override http request option.
|
|
33242
33331
|
* @throws {RequiredError}
|
|
33243
33332
|
* @memberof JobEnvironmentVariableApi
|
|
33244
33333
|
*/
|
|
33245
|
-
public editJobEnvironmentVariable(environmentVariableId: string, environmentVariableEditRequest: EnvironmentVariableEditRequest, options?: AxiosRequestConfig) {
|
|
33246
|
-
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));
|
|
33247
33336
|
}
|
|
33248
33337
|
|
|
33249
33338
|
/**
|
|
33250
33339
|
* Import environment variables in a defined scope, with a defined visibility.
|
|
33251
33340
|
* @summary Import variables
|
|
33341
|
+
* @param {string} jobId Job ID
|
|
33252
33342
|
* @param {VariableImportRequest} [variableImportRequest]
|
|
33253
33343
|
* @param {*} [options] Override http request option.
|
|
33254
33344
|
* @throws {RequiredError}
|
|
33255
33345
|
* @memberof JobEnvironmentVariableApi
|
|
33256
33346
|
*/
|
|
33257
|
-
public importJobEnvironmentVariable(variableImportRequest?: VariableImportRequest, options?: AxiosRequestConfig) {
|
|
33258
|
-
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));
|
|
33259
33349
|
}
|
|
33260
33350
|
|
|
33261
33351
|
/**
|
|
33262
33352
|
*
|
|
33263
33353
|
* @summary List environment variables
|
|
33354
|
+
* @param {string} jobId Job ID
|
|
33264
33355
|
* @param {*} [options] Override http request option.
|
|
33265
33356
|
* @throws {RequiredError}
|
|
33266
33357
|
* @memberof JobEnvironmentVariableApi
|
|
33267
33358
|
*/
|
|
33268
|
-
public listJobEnvironmentVariable(options?: AxiosRequestConfig) {
|
|
33269
|
-
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));
|
|
33270
33361
|
}
|
|
33271
33362
|
}
|
|
33272
33363
|
|
|
@@ -33280,11 +33371,15 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
33280
33371
|
/**
|
|
33281
33372
|
* To delete the job you must have the admin permission
|
|
33282
33373
|
* @summary Delete job
|
|
33374
|
+
* @param {string} jobId Job ID
|
|
33283
33375
|
* @param {*} [options] Override http request option.
|
|
33284
33376
|
* @throws {RequiredError}
|
|
33285
33377
|
*/
|
|
33286
|
-
deleteJob: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33287
|
-
|
|
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)));
|
|
33288
33383
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33289
33384
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33290
33385
|
let baseOptions;
|
|
@@ -33314,12 +33409,16 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
33314
33409
|
/**
|
|
33315
33410
|
* - To edit the job you must have the admin permission.
|
|
33316
33411
|
* @summary Edit job
|
|
33412
|
+
* @param {string} jobId Job ID
|
|
33317
33413
|
* @param {JobRequest} [jobRequest]
|
|
33318
33414
|
* @param {*} [options] Override http request option.
|
|
33319
33415
|
* @throws {RequiredError}
|
|
33320
33416
|
*/
|
|
33321
|
-
editJob: async (jobRequest?: JobRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33322
|
-
|
|
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)));
|
|
33323
33422
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33324
33423
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33325
33424
|
let baseOptions;
|
|
@@ -33390,11 +33489,15 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
|
|
|
33390
33489
|
/**
|
|
33391
33490
|
*
|
|
33392
33491
|
* @summary Get job status
|
|
33492
|
+
* @param {string} jobId Job ID
|
|
33393
33493
|
* @param {*} [options] Override http request option.
|
|
33394
33494
|
* @throws {RequiredError}
|
|
33395
33495
|
*/
|
|
33396
|
-
getJobStatus: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33397
|
-
|
|
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)));
|
|
33398
33501
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33399
33502
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33400
33503
|
let baseOptions;
|
|
@@ -33434,22 +33537,24 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33434
33537
|
/**
|
|
33435
33538
|
* To delete the job you must have the admin permission
|
|
33436
33539
|
* @summary Delete job
|
|
33540
|
+
* @param {string} jobId Job ID
|
|
33437
33541
|
* @param {*} [options] Override http request option.
|
|
33438
33542
|
* @throws {RequiredError}
|
|
33439
33543
|
*/
|
|
33440
|
-
async deleteJob(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33441
|
-
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);
|
|
33442
33546
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33443
33547
|
},
|
|
33444
33548
|
/**
|
|
33445
33549
|
* - To edit the job you must have the admin permission.
|
|
33446
33550
|
* @summary Edit job
|
|
33551
|
+
* @param {string} jobId Job ID
|
|
33447
33552
|
* @param {JobRequest} [jobRequest]
|
|
33448
33553
|
* @param {*} [options] Override http request option.
|
|
33449
33554
|
* @throws {RequiredError}
|
|
33450
33555
|
*/
|
|
33451
|
-
async editJob(jobRequest?: JobRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>> {
|
|
33452
|
-
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);
|
|
33453
33558
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33454
33559
|
},
|
|
33455
33560
|
/**
|
|
@@ -33466,11 +33571,12 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33466
33571
|
/**
|
|
33467
33572
|
*
|
|
33468
33573
|
* @summary Get job status
|
|
33574
|
+
* @param {string} jobId Job ID
|
|
33469
33575
|
* @param {*} [options] Override http request option.
|
|
33470
33576
|
* @throws {RequiredError}
|
|
33471
33577
|
*/
|
|
33472
|
-
async getJobStatus(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
33473
|
-
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);
|
|
33474
33580
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33475
33581
|
},
|
|
33476
33582
|
}
|
|
@@ -33486,21 +33592,23 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
|
|
|
33486
33592
|
/**
|
|
33487
33593
|
* To delete the job you must have the admin permission
|
|
33488
33594
|
* @summary Delete job
|
|
33595
|
+
* @param {string} jobId Job ID
|
|
33489
33596
|
* @param {*} [options] Override http request option.
|
|
33490
33597
|
* @throws {RequiredError}
|
|
33491
33598
|
*/
|
|
33492
|
-
deleteJob(options?: any): AxiosPromise<void> {
|
|
33493
|
-
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));
|
|
33494
33601
|
},
|
|
33495
33602
|
/**
|
|
33496
33603
|
* - To edit the job you must have the admin permission.
|
|
33497
33604
|
* @summary Edit job
|
|
33605
|
+
* @param {string} jobId Job ID
|
|
33498
33606
|
* @param {JobRequest} [jobRequest]
|
|
33499
33607
|
* @param {*} [options] Override http request option.
|
|
33500
33608
|
* @throws {RequiredError}
|
|
33501
33609
|
*/
|
|
33502
|
-
editJob(jobRequest?: JobRequest, options?: any): AxiosPromise<JobResponse> {
|
|
33503
|
-
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));
|
|
33504
33612
|
},
|
|
33505
33613
|
/**
|
|
33506
33614
|
*
|
|
@@ -33515,11 +33623,12 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
|
|
|
33515
33623
|
/**
|
|
33516
33624
|
*
|
|
33517
33625
|
* @summary Get job status
|
|
33626
|
+
* @param {string} jobId Job ID
|
|
33518
33627
|
* @param {*} [options] Override http request option.
|
|
33519
33628
|
* @throws {RequiredError}
|
|
33520
33629
|
*/
|
|
33521
|
-
getJobStatus(options?: any): AxiosPromise<Status> {
|
|
33522
|
-
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));
|
|
33523
33632
|
},
|
|
33524
33633
|
};
|
|
33525
33634
|
};
|
|
@@ -33534,24 +33643,26 @@ export class JobMainCallsApi extends BaseAPI {
|
|
|
33534
33643
|
/**
|
|
33535
33644
|
* To delete the job you must have the admin permission
|
|
33536
33645
|
* @summary Delete job
|
|
33646
|
+
* @param {string} jobId Job ID
|
|
33537
33647
|
* @param {*} [options] Override http request option.
|
|
33538
33648
|
* @throws {RequiredError}
|
|
33539
33649
|
* @memberof JobMainCallsApi
|
|
33540
33650
|
*/
|
|
33541
|
-
public deleteJob(options?: AxiosRequestConfig) {
|
|
33542
|
-
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));
|
|
33543
33653
|
}
|
|
33544
33654
|
|
|
33545
33655
|
/**
|
|
33546
33656
|
* - To edit the job you must have the admin permission.
|
|
33547
33657
|
* @summary Edit job
|
|
33658
|
+
* @param {string} jobId Job ID
|
|
33548
33659
|
* @param {JobRequest} [jobRequest]
|
|
33549
33660
|
* @param {*} [options] Override http request option.
|
|
33550
33661
|
* @throws {RequiredError}
|
|
33551
33662
|
* @memberof JobMainCallsApi
|
|
33552
33663
|
*/
|
|
33553
|
-
public editJob(jobRequest?: JobRequest, options?: AxiosRequestConfig) {
|
|
33554
|
-
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));
|
|
33555
33666
|
}
|
|
33556
33667
|
|
|
33557
33668
|
/**
|
|
@@ -33569,12 +33680,13 @@ export class JobMainCallsApi extends BaseAPI {
|
|
|
33569
33680
|
/**
|
|
33570
33681
|
*
|
|
33571
33682
|
* @summary Get job status
|
|
33683
|
+
* @param {string} jobId Job ID
|
|
33572
33684
|
* @param {*} [options] Override http request option.
|
|
33573
33685
|
* @throws {RequiredError}
|
|
33574
33686
|
* @memberof JobMainCallsApi
|
|
33575
33687
|
*/
|
|
33576
|
-
public getJobStatus(options?: AxiosRequestConfig) {
|
|
33577
|
-
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));
|
|
33578
33690
|
}
|
|
33579
33691
|
}
|
|
33580
33692
|
|
|
@@ -33588,11 +33700,15 @@ export const JobMetricsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
33588
33700
|
/**
|
|
33589
33701
|
*
|
|
33590
33702
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33703
|
+
* @param {string} jobId Job ID
|
|
33591
33704
|
* @param {*} [options] Override http request option.
|
|
33592
33705
|
* @throws {RequiredError}
|
|
33593
33706
|
*/
|
|
33594
|
-
getJobCurrentInstance: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33595
|
-
|
|
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)));
|
|
33596
33712
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33597
33713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33598
33714
|
let baseOptions;
|
|
@@ -33632,11 +33748,12 @@ export const JobMetricsApiFp = function(configuration?: Configuration) {
|
|
|
33632
33748
|
/**
|
|
33633
33749
|
*
|
|
33634
33750
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33751
|
+
* @param {string} jobId Job ID
|
|
33635
33752
|
* @param {*} [options] Override http request option.
|
|
33636
33753
|
* @throws {RequiredError}
|
|
33637
33754
|
*/
|
|
33638
|
-
async getJobCurrentInstance(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceResponseList>> {
|
|
33639
|
-
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);
|
|
33640
33757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33641
33758
|
},
|
|
33642
33759
|
}
|
|
@@ -33652,11 +33769,12 @@ export const JobMetricsApiFactory = function (configuration?: Configuration, bas
|
|
|
33652
33769
|
/**
|
|
33653
33770
|
*
|
|
33654
33771
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33772
|
+
* @param {string} jobId Job ID
|
|
33655
33773
|
* @param {*} [options] Override http request option.
|
|
33656
33774
|
* @throws {RequiredError}
|
|
33657
33775
|
*/
|
|
33658
|
-
getJobCurrentInstance(options?: any): AxiosPromise<InstanceResponseList> {
|
|
33659
|
-
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));
|
|
33660
33778
|
},
|
|
33661
33779
|
};
|
|
33662
33780
|
};
|
|
@@ -33671,12 +33789,13 @@ export class JobMetricsApi extends BaseAPI {
|
|
|
33671
33789
|
/**
|
|
33672
33790
|
*
|
|
33673
33791
|
* @summary List currently running instances of the job with their CPU and RAM metrics
|
|
33792
|
+
* @param {string} jobId Job ID
|
|
33674
33793
|
* @param {*} [options] Override http request option.
|
|
33675
33794
|
* @throws {RequiredError}
|
|
33676
33795
|
* @memberof JobMetricsApi
|
|
33677
33796
|
*/
|
|
33678
|
-
public getJobCurrentInstance(options?: AxiosRequestConfig) {
|
|
33679
|
-
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));
|
|
33680
33799
|
}
|
|
33681
33800
|
}
|
|
33682
33801
|
|
|
@@ -33690,12 +33809,16 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33690
33809
|
/**
|
|
33691
33810
|
* - Add a secret to the job.
|
|
33692
33811
|
* @summary Add a secret to the job
|
|
33812
|
+
* @param {string} jobId Job ID
|
|
33693
33813
|
* @param {SecretRequest} [secretRequest]
|
|
33694
33814
|
* @param {*} [options] Override http request option.
|
|
33695
33815
|
* @throws {RequiredError}
|
|
33696
33816
|
*/
|
|
33697
|
-
createJobSecret: async (secretRequest?: SecretRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33698
|
-
|
|
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)));
|
|
33699
33822
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33700
33823
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33701
33824
|
let baseOptions;
|
|
@@ -33728,15 +33851,19 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33728
33851
|
/**
|
|
33729
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
|
|
33730
33853
|
* @summary Create a secret alias at the job level
|
|
33854
|
+
* @param {string} jobId Job ID
|
|
33731
33855
|
* @param {string} secretId Secret ID
|
|
33732
33856
|
* @param {Key} [key]
|
|
33733
33857
|
* @param {*} [options] Override http request option.
|
|
33734
33858
|
* @throws {RequiredError}
|
|
33735
33859
|
*/
|
|
33736
|
-
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)
|
|
33737
33863
|
// verify required parameter 'secretId' is not null or undefined
|
|
33738
33864
|
assertParamExists('createJobSecretAlias', 'secretId', secretId)
|
|
33739
33865
|
const localVarPath = `/job/{jobId}/secret/{secretId}/alias`
|
|
33866
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33740
33867
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33741
33868
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33742
33869
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33770,15 +33897,19 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33770
33897
|
/**
|
|
33771
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
|
|
33772
33899
|
* @summary Create a secret override at the job level
|
|
33900
|
+
* @param {string} jobId Job ID
|
|
33773
33901
|
* @param {string} secretId Secret ID
|
|
33774
33902
|
* @param {Value} [value]
|
|
33775
33903
|
* @param {*} [options] Override http request option.
|
|
33776
33904
|
* @throws {RequiredError}
|
|
33777
33905
|
*/
|
|
33778
|
-
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)
|
|
33779
33909
|
// verify required parameter 'secretId' is not null or undefined
|
|
33780
33910
|
assertParamExists('createJobSecretOverride', 'secretId', secretId)
|
|
33781
33911
|
const localVarPath = `/job/{jobId}/secret/{secretId}/override`
|
|
33912
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33782
33913
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33783
33914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33784
33915
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33812,14 +33943,18 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33812
33943
|
/**
|
|
33813
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
|
|
33814
33945
|
* @summary Delete a secret from an job
|
|
33946
|
+
* @param {string} jobId Job ID
|
|
33815
33947
|
* @param {string} secretId Secret ID
|
|
33816
33948
|
* @param {*} [options] Override http request option.
|
|
33817
33949
|
* @throws {RequiredError}
|
|
33818
33950
|
*/
|
|
33819
|
-
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)
|
|
33820
33954
|
// verify required parameter 'secretId' is not null or undefined
|
|
33821
33955
|
assertParamExists('deleteJobSecret', 'secretId', secretId)
|
|
33822
33956
|
const localVarPath = `/job/{jobId}/secret/{secretId}`
|
|
33957
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33823
33958
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33824
33959
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33825
33960
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33850,17 +33985,21 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33850
33985
|
/**
|
|
33851
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)
|
|
33852
33987
|
* @summary Edit a secret belonging to the job
|
|
33988
|
+
* @param {string} jobId Job ID
|
|
33853
33989
|
* @param {string} secretId Secret ID
|
|
33854
33990
|
* @param {SecretEditRequest} secretEditRequest
|
|
33855
33991
|
* @param {*} [options] Override http request option.
|
|
33856
33992
|
* @throws {RequiredError}
|
|
33857
33993
|
*/
|
|
33858
|
-
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)
|
|
33859
33997
|
// verify required parameter 'secretId' is not null or undefined
|
|
33860
33998
|
assertParamExists('editJobSecret', 'secretId', secretId)
|
|
33861
33999
|
// verify required parameter 'secretEditRequest' is not null or undefined
|
|
33862
34000
|
assertParamExists('editJobSecret', 'secretEditRequest', secretEditRequest)
|
|
33863
34001
|
const localVarPath = `/job/{jobId}/secret/{secretId}`
|
|
34002
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)))
|
|
33864
34003
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
33865
34004
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33866
34005
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -33894,11 +34033,15 @@ export const JobSecretApiAxiosParamCreator = function (configuration?: Configura
|
|
|
33894
34033
|
/**
|
|
33895
34034
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
33896
34035
|
* @summary List job secrets
|
|
34036
|
+
* @param {string} jobId Job ID
|
|
33897
34037
|
* @param {*} [options] Override http request option.
|
|
33898
34038
|
* @throws {RequiredError}
|
|
33899
34039
|
*/
|
|
33900
|
-
listJobSecrets: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33901
|
-
|
|
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)));
|
|
33902
34045
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33903
34046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33904
34047
|
let baseOptions;
|
|
@@ -33938,69 +34081,75 @@ export const JobSecretApiFp = function(configuration?: Configuration) {
|
|
|
33938
34081
|
/**
|
|
33939
34082
|
* - Add a secret to the job.
|
|
33940
34083
|
* @summary Add a secret to the job
|
|
34084
|
+
* @param {string} jobId Job ID
|
|
33941
34085
|
* @param {SecretRequest} [secretRequest]
|
|
33942
34086
|
* @param {*} [options] Override http request option.
|
|
33943
34087
|
* @throws {RequiredError}
|
|
33944
34088
|
*/
|
|
33945
|
-
async createJobSecret(secretRequest?: SecretRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33946
|
-
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);
|
|
33947
34091
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33948
34092
|
},
|
|
33949
34093
|
/**
|
|
33950
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
|
|
33951
34095
|
* @summary Create a secret alias at the job level
|
|
34096
|
+
* @param {string} jobId Job ID
|
|
33952
34097
|
* @param {string} secretId Secret ID
|
|
33953
34098
|
* @param {Key} [key]
|
|
33954
34099
|
* @param {*} [options] Override http request option.
|
|
33955
34100
|
* @throws {RequiredError}
|
|
33956
34101
|
*/
|
|
33957
|
-
async createJobSecretAlias(secretId: string, key?: Key, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33958
|
-
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);
|
|
33959
34104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33960
34105
|
},
|
|
33961
34106
|
/**
|
|
33962
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
|
|
33963
34108
|
* @summary Create a secret override at the job level
|
|
34109
|
+
* @param {string} jobId Job ID
|
|
33964
34110
|
* @param {string} secretId Secret ID
|
|
33965
34111
|
* @param {Value} [value]
|
|
33966
34112
|
* @param {*} [options] Override http request option.
|
|
33967
34113
|
* @throws {RequiredError}
|
|
33968
34114
|
*/
|
|
33969
|
-
async createJobSecretOverride(secretId: string, value?: Value, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33970
|
-
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);
|
|
33971
34117
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33972
34118
|
},
|
|
33973
34119
|
/**
|
|
33974
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
|
|
33975
34121
|
* @summary Delete a secret from an job
|
|
34122
|
+
* @param {string} jobId Job ID
|
|
33976
34123
|
* @param {string} secretId Secret ID
|
|
33977
34124
|
* @param {*} [options] Override http request option.
|
|
33978
34125
|
* @throws {RequiredError}
|
|
33979
34126
|
*/
|
|
33980
|
-
async deleteJobSecret(secretId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33981
|
-
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);
|
|
33982
34129
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33983
34130
|
},
|
|
33984
34131
|
/**
|
|
33985
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)
|
|
33986
34133
|
* @summary Edit a secret belonging to the job
|
|
34134
|
+
* @param {string} jobId Job ID
|
|
33987
34135
|
* @param {string} secretId Secret ID
|
|
33988
34136
|
* @param {SecretEditRequest} secretEditRequest
|
|
33989
34137
|
* @param {*} [options] Override http request option.
|
|
33990
34138
|
* @throws {RequiredError}
|
|
33991
34139
|
*/
|
|
33992
|
-
async editJobSecret(secretId: string, secretEditRequest: SecretEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Secret>> {
|
|
33993
|
-
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);
|
|
33994
34142
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33995
34143
|
},
|
|
33996
34144
|
/**
|
|
33997
34145
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
33998
34146
|
* @summary List job secrets
|
|
34147
|
+
* @param {string} jobId Job ID
|
|
33999
34148
|
* @param {*} [options] Override http request option.
|
|
34000
34149
|
* @throws {RequiredError}
|
|
34001
34150
|
*/
|
|
34002
|
-
async listJobSecrets(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecretResponseList>> {
|
|
34003
|
-
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);
|
|
34004
34153
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34005
34154
|
},
|
|
34006
34155
|
}
|
|
@@ -34016,64 +34165,70 @@ export const JobSecretApiFactory = function (configuration?: Configuration, base
|
|
|
34016
34165
|
/**
|
|
34017
34166
|
* - Add a secret to the job.
|
|
34018
34167
|
* @summary Add a secret to the job
|
|
34168
|
+
* @param {string} jobId Job ID
|
|
34019
34169
|
* @param {SecretRequest} [secretRequest]
|
|
34020
34170
|
* @param {*} [options] Override http request option.
|
|
34021
34171
|
* @throws {RequiredError}
|
|
34022
34172
|
*/
|
|
34023
|
-
createJobSecret(secretRequest?: SecretRequest, options?: any): AxiosPromise<Secret> {
|
|
34024
|
-
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));
|
|
34025
34175
|
},
|
|
34026
34176
|
/**
|
|
34027
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
|
|
34028
34178
|
* @summary Create a secret alias at the job level
|
|
34179
|
+
* @param {string} jobId Job ID
|
|
34029
34180
|
* @param {string} secretId Secret ID
|
|
34030
34181
|
* @param {Key} [key]
|
|
34031
34182
|
* @param {*} [options] Override http request option.
|
|
34032
34183
|
* @throws {RequiredError}
|
|
34033
34184
|
*/
|
|
34034
|
-
createJobSecretAlias(secretId: string, key?: Key, options?: any): AxiosPromise<Secret> {
|
|
34035
|
-
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));
|
|
34036
34187
|
},
|
|
34037
34188
|
/**
|
|
34038
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
|
|
34039
34190
|
* @summary Create a secret override at the job level
|
|
34191
|
+
* @param {string} jobId Job ID
|
|
34040
34192
|
* @param {string} secretId Secret ID
|
|
34041
34193
|
* @param {Value} [value]
|
|
34042
34194
|
* @param {*} [options] Override http request option.
|
|
34043
34195
|
* @throws {RequiredError}
|
|
34044
34196
|
*/
|
|
34045
|
-
createJobSecretOverride(secretId: string, value?: Value, options?: any): AxiosPromise<Secret> {
|
|
34046
|
-
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));
|
|
34047
34199
|
},
|
|
34048
34200
|
/**
|
|
34049
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
|
|
34050
34202
|
* @summary Delete a secret from an job
|
|
34203
|
+
* @param {string} jobId Job ID
|
|
34051
34204
|
* @param {string} secretId Secret ID
|
|
34052
34205
|
* @param {*} [options] Override http request option.
|
|
34053
34206
|
* @throws {RequiredError}
|
|
34054
34207
|
*/
|
|
34055
|
-
deleteJobSecret(secretId: string, options?: any): AxiosPromise<void> {
|
|
34056
|
-
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));
|
|
34057
34210
|
},
|
|
34058
34211
|
/**
|
|
34059
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)
|
|
34060
34213
|
* @summary Edit a secret belonging to the job
|
|
34214
|
+
* @param {string} jobId Job ID
|
|
34061
34215
|
* @param {string} secretId Secret ID
|
|
34062
34216
|
* @param {SecretEditRequest} secretEditRequest
|
|
34063
34217
|
* @param {*} [options] Override http request option.
|
|
34064
34218
|
* @throws {RequiredError}
|
|
34065
34219
|
*/
|
|
34066
|
-
editJobSecret(secretId: string, secretEditRequest: SecretEditRequest, options?: any): AxiosPromise<Secret> {
|
|
34067
|
-
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));
|
|
34068
34222
|
},
|
|
34069
34223
|
/**
|
|
34070
34224
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
34071
34225
|
* @summary List job secrets
|
|
34226
|
+
* @param {string} jobId Job ID
|
|
34072
34227
|
* @param {*} [options] Override http request option.
|
|
34073
34228
|
* @throws {RequiredError}
|
|
34074
34229
|
*/
|
|
34075
|
-
listJobSecrets(options?: any): AxiosPromise<SecretResponseList> {
|
|
34076
|
-
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));
|
|
34077
34232
|
},
|
|
34078
34233
|
};
|
|
34079
34234
|
};
|
|
@@ -34088,75 +34243,81 @@ export class JobSecretApi extends BaseAPI {
|
|
|
34088
34243
|
/**
|
|
34089
34244
|
* - Add a secret to the job.
|
|
34090
34245
|
* @summary Add a secret to the job
|
|
34246
|
+
* @param {string} jobId Job ID
|
|
34091
34247
|
* @param {SecretRequest} [secretRequest]
|
|
34092
34248
|
* @param {*} [options] Override http request option.
|
|
34093
34249
|
* @throws {RequiredError}
|
|
34094
34250
|
* @memberof JobSecretApi
|
|
34095
34251
|
*/
|
|
34096
|
-
public createJobSecret(secretRequest?: SecretRequest, options?: AxiosRequestConfig) {
|
|
34097
|
-
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));
|
|
34098
34254
|
}
|
|
34099
34255
|
|
|
34100
34256
|
/**
|
|
34101
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
|
|
34102
34258
|
* @summary Create a secret alias at the job level
|
|
34259
|
+
* @param {string} jobId Job ID
|
|
34103
34260
|
* @param {string} secretId Secret ID
|
|
34104
34261
|
* @param {Key} [key]
|
|
34105
34262
|
* @param {*} [options] Override http request option.
|
|
34106
34263
|
* @throws {RequiredError}
|
|
34107
34264
|
* @memberof JobSecretApi
|
|
34108
34265
|
*/
|
|
34109
|
-
public createJobSecretAlias(secretId: string, key?: Key, options?: AxiosRequestConfig) {
|
|
34110
|
-
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));
|
|
34111
34268
|
}
|
|
34112
34269
|
|
|
34113
34270
|
/**
|
|
34114
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
|
|
34115
34272
|
* @summary Create a secret override at the job level
|
|
34273
|
+
* @param {string} jobId Job ID
|
|
34116
34274
|
* @param {string} secretId Secret ID
|
|
34117
34275
|
* @param {Value} [value]
|
|
34118
34276
|
* @param {*} [options] Override http request option.
|
|
34119
34277
|
* @throws {RequiredError}
|
|
34120
34278
|
* @memberof JobSecretApi
|
|
34121
34279
|
*/
|
|
34122
|
-
public createJobSecretOverride(secretId: string, value?: Value, options?: AxiosRequestConfig) {
|
|
34123
|
-
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));
|
|
34124
34282
|
}
|
|
34125
34283
|
|
|
34126
34284
|
/**
|
|
34127
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
|
|
34128
34286
|
* @summary Delete a secret from an job
|
|
34287
|
+
* @param {string} jobId Job ID
|
|
34129
34288
|
* @param {string} secretId Secret ID
|
|
34130
34289
|
* @param {*} [options] Override http request option.
|
|
34131
34290
|
* @throws {RequiredError}
|
|
34132
34291
|
* @memberof JobSecretApi
|
|
34133
34292
|
*/
|
|
34134
|
-
public deleteJobSecret(secretId: string, options?: AxiosRequestConfig) {
|
|
34135
|
-
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));
|
|
34136
34295
|
}
|
|
34137
34296
|
|
|
34138
34297
|
/**
|
|
34139
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)
|
|
34140
34299
|
* @summary Edit a secret belonging to the job
|
|
34300
|
+
* @param {string} jobId Job ID
|
|
34141
34301
|
* @param {string} secretId Secret ID
|
|
34142
34302
|
* @param {SecretEditRequest} secretEditRequest
|
|
34143
34303
|
* @param {*} [options] Override http request option.
|
|
34144
34304
|
* @throws {RequiredError}
|
|
34145
34305
|
* @memberof JobSecretApi
|
|
34146
34306
|
*/
|
|
34147
|
-
public editJobSecret(secretId: string, secretEditRequest: SecretEditRequest, options?: AxiosRequestConfig) {
|
|
34148
|
-
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));
|
|
34149
34309
|
}
|
|
34150
34310
|
|
|
34151
34311
|
/**
|
|
34152
34312
|
* Secrets are like environment variables, but they are secured and can\'t be revealed.
|
|
34153
34313
|
* @summary List job secrets
|
|
34314
|
+
* @param {string} jobId Job ID
|
|
34154
34315
|
* @param {*} [options] Override http request option.
|
|
34155
34316
|
* @throws {RequiredError}
|
|
34156
34317
|
* @memberof JobSecretApi
|
|
34157
34318
|
*/
|
|
34158
|
-
public listJobSecrets(options?: AxiosRequestConfig) {
|
|
34159
|
-
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));
|
|
34160
34321
|
}
|
|
34161
34322
|
}
|
|
34162
34323
|
|