qovery-typescript-axios 1.1.90 → 1.1.91
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 +0 -536
- package/dist/api.d.ts +0 -275
- package/dist/api.js +5 -498
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3344,19 +3344,6 @@ export interface ContainerCurrentScale {
|
|
|
3344
3344
|
*/
|
|
3345
3345
|
'updated_at'?: string;
|
|
3346
3346
|
}
|
|
3347
|
-
/**
|
|
3348
|
-
*
|
|
3349
|
-
* @export
|
|
3350
|
-
* @interface ContainerDependencyRequest
|
|
3351
|
-
*/
|
|
3352
|
-
export interface ContainerDependencyRequest {
|
|
3353
|
-
/**
|
|
3354
|
-
* Set application ID
|
|
3355
|
-
* @type {string}
|
|
3356
|
-
* @memberof ContainerDependencyRequest
|
|
3357
|
-
*/
|
|
3358
|
-
'id': string;
|
|
3359
|
-
}
|
|
3360
3347
|
/**
|
|
3361
3348
|
*
|
|
3362
3349
|
* @export
|
|
@@ -23394,264 +23381,6 @@ export class ContainerCustomDomainApi extends BaseAPI {
|
|
|
23394
23381
|
}
|
|
23395
23382
|
|
|
23396
23383
|
|
|
23397
|
-
/**
|
|
23398
|
-
* ContainerDependencyApi - axios parameter creator
|
|
23399
|
-
* @export
|
|
23400
|
-
*/
|
|
23401
|
-
export const ContainerDependencyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
23402
|
-
return {
|
|
23403
|
-
/**
|
|
23404
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
23405
|
-
* @summary Add container dependency to this application.
|
|
23406
|
-
* @param {string} containerId Container ID
|
|
23407
|
-
* @param {string} targetContainerId Target container ID
|
|
23408
|
-
* @param {*} [options] Override http request option.
|
|
23409
|
-
* @throws {RequiredError}
|
|
23410
|
-
*/
|
|
23411
|
-
createContainerDependency: async (containerId: string, targetContainerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23412
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
23413
|
-
assertParamExists('createContainerDependency', 'containerId', containerId)
|
|
23414
|
-
// verify required parameter 'targetContainerId' is not null or undefined
|
|
23415
|
-
assertParamExists('createContainerDependency', 'targetContainerId', targetContainerId)
|
|
23416
|
-
const localVarPath = `/container/{containerId}/dependency/{targetContainerId}`
|
|
23417
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
23418
|
-
.replace(`{${"targetContainerId"}}`, encodeURIComponent(String(targetContainerId)));
|
|
23419
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23420
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23421
|
-
let baseOptions;
|
|
23422
|
-
if (configuration) {
|
|
23423
|
-
baseOptions = configuration.baseOptions;
|
|
23424
|
-
}
|
|
23425
|
-
|
|
23426
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
23427
|
-
const localVarHeaderParameter = {} as any;
|
|
23428
|
-
const localVarQueryParameter = {} as any;
|
|
23429
|
-
|
|
23430
|
-
// authentication bearerAuth required
|
|
23431
|
-
// http bearer authentication required
|
|
23432
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23433
|
-
|
|
23434
|
-
|
|
23435
|
-
|
|
23436
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23437
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23438
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23439
|
-
|
|
23440
|
-
return {
|
|
23441
|
-
url: toPathString(localVarUrlObj),
|
|
23442
|
-
options: localVarRequestOptions,
|
|
23443
|
-
};
|
|
23444
|
-
},
|
|
23445
|
-
/**
|
|
23446
|
-
*
|
|
23447
|
-
* @summary List container dependencies
|
|
23448
|
-
* @param {string} containerId Container ID
|
|
23449
|
-
* @param {*} [options] Override http request option.
|
|
23450
|
-
* @throws {RequiredError}
|
|
23451
|
-
*/
|
|
23452
|
-
listContainerDependency: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23453
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
23454
|
-
assertParamExists('listContainerDependency', 'containerId', containerId)
|
|
23455
|
-
const localVarPath = `/container/{containerId}/dependency`
|
|
23456
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23457
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23458
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23459
|
-
let baseOptions;
|
|
23460
|
-
if (configuration) {
|
|
23461
|
-
baseOptions = configuration.baseOptions;
|
|
23462
|
-
}
|
|
23463
|
-
|
|
23464
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
23465
|
-
const localVarHeaderParameter = {} as any;
|
|
23466
|
-
const localVarQueryParameter = {} as any;
|
|
23467
|
-
|
|
23468
|
-
// authentication bearerAuth required
|
|
23469
|
-
// http bearer authentication required
|
|
23470
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23471
|
-
|
|
23472
|
-
|
|
23473
|
-
|
|
23474
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23475
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23476
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23477
|
-
|
|
23478
|
-
return {
|
|
23479
|
-
url: toPathString(localVarUrlObj),
|
|
23480
|
-
options: localVarRequestOptions,
|
|
23481
|
-
};
|
|
23482
|
-
},
|
|
23483
|
-
/**
|
|
23484
|
-
*
|
|
23485
|
-
* @summary Remove container dependency to this container.
|
|
23486
|
-
* @param {string} containerId Container ID
|
|
23487
|
-
* @param {*} [options] Override http request option.
|
|
23488
|
-
* @throws {RequiredError}
|
|
23489
|
-
*/
|
|
23490
|
-
removeContainerDependency: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23491
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
23492
|
-
assertParamExists('removeContainerDependency', 'containerId', containerId)
|
|
23493
|
-
const localVarPath = `/container/{containerId}/dependency/{targetContainerId}`
|
|
23494
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
23495
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23496
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23497
|
-
let baseOptions;
|
|
23498
|
-
if (configuration) {
|
|
23499
|
-
baseOptions = configuration.baseOptions;
|
|
23500
|
-
}
|
|
23501
|
-
|
|
23502
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
23503
|
-
const localVarHeaderParameter = {} as any;
|
|
23504
|
-
const localVarQueryParameter = {} as any;
|
|
23505
|
-
|
|
23506
|
-
// authentication bearerAuth required
|
|
23507
|
-
// http bearer authentication required
|
|
23508
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
23509
|
-
|
|
23510
|
-
|
|
23511
|
-
|
|
23512
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23513
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23514
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
23515
|
-
|
|
23516
|
-
return {
|
|
23517
|
-
url: toPathString(localVarUrlObj),
|
|
23518
|
-
options: localVarRequestOptions,
|
|
23519
|
-
};
|
|
23520
|
-
},
|
|
23521
|
-
}
|
|
23522
|
-
};
|
|
23523
|
-
|
|
23524
|
-
/**
|
|
23525
|
-
* ContainerDependencyApi - functional programming interface
|
|
23526
|
-
* @export
|
|
23527
|
-
*/
|
|
23528
|
-
export const ContainerDependencyApiFp = function(configuration?: Configuration) {
|
|
23529
|
-
const localVarAxiosParamCreator = ContainerDependencyApiAxiosParamCreator(configuration)
|
|
23530
|
-
return {
|
|
23531
|
-
/**
|
|
23532
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
23533
|
-
* @summary Add container dependency to this application.
|
|
23534
|
-
* @param {string} containerId Container ID
|
|
23535
|
-
* @param {string} targetContainerId Target container ID
|
|
23536
|
-
* @param {*} [options] Override http request option.
|
|
23537
|
-
* @throws {RequiredError}
|
|
23538
|
-
*/
|
|
23539
|
-
async createContainerDependency(containerId: string, targetContainerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
23540
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainerDependency(containerId, targetContainerId, options);
|
|
23541
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23542
|
-
},
|
|
23543
|
-
/**
|
|
23544
|
-
*
|
|
23545
|
-
* @summary List container dependencies
|
|
23546
|
-
* @param {string} containerId Container ID
|
|
23547
|
-
* @param {*} [options] Override http request option.
|
|
23548
|
-
* @throws {RequiredError}
|
|
23549
|
-
*/
|
|
23550
|
-
async listContainerDependency(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponseList>> {
|
|
23551
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainerDependency(containerId, options);
|
|
23552
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23553
|
-
},
|
|
23554
|
-
/**
|
|
23555
|
-
*
|
|
23556
|
-
* @summary Remove container dependency to this container.
|
|
23557
|
-
* @param {string} containerId Container ID
|
|
23558
|
-
* @param {*} [options] Override http request option.
|
|
23559
|
-
* @throws {RequiredError}
|
|
23560
|
-
*/
|
|
23561
|
-
async removeContainerDependency(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23562
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.removeContainerDependency(containerId, options);
|
|
23563
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23564
|
-
},
|
|
23565
|
-
}
|
|
23566
|
-
};
|
|
23567
|
-
|
|
23568
|
-
/**
|
|
23569
|
-
* ContainerDependencyApi - factory interface
|
|
23570
|
-
* @export
|
|
23571
|
-
*/
|
|
23572
|
-
export const ContainerDependencyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
23573
|
-
const localVarFp = ContainerDependencyApiFp(configuration)
|
|
23574
|
-
return {
|
|
23575
|
-
/**
|
|
23576
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
23577
|
-
* @summary Add container dependency to this application.
|
|
23578
|
-
* @param {string} containerId Container ID
|
|
23579
|
-
* @param {string} targetContainerId Target container ID
|
|
23580
|
-
* @param {*} [options] Override http request option.
|
|
23581
|
-
* @throws {RequiredError}
|
|
23582
|
-
*/
|
|
23583
|
-
createContainerDependency(containerId: string, targetContainerId: string, options?: any): AxiosPromise<ContainerResponse> {
|
|
23584
|
-
return localVarFp.createContainerDependency(containerId, targetContainerId, options).then((request) => request(axios, basePath));
|
|
23585
|
-
},
|
|
23586
|
-
/**
|
|
23587
|
-
*
|
|
23588
|
-
* @summary List container dependencies
|
|
23589
|
-
* @param {string} containerId Container ID
|
|
23590
|
-
* @param {*} [options] Override http request option.
|
|
23591
|
-
* @throws {RequiredError}
|
|
23592
|
-
*/
|
|
23593
|
-
listContainerDependency(containerId: string, options?: any): AxiosPromise<ContainerResponseList> {
|
|
23594
|
-
return localVarFp.listContainerDependency(containerId, options).then((request) => request(axios, basePath));
|
|
23595
|
-
},
|
|
23596
|
-
/**
|
|
23597
|
-
*
|
|
23598
|
-
* @summary Remove container dependency to this container.
|
|
23599
|
-
* @param {string} containerId Container ID
|
|
23600
|
-
* @param {*} [options] Override http request option.
|
|
23601
|
-
* @throws {RequiredError}
|
|
23602
|
-
*/
|
|
23603
|
-
removeContainerDependency(containerId: string, options?: any): AxiosPromise<void> {
|
|
23604
|
-
return localVarFp.removeContainerDependency(containerId, options).then((request) => request(axios, basePath));
|
|
23605
|
-
},
|
|
23606
|
-
};
|
|
23607
|
-
};
|
|
23608
|
-
|
|
23609
|
-
/**
|
|
23610
|
-
* ContainerDependencyApi - object-oriented interface
|
|
23611
|
-
* @export
|
|
23612
|
-
* @class ContainerDependencyApi
|
|
23613
|
-
* @extends {BaseAPI}
|
|
23614
|
-
*/
|
|
23615
|
-
export class ContainerDependencyApi extends BaseAPI {
|
|
23616
|
-
/**
|
|
23617
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
23618
|
-
* @summary Add container dependency to this application.
|
|
23619
|
-
* @param {string} containerId Container ID
|
|
23620
|
-
* @param {string} targetContainerId Target container ID
|
|
23621
|
-
* @param {*} [options] Override http request option.
|
|
23622
|
-
* @throws {RequiredError}
|
|
23623
|
-
* @memberof ContainerDependencyApi
|
|
23624
|
-
*/
|
|
23625
|
-
public createContainerDependency(containerId: string, targetContainerId: string, options?: AxiosRequestConfig) {
|
|
23626
|
-
return ContainerDependencyApiFp(this.configuration).createContainerDependency(containerId, targetContainerId, options).then((request) => request(this.axios, this.basePath));
|
|
23627
|
-
}
|
|
23628
|
-
|
|
23629
|
-
/**
|
|
23630
|
-
*
|
|
23631
|
-
* @summary List container dependencies
|
|
23632
|
-
* @param {string} containerId Container ID
|
|
23633
|
-
* @param {*} [options] Override http request option.
|
|
23634
|
-
* @throws {RequiredError}
|
|
23635
|
-
* @memberof ContainerDependencyApi
|
|
23636
|
-
*/
|
|
23637
|
-
public listContainerDependency(containerId: string, options?: AxiosRequestConfig) {
|
|
23638
|
-
return ContainerDependencyApiFp(this.configuration).listContainerDependency(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23639
|
-
}
|
|
23640
|
-
|
|
23641
|
-
/**
|
|
23642
|
-
*
|
|
23643
|
-
* @summary Remove container dependency to this container.
|
|
23644
|
-
* @param {string} containerId Container ID
|
|
23645
|
-
* @param {*} [options] Override http request option.
|
|
23646
|
-
* @throws {RequiredError}
|
|
23647
|
-
* @memberof ContainerDependencyApi
|
|
23648
|
-
*/
|
|
23649
|
-
public removeContainerDependency(containerId: string, options?: AxiosRequestConfig) {
|
|
23650
|
-
return ContainerDependencyApiFp(this.configuration).removeContainerDependency(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
23651
|
-
}
|
|
23652
|
-
}
|
|
23653
|
-
|
|
23654
|
-
|
|
23655
23384
|
/**
|
|
23656
23385
|
* ContainerDeploymentHistoryApi - axios parameter creator
|
|
23657
23386
|
* @export
|
|
@@ -29538,271 +29267,6 @@ export class DatabasesApi extends BaseAPI {
|
|
|
29538
29267
|
}
|
|
29539
29268
|
|
|
29540
29269
|
|
|
29541
|
-
/**
|
|
29542
|
-
* DependencyApi - axios parameter creator
|
|
29543
|
-
* @export
|
|
29544
|
-
*/
|
|
29545
|
-
export const DependencyApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29546
|
-
return {
|
|
29547
|
-
/**
|
|
29548
|
-
* Add application dependency to this application to prevent this application starting before the linked dependencies
|
|
29549
|
-
* @summary Add application dependency to this application.
|
|
29550
|
-
* @param {string} applicationId Application ID
|
|
29551
|
-
* @param {string} targetApplicationId Target application ID
|
|
29552
|
-
* @param {*} [options] Override http request option.
|
|
29553
|
-
* @throws {RequiredError}
|
|
29554
|
-
*/
|
|
29555
|
-
createApplicationDependency: async (applicationId: string, targetApplicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29556
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29557
|
-
assertParamExists('createApplicationDependency', 'applicationId', applicationId)
|
|
29558
|
-
// verify required parameter 'targetApplicationId' is not null or undefined
|
|
29559
|
-
assertParamExists('createApplicationDependency', 'targetApplicationId', targetApplicationId)
|
|
29560
|
-
const localVarPath = `/application/{applicationId}/dependency/{targetApplicationId}`
|
|
29561
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29562
|
-
.replace(`{${"targetApplicationId"}}`, encodeURIComponent(String(targetApplicationId)));
|
|
29563
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29564
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29565
|
-
let baseOptions;
|
|
29566
|
-
if (configuration) {
|
|
29567
|
-
baseOptions = configuration.baseOptions;
|
|
29568
|
-
}
|
|
29569
|
-
|
|
29570
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29571
|
-
const localVarHeaderParameter = {} as any;
|
|
29572
|
-
const localVarQueryParameter = {} as any;
|
|
29573
|
-
|
|
29574
|
-
// authentication bearerAuth required
|
|
29575
|
-
// http bearer authentication required
|
|
29576
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29577
|
-
|
|
29578
|
-
|
|
29579
|
-
|
|
29580
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29581
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29582
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29583
|
-
|
|
29584
|
-
return {
|
|
29585
|
-
url: toPathString(localVarUrlObj),
|
|
29586
|
-
options: localVarRequestOptions,
|
|
29587
|
-
};
|
|
29588
|
-
},
|
|
29589
|
-
/**
|
|
29590
|
-
*
|
|
29591
|
-
* @summary List application dependencies
|
|
29592
|
-
* @param {string} applicationId Application ID
|
|
29593
|
-
* @param {*} [options] Override http request option.
|
|
29594
|
-
* @throws {RequiredError}
|
|
29595
|
-
*/
|
|
29596
|
-
listApplicationDependency: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29597
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29598
|
-
assertParamExists('listApplicationDependency', 'applicationId', applicationId)
|
|
29599
|
-
const localVarPath = `/application/{applicationId}/dependency`
|
|
29600
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
29601
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29602
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29603
|
-
let baseOptions;
|
|
29604
|
-
if (configuration) {
|
|
29605
|
-
baseOptions = configuration.baseOptions;
|
|
29606
|
-
}
|
|
29607
|
-
|
|
29608
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29609
|
-
const localVarHeaderParameter = {} as any;
|
|
29610
|
-
const localVarQueryParameter = {} as any;
|
|
29611
|
-
|
|
29612
|
-
// authentication bearerAuth required
|
|
29613
|
-
// http bearer authentication required
|
|
29614
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29615
|
-
|
|
29616
|
-
|
|
29617
|
-
|
|
29618
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29619
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29620
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29621
|
-
|
|
29622
|
-
return {
|
|
29623
|
-
url: toPathString(localVarUrlObj),
|
|
29624
|
-
options: localVarRequestOptions,
|
|
29625
|
-
};
|
|
29626
|
-
},
|
|
29627
|
-
/**
|
|
29628
|
-
*
|
|
29629
|
-
* @summary Remove application dependency to this application.
|
|
29630
|
-
* @param {string} applicationId Application ID
|
|
29631
|
-
* @param {string} targetApplicationId Target application ID
|
|
29632
|
-
* @param {*} [options] Override http request option.
|
|
29633
|
-
* @throws {RequiredError}
|
|
29634
|
-
*/
|
|
29635
|
-
removeApplicationDependency: async (applicationId: string, targetApplicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29636
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29637
|
-
assertParamExists('removeApplicationDependency', 'applicationId', applicationId)
|
|
29638
|
-
// verify required parameter 'targetApplicationId' is not null or undefined
|
|
29639
|
-
assertParamExists('removeApplicationDependency', 'targetApplicationId', targetApplicationId)
|
|
29640
|
-
const localVarPath = `/application/{applicationId}/dependency/{targetApplicationId}`
|
|
29641
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29642
|
-
.replace(`{${"targetApplicationId"}}`, encodeURIComponent(String(targetApplicationId)));
|
|
29643
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29644
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29645
|
-
let baseOptions;
|
|
29646
|
-
if (configuration) {
|
|
29647
|
-
baseOptions = configuration.baseOptions;
|
|
29648
|
-
}
|
|
29649
|
-
|
|
29650
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29651
|
-
const localVarHeaderParameter = {} as any;
|
|
29652
|
-
const localVarQueryParameter = {} as any;
|
|
29653
|
-
|
|
29654
|
-
// authentication bearerAuth required
|
|
29655
|
-
// http bearer authentication required
|
|
29656
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29657
|
-
|
|
29658
|
-
|
|
29659
|
-
|
|
29660
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29661
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29662
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29663
|
-
|
|
29664
|
-
return {
|
|
29665
|
-
url: toPathString(localVarUrlObj),
|
|
29666
|
-
options: localVarRequestOptions,
|
|
29667
|
-
};
|
|
29668
|
-
},
|
|
29669
|
-
}
|
|
29670
|
-
};
|
|
29671
|
-
|
|
29672
|
-
/**
|
|
29673
|
-
* DependencyApi - functional programming interface
|
|
29674
|
-
* @export
|
|
29675
|
-
*/
|
|
29676
|
-
export const DependencyApiFp = function(configuration?: Configuration) {
|
|
29677
|
-
const localVarAxiosParamCreator = DependencyApiAxiosParamCreator(configuration)
|
|
29678
|
-
return {
|
|
29679
|
-
/**
|
|
29680
|
-
* Add application dependency to this application to prevent this application starting before the linked dependencies
|
|
29681
|
-
* @summary Add application dependency to this application.
|
|
29682
|
-
* @param {string} applicationId Application ID
|
|
29683
|
-
* @param {string} targetApplicationId Target application ID
|
|
29684
|
-
* @param {*} [options] Override http request option.
|
|
29685
|
-
* @throws {RequiredError}
|
|
29686
|
-
*/
|
|
29687
|
-
async createApplicationDependency(applicationId: string, targetApplicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Application>> {
|
|
29688
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationDependency(applicationId, targetApplicationId, options);
|
|
29689
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29690
|
-
},
|
|
29691
|
-
/**
|
|
29692
|
-
*
|
|
29693
|
-
* @summary List application dependencies
|
|
29694
|
-
* @param {string} applicationId Application ID
|
|
29695
|
-
* @param {*} [options] Override http request option.
|
|
29696
|
-
* @throws {RequiredError}
|
|
29697
|
-
*/
|
|
29698
|
-
async listApplicationDependency(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationResponseList>> {
|
|
29699
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationDependency(applicationId, options);
|
|
29700
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29701
|
-
},
|
|
29702
|
-
/**
|
|
29703
|
-
*
|
|
29704
|
-
* @summary Remove application dependency to this application.
|
|
29705
|
-
* @param {string} applicationId Application ID
|
|
29706
|
-
* @param {string} targetApplicationId Target application ID
|
|
29707
|
-
* @param {*} [options] Override http request option.
|
|
29708
|
-
* @throws {RequiredError}
|
|
29709
|
-
*/
|
|
29710
|
-
async removeApplicationDependency(applicationId: string, targetApplicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29711
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.removeApplicationDependency(applicationId, targetApplicationId, options);
|
|
29712
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29713
|
-
},
|
|
29714
|
-
}
|
|
29715
|
-
};
|
|
29716
|
-
|
|
29717
|
-
/**
|
|
29718
|
-
* DependencyApi - factory interface
|
|
29719
|
-
* @export
|
|
29720
|
-
*/
|
|
29721
|
-
export const DependencyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29722
|
-
const localVarFp = DependencyApiFp(configuration)
|
|
29723
|
-
return {
|
|
29724
|
-
/**
|
|
29725
|
-
* Add application dependency to this application to prevent this application starting before the linked dependencies
|
|
29726
|
-
* @summary Add application dependency to this application.
|
|
29727
|
-
* @param {string} applicationId Application ID
|
|
29728
|
-
* @param {string} targetApplicationId Target application ID
|
|
29729
|
-
* @param {*} [options] Override http request option.
|
|
29730
|
-
* @throws {RequiredError}
|
|
29731
|
-
*/
|
|
29732
|
-
createApplicationDependency(applicationId: string, targetApplicationId: string, options?: any): AxiosPromise<Application> {
|
|
29733
|
-
return localVarFp.createApplicationDependency(applicationId, targetApplicationId, options).then((request) => request(axios, basePath));
|
|
29734
|
-
},
|
|
29735
|
-
/**
|
|
29736
|
-
*
|
|
29737
|
-
* @summary List application dependencies
|
|
29738
|
-
* @param {string} applicationId Application ID
|
|
29739
|
-
* @param {*} [options] Override http request option.
|
|
29740
|
-
* @throws {RequiredError}
|
|
29741
|
-
*/
|
|
29742
|
-
listApplicationDependency(applicationId: string, options?: any): AxiosPromise<ApplicationResponseList> {
|
|
29743
|
-
return localVarFp.listApplicationDependency(applicationId, options).then((request) => request(axios, basePath));
|
|
29744
|
-
},
|
|
29745
|
-
/**
|
|
29746
|
-
*
|
|
29747
|
-
* @summary Remove application dependency to this application.
|
|
29748
|
-
* @param {string} applicationId Application ID
|
|
29749
|
-
* @param {string} targetApplicationId Target application ID
|
|
29750
|
-
* @param {*} [options] Override http request option.
|
|
29751
|
-
* @throws {RequiredError}
|
|
29752
|
-
*/
|
|
29753
|
-
removeApplicationDependency(applicationId: string, targetApplicationId: string, options?: any): AxiosPromise<void> {
|
|
29754
|
-
return localVarFp.removeApplicationDependency(applicationId, targetApplicationId, options).then((request) => request(axios, basePath));
|
|
29755
|
-
},
|
|
29756
|
-
};
|
|
29757
|
-
};
|
|
29758
|
-
|
|
29759
|
-
/**
|
|
29760
|
-
* DependencyApi - object-oriented interface
|
|
29761
|
-
* @export
|
|
29762
|
-
* @class DependencyApi
|
|
29763
|
-
* @extends {BaseAPI}
|
|
29764
|
-
*/
|
|
29765
|
-
export class DependencyApi extends BaseAPI {
|
|
29766
|
-
/**
|
|
29767
|
-
* Add application dependency to this application to prevent this application starting before the linked dependencies
|
|
29768
|
-
* @summary Add application dependency to this application.
|
|
29769
|
-
* @param {string} applicationId Application ID
|
|
29770
|
-
* @param {string} targetApplicationId Target application ID
|
|
29771
|
-
* @param {*} [options] Override http request option.
|
|
29772
|
-
* @throws {RequiredError}
|
|
29773
|
-
* @memberof DependencyApi
|
|
29774
|
-
*/
|
|
29775
|
-
public createApplicationDependency(applicationId: string, targetApplicationId: string, options?: AxiosRequestConfig) {
|
|
29776
|
-
return DependencyApiFp(this.configuration).createApplicationDependency(applicationId, targetApplicationId, options).then((request) => request(this.axios, this.basePath));
|
|
29777
|
-
}
|
|
29778
|
-
|
|
29779
|
-
/**
|
|
29780
|
-
*
|
|
29781
|
-
* @summary List application dependencies
|
|
29782
|
-
* @param {string} applicationId Application ID
|
|
29783
|
-
* @param {*} [options] Override http request option.
|
|
29784
|
-
* @throws {RequiredError}
|
|
29785
|
-
* @memberof DependencyApi
|
|
29786
|
-
*/
|
|
29787
|
-
public listApplicationDependency(applicationId: string, options?: AxiosRequestConfig) {
|
|
29788
|
-
return DependencyApiFp(this.configuration).listApplicationDependency(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
29789
|
-
}
|
|
29790
|
-
|
|
29791
|
-
/**
|
|
29792
|
-
*
|
|
29793
|
-
* @summary Remove application dependency to this application.
|
|
29794
|
-
* @param {string} applicationId Application ID
|
|
29795
|
-
* @param {string} targetApplicationId Target application ID
|
|
29796
|
-
* @param {*} [options] Override http request option.
|
|
29797
|
-
* @throws {RequiredError}
|
|
29798
|
-
* @memberof DependencyApi
|
|
29799
|
-
*/
|
|
29800
|
-
public removeApplicationDependency(applicationId: string, targetApplicationId: string, options?: AxiosRequestConfig) {
|
|
29801
|
-
return DependencyApiFp(this.configuration).removeApplicationDependency(applicationId, targetApplicationId, options).then((request) => request(this.axios, this.basePath));
|
|
29802
|
-
}
|
|
29803
|
-
}
|
|
29804
|
-
|
|
29805
|
-
|
|
29806
29270
|
/**
|
|
29807
29271
|
* DeploymentStageMainCallsApi - axios parameter creator
|
|
29808
29272
|
* @export
|