qovery-typescript-axios 1.1.890 → 1.1.891
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 +96 -0
- package/dist/api.d.ts +41 -0
- package/dist/api.js +89 -0
- package/dist/esm/api.d.ts +41 -0
- package/dist/esm/api.js +89 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -29310,6 +29310,61 @@ export const ArgoCDApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
29310
29310
|
|
|
29311
29311
|
|
|
29312
29312
|
|
|
29313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29315
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29316
|
+
|
|
29317
|
+
return {
|
|
29318
|
+
url: toPathString(localVarUrlObj),
|
|
29319
|
+
options: localVarRequestOptions,
|
|
29320
|
+
};
|
|
29321
|
+
},
|
|
29322
|
+
/**
|
|
29323
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
29324
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
29325
|
+
* @param {string} organizationId Organization ID
|
|
29326
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
29327
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
29328
|
+
* @param {*} [options] Override http request option.
|
|
29329
|
+
* @throws {RequiredError}
|
|
29330
|
+
*/
|
|
29331
|
+
deleteArgoCdDestinationClusterMapping: async (organizationId: string, agentClusterId: string, argocdClusterUrl: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29332
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
29333
|
+
assertParamExists('deleteArgoCdDestinationClusterMapping', 'organizationId', organizationId)
|
|
29334
|
+
// verify required parameter 'agentClusterId' is not null or undefined
|
|
29335
|
+
assertParamExists('deleteArgoCdDestinationClusterMapping', 'agentClusterId', agentClusterId)
|
|
29336
|
+
// verify required parameter 'argocdClusterUrl' is not null or undefined
|
|
29337
|
+
assertParamExists('deleteArgoCdDestinationClusterMapping', 'argocdClusterUrl', argocdClusterUrl)
|
|
29338
|
+
const localVarPath = `/organization/{organizationId}/argoCdDestinationClusterMapping`
|
|
29339
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
29340
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29341
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29342
|
+
let baseOptions;
|
|
29343
|
+
if (configuration) {
|
|
29344
|
+
baseOptions = configuration.baseOptions;
|
|
29345
|
+
}
|
|
29346
|
+
|
|
29347
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29348
|
+
const localVarHeaderParameter = {} as any;
|
|
29349
|
+
const localVarQueryParameter = {} as any;
|
|
29350
|
+
|
|
29351
|
+
// authentication ApiKeyAuth required
|
|
29352
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29353
|
+
|
|
29354
|
+
// authentication bearerAuth required
|
|
29355
|
+
// http bearer authentication required
|
|
29356
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29357
|
+
|
|
29358
|
+
if (agentClusterId !== undefined) {
|
|
29359
|
+
localVarQueryParameter['agentClusterId'] = agentClusterId;
|
|
29360
|
+
}
|
|
29361
|
+
|
|
29362
|
+
if (argocdClusterUrl !== undefined) {
|
|
29363
|
+
localVarQueryParameter['argocdClusterUrl'] = argocdClusterUrl;
|
|
29364
|
+
}
|
|
29365
|
+
|
|
29366
|
+
|
|
29367
|
+
|
|
29313
29368
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29314
29369
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29315
29370
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29614,6 +29669,21 @@ export const ArgoCDApiFp = function(configuration?: Configuration) {
|
|
|
29614
29669
|
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.deleteArgoCdCredentials']?.[localVarOperationServerIndex]?.url;
|
|
29615
29670
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29616
29671
|
},
|
|
29672
|
+
/**
|
|
29673
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
29674
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
29675
|
+
* @param {string} organizationId Organization ID
|
|
29676
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
29677
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
29678
|
+
* @param {*} [options] Override http request option.
|
|
29679
|
+
* @throws {RequiredError}
|
|
29680
|
+
*/
|
|
29681
|
+
async deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
29682
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options);
|
|
29683
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29684
|
+
const localVarOperationServerBasePath = operationServerMap['ArgoCDApi.deleteArgoCdDestinationClusterMapping']?.[localVarOperationServerIndex]?.url;
|
|
29685
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29686
|
+
},
|
|
29617
29687
|
/**
|
|
29618
29688
|
*
|
|
29619
29689
|
* @summary Get ArgoCD app by ID
|
|
@@ -29725,6 +29795,18 @@ export const ArgoCDApiFactory = function (configuration?: Configuration, basePat
|
|
|
29725
29795
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29726
29796
|
return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
|
|
29727
29797
|
},
|
|
29798
|
+
/**
|
|
29799
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
29800
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
29801
|
+
* @param {string} organizationId Organization ID
|
|
29802
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
29803
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
29804
|
+
* @param {*} [options] Override http request option.
|
|
29805
|
+
* @throws {RequiredError}
|
|
29806
|
+
*/
|
|
29807
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
29808
|
+
return localVarFp.deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options).then((request) => request(axios, basePath));
|
|
29809
|
+
},
|
|
29728
29810
|
/**
|
|
29729
29811
|
*
|
|
29730
29812
|
* @summary Get ArgoCD app by ID
|
|
@@ -29822,6 +29904,20 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
29822
29904
|
return ArgoCDApiFp(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
29823
29905
|
}
|
|
29824
29906
|
|
|
29907
|
+
/**
|
|
29908
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
29909
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
29910
|
+
* @param {string} organizationId Organization ID
|
|
29911
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
29912
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
29913
|
+
* @param {*} [options] Override http request option.
|
|
29914
|
+
* @throws {RequiredError}
|
|
29915
|
+
* @memberof ArgoCDApi
|
|
29916
|
+
*/
|
|
29917
|
+
public deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig) {
|
|
29918
|
+
return ArgoCDApiFp(this.configuration).deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options).then((request) => request(this.axios, this.basePath));
|
|
29919
|
+
}
|
|
29920
|
+
|
|
29825
29921
|
/**
|
|
29826
29922
|
*
|
|
29827
29923
|
* @summary Get ArgoCD app by ID
|
package/dist/api.d.ts
CHANGED
|
@@ -25575,6 +25575,16 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25575
25575
|
* @throws {RequiredError}
|
|
25576
25576
|
*/
|
|
25577
25577
|
deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25578
|
+
/**
|
|
25579
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25580
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25581
|
+
* @param {string} organizationId Organization ID
|
|
25582
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25583
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25584
|
+
* @param {*} [options] Override http request option.
|
|
25585
|
+
* @throws {RequiredError}
|
|
25586
|
+
*/
|
|
25587
|
+
deleteArgoCdDestinationClusterMapping: (organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25578
25588
|
/**
|
|
25579
25589
|
*
|
|
25580
25590
|
* @summary Get ArgoCD app by ID
|
|
@@ -25648,6 +25658,16 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
25648
25658
|
* @throws {RequiredError}
|
|
25649
25659
|
*/
|
|
25650
25660
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25661
|
+
/**
|
|
25662
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25663
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25664
|
+
* @param {string} organizationId Organization ID
|
|
25665
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25666
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25667
|
+
* @param {*} [options] Override http request option.
|
|
25668
|
+
* @throws {RequiredError}
|
|
25669
|
+
*/
|
|
25670
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25651
25671
|
/**
|
|
25652
25672
|
*
|
|
25653
25673
|
* @summary Get ArgoCD app by ID
|
|
@@ -25721,6 +25741,16 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
25721
25741
|
* @throws {RequiredError}
|
|
25722
25742
|
*/
|
|
25723
25743
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25744
|
+
/**
|
|
25745
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25746
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25747
|
+
* @param {string} organizationId Organization ID
|
|
25748
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25749
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25750
|
+
* @param {*} [options] Override http request option.
|
|
25751
|
+
* @throws {RequiredError}
|
|
25752
|
+
*/
|
|
25753
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25724
25754
|
/**
|
|
25725
25755
|
*
|
|
25726
25756
|
* @summary Get ArgoCD app by ID
|
|
@@ -25798,6 +25828,17 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
25798
25828
|
* @memberof ArgoCDApi
|
|
25799
25829
|
*/
|
|
25800
25830
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25831
|
+
/**
|
|
25832
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25833
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25834
|
+
* @param {string} organizationId Organization ID
|
|
25835
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25836
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25837
|
+
* @param {*} [options] Override http request option.
|
|
25838
|
+
* @throws {RequiredError}
|
|
25839
|
+
* @memberof ArgoCDApi
|
|
25840
|
+
*/
|
|
25841
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25801
25842
|
/**
|
|
25802
25843
|
*
|
|
25803
25844
|
* @summary Get ArgoCD app by ID
|
package/dist/api.js
CHANGED
|
@@ -6597,6 +6597,52 @@ const ArgoCDApiAxiosParamCreator = function (configuration) {
|
|
|
6597
6597
|
options: localVarRequestOptions,
|
|
6598
6598
|
};
|
|
6599
6599
|
}),
|
|
6600
|
+
/**
|
|
6601
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
6602
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
6603
|
+
* @param {string} organizationId Organization ID
|
|
6604
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
6605
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
6606
|
+
* @param {*} [options] Override http request option.
|
|
6607
|
+
* @throws {RequiredError}
|
|
6608
|
+
*/
|
|
6609
|
+
deleteArgoCdDestinationClusterMapping: (organizationId_1, agentClusterId_1, argocdClusterUrl_1, ...args_1) => __awaiter(this, [organizationId_1, agentClusterId_1, argocdClusterUrl_1, ...args_1], void 0, function* (organizationId, agentClusterId, argocdClusterUrl, options = {}) {
|
|
6610
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
6611
|
+
(0, common_1.assertParamExists)('deleteArgoCdDestinationClusterMapping', 'organizationId', organizationId);
|
|
6612
|
+
// verify required parameter 'agentClusterId' is not null or undefined
|
|
6613
|
+
(0, common_1.assertParamExists)('deleteArgoCdDestinationClusterMapping', 'agentClusterId', agentClusterId);
|
|
6614
|
+
// verify required parameter 'argocdClusterUrl' is not null or undefined
|
|
6615
|
+
(0, common_1.assertParamExists)('deleteArgoCdDestinationClusterMapping', 'argocdClusterUrl', argocdClusterUrl);
|
|
6616
|
+
const localVarPath = `/organization/{organizationId}/argoCdDestinationClusterMapping`
|
|
6617
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
6618
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6619
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6620
|
+
let baseOptions;
|
|
6621
|
+
if (configuration) {
|
|
6622
|
+
baseOptions = configuration.baseOptions;
|
|
6623
|
+
}
|
|
6624
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
6625
|
+
const localVarHeaderParameter = {};
|
|
6626
|
+
const localVarQueryParameter = {};
|
|
6627
|
+
// authentication ApiKeyAuth required
|
|
6628
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
6629
|
+
// authentication bearerAuth required
|
|
6630
|
+
// http bearer authentication required
|
|
6631
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6632
|
+
if (agentClusterId !== undefined) {
|
|
6633
|
+
localVarQueryParameter['agentClusterId'] = agentClusterId;
|
|
6634
|
+
}
|
|
6635
|
+
if (argocdClusterUrl !== undefined) {
|
|
6636
|
+
localVarQueryParameter['argocdClusterUrl'] = argocdClusterUrl;
|
|
6637
|
+
}
|
|
6638
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6640
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6641
|
+
return {
|
|
6642
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6643
|
+
options: localVarRequestOptions,
|
|
6644
|
+
};
|
|
6645
|
+
}),
|
|
6600
6646
|
/**
|
|
6601
6647
|
*
|
|
6602
6648
|
* @summary Get ArgoCD app by ID
|
|
@@ -6854,6 +6900,24 @@ const ArgoCDApiFp = function (configuration) {
|
|
|
6854
6900
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6855
6901
|
});
|
|
6856
6902
|
},
|
|
6903
|
+
/**
|
|
6904
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
6905
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
6906
|
+
* @param {string} organizationId Organization ID
|
|
6907
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
6908
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
6909
|
+
* @param {*} [options] Override http request option.
|
|
6910
|
+
* @throws {RequiredError}
|
|
6911
|
+
*/
|
|
6912
|
+
deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options) {
|
|
6913
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6914
|
+
var _a, _b, _c;
|
|
6915
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options);
|
|
6916
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6917
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ArgoCDApi.deleteArgoCdDestinationClusterMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6918
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6919
|
+
});
|
|
6920
|
+
},
|
|
6857
6921
|
/**
|
|
6858
6922
|
*
|
|
6859
6923
|
* @summary Get ArgoCD app by ID
|
|
@@ -6983,6 +7047,18 @@ const ArgoCDApiFactory = function (configuration, basePath, axios) {
|
|
|
6983
7047
|
deleteArgoCdCredentials(clusterId, options) {
|
|
6984
7048
|
return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
|
|
6985
7049
|
},
|
|
7050
|
+
/**
|
|
7051
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
7052
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
7053
|
+
* @param {string} organizationId Organization ID
|
|
7054
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
7055
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
7056
|
+
* @param {*} [options] Override http request option.
|
|
7057
|
+
* @throws {RequiredError}
|
|
7058
|
+
*/
|
|
7059
|
+
deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options) {
|
|
7060
|
+
return localVarFp.deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options).then((request) => request(axios, basePath));
|
|
7061
|
+
},
|
|
6986
7062
|
/**
|
|
6987
7063
|
*
|
|
6988
7064
|
* @summary Get ArgoCD app by ID
|
|
@@ -7078,6 +7154,19 @@ class ArgoCDApi extends base_1.BaseAPI {
|
|
|
7078
7154
|
deleteArgoCdCredentials(clusterId, options) {
|
|
7079
7155
|
return (0, exports.ArgoCDApiFp)(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
7080
7156
|
}
|
|
7157
|
+
/**
|
|
7158
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
7159
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
7160
|
+
* @param {string} organizationId Organization ID
|
|
7161
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
7162
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
7163
|
+
* @param {*} [options] Override http request option.
|
|
7164
|
+
* @throws {RequiredError}
|
|
7165
|
+
* @memberof ArgoCDApi
|
|
7166
|
+
*/
|
|
7167
|
+
deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options) {
|
|
7168
|
+
return (0, exports.ArgoCDApiFp)(this.configuration).deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options).then((request) => request(this.axios, this.basePath));
|
|
7169
|
+
}
|
|
7081
7170
|
/**
|
|
7082
7171
|
*
|
|
7083
7172
|
* @summary Get ArgoCD app by ID
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -25575,6 +25575,16 @@ export declare const ArgoCDApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
25575
25575
|
* @throws {RequiredError}
|
|
25576
25576
|
*/
|
|
25577
25577
|
deleteArgoCdCredentials: (clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25578
|
+
/**
|
|
25579
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25580
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25581
|
+
* @param {string} organizationId Organization ID
|
|
25582
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25583
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25584
|
+
* @param {*} [options] Override http request option.
|
|
25585
|
+
* @throws {RequiredError}
|
|
25586
|
+
*/
|
|
25587
|
+
deleteArgoCdDestinationClusterMapping: (organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
25578
25588
|
/**
|
|
25579
25589
|
*
|
|
25580
25590
|
* @summary Get ArgoCD app by ID
|
|
@@ -25648,6 +25658,16 @@ export declare const ArgoCDApiFp: (configuration?: Configuration) => {
|
|
|
25648
25658
|
* @throws {RequiredError}
|
|
25649
25659
|
*/
|
|
25650
25660
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25661
|
+
/**
|
|
25662
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25663
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25664
|
+
* @param {string} organizationId Organization ID
|
|
25665
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25666
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25667
|
+
* @param {*} [options] Override http request option.
|
|
25668
|
+
* @throws {RequiredError}
|
|
25669
|
+
*/
|
|
25670
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
25651
25671
|
/**
|
|
25652
25672
|
*
|
|
25653
25673
|
* @summary Get ArgoCD app by ID
|
|
@@ -25721,6 +25741,16 @@ export declare const ArgoCDApiFactory: (configuration?: Configuration, basePath?
|
|
|
25721
25741
|
* @throws {RequiredError}
|
|
25722
25742
|
*/
|
|
25723
25743
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25744
|
+
/**
|
|
25745
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25746
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25747
|
+
* @param {string} organizationId Organization ID
|
|
25748
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25749
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25750
|
+
* @param {*} [options] Override http request option.
|
|
25751
|
+
* @throws {RequiredError}
|
|
25752
|
+
*/
|
|
25753
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
25724
25754
|
/**
|
|
25725
25755
|
*
|
|
25726
25756
|
* @summary Get ArgoCD app by ID
|
|
@@ -25798,6 +25828,17 @@ export declare class ArgoCDApi extends BaseAPI {
|
|
|
25798
25828
|
* @memberof ArgoCDApi
|
|
25799
25829
|
*/
|
|
25800
25830
|
deleteArgoCdCredentials(clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25831
|
+
/**
|
|
25832
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
25833
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
25834
|
+
* @param {string} organizationId Organization ID
|
|
25835
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
25836
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
25837
|
+
* @param {*} [options] Override http request option.
|
|
25838
|
+
* @throws {RequiredError}
|
|
25839
|
+
* @memberof ArgoCDApi
|
|
25840
|
+
*/
|
|
25841
|
+
deleteArgoCdDestinationClusterMapping(organizationId: string, agentClusterId: string, argocdClusterUrl: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
25801
25842
|
/**
|
|
25802
25843
|
*
|
|
25803
25844
|
* @summary Get ArgoCD app by ID
|
package/dist/esm/api.js
CHANGED
|
@@ -6532,6 +6532,52 @@ export const ArgoCDApiAxiosParamCreator = function (configuration) {
|
|
|
6532
6532
|
options: localVarRequestOptions,
|
|
6533
6533
|
};
|
|
6534
6534
|
}),
|
|
6535
|
+
/**
|
|
6536
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
6537
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
6538
|
+
* @param {string} organizationId Organization ID
|
|
6539
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
6540
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
6541
|
+
* @param {*} [options] Override http request option.
|
|
6542
|
+
* @throws {RequiredError}
|
|
6543
|
+
*/
|
|
6544
|
+
deleteArgoCdDestinationClusterMapping: (organizationId_1, agentClusterId_1, argocdClusterUrl_1, ...args_1) => __awaiter(this, [organizationId_1, agentClusterId_1, argocdClusterUrl_1, ...args_1], void 0, function* (organizationId, agentClusterId, argocdClusterUrl, options = {}) {
|
|
6545
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
6546
|
+
assertParamExists('deleteArgoCdDestinationClusterMapping', 'organizationId', organizationId);
|
|
6547
|
+
// verify required parameter 'agentClusterId' is not null or undefined
|
|
6548
|
+
assertParamExists('deleteArgoCdDestinationClusterMapping', 'agentClusterId', agentClusterId);
|
|
6549
|
+
// verify required parameter 'argocdClusterUrl' is not null or undefined
|
|
6550
|
+
assertParamExists('deleteArgoCdDestinationClusterMapping', 'argocdClusterUrl', argocdClusterUrl);
|
|
6551
|
+
const localVarPath = `/organization/{organizationId}/argoCdDestinationClusterMapping`
|
|
6552
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
6553
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6554
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6555
|
+
let baseOptions;
|
|
6556
|
+
if (configuration) {
|
|
6557
|
+
baseOptions = configuration.baseOptions;
|
|
6558
|
+
}
|
|
6559
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
6560
|
+
const localVarHeaderParameter = {};
|
|
6561
|
+
const localVarQueryParameter = {};
|
|
6562
|
+
// authentication ApiKeyAuth required
|
|
6563
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6564
|
+
// authentication bearerAuth required
|
|
6565
|
+
// http bearer authentication required
|
|
6566
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6567
|
+
if (agentClusterId !== undefined) {
|
|
6568
|
+
localVarQueryParameter['agentClusterId'] = agentClusterId;
|
|
6569
|
+
}
|
|
6570
|
+
if (argocdClusterUrl !== undefined) {
|
|
6571
|
+
localVarQueryParameter['argocdClusterUrl'] = argocdClusterUrl;
|
|
6572
|
+
}
|
|
6573
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6574
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6575
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6576
|
+
return {
|
|
6577
|
+
url: toPathString(localVarUrlObj),
|
|
6578
|
+
options: localVarRequestOptions,
|
|
6579
|
+
};
|
|
6580
|
+
}),
|
|
6535
6581
|
/**
|
|
6536
6582
|
*
|
|
6537
6583
|
* @summary Get ArgoCD app by ID
|
|
@@ -6788,6 +6834,24 @@ export const ArgoCDApiFp = function (configuration) {
|
|
|
6788
6834
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6789
6835
|
});
|
|
6790
6836
|
},
|
|
6837
|
+
/**
|
|
6838
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
6839
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
6840
|
+
* @param {string} organizationId Organization ID
|
|
6841
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
6842
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
6843
|
+
* @param {*} [options] Override http request option.
|
|
6844
|
+
* @throws {RequiredError}
|
|
6845
|
+
*/
|
|
6846
|
+
deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options) {
|
|
6847
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6848
|
+
var _a, _b, _c;
|
|
6849
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options);
|
|
6850
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6851
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ArgoCDApi.deleteArgoCdDestinationClusterMapping']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6852
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6853
|
+
});
|
|
6854
|
+
},
|
|
6791
6855
|
/**
|
|
6792
6856
|
*
|
|
6793
6857
|
* @summary Get ArgoCD app by ID
|
|
@@ -6916,6 +6980,18 @@ export const ArgoCDApiFactory = function (configuration, basePath, axios) {
|
|
|
6916
6980
|
deleteArgoCdCredentials(clusterId, options) {
|
|
6917
6981
|
return localVarFp.deleteArgoCdCredentials(clusterId, options).then((request) => request(axios, basePath));
|
|
6918
6982
|
},
|
|
6983
|
+
/**
|
|
6984
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
6985
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
6986
|
+
* @param {string} organizationId Organization ID
|
|
6987
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
6988
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
6989
|
+
* @param {*} [options] Override http request option.
|
|
6990
|
+
* @throws {RequiredError}
|
|
6991
|
+
*/
|
|
6992
|
+
deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options) {
|
|
6993
|
+
return localVarFp.deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options).then((request) => request(axios, basePath));
|
|
6994
|
+
},
|
|
6919
6995
|
/**
|
|
6920
6996
|
*
|
|
6921
6997
|
* @summary Get ArgoCD app by ID
|
|
@@ -7010,6 +7086,19 @@ export class ArgoCDApi extends BaseAPI {
|
|
|
7010
7086
|
deleteArgoCdCredentials(clusterId, options) {
|
|
7011
7087
|
return ArgoCDApiFp(this.configuration).deleteArgoCdCredentials(clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
7012
7088
|
}
|
|
7089
|
+
/**
|
|
7090
|
+
* Remove the mapping between an ArgoCD destination cluster URL and a Qovery cluster. Requires ADMIN role on the agent cluster.
|
|
7091
|
+
* @summary Delete an ArgoCD destination cluster mapping
|
|
7092
|
+
* @param {string} organizationId Organization ID
|
|
7093
|
+
* @param {string} agentClusterId ID of the Qovery cluster where the ArgoCD instance is running
|
|
7094
|
+
* @param {string} argocdClusterUrl ArgoCD destination cluster URL as reported by ArgoCD
|
|
7095
|
+
* @param {*} [options] Override http request option.
|
|
7096
|
+
* @throws {RequiredError}
|
|
7097
|
+
* @memberof ArgoCDApi
|
|
7098
|
+
*/
|
|
7099
|
+
deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options) {
|
|
7100
|
+
return ArgoCDApiFp(this.configuration).deleteArgoCdDestinationClusterMapping(organizationId, agentClusterId, argocdClusterUrl, options).then((request) => request(this.axios, this.basePath));
|
|
7101
|
+
}
|
|
7013
7102
|
/**
|
|
7014
7103
|
*
|
|
7015
7104
|
* @summary Get ArgoCD app by ID
|