qovery-typescript-axios 1.1.926 → 1.1.927

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
@@ -68025,13 +68025,15 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
68025
68025
  };
68026
68026
  },
68027
68027
  /**
68028
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68028
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
68029
68029
  * @summary List platform templates
68030
68030
  * @param {string} organizationId Organization ID
68031
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
68032
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
68031
68033
  * @param {*} [options] Override http request option.
68032
68034
  * @throws {RequiredError}
68033
68035
  */
68034
- listPlatformTemplates: async (organizationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68036
+ listPlatformTemplates: async (organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
68035
68037
  // verify required parameter 'organizationId' is not null or undefined
68036
68038
  assertParamExists('listPlatformTemplates', 'organizationId', organizationId)
68037
68039
  const localVarPath = `/organization/{organizationId}/platformTemplate`
@@ -68054,6 +68056,14 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
68054
68056
  // http bearer authentication required
68055
68057
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
68056
68058
 
68059
+ if (clusterMode !== undefined) {
68060
+ localVarQueryParameter['clusterMode'] = clusterMode;
68061
+ }
68062
+
68063
+ if (cloudProvider !== undefined) {
68064
+ localVarQueryParameter['cloudProvider'] = cloudProvider;
68065
+ }
68066
+
68057
68067
 
68058
68068
 
68059
68069
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -68196,14 +68206,16 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
68196
68206
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68197
68207
  },
68198
68208
  /**
68199
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68209
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
68200
68210
  * @summary List platform templates
68201
68211
  * @param {string} organizationId Organization ID
68212
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
68213
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
68202
68214
  * @param {*} [options] Override http request option.
68203
68215
  * @throws {RequiredError}
68204
68216
  */
68205
- async listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>> {
68206
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPlatformTemplates(organizationId, options);
68217
+ async listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>> {
68218
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options);
68207
68219
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
68208
68220
  const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.listPlatformTemplates']?.[localVarOperationServerIndex]?.url;
68209
68221
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -68261,14 +68273,16 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
68261
68273
  return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
68262
68274
  },
68263
68275
  /**
68264
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68276
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
68265
68277
  * @summary List platform templates
68266
68278
  * @param {string} organizationId Organization ID
68279
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
68280
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
68267
68281
  * @param {*} [options] Override http request option.
68268
68282
  * @throws {RequiredError}
68269
68283
  */
68270
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse> {
68271
- return localVarFp.listPlatformTemplates(organizationId, options).then((request) => request(axios, basePath));
68284
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse> {
68285
+ return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
68272
68286
  },
68273
68287
  /**
68274
68288
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
@@ -68319,15 +68333,17 @@ export class PlatformConfigurationApi extends BaseAPI {
68319
68333
  }
68320
68334
 
68321
68335
  /**
68322
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
68336
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
68323
68337
  * @summary List platform templates
68324
68338
  * @param {string} organizationId Organization ID
68339
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
68340
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
68325
68341
  * @param {*} [options] Override http request option.
68326
68342
  * @throws {RequiredError}
68327
68343
  * @memberof PlatformConfigurationApi
68328
68344
  */
68329
- public listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig) {
68330
- return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, options).then((request) => request(this.axios, this.basePath));
68345
+ public listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig) {
68346
+ return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(this.axios, this.basePath));
68331
68347
  }
68332
68348
 
68333
68349
  /**
package/dist/api.d.ts CHANGED
@@ -44632,13 +44632,15 @@ export declare const PlatformConfigurationApiAxiosParamCreator: (configuration?:
44632
44632
  */
44633
44633
  getClusterPlatformBinding: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44634
44634
  /**
44635
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44635
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44636
44636
  * @summary List platform templates
44637
44637
  * @param {string} organizationId Organization ID
44638
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44639
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44638
44640
  * @param {*} [options] Override http request option.
44639
44641
  * @throws {RequiredError}
44640
44642
  */
44641
- listPlatformTemplates: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44643
+ listPlatformTemplates: (organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44642
44644
  /**
44643
44645
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44644
44646
  * @summary Resolve a platform component configuration
@@ -44676,13 +44678,15 @@ export declare const PlatformConfigurationApiFp: (configuration?: Configuration)
44676
44678
  */
44677
44679
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>>;
44678
44680
  /**
44679
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44681
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44680
44682
  * @summary List platform templates
44681
44683
  * @param {string} organizationId Organization ID
44684
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44685
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44682
44686
  * @param {*} [options] Override http request option.
44683
44687
  * @throws {RequiredError}
44684
44688
  */
44685
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>>;
44689
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>>;
44686
44690
  /**
44687
44691
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44688
44692
  * @summary Resolve a platform component configuration
@@ -44720,13 +44724,15 @@ export declare const PlatformConfigurationApiFactory: (configuration?: Configura
44720
44724
  */
44721
44725
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse>;
44722
44726
  /**
44723
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44727
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44724
44728
  * @summary List platform templates
44725
44729
  * @param {string} organizationId Organization ID
44730
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44731
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44726
44732
  * @param {*} [options] Override http request option.
44727
44733
  * @throws {RequiredError}
44728
44734
  */
44729
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse>;
44735
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse>;
44730
44736
  /**
44731
44737
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44732
44738
  * @summary Resolve a platform component configuration
@@ -44767,14 +44773,16 @@ export declare class PlatformConfigurationApi extends BaseAPI {
44767
44773
  */
44768
44774
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterPlatformBindingResponse, any, {}>>;
44769
44775
  /**
44770
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44776
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44771
44777
  * @summary List platform templates
44772
44778
  * @param {string} organizationId Organization ID
44779
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44780
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44773
44781
  * @param {*} [options] Override http request option.
44774
44782
  * @throws {RequiredError}
44775
44783
  * @memberof PlatformConfigurationApi
44776
44784
  */
44777
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformTemplateCatalogResponse, any, {}>>;
44785
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformTemplateCatalogResponse, any, {}>>;
44778
44786
  /**
44779
44787
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44780
44788
  * @summary Resolve a platform component configuration
package/dist/api.js CHANGED
@@ -40632,13 +40632,15 @@ const PlatformConfigurationApiAxiosParamCreator = function (configuration) {
40632
40632
  };
40633
40633
  }),
40634
40634
  /**
40635
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40635
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40636
40636
  * @summary List platform templates
40637
40637
  * @param {string} organizationId Organization ID
40638
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40639
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40638
40640
  * @param {*} [options] Override http request option.
40639
40641
  * @throws {RequiredError}
40640
40642
  */
40641
- listPlatformTemplates: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
40643
+ listPlatformTemplates: (organizationId_1, clusterMode_1, cloudProvider_1, ...args_1) => __awaiter(this, [organizationId_1, clusterMode_1, cloudProvider_1, ...args_1], void 0, function* (organizationId, clusterMode, cloudProvider, options = {}) {
40642
40644
  // verify required parameter 'organizationId' is not null or undefined
40643
40645
  (0, common_1.assertParamExists)('listPlatformTemplates', 'organizationId', organizationId);
40644
40646
  const localVarPath = `/organization/{organizationId}/platformTemplate`
@@ -40657,6 +40659,12 @@ const PlatformConfigurationApiAxiosParamCreator = function (configuration) {
40657
40659
  // authentication bearerAuth required
40658
40660
  // http bearer authentication required
40659
40661
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
40662
+ if (clusterMode !== undefined) {
40663
+ localVarQueryParameter['clusterMode'] = clusterMode;
40664
+ }
40665
+ if (cloudProvider !== undefined) {
40666
+ localVarQueryParameter['cloudProvider'] = cloudProvider;
40667
+ }
40660
40668
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
40661
40669
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40662
40670
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -40783,16 +40791,18 @@ const PlatformConfigurationApiFp = function (configuration) {
40783
40791
  });
40784
40792
  },
40785
40793
  /**
40786
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40794
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40787
40795
  * @summary List platform templates
40788
40796
  * @param {string} organizationId Organization ID
40797
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40798
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40789
40799
  * @param {*} [options] Override http request option.
40790
40800
  * @throws {RequiredError}
40791
40801
  */
40792
- listPlatformTemplates(organizationId, options) {
40802
+ listPlatformTemplates(organizationId, clusterMode, cloudProvider, options) {
40793
40803
  return __awaiter(this, void 0, void 0, function* () {
40794
40804
  var _a, _b, _c;
40795
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlatformTemplates(organizationId, options);
40805
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options);
40796
40806
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
40797
40807
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlatformConfigurationApi.listPlatformTemplates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
40798
40808
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -40857,14 +40867,16 @@ const PlatformConfigurationApiFactory = function (configuration, basePath, axios
40857
40867
  return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
40858
40868
  },
40859
40869
  /**
40860
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40870
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40861
40871
  * @summary List platform templates
40862
40872
  * @param {string} organizationId Organization ID
40873
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40874
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40863
40875
  * @param {*} [options] Override http request option.
40864
40876
  * @throws {RequiredError}
40865
40877
  */
40866
- listPlatformTemplates(organizationId, options) {
40867
- return localVarFp.listPlatformTemplates(organizationId, options).then((request) => request(axios, basePath));
40878
+ listPlatformTemplates(organizationId, clusterMode, cloudProvider, options) {
40879
+ return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
40868
40880
  },
40869
40881
  /**
40870
40882
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
@@ -40914,15 +40926,17 @@ class PlatformConfigurationApi extends base_1.BaseAPI {
40914
40926
  return (0, exports.PlatformConfigurationApiFp)(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
40915
40927
  }
40916
40928
  /**
40917
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40929
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40918
40930
  * @summary List platform templates
40919
40931
  * @param {string} organizationId Organization ID
40932
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40933
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40920
40934
  * @param {*} [options] Override http request option.
40921
40935
  * @throws {RequiredError}
40922
40936
  * @memberof PlatformConfigurationApi
40923
40937
  */
40924
- listPlatformTemplates(organizationId, options) {
40925
- return (0, exports.PlatformConfigurationApiFp)(this.configuration).listPlatformTemplates(organizationId, options).then((request) => request(this.axios, this.basePath));
40938
+ listPlatformTemplates(organizationId, clusterMode, cloudProvider, options) {
40939
+ return (0, exports.PlatformConfigurationApiFp)(this.configuration).listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(this.axios, this.basePath));
40926
40940
  }
40927
40941
  /**
40928
40942
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
package/dist/esm/api.d.ts CHANGED
@@ -44632,13 +44632,15 @@ export declare const PlatformConfigurationApiAxiosParamCreator: (configuration?:
44632
44632
  */
44633
44633
  getClusterPlatformBinding: (organizationId: string, clusterId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44634
44634
  /**
44635
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44635
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44636
44636
  * @summary List platform templates
44637
44637
  * @param {string} organizationId Organization ID
44638
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44639
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44638
44640
  * @param {*} [options] Override http request option.
44639
44641
  * @throws {RequiredError}
44640
44642
  */
44641
- listPlatformTemplates: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44643
+ listPlatformTemplates: (organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
44642
44644
  /**
44643
44645
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44644
44646
  * @summary Resolve a platform component configuration
@@ -44676,13 +44678,15 @@ export declare const PlatformConfigurationApiFp: (configuration?: Configuration)
44676
44678
  */
44677
44679
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>>;
44678
44680
  /**
44679
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44681
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44680
44682
  * @summary List platform templates
44681
44683
  * @param {string} organizationId Organization ID
44684
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44685
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44682
44686
  * @param {*} [options] Override http request option.
44683
44687
  * @throws {RequiredError}
44684
44688
  */
44685
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>>;
44689
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformTemplateCatalogResponse>>;
44686
44690
  /**
44687
44691
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44688
44692
  * @summary Resolve a platform component configuration
@@ -44720,13 +44724,15 @@ export declare const PlatformConfigurationApiFactory: (configuration?: Configura
44720
44724
  */
44721
44725
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse>;
44722
44726
  /**
44723
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44727
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44724
44728
  * @summary List platform templates
44725
44729
  * @param {string} organizationId Organization ID
44730
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44731
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44726
44732
  * @param {*} [options] Override http request option.
44727
44733
  * @throws {RequiredError}
44728
44734
  */
44729
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse>;
44735
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): AxiosPromise<PlatformTemplateCatalogResponse>;
44730
44736
  /**
44731
44737
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44732
44738
  * @summary Resolve a platform component configuration
@@ -44767,14 +44773,16 @@ export declare class PlatformConfigurationApi extends BaseAPI {
44767
44773
  */
44768
44774
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterPlatformBindingResponse, any, {}>>;
44769
44775
  /**
44770
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
44776
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
44771
44777
  * @summary List platform templates
44772
44778
  * @param {string} organizationId Organization ID
44779
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
44780
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
44773
44781
  * @param {*} [options] Override http request option.
44774
44782
  * @throws {RequiredError}
44775
44783
  * @memberof PlatformConfigurationApi
44776
44784
  */
44777
- listPlatformTemplates(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformTemplateCatalogResponse, any, {}>>;
44785
+ listPlatformTemplates(organizationId: string, clusterMode?: PlatformClusterMode, cloudProvider?: PlatformCloudVendor, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PlatformTemplateCatalogResponse, any, {}>>;
44778
44786
  /**
44779
44787
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
44780
44788
  * @summary Resolve a platform component configuration
package/dist/esm/api.js CHANGED
@@ -40298,13 +40298,15 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
40298
40298
  };
40299
40299
  }),
40300
40300
  /**
40301
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40301
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40302
40302
  * @summary List platform templates
40303
40303
  * @param {string} organizationId Organization ID
40304
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40305
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40304
40306
  * @param {*} [options] Override http request option.
40305
40307
  * @throws {RequiredError}
40306
40308
  */
40307
- listPlatformTemplates: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
40309
+ listPlatformTemplates: (organizationId_1, clusterMode_1, cloudProvider_1, ...args_1) => __awaiter(this, [organizationId_1, clusterMode_1, cloudProvider_1, ...args_1], void 0, function* (organizationId, clusterMode, cloudProvider, options = {}) {
40308
40310
  // verify required parameter 'organizationId' is not null or undefined
40309
40311
  assertParamExists('listPlatformTemplates', 'organizationId', organizationId);
40310
40312
  const localVarPath = `/organization/{organizationId}/platformTemplate`
@@ -40323,6 +40325,12 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
40323
40325
  // authentication bearerAuth required
40324
40326
  // http bearer authentication required
40325
40327
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
40328
+ if (clusterMode !== undefined) {
40329
+ localVarQueryParameter['clusterMode'] = clusterMode;
40330
+ }
40331
+ if (cloudProvider !== undefined) {
40332
+ localVarQueryParameter['cloudProvider'] = cloudProvider;
40333
+ }
40326
40334
  setSearchParams(localVarUrlObj, localVarQueryParameter);
40327
40335
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40328
40336
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -40448,16 +40456,18 @@ export const PlatformConfigurationApiFp = function (configuration) {
40448
40456
  });
40449
40457
  },
40450
40458
  /**
40451
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40459
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40452
40460
  * @summary List platform templates
40453
40461
  * @param {string} organizationId Organization ID
40462
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40463
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40454
40464
  * @param {*} [options] Override http request option.
40455
40465
  * @throws {RequiredError}
40456
40466
  */
40457
- listPlatformTemplates(organizationId, options) {
40467
+ listPlatformTemplates(organizationId, clusterMode, cloudProvider, options) {
40458
40468
  return __awaiter(this, void 0, void 0, function* () {
40459
40469
  var _a, _b, _c;
40460
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlatformTemplates(organizationId, options);
40470
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options);
40461
40471
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
40462
40472
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PlatformConfigurationApi.listPlatformTemplates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
40463
40473
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -40521,14 +40531,16 @@ export const PlatformConfigurationApiFactory = function (configuration, basePath
40521
40531
  return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
40522
40532
  },
40523
40533
  /**
40524
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40534
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40525
40535
  * @summary List platform templates
40526
40536
  * @param {string} organizationId Organization ID
40537
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40538
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40527
40539
  * @param {*} [options] Override http request option.
40528
40540
  * @throws {RequiredError}
40529
40541
  */
40530
- listPlatformTemplates(organizationId, options) {
40531
- return localVarFp.listPlatformTemplates(organizationId, options).then((request) => request(axios, basePath));
40542
+ listPlatformTemplates(organizationId, clusterMode, cloudProvider, options) {
40543
+ return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
40532
40544
  },
40533
40545
  /**
40534
40546
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
@@ -40577,15 +40589,17 @@ export class PlatformConfigurationApi extends BaseAPI {
40577
40589
  return PlatformConfigurationApiFp(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
40578
40590
  }
40579
40591
  /**
40580
- * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render.
40592
+ * Returns the published platform templates available to the organization. Each template contains its layers, components, and the configuration fields that the Console can render. When clusterMode and cloudProvider are supplied together, component field constraints are narrowed to the effective choices for that cluster context.
40581
40593
  * @summary List platform templates
40582
40594
  * @param {string} organizationId Organization ID
40595
+ * @param {PlatformClusterMode} [clusterMode] Cluster management mode. Must be supplied together with cloudProvider.
40596
+ * @param {PlatformCloudVendor} [cloudProvider] Cluster cloud provider. Must be supplied together with clusterMode.
40583
40597
  * @param {*} [options] Override http request option.
40584
40598
  * @throws {RequiredError}
40585
40599
  * @memberof PlatformConfigurationApi
40586
40600
  */
40587
- listPlatformTemplates(organizationId, options) {
40588
- return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, options).then((request) => request(this.axios, this.basePath));
40601
+ listPlatformTemplates(organizationId, clusterMode, cloudProvider, options) {
40602
+ return PlatformConfigurationApiFp(this.configuration).listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(this.axios, this.basePath));
40589
40603
  }
40590
40604
  /**
40591
40605
  * Resolves the fields and runtime requirements to display for a component using the cluster context and the values currently entered in the Console. This operation is read-only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.926",
3
+ "version": "v1.1.927",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {