qovery-typescript-axios 1.1.989 → 1.1.990

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
@@ -8950,6 +8950,62 @@ export interface ClusterPlatformBindingResponse {
8950
8950
  */
8951
8951
  'layers': Array<ClusterPlatformBindingLayerResponse>;
8952
8952
  }
8953
+ /**
8954
+ * Complete platform configuration of a cluster. It replaces the stored one; omitted layerSelections and managedConfig are stored empty.
8955
+ * @export
8956
+ * @interface ClusterPlatformConfigurationRequest
8957
+ */
8958
+ export interface ClusterPlatformConfigurationRequest {
8959
+ /**
8960
+ *
8961
+ * @type {PlatformSelection}
8962
+ * @memberof ClusterPlatformConfigurationRequest
8963
+ */
8964
+ 'platform': PlatformSelection;
8965
+ /**
8966
+ * String values keyed first by component key and then by input key
8967
+ * @type {{ [key: string]: { [key: string]: string; }; }}
8968
+ * @memberof ClusterPlatformConfigurationRequest
8969
+ */
8970
+ 'clusterInputs': { [key: string]: { [key: string]: string; }; };
8971
+ }
8972
+ /**
8973
+ *
8974
+ * @export
8975
+ * @interface ClusterPlatformConfigurationResponse
8976
+ */
8977
+ export interface ClusterPlatformConfigurationResponse {
8978
+ /**
8979
+ *
8980
+ * @type {string}
8981
+ * @memberof ClusterPlatformConfigurationResponse
8982
+ */
8983
+ 'clusterId': string;
8984
+ /**
8985
+ *
8986
+ * @type {string}
8987
+ * @memberof ClusterPlatformConfigurationResponse
8988
+ */
8989
+ 'organizationId': string;
8990
+ /**
8991
+ *
8992
+ * @type {PlatformSelection}
8993
+ * @memberof ClusterPlatformConfigurationResponse
8994
+ */
8995
+ 'platform': PlatformSelection;
8996
+ /**
8997
+ * String values keyed first by component key and then by input key
8998
+ * @type {{ [key: string]: { [key: string]: string; }; }}
8999
+ * @memberof ClusterPlatformConfigurationResponse
9000
+ */
9001
+ 'clusterInputs': { [key: string]: { [key: string]: string; }; };
9002
+ /**
9003
+ *
9004
+ * @type {Array<ClusterPlatformBindingLayerResponse>}
9005
+ * @memberof ClusterPlatformConfigurationResponse
9006
+ */
9007
+ 'layers': Array<ClusterPlatformBindingLayerResponse>;
9008
+ }
8953
9009
  /**
8954
9010
  *
8955
9011
  * @export
@@ -73759,11 +73815,12 @@ export class OrganizationWebhookApi extends BaseAPI {
73759
73815
  export const PlatformConfigurationApiAxiosParamCreator = function (configuration?: Configuration) {
73760
73816
  return {
73761
73817
  /**
73762
- * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
73818
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
73763
73819
  * @summary Get the cluster platform binding
73764
73820
  * @param {string} organizationId Organization ID
73765
73821
  * @param {string} clusterId Cluster ID
73766
73822
  * @param {*} [options] Override http request option.
73823
+ * @deprecated
73767
73824
  * @throws {RequiredError}
73768
73825
  */
73769
73826
  getClusterPlatformBinding: async (organizationId: string, clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -73794,6 +73851,47 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
73794
73851
 
73795
73852
 
73796
73853
 
73854
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
73855
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
73856
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
73857
+
73858
+ return {
73859
+ url: toPathString(localVarUrlObj),
73860
+ options: localVarRequestOptions,
73861
+ };
73862
+ },
73863
+ /**
73864
+ * Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
73865
+ * @summary Get the cluster platform configuration
73866
+ * @param {string} clusterId Cluster ID
73867
+ * @param {*} [options] Override http request option.
73868
+ * @throws {RequiredError}
73869
+ */
73870
+ getClusterPlatformConfiguration: async (clusterId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
73871
+ // verify required parameter 'clusterId' is not null or undefined
73872
+ assertParamExists('getClusterPlatformConfiguration', 'clusterId', clusterId)
73873
+ const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration`
73874
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
73875
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
73876
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
73877
+ let baseOptions;
73878
+ if (configuration) {
73879
+ baseOptions = configuration.baseOptions;
73880
+ }
73881
+
73882
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
73883
+ const localVarHeaderParameter = {} as any;
73884
+ const localVarQueryParameter = {} as any;
73885
+
73886
+ // authentication ApiKeyAuth required
73887
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
73888
+
73889
+ // authentication bearerAuth required
73890
+ // http bearer authentication required
73891
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73892
+
73893
+
73894
+
73797
73895
  setSearchParams(localVarUrlObj, localVarQueryParameter);
73798
73896
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
73799
73897
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -73855,13 +73953,65 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
73855
73953
  };
73856
73954
  },
73857
73955
  /**
73858
- * 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.
73956
+ * Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
73957
+ * @summary Resolve a platform component configuration of the cluster
73958
+ * @param {string} clusterId Cluster ID
73959
+ * @param {string} componentKey Platform component key
73960
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
73961
+ * @param {*} [options] Override http request option.
73962
+ * @throws {RequiredError}
73963
+ */
73964
+ resolveClusterPlatformComponentConfiguration: async (clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
73965
+ // verify required parameter 'clusterId' is not null or undefined
73966
+ assertParamExists('resolveClusterPlatformComponentConfiguration', 'clusterId', clusterId)
73967
+ // verify required parameter 'componentKey' is not null or undefined
73968
+ assertParamExists('resolveClusterPlatformComponentConfiguration', 'componentKey', componentKey)
73969
+ // verify required parameter 'platformComponentConfigurationPreviewRequest' is not null or undefined
73970
+ assertParamExists('resolveClusterPlatformComponentConfiguration', 'platformComponentConfigurationPreviewRequest', platformComponentConfigurationPreviewRequest)
73971
+ const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration/component/{componentKey}/resolve`
73972
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
73973
+ .replace(`{${"componentKey"}}`, encodeURIComponent(String(componentKey)));
73974
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
73975
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
73976
+ let baseOptions;
73977
+ if (configuration) {
73978
+ baseOptions = configuration.baseOptions;
73979
+ }
73980
+
73981
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
73982
+ const localVarHeaderParameter = {} as any;
73983
+ const localVarQueryParameter = {} as any;
73984
+
73985
+ // authentication ApiKeyAuth required
73986
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
73987
+
73988
+ // authentication bearerAuth required
73989
+ // http bearer authentication required
73990
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73991
+
73992
+
73993
+
73994
+ localVarHeaderParameter['Content-Type'] = 'application/json';
73995
+
73996
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
73997
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
73998
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
73999
+ localVarRequestOptions.data = serializeDataIfNeeded(platformComponentConfigurationPreviewRequest, localVarRequestOptions, configuration)
74000
+
74001
+ return {
74002
+ url: toPathString(localVarUrlObj),
74003
+ options: localVarRequestOptions,
74004
+ };
74005
+ },
74006
+ /**
74007
+ * 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. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
73859
74008
  * @summary Resolve a platform component configuration
73860
74009
  * @param {string} organizationId Organization ID
73861
74010
  * @param {string} clusterId Cluster ID
73862
74011
  * @param {string} componentKey Platform component key
73863
74012
  * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
73864
74013
  * @param {*} [options] Override http request option.
74014
+ * @deprecated
73865
74015
  * @throws {RequiredError}
73866
74016
  */
73867
74017
  resolvePlatformComponentConfiguration: async (organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -73983,12 +74133,13 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
73983
74133
  };
73984
74134
  },
73985
74135
  /**
73986
- * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
74136
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
73987
74137
  * @summary Update the cluster platform binding
73988
74138
  * @param {string} organizationId Organization ID
73989
74139
  * @param {string} clusterId Cluster ID
73990
74140
  * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
73991
74141
  * @param {*} [options] Override http request option.
74142
+ * @deprecated
73992
74143
  * @throws {RequiredError}
73993
74144
  */
73994
74145
  updateClusterPlatformBinding: async (organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -74028,6 +74179,53 @@ export const PlatformConfigurationApiAxiosParamCreator = function (configuration
74028
74179
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
74029
74180
  localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformBindingRequest, localVarRequestOptions, configuration)
74030
74181
 
74182
+ return {
74183
+ url: toPathString(localVarUrlObj),
74184
+ options: localVarRequestOptions,
74185
+ };
74186
+ },
74187
+ /**
74188
+ * Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
74189
+ * @summary Update the cluster platform configuration
74190
+ * @param {string} clusterId Cluster ID
74191
+ * @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
74192
+ * @param {*} [options] Override http request option.
74193
+ * @throws {RequiredError}
74194
+ */
74195
+ updateClusterPlatformConfiguration: async (clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
74196
+ // verify required parameter 'clusterId' is not null or undefined
74197
+ assertParamExists('updateClusterPlatformConfiguration', 'clusterId', clusterId)
74198
+ // verify required parameter 'clusterPlatformConfigurationRequest' is not null or undefined
74199
+ assertParamExists('updateClusterPlatformConfiguration', 'clusterPlatformConfigurationRequest', clusterPlatformConfigurationRequest)
74200
+ const localVarPath = `/v1/cluster/{clusterId}/platformConfiguration`
74201
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
74202
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
74203
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
74204
+ let baseOptions;
74205
+ if (configuration) {
74206
+ baseOptions = configuration.baseOptions;
74207
+ }
74208
+
74209
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
74210
+ const localVarHeaderParameter = {} as any;
74211
+ const localVarQueryParameter = {} as any;
74212
+
74213
+ // authentication ApiKeyAuth required
74214
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
74215
+
74216
+ // authentication bearerAuth required
74217
+ // http bearer authentication required
74218
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
74219
+
74220
+
74221
+
74222
+ localVarHeaderParameter['Content-Type'] = 'application/json';
74223
+
74224
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
74225
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
74226
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
74227
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterPlatformConfigurationRequest, localVarRequestOptions, configuration)
74228
+
74031
74229
  return {
74032
74230
  url: toPathString(localVarUrlObj),
74033
74231
  options: localVarRequestOptions,
@@ -74044,11 +74242,12 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
74044
74242
  const localVarAxiosParamCreator = PlatformConfigurationApiAxiosParamCreator(configuration)
74045
74243
  return {
74046
74244
  /**
74047
- * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
74245
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
74048
74246
  * @summary Get the cluster platform binding
74049
74247
  * @param {string} organizationId Organization ID
74050
74248
  * @param {string} clusterId Cluster ID
74051
74249
  * @param {*} [options] Override http request option.
74250
+ * @deprecated
74052
74251
  * @throws {RequiredError}
74053
74252
  */
74054
74253
  async getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
@@ -74057,6 +74256,19 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
74057
74256
  const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
74058
74257
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74059
74258
  },
74259
+ /**
74260
+ * Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
74261
+ * @summary Get the cluster platform configuration
74262
+ * @param {string} clusterId Cluster ID
74263
+ * @param {*} [options] Override http request option.
74264
+ * @throws {RequiredError}
74265
+ */
74266
+ async getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformConfigurationResponse>> {
74267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterPlatformConfiguration(clusterId, options);
74268
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
74269
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.getClusterPlatformConfiguration']?.[localVarOperationServerIndex]?.url;
74270
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74271
+ },
74060
74272
  /**
74061
74273
  * 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.
74062
74274
  * @summary List platform templates
@@ -74073,13 +74285,29 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
74073
74285
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74074
74286
  },
74075
74287
  /**
74076
- * 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.
74288
+ * Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
74289
+ * @summary Resolve a platform component configuration of the cluster
74290
+ * @param {string} clusterId Cluster ID
74291
+ * @param {string} componentKey Platform component key
74292
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
74293
+ * @param {*} [options] Override http request option.
74294
+ * @throws {RequiredError}
74295
+ */
74296
+ async resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
74297
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options);
74298
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
74299
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.resolveClusterPlatformComponentConfiguration']?.[localVarOperationServerIndex]?.url;
74300
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74301
+ },
74302
+ /**
74303
+ * 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. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
74077
74304
  * @summary Resolve a platform component configuration
74078
74305
  * @param {string} organizationId Organization ID
74079
74306
  * @param {string} clusterId Cluster ID
74080
74307
  * @param {string} componentKey Platform component key
74081
74308
  * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
74082
74309
  * @param {*} [options] Override http request option.
74310
+ * @deprecated
74083
74311
  * @throws {RequiredError}
74084
74312
  */
74085
74313
  async resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlatformComponentConfigurationPreviewResponse>> {
@@ -74108,12 +74336,13 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
74108
74336
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74109
74337
  },
74110
74338
  /**
74111
- * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
74339
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
74112
74340
  * @summary Update the cluster platform binding
74113
74341
  * @param {string} organizationId Organization ID
74114
74342
  * @param {string} clusterId Cluster ID
74115
74343
  * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
74116
74344
  * @param {*} [options] Override http request option.
74345
+ * @deprecated
74117
74346
  * @throws {RequiredError}
74118
74347
  */
74119
74348
  async updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformBindingResponse>> {
@@ -74122,6 +74351,20 @@ export const PlatformConfigurationApiFp = function(configuration?: Configuration
74122
74351
  const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformBinding']?.[localVarOperationServerIndex]?.url;
74123
74352
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74124
74353
  },
74354
+ /**
74355
+ * Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
74356
+ * @summary Update the cluster platform configuration
74357
+ * @param {string} clusterId Cluster ID
74358
+ * @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
74359
+ * @param {*} [options] Override http request option.
74360
+ * @throws {RequiredError}
74361
+ */
74362
+ async updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterPlatformConfigurationResponse>> {
74363
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options);
74364
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
74365
+ const localVarOperationServerBasePath = operationServerMap['PlatformConfigurationApi.updateClusterPlatformConfiguration']?.[localVarOperationServerIndex]?.url;
74366
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74367
+ },
74125
74368
  }
74126
74369
  };
74127
74370
 
@@ -74133,16 +74376,27 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
74133
74376
  const localVarFp = PlatformConfigurationApiFp(configuration)
74134
74377
  return {
74135
74378
  /**
74136
- * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
74379
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
74137
74380
  * @summary Get the cluster platform binding
74138
74381
  * @param {string} organizationId Organization ID
74139
74382
  * @param {string} clusterId Cluster ID
74140
74383
  * @param {*} [options] Override http request option.
74384
+ * @deprecated
74141
74385
  * @throws {RequiredError}
74142
74386
  */
74143
74387
  getClusterPlatformBinding(organizationId: string, clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
74144
74388
  return localVarFp.getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(axios, basePath));
74145
74389
  },
74390
+ /**
74391
+ * Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
74392
+ * @summary Get the cluster platform configuration
74393
+ * @param {string} clusterId Cluster ID
74394
+ * @param {*} [options] Override http request option.
74395
+ * @throws {RequiredError}
74396
+ */
74397
+ getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformConfigurationResponse> {
74398
+ return localVarFp.getClusterPlatformConfiguration(clusterId, options).then((request) => request(axios, basePath));
74399
+ },
74146
74400
  /**
74147
74401
  * 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.
74148
74402
  * @summary List platform templates
@@ -74156,13 +74410,26 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
74156
74410
  return localVarFp.listPlatformTemplates(organizationId, clusterMode, cloudProvider, options).then((request) => request(axios, basePath));
74157
74411
  },
74158
74412
  /**
74159
- * 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.
74413
+ * Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
74414
+ * @summary Resolve a platform component configuration of the cluster
74415
+ * @param {string} clusterId Cluster ID
74416
+ * @param {string} componentKey Platform component key
74417
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
74418
+ * @param {*} [options] Override http request option.
74419
+ * @throws {RequiredError}
74420
+ */
74421
+ resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
74422
+ return localVarFp.resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
74423
+ },
74424
+ /**
74425
+ * 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. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
74160
74426
  * @summary Resolve a platform component configuration
74161
74427
  * @param {string} organizationId Organization ID
74162
74428
  * @param {string} clusterId Cluster ID
74163
74429
  * @param {string} componentKey Platform component key
74164
74430
  * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
74165
74431
  * @param {*} [options] Override http request option.
74432
+ * @deprecated
74166
74433
  * @throws {RequiredError}
74167
74434
  */
74168
74435
  resolvePlatformComponentConfiguration(organizationId: string, clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<PlatformComponentConfigurationPreviewResponse> {
@@ -74185,17 +74452,29 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
74185
74452
  return localVarFp.resolvePlatformTemplateComponentConfiguration(organizationId, templateKey, templateVersion, componentKey, clusterMode, cloudProvider, platformComponentConfigurationPreviewRequest, options).then((request) => request(axios, basePath));
74186
74453
  },
74187
74454
  /**
74188
- * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
74455
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
74189
74456
  * @summary Update the cluster platform binding
74190
74457
  * @param {string} organizationId Organization ID
74191
74458
  * @param {string} clusterId Cluster ID
74192
74459
  * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
74193
74460
  * @param {*} [options] Override http request option.
74461
+ * @deprecated
74194
74462
  * @throws {RequiredError}
74195
74463
  */
74196
74464
  updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformBindingResponse> {
74197
74465
  return localVarFp.updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(axios, basePath));
74198
74466
  },
74467
+ /**
74468
+ * Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
74469
+ * @summary Update the cluster platform configuration
74470
+ * @param {string} clusterId Cluster ID
74471
+ * @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
74472
+ * @param {*} [options] Override http request option.
74473
+ * @throws {RequiredError}
74474
+ */
74475
+ updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterPlatformConfigurationResponse> {
74476
+ return localVarFp.updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options).then((request) => request(axios, basePath));
74477
+ },
74199
74478
  };
74200
74479
  };
74201
74480
 
@@ -74207,11 +74486,12 @@ export const PlatformConfigurationApiFactory = function (configuration?: Configu
74207
74486
  */
74208
74487
  export class PlatformConfigurationApi extends BaseAPI {
74209
74488
  /**
74210
- * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration.
74489
+ * Returns the platform template selected for the cluster, its layer resolution, and the currently stored component configuration. Deprecated: use getClusterPlatformConfiguration instead.
74211
74490
  * @summary Get the cluster platform binding
74212
74491
  * @param {string} organizationId Organization ID
74213
74492
  * @param {string} clusterId Cluster ID
74214
74493
  * @param {*} [options] Override http request option.
74494
+ * @deprecated
74215
74495
  * @throws {RequiredError}
74216
74496
  * @memberof PlatformConfigurationApi
74217
74497
  */
@@ -74219,6 +74499,18 @@ export class PlatformConfigurationApi extends BaseAPI {
74219
74499
  return PlatformConfigurationApiFp(this.configuration).getClusterPlatformBinding(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
74220
74500
  }
74221
74501
 
74502
+ /**
74503
+ * Returns the platform selection of the cluster (template release, layer selections and component configuration), its cluster inputs and the resolution of each layer. Sensitive managedConfig values are returned as `\"<redacted>\"`. Cluster inputs are identifiers, never secrets, and are returned as stored.
74504
+ * @summary Get the cluster platform configuration
74505
+ * @param {string} clusterId Cluster ID
74506
+ * @param {*} [options] Override http request option.
74507
+ * @throws {RequiredError}
74508
+ * @memberof PlatformConfigurationApi
74509
+ */
74510
+ public getClusterPlatformConfiguration(clusterId: string, options?: RawAxiosRequestConfig) {
74511
+ return PlatformConfigurationApiFp(this.configuration).getClusterPlatformConfiguration(clusterId, options).then((request) => request(this.axios, this.basePath));
74512
+ }
74513
+
74222
74514
  /**
74223
74515
  * 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.
74224
74516
  * @summary List platform templates
@@ -74234,13 +74526,28 @@ export class PlatformConfigurationApi extends BaseAPI {
74234
74526
  }
74235
74527
 
74236
74528
  /**
74237
- * 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.
74529
+ * Resolves the fields and runtime requirements of a component from the cluster context, its stored platform configuration (the default template release when it has none) and the draft values of the request. This operation is read-only.
74530
+ * @summary Resolve a platform component configuration of the cluster
74531
+ * @param {string} clusterId Cluster ID
74532
+ * @param {string} componentKey Platform component key
74533
+ * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
74534
+ * @param {*} [options] Override http request option.
74535
+ * @throws {RequiredError}
74536
+ * @memberof PlatformConfigurationApi
74537
+ */
74538
+ public resolveClusterPlatformComponentConfiguration(clusterId: string, componentKey: string, platformComponentConfigurationPreviewRequest: PlatformComponentConfigurationPreviewRequest, options?: RawAxiosRequestConfig) {
74539
+ return PlatformConfigurationApiFp(this.configuration).resolveClusterPlatformComponentConfiguration(clusterId, componentKey, platformComponentConfigurationPreviewRequest, options).then((request) => request(this.axios, this.basePath));
74540
+ }
74541
+
74542
+ /**
74543
+ * 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. Deprecated: use resolveClusterPlatformComponentConfiguration instead.
74238
74544
  * @summary Resolve a platform component configuration
74239
74545
  * @param {string} organizationId Organization ID
74240
74546
  * @param {string} clusterId Cluster ID
74241
74547
  * @param {string} componentKey Platform component key
74242
74548
  * @param {PlatformComponentConfigurationPreviewRequest} platformComponentConfigurationPreviewRequest
74243
74549
  * @param {*} [options] Override http request option.
74550
+ * @deprecated
74244
74551
  * @throws {RequiredError}
74245
74552
  * @memberof PlatformConfigurationApi
74246
74553
  */
@@ -74267,18 +74574,32 @@ export class PlatformConfigurationApi extends BaseAPI {
74267
74574
  }
74268
74575
 
74269
74576
  /**
74270
- * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster.
74577
+ * Selects a platform template and stores layer selections, component profile values, and customer-provided runtime inputs for the cluster. Deprecated: use updateClusterPlatformConfiguration instead.
74271
74578
  * @summary Update the cluster platform binding
74272
74579
  * @param {string} organizationId Organization ID
74273
74580
  * @param {string} clusterId Cluster ID
74274
74581
  * @param {ClusterPlatformBindingRequest} clusterPlatformBindingRequest
74275
74582
  * @param {*} [options] Override http request option.
74583
+ * @deprecated
74276
74584
  * @throws {RequiredError}
74277
74585
  * @memberof PlatformConfigurationApi
74278
74586
  */
74279
74587
  public updateClusterPlatformBinding(organizationId: string, clusterId: string, clusterPlatformBindingRequest: ClusterPlatformBindingRequest, options?: RawAxiosRequestConfig) {
74280
74588
  return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformBinding(organizationId, clusterId, clusterPlatformBindingRequest, options).then((request) => request(this.axios, this.basePath));
74281
74589
  }
74590
+
74591
+ /**
74592
+ * Replaces the whole platform configuration of the cluster, its platform selection and its cluster inputs, after validating it against the template release. Saving does not deploy it. `\"<redacted>\"` is not a keep-existing value: never send it back.
74593
+ * @summary Update the cluster platform configuration
74594
+ * @param {string} clusterId Cluster ID
74595
+ * @param {ClusterPlatformConfigurationRequest} clusterPlatformConfigurationRequest
74596
+ * @param {*} [options] Override http request option.
74597
+ * @throws {RequiredError}
74598
+ * @memberof PlatformConfigurationApi
74599
+ */
74600
+ public updateClusterPlatformConfiguration(clusterId: string, clusterPlatformConfigurationRequest: ClusterPlatformConfigurationRequest, options?: RawAxiosRequestConfig) {
74601
+ return PlatformConfigurationApiFp(this.configuration).updateClusterPlatformConfiguration(clusterId, clusterPlatformConfigurationRequest, options).then((request) => request(this.axios, this.basePath));
74602
+ }
74282
74603
  }
74283
74604
 
74284
74605