qovery-typescript-axios 1.1.909 → 1.1.910

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
  *
@@ -32382,10 +32614,11 @@ export const BlueprintCatalogApiAxiosParamCreator = function (configuration?: Co
32382
32614
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32383
32615
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32384
32616
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32617
+ * @param {string} environmentId Environment ID used to resolve context variables
32385
32618
  * @param {*} [options] Override http request option.
32386
32619
  * @throws {RequiredError}
32387
32620
  */
32388
- getBlueprintCatalogServiceManifest: async (organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32621
+ getBlueprintCatalogServiceManifest: async (organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32389
32622
  // verify required parameter 'organizationId' is not null or undefined
32390
32623
  assertParamExists('getBlueprintCatalogServiceManifest', 'organizationId', organizationId)
32391
32624
  // verify required parameter 'provider' is not null or undefined
@@ -32394,6 +32627,8 @@ export const BlueprintCatalogApiAxiosParamCreator = function (configuration?: Co
32394
32627
  assertParamExists('getBlueprintCatalogServiceManifest', 'serviceFamily', serviceFamily)
32395
32628
  // verify required parameter 'serviceVersion' is not null or undefined
32396
32629
  assertParamExists('getBlueprintCatalogServiceManifest', 'serviceVersion', serviceVersion)
32630
+ // verify required parameter 'environmentId' is not null or undefined
32631
+ assertParamExists('getBlueprintCatalogServiceManifest', 'environmentId', environmentId)
32397
32632
  const localVarPath = `/organization/{organizationId}/blueprint/catalog/{provider}/{serviceFamily}/{serviceVersion}/manifest`
32398
32633
  .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
32399
32634
  .replace(`{${"provider"}}`, encodeURIComponent(String(provider)))
@@ -32417,6 +32652,10 @@ export const BlueprintCatalogApiAxiosParamCreator = function (configuration?: Co
32417
32652
  // http bearer authentication required
32418
32653
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
32419
32654
 
32655
+ if (environmentId !== undefined) {
32656
+ localVarQueryParameter['environmentId'] = environmentId;
32657
+ }
32658
+
32420
32659
 
32421
32660
 
32422
32661
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -32498,11 +32737,12 @@ export const BlueprintCatalogApiFp = function(configuration?: Configuration) {
32498
32737
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32499
32738
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32500
32739
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32740
+ * @param {string} environmentId Environment ID used to resolve context variables
32501
32741
  * @param {*} [options] Override http request option.
32502
32742
  * @throws {RequiredError}
32503
32743
  */
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);
32744
+ async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBlueprintCatalogServiceManifest200Response>> {
32745
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options);
32506
32746
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32507
32747
  const localVarOperationServerBasePath = operationServerMap['BlueprintCatalogApi.getBlueprintCatalogServiceManifest']?.[localVarOperationServerIndex]?.url;
32508
32748
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -32517,7 +32757,7 @@ export const BlueprintCatalogApiFp = function(configuration?: Configuration) {
32517
32757
  * @param {*} [options] Override http request option.
32518
32758
  * @throws {RequiredError}
32519
32759
  */
32520
- async getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
32760
+ async getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintReadmeResponse>> {
32521
32761
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceReadme(organizationId, provider, serviceFamily, serviceVersion, options);
32522
32762
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32523
32763
  const localVarOperationServerBasePath = operationServerMap['BlueprintCatalogApi.getBlueprintCatalogServiceReadme']?.[localVarOperationServerIndex]?.url;
@@ -32540,11 +32780,12 @@ export const BlueprintCatalogApiFactory = function (configuration?: Configuratio
32540
32780
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32541
32781
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32542
32782
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32783
+ * @param {string} environmentId Environment ID used to resolve context variables
32543
32784
  * @param {*} [options] Override http request option.
32544
32785
  * @throws {RequiredError}
32545
32786
  */
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));
32787
+ getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBlueprintCatalogServiceManifest200Response> {
32788
+ return localVarFp.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options).then((request) => request(axios, basePath));
32548
32789
  },
32549
32790
  /**
32550
32791
  *
@@ -32556,7 +32797,7 @@ export const BlueprintCatalogApiFactory = function (configuration?: Configuratio
32556
32797
  * @param {*} [options] Override http request option.
32557
32798
  * @throws {RequiredError}
32558
32799
  */
32559
- getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
32800
+ getBlueprintCatalogServiceReadme(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintReadmeResponse> {
32560
32801
  return localVarFp.getBlueprintCatalogServiceReadme(organizationId, provider, serviceFamily, serviceVersion, options).then((request) => request(axios, basePath));
32561
32802
  },
32562
32803
  };
@@ -32576,12 +32817,13 @@ export class BlueprintCatalogApi extends BaseAPI {
32576
32817
  * @param {string} provider Cloud provider (e.g. aws, gcp, azure)
32577
32818
  * @param {string} serviceFamily Service family (e.g. mysql, postgresql)
32578
32819
  * @param {string} serviceVersion Service version (e.g. 8, 14)
32820
+ * @param {string} environmentId Environment ID used to resolve context variables
32579
32821
  * @param {*} [options] Override http request option.
32580
32822
  * @throws {RequiredError}
32581
32823
  * @memberof BlueprintCatalogApi
32582
32824
  */
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));
32825
+ public getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig) {
32826
+ return BlueprintCatalogApiFp(this.configuration).getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options).then((request) => request(this.axios, this.basePath));
32585
32827
  }
32586
32828
 
32587
32829
  /**
@@ -32608,6 +32850,47 @@ export class BlueprintCatalogApi extends BaseAPI {
32608
32850
  */
32609
32851
  export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
32610
32852
  return {
32853
+ /**
32854
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
32855
+ * @summary Check if a blueprint service has an available update
32856
+ * @param {string} blueprintId Blueprint ID
32857
+ * @param {*} [options] Override http request option.
32858
+ * @throws {RequiredError}
32859
+ */
32860
+ checkBlueprintUpdate: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32861
+ // verify required parameter 'blueprintId' is not null or undefined
32862
+ assertParamExists('checkBlueprintUpdate', 'blueprintId', blueprintId)
32863
+ const localVarPath = `/blueprint/{blueprintId}/update`
32864
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
32865
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32866
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32867
+ let baseOptions;
32868
+ if (configuration) {
32869
+ baseOptions = configuration.baseOptions;
32870
+ }
32871
+
32872
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32873
+ const localVarHeaderParameter = {} as any;
32874
+ const localVarQueryParameter = {} as any;
32875
+
32876
+ // authentication ApiKeyAuth required
32877
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
32878
+
32879
+ // authentication bearerAuth required
32880
+ // http bearer authentication required
32881
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
32882
+
32883
+
32884
+
32885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32887
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32888
+
32889
+ return {
32890
+ url: toPathString(localVarUrlObj),
32891
+ options: localVarRequestOptions,
32892
+ };
32893
+ },
32611
32894
  /**
32612
32895
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32613
32896
  * @summary Create a blueprint service in an environment
@@ -32696,6 +32979,53 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
32696
32979
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32697
32980
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32698
32981
 
32982
+ return {
32983
+ url: toPathString(localVarUrlObj),
32984
+ options: localVarRequestOptions,
32985
+ };
32986
+ },
32987
+ /**
32988
+ * 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.
32989
+ * @summary Preview a blueprint update
32990
+ * @param {string} blueprintId Blueprint ID
32991
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
32992
+ * @param {*} [options] Override http request option.
32993
+ * @throws {RequiredError}
32994
+ */
32995
+ previewBlueprintUpdate: async (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32996
+ // verify required parameter 'blueprintId' is not null or undefined
32997
+ assertParamExists('previewBlueprintUpdate', 'blueprintId', blueprintId)
32998
+ // verify required parameter 'blueprintUpdatePreviewRequest' is not null or undefined
32999
+ assertParamExists('previewBlueprintUpdate', 'blueprintUpdatePreviewRequest', blueprintUpdatePreviewRequest)
33000
+ const localVarPath = `/blueprint/{blueprintId}/update/preview`
33001
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
33002
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33003
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33004
+ let baseOptions;
33005
+ if (configuration) {
33006
+ baseOptions = configuration.baseOptions;
33007
+ }
33008
+
33009
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
33010
+ const localVarHeaderParameter = {} as any;
33011
+ const localVarQueryParameter = {} as any;
33012
+
33013
+ // authentication ApiKeyAuth required
33014
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33015
+
33016
+ // authentication bearerAuth required
33017
+ // http bearer authentication required
33018
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33019
+
33020
+
33021
+
33022
+ localVarHeaderParameter['Content-Type'] = 'application/json';
33023
+
33024
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33025
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33026
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33027
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration)
33028
+
32699
33029
  return {
32700
33030
  url: toPathString(localVarUrlObj),
32701
33031
  options: localVarRequestOptions,
@@ -32711,6 +33041,19 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
32711
33041
  export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
32712
33042
  const localVarAxiosParamCreator = BlueprintMainCallsApiAxiosParamCreator(configuration)
32713
33043
  return {
33044
+ /**
33045
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
33046
+ * @summary Check if a blueprint service has an available update
33047
+ * @param {string} blueprintId Blueprint ID
33048
+ * @param {*} [options] Override http request option.
33049
+ * @throws {RequiredError}
33050
+ */
33051
+ async checkBlueprintUpdate(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdateResponse>> {
33052
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkBlueprintUpdate(blueprintId, options);
33053
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33054
+ const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.checkBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
33055
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33056
+ },
32714
33057
  /**
32715
33058
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32716
33059
  * @summary Create a blueprint service in an environment
@@ -32739,6 +33082,20 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
32739
33082
  const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintCatalog']?.[localVarOperationServerIndex]?.url;
32740
33083
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32741
33084
  },
33085
+ /**
33086
+ * 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.
33087
+ * @summary Preview a blueprint update
33088
+ * @param {string} blueprintId Blueprint ID
33089
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33090
+ * @param {*} [options] Override http request option.
33091
+ * @throws {RequiredError}
33092
+ */
33093
+ async previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>> {
33094
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options);
33095
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33096
+ const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
33097
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33098
+ },
32742
33099
  }
32743
33100
  };
32744
33101
 
@@ -32749,6 +33106,16 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
32749
33106
  export const BlueprintMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32750
33107
  const localVarFp = BlueprintMainCallsApiFp(configuration)
32751
33108
  return {
33109
+ /**
33110
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
33111
+ * @summary Check if a blueprint service has an available update
33112
+ * @param {string} blueprintId Blueprint ID
33113
+ * @param {*} [options] Override http request option.
33114
+ * @throws {RequiredError}
33115
+ */
33116
+ checkBlueprintUpdate(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdateResponse> {
33117
+ return localVarFp.checkBlueprintUpdate(blueprintId, options).then((request) => request(axios, basePath));
33118
+ },
32752
33119
  /**
32753
33120
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32754
33121
  * @summary Create a blueprint service in an environment
@@ -32771,6 +33138,17 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
32771
33138
  getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse> {
32772
33139
  return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
32773
33140
  },
33141
+ /**
33142
+ * 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.
33143
+ * @summary Preview a blueprint update
33144
+ * @param {string} blueprintId Blueprint ID
33145
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33146
+ * @param {*} [options] Override http request option.
33147
+ * @throws {RequiredError}
33148
+ */
33149
+ previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
33150
+ return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
33151
+ },
32774
33152
  };
32775
33153
  };
32776
33154
 
@@ -32781,6 +33159,18 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
32781
33159
  * @extends {BaseAPI}
32782
33160
  */
32783
33161
  export class BlueprintMainCallsApi extends BaseAPI {
33162
+ /**
33163
+ * Returns the update availability for a deployed blueprint service, including the latest tag, and a diff of variables that are new, changed, or removed.
33164
+ * @summary Check if a blueprint service has an available update
33165
+ * @param {string} blueprintId Blueprint ID
33166
+ * @param {*} [options] Override http request option.
33167
+ * @throws {RequiredError}
33168
+ * @memberof BlueprintMainCallsApi
33169
+ */
33170
+ public checkBlueprintUpdate(blueprintId: string, options?: RawAxiosRequestConfig) {
33171
+ return BlueprintMainCallsApiFp(this.configuration).checkBlueprintUpdate(blueprintId, options).then((request) => request(this.axios, this.basePath));
33172
+ }
33173
+
32784
33174
  /**
32785
33175
  * Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
32786
33176
  * @summary Create a blueprint service in an environment
@@ -32806,6 +33196,19 @@ export class BlueprintMainCallsApi extends BaseAPI {
32806
33196
  public getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig) {
32807
33197
  return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
32808
33198
  }
33199
+
33200
+ /**
33201
+ * 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.
33202
+ * @summary Preview a blueprint update
33203
+ * @param {string} blueprintId Blueprint ID
33204
+ * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33205
+ * @param {*} [options] Override http request option.
33206
+ * @throws {RequiredError}
33207
+ * @memberof BlueprintMainCallsApi
33208
+ */
33209
+ public previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) {
33210
+ return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
33211
+ }
32809
33212
  }
32810
33213
 
32811
33214