qovery-typescript-axios 1.1.912 → 1.1.914

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
@@ -3505,11 +3505,11 @@ export interface BlueprintCreateRequest {
3505
3505
  */
3506
3506
  'variables'?: Array<BlueprintVariableRequest>;
3507
3507
  /**
3508
- * Partial spec overrides merged on top of the blueprint manifest
3509
- * @type {{ [key: string]: any; }}
3508
+ *
3509
+ * @type {BlueprintSpecOverrides}
3510
3510
  * @memberof BlueprintCreateRequest
3511
3511
  */
3512
- 'spec_overrides'?: { [key: string]: any; } | null;
3512
+ 'spec_overrides'?: BlueprintSpecOverrides;
3513
3513
  }
3514
3514
  /**
3515
3515
  *
@@ -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
@@ -3788,73 +4114,112 @@ export interface BlueprintResponse {
3788
4114
  'environment_id': string;
3789
4115
  }
3790
4116
  /**
3791
- *
4117
+ * Engine-level overrides applied on top of the blueprint manifest. Only fields whose corresponding manifest field is `overridable: true` are accepted; submitting a non-overridable field returns 422. **Terraform / OpenTofu blueprints** `engine_version` is **required** on create. The value must be one of the versions listed in `spec.engine.terraform.allowedValues` (or `opentofu.allowedValues`) in the manifest. **Helm blueprints** `engine_version`, `credentials`, and `backend` are ignored. Only `timeout` and the resource fields apply.
3792
4118
  * @export
3793
- * @interface BlueprintUpdateNewOptionalValue
4119
+ * @interface BlueprintSpecOverrides
3794
4120
  */
3795
- export interface BlueprintUpdateNewOptionalValue {
4121
+ export interface BlueprintSpecOverrides {
3796
4122
  /**
3797
- *
4123
+ * Terraform or OpenTofu version to use for the apply job. Required when the blueprint engine type is `terraform` or `opentofu`. Must be one of the versions in the manifest\'s `allowedValues` list.
3798
4124
  * @type {string}
3799
- * @memberof BlueprintUpdateNewOptionalValue
4125
+ * @memberof BlueprintSpecOverrides
3800
4126
  */
3801
- 'name': string;
4127
+ 'engine_version'?: string;
3802
4128
  /**
3803
- *
4129
+ * How the apply job authenticates against the cloud provider. `cluster` reuses the cluster\'s cloud credentials (default). `env` expects the user to supply provider credentials as environment variables on the service.
3804
4130
  * @type {string}
3805
- * @memberof BlueprintUpdateNewOptionalValue
4131
+ * @memberof BlueprintSpecOverrides
3806
4132
  */
3807
- 'default_value'?: string | null;
4133
+ 'credentials'?: BlueprintSpecOverridesCredentialsEnum;
4134
+ /**
4135
+ * Where the Terraform state is stored. `qovery` stores state in a Kubernetes secret managed by Qovery (default). `user_provided` delegates to a user-controlled remote backend declared in the manifest\'s `backend.user_provided` block.
4136
+ * @type {string}
4137
+ * @memberof BlueprintSpecOverrides
4138
+ */
4139
+ 'backend'?: BlueprintSpecOverridesBackendEnum;
4140
+ /**
4141
+ * Maximum duration in seconds for a single apply job before it is marked as timed out. Overrides the manifest\'s `spec.engine.timeout`.
4142
+ * @type {number}
4143
+ * @memberof BlueprintSpecOverrides
4144
+ */
4145
+ 'timeout'?: number;
4146
+ /**
4147
+ * CPU request/limit for the apply job pod (Kubernetes-style, e.g. `500m`). Overrides `spec.engine.resources.cpu` in the manifest.
4148
+ * @type {string}
4149
+ * @memberof BlueprintSpecOverrides
4150
+ */
4151
+ 'cpu'?: string;
4152
+ /**
4153
+ * Memory request/limit for the apply job pod (e.g. `512Mi`, `1Gi`). Overrides `spec.engine.resources.ram` in the manifest.
4154
+ * @type {string}
4155
+ * @memberof BlueprintSpecOverrides
4156
+ */
4157
+ 'ram'?: string;
4158
+ /**
4159
+ * Ephemeral storage for the apply job pod — used for state files and provider plugins (e.g. `1Gi`). Overrides `spec.engine.resources.storage` in the manifest.
4160
+ * @type {string}
4161
+ * @memberof BlueprintSpecOverrides
4162
+ */
4163
+ 'storage'?: string;
3808
4164
  }
4165
+
4166
+ export const BlueprintSpecOverridesCredentialsEnum = {
4167
+ CLUSTER: 'cluster',
4168
+ ENV: 'env'
4169
+ } as const;
4170
+
4171
+ export type BlueprintSpecOverridesCredentialsEnum = typeof BlueprintSpecOverridesCredentialsEnum[keyof typeof BlueprintSpecOverridesCredentialsEnum];
4172
+ export const BlueprintSpecOverridesBackendEnum = {
4173
+ QOVERY: 'qovery',
4174
+ USER_PROVIDED: 'user_provided'
4175
+ } as const;
4176
+
4177
+ export type BlueprintSpecOverridesBackendEnum = typeof BlueprintSpecOverridesBackendEnum[keyof typeof BlueprintSpecOverridesBackendEnum];
4178
+
3809
4179
  /**
3810
- *
4180
+ * Catalog engine-block deltas between the current and latest blueprint tag.
3811
4181
  * @export
3812
- * @interface BlueprintUpdateNewRequiredValue
4182
+ * @interface BlueprintUpdateEngineDiff
3813
4183
  */
3814
- export interface BlueprintUpdateNewRequiredValue {
4184
+ export interface BlueprintUpdateEngineDiff {
3815
4185
  /**
3816
4186
  *
3817
- * @type {string}
3818
- * @memberof BlueprintUpdateNewRequiredValue
4187
+ * @type {Array<BlueprintUpdateUpdatedValue>}
4188
+ * @memberof BlueprintUpdateEngineDiff
3819
4189
  */
3820
- 'name': string;
4190
+ 'updated_values': Array<BlueprintUpdateUpdatedValue>;
3821
4191
  }
3822
4192
  /**
3823
4193
  *
3824
4194
  * @export
3825
- * @interface BlueprintUpdatePreviewRequest
4195
+ * @interface BlueprintUpdateNewOptionalValue
3826
4196
  */
3827
- export interface BlueprintUpdatePreviewRequest {
4197
+ export interface BlueprintUpdateNewOptionalValue {
3828
4198
  /**
3829
- * Display name for the service
4199
+ *
3830
4200
  * @type {string}
3831
- * @memberof BlueprintUpdatePreviewRequest
4201
+ * @memberof BlueprintUpdateNewOptionalValue
3832
4202
  */
3833
4203
  'name': string;
3834
4204
  /**
3835
- * Catalog tag identifying the target blueprint version
4205
+ *
3836
4206
  * @type {string}
3837
- * @memberof BlueprintUpdatePreviewRequest
4207
+ * @memberof BlueprintUpdateNewOptionalValue
3838
4208
  */
3839
- 'tag': string;
4209
+ 'default_value'?: string | null;
4210
+ }
4211
+ /**
4212
+ *
4213
+ * @export
4214
+ * @interface BlueprintUpdateNewRequiredValue
4215
+ */
4216
+ export interface BlueprintUpdateNewRequiredValue {
3840
4217
  /**
3841
- * Icon URL for the service
4218
+ *
3842
4219
  * @type {string}
3843
- * @memberof BlueprintUpdatePreviewRequest
3844
- */
3845
- 'icon': string;
3846
- /**
3847
- * 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.
3848
- * @type {{ [key: string]: BlueprintUpdateVariableValue; }}
3849
- * @memberof BlueprintUpdatePreviewRequest
3850
- */
3851
- 'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
3852
- /**
3853
- * 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.
3854
- * @type {{ [key: string]: any | null; }}
3855
- * @memberof BlueprintUpdatePreviewRequest
4220
+ * @memberof BlueprintUpdateNewRequiredValue
3856
4221
  */
3857
- 'spec_overrides'?: { [key: string]: any | null; } | null;
4222
+ 'name': string;
3858
4223
  }
3859
4224
  /**
3860
4225
  *
@@ -3927,11 +4292,11 @@ export interface BlueprintUpdateRequest {
3927
4292
  */
3928
4293
  'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
3929
4294
  /**
3930
- * 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.
3931
- * @type {{ [key: string]: any | null; }}
4295
+ * JSON Merge Patch (RFC 7396) applied to the stored spec_overrides (see `BlueprintSpecOverrides` for the list of valid fields). A non-null field value upserts the override; a null value removes it. Pass null or omit the field entirely to leave all existing overrides unchanged.
4296
+ * @type {BlueprintSpecOverrides}
3932
4297
  * @memberof BlueprintUpdateRequest
3933
4298
  */
3934
- 'spec_overrides'?: { [key: string]: any | null; } | null;
4299
+ 'spec_overrides'?: BlueprintSpecOverrides | null;
3935
4300
  }
3936
4301
  /**
3937
4302
  *
@@ -3981,6 +4346,12 @@ export interface BlueprintUpdateResponse {
3981
4346
  * @memberof BlueprintUpdateResponse
3982
4347
  */
3983
4348
  'removed_values': Array<BlueprintUpdateRemovedValue>;
4349
+ /**
4350
+ *
4351
+ * @type {BlueprintUpdateEngineDiff}
4352
+ * @memberof BlueprintUpdateResponse
4353
+ */
4354
+ 'engine_diff': BlueprintUpdateEngineDiff;
3984
4355
  }
3985
4356
  /**
3986
4357
  *
@@ -13080,25 +13451,6 @@ export interface GenericObjectCurrentCost {
13080
13451
  */
13081
13452
  'cost': Cost;
13082
13453
  }
13083
- /**
13084
- *
13085
- * @export
13086
- * @interface GetBlueprintCatalogServiceManifest200Response
13087
- */
13088
- export interface GetBlueprintCatalogServiceManifest200Response {
13089
- /**
13090
- *
13091
- * @type {Array<GetBlueprintCatalogServiceManifest200ResponseResultsInner>}
13092
- * @memberof GetBlueprintCatalogServiceManifest200Response
13093
- */
13094
- 'results'?: Array<GetBlueprintCatalogServiceManifest200ResponseResultsInner>;
13095
- }
13096
- /**
13097
- * @type GetBlueprintCatalogServiceManifest200ResponseResultsInner
13098
- * @export
13099
- */
13100
- export type GetBlueprintCatalogServiceManifest200ResponseResultsInner = { kind: 'contextVariable' } & BlueprintManifestContextVariableField | { kind: 'variable' } & BlueprintManifestVariableField;
13101
-
13102
13454
  /**
13103
13455
  *
13104
13456
  * @export
@@ -32803,7 +33155,7 @@ export const BlueprintCatalogApiFp = function(configuration?: Configuration) {
32803
33155
  * @param {*} [options] Override http request option.
32804
33156
  * @throws {RequiredError}
32805
33157
  */
32806
- async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBlueprintCatalogServiceManifest200Response>> {
33158
+ async getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintManifestResponse>> {
32807
33159
  const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options);
32808
33160
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32809
33161
  const localVarOperationServerBasePath = operationServerMap['BlueprintCatalogApi.getBlueprintCatalogServiceManifest']?.[localVarOperationServerIndex]?.url;
@@ -32846,7 +33198,7 @@ export const BlueprintCatalogApiFactory = function (configuration?: Configuratio
32846
33198
  * @param {*} [options] Override http request option.
32847
33199
  * @throws {RequiredError}
32848
33200
  */
32849
- getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetBlueprintCatalogServiceManifest200Response> {
33201
+ getBlueprintCatalogServiceManifest(organizationId: string, provider: string, serviceFamily: string, serviceVersion: string, environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintManifestResponse> {
32850
33202
  return localVarFp.getBlueprintCatalogServiceManifest(organizationId, provider, serviceFamily, serviceVersion, environmentId, options).then((request) => request(axios, basePath));
32851
33203
  },
32852
33204
  /**
@@ -33050,15 +33402,15 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
33050
33402
  * 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.
33051
33403
  * @summary Preview a blueprint update
33052
33404
  * @param {string} blueprintId Blueprint ID
33053
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33405
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33054
33406
  * @param {*} [options] Override http request option.
33055
33407
  * @throws {RequiredError}
33056
33408
  */
33057
- previewBlueprintUpdate: async (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33409
+ previewBlueprintUpdate: async (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33058
33410
  // verify required parameter 'blueprintId' is not null or undefined
33059
33411
  assertParamExists('previewBlueprintUpdate', 'blueprintId', blueprintId)
33060
- // verify required parameter 'blueprintUpdatePreviewRequest' is not null or undefined
33061
- assertParamExists('previewBlueprintUpdate', 'blueprintUpdatePreviewRequest', blueprintUpdatePreviewRequest)
33412
+ // verify required parameter 'blueprintUpdateRequest' is not null or undefined
33413
+ assertParamExists('previewBlueprintUpdate', 'blueprintUpdateRequest', blueprintUpdateRequest)
33062
33414
  const localVarPath = `/blueprint/{blueprintId}/update/preview`
33063
33415
  .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
33064
33416
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -33086,7 +33438,7 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
33086
33438
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33087
33439
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33088
33440
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33089
- localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration)
33441
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration)
33090
33442
 
33091
33443
  return {
33092
33444
  url: toPathString(localVarUrlObj),
@@ -33195,12 +33547,12 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
33195
33547
  * 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.
33196
33548
  * @summary Preview a blueprint update
33197
33549
  * @param {string} blueprintId Blueprint ID
33198
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33550
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33199
33551
  * @param {*} [options] Override http request option.
33200
33552
  * @throws {RequiredError}
33201
33553
  */
33202
- async previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>> {
33203
- const localVarAxiosArgs = await localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options);
33554
+ async previewBlueprintUpdate(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>> {
33555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options);
33204
33556
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33205
33557
  const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
33206
33558
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -33265,12 +33617,12 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
33265
33617
  * 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.
33266
33618
  * @summary Preview a blueprint update
33267
33619
  * @param {string} blueprintId Blueprint ID
33268
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33620
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33269
33621
  * @param {*} [options] Override http request option.
33270
33622
  * @throws {RequiredError}
33271
33623
  */
33272
- previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
33273
- return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
33624
+ previewBlueprintUpdate(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
33625
+ return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
33274
33626
  },
33275
33627
  /**
33276
33628
  * 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.
@@ -33335,13 +33687,13 @@ export class BlueprintMainCallsApi extends BaseAPI {
33335
33687
  * 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.
33336
33688
  * @summary Preview a blueprint update
33337
33689
  * @param {string} blueprintId Blueprint ID
33338
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
33690
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
33339
33691
  * @param {*} [options] Override http request option.
33340
33692
  * @throws {RequiredError}
33341
33693
  * @memberof BlueprintMainCallsApi
33342
33694
  */
33343
- public previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) {
33344
- return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
33695
+ public previewBlueprintUpdate(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) {
33696
+ return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
33345
33697
  }
33346
33698
 
33347
33699
  /**