qovery-typescript-axios 1.1.911 → 1.1.913

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
@@ -3585,6 +3585,62 @@ export interface BlueprintMajorVersion {
3585
3585
  */
3586
3586
  'latestTag': string;
3587
3587
  }
3588
+ /**
3589
+ * Backend override metadata. Catalog default + which values are allowed, plus the user-provided backend block when the catalog ships one.
3590
+ * @export
3591
+ * @interface BlueprintManifestBackendConfig
3592
+ */
3593
+ export interface BlueprintManifestBackendConfig {
3594
+ /**
3595
+ *
3596
+ * @type {string}
3597
+ * @memberof BlueprintManifestBackendConfig
3598
+ */
3599
+ 'default'?: string | null;
3600
+ /**
3601
+ *
3602
+ * @type {Array<string>}
3603
+ * @memberof BlueprintManifestBackendConfig
3604
+ */
3605
+ 'allowed_values'?: Array<string> | null;
3606
+ /**
3607
+ *
3608
+ * @type {boolean}
3609
+ * @memberof BlueprintManifestBackendConfig
3610
+ */
3611
+ 'overridable'?: boolean;
3612
+ /**
3613
+ *
3614
+ * @type {BlueprintManifestUserProvidedBackend}
3615
+ * @memberof BlueprintManifestBackendConfig
3616
+ */
3617
+ 'user_provided'?: BlueprintManifestUserProvidedBackend;
3618
+ }
3619
+ /**
3620
+ *
3621
+ * @export
3622
+ * @interface BlueprintManifestChartConfig
3623
+ */
3624
+ export interface BlueprintManifestChartConfig {
3625
+ /**
3626
+ *
3627
+ * @type {string}
3628
+ * @memberof BlueprintManifestChartConfig
3629
+ */
3630
+ 'repository': string;
3631
+ /**
3632
+ *
3633
+ * @type {string}
3634
+ * @memberof BlueprintManifestChartConfig
3635
+ */
3636
+ 'name': string;
3637
+ /**
3638
+ *
3639
+ * @type {string}
3640
+ * @memberof BlueprintManifestChartConfig
3641
+ */
3642
+ 'version': string;
3643
+ }
3588
3644
  /**
3589
3645
  * An auto-sourced, read-only value (from spec.contextVariables); not user-editable.
3590
3646
  * @export
@@ -3623,6 +3679,188 @@ export const BlueprintManifestContextVariableFieldKindEnum = {
3623
3679
 
3624
3680
  export type BlueprintManifestContextVariableFieldKindEnum = typeof BlueprintManifestContextVariableFieldKindEnum[keyof typeof BlueprintManifestContextVariableFieldKindEnum];
3625
3681
 
3682
+ /**
3683
+ * Credentials override metadata. Catalog default + which values are allowed and whether the user can override at all.
3684
+ * @export
3685
+ * @interface BlueprintManifestCredentialsConfig
3686
+ */
3687
+ export interface BlueprintManifestCredentialsConfig {
3688
+ /**
3689
+ *
3690
+ * @type {string}
3691
+ * @memberof BlueprintManifestCredentialsConfig
3692
+ */
3693
+ 'default'?: string | null;
3694
+ /**
3695
+ *
3696
+ * @type {Array<string>}
3697
+ * @memberof BlueprintManifestCredentialsConfig
3698
+ */
3699
+ 'allowed_values'?: Array<string> | null;
3700
+ /**
3701
+ *
3702
+ * @type {boolean}
3703
+ * @memberof BlueprintManifestCredentialsConfig
3704
+ */
3705
+ 'overridable'?: boolean;
3706
+ }
3707
+ /**
3708
+ *
3709
+ * @export
3710
+ * @interface BlueprintManifestEngineHelm
3711
+ */
3712
+ export interface BlueprintManifestEngineHelm {
3713
+ /**
3714
+ *
3715
+ * @type {string}
3716
+ * @memberof BlueprintManifestEngineHelm
3717
+ */
3718
+ 'type': BlueprintManifestEngineHelmTypeEnum;
3719
+ /**
3720
+ *
3721
+ * @type {BlueprintManifestChartConfig}
3722
+ * @memberof BlueprintManifestEngineHelm
3723
+ */
3724
+ 'chart': BlueprintManifestChartConfig;
3725
+ /**
3726
+ *
3727
+ * @type {number}
3728
+ * @memberof BlueprintManifestEngineHelm
3729
+ */
3730
+ 'timeout'?: number | null;
3731
+ /**
3732
+ *
3733
+ * @type {BlueprintManifestResourcesConfig}
3734
+ * @memberof BlueprintManifestEngineHelm
3735
+ */
3736
+ 'resources'?: BlueprintManifestResourcesConfig;
3737
+ }
3738
+
3739
+ export const BlueprintManifestEngineHelmTypeEnum = {
3740
+ HELM: 'helm'
3741
+ } as const;
3742
+
3743
+ export type BlueprintManifestEngineHelmTypeEnum = typeof BlueprintManifestEngineHelmTypeEnum[keyof typeof BlueprintManifestEngineHelmTypeEnum];
3744
+
3745
+ /**
3746
+ *
3747
+ * @export
3748
+ * @interface BlueprintManifestEngineOpenTofu
3749
+ */
3750
+ export interface BlueprintManifestEngineOpenTofu {
3751
+ /**
3752
+ *
3753
+ * @type {string}
3754
+ * @memberof BlueprintManifestEngineOpenTofu
3755
+ */
3756
+ 'type': BlueprintManifestEngineOpenTofuTypeEnum;
3757
+ /**
3758
+ *
3759
+ * @type {CloudVendorEnum}
3760
+ * @memberof BlueprintManifestEngineOpenTofu
3761
+ */
3762
+ 'provider': CloudVendorEnum;
3763
+ /**
3764
+ *
3765
+ * @type {BlueprintManifestVersionBlock}
3766
+ * @memberof BlueprintManifestEngineOpenTofu
3767
+ */
3768
+ 'opentofu': BlueprintManifestVersionBlock;
3769
+ /**
3770
+ *
3771
+ * @type {BlueprintManifestCredentialsConfig}
3772
+ * @memberof BlueprintManifestEngineOpenTofu
3773
+ */
3774
+ 'credentials'?: BlueprintManifestCredentialsConfig;
3775
+ /**
3776
+ *
3777
+ * @type {BlueprintManifestBackendConfig}
3778
+ * @memberof BlueprintManifestEngineOpenTofu
3779
+ */
3780
+ 'backend'?: BlueprintManifestBackendConfig;
3781
+ /**
3782
+ *
3783
+ * @type {number}
3784
+ * @memberof BlueprintManifestEngineOpenTofu
3785
+ */
3786
+ 'timeout'?: number | null;
3787
+ /**
3788
+ *
3789
+ * @type {BlueprintManifestResourcesConfig}
3790
+ * @memberof BlueprintManifestEngineOpenTofu
3791
+ */
3792
+ 'resources'?: BlueprintManifestResourcesConfig;
3793
+ }
3794
+
3795
+ export const BlueprintManifestEngineOpenTofuTypeEnum = {
3796
+ OPENTOFU: 'opentofu'
3797
+ } as const;
3798
+
3799
+ export type BlueprintManifestEngineOpenTofuTypeEnum = typeof BlueprintManifestEngineOpenTofuTypeEnum[keyof typeof BlueprintManifestEngineOpenTofuTypeEnum];
3800
+
3801
+ /**
3802
+ * @type BlueprintManifestEngineSpec
3803
+ * Engine spec discriminated by `type`. Catalog-declared execution config + per-knob default/allowedValues/overridable metadata for the console to render.
3804
+ * @export
3805
+ */
3806
+ export type BlueprintManifestEngineSpec = { type: 'helm' } & BlueprintManifestEngineHelm | { type: 'opentofu' } & BlueprintManifestEngineOpenTofu | { type: 'terraform' } & BlueprintManifestEngineTerraform;
3807
+
3808
+ /**
3809
+ *
3810
+ * @export
3811
+ * @interface BlueprintManifestEngineTerraform
3812
+ */
3813
+ export interface BlueprintManifestEngineTerraform {
3814
+ /**
3815
+ *
3816
+ * @type {string}
3817
+ * @memberof BlueprintManifestEngineTerraform
3818
+ */
3819
+ 'type': BlueprintManifestEngineTerraformTypeEnum;
3820
+ /**
3821
+ *
3822
+ * @type {CloudVendorEnum}
3823
+ * @memberof BlueprintManifestEngineTerraform
3824
+ */
3825
+ 'provider': CloudVendorEnum;
3826
+ /**
3827
+ *
3828
+ * @type {BlueprintManifestVersionBlock}
3829
+ * @memberof BlueprintManifestEngineTerraform
3830
+ */
3831
+ 'terraform': BlueprintManifestVersionBlock;
3832
+ /**
3833
+ *
3834
+ * @type {BlueprintManifestCredentialsConfig}
3835
+ * @memberof BlueprintManifestEngineTerraform
3836
+ */
3837
+ 'credentials'?: BlueprintManifestCredentialsConfig;
3838
+ /**
3839
+ *
3840
+ * @type {BlueprintManifestBackendConfig}
3841
+ * @memberof BlueprintManifestEngineTerraform
3842
+ */
3843
+ 'backend'?: BlueprintManifestBackendConfig;
3844
+ /**
3845
+ * Default execution timeout in seconds.
3846
+ * @type {number}
3847
+ * @memberof BlueprintManifestEngineTerraform
3848
+ */
3849
+ 'timeout'?: number | null;
3850
+ /**
3851
+ *
3852
+ * @type {BlueprintManifestResourcesConfig}
3853
+ * @memberof BlueprintManifestEngineTerraform
3854
+ */
3855
+ 'resources'?: BlueprintManifestResourcesConfig;
3856
+ }
3857
+
3858
+ export const BlueprintManifestEngineTerraformTypeEnum = {
3859
+ TERRAFORM: 'terraform'
3860
+ } as const;
3861
+
3862
+ export type BlueprintManifestEngineTerraformTypeEnum = typeof BlueprintManifestEngineTerraformTypeEnum[keyof typeof BlueprintManifestEngineTerraformTypeEnum];
3863
+
3626
3864
  /**
3627
3865
  * Field type with its type-specific validation conditions, discriminated by \"type\".
3628
3866
  * @export
@@ -3675,6 +3913,75 @@ export const BlueprintManifestFieldTypeTypeEnum = {
3675
3913
 
3676
3914
  export type BlueprintManifestFieldTypeTypeEnum = typeof BlueprintManifestFieldTypeTypeEnum[keyof typeof BlueprintManifestFieldTypeTypeEnum];
3677
3915
 
3916
+ /**
3917
+ * Catalog-declared default compute resources for the execution job.
3918
+ * @export
3919
+ * @interface BlueprintManifestResourcesConfig
3920
+ */
3921
+ export interface BlueprintManifestResourcesConfig {
3922
+ /**
3923
+ *
3924
+ * @type {string}
3925
+ * @memberof BlueprintManifestResourcesConfig
3926
+ */
3927
+ 'cpu'?: string | null;
3928
+ /**
3929
+ *
3930
+ * @type {string}
3931
+ * @memberof BlueprintManifestResourcesConfig
3932
+ */
3933
+ 'ram'?: string | null;
3934
+ /**
3935
+ *
3936
+ * @type {string}
3937
+ * @memberof BlueprintManifestResourcesConfig
3938
+ */
3939
+ 'storage'?: string | null;
3940
+ }
3941
+ /**
3942
+ *
3943
+ * @export
3944
+ * @interface BlueprintManifestResponse
3945
+ */
3946
+ export interface BlueprintManifestResponse {
3947
+ /**
3948
+ * Form fields the console renders for the user (variables + auto-sourced context variables).
3949
+ * @type {Array<BlueprintManifestResponseResultsInner>}
3950
+ * @memberof BlueprintManifestResponse
3951
+ */
3952
+ 'results': Array<BlueprintManifestResponseResultsInner>;
3953
+ /**
3954
+ *
3955
+ * @type {BlueprintManifestEngineSpec}
3956
+ * @memberof BlueprintManifestResponse
3957
+ */
3958
+ 'engine'?: BlueprintManifestEngineSpec;
3959
+ }
3960
+ /**
3961
+ * @type BlueprintManifestResponseResultsInner
3962
+ * @export
3963
+ */
3964
+ export type BlueprintManifestResponseResultsInner = { kind: 'contextVariable' } & BlueprintManifestContextVariableField | { kind: 'variable' } & BlueprintManifestVariableField;
3965
+
3966
+ /**
3967
+ *
3968
+ * @export
3969
+ * @interface BlueprintManifestUserProvidedBackend
3970
+ */
3971
+ export interface BlueprintManifestUserProvidedBackend {
3972
+ /**
3973
+ * Terraform backend type (e.g. \"s3\", \"gcs\", \"azurerm\").
3974
+ * @type {string}
3975
+ * @memberof BlueprintManifestUserProvidedBackend
3976
+ */
3977
+ 'type': string;
3978
+ /**
3979
+ * Static backend config (bucket, region, etc.).
3980
+ * @type {{ [key: string]: string; }}
3981
+ * @memberof BlueprintManifestUserProvidedBackend
3982
+ */
3983
+ 'config'?: { [key: string]: string; };
3984
+ }
3678
3985
  /**
3679
3986
  * An editable form input the user fills in (from spec.variables).
3680
3987
  * @export
@@ -3737,6 +4044,25 @@ export const BlueprintManifestVariableFieldKindEnum = {
3737
4044
 
3738
4045
  export type BlueprintManifestVariableFieldKindEnum = typeof BlueprintManifestVariableFieldKindEnum[keyof typeof BlueprintManifestVariableFieldKindEnum];
3739
4046
 
4047
+ /**
4048
+ *
4049
+ * @export
4050
+ * @interface BlueprintManifestVersionBlock
4051
+ */
4052
+ export interface BlueprintManifestVersionBlock {
4053
+ /**
4054
+ * Catalog-declared default version for this engine.
4055
+ * @type {string}
4056
+ * @memberof BlueprintManifestVersionBlock
4057
+ */
4058
+ 'version': string;
4059
+ /**
4060
+ * Versions the user may choose from. Null = unrestricted.
4061
+ * @type {Array<string>}
4062
+ * @memberof BlueprintManifestVersionBlock
4063
+ */
4064
+ 'allowed_values'?: Array<string> | null;
4065
+ }
3740
4066
  /**
3741
4067
  *
3742
4068
  * @export
@@ -3787,6 +4113,19 @@ export interface BlueprintResponse {
3787
4113
  */
3788
4114
  'environment_id': string;
3789
4115
  }
4116
+ /**
4117
+ * Catalog engine-block deltas between the current and latest blueprint tag.
4118
+ * @export
4119
+ * @interface BlueprintUpdateEngineDiff
4120
+ */
4121
+ export interface BlueprintUpdateEngineDiff {
4122
+ /**
4123
+ *
4124
+ * @type {Array<BlueprintUpdateUpdatedValue>}
4125
+ * @memberof BlueprintUpdateEngineDiff
4126
+ */
4127
+ 'updated_values': Array<BlueprintUpdateUpdatedValue>;
4128
+ }
3790
4129
  /**
3791
4130
  *
3792
4131
  * @export
@@ -3819,43 +4158,6 @@ export interface BlueprintUpdateNewRequiredValue {
3819
4158
  */
3820
4159
  'name': string;
3821
4160
  }
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
4161
  /**
3860
4162
  *
3861
4163
  * @export
@@ -3896,6 +4198,43 @@ export interface BlueprintUpdateRemovedValue {
3896
4198
  */
3897
4199
  'name': string;
3898
4200
  }
4201
+ /**
4202
+ *
4203
+ * @export
4204
+ * @interface BlueprintUpdateRequest
4205
+ */
4206
+ export interface BlueprintUpdateRequest {
4207
+ /**
4208
+ * Display name for the service
4209
+ * @type {string}
4210
+ * @memberof BlueprintUpdateRequest
4211
+ */
4212
+ 'name': string;
4213
+ /**
4214
+ * Catalog tag identifying the target blueprint version
4215
+ * @type {string}
4216
+ * @memberof BlueprintUpdateRequest
4217
+ */
4218
+ 'tag': string;
4219
+ /**
4220
+ * Icon URL for the service
4221
+ * @type {string}
4222
+ * @memberof BlueprintUpdateRequest
4223
+ */
4224
+ 'icon': string;
4225
+ /**
4226
+ * RFC 7396 patch map keyed by variable name. Non-null value upserts the variable; null value removes it. Absent keys are left untouched. Omitting the field entirely is equivalent to an empty map — no variables are modified.
4227
+ * @type {{ [key: string]: BlueprintUpdateVariableValue; }}
4228
+ * @memberof BlueprintUpdateRequest
4229
+ */
4230
+ 'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
4231
+ /**
4232
+ * JSON Merge Patch (RFC 7396) applied to the stored spec_overrides. Keys with a non-null value are upserted; keys with a null value are removed. Pass null or omit the field to leave all existing overrides unchanged.
4233
+ * @type {{ [key: string]: any | null; }}
4234
+ * @memberof BlueprintUpdateRequest
4235
+ */
4236
+ 'spec_overrides'?: { [key: string]: any | null; } | null;
4237
+ }
3899
4238
  /**
3900
4239
  *
3901
4240
  * @export
@@ -3944,6 +4283,12 @@ export interface BlueprintUpdateResponse {
3944
4283
  * @memberof BlueprintUpdateResponse
3945
4284
  */
3946
4285
  'removed_values': Array<BlueprintUpdateRemovedValue>;
4286
+ /**
4287
+ *
4288
+ * @type {BlueprintUpdateEngineDiff}
4289
+ * @memberof BlueprintUpdateResponse
4290
+ */
4291
+ 'engine_diff': BlueprintUpdateEngineDiff;
3947
4292
  }
3948
4293
  /**
3949
4294
  *
@@ -3976,6 +4321,25 @@ export interface BlueprintUpdateUpdatedValue {
3976
4321
  */
3977
4322
  'current_value'?: string | null;
3978
4323
  }
4324
+ /**
4325
+ * Value object for a variable in a patch map. Set the map value to null to remove the variable.
4326
+ * @export
4327
+ * @interface BlueprintUpdateVariableValue
4328
+ */
4329
+ export interface BlueprintUpdateVariableValue {
4330
+ /**
4331
+ *
4332
+ * @type {string}
4333
+ * @memberof BlueprintUpdateVariableValue
4334
+ */
4335
+ 'value': string;
4336
+ /**
4337
+ *
4338
+ * @type {boolean}
4339
+ * @memberof BlueprintUpdateVariableValue
4340
+ */
4341
+ 'is_secret'?: boolean;
4342
+ }
3979
4343
  /**
3980
4344
  *
3981
4345
  * @export
@@ -13024,25 +13388,6 @@ export interface GenericObjectCurrentCost {
13024
13388
  */
13025
13389
  'cost': Cost;
13026
13390
  }
13027
- /**
13028
- *
13029
- * @export
13030
- * @interface GetBlueprintCatalogServiceManifest200Response
13031
- */
13032
- export interface GetBlueprintCatalogServiceManifest200Response {
13033
- /**
13034
- *
13035
- * @type {Array<GetBlueprintCatalogServiceManifest200ResponseResultsInner>}
13036
- * @memberof GetBlueprintCatalogServiceManifest200Response
13037
- */
13038
- 'results'?: Array<GetBlueprintCatalogServiceManifest200ResponseResultsInner>;
13039
- }
13040
- /**
13041
- * @type GetBlueprintCatalogServiceManifest200ResponseResultsInner
13042
- * @export
13043
- */
13044
- export type GetBlueprintCatalogServiceManifest200ResponseResultsInner = { kind: 'contextVariable' } & BlueprintManifestContextVariableField | { kind: 'variable' } & BlueprintManifestVariableField;
13045
-
13046
13391
  /**
13047
13392
  *
13048
13393
  * @export
@@ -32747,7 +33092,7 @@ export const BlueprintCatalogApiFp = function(configuration?: Configuration) {
32747
33092
  * @param {*} [options] Override http request option.
32748
33093
  * @throws {RequiredError}
32749
33094
  */
32750
- async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBlueprintCatalogServiceManifest200Response>> {
33095
+ async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintManifestResponse>> {
32751
33096
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options);
32752
33097
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32753
33098
  const localVarOperationServerBasePath = operationServerMap['BlueprintCatalogApi.getBlueprintCatalogServiceManifest']?.[localVarOperationServerIndex]?.url;
@@ -32790,7 +33135,7 @@ export const BlueprintCatalogApiFactory = function (configuration?: Configuratio
32790
33135
  * @param {*} [options] Override http request option.
32791
33136
  * @throws {RequiredError}
32792
33137
  */
32793
- getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBlueprintCatalogServiceManifest200Response> {
33138
+ getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintManifestResponse> {
32794
33139
  return localVarFp.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options).then((request) => request(axios, basePath));
32795
33140
  },
32796
33141
  /**
@@ -32991,18 +33336,18 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
32991
33336
  };
32992
33337
  },
32993
33338
  /**
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.
33339
+ * Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
32995
33340
  * @summary Preview a blueprint update
32996
33341
  * @param {string} blueprintId Blueprint ID
32997
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33342
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
32998
33343
  * @param {*} [options] Override http request option.
32999
33344
  * @throws {RequiredError}
33000
33345
  */
33001
- previewBlueprintUpdate: async (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33346
+ previewBlueprintUpdate: async (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33002
33347
  // verify required parameter 'blueprintId' is not null or undefined
33003
33348
  assertParamExists('previewBlueprintUpdate', 'blueprintId', blueprintId)
33004
- // verify required parameter 'blueprintUpdatePreviewRequest' is not null or undefined
33005
- assertParamExists('previewBlueprintUpdate', 'blueprintUpdatePreviewRequest', blueprintUpdatePreviewRequest)
33349
+ // verify required parameter 'blueprintUpdateRequest' is not null or undefined
33350
+ assertParamExists('previewBlueprintUpdate', 'blueprintUpdateRequest', blueprintUpdateRequest)
33006
33351
  const localVarPath = `/blueprint/{blueprintId}/update/preview`
33007
33352
  .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
33008
33353
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -33030,7 +33375,54 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
33030
33375
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33031
33376
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33032
33377
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33033
- localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration)
33378
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration)
33379
+
33380
+ return {
33381
+ url: toPathString(localVarUrlObj),
33382
+ options: localVarRequestOptions,
33383
+ };
33384
+ },
33385
+ /**
33386
+ * Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
33387
+ * @summary Update a blueprint service
33388
+ * @param {string} blueprintId Blueprint ID
33389
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33390
+ * @param {*} [options] Override http request option.
33391
+ * @throws {RequiredError}
33392
+ */
33393
+ updateBlueprint: async (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33394
+ // verify required parameter 'blueprintId' is not null or undefined
33395
+ assertParamExists('updateBlueprint', 'blueprintId', blueprintId)
33396
+ // verify required parameter 'blueprintUpdateRequest' is not null or undefined
33397
+ assertParamExists('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest)
33398
+ const localVarPath = `/blueprint/{blueprintId}`
33399
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
33400
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33401
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33402
+ let baseOptions;
33403
+ if (configuration) {
33404
+ baseOptions = configuration.baseOptions;
33405
+ }
33406
+
33407
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
33408
+ const localVarHeaderParameter = {} as any;
33409
+ const localVarQueryParameter = {} as any;
33410
+
33411
+ // authentication ApiKeyAuth required
33412
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33413
+
33414
+ // authentication bearerAuth required
33415
+ // http bearer authentication required
33416
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33417
+
33418
+
33419
+
33420
+ localVarHeaderParameter['Content-Type'] = 'application/json';
33421
+
33422
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33423
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33424
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33425
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration)
33034
33426
 
33035
33427
  return {
33036
33428
  url: toPathString(localVarUrlObj),
@@ -33089,19 +33481,33 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
33089
33481
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33090
33482
  },
33091
33483
  /**
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.
33484
+ * Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
33093
33485
  * @summary Preview a blueprint update
33094
33486
  * @param {string} blueprintId Blueprint ID
33095
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33487
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33096
33488
  * @param {*} [options] Override http request option.
33097
33489
  * @throws {RequiredError}
33098
33490
  */
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);
33491
+ async previewBlueprintUpdate(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>> {
33492
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options);
33101
33493
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33102
33494
  const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
33103
33495
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33104
33496
  },
33497
+ /**
33498
+ * Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
33499
+ * @summary Update a blueprint service
33500
+ * @param {string} blueprintId Blueprint ID
33501
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33502
+ * @param {*} [options] Override http request option.
33503
+ * @throws {RequiredError}
33504
+ */
33505
+ async updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>> {
33506
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
33507
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33508
+ const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.updateBlueprint']?.[localVarOperationServerIndex]?.url;
33509
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33510
+ },
33105
33511
  }
33106
33512
  };
33107
33513
 
@@ -33145,15 +33551,26 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
33145
33551
  return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
33146
33552
  },
33147
33553
  /**
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.
33554
+ * Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
33149
33555
  * @summary Preview a blueprint update
33150
33556
  * @param {string} blueprintId Blueprint ID
33151
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33557
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33558
+ * @param {*} [options] Override http request option.
33559
+ * @throws {RequiredError}
33560
+ */
33561
+ previewBlueprintUpdate(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
33562
+ return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
33563
+ },
33564
+ /**
33565
+ * Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
33566
+ * @summary Update a blueprint service
33567
+ * @param {string} blueprintId Blueprint ID
33568
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33152
33569
  * @param {*} [options] Override http request option.
33153
33570
  * @throws {RequiredError}
33154
33571
  */
33155
- previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
33156
- return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
33572
+ updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse> {
33573
+ return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
33157
33574
  },
33158
33575
  };
33159
33576
  };
@@ -33204,16 +33621,29 @@ export class BlueprintMainCallsApi extends BaseAPI {
33204
33621
  }
33205
33622
 
33206
33623
  /**
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.
33624
+ * Dry-runs a blueprint update without persisting any changes. Returns a preview ID and the resolved service type. Both `variables` and `spec_overrides` follow RFC 7396 patch semantics.
33208
33625
  * @summary Preview a blueprint update
33209
33626
  * @param {string} blueprintId Blueprint ID
33210
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33627
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33628
+ * @param {*} [options] Override http request option.
33629
+ * @throws {RequiredError}
33630
+ * @memberof BlueprintMainCallsApi
33631
+ */
33632
+ public previewBlueprintUpdate(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) {
33633
+ return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
33634
+ }
33635
+
33636
+ /**
33637
+ * Persists new values for a deployed blueprint service. Intended to be called after reviewing the diff returned by GET /blueprint/{blueprintId}/update. `variables` and `spec_overrides` follow JSON Merge Patch (RFC 7396) semantics: non-null value on a key upserts it, null value removes it, absent keys are left untouched, and passing null for the whole field leaves all existing values unchanged. **Note:** `name`, `tag`, and `icon` are required on every call.
33638
+ * @summary Update a blueprint service
33639
+ * @param {string} blueprintId Blueprint ID
33640
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33211
33641
  * @param {*} [options] Override http request option.
33212
33642
  * @throws {RequiredError}
33213
33643
  * @memberof BlueprintMainCallsApi
33214
33644
  */
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));
33645
+ public updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) {
33646
+ return BlueprintMainCallsApiFp(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
33217
33647
  }
33218
33648
  }
33219
33649