qovery-typescript-axios 1.1.911 → 1.1.913

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -241,6 +241,15 @@ export const AzureStaticClusterCredentialsObjectTypeEnum = {
241
241
  export const BlueprintManifestContextVariableFieldKindEnum = {
242
242
  CONTEXT_VARIABLE: 'contextVariable'
243
243
  };
244
+ export const BlueprintManifestEngineHelmTypeEnum = {
245
+ HELM: 'helm'
246
+ };
247
+ export const BlueprintManifestEngineOpenTofuTypeEnum = {
248
+ OPENTOFU: 'opentofu'
249
+ };
250
+ export const BlueprintManifestEngineTerraformTypeEnum = {
251
+ TERRAFORM: 'terraform'
252
+ };
244
253
  export const BlueprintManifestFieldTypeTypeEnum = {
245
254
  STRING: 'string',
246
255
  BOOL: 'bool',
@@ -9119,18 +9128,18 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
9119
9128
  };
9120
9129
  }),
9121
9130
  /**
9122
- * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
9131
+ * 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
9132
  * @summary Preview a blueprint update
9124
9133
  * @param {string} blueprintId Blueprint ID
9125
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
9134
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9126
9135
  * @param {*} [options] Override http request option.
9127
9136
  * @throws {RequiredError}
9128
9137
  */
9129
- previewBlueprintUpdate: (blueprintId_1, blueprintUpdatePreviewRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdatePreviewRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdatePreviewRequest, options = {}) {
9138
+ previewBlueprintUpdate: (blueprintId_1, blueprintUpdateRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdateRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdateRequest, options = {}) {
9130
9139
  // verify required parameter 'blueprintId' is not null or undefined
9131
9140
  assertParamExists('previewBlueprintUpdate', 'blueprintId', blueprintId);
9132
- // verify required parameter 'blueprintUpdatePreviewRequest' is not null or undefined
9133
- assertParamExists('previewBlueprintUpdate', 'blueprintUpdatePreviewRequest', blueprintUpdatePreviewRequest);
9141
+ // verify required parameter 'blueprintUpdateRequest' is not null or undefined
9142
+ assertParamExists('previewBlueprintUpdate', 'blueprintUpdateRequest', blueprintUpdateRequest);
9134
9143
  const localVarPath = `/blueprint/{blueprintId}/update/preview`
9135
9144
  .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
9136
9145
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -9151,7 +9160,46 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
9151
9160
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9152
9161
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9153
9162
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9154
- localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdatePreviewRequest, localVarRequestOptions, configuration);
9163
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration);
9164
+ return {
9165
+ url: toPathString(localVarUrlObj),
9166
+ options: localVarRequestOptions,
9167
+ };
9168
+ }),
9169
+ /**
9170
+ * 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.
9171
+ * @summary Update a blueprint service
9172
+ * @param {string} blueprintId Blueprint ID
9173
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9174
+ * @param {*} [options] Override http request option.
9175
+ * @throws {RequiredError}
9176
+ */
9177
+ updateBlueprint: (blueprintId_1, blueprintUpdateRequest_1, ...args_1) => __awaiter(this, [blueprintId_1, blueprintUpdateRequest_1, ...args_1], void 0, function* (blueprintId, blueprintUpdateRequest, options = {}) {
9178
+ // verify required parameter 'blueprintId' is not null or undefined
9179
+ assertParamExists('updateBlueprint', 'blueprintId', blueprintId);
9180
+ // verify required parameter 'blueprintUpdateRequest' is not null or undefined
9181
+ assertParamExists('updateBlueprint', 'blueprintUpdateRequest', blueprintUpdateRequest);
9182
+ const localVarPath = `/blueprint/{blueprintId}`
9183
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
9184
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9185
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9186
+ let baseOptions;
9187
+ if (configuration) {
9188
+ baseOptions = configuration.baseOptions;
9189
+ }
9190
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
9191
+ const localVarHeaderParameter = {};
9192
+ const localVarQueryParameter = {};
9193
+ // authentication ApiKeyAuth required
9194
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
9195
+ // authentication bearerAuth required
9196
+ // http bearer authentication required
9197
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9198
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9199
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9201
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9202
+ localVarRequestOptions.data = serializeDataIfNeeded(blueprintUpdateRequest, localVarRequestOptions, configuration);
9155
9203
  return {
9156
9204
  url: toPathString(localVarUrlObj),
9157
9205
  options: localVarRequestOptions,
@@ -9217,22 +9265,39 @@ export const BlueprintMainCallsApiFp = function (configuration) {
9217
9265
  });
9218
9266
  },
9219
9267
  /**
9220
- * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
9268
+ * 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
9269
  * @summary Preview a blueprint update
9222
9270
  * @param {string} blueprintId Blueprint ID
9223
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
9271
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9224
9272
  * @param {*} [options] Override http request option.
9225
9273
  * @throws {RequiredError}
9226
9274
  */
9227
- previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
9275
+ previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options) {
9228
9276
  return __awaiter(this, void 0, void 0, function* () {
9229
9277
  var _a, _b, _c;
9230
- const localVarAxiosArgs = yield localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options);
9278
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options);
9231
9279
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9232
9280
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.previewBlueprintUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9233
9281
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9234
9282
  });
9235
9283
  },
9284
+ /**
9285
+ * 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.
9286
+ * @summary Update a blueprint service
9287
+ * @param {string} blueprintId Blueprint ID
9288
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9289
+ * @param {*} [options] Override http request option.
9290
+ * @throws {RequiredError}
9291
+ */
9292
+ updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
9293
+ return __awaiter(this, void 0, void 0, function* () {
9294
+ var _a, _b, _c;
9295
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateBlueprint(blueprintId, blueprintUpdateRequest, options);
9296
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9297
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.updateBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9298
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9299
+ });
9300
+ },
9236
9301
  };
9237
9302
  };
9238
9303
  /**
@@ -9275,15 +9340,26 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
9275
9340
  return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
9276
9341
  },
9277
9342
  /**
9278
- * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
9343
+ * 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
9344
  * @summary Preview a blueprint update
9280
9345
  * @param {string} blueprintId Blueprint ID
9281
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
9346
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9347
+ * @param {*} [options] Override http request option.
9348
+ * @throws {RequiredError}
9349
+ */
9350
+ previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options) {
9351
+ return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
9352
+ },
9353
+ /**
9354
+ * 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.
9355
+ * @summary Update a blueprint service
9356
+ * @param {string} blueprintId Blueprint ID
9357
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9282
9358
  * @param {*} [options] Override http request option.
9283
9359
  * @throws {RequiredError}
9284
9360
  */
9285
- previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
9286
- return localVarFp.previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(axios, basePath));
9361
+ updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
9362
+ return localVarFp.updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(axios, basePath));
9287
9363
  },
9288
9364
  };
9289
9365
  };
@@ -9330,16 +9406,28 @@ export class BlueprintMainCallsApi extends BaseAPI {
9330
9406
  return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
9331
9407
  }
9332
9408
  /**
9333
- * Dry-runs a blueprint update by applying the given variables and spec overrides without persisting any changes. Returns a preview ID and the resolved service type.
9409
+ * 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
9410
  * @summary Preview a blueprint update
9335
9411
  * @param {string} blueprintId Blueprint ID
9336
- * @param {BlueprintUpdatePreviewRequest} blueprintUpdatePreviewRequest
9412
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9413
+ * @param {*} [options] Override http request option.
9414
+ * @throws {RequiredError}
9415
+ * @memberof BlueprintMainCallsApi
9416
+ */
9417
+ previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options) {
9418
+ return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
9419
+ }
9420
+ /**
9421
+ * 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.
9422
+ * @summary Update a blueprint service
9423
+ * @param {string} blueprintId Blueprint ID
9424
+ * @param {BlueprintUpdateRequest} blueprintUpdateRequest
9337
9425
  * @param {*} [options] Override http request option.
9338
9426
  * @throws {RequiredError}
9339
9427
  * @memberof BlueprintMainCallsApi
9340
9428
  */
9341
- previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options) {
9342
- return BlueprintMainCallsApiFp(this.configuration).previewBlueprintUpdate(blueprintId, blueprintUpdatePreviewRequest, options).then((request) => request(this.axios, this.basePath));
9429
+ updateBlueprint(blueprintId, blueprintUpdateRequest, options) {
9430
+ return BlueprintMainCallsApiFp(this.configuration).updateBlueprint(blueprintId, blueprintUpdateRequest, options).then((request) => request(this.axios, this.basePath));
9343
9431
  }
9344
9432
  }
9345
9433
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.911",
3
+ "version": "v1.1.913",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {