qovery-typescript-axios 1.1.294 → 1.1.296

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 CHANGED
@@ -3418,7 +3418,8 @@ export const ContainerRegistryKindEnum = {
3418
3418
  GITLAB_CR: 'GITLAB_CR',
3419
3419
  PUBLIC_ECR: 'PUBLIC_ECR',
3420
3420
  DOCR: 'DOCR',
3421
- GENERIC_CR: 'GENERIC_CR'
3421
+ GENERIC_CR: 'GENERIC_CR',
3422
+ GCP_ARTIFACT_REGISTRY: 'GCP_ARTIFACT_REGISTRY'
3422
3423
  } as const;
3423
3424
 
3424
3425
  export type ContainerRegistryKindEnum = typeof ContainerRegistryKindEnum[keyof typeof ContainerRegistryKindEnum];
@@ -28072,6 +28073,51 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
28072
28073
 
28073
28074
 
28074
28075
 
28076
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28077
+
28078
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28079
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28080
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28081
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration)
28082
+
28083
+ return {
28084
+ url: toPathString(localVarUrlObj),
28085
+ options: localVarRequestOptions,
28086
+ };
28087
+ },
28088
+ /**
28089
+ * This will create a new helm with the same configuration on the targeted environment Id.
28090
+ * @summary Clone helm
28091
+ * @param {string} helmId Helm ID
28092
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28093
+ * @param {*} [options] Override http request option.
28094
+ * @throws {RequiredError}
28095
+ */
28096
+ cloneHelm: async (helmId: string, cloneServiceRequest?: CloneServiceRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28097
+ // verify required parameter 'helmId' is not null or undefined
28098
+ assertParamExists('cloneHelm', 'helmId', helmId)
28099
+ const localVarPath = `/helm/{helmId}/clone`
28100
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
28101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28103
+ let baseOptions;
28104
+ if (configuration) {
28105
+ baseOptions = configuration.baseOptions;
28106
+ }
28107
+
28108
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
28109
+ const localVarHeaderParameter = {} as any;
28110
+ const localVarQueryParameter = {} as any;
28111
+
28112
+ // authentication ApiKeyAuth required
28113
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
28114
+
28115
+ // authentication bearerAuth required
28116
+ // http bearer authentication required
28117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28118
+
28119
+
28120
+
28075
28121
  localVarHeaderParameter['Content-Type'] = 'application/json';
28076
28122
 
28077
28123
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -28454,6 +28500,18 @@ export const ContainersApiFp = function(configuration?: Configuration) {
28454
28500
  const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
28455
28501
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28456
28502
  },
28503
+ /**
28504
+ * This will create a new helm with the same configuration on the targeted environment Id.
28505
+ * @summary Clone helm
28506
+ * @param {string} helmId Helm ID
28507
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28508
+ * @param {*} [options] Override http request option.
28509
+ * @throws {RequiredError}
28510
+ */
28511
+ async cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>> {
28512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
28513
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28514
+ },
28457
28515
  /**
28458
28516
  *
28459
28517
  * @summary Create a container
@@ -28576,6 +28634,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
28576
28634
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
28577
28635
  return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
28578
28636
  },
28637
+ /**
28638
+ * This will create a new helm with the same configuration on the targeted environment Id.
28639
+ * @summary Clone helm
28640
+ * @param {string} helmId Helm ID
28641
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28642
+ * @param {*} [options] Override http request option.
28643
+ * @throws {RequiredError}
28644
+ */
28645
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse> {
28646
+ return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
28647
+ },
28579
28648
  /**
28580
28649
  *
28581
28650
  * @summary Create a container
@@ -28694,6 +28763,19 @@ export class ContainersApi extends BaseAPI {
28694
28763
  return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
28695
28764
  }
28696
28765
 
28766
+ /**
28767
+ * This will create a new helm with the same configuration on the targeted environment Id.
28768
+ * @summary Clone helm
28769
+ * @param {string} helmId Helm ID
28770
+ * @param {CloneServiceRequest} [cloneServiceRequest]
28771
+ * @param {*} [options] Override http request option.
28772
+ * @throws {RequiredError}
28773
+ * @memberof ContainersApi
28774
+ */
28775
+ public cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
28776
+ return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
28777
+ }
28778
+
28697
28779
  /**
28698
28780
  *
28699
28781
  * @summary Create a container
package/dist/api.d.ts CHANGED
@@ -3328,6 +3328,7 @@ export declare const ContainerRegistryKindEnum: {
3328
3328
  readonly PUBLIC_ECR: "PUBLIC_ECR";
3329
3329
  readonly DOCR: "DOCR";
3330
3330
  readonly GENERIC_CR: "GENERIC_CR";
3331
+ readonly GCP_ARTIFACT_REGISTRY: "GCP_ARTIFACT_REGISTRY";
3331
3332
  };
3332
3333
  export type ContainerRegistryKindEnum = typeof ContainerRegistryKindEnum[keyof typeof ContainerRegistryKindEnum];
3333
3334
  /**
@@ -20215,6 +20216,15 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
20215
20216
  * @throws {RequiredError}
20216
20217
  */
20217
20218
  cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20219
+ /**
20220
+ * This will create a new helm with the same configuration on the targeted environment Id.
20221
+ * @summary Clone helm
20222
+ * @param {string} helmId Helm ID
20223
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20224
+ * @param {*} [options] Override http request option.
20225
+ * @throws {RequiredError}
20226
+ */
20227
+ cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20218
20228
  /**
20219
20229
  *
20220
20230
  * @summary Create a container
@@ -20305,6 +20315,15 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
20305
20315
  * @throws {RequiredError}
20306
20316
  */
20307
20317
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
20318
+ /**
20319
+ * This will create a new helm with the same configuration on the targeted environment Id.
20320
+ * @summary Clone helm
20321
+ * @param {string} helmId Helm ID
20322
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20323
+ * @param {*} [options] Override http request option.
20324
+ * @throws {RequiredError}
20325
+ */
20326
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
20308
20327
  /**
20309
20328
  *
20310
20329
  * @summary Create a container
@@ -20395,6 +20414,15 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
20395
20414
  * @throws {RequiredError}
20396
20415
  */
20397
20416
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
20417
+ /**
20418
+ * This will create a new helm with the same configuration on the targeted environment Id.
20419
+ * @summary Clone helm
20420
+ * @param {string} helmId Helm ID
20421
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20422
+ * @param {*} [options] Override http request option.
20423
+ * @throws {RequiredError}
20424
+ */
20425
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
20398
20426
  /**
20399
20427
  *
20400
20428
  * @summary Create a container
@@ -20489,6 +20517,16 @@ export declare class ContainersApi extends BaseAPI {
20489
20517
  * @memberof ContainersApi
20490
20518
  */
20491
20519
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
20520
+ /**
20521
+ * This will create a new helm with the same configuration on the targeted environment Id.
20522
+ * @summary Clone helm
20523
+ * @param {string} helmId Helm ID
20524
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20525
+ * @param {*} [options] Override http request option.
20526
+ * @throws {RequiredError}
20527
+ * @memberof ContainersApi
20528
+ */
20529
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
20492
20530
  /**
20493
20531
  *
20494
20532
  * @summary Create a container
package/dist/api.js CHANGED
@@ -214,7 +214,8 @@ exports.ContainerRegistryKindEnum = {
214
214
  GITLAB_CR: 'GITLAB_CR',
215
215
  PUBLIC_ECR: 'PUBLIC_ECR',
216
216
  DOCR: 'DOCR',
217
- GENERIC_CR: 'GENERIC_CR'
217
+ GENERIC_CR: 'GENERIC_CR',
218
+ GCP_ARTIFACT_REGISTRY: 'GCP_ARTIFACT_REGISTRY'
218
219
  };
219
220
  /**
220
221
  *
@@ -13556,6 +13557,43 @@ const ContainersApiAxiosParamCreator = function (configuration) {
13556
13557
  options: localVarRequestOptions,
13557
13558
  };
13558
13559
  }),
13560
+ /**
13561
+ * This will create a new helm with the same configuration on the targeted environment Id.
13562
+ * @summary Clone helm
13563
+ * @param {string} helmId Helm ID
13564
+ * @param {CloneServiceRequest} [cloneServiceRequest]
13565
+ * @param {*} [options] Override http request option.
13566
+ * @throws {RequiredError}
13567
+ */
13568
+ cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
13569
+ // verify required parameter 'helmId' is not null or undefined
13570
+ (0, common_1.assertParamExists)('cloneHelm', 'helmId', helmId);
13571
+ const localVarPath = `/helm/{helmId}/clone`
13572
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
13573
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13574
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13575
+ let baseOptions;
13576
+ if (configuration) {
13577
+ baseOptions = configuration.baseOptions;
13578
+ }
13579
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13580
+ const localVarHeaderParameter = {};
13581
+ const localVarQueryParameter = {};
13582
+ // authentication ApiKeyAuth required
13583
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13584
+ // authentication bearerAuth required
13585
+ // http bearer authentication required
13586
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13587
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13588
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13589
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13590
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13591
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cloneServiceRequest, localVarRequestOptions, configuration);
13592
+ return {
13593
+ url: (0, common_1.toPathString)(localVarUrlObj),
13594
+ options: localVarRequestOptions,
13595
+ };
13596
+ }),
13559
13597
  /**
13560
13598
  *
13561
13599
  * @summary Create a container
@@ -13872,6 +13910,20 @@ const ContainersApiFp = function (configuration) {
13872
13910
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13873
13911
  });
13874
13912
  },
13913
+ /**
13914
+ * This will create a new helm with the same configuration on the targeted environment Id.
13915
+ * @summary Clone helm
13916
+ * @param {string} helmId Helm ID
13917
+ * @param {CloneServiceRequest} [cloneServiceRequest]
13918
+ * @param {*} [options] Override http request option.
13919
+ * @throws {RequiredError}
13920
+ */
13921
+ cloneHelm(helmId, cloneServiceRequest, options) {
13922
+ return __awaiter(this, void 0, void 0, function* () {
13923
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
13924
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13925
+ });
13926
+ },
13875
13927
  /**
13876
13928
  *
13877
13929
  * @summary Create a container
@@ -14010,6 +14062,17 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
14010
14062
  cloneContainer(containerId, cloneServiceRequest, options) {
14011
14063
  return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
14012
14064
  },
14065
+ /**
14066
+ * This will create a new helm with the same configuration on the targeted environment Id.
14067
+ * @summary Clone helm
14068
+ * @param {string} helmId Helm ID
14069
+ * @param {CloneServiceRequest} [cloneServiceRequest]
14070
+ * @param {*} [options] Override http request option.
14071
+ * @throws {RequiredError}
14072
+ */
14073
+ cloneHelm(helmId, cloneServiceRequest, options) {
14074
+ return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
14075
+ },
14013
14076
  /**
14014
14077
  *
14015
14078
  * @summary Create a container
@@ -14126,6 +14189,18 @@ class ContainersApi extends base_1.BaseAPI {
14126
14189
  cloneContainer(containerId, cloneServiceRequest, options) {
14127
14190
  return (0, exports.ContainersApiFp)(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
14128
14191
  }
14192
+ /**
14193
+ * This will create a new helm with the same configuration on the targeted environment Id.
14194
+ * @summary Clone helm
14195
+ * @param {string} helmId Helm ID
14196
+ * @param {CloneServiceRequest} [cloneServiceRequest]
14197
+ * @param {*} [options] Override http request option.
14198
+ * @throws {RequiredError}
14199
+ * @memberof ContainersApi
14200
+ */
14201
+ cloneHelm(helmId, cloneServiceRequest, options) {
14202
+ return (0, exports.ContainersApiFp)(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
14203
+ }
14129
14204
  /**
14130
14205
  *
14131
14206
  * @summary Create a container
package/dist/esm/api.d.ts CHANGED
@@ -3328,6 +3328,7 @@ export declare const ContainerRegistryKindEnum: {
3328
3328
  readonly PUBLIC_ECR: "PUBLIC_ECR";
3329
3329
  readonly DOCR: "DOCR";
3330
3330
  readonly GENERIC_CR: "GENERIC_CR";
3331
+ readonly GCP_ARTIFACT_REGISTRY: "GCP_ARTIFACT_REGISTRY";
3331
3332
  };
3332
3333
  export type ContainerRegistryKindEnum = typeof ContainerRegistryKindEnum[keyof typeof ContainerRegistryKindEnum];
3333
3334
  /**
@@ -20215,6 +20216,15 @@ export declare const ContainersApiAxiosParamCreator: (configuration?: Configurat
20215
20216
  * @throws {RequiredError}
20216
20217
  */
20217
20218
  cloneContainer: (containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20219
+ /**
20220
+ * This will create a new helm with the same configuration on the targeted environment Id.
20221
+ * @summary Clone helm
20222
+ * @param {string} helmId Helm ID
20223
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20224
+ * @param {*} [options] Override http request option.
20225
+ * @throws {RequiredError}
20226
+ */
20227
+ cloneHelm: (helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20218
20228
  /**
20219
20229
  *
20220
20230
  * @summary Create a container
@@ -20305,6 +20315,15 @@ export declare const ContainersApiFp: (configuration?: Configuration) => {
20305
20315
  * @throws {RequiredError}
20306
20316
  */
20307
20317
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>>;
20318
+ /**
20319
+ * This will create a new helm with the same configuration on the targeted environment Id.
20320
+ * @summary Clone helm
20321
+ * @param {string} helmId Helm ID
20322
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20323
+ * @param {*} [options] Override http request option.
20324
+ * @throws {RequiredError}
20325
+ */
20326
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmResponse>>;
20308
20327
  /**
20309
20328
  *
20310
20329
  * @summary Create a container
@@ -20395,6 +20414,15 @@ export declare const ContainersApiFactory: (configuration?: Configuration, baseP
20395
20414
  * @throws {RequiredError}
20396
20415
  */
20397
20416
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse>;
20417
+ /**
20418
+ * This will create a new helm with the same configuration on the targeted environment Id.
20419
+ * @summary Clone helm
20420
+ * @param {string} helmId Helm ID
20421
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20422
+ * @param {*} [options] Override http request option.
20423
+ * @throws {RequiredError}
20424
+ */
20425
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<HelmResponse>;
20398
20426
  /**
20399
20427
  *
20400
20428
  * @summary Create a container
@@ -20489,6 +20517,16 @@ export declare class ContainersApi extends BaseAPI {
20489
20517
  * @memberof ContainersApi
20490
20518
  */
20491
20519
  cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContainerResponse, any>>;
20520
+ /**
20521
+ * This will create a new helm with the same configuration on the targeted environment Id.
20522
+ * @summary Clone helm
20523
+ * @param {string} helmId Helm ID
20524
+ * @param {CloneServiceRequest} [cloneServiceRequest]
20525
+ * @param {*} [options] Override http request option.
20526
+ * @throws {RequiredError}
20527
+ * @memberof ContainersApi
20528
+ */
20529
+ cloneHelm(helmId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HelmResponse, any>>;
20492
20530
  /**
20493
20531
  *
20494
20532
  * @summary Create a container
package/dist/esm/api.js CHANGED
@@ -204,7 +204,8 @@ export const ContainerRegistryKindEnum = {
204
204
  GITLAB_CR: 'GITLAB_CR',
205
205
  PUBLIC_ECR: 'PUBLIC_ECR',
206
206
  DOCR: 'DOCR',
207
- GENERIC_CR: 'GENERIC_CR'
207
+ GENERIC_CR: 'GENERIC_CR',
208
+ GCP_ARTIFACT_REGISTRY: 'GCP_ARTIFACT_REGISTRY'
208
209
  };
209
210
  /**
210
211
  *
@@ -13442,6 +13443,43 @@ export const ContainersApiAxiosParamCreator = function (configuration) {
13442
13443
  options: localVarRequestOptions,
13443
13444
  };
13444
13445
  }),
13446
+ /**
13447
+ * This will create a new helm with the same configuration on the targeted environment Id.
13448
+ * @summary Clone helm
13449
+ * @param {string} helmId Helm ID
13450
+ * @param {CloneServiceRequest} [cloneServiceRequest]
13451
+ * @param {*} [options] Override http request option.
13452
+ * @throws {RequiredError}
13453
+ */
13454
+ cloneHelm: (helmId, cloneServiceRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
13455
+ // verify required parameter 'helmId' is not null or undefined
13456
+ assertParamExists('cloneHelm', 'helmId', helmId);
13457
+ const localVarPath = `/helm/{helmId}/clone`
13458
+ .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
13459
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13460
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13461
+ let baseOptions;
13462
+ if (configuration) {
13463
+ baseOptions = configuration.baseOptions;
13464
+ }
13465
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13466
+ const localVarHeaderParameter = {};
13467
+ const localVarQueryParameter = {};
13468
+ // authentication ApiKeyAuth required
13469
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
13470
+ // authentication bearerAuth required
13471
+ // http bearer authentication required
13472
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13473
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13474
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13475
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13476
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13477
+ localVarRequestOptions.data = serializeDataIfNeeded(cloneServiceRequest, localVarRequestOptions, configuration);
13478
+ return {
13479
+ url: toPathString(localVarUrlObj),
13480
+ options: localVarRequestOptions,
13481
+ };
13482
+ }),
13445
13483
  /**
13446
13484
  *
13447
13485
  * @summary Create a container
@@ -13757,6 +13795,20 @@ export const ContainersApiFp = function (configuration) {
13757
13795
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13758
13796
  });
13759
13797
  },
13798
+ /**
13799
+ * This will create a new helm with the same configuration on the targeted environment Id.
13800
+ * @summary Clone helm
13801
+ * @param {string} helmId Helm ID
13802
+ * @param {CloneServiceRequest} [cloneServiceRequest]
13803
+ * @param {*} [options] Override http request option.
13804
+ * @throws {RequiredError}
13805
+ */
13806
+ cloneHelm(helmId, cloneServiceRequest, options) {
13807
+ return __awaiter(this, void 0, void 0, function* () {
13808
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cloneHelm(helmId, cloneServiceRequest, options);
13809
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
13810
+ });
13811
+ },
13760
13812
  /**
13761
13813
  *
13762
13814
  * @summary Create a container
@@ -13894,6 +13946,17 @@ export const ContainersApiFactory = function (configuration, basePath, axios) {
13894
13946
  cloneContainer(containerId, cloneServiceRequest, options) {
13895
13947
  return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
13896
13948
  },
13949
+ /**
13950
+ * This will create a new helm with the same configuration on the targeted environment Id.
13951
+ * @summary Clone helm
13952
+ * @param {string} helmId Helm ID
13953
+ * @param {CloneServiceRequest} [cloneServiceRequest]
13954
+ * @param {*} [options] Override http request option.
13955
+ * @throws {RequiredError}
13956
+ */
13957
+ cloneHelm(helmId, cloneServiceRequest, options) {
13958
+ return localVarFp.cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(axios, basePath));
13959
+ },
13897
13960
  /**
13898
13961
  *
13899
13962
  * @summary Create a container
@@ -14009,6 +14072,18 @@ export class ContainersApi extends BaseAPI {
14009
14072
  cloneContainer(containerId, cloneServiceRequest, options) {
14010
14073
  return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
14011
14074
  }
14075
+ /**
14076
+ * This will create a new helm with the same configuration on the targeted environment Id.
14077
+ * @summary Clone helm
14078
+ * @param {string} helmId Helm ID
14079
+ * @param {CloneServiceRequest} [cloneServiceRequest]
14080
+ * @param {*} [options] Override http request option.
14081
+ * @throws {RequiredError}
14082
+ * @memberof ContainersApi
14083
+ */
14084
+ cloneHelm(helmId, cloneServiceRequest, options) {
14085
+ return ContainersApiFp(this.configuration).cloneHelm(helmId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
14086
+ }
14012
14087
  /**
14013
14088
  *
14014
14089
  * @summary Create a container
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.294",
3
+ "version": "v1.1.296",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {