qovery-typescript-axios 1.1.1003 → 1.1.1004

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
@@ -38425,6 +38425,47 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
38425
38425
 
38426
38426
 
38427
38427
 
38428
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38429
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38430
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38431
+
38432
+ return {
38433
+ url: toPathString(localVarUrlObj),
38434
+ options: localVarRequestOptions,
38435
+ };
38436
+ },
38437
+ /**
38438
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
38439
+ * @summary Get master credentials of a blueprint database
38440
+ * @param {string} blueprintId Blueprint ID
38441
+ * @param {*} [options] Override http request option.
38442
+ * @throws {RequiredError}
38443
+ */
38444
+ getBlueprintDatabaseMasterCredentials: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38445
+ // verify required parameter 'blueprintId' is not null or undefined
38446
+ assertParamExists('getBlueprintDatabaseMasterCredentials', 'blueprintId', blueprintId)
38447
+ const localVarPath = `/blueprint/{blueprintId}/database/masterCredentials`
38448
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
38449
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38450
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38451
+ let baseOptions;
38452
+ if (configuration) {
38453
+ baseOptions = configuration.baseOptions;
38454
+ }
38455
+
38456
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38457
+ const localVarHeaderParameter = {} as any;
38458
+ const localVarQueryParameter = {} as any;
38459
+
38460
+ // authentication ApiKeyAuth required
38461
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38462
+
38463
+ // authentication bearerAuth required
38464
+ // http bearer authentication required
38465
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
38466
+
38467
+
38468
+
38428
38469
  setSearchParams(localVarUrlObj, localVarQueryParameter);
38429
38470
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38430
38471
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -38674,6 +38715,19 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
38674
38715
  const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintDatabase']?.[localVarOperationServerIndex]?.url;
38675
38716
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38676
38717
  },
38718
+ /**
38719
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
38720
+ * @summary Get master credentials of a blueprint database
38721
+ * @param {string} blueprintId Blueprint ID
38722
+ * @param {*} [options] Override http request option.
38723
+ * @throws {RequiredError}
38724
+ */
38725
+ async getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>> {
38726
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintDatabaseMasterCredentials(blueprintId, options);
38727
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38728
+ const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintDatabaseMasterCredentials']?.[localVarOperationServerIndex]?.url;
38729
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38730
+ },
38677
38731
  /**
38678
38732
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
38679
38733
  * @summary Get persisted blueprint variables
@@ -38799,6 +38853,16 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
38799
38853
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDatabaseResponse> {
38800
38854
  return localVarFp.getBlueprintDatabase(blueprintId, options).then((request) => request(axios, basePath));
38801
38855
  },
38856
+ /**
38857
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
38858
+ * @summary Get master credentials of a blueprint database
38859
+ * @param {string} blueprintId Blueprint ID
38860
+ * @param {*} [options] Override http request option.
38861
+ * @throws {RequiredError}
38862
+ */
38863
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Credentials> {
38864
+ return localVarFp.getBlueprintDatabaseMasterCredentials(blueprintId, options).then((request) => request(axios, basePath));
38865
+ },
38802
38866
  /**
38803
38867
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
38804
38868
  * @summary Get persisted blueprint variables
@@ -38929,6 +38993,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
38929
38993
  return BlueprintMainCallsApiFp(this.configuration).getBlueprintDatabase(blueprintId, options).then((request) => request(this.axios, this.basePath));
38930
38994
  }
38931
38995
 
38996
+ /**
38997
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
38998
+ * @summary Get master credentials of a blueprint database
38999
+ * @param {string} blueprintId Blueprint ID
39000
+ * @param {*} [options] Override http request option.
39001
+ * @throws {RequiredError}
39002
+ * @memberof BlueprintMainCallsApi
39003
+ */
39004
+ public getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig) {
39005
+ return BlueprintMainCallsApiFp(this.configuration).getBlueprintDatabaseMasterCredentials(blueprintId, options).then((request) => request(this.axios, this.basePath));
39006
+ }
39007
+
38932
39008
  /**
38933
39009
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
38934
39010
  * @summary Get persisted blueprint variables
package/dist/api.d.ts CHANGED
@@ -32684,6 +32684,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
32684
32684
  * @throws {RequiredError}
32685
32685
  */
32686
32686
  getBlueprintDatabase: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32687
+ /**
32688
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32689
+ * @summary Get master credentials of a blueprint database
32690
+ * @param {string} blueprintId Blueprint ID
32691
+ * @param {*} [options] Override http request option.
32692
+ * @throws {RequiredError}
32693
+ */
32694
+ getBlueprintDatabaseMasterCredentials: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32687
32695
  /**
32688
32696
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32689
32697
  * @summary Get persisted blueprint variables
@@ -32776,6 +32784,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
32776
32784
  * @throws {RequiredError}
32777
32785
  */
32778
32786
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDatabaseResponse>>;
32787
+ /**
32788
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32789
+ * @summary Get master credentials of a blueprint database
32790
+ * @param {string} blueprintId Blueprint ID
32791
+ * @param {*} [options] Override http request option.
32792
+ * @throws {RequiredError}
32793
+ */
32794
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>>;
32779
32795
  /**
32780
32796
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32781
32797
  * @summary Get persisted blueprint variables
@@ -32868,6 +32884,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
32868
32884
  * @throws {RequiredError}
32869
32885
  */
32870
32886
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDatabaseResponse>;
32887
+ /**
32888
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32889
+ * @summary Get master credentials of a blueprint database
32890
+ * @param {string} blueprintId Blueprint ID
32891
+ * @param {*} [options] Override http request option.
32892
+ * @throws {RequiredError}
32893
+ */
32894
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Credentials>;
32871
32895
  /**
32872
32896
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32873
32897
  * @summary Get persisted blueprint variables
@@ -32969,6 +32993,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
32969
32993
  * @memberof BlueprintMainCallsApi
32970
32994
  */
32971
32995
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintDatabaseResponse, any, {}, any>>;
32996
+ /**
32997
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32998
+ * @summary Get master credentials of a blueprint database
32999
+ * @param {string} blueprintId Blueprint ID
33000
+ * @param {*} [options] Override http request option.
33001
+ * @throws {RequiredError}
33002
+ * @memberof BlueprintMainCallsApi
33003
+ */
33004
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credentials, any, {}, any>>;
32972
33005
  /**
32973
33006
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32974
33007
  * @summary Get persisted blueprint variables
package/dist/api.js CHANGED
@@ -10047,6 +10047,40 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
10047
10047
  options: localVarRequestOptions,
10048
10048
  };
10049
10049
  }),
10050
+ /**
10051
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10052
+ * @summary Get master credentials of a blueprint database
10053
+ * @param {string} blueprintId Blueprint ID
10054
+ * @param {*} [options] Override http request option.
10055
+ * @throws {RequiredError}
10056
+ */
10057
+ getBlueprintDatabaseMasterCredentials: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
10058
+ // verify required parameter 'blueprintId' is not null or undefined
10059
+ (0, common_1.assertParamExists)('getBlueprintDatabaseMasterCredentials', 'blueprintId', blueprintId);
10060
+ const localVarPath = `/blueprint/{blueprintId}/database/masterCredentials`
10061
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
10062
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10063
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
10064
+ let baseOptions;
10065
+ if (configuration) {
10066
+ baseOptions = configuration.baseOptions;
10067
+ }
10068
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10069
+ const localVarHeaderParameter = {};
10070
+ const localVarQueryParameter = {};
10071
+ // authentication ApiKeyAuth required
10072
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
10073
+ // authentication bearerAuth required
10074
+ // http bearer authentication required
10075
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
10076
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
10077
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10078
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10079
+ return {
10080
+ url: (0, common_1.toPathString)(localVarUrlObj),
10081
+ options: localVarRequestOptions,
10082
+ };
10083
+ }),
10050
10084
  /**
10051
10085
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10052
10086
  * @summary Get persisted blueprint variables
@@ -10285,6 +10319,22 @@ const BlueprintMainCallsApiFp = function (configuration) {
10285
10319
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10286
10320
  });
10287
10321
  },
10322
+ /**
10323
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10324
+ * @summary Get master credentials of a blueprint database
10325
+ * @param {string} blueprintId Blueprint ID
10326
+ * @param {*} [options] Override http request option.
10327
+ * @throws {RequiredError}
10328
+ */
10329
+ getBlueprintDatabaseMasterCredentials(blueprintId, options) {
10330
+ return __awaiter(this, void 0, void 0, function* () {
10331
+ var _a, _b, _c;
10332
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintDatabaseMasterCredentials(blueprintId, options);
10333
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10334
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.getBlueprintDatabaseMasterCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10335
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10336
+ });
10337
+ },
10288
10338
  /**
10289
10339
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10290
10340
  * @summary Get persisted blueprint variables
@@ -10419,6 +10469,16 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
10419
10469
  getBlueprintDatabase(blueprintId, options) {
10420
10470
  return localVarFp.getBlueprintDatabase(blueprintId, options).then((request) => request(axios, basePath));
10421
10471
  },
10472
+ /**
10473
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10474
+ * @summary Get master credentials of a blueprint database
10475
+ * @param {string} blueprintId Blueprint ID
10476
+ * @param {*} [options] Override http request option.
10477
+ * @throws {RequiredError}
10478
+ */
10479
+ getBlueprintDatabaseMasterCredentials(blueprintId, options) {
10480
+ return localVarFp.getBlueprintDatabaseMasterCredentials(blueprintId, options).then((request) => request(axios, basePath));
10481
+ },
10422
10482
  /**
10423
10483
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10424
10484
  * @summary Get persisted blueprint variables
@@ -10542,6 +10602,17 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
10542
10602
  getBlueprintDatabase(blueprintId, options) {
10543
10603
  return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintDatabase(blueprintId, options).then((request) => request(this.axios, this.basePath));
10544
10604
  }
10605
+ /**
10606
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10607
+ * @summary Get master credentials of a blueprint database
10608
+ * @param {string} blueprintId Blueprint ID
10609
+ * @param {*} [options] Override http request option.
10610
+ * @throws {RequiredError}
10611
+ * @memberof BlueprintMainCallsApi
10612
+ */
10613
+ getBlueprintDatabaseMasterCredentials(blueprintId, options) {
10614
+ return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintDatabaseMasterCredentials(blueprintId, options).then((request) => request(this.axios, this.basePath));
10615
+ }
10545
10616
  /**
10546
10617
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10547
10618
  * @summary Get persisted blueprint variables
package/dist/esm/api.d.ts CHANGED
@@ -32684,6 +32684,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
32684
32684
  * @throws {RequiredError}
32685
32685
  */
32686
32686
  getBlueprintDatabase: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32687
+ /**
32688
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32689
+ * @summary Get master credentials of a blueprint database
32690
+ * @param {string} blueprintId Blueprint ID
32691
+ * @param {*} [options] Override http request option.
32692
+ * @throws {RequiredError}
32693
+ */
32694
+ getBlueprintDatabaseMasterCredentials: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32687
32695
  /**
32688
32696
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32689
32697
  * @summary Get persisted blueprint variables
@@ -32776,6 +32784,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
32776
32784
  * @throws {RequiredError}
32777
32785
  */
32778
32786
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDatabaseResponse>>;
32787
+ /**
32788
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32789
+ * @summary Get master credentials of a blueprint database
32790
+ * @param {string} blueprintId Blueprint ID
32791
+ * @param {*} [options] Override http request option.
32792
+ * @throws {RequiredError}
32793
+ */
32794
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Credentials>>;
32779
32795
  /**
32780
32796
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32781
32797
  * @summary Get persisted blueprint variables
@@ -32868,6 +32884,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
32868
32884
  * @throws {RequiredError}
32869
32885
  */
32870
32886
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDatabaseResponse>;
32887
+ /**
32888
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32889
+ * @summary Get master credentials of a blueprint database
32890
+ * @param {string} blueprintId Blueprint ID
32891
+ * @param {*} [options] Override http request option.
32892
+ * @throws {RequiredError}
32893
+ */
32894
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Credentials>;
32871
32895
  /**
32872
32896
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32873
32897
  * @summary Get persisted blueprint variables
@@ -32969,6 +32993,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
32969
32993
  * @memberof BlueprintMainCallsApi
32970
32994
  */
32971
32995
  getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintDatabaseResponse, any, {}, any>>;
32996
+ /**
32997
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
32998
+ * @summary Get master credentials of a blueprint database
32999
+ * @param {string} blueprintId Blueprint ID
33000
+ * @param {*} [options] Override http request option.
33001
+ * @throws {RequiredError}
33002
+ * @memberof BlueprintMainCallsApi
33003
+ */
33004
+ getBlueprintDatabaseMasterCredentials(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Credentials, any, {}, any>>;
32972
33005
  /**
32973
33006
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
32974
33007
  * @summary Get persisted blueprint variables
package/dist/esm/api.js CHANGED
@@ -9964,6 +9964,40 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
9964
9964
  options: localVarRequestOptions,
9965
9965
  };
9966
9966
  }),
9967
+ /**
9968
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
9969
+ * @summary Get master credentials of a blueprint database
9970
+ * @param {string} blueprintId Blueprint ID
9971
+ * @param {*} [options] Override http request option.
9972
+ * @throws {RequiredError}
9973
+ */
9974
+ getBlueprintDatabaseMasterCredentials: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
9975
+ // verify required parameter 'blueprintId' is not null or undefined
9976
+ assertParamExists('getBlueprintDatabaseMasterCredentials', 'blueprintId', blueprintId);
9977
+ const localVarPath = `/blueprint/{blueprintId}/database/masterCredentials`
9978
+ .replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
9979
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9980
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9981
+ let baseOptions;
9982
+ if (configuration) {
9983
+ baseOptions = configuration.baseOptions;
9984
+ }
9985
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9986
+ const localVarHeaderParameter = {};
9987
+ const localVarQueryParameter = {};
9988
+ // authentication ApiKeyAuth required
9989
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
9990
+ // authentication bearerAuth required
9991
+ // http bearer authentication required
9992
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9993
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9994
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9995
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9996
+ return {
9997
+ url: toPathString(localVarUrlObj),
9998
+ options: localVarRequestOptions,
9999
+ };
10000
+ }),
9967
10001
  /**
9968
10002
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
9969
10003
  * @summary Get persisted blueprint variables
@@ -10201,6 +10235,22 @@ export const BlueprintMainCallsApiFp = function (configuration) {
10201
10235
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10202
10236
  });
10203
10237
  },
10238
+ /**
10239
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10240
+ * @summary Get master credentials of a blueprint database
10241
+ * @param {string} blueprintId Blueprint ID
10242
+ * @param {*} [options] Override http request option.
10243
+ * @throws {RequiredError}
10244
+ */
10245
+ getBlueprintDatabaseMasterCredentials(blueprintId, options) {
10246
+ return __awaiter(this, void 0, void 0, function* () {
10247
+ var _a, _b, _c;
10248
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintDatabaseMasterCredentials(blueprintId, options);
10249
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10250
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.getBlueprintDatabaseMasterCredentials']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10251
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10252
+ });
10253
+ },
10204
10254
  /**
10205
10255
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10206
10256
  * @summary Get persisted blueprint variables
@@ -10334,6 +10384,16 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
10334
10384
  getBlueprintDatabase(blueprintId, options) {
10335
10385
  return localVarFp.getBlueprintDatabase(blueprintId, options).then((request) => request(axios, basePath));
10336
10386
  },
10387
+ /**
10388
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10389
+ * @summary Get master credentials of a blueprint database
10390
+ * @param {string} blueprintId Blueprint ID
10391
+ * @param {*} [options] Override http request option.
10392
+ * @throws {RequiredError}
10393
+ */
10394
+ getBlueprintDatabaseMasterCredentials(blueprintId, options) {
10395
+ return localVarFp.getBlueprintDatabaseMasterCredentials(blueprintId, options).then((request) => request(axios, basePath));
10396
+ },
10337
10397
  /**
10338
10398
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10339
10399
  * @summary Get persisted blueprint variables
@@ -10456,6 +10516,17 @@ export class BlueprintMainCallsApi extends BaseAPI {
10456
10516
  getBlueprintDatabase(blueprintId, options) {
10457
10517
  return BlueprintMainCallsApiFp(this.configuration).getBlueprintDatabase(blueprintId, options).then((request) => request(this.axios, this.basePath));
10458
10518
  }
10519
+ /**
10520
+ * Returns the host, port, login and password of the database a blueprint manages, read from the outputs of its terraform service. Requires the same permission as a managed database\'s master credentials.
10521
+ * @summary Get master credentials of a blueprint database
10522
+ * @param {string} blueprintId Blueprint ID
10523
+ * @param {*} [options] Override http request option.
10524
+ * @throws {RequiredError}
10525
+ * @memberof BlueprintMainCallsApi
10526
+ */
10527
+ getBlueprintDatabaseMasterCredentials(blueprintId, options) {
10528
+ return BlueprintMainCallsApiFp(this.configuration).getBlueprintDatabaseMasterCredentials(blueprintId, options).then((request) => request(this.axios, this.basePath));
10529
+ }
10459
10530
  /**
10460
10531
  * Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
10461
10532
  * @summary Get persisted blueprint variables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.1003",
3
+ "version": "v1.1.1004",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {