qovery-typescript-axios 1.1.1000 → 1.1.1001
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 +122 -0
- package/dist/api.d.ts +77 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +77 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4451,6 +4451,33 @@ export interface BlueprintCreationResponse {
|
|
|
4451
4451
|
*/
|
|
4452
4452
|
'execution_id': string;
|
|
4453
4453
|
}
|
|
4454
|
+
/**
|
|
4455
|
+
* Database a blueprint manages
|
|
4456
|
+
* @export
|
|
4457
|
+
* @interface BlueprintDatabaseResponse
|
|
4458
|
+
*/
|
|
4459
|
+
export interface BlueprintDatabaseResponse {
|
|
4460
|
+
/**
|
|
4461
|
+
*
|
|
4462
|
+
* @type {DatabaseTypeEnum}
|
|
4463
|
+
* @memberof BlueprintDatabaseResponse
|
|
4464
|
+
*/
|
|
4465
|
+
'kind': DatabaseTypeEnum;
|
|
4466
|
+
/**
|
|
4467
|
+
* Terraform service the blueprint created; null before its first dispatch
|
|
4468
|
+
* @type {string}
|
|
4469
|
+
* @memberof BlueprintDatabaseResponse
|
|
4470
|
+
*/
|
|
4471
|
+
'service_id': string | null;
|
|
4472
|
+
/**
|
|
4473
|
+
* Null until a deploy has reported the database endpoint
|
|
4474
|
+
* @type {DatabaseEndpointsResponse}
|
|
4475
|
+
* @memberof BlueprintDatabaseResponse
|
|
4476
|
+
*/
|
|
4477
|
+
'endpoint': DatabaseEndpointsResponse | null;
|
|
4478
|
+
}
|
|
4479
|
+
|
|
4480
|
+
|
|
4454
4481
|
/**
|
|
4455
4482
|
*
|
|
4456
4483
|
* @export
|
|
@@ -11799,6 +11826,25 @@ export const DatabaseEditRequestDiskTypeEnum = {
|
|
|
11799
11826
|
|
|
11800
11827
|
export type DatabaseEditRequestDiskTypeEnum = typeof DatabaseEditRequestDiskTypeEnum[keyof typeof DatabaseEditRequestDiskTypeEnum];
|
|
11801
11828
|
|
|
11829
|
+
/**
|
|
11830
|
+
* Endpoint of a database
|
|
11831
|
+
* @export
|
|
11832
|
+
* @interface DatabaseEndpointsResponse
|
|
11833
|
+
*/
|
|
11834
|
+
export interface DatabaseEndpointsResponse {
|
|
11835
|
+
/**
|
|
11836
|
+
* Database hostname, from the DB_ADDRESS terraform output
|
|
11837
|
+
* @type {string}
|
|
11838
|
+
* @memberof DatabaseEndpointsResponse
|
|
11839
|
+
*/
|
|
11840
|
+
'host': string;
|
|
11841
|
+
/**
|
|
11842
|
+
* Database port, from the DB_PORT terraform output; null when none is reported
|
|
11843
|
+
* @type {number}
|
|
11844
|
+
* @memberof DatabaseEndpointsResponse
|
|
11845
|
+
*/
|
|
11846
|
+
'port'?: number | null;
|
|
11847
|
+
}
|
|
11802
11848
|
/**
|
|
11803
11849
|
*
|
|
11804
11850
|
* @export
|
|
@@ -38338,6 +38384,47 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
38338
38384
|
|
|
38339
38385
|
|
|
38340
38386
|
|
|
38387
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38389
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38390
|
+
|
|
38391
|
+
return {
|
|
38392
|
+
url: toPathString(localVarUrlObj),
|
|
38393
|
+
options: localVarRequestOptions,
|
|
38394
|
+
};
|
|
38395
|
+
},
|
|
38396
|
+
/**
|
|
38397
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
38398
|
+
* @summary Get the database a blueprint manages
|
|
38399
|
+
* @param {string} blueprintId Blueprint ID
|
|
38400
|
+
* @param {*} [options] Override http request option.
|
|
38401
|
+
* @throws {RequiredError}
|
|
38402
|
+
*/
|
|
38403
|
+
getBlueprintDatabase: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38404
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
38405
|
+
assertParamExists('getBlueprintDatabase', 'blueprintId', blueprintId)
|
|
38406
|
+
const localVarPath = `/blueprint/{blueprintId}/database`
|
|
38407
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
38408
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38409
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38410
|
+
let baseOptions;
|
|
38411
|
+
if (configuration) {
|
|
38412
|
+
baseOptions = configuration.baseOptions;
|
|
38413
|
+
}
|
|
38414
|
+
|
|
38415
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38416
|
+
const localVarHeaderParameter = {} as any;
|
|
38417
|
+
const localVarQueryParameter = {} as any;
|
|
38418
|
+
|
|
38419
|
+
// authentication ApiKeyAuth required
|
|
38420
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38421
|
+
|
|
38422
|
+
// authentication bearerAuth required
|
|
38423
|
+
// http bearer authentication required
|
|
38424
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38425
|
+
|
|
38426
|
+
|
|
38427
|
+
|
|
38341
38428
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38342
38429
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38343
38430
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -38574,6 +38661,19 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
38574
38661
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintCatalog']?.[localVarOperationServerIndex]?.url;
|
|
38575
38662
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38576
38663
|
},
|
|
38664
|
+
/**
|
|
38665
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
38666
|
+
* @summary Get the database a blueprint manages
|
|
38667
|
+
* @param {string} blueprintId Blueprint ID
|
|
38668
|
+
* @param {*} [options] Override http request option.
|
|
38669
|
+
* @throws {RequiredError}
|
|
38670
|
+
*/
|
|
38671
|
+
async getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDatabaseResponse>> {
|
|
38672
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintDatabase(blueprintId, options);
|
|
38673
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38674
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintDatabase']?.[localVarOperationServerIndex]?.url;
|
|
38675
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38676
|
+
},
|
|
38577
38677
|
/**
|
|
38578
38678
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
38579
38679
|
* @summary Get persisted blueprint variables
|
|
@@ -38689,6 +38789,16 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
38689
38789
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse> {
|
|
38690
38790
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
38691
38791
|
},
|
|
38792
|
+
/**
|
|
38793
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
38794
|
+
* @summary Get the database a blueprint manages
|
|
38795
|
+
* @param {string} blueprintId Blueprint ID
|
|
38796
|
+
* @param {*} [options] Override http request option.
|
|
38797
|
+
* @throws {RequiredError}
|
|
38798
|
+
*/
|
|
38799
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDatabaseResponse> {
|
|
38800
|
+
return localVarFp.getBlueprintDatabase(blueprintId, options).then((request) => request(axios, basePath));
|
|
38801
|
+
},
|
|
38692
38802
|
/**
|
|
38693
38803
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
38694
38804
|
* @summary Get persisted blueprint variables
|
|
@@ -38807,6 +38917,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
38807
38917
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
38808
38918
|
}
|
|
38809
38919
|
|
|
38920
|
+
/**
|
|
38921
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
38922
|
+
* @summary Get the database a blueprint manages
|
|
38923
|
+
* @param {string} blueprintId Blueprint ID
|
|
38924
|
+
* @param {*} [options] Override http request option.
|
|
38925
|
+
* @throws {RequiredError}
|
|
38926
|
+
* @memberof BlueprintMainCallsApi
|
|
38927
|
+
*/
|
|
38928
|
+
public getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig) {
|
|
38929
|
+
return BlueprintMainCallsApiFp(this.configuration).getBlueprintDatabase(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
38930
|
+
}
|
|
38931
|
+
|
|
38810
38932
|
/**
|
|
38811
38933
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
38812
38934
|
* @summary Get persisted blueprint variables
|
package/dist/api.d.ts
CHANGED
|
@@ -4306,6 +4306,31 @@ export interface BlueprintCreationResponse {
|
|
|
4306
4306
|
*/
|
|
4307
4307
|
'execution_id': string;
|
|
4308
4308
|
}
|
|
4309
|
+
/**
|
|
4310
|
+
* Database a blueprint manages
|
|
4311
|
+
* @export
|
|
4312
|
+
* @interface BlueprintDatabaseResponse
|
|
4313
|
+
*/
|
|
4314
|
+
export interface BlueprintDatabaseResponse {
|
|
4315
|
+
/**
|
|
4316
|
+
*
|
|
4317
|
+
* @type {DatabaseTypeEnum}
|
|
4318
|
+
* @memberof BlueprintDatabaseResponse
|
|
4319
|
+
*/
|
|
4320
|
+
'kind': DatabaseTypeEnum;
|
|
4321
|
+
/**
|
|
4322
|
+
* Terraform service the blueprint created; null before its first dispatch
|
|
4323
|
+
* @type {string}
|
|
4324
|
+
* @memberof BlueprintDatabaseResponse
|
|
4325
|
+
*/
|
|
4326
|
+
'service_id': string | null;
|
|
4327
|
+
/**
|
|
4328
|
+
* Null until a deploy has reported the database endpoint
|
|
4329
|
+
* @type {DatabaseEndpointsResponse}
|
|
4330
|
+
* @memberof BlueprintDatabaseResponse
|
|
4331
|
+
*/
|
|
4332
|
+
'endpoint': DatabaseEndpointsResponse | null;
|
|
4333
|
+
}
|
|
4309
4334
|
/**
|
|
4310
4335
|
*
|
|
4311
4336
|
* @export
|
|
@@ -11514,6 +11539,25 @@ export declare const DatabaseEditRequestDiskTypeEnum: {
|
|
|
11514
11539
|
readonly GP3: "gp3";
|
|
11515
11540
|
};
|
|
11516
11541
|
export type DatabaseEditRequestDiskTypeEnum = typeof DatabaseEditRequestDiskTypeEnum[keyof typeof DatabaseEditRequestDiskTypeEnum];
|
|
11542
|
+
/**
|
|
11543
|
+
* Endpoint of a database
|
|
11544
|
+
* @export
|
|
11545
|
+
* @interface DatabaseEndpointsResponse
|
|
11546
|
+
*/
|
|
11547
|
+
export interface DatabaseEndpointsResponse {
|
|
11548
|
+
/**
|
|
11549
|
+
* Database hostname, from the DB_ADDRESS terraform output
|
|
11550
|
+
* @type {string}
|
|
11551
|
+
* @memberof DatabaseEndpointsResponse
|
|
11552
|
+
*/
|
|
11553
|
+
'host': string;
|
|
11554
|
+
/**
|
|
11555
|
+
* Database port, from the DB_PORT terraform output; null when none is reported
|
|
11556
|
+
* @type {number}
|
|
11557
|
+
* @memberof DatabaseEndpointsResponse
|
|
11558
|
+
*/
|
|
11559
|
+
'port'?: number | null;
|
|
11560
|
+
}
|
|
11517
11561
|
/**
|
|
11518
11562
|
*
|
|
11519
11563
|
* @export
|
|
@@ -32632,6 +32676,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
32632
32676
|
* @throws {RequiredError}
|
|
32633
32677
|
*/
|
|
32634
32678
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32679
|
+
/**
|
|
32680
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32681
|
+
* @summary Get the database a blueprint manages
|
|
32682
|
+
* @param {string} blueprintId Blueprint ID
|
|
32683
|
+
* @param {*} [options] Override http request option.
|
|
32684
|
+
* @throws {RequiredError}
|
|
32685
|
+
*/
|
|
32686
|
+
getBlueprintDatabase: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32635
32687
|
/**
|
|
32636
32688
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32637
32689
|
* @summary Get persisted blueprint variables
|
|
@@ -32716,6 +32768,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
32716
32768
|
* @throws {RequiredError}
|
|
32717
32769
|
*/
|
|
32718
32770
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
32771
|
+
/**
|
|
32772
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32773
|
+
* @summary Get the database a blueprint manages
|
|
32774
|
+
* @param {string} blueprintId Blueprint ID
|
|
32775
|
+
* @param {*} [options] Override http request option.
|
|
32776
|
+
* @throws {RequiredError}
|
|
32777
|
+
*/
|
|
32778
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDatabaseResponse>>;
|
|
32719
32779
|
/**
|
|
32720
32780
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32721
32781
|
* @summary Get persisted blueprint variables
|
|
@@ -32800,6 +32860,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
32800
32860
|
* @throws {RequiredError}
|
|
32801
32861
|
*/
|
|
32802
32862
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
32863
|
+
/**
|
|
32864
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32865
|
+
* @summary Get the database a blueprint manages
|
|
32866
|
+
* @param {string} blueprintId Blueprint ID
|
|
32867
|
+
* @param {*} [options] Override http request option.
|
|
32868
|
+
* @throws {RequiredError}
|
|
32869
|
+
*/
|
|
32870
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDatabaseResponse>;
|
|
32803
32871
|
/**
|
|
32804
32872
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32805
32873
|
* @summary Get persisted blueprint variables
|
|
@@ -32892,6 +32960,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
32892
32960
|
* @memberof BlueprintMainCallsApi
|
|
32893
32961
|
*/
|
|
32894
32962
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
32963
|
+
/**
|
|
32964
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32965
|
+
* @summary Get the database a blueprint manages
|
|
32966
|
+
* @param {string} blueprintId Blueprint ID
|
|
32967
|
+
* @param {*} [options] Override http request option.
|
|
32968
|
+
* @throws {RequiredError}
|
|
32969
|
+
* @memberof BlueprintMainCallsApi
|
|
32970
|
+
*/
|
|
32971
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintDatabaseResponse, any, {}>>;
|
|
32895
32972
|
/**
|
|
32896
32973
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32897
32974
|
* @summary Get persisted blueprint variables
|
package/dist/api.js
CHANGED
|
@@ -10013,6 +10013,40 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
10013
10013
|
options: localVarRequestOptions,
|
|
10014
10014
|
};
|
|
10015
10015
|
}),
|
|
10016
|
+
/**
|
|
10017
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10018
|
+
* @summary Get the database a blueprint manages
|
|
10019
|
+
* @param {string} blueprintId Blueprint ID
|
|
10020
|
+
* @param {*} [options] Override http request option.
|
|
10021
|
+
* @throws {RequiredError}
|
|
10022
|
+
*/
|
|
10023
|
+
getBlueprintDatabase: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
10024
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
10025
|
+
(0, common_1.assertParamExists)('getBlueprintDatabase', 'blueprintId', blueprintId);
|
|
10026
|
+
const localVarPath = `/blueprint/{blueprintId}/database`
|
|
10027
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
10028
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10029
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10030
|
+
let baseOptions;
|
|
10031
|
+
if (configuration) {
|
|
10032
|
+
baseOptions = configuration.baseOptions;
|
|
10033
|
+
}
|
|
10034
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10035
|
+
const localVarHeaderParameter = {};
|
|
10036
|
+
const localVarQueryParameter = {};
|
|
10037
|
+
// authentication ApiKeyAuth required
|
|
10038
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10039
|
+
// authentication bearerAuth required
|
|
10040
|
+
// http bearer authentication required
|
|
10041
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10042
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10043
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10044
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10045
|
+
return {
|
|
10046
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10047
|
+
options: localVarRequestOptions,
|
|
10048
|
+
};
|
|
10049
|
+
}),
|
|
10016
10050
|
/**
|
|
10017
10051
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10018
10052
|
* @summary Get persisted blueprint variables
|
|
@@ -10235,6 +10269,22 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
10235
10269
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10236
10270
|
});
|
|
10237
10271
|
},
|
|
10272
|
+
/**
|
|
10273
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10274
|
+
* @summary Get the database a blueprint manages
|
|
10275
|
+
* @param {string} blueprintId Blueprint ID
|
|
10276
|
+
* @param {*} [options] Override http request option.
|
|
10277
|
+
* @throws {RequiredError}
|
|
10278
|
+
*/
|
|
10279
|
+
getBlueprintDatabase(blueprintId, options) {
|
|
10280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10281
|
+
var _a, _b, _c;
|
|
10282
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintDatabase(blueprintId, options);
|
|
10283
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10284
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.getBlueprintDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10285
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10286
|
+
});
|
|
10287
|
+
},
|
|
10238
10288
|
/**
|
|
10239
10289
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10240
10290
|
* @summary Get persisted blueprint variables
|
|
@@ -10359,6 +10409,16 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
10359
10409
|
getBlueprintCatalog(organizationId, options) {
|
|
10360
10410
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
10361
10411
|
},
|
|
10412
|
+
/**
|
|
10413
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10414
|
+
* @summary Get the database a blueprint manages
|
|
10415
|
+
* @param {string} blueprintId Blueprint ID
|
|
10416
|
+
* @param {*} [options] Override http request option.
|
|
10417
|
+
* @throws {RequiredError}
|
|
10418
|
+
*/
|
|
10419
|
+
getBlueprintDatabase(blueprintId, options) {
|
|
10420
|
+
return localVarFp.getBlueprintDatabase(blueprintId, options).then((request) => request(axios, basePath));
|
|
10421
|
+
},
|
|
10362
10422
|
/**
|
|
10363
10423
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10364
10424
|
* @summary Get persisted blueprint variables
|
|
@@ -10471,6 +10531,17 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
10471
10531
|
getBlueprintCatalog(organizationId, options) {
|
|
10472
10532
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
10473
10533
|
}
|
|
10534
|
+
/**
|
|
10535
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10536
|
+
* @summary Get the database a blueprint manages
|
|
10537
|
+
* @param {string} blueprintId Blueprint ID
|
|
10538
|
+
* @param {*} [options] Override http request option.
|
|
10539
|
+
* @throws {RequiredError}
|
|
10540
|
+
* @memberof BlueprintMainCallsApi
|
|
10541
|
+
*/
|
|
10542
|
+
getBlueprintDatabase(blueprintId, options) {
|
|
10543
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintDatabase(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10544
|
+
}
|
|
10474
10545
|
/**
|
|
10475
10546
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10476
10547
|
* @summary Get persisted blueprint variables
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4306,6 +4306,31 @@ export interface BlueprintCreationResponse {
|
|
|
4306
4306
|
*/
|
|
4307
4307
|
'execution_id': string;
|
|
4308
4308
|
}
|
|
4309
|
+
/**
|
|
4310
|
+
* Database a blueprint manages
|
|
4311
|
+
* @export
|
|
4312
|
+
* @interface BlueprintDatabaseResponse
|
|
4313
|
+
*/
|
|
4314
|
+
export interface BlueprintDatabaseResponse {
|
|
4315
|
+
/**
|
|
4316
|
+
*
|
|
4317
|
+
* @type {DatabaseTypeEnum}
|
|
4318
|
+
* @memberof BlueprintDatabaseResponse
|
|
4319
|
+
*/
|
|
4320
|
+
'kind': DatabaseTypeEnum;
|
|
4321
|
+
/**
|
|
4322
|
+
* Terraform service the blueprint created; null before its first dispatch
|
|
4323
|
+
* @type {string}
|
|
4324
|
+
* @memberof BlueprintDatabaseResponse
|
|
4325
|
+
*/
|
|
4326
|
+
'service_id': string | null;
|
|
4327
|
+
/**
|
|
4328
|
+
* Null until a deploy has reported the database endpoint
|
|
4329
|
+
* @type {DatabaseEndpointsResponse}
|
|
4330
|
+
* @memberof BlueprintDatabaseResponse
|
|
4331
|
+
*/
|
|
4332
|
+
'endpoint': DatabaseEndpointsResponse | null;
|
|
4333
|
+
}
|
|
4309
4334
|
/**
|
|
4310
4335
|
*
|
|
4311
4336
|
* @export
|
|
@@ -11514,6 +11539,25 @@ export declare const DatabaseEditRequestDiskTypeEnum: {
|
|
|
11514
11539
|
readonly GP3: "gp3";
|
|
11515
11540
|
};
|
|
11516
11541
|
export type DatabaseEditRequestDiskTypeEnum = typeof DatabaseEditRequestDiskTypeEnum[keyof typeof DatabaseEditRequestDiskTypeEnum];
|
|
11542
|
+
/**
|
|
11543
|
+
* Endpoint of a database
|
|
11544
|
+
* @export
|
|
11545
|
+
* @interface DatabaseEndpointsResponse
|
|
11546
|
+
*/
|
|
11547
|
+
export interface DatabaseEndpointsResponse {
|
|
11548
|
+
/**
|
|
11549
|
+
* Database hostname, from the DB_ADDRESS terraform output
|
|
11550
|
+
* @type {string}
|
|
11551
|
+
* @memberof DatabaseEndpointsResponse
|
|
11552
|
+
*/
|
|
11553
|
+
'host': string;
|
|
11554
|
+
/**
|
|
11555
|
+
* Database port, from the DB_PORT terraform output; null when none is reported
|
|
11556
|
+
* @type {number}
|
|
11557
|
+
* @memberof DatabaseEndpointsResponse
|
|
11558
|
+
*/
|
|
11559
|
+
'port'?: number | null;
|
|
11560
|
+
}
|
|
11517
11561
|
/**
|
|
11518
11562
|
*
|
|
11519
11563
|
* @export
|
|
@@ -32632,6 +32676,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
32632
32676
|
* @throws {RequiredError}
|
|
32633
32677
|
*/
|
|
32634
32678
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32679
|
+
/**
|
|
32680
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32681
|
+
* @summary Get the database a blueprint manages
|
|
32682
|
+
* @param {string} blueprintId Blueprint ID
|
|
32683
|
+
* @param {*} [options] Override http request option.
|
|
32684
|
+
* @throws {RequiredError}
|
|
32685
|
+
*/
|
|
32686
|
+
getBlueprintDatabase: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32635
32687
|
/**
|
|
32636
32688
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32637
32689
|
* @summary Get persisted blueprint variables
|
|
@@ -32716,6 +32768,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
32716
32768
|
* @throws {RequiredError}
|
|
32717
32769
|
*/
|
|
32718
32770
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
32771
|
+
/**
|
|
32772
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32773
|
+
* @summary Get the database a blueprint manages
|
|
32774
|
+
* @param {string} blueprintId Blueprint ID
|
|
32775
|
+
* @param {*} [options] Override http request option.
|
|
32776
|
+
* @throws {RequiredError}
|
|
32777
|
+
*/
|
|
32778
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDatabaseResponse>>;
|
|
32719
32779
|
/**
|
|
32720
32780
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32721
32781
|
* @summary Get persisted blueprint variables
|
|
@@ -32800,6 +32860,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
32800
32860
|
* @throws {RequiredError}
|
|
32801
32861
|
*/
|
|
32802
32862
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
32863
|
+
/**
|
|
32864
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32865
|
+
* @summary Get the database a blueprint manages
|
|
32866
|
+
* @param {string} blueprintId Blueprint ID
|
|
32867
|
+
* @param {*} [options] Override http request option.
|
|
32868
|
+
* @throws {RequiredError}
|
|
32869
|
+
*/
|
|
32870
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDatabaseResponse>;
|
|
32803
32871
|
/**
|
|
32804
32872
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32805
32873
|
* @summary Get persisted blueprint variables
|
|
@@ -32892,6 +32960,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
32892
32960
|
* @memberof BlueprintMainCallsApi
|
|
32893
32961
|
*/
|
|
32894
32962
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
32963
|
+
/**
|
|
32964
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
32965
|
+
* @summary Get the database a blueprint manages
|
|
32966
|
+
* @param {string} blueprintId Blueprint ID
|
|
32967
|
+
* @param {*} [options] Override http request option.
|
|
32968
|
+
* @throws {RequiredError}
|
|
32969
|
+
* @memberof BlueprintMainCallsApi
|
|
32970
|
+
*/
|
|
32971
|
+
getBlueprintDatabase(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintDatabaseResponse, any, {}>>;
|
|
32895
32972
|
/**
|
|
32896
32973
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
32897
32974
|
* @summary Get persisted blueprint variables
|
package/dist/esm/api.js
CHANGED
|
@@ -9930,6 +9930,40 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9930
9930
|
options: localVarRequestOptions,
|
|
9931
9931
|
};
|
|
9932
9932
|
}),
|
|
9933
|
+
/**
|
|
9934
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
9935
|
+
* @summary Get the database a blueprint manages
|
|
9936
|
+
* @param {string} blueprintId Blueprint ID
|
|
9937
|
+
* @param {*} [options] Override http request option.
|
|
9938
|
+
* @throws {RequiredError}
|
|
9939
|
+
*/
|
|
9940
|
+
getBlueprintDatabase: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
9941
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9942
|
+
assertParamExists('getBlueprintDatabase', 'blueprintId', blueprintId);
|
|
9943
|
+
const localVarPath = `/blueprint/{blueprintId}/database`
|
|
9944
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9945
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9946
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9947
|
+
let baseOptions;
|
|
9948
|
+
if (configuration) {
|
|
9949
|
+
baseOptions = configuration.baseOptions;
|
|
9950
|
+
}
|
|
9951
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
9952
|
+
const localVarHeaderParameter = {};
|
|
9953
|
+
const localVarQueryParameter = {};
|
|
9954
|
+
// authentication ApiKeyAuth required
|
|
9955
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9956
|
+
// authentication bearerAuth required
|
|
9957
|
+
// http bearer authentication required
|
|
9958
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9959
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9960
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9961
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9962
|
+
return {
|
|
9963
|
+
url: toPathString(localVarUrlObj),
|
|
9964
|
+
options: localVarRequestOptions,
|
|
9965
|
+
};
|
|
9966
|
+
}),
|
|
9933
9967
|
/**
|
|
9934
9968
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
9935
9969
|
* @summary Get persisted blueprint variables
|
|
@@ -10151,6 +10185,22 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
10151
10185
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10152
10186
|
});
|
|
10153
10187
|
},
|
|
10188
|
+
/**
|
|
10189
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10190
|
+
* @summary Get the database a blueprint manages
|
|
10191
|
+
* @param {string} blueprintId Blueprint ID
|
|
10192
|
+
* @param {*} [options] Override http request option.
|
|
10193
|
+
* @throws {RequiredError}
|
|
10194
|
+
*/
|
|
10195
|
+
getBlueprintDatabase(blueprintId, options) {
|
|
10196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10197
|
+
var _a, _b, _c;
|
|
10198
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintDatabase(blueprintId, options);
|
|
10199
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10200
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.getBlueprintDatabase']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10201
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10202
|
+
});
|
|
10203
|
+
},
|
|
10154
10204
|
/**
|
|
10155
10205
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10156
10206
|
* @summary Get persisted blueprint variables
|
|
@@ -10274,6 +10324,16 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
10274
10324
|
getBlueprintCatalog(organizationId, options) {
|
|
10275
10325
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
10276
10326
|
},
|
|
10327
|
+
/**
|
|
10328
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10329
|
+
* @summary Get the database a blueprint manages
|
|
10330
|
+
* @param {string} blueprintId Blueprint ID
|
|
10331
|
+
* @param {*} [options] Override http request option.
|
|
10332
|
+
* @throws {RequiredError}
|
|
10333
|
+
*/
|
|
10334
|
+
getBlueprintDatabase(blueprintId, options) {
|
|
10335
|
+
return localVarFp.getBlueprintDatabase(blueprintId, options).then((request) => request(axios, basePath));
|
|
10336
|
+
},
|
|
10277
10337
|
/**
|
|
10278
10338
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10279
10339
|
* @summary Get persisted blueprint variables
|
|
@@ -10385,6 +10445,17 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
10385
10445
|
getBlueprintCatalog(organizationId, options) {
|
|
10386
10446
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
10387
10447
|
}
|
|
10448
|
+
/**
|
|
10449
|
+
* Returns the kind of database a blueprint manages and its endpoint, read from the `DB_ADDRESS` and `DB_PORT` outputs of its terraform service. `endpoint` is null until a deploy has reported it. Port-forward dials this endpoint to reach a blueprint database.
|
|
10450
|
+
* @summary Get the database a blueprint manages
|
|
10451
|
+
* @param {string} blueprintId Blueprint ID
|
|
10452
|
+
* @param {*} [options] Override http request option.
|
|
10453
|
+
* @throws {RequiredError}
|
|
10454
|
+
* @memberof BlueprintMainCallsApi
|
|
10455
|
+
*/
|
|
10456
|
+
getBlueprintDatabase(blueprintId, options) {
|
|
10457
|
+
return BlueprintMainCallsApiFp(this.configuration).getBlueprintDatabase(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10458
|
+
}
|
|
10388
10459
|
/**
|
|
10389
10460
|
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10390
10461
|
* @summary Get persisted blueprint variables
|