qovery-typescript-axios 1.1.909 → 1.1.911

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
@@ -3509,7 +3509,7 @@ export interface BlueprintCreateRequest {
3509
3509
  * @type {{ [key: string]: any; }}
3510
3510
  * @memberof BlueprintCreateRequest
3511
3511
  */
3512
- 'specOverrides'?: { [key: string]: any; } | null;
3512
+ 'spec_overrides'?: { [key: string]: any; } | null;
3513
3513
  }
3514
3514
  /**
3515
3515
  *
@@ -3609,6 +3609,12 @@ export interface BlueprintManifestContextVariableField {
3609
3609
  * @memberof BlueprintManifestContextVariableField
3610
3610
  */
3611
3611
  'source'?: string | null;
3612
+ /**
3613
+ * Resolved value of the context variable at the time of the request
3614
+ * @type {string}
3615
+ * @memberof BlueprintManifestContextVariableField
3616
+ */
3617
+ 'value'?: string | null;
3612
3618
  }
3613
3619
 
3614
3620
  export const BlueprintManifestContextVariableFieldKindEnum = {
@@ -3629,6 +3635,24 @@ export interface BlueprintManifestFieldType {
3629
3635
  * @memberof BlueprintManifestFieldType
3630
3636
  */
3631
3637
  'type': BlueprintManifestFieldTypeTypeEnum;
3638
+ /**
3639
+ * Regex pattern, only present for string fields
3640
+ * @type {string}
3641
+ * @memberof BlueprintManifestFieldType
3642
+ */
3643
+ 'pattern'?: string | null;
3644
+ /**
3645
+ * Minimum length, only present for string fields
3646
+ * @type {number}
3647
+ * @memberof BlueprintManifestFieldType
3648
+ */
3649
+ 'min_length'?: number | null;
3650
+ /**
3651
+ * Maximum length, only present for string fields
3652
+ * @type {number}
3653
+ * @memberof BlueprintManifestFieldType
3654
+ */
3655
+ 'max_length'?: number | null;
3632
3656
  /**
3633
3657
  * Lower bound, only present for number fields
3634
3658
  * @type {number}
@@ -3713,6 +3737,25 @@ export const BlueprintManifestVariableFieldKindEnum = {
3713
3737
 
3714
3738
  export type BlueprintManifestVariableFieldKindEnum = typeof BlueprintManifestVariableFieldKindEnum[keyof typeof BlueprintManifestVariableFieldKindEnum];
3715
3739
 
3740
+ /**
3741
+ *
3742
+ * @export
3743
+ * @interface BlueprintReadmeResponse
3744
+ */
3745
+ export interface BlueprintReadmeResponse {
3746
+ /**
3747
+ * README content in Markdown format
3748
+ * @type {string}
3749
+ * @memberof BlueprintReadmeResponse
3750
+ */
3751
+ 'content': string;
3752
+ /**
3753
+ * URL of the GitHub repository hosting the blueprint
3754
+ * @type {string}
3755
+ * @memberof BlueprintReadmeResponse
3756
+ */
3757
+ 'repository_url': string;
3758
+ }
3716
3759
  /**
3717
3760
  *
3718
3761
  * @export
@@ -3730,7 +3773,7 @@ export interface BlueprintResponse {
3730
3773
  * @type {string}
3731
3774
  * @memberof BlueprintResponse
3732
3775
  */
3733
- 'catalogUrl': string;
3776
+ 'catalog_url': string;
3734
3777
  /**
3735
3778
  *
3736
3779
  * @type {string}
@@ -3742,7 +3785,196 @@ export interface BlueprintResponse {
3742
3785
  * @type {string}
3743
3786
  * @memberof BlueprintResponse
3744
3787
  */
3745
- 'environmentId': string;
3788
+ 'environment_id': string;
3789
+ }
3790
+ /**
3791
+ *
3792
+ * @export
3793
+ * @interface BlueprintUpdateNewOptionalValue
3794
+ */
3795
+ export interface BlueprintUpdateNewOptionalValue {
3796
+ /**
3797
+ *
3798
+ * @type {string}
3799
+ * @memberof BlueprintUpdateNewOptionalValue
3800
+ */
3801
+ 'name': string;
3802
+ /**
3803
+ *
3804
+ * @type {string}
3805
+ * @memberof BlueprintUpdateNewOptionalValue
3806
+ */
3807
+ 'default_value'?: string | null;
3808
+ }
3809
+ /**
3810
+ *
3811
+ * @export
3812
+ * @interface BlueprintUpdateNewRequiredValue
3813
+ */
3814
+ export interface BlueprintUpdateNewRequiredValue {
3815
+ /**
3816
+ *
3817
+ * @type {string}
3818
+ * @memberof BlueprintUpdateNewRequiredValue
3819
+ */
3820
+ 'name': string;
3821
+ }
3822
+ /**
3823
+ *
3824
+ * @export
3825
+ * @interface BlueprintUpdatePreviewRequest
3826
+ */
3827
+ export interface BlueprintUpdatePreviewRequest {
3828
+ /**
3829
+ * Display name for the service
3830
+ * @type {string}
3831
+ * @memberof BlueprintUpdatePreviewRequest
3832
+ */
3833
+ 'name': string;
3834
+ /**
3835
+ * Catalog tag identifying the target blueprint version
3836
+ * @type {string}
3837
+ * @memberof BlueprintUpdatePreviewRequest
3838
+ */
3839
+ 'tag': string;
3840
+ /**
3841
+ * Icon URL for the service
3842
+ * @type {string}
3843
+ * @memberof BlueprintUpdatePreviewRequest
3844
+ */
3845
+ 'icon': string;
3846
+ /**
3847
+ * Variable overrides to apply in the preview
3848
+ * @type {Array<BlueprintVariableRequest>}
3849
+ * @memberof BlueprintUpdatePreviewRequest
3850
+ */
3851
+ 'variables'?: Array<BlueprintVariableRequest> | null;
3852
+ /**
3853
+ * Partial spec overrides merged on top of the blueprint manifest
3854
+ * @type {{ [key: string]: any; }}
3855
+ * @memberof BlueprintUpdatePreviewRequest
3856
+ */
3857
+ 'spec_overrides'?: { [key: string]: any; } | null;
3858
+ }
3859
+ /**
3860
+ *
3861
+ * @export
3862
+ * @interface BlueprintUpdatePreviewResponse
3863
+ */
3864
+ export interface BlueprintUpdatePreviewResponse {
3865
+ /**
3866
+ * Identifier of the preview execution
3867
+ * @type {string}
3868
+ * @memberof BlueprintUpdatePreviewResponse
3869
+ */
3870
+ 'preview_id': string;
3871
+ /**
3872
+ * Type of the underlying service backing this blueprint
3873
+ * @type {string}
3874
+ * @memberof BlueprintUpdatePreviewResponse
3875
+ */
3876
+ 'service_type': BlueprintUpdatePreviewResponseServiceTypeEnum;
3877
+ }
3878
+
3879
+ export const BlueprintUpdatePreviewResponseServiceTypeEnum = {
3880
+ HELM: 'HELM',
3881
+ TERRAFORM: 'TERRAFORM'
3882
+ } as const;
3883
+
3884
+ export type BlueprintUpdatePreviewResponseServiceTypeEnum = typeof BlueprintUpdatePreviewResponseServiceTypeEnum[keyof typeof BlueprintUpdatePreviewResponseServiceTypeEnum];
3885
+
3886
+ /**
3887
+ *
3888
+ * @export
3889
+ * @interface BlueprintUpdateRemovedValue
3890
+ */
3891
+ export interface BlueprintUpdateRemovedValue {
3892
+ /**
3893
+ *
3894
+ * @type {string}
3895
+ * @memberof BlueprintUpdateRemovedValue
3896
+ */
3897
+ 'name': string;
3898
+ }
3899
+ /**
3900
+ *
3901
+ * @export
3902
+ * @interface BlueprintUpdateResponse
3903
+ */
3904
+ export interface BlueprintUpdateResponse {
3905
+ /**
3906
+ *
3907
+ * @type {boolean}
3908
+ * @memberof BlueprintUpdateResponse
3909
+ */
3910
+ 'is_up_to_date': boolean;
3911
+ /**
3912
+ *
3913
+ * @type {string}
3914
+ * @memberof BlueprintUpdateResponse
3915
+ */
3916
+ 'latest_tag': string;
3917
+ /**
3918
+ * Variables added in the latest version that are required with no default
3919
+ * @type {Array<BlueprintUpdateNewRequiredValue>}
3920
+ * @memberof BlueprintUpdateResponse
3921
+ */
3922
+ 'new_required_values': Array<BlueprintUpdateNewRequiredValue>;
3923
+ /**
3924
+ * Variables added in the latest version that have a default value
3925
+ * @type {Array<BlueprintUpdateNewOptionalValue>}
3926
+ * @memberof BlueprintUpdateResponse
3927
+ */
3928
+ 'new_optional_values': Array<BlueprintUpdateNewOptionalValue>;
3929
+ /**
3930
+ * Variables that were optional but are now required in the latest version
3931
+ * @type {Array<BlueprintUpdateNewRequiredValue>}
3932
+ * @memberof BlueprintUpdateResponse
3933
+ */
3934
+ 'now_required_values': Array<BlueprintUpdateNewRequiredValue>;
3935
+ /**
3936
+ * Variables whose default value changed between the current and latest versions
3937
+ * @type {Array<BlueprintUpdateUpdatedValue>}
3938
+ * @memberof BlueprintUpdateResponse
3939
+ */
3940
+ 'updated_values': Array<BlueprintUpdateUpdatedValue>;
3941
+ /**
3942
+ * Variables that no longer exist in the latest version
3943
+ * @type {Array<BlueprintUpdateRemovedValue>}
3944
+ * @memberof BlueprintUpdateResponse
3945
+ */
3946
+ 'removed_values': Array<BlueprintUpdateRemovedValue>;
3947
+ }
3948
+ /**
3949
+ *
3950
+ * @export
3951
+ * @interface BlueprintUpdateUpdatedValue
3952
+ */
3953
+ export interface BlueprintUpdateUpdatedValue {
3954
+ /**
3955
+ *
3956
+ * @type {string}
3957
+ * @memberof BlueprintUpdateUpdatedValue
3958
+ */
3959
+ 'name': string;
3960
+ /**
3961
+ *
3962
+ * @type {string}
3963
+ * @memberof BlueprintUpdateUpdatedValue
3964
+ */
3965
+ 'current_default_value'?: string | null;
3966
+ /**
3967
+ *
3968
+ * @type {string}
3969
+ * @memberof BlueprintUpdateUpdatedValue
3970
+ */
3971
+ 'new_default_value'?: string | null;
3972
+ /**
3973
+ *
3974
+ * @type {string}
3975
+ * @memberof BlueprintUpdateUpdatedValue
3976
+ */
3977
+ 'current_value'?: string | null;
3746
3978
  }
3747
3979
  /**
3748
3980
  *
@@ -3767,7 +3999,7 @@ export interface BlueprintVariableRequest {
3767
3999
  * @type {boolean}
3768
4000
  * @memberof BlueprintVariableRequest
3769
4001
  */
3770
- 'isSecret'?: boolean;
4002
+ 'is_secret'?: boolean;
3771
4003
  }
3772
4004
  /**
3773
4005
  *
@@ -5235,6 +5467,12 @@ export interface ClusterFeatureGcpExistingVpc {
5235
5467
  * @memberof ClusterFeatureGcpExistingVpc
5236
5468
  */
5237
5469
  'additional_ip_range_pods_names'?: Array<string>;
5470
+ /**
5471
+ *
5472
+ * @type {boolean}
5473
+ * @memberof ClusterFeatureGcpExistingVpc
5474
+ */
5475
+ 'private_nodes'?: boolean;
5238
5476
  }
5239
5477
  /**
5240
5478
  *
@@ -32382,10 +32620,11 @@ export const BlueprintCatalogApiAxiosParamCreator = function (configuration?: Co
32382
32620
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32383
32621
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32384
32622
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32623
+ * @param {string} environmentId Environment ID used to resolve context variables
32385
32624
  * @param {*} [options] Override http request option.
32386
32625
  * @throws {RequiredError}
32387
32626
  */
32388
- getBlueprintCatalogServiceManifest: async (organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32627
+ getBlueprintCatalogServiceManifest: async (organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32389
32628
  // verify required parameter 'organizationId' is not null or undefined
32390
32629
  assertParamExists('getBlueprintCatalogServiceManifest', 'organizationId', organizationId)
32391
32630
  // verify required parameter 'provider' is not null or undefined
@@ -32394,6 +32633,8 @@ export const BlueprintCatalogApiAxiosParamCreator = function (configuration?: Co
32394
32633
  assertParamExists('getBlueprintCatalogServiceManifest', 'serviceFamily', serviceFamily)
32395
32634
  // verify required parameter 'serviceVersion' is not null or undefined
32396
32635
  assertParamExists('getBlueprintCatalogServiceManifest', 'serviceVersion', serviceVersion)
32636
+ // verify required parameter 'environmentId' is not null or undefined
32637
+ assertParamExists('getBlueprintCatalogServiceManifest', 'environmentId', environmentId)
32397
32638
  const localVarPath = `/organization/{organizationId}/blueprint/catalog/{provider}/{serviceFamily}/{serviceVersion}/manifest`
32398
32639
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
32399
32640
  .replace(`{${"provider"}}`, encodeURIComponent(String(provider)))
@@ -32417,6 +32658,10 @@ export const BlueprintCatalogApiAxiosParamCreator = function (configuration?: Co
32417
32658
  // http bearer authentication required
32418
32659
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
32419
32660
 
32661
+ if (environmentId !== undefined) {
32662
+ localVarQueryParameter['environmentId'] = environmentId;
32663
+ }
32664
+
32420
32665
 
32421
32666
 
32422
32667
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -32498,11 +32743,12 @@ export const BlueprintCatalogApiFp = function(configuration?: Configuration) {
32498
32743
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32499
32744
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32500
32745
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32746
+ * @param {string} environmentId Environment ID used to resolve context variables
32501
32747
  * @param {*} [options] Override http request option.
32502
32748
  * @throws {RequiredError}
32503
32749
  */
32504
- async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBlueprintCatalogServiceManifest200Response>> {
32505
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, options);
32750
+ async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBlueprintCatalogServiceManifest200Response>> {
32751
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options);
32506
32752
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32507
32753
  const localVarOperationServerBasePath = operationServerMap['BlueprintCatalogApi.getBlueprintCatalogServiceManifest']?.[localVarOperationServerIndex]?.url;
32508
32754
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -32517,7 +32763,7 @@ export const BlueprintCatalogApiFp = function(configuration?: Configuration) {
32517
32763
  * @param {*} [options] Override http request option.
32518
32764
  * @throws {RequiredError}
32519
32765
  */
32520
- async getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
32766
+ async getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintReadmeResponse>> {
32521
32767
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceReadme(organizationId, provider, serviceFamily, serviceVersion, options);
32522
32768
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32523
32769
  const localVarOperationServerBasePath = operationServerMap['BlueprintCatalogApi.getBlueprintCatalogServiceReadme']?.[localVarOperationServerIndex]?.url;
@@ -32540,11 +32786,12 @@ export const BlueprintCatalogApiFactory = function (configuration?: Configuratio
32540
32786
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32541
32787
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32542
32788
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32789
+ * @param {string} environmentId Environment ID used to resolve context variables
32543
32790
  * @param {*} [options] Override http request option.
32544
32791
  * @throws {RequiredError}
32545
32792
  */
32546
- getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBlueprintCatalogServiceManifest200Response> {
32547
- return localVarFp.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, options).then((request) => request(axios, basePath));
32793
+ getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBlueprintCatalogServiceManifest200Response> {
32794
+ return localVarFp.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options).then((request) => request(axios, basePath));
32548
32795
  },
32549
32796
  /**
32550
32797
  *
@@ -32556,7 +32803,7 @@ export const BlueprintCatalogApiFactory = function (configuration?: Configuratio
32556
32803
  * @param {*} [options] Override http request option.
32557
32804
  * @throws {RequiredError}
32558
32805
  */
32559
- getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
32806
+ getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintReadmeResponse> {
32560
32807
  return localVarFp.getBlueprintCatalogServiceReadme(organizationId, provider, serviceFamily, serviceVersion, options).then((request) => request(axios, basePath));
32561
32808
  },
32562
32809
  };
@@ -32576,12 +32823,13 @@ export class BlueprintCatalogApi extends BaseAPI {
32576
32823
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32577
32824
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32578
32825
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32826
+ * @param {string} environmentId Environment ID used to resolve context variables
32579
32827
  * @param {*} [options] Override http request option.
32580
32828
  * @throws {RequiredError}
32581
32829
  * @memberof BlueprintCatalogApi
32582
32830
  */
32583
- public getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig) {
32584
- return BlueprintCatalogApiFp(this.configuration).getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, options).then((request) => request(this.axios, this.basePath));
32831
+ public getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig) {
32832
+ return BlueprintCatalogApiFp(this.configuration).getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options).then((request) => request(this.axios, this.basePath));
32585
32833
  }
32586
32834
 
32587
32835
  /**
@@ -32608,6 +32856,47 @@ export class BlueprintCatalogApi extends BaseAPI {
32608
32856
  */
32609
32857
  export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
32610
32858
  return {
32859
+ /**
32860
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
32861
+ * @summary Check if a blueprint service has an available update
32862
+ * @param {string} blueprintId Blueprint ID
32863
+ * @param {*} [options] Override http request option.
32864
+ * @throws {RequiredError}
32865
+ */
32866
+ checkBlueprintUpdate: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32867
+ // verify required parameter 'blueprintId' is not null or undefined
32868
+ assertParamExists('checkBlueprintUpdate', 'blueprintId', blueprintId)
32869
+ const localVarPath = `/blueprint/{blueprintId}/update`
32870
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
32871
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32872
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32873
+ let baseOptions;
32874
+ if (configuration) {
32875
+ baseOptions = configuration.baseOptions;
32876
+ }
32877
+
32878
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32879
+ const localVarHeaderParameter = {} as any;
32880
+ const localVarQueryParameter = {} as any;
32881
+
32882
+ // authentication ApiKeyAuth required
32883
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
32884
+
32885
+ // authentication bearerAuth required
32886
+ // http bearer authentication required
32887
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32888
+
32889
+
32890
+
32891
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32892
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32893
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32894
+
32895
+ return {
32896
+ url: toPathString(localVarUrlObj),
32897
+ options: localVarRequestOptions,
32898
+ };
32899
+ },
32611
32900
  /**
32612
32901
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32613
32902
  * @summary Create a blueprint service in an environment
@@ -32696,6 +32985,53 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
32696
32985
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32697
32986
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32698
32987
 
32988
+ return {
32989
+ url: toPathString(localVarUrlObj),
32990
+ options: localVarRequestOptions,
32991
+ };
32992
+ },
32993
+ /**
32994
+ * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
32995
+ * @summary Preview a blueprint update
32996
+ * @param {string} blueprintId Blueprint ID
32997
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
32998
+ * @param {*} [options] Override http request option.
32999
+ * @throws {RequiredError}
33000
+ */
33001
+ previewBlueprintUpdate: async (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33002
+ // verify required parameter 'blueprintId' is not null or undefined
33003
+ assertParamExists('previewBlueprintUpdate', 'blueprintId', blueprintId)
33004
+ // verify required parameter 'blueprintUpdatePreviewRequest' is not null or undefined
33005
+ assertParamExists('previewBlueprintUpdate', 'blueprintUpdatePreviewRequest', blueprintUpdatePreviewRequest)
33006
+ const localVarPath = `/blueprint/{blueprintId}/update/preview`
33007
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
33008
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33009
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33010
+ let baseOptions;
33011
+ if (configuration) {
33012
+ baseOptions = configuration.baseOptions;
33013
+ }
33014
+
33015
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
33016
+ const localVarHeaderParameter = {} as any;
33017
+ const localVarQueryParameter = {} as any;
33018
+
33019
+ // authentication ApiKeyAuth required
33020
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33021
+
33022
+ // authentication bearerAuth required
33023
+ // http bearer authentication required
33024
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33025
+
33026
+
33027
+
33028
+ localVarHeaderParameter['Content-Type'] = 'application/json';
33029
+
33030
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33031
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33032
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33033
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration)
33034
+
32699
33035
  return {
32700
33036
  url: toPathString(localVarUrlObj),
32701
33037
  options: localVarRequestOptions,
@@ -32711,6 +33047,19 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
32711
33047
  export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
32712
33048
  const localVarAxiosParamCreator = BlueprintMainCallsApiAxiosParamCreator(configuration)
32713
33049
  return {
33050
+ /**
33051
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
33052
+ * @summary Check if a blueprint service has an available update
33053
+ * @param {string} blueprintId Blueprint ID
33054
+ * @param {*} [options] Override http request option.
33055
+ * @throws {RequiredError}
33056
+ */
33057
+ async checkBlueprintUpdate(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdateResponse>> {
33058
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkBlueprintUpdate(blueprintId, options);
33059
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33060
+ const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.checkBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
33061
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33062
+ },
32714
33063
  /**
32715
33064
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32716
33065
  * @summary Create a blueprint service in an environment
@@ -32739,6 +33088,20 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
32739
33088
  const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintCatalog']?.[localVarOperationServerIndex]?.url;
32740
33089
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32741
33090
  },
33091
+ /**
33092
+ * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
33093
+ * @summary Preview a blueprint update
33094
+ * @param {string} blueprintId Blueprint ID
33095
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33096
+ * @param {*} [options] Override http request option.
33097
+ * @throws {RequiredError}
33098
+ */
33099
+ async previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>> {
33100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options);
33101
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33102
+ const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
33103
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33104
+ },
32742
33105
  }
32743
33106
  };
32744
33107
 
@@ -32749,6 +33112,16 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
32749
33112
  export const BlueprintMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32750
33113
  const localVarFp = BlueprintMainCallsApiFp(configuration)
32751
33114
  return {
33115
+ /**
33116
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
33117
+ * @summary Check if a blueprint service has an available update
33118
+ * @param {string} blueprintId Blueprint ID
33119
+ * @param {*} [options] Override http request option.
33120
+ * @throws {RequiredError}
33121
+ */
33122
+ checkBlueprintUpdate(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdateResponse> {
33123
+ return localVarFp.checkBlueprintUpdate(blueprintId, options).then((request) => request(axios, basePath));
33124
+ },
32752
33125
  /**
32753
33126
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32754
33127
  * @summary Create a blueprint service in an environment
@@ -32771,6 +33144,17 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
32771
33144
  getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse> {
32772
33145
  return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
32773
33146
  },
33147
+ /**
33148
+ * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
33149
+ * @summary Preview a blueprint update
33150
+ * @param {string} blueprintId Blueprint ID
33151
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33152
+ * @param {*} [options] Override http request option.
33153
+ * @throws {RequiredError}
33154
+ */
33155
+ previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
33156
+ return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
33157
+ },
32774
33158
  };
32775
33159
  };
32776
33160
 
@@ -32781,6 +33165,18 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
32781
33165
  * @extends {BaseAPI}
32782
33166
  */
32783
33167
  export class BlueprintMainCallsApi extends BaseAPI {
33168
+ /**
33169
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
33170
+ * @summary Check if a blueprint service has an available update
33171
+ * @param {string} blueprintId Blueprint ID
33172
+ * @param {*} [options] Override http request option.
33173
+ * @throws {RequiredError}
33174
+ * @memberof BlueprintMainCallsApi
33175
+ */
33176
+ public checkBlueprintUpdate(blueprintId: string, options?: RawAxiosRequestConfig) {
33177
+ return BlueprintMainCallsApiFp(this.configuration).checkBlueprintUpdate(blueprintId, options).then((request) => request(this.axios, this.basePath));
33178
+ }
33179
+
32784
33180
  /**
32785
33181
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32786
33182
  * @summary Create a blueprint service in an environment
@@ -32806,6 +33202,19 @@ export class BlueprintMainCallsApi extends BaseAPI {
32806
33202
  public getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig) {
32807
33203
  return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
32808
33204
  }
33205
+
33206
+ /**
33207
+ * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
33208
+ * @summary Preview a blueprint update
33209
+ * @param {string} blueprintId Blueprint ID
33210
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33211
+ * @param {*} [options] Override http request option.
33212
+ * @throws {RequiredError}
33213
+ * @memberof BlueprintMainCallsApi
33214
+ */
33215
+ public previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) {
33216
+ return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
33217
+ }
32809
33218
  }
32810
33219
 
32811
33220