qovery-typescript-axios 1.1.911 → 1.1.912
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 +151 -10
- package/dist/api.d.ts +109 -10
- package/dist/api.js +83 -4
- package/dist/esm/api.d.ts +109 -10
- package/dist/esm/api.js +83 -4
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3844,17 +3844,17 @@ export interface BlueprintUpdatePreviewRequest {
|
|
|
3844
3844
|
*/
|
|
3845
3845
|
'icon': string;
|
|
3846
3846
|
/**
|
|
3847
|
-
*
|
|
3848
|
-
* @type {
|
|
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
3849
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3850
3850
|
*/
|
|
3851
|
-
'variables'?:
|
|
3851
|
+
'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
|
|
3852
3852
|
/**
|
|
3853
|
-
*
|
|
3854
|
-
* @type {{ [key: string]: any; }}
|
|
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
3855
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3856
3856
|
*/
|
|
3857
|
-
'spec_overrides'?: { [key: string]: any; } | null;
|
|
3857
|
+
'spec_overrides'?: { [key: string]: any | null; } | null;
|
|
3858
3858
|
}
|
|
3859
3859
|
/**
|
|
3860
3860
|
*
|
|
@@ -3896,6 +3896,43 @@ export interface BlueprintUpdateRemovedValue {
|
|
|
3896
3896
|
*/
|
|
3897
3897
|
'name': string;
|
|
3898
3898
|
}
|
|
3899
|
+
/**
|
|
3900
|
+
*
|
|
3901
|
+
* @export
|
|
3902
|
+
* @interface BlueprintUpdateRequest
|
|
3903
|
+
*/
|
|
3904
|
+
export interface BlueprintUpdateRequest {
|
|
3905
|
+
/**
|
|
3906
|
+
* Display name for the service
|
|
3907
|
+
* @type {string}
|
|
3908
|
+
* @memberof BlueprintUpdateRequest
|
|
3909
|
+
*/
|
|
3910
|
+
'name': string;
|
|
3911
|
+
/**
|
|
3912
|
+
* Catalog tag identifying the target blueprint version
|
|
3913
|
+
* @type {string}
|
|
3914
|
+
* @memberof BlueprintUpdateRequest
|
|
3915
|
+
*/
|
|
3916
|
+
'tag': string;
|
|
3917
|
+
/**
|
|
3918
|
+
* Icon URL for the service
|
|
3919
|
+
* @type {string}
|
|
3920
|
+
* @memberof BlueprintUpdateRequest
|
|
3921
|
+
*/
|
|
3922
|
+
'icon': string;
|
|
3923
|
+
/**
|
|
3924
|
+
* 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.
|
|
3925
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3926
|
+
* @memberof BlueprintUpdateRequest
|
|
3927
|
+
*/
|
|
3928
|
+
'variables'?: { [key: string]: BlueprintUpdateVariableValue; };
|
|
3929
|
+
/**
|
|
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; }}
|
|
3932
|
+
* @memberof BlueprintUpdateRequest
|
|
3933
|
+
*/
|
|
3934
|
+
'spec_overrides'?: { [key: string]: any | null; } | null;
|
|
3935
|
+
}
|
|
3899
3936
|
/**
|
|
3900
3937
|
*
|
|
3901
3938
|
* @export
|
|
@@ -3976,6 +4013,25 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
3976
4013
|
*/
|
|
3977
4014
|
'current_value'?: string | null;
|
|
3978
4015
|
}
|
|
4016
|
+
/**
|
|
4017
|
+
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
4018
|
+
* @export
|
|
4019
|
+
* @interface BlueprintUpdateVariableValue
|
|
4020
|
+
*/
|
|
4021
|
+
export interface BlueprintUpdateVariableValue {
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {string}
|
|
4025
|
+
* @memberof BlueprintUpdateVariableValue
|
|
4026
|
+
*/
|
|
4027
|
+
'value': string;
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @type {boolean}
|
|
4031
|
+
* @memberof BlueprintUpdateVariableValue
|
|
4032
|
+
*/
|
|
4033
|
+
'is_secret'?: boolean;
|
|
4034
|
+
}
|
|
3979
4035
|
/**
|
|
3980
4036
|
*
|
|
3981
4037
|
* @export
|
|
@@ -32991,7 +33047,7 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
32991
33047
|
};
|
|
32992
33048
|
},
|
|
32993
33049
|
/**
|
|
32994
|
-
* Dry-runs a blueprint update
|
|
33050
|
+
* 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
33051
|
* @summary Preview a blueprint update
|
|
32996
33052
|
* @param {string} blueprintId Blueprint ID
|
|
32997
33053
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33032,6 +33088,53 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
33032
33088
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33033
33089
|
localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration)
|
|
33034
33090
|
|
|
33091
|
+
return {
|
|
33092
|
+
url: toPathString(localVarUrlObj),
|
|
33093
|
+
options: localVarRequestOptions,
|
|
33094
|
+
};
|
|
33095
|
+
},
|
|
33096
|
+
/**
|
|
33097
|
+
* 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.
|
|
33098
|
+
* @summary Update a blueprint service
|
|
33099
|
+
* @param {string} blueprintId Blueprint ID
|
|
33100
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33101
|
+
* @param {*} [options] Override http request option.
|
|
33102
|
+
* @throws {RequiredError}
|
|
33103
|
+
*/
|
|
33104
|
+
updateBlueprint: async (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33105
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
33106
|
+
assertParamExists('updateBlueprint', 'blueprintId', blueprintId)
|
|
33107
|
+
// verify required parameter 'blueprintUpdateRequest' is not null or undefined
|
|
33108
|
+
assertParamExists('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest)
|
|
33109
|
+
const localVarPath = `/blueprint/{blueprintId}`
|
|
33110
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
33111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33113
|
+
let baseOptions;
|
|
33114
|
+
if (configuration) {
|
|
33115
|
+
baseOptions = configuration.baseOptions;
|
|
33116
|
+
}
|
|
33117
|
+
|
|
33118
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
33119
|
+
const localVarHeaderParameter = {} as any;
|
|
33120
|
+
const localVarQueryParameter = {} as any;
|
|
33121
|
+
|
|
33122
|
+
// authentication ApiKeyAuth required
|
|
33123
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33124
|
+
|
|
33125
|
+
// authentication bearerAuth required
|
|
33126
|
+
// http bearer authentication required
|
|
33127
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
33128
|
+
|
|
33129
|
+
|
|
33130
|
+
|
|
33131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
33132
|
+
|
|
33133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33135
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33136
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration)
|
|
33137
|
+
|
|
33035
33138
|
return {
|
|
33036
33139
|
url: toPathString(localVarUrlObj),
|
|
33037
33140
|
options: localVarRequestOptions,
|
|
@@ -33089,7 +33192,7 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33089
33192
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33090
33193
|
},
|
|
33091
33194
|
/**
|
|
33092
|
-
* Dry-runs a blueprint update
|
|
33195
|
+
* 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
33196
|
* @summary Preview a blueprint update
|
|
33094
33197
|
* @param {string} blueprintId Blueprint ID
|
|
33095
33198
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33102,6 +33205,20 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
33102
33205
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']?.[localVarOperationServerIndex]?.url;
|
|
33103
33206
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33104
33207
|
},
|
|
33208
|
+
/**
|
|
33209
|
+
* 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.
|
|
33210
|
+
* @summary Update a blueprint service
|
|
33211
|
+
* @param {string} blueprintId Blueprint ID
|
|
33212
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33213
|
+
* @param {*} [options] Override http request option.
|
|
33214
|
+
* @throws {RequiredError}
|
|
33215
|
+
*/
|
|
33216
|
+
async updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>> {
|
|
33217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
|
|
33218
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33219
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.updateBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
33220
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33221
|
+
},
|
|
33105
33222
|
}
|
|
33106
33223
|
};
|
|
33107
33224
|
|
|
@@ -33145,7 +33262,7 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
33145
33262
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
33146
33263
|
},
|
|
33147
33264
|
/**
|
|
33148
|
-
* Dry-runs a blueprint update
|
|
33265
|
+
* 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
33266
|
* @summary Preview a blueprint update
|
|
33150
33267
|
* @param {string} blueprintId Blueprint ID
|
|
33151
33268
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33155,6 +33272,17 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
33155
33272
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse> {
|
|
33156
33273
|
return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
|
|
33157
33274
|
},
|
|
33275
|
+
/**
|
|
33276
|
+
* 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.
|
|
33277
|
+
* @summary Update a blueprint service
|
|
33278
|
+
* @param {string} blueprintId Blueprint ID
|
|
33279
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33280
|
+
* @param {*} [options] Override http request option.
|
|
33281
|
+
* @throws {RequiredError}
|
|
33282
|
+
*/
|
|
33283
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse> {
|
|
33284
|
+
return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
|
|
33285
|
+
},
|
|
33158
33286
|
};
|
|
33159
33287
|
};
|
|
33160
33288
|
|
|
@@ -33204,7 +33332,7 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
33204
33332
|
}
|
|
33205
33333
|
|
|
33206
33334
|
/**
|
|
33207
|
-
* Dry-runs a blueprint update
|
|
33335
|
+
* 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
33336
|
* @summary Preview a blueprint update
|
|
33209
33337
|
* @param {string} blueprintId Blueprint ID
|
|
33210
33338
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -33215,6 +33343,19 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
33215
33343
|
public previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) {
|
|
33216
33344
|
return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33217
33345
|
}
|
|
33346
|
+
|
|
33347
|
+
/**
|
|
33348
|
+
* 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.
|
|
33349
|
+
* @summary Update a blueprint service
|
|
33350
|
+
* @param {string} blueprintId Blueprint ID
|
|
33351
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
33352
|
+
* @param {*} [options] Override http request option.
|
|
33353
|
+
* @throws {RequiredError}
|
|
33354
|
+
* @memberof BlueprintMainCallsApi
|
|
33355
|
+
*/
|
|
33356
|
+
public updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
33357
|
+
return BlueprintMainCallsApiFp(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33358
|
+
}
|
|
33218
33359
|
}
|
|
33219
33360
|
|
|
33220
33361
|
|
package/dist/api.d.ts
CHANGED
|
@@ -3714,18 +3714,20 @@ export interface BlueprintUpdatePreviewRequest {
|
|
|
3714
3714
|
*/
|
|
3715
3715
|
'icon': string;
|
|
3716
3716
|
/**
|
|
3717
|
-
*
|
|
3718
|
-
* @type {
|
|
3717
|
+
* 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.
|
|
3718
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3719
3719
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3720
3720
|
*/
|
|
3721
|
-
'variables'?:
|
|
3721
|
+
'variables'?: {
|
|
3722
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3723
|
+
};
|
|
3722
3724
|
/**
|
|
3723
|
-
*
|
|
3724
|
-
* @type {{ [key: string]: any; }}
|
|
3725
|
+
* 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.
|
|
3726
|
+
* @type {{ [key: string]: any | null; }}
|
|
3725
3727
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3726
3728
|
*/
|
|
3727
3729
|
'spec_overrides'?: {
|
|
3728
|
-
[key: string]: any;
|
|
3730
|
+
[key: string]: any | null;
|
|
3729
3731
|
} | null;
|
|
3730
3732
|
}
|
|
3731
3733
|
/**
|
|
@@ -3765,6 +3767,47 @@ export interface BlueprintUpdateRemovedValue {
|
|
|
3765
3767
|
*/
|
|
3766
3768
|
'name': string;
|
|
3767
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
*
|
|
3772
|
+
* @export
|
|
3773
|
+
* @interface BlueprintUpdateRequest
|
|
3774
|
+
*/
|
|
3775
|
+
export interface BlueprintUpdateRequest {
|
|
3776
|
+
/**
|
|
3777
|
+
* Display name for the service
|
|
3778
|
+
* @type {string}
|
|
3779
|
+
* @memberof BlueprintUpdateRequest
|
|
3780
|
+
*/
|
|
3781
|
+
'name': string;
|
|
3782
|
+
/**
|
|
3783
|
+
* Catalog tag identifying the target blueprint version
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof BlueprintUpdateRequest
|
|
3786
|
+
*/
|
|
3787
|
+
'tag': string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Icon URL for the service
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof BlueprintUpdateRequest
|
|
3792
|
+
*/
|
|
3793
|
+
'icon': string;
|
|
3794
|
+
/**
|
|
3795
|
+
* 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.
|
|
3796
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3797
|
+
* @memberof BlueprintUpdateRequest
|
|
3798
|
+
*/
|
|
3799
|
+
'variables'?: {
|
|
3800
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3801
|
+
};
|
|
3802
|
+
/**
|
|
3803
|
+
* 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.
|
|
3804
|
+
* @type {{ [key: string]: any | null; }}
|
|
3805
|
+
* @memberof BlueprintUpdateRequest
|
|
3806
|
+
*/
|
|
3807
|
+
'spec_overrides'?: {
|
|
3808
|
+
[key: string]: any | null;
|
|
3809
|
+
} | null;
|
|
3810
|
+
}
|
|
3768
3811
|
/**
|
|
3769
3812
|
*
|
|
3770
3813
|
* @export
|
|
@@ -3845,6 +3888,25 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
3845
3888
|
*/
|
|
3846
3889
|
'current_value'?: string | null;
|
|
3847
3890
|
}
|
|
3891
|
+
/**
|
|
3892
|
+
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
3893
|
+
* @export
|
|
3894
|
+
* @interface BlueprintUpdateVariableValue
|
|
3895
|
+
*/
|
|
3896
|
+
export interface BlueprintUpdateVariableValue {
|
|
3897
|
+
/**
|
|
3898
|
+
*
|
|
3899
|
+
* @type {string}
|
|
3900
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3901
|
+
*/
|
|
3902
|
+
'value': string;
|
|
3903
|
+
/**
|
|
3904
|
+
*
|
|
3905
|
+
* @type {boolean}
|
|
3906
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3907
|
+
*/
|
|
3908
|
+
'is_secret'?: boolean;
|
|
3909
|
+
}
|
|
3848
3910
|
/**
|
|
3849
3911
|
*
|
|
3850
3912
|
* @export
|
|
@@ -27712,7 +27774,7 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27712
27774
|
*/
|
|
27713
27775
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27714
27776
|
/**
|
|
27715
|
-
* Dry-runs a blueprint update
|
|
27777
|
+
* 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.
|
|
27716
27778
|
* @summary Preview a blueprint update
|
|
27717
27779
|
* @param {string} blueprintId Blueprint ID
|
|
27718
27780
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27720,6 +27782,15 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27720
27782
|
* @throws {RequiredError}
|
|
27721
27783
|
*/
|
|
27722
27784
|
previewBlueprintUpdate: (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27785
|
+
/**
|
|
27786
|
+
* 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.
|
|
27787
|
+
* @summary Update a blueprint service
|
|
27788
|
+
* @param {string} blueprintId Blueprint ID
|
|
27789
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27790
|
+
* @param {*} [options] Override http request option.
|
|
27791
|
+
* @throws {RequiredError}
|
|
27792
|
+
*/
|
|
27793
|
+
updateBlueprint: (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27723
27794
|
};
|
|
27724
27795
|
/**
|
|
27725
27796
|
* BlueprintMainCallsApi - functional programming interface
|
|
@@ -27753,7 +27824,7 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27753
27824
|
*/
|
|
27754
27825
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
27755
27826
|
/**
|
|
27756
|
-
* Dry-runs a blueprint update
|
|
27827
|
+
* 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.
|
|
27757
27828
|
* @summary Preview a blueprint update
|
|
27758
27829
|
* @param {string} blueprintId Blueprint ID
|
|
27759
27830
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27761,6 +27832,15 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27761
27832
|
* @throws {RequiredError}
|
|
27762
27833
|
*/
|
|
27763
27834
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>>;
|
|
27835
|
+
/**
|
|
27836
|
+
* 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.
|
|
27837
|
+
* @summary Update a blueprint service
|
|
27838
|
+
* @param {string} blueprintId Blueprint ID
|
|
27839
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27840
|
+
* @param {*} [options] Override http request option.
|
|
27841
|
+
* @throws {RequiredError}
|
|
27842
|
+
*/
|
|
27843
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
27764
27844
|
};
|
|
27765
27845
|
/**
|
|
27766
27846
|
* BlueprintMainCallsApi - factory interface
|
|
@@ -27794,7 +27874,7 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27794
27874
|
*/
|
|
27795
27875
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
27796
27876
|
/**
|
|
27797
|
-
* Dry-runs a blueprint update
|
|
27877
|
+
* 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.
|
|
27798
27878
|
* @summary Preview a blueprint update
|
|
27799
27879
|
* @param {string} blueprintId Blueprint ID
|
|
27800
27880
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27802,6 +27882,15 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27802
27882
|
* @throws {RequiredError}
|
|
27803
27883
|
*/
|
|
27804
27884
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse>;
|
|
27885
|
+
/**
|
|
27886
|
+
* 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.
|
|
27887
|
+
* @summary Update a blueprint service
|
|
27888
|
+
* @param {string} blueprintId Blueprint ID
|
|
27889
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27890
|
+
* @param {*} [options] Override http request option.
|
|
27891
|
+
* @throws {RequiredError}
|
|
27892
|
+
*/
|
|
27893
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
27805
27894
|
};
|
|
27806
27895
|
/**
|
|
27807
27896
|
* BlueprintMainCallsApi - object-oriented interface
|
|
@@ -27840,7 +27929,7 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27840
27929
|
*/
|
|
27841
27930
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
27842
27931
|
/**
|
|
27843
|
-
* Dry-runs a blueprint update
|
|
27932
|
+
* 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.
|
|
27844
27933
|
* @summary Preview a blueprint update
|
|
27845
27934
|
* @param {string} blueprintId Blueprint ID
|
|
27846
27935
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27849,6 +27938,16 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27849
27938
|
* @memberof BlueprintMainCallsApi
|
|
27850
27939
|
*/
|
|
27851
27940
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintUpdatePreviewResponse, any, {}>>;
|
|
27941
|
+
/**
|
|
27942
|
+
* 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.
|
|
27943
|
+
* @summary Update a blueprint service
|
|
27944
|
+
* @param {string} blueprintId Blueprint ID
|
|
27945
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27946
|
+
* @param {*} [options] Override http request option.
|
|
27947
|
+
* @throws {RequiredError}
|
|
27948
|
+
* @memberof BlueprintMainCallsApi
|
|
27949
|
+
*/
|
|
27950
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
27852
27951
|
}
|
|
27853
27952
|
/**
|
|
27854
27953
|
* CloudProviderApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -9201,7 +9201,7 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9201
9201
|
};
|
|
9202
9202
|
}),
|
|
9203
9203
|
/**
|
|
9204
|
-
* Dry-runs a blueprint update
|
|
9204
|
+
* 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.
|
|
9205
9205
|
* @summary Preview a blueprint update
|
|
9206
9206
|
* @param {string} blueprintId Blueprint ID
|
|
9207
9207
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9239,6 +9239,45 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9239
9239
|
options: localVarRequestOptions,
|
|
9240
9240
|
};
|
|
9241
9241
|
}),
|
|
9242
|
+
/**
|
|
9243
|
+
* 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.
|
|
9244
|
+
* @summary Update a blueprint service
|
|
9245
|
+
* @param {string} blueprintId Blueprint ID
|
|
9246
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9247
|
+
* @param {*} [options] Override http request option.
|
|
9248
|
+
* @throws {RequiredError}
|
|
9249
|
+
*/
|
|
9250
|
+
updateBlueprint: (blueprintId_1, blueprintUpdateRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdateRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdateRequest, options = {}) {
|
|
9251
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9252
|
+
(0, common_1.assertParamExists)('updateBlueprint', 'blueprintId', blueprintId);
|
|
9253
|
+
// verify required parameter 'blueprintUpdateRequest' is not null or undefined
|
|
9254
|
+
(0, common_1.assertParamExists)('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest);
|
|
9255
|
+
const localVarPath = `/blueprint/{blueprintId}`
|
|
9256
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9257
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9258
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9259
|
+
let baseOptions;
|
|
9260
|
+
if (configuration) {
|
|
9261
|
+
baseOptions = configuration.baseOptions;
|
|
9262
|
+
}
|
|
9263
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
9264
|
+
const localVarHeaderParameter = {};
|
|
9265
|
+
const localVarQueryParameter = {};
|
|
9266
|
+
// authentication ApiKeyAuth required
|
|
9267
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9268
|
+
// authentication bearerAuth required
|
|
9269
|
+
// http bearer authentication required
|
|
9270
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9271
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9272
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9273
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9274
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9275
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(blueprintUpdateRequest, localVarRequestOptions, configuration);
|
|
9276
|
+
return {
|
|
9277
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9278
|
+
options: localVarRequestOptions,
|
|
9279
|
+
};
|
|
9280
|
+
}),
|
|
9242
9281
|
};
|
|
9243
9282
|
};
|
|
9244
9283
|
exports.BlueprintMainCallsApiAxiosParamCreator = BlueprintMainCallsApiAxiosParamCreator;
|
|
@@ -9300,7 +9339,7 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9300
9339
|
});
|
|
9301
9340
|
},
|
|
9302
9341
|
/**
|
|
9303
|
-
* Dry-runs a blueprint update
|
|
9342
|
+
* 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.
|
|
9304
9343
|
* @summary Preview a blueprint update
|
|
9305
9344
|
* @param {string} blueprintId Blueprint ID
|
|
9306
9345
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9316,6 +9355,23 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9316
9355
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9317
9356
|
});
|
|
9318
9357
|
},
|
|
9358
|
+
/**
|
|
9359
|
+
* 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.
|
|
9360
|
+
* @summary Update a blueprint service
|
|
9361
|
+
* @param {string} blueprintId Blueprint ID
|
|
9362
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9363
|
+
* @param {*} [options] Override http request option.
|
|
9364
|
+
* @throws {RequiredError}
|
|
9365
|
+
*/
|
|
9366
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9367
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9368
|
+
var _a, _b, _c;
|
|
9369
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
|
|
9370
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9371
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.updateBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9372
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9373
|
+
});
|
|
9374
|
+
},
|
|
9319
9375
|
};
|
|
9320
9376
|
};
|
|
9321
9377
|
exports.BlueprintMainCallsApiFp = BlueprintMainCallsApiFp;
|
|
@@ -9359,7 +9415,7 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
9359
9415
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
9360
9416
|
},
|
|
9361
9417
|
/**
|
|
9362
|
-
* Dry-runs a blueprint update
|
|
9418
|
+
* 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.
|
|
9363
9419
|
* @summary Preview a blueprint update
|
|
9364
9420
|
* @param {string} blueprintId Blueprint ID
|
|
9365
9421
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9369,6 +9425,17 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
9369
9425
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9370
9426
|
return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
|
|
9371
9427
|
},
|
|
9428
|
+
/**
|
|
9429
|
+
* 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.
|
|
9430
|
+
* @summary Update a blueprint service
|
|
9431
|
+
* @param {string} blueprintId Blueprint ID
|
|
9432
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9433
|
+
* @param {*} [options] Override http request option.
|
|
9434
|
+
* @throws {RequiredError}
|
|
9435
|
+
*/
|
|
9436
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9437
|
+
return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
|
|
9438
|
+
},
|
|
9372
9439
|
};
|
|
9373
9440
|
};
|
|
9374
9441
|
exports.BlueprintMainCallsApiFactory = BlueprintMainCallsApiFactory;
|
|
@@ -9415,7 +9482,7 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
9415
9482
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
9416
9483
|
}
|
|
9417
9484
|
/**
|
|
9418
|
-
* Dry-runs a blueprint update
|
|
9485
|
+
* 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.
|
|
9419
9486
|
* @summary Preview a blueprint update
|
|
9420
9487
|
* @param {string} blueprintId Blueprint ID
|
|
9421
9488
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9426,6 +9493,18 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
9426
9493
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9427
9494
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9428
9495
|
}
|
|
9496
|
+
/**
|
|
9497
|
+
* 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.
|
|
9498
|
+
* @summary Update a blueprint service
|
|
9499
|
+
* @param {string} blueprintId Blueprint ID
|
|
9500
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9501
|
+
* @param {*} [options] Override http request option.
|
|
9502
|
+
* @throws {RequiredError}
|
|
9503
|
+
* @memberof BlueprintMainCallsApi
|
|
9504
|
+
*/
|
|
9505
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9506
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9507
|
+
}
|
|
9429
9508
|
}
|
|
9430
9509
|
exports.BlueprintMainCallsApi = BlueprintMainCallsApi;
|
|
9431
9510
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3714,18 +3714,20 @@ export interface BlueprintUpdatePreviewRequest {
|
|
|
3714
3714
|
*/
|
|
3715
3715
|
'icon': string;
|
|
3716
3716
|
/**
|
|
3717
|
-
*
|
|
3718
|
-
* @type {
|
|
3717
|
+
* 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.
|
|
3718
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3719
3719
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3720
3720
|
*/
|
|
3721
|
-
'variables'?:
|
|
3721
|
+
'variables'?: {
|
|
3722
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3723
|
+
};
|
|
3722
3724
|
/**
|
|
3723
|
-
*
|
|
3724
|
-
* @type {{ [key: string]: any; }}
|
|
3725
|
+
* 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.
|
|
3726
|
+
* @type {{ [key: string]: any | null; }}
|
|
3725
3727
|
* @memberof BlueprintUpdatePreviewRequest
|
|
3726
3728
|
*/
|
|
3727
3729
|
'spec_overrides'?: {
|
|
3728
|
-
[key: string]: any;
|
|
3730
|
+
[key: string]: any | null;
|
|
3729
3731
|
} | null;
|
|
3730
3732
|
}
|
|
3731
3733
|
/**
|
|
@@ -3765,6 +3767,47 @@ export interface BlueprintUpdateRemovedValue {
|
|
|
3765
3767
|
*/
|
|
3766
3768
|
'name': string;
|
|
3767
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
*
|
|
3772
|
+
* @export
|
|
3773
|
+
* @interface BlueprintUpdateRequest
|
|
3774
|
+
*/
|
|
3775
|
+
export interface BlueprintUpdateRequest {
|
|
3776
|
+
/**
|
|
3777
|
+
* Display name for the service
|
|
3778
|
+
* @type {string}
|
|
3779
|
+
* @memberof BlueprintUpdateRequest
|
|
3780
|
+
*/
|
|
3781
|
+
'name': string;
|
|
3782
|
+
/**
|
|
3783
|
+
* Catalog tag identifying the target blueprint version
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof BlueprintUpdateRequest
|
|
3786
|
+
*/
|
|
3787
|
+
'tag': string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Icon URL for the service
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof BlueprintUpdateRequest
|
|
3792
|
+
*/
|
|
3793
|
+
'icon': string;
|
|
3794
|
+
/**
|
|
3795
|
+
* 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.
|
|
3796
|
+
* @type {{ [key: string]: BlueprintUpdateVariableValue; }}
|
|
3797
|
+
* @memberof BlueprintUpdateRequest
|
|
3798
|
+
*/
|
|
3799
|
+
'variables'?: {
|
|
3800
|
+
[key: string]: BlueprintUpdateVariableValue;
|
|
3801
|
+
};
|
|
3802
|
+
/**
|
|
3803
|
+
* 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.
|
|
3804
|
+
* @type {{ [key: string]: any | null; }}
|
|
3805
|
+
* @memberof BlueprintUpdateRequest
|
|
3806
|
+
*/
|
|
3807
|
+
'spec_overrides'?: {
|
|
3808
|
+
[key: string]: any | null;
|
|
3809
|
+
} | null;
|
|
3810
|
+
}
|
|
3768
3811
|
/**
|
|
3769
3812
|
*
|
|
3770
3813
|
* @export
|
|
@@ -3845,6 +3888,25 @@ export interface BlueprintUpdateUpdatedValue {
|
|
|
3845
3888
|
*/
|
|
3846
3889
|
'current_value'?: string | null;
|
|
3847
3890
|
}
|
|
3891
|
+
/**
|
|
3892
|
+
* Value object for a variable in a patch map. Set the map value to null to remove the variable.
|
|
3893
|
+
* @export
|
|
3894
|
+
* @interface BlueprintUpdateVariableValue
|
|
3895
|
+
*/
|
|
3896
|
+
export interface BlueprintUpdateVariableValue {
|
|
3897
|
+
/**
|
|
3898
|
+
*
|
|
3899
|
+
* @type {string}
|
|
3900
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3901
|
+
*/
|
|
3902
|
+
'value': string;
|
|
3903
|
+
/**
|
|
3904
|
+
*
|
|
3905
|
+
* @type {boolean}
|
|
3906
|
+
* @memberof BlueprintUpdateVariableValue
|
|
3907
|
+
*/
|
|
3908
|
+
'is_secret'?: boolean;
|
|
3909
|
+
}
|
|
3848
3910
|
/**
|
|
3849
3911
|
*
|
|
3850
3912
|
* @export
|
|
@@ -27712,7 +27774,7 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27712
27774
|
*/
|
|
27713
27775
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27714
27776
|
/**
|
|
27715
|
-
* Dry-runs a blueprint update
|
|
27777
|
+
* 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.
|
|
27716
27778
|
* @summary Preview a blueprint update
|
|
27717
27779
|
* @param {string} blueprintId Blueprint ID
|
|
27718
27780
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27720,6 +27782,15 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27720
27782
|
* @throws {RequiredError}
|
|
27721
27783
|
*/
|
|
27722
27784
|
previewBlueprintUpdate: (blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27785
|
+
/**
|
|
27786
|
+
* 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.
|
|
27787
|
+
* @summary Update a blueprint service
|
|
27788
|
+
* @param {string} blueprintId Blueprint ID
|
|
27789
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27790
|
+
* @param {*} [options] Override http request option.
|
|
27791
|
+
* @throws {RequiredError}
|
|
27792
|
+
*/
|
|
27793
|
+
updateBlueprint: (blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27723
27794
|
};
|
|
27724
27795
|
/**
|
|
27725
27796
|
* BlueprintMainCallsApi - functional programming interface
|
|
@@ -27753,7 +27824,7 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27753
27824
|
*/
|
|
27754
27825
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
27755
27826
|
/**
|
|
27756
|
-
* Dry-runs a blueprint update
|
|
27827
|
+
* 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.
|
|
27757
27828
|
* @summary Preview a blueprint update
|
|
27758
27829
|
* @param {string} blueprintId Blueprint ID
|
|
27759
27830
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27761,6 +27832,15 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27761
27832
|
* @throws {RequiredError}
|
|
27762
27833
|
*/
|
|
27763
27834
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintUpdatePreviewResponse>>;
|
|
27835
|
+
/**
|
|
27836
|
+
* 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.
|
|
27837
|
+
* @summary Update a blueprint service
|
|
27838
|
+
* @param {string} blueprintId Blueprint ID
|
|
27839
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27840
|
+
* @param {*} [options] Override http request option.
|
|
27841
|
+
* @throws {RequiredError}
|
|
27842
|
+
*/
|
|
27843
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
27764
27844
|
};
|
|
27765
27845
|
/**
|
|
27766
27846
|
* BlueprintMainCallsApi - factory interface
|
|
@@ -27794,7 +27874,7 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27794
27874
|
*/
|
|
27795
27875
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
27796
27876
|
/**
|
|
27797
|
-
* Dry-runs a blueprint update
|
|
27877
|
+
* 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.
|
|
27798
27878
|
* @summary Preview a blueprint update
|
|
27799
27879
|
* @param {string} blueprintId Blueprint ID
|
|
27800
27880
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27802,6 +27882,15 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27802
27882
|
* @throws {RequiredError}
|
|
27803
27883
|
*/
|
|
27804
27884
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintUpdatePreviewResponse>;
|
|
27885
|
+
/**
|
|
27886
|
+
* 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.
|
|
27887
|
+
* @summary Update a blueprint service
|
|
27888
|
+
* @param {string} blueprintId Blueprint ID
|
|
27889
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27890
|
+
* @param {*} [options] Override http request option.
|
|
27891
|
+
* @throws {RequiredError}
|
|
27892
|
+
*/
|
|
27893
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
27805
27894
|
};
|
|
27806
27895
|
/**
|
|
27807
27896
|
* BlueprintMainCallsApi - object-oriented interface
|
|
@@ -27840,7 +27929,7 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27840
27929
|
*/
|
|
27841
27930
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
27842
27931
|
/**
|
|
27843
|
-
* Dry-runs a blueprint update
|
|
27932
|
+
* 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.
|
|
27844
27933
|
* @summary Preview a blueprint update
|
|
27845
27934
|
* @param {string} blueprintId Blueprint ID
|
|
27846
27935
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -27849,6 +27938,16 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
27849
27938
|
* @memberof BlueprintMainCallsApi
|
|
27850
27939
|
*/
|
|
27851
27940
|
previewBlueprintUpdate(blueprintId: string, blueprintUpdatePreviewRequest: BlueprintUpdatePreviewRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintUpdatePreviewResponse, any, {}>>;
|
|
27941
|
+
/**
|
|
27942
|
+
* 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.
|
|
27943
|
+
* @summary Update a blueprint service
|
|
27944
|
+
* @param {string} blueprintId Blueprint ID
|
|
27945
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
27946
|
+
* @param {*} [options] Override http request option.
|
|
27947
|
+
* @throws {RequiredError}
|
|
27948
|
+
* @memberof BlueprintMainCallsApi
|
|
27949
|
+
*/
|
|
27950
|
+
updateBlueprint(blueprintId: string, blueprintUpdateRequest: BlueprintUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
27852
27951
|
}
|
|
27853
27952
|
/**
|
|
27854
27953
|
* CloudProviderApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -9119,7 +9119,7 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9119
9119
|
};
|
|
9120
9120
|
}),
|
|
9121
9121
|
/**
|
|
9122
|
-
* Dry-runs a blueprint update
|
|
9122
|
+
* 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.
|
|
9123
9123
|
* @summary Preview a blueprint update
|
|
9124
9124
|
* @param {string} blueprintId Blueprint ID
|
|
9125
9125
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9157,6 +9157,45 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9157
9157
|
options: localVarRequestOptions,
|
|
9158
9158
|
};
|
|
9159
9159
|
}),
|
|
9160
|
+
/**
|
|
9161
|
+
* 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.
|
|
9162
|
+
* @summary Update a blueprint service
|
|
9163
|
+
* @param {string} blueprintId Blueprint ID
|
|
9164
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9165
|
+
* @param {*} [options] Override http request option.
|
|
9166
|
+
* @throws {RequiredError}
|
|
9167
|
+
*/
|
|
9168
|
+
updateBlueprint: (blueprintId_1, blueprintUpdateRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdateRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdateRequest, options = {}) {
|
|
9169
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9170
|
+
assertParamExists('updateBlueprint', 'blueprintId', blueprintId);
|
|
9171
|
+
// verify required parameter 'blueprintUpdateRequest' is not null or undefined
|
|
9172
|
+
assertParamExists('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest);
|
|
9173
|
+
const localVarPath = `/blueprint/{blueprintId}`
|
|
9174
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9177
|
+
let baseOptions;
|
|
9178
|
+
if (configuration) {
|
|
9179
|
+
baseOptions = configuration.baseOptions;
|
|
9180
|
+
}
|
|
9181
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
9182
|
+
const localVarHeaderParameter = {};
|
|
9183
|
+
const localVarQueryParameter = {};
|
|
9184
|
+
// authentication ApiKeyAuth required
|
|
9185
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9186
|
+
// authentication bearerAuth required
|
|
9187
|
+
// http bearer authentication required
|
|
9188
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9189
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9193
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration);
|
|
9194
|
+
return {
|
|
9195
|
+
url: toPathString(localVarUrlObj),
|
|
9196
|
+
options: localVarRequestOptions,
|
|
9197
|
+
};
|
|
9198
|
+
}),
|
|
9160
9199
|
};
|
|
9161
9200
|
};
|
|
9162
9201
|
/**
|
|
@@ -9217,7 +9256,7 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9217
9256
|
});
|
|
9218
9257
|
},
|
|
9219
9258
|
/**
|
|
9220
|
-
* Dry-runs a blueprint update
|
|
9259
|
+
* 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.
|
|
9221
9260
|
* @summary Preview a blueprint update
|
|
9222
9261
|
* @param {string} blueprintId Blueprint ID
|
|
9223
9262
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9233,6 +9272,23 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9233
9272
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9234
9273
|
});
|
|
9235
9274
|
},
|
|
9275
|
+
/**
|
|
9276
|
+
* 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.
|
|
9277
|
+
* @summary Update a blueprint service
|
|
9278
|
+
* @param {string} blueprintId Blueprint ID
|
|
9279
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9280
|
+
* @param {*} [options] Override http request option.
|
|
9281
|
+
* @throws {RequiredError}
|
|
9282
|
+
*/
|
|
9283
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9285
|
+
var _a, _b, _c;
|
|
9286
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
|
|
9287
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9288
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.updateBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9289
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9290
|
+
});
|
|
9291
|
+
},
|
|
9236
9292
|
};
|
|
9237
9293
|
};
|
|
9238
9294
|
/**
|
|
@@ -9275,7 +9331,7 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
9275
9331
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
9276
9332
|
},
|
|
9277
9333
|
/**
|
|
9278
|
-
* Dry-runs a blueprint update
|
|
9334
|
+
* 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.
|
|
9279
9335
|
* @summary Preview a blueprint update
|
|
9280
9336
|
* @param {string} blueprintId Blueprint ID
|
|
9281
9337
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9285,6 +9341,17 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
9285
9341
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9286
9342
|
return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
|
|
9287
9343
|
},
|
|
9344
|
+
/**
|
|
9345
|
+
* 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.
|
|
9346
|
+
* @summary Update a blueprint service
|
|
9347
|
+
* @param {string} blueprintId Blueprint ID
|
|
9348
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9349
|
+
* @param {*} [options] Override http request option.
|
|
9350
|
+
* @throws {RequiredError}
|
|
9351
|
+
*/
|
|
9352
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9353
|
+
return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
|
|
9354
|
+
},
|
|
9288
9355
|
};
|
|
9289
9356
|
};
|
|
9290
9357
|
/**
|
|
@@ -9330,7 +9397,7 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
9330
9397
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
9331
9398
|
}
|
|
9332
9399
|
/**
|
|
9333
|
-
* Dry-runs a blueprint update
|
|
9400
|
+
* 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.
|
|
9334
9401
|
* @summary Preview a blueprint update
|
|
9335
9402
|
* @param {string} blueprintId Blueprint ID
|
|
9336
9403
|
* @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
|
|
@@ -9341,6 +9408,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
9341
9408
|
previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
|
|
9342
9409
|
return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9343
9410
|
}
|
|
9411
|
+
/**
|
|
9412
|
+
* 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.
|
|
9413
|
+
* @summary Update a blueprint service
|
|
9414
|
+
* @param {string} blueprintId Blueprint ID
|
|
9415
|
+
* @param {BlueprintUpdateRequest} blueprintUpdateRequest
|
|
9416
|
+
* @param {*} [options] Override http request option.
|
|
9417
|
+
* @throws {RequiredError}
|
|
9418
|
+
* @memberof BlueprintMainCallsApi
|
|
9419
|
+
*/
|
|
9420
|
+
updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
|
|
9421
|
+
return BlueprintMainCallsApiFp(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9422
|
+
}
|
|
9344
9423
|
}
|
|
9345
9424
|
/**
|
|
9346
9425
|
* CloudProviderApi - axios parameter creator
|