qovery-typescript-axios 1.1.979 → 1.1.980
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 +101 -0
- package/dist/api.d.ts +58 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +58 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4166,6 +4166,31 @@ export interface BlueprintCatalogResponse {
|
|
|
4166
4166
|
*/
|
|
4167
4167
|
'blueprints': Array<BlueprintItem>;
|
|
4168
4168
|
}
|
|
4169
|
+
/**
|
|
4170
|
+
*
|
|
4171
|
+
* @export
|
|
4172
|
+
* @interface BlueprintConfigurationVariable
|
|
4173
|
+
*/
|
|
4174
|
+
export interface BlueprintConfigurationVariable {
|
|
4175
|
+
/**
|
|
4176
|
+
*
|
|
4177
|
+
* @type {string}
|
|
4178
|
+
* @memberof BlueprintConfigurationVariable
|
|
4179
|
+
*/
|
|
4180
|
+
'name': string;
|
|
4181
|
+
/**
|
|
4182
|
+
* Omitted for secret variables.
|
|
4183
|
+
* @type {string}
|
|
4184
|
+
* @memberof BlueprintConfigurationVariable
|
|
4185
|
+
*/
|
|
4186
|
+
'value'?: string;
|
|
4187
|
+
/**
|
|
4188
|
+
*
|
|
4189
|
+
* @type {boolean}
|
|
4190
|
+
* @memberof BlueprintConfigurationVariable
|
|
4191
|
+
*/
|
|
4192
|
+
'is_secret': boolean;
|
|
4193
|
+
}
|
|
4169
4194
|
/**
|
|
4170
4195
|
*
|
|
4171
4196
|
* @export
|
|
@@ -37523,6 +37548,47 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
37523
37548
|
|
|
37524
37549
|
|
|
37525
37550
|
|
|
37551
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37552
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37553
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37554
|
+
|
|
37555
|
+
return {
|
|
37556
|
+
url: toPathString(localVarUrlObj),
|
|
37557
|
+
options: localVarRequestOptions,
|
|
37558
|
+
};
|
|
37559
|
+
},
|
|
37560
|
+
/**
|
|
37561
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
37562
|
+
* @summary Get persisted blueprint variables
|
|
37563
|
+
* @param {string} blueprintId Blueprint ID
|
|
37564
|
+
* @param {*} [options] Override http request option.
|
|
37565
|
+
* @throws {RequiredError}
|
|
37566
|
+
*/
|
|
37567
|
+
getBlueprintVariables: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37568
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
37569
|
+
assertParamExists('getBlueprintVariables', 'blueprintId', blueprintId)
|
|
37570
|
+
const localVarPath = `/blueprint/{blueprintId}/variables`
|
|
37571
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
37572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37574
|
+
let baseOptions;
|
|
37575
|
+
if (configuration) {
|
|
37576
|
+
baseOptions = configuration.baseOptions;
|
|
37577
|
+
}
|
|
37578
|
+
|
|
37579
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37580
|
+
const localVarHeaderParameter = {} as any;
|
|
37581
|
+
const localVarQueryParameter = {} as any;
|
|
37582
|
+
|
|
37583
|
+
// authentication ApiKeyAuth required
|
|
37584
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37585
|
+
|
|
37586
|
+
// authentication bearerAuth required
|
|
37587
|
+
// http bearer authentication required
|
|
37588
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37589
|
+
|
|
37590
|
+
|
|
37591
|
+
|
|
37526
37592
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37527
37593
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37528
37594
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -37718,6 +37784,19 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
37718
37784
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintCatalog']?.[localVarOperationServerIndex]?.url;
|
|
37719
37785
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37720
37786
|
},
|
|
37787
|
+
/**
|
|
37788
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
37789
|
+
* @summary Get persisted blueprint variables
|
|
37790
|
+
* @param {string} blueprintId Blueprint ID
|
|
37791
|
+
* @param {*} [options] Override http request option.
|
|
37792
|
+
* @throws {RequiredError}
|
|
37793
|
+
*/
|
|
37794
|
+
async getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BlueprintConfigurationVariable>>> {
|
|
37795
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getBlueprintVariables(blueprintId, options);
|
|
37796
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
37797
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.getBlueprintVariables']?.[localVarOperationServerIndex]?.url;
|
|
37798
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37799
|
+
},
|
|
37721
37800
|
/**
|
|
37722
37801
|
* 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.
|
|
37723
37802
|
* @summary Preview a blueprint update
|
|
@@ -37820,6 +37899,16 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
37820
37899
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse> {
|
|
37821
37900
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
37822
37901
|
},
|
|
37902
|
+
/**
|
|
37903
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
37904
|
+
* @summary Get persisted blueprint variables
|
|
37905
|
+
* @param {string} blueprintId Blueprint ID
|
|
37906
|
+
* @param {*} [options] Override http request option.
|
|
37907
|
+
* @throws {RequiredError}
|
|
37908
|
+
*/
|
|
37909
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BlueprintConfigurationVariable>> {
|
|
37910
|
+
return localVarFp.getBlueprintVariables(blueprintId, options).then((request) => request(axios, basePath));
|
|
37911
|
+
},
|
|
37823
37912
|
/**
|
|
37824
37913
|
* 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.
|
|
37825
37914
|
* @summary Preview a blueprint update
|
|
@@ -37928,6 +38017,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
37928
38017
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
37929
38018
|
}
|
|
37930
38019
|
|
|
38020
|
+
/**
|
|
38021
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
38022
|
+
* @summary Get persisted blueprint variables
|
|
38023
|
+
* @param {string} blueprintId Blueprint ID
|
|
38024
|
+
* @param {*} [options] Override http request option.
|
|
38025
|
+
* @throws {RequiredError}
|
|
38026
|
+
* @memberof BlueprintMainCallsApi
|
|
38027
|
+
*/
|
|
38028
|
+
public getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig) {
|
|
38029
|
+
return BlueprintMainCallsApiFp(this.configuration).getBlueprintVariables(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
38030
|
+
}
|
|
38031
|
+
|
|
37931
38032
|
/**
|
|
37932
38033
|
* 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.
|
|
37933
38034
|
* @summary Preview a blueprint update
|
package/dist/api.d.ts
CHANGED
|
@@ -4031,6 +4031,31 @@ export interface BlueprintCatalogResponse {
|
|
|
4031
4031
|
*/
|
|
4032
4032
|
'blueprints': Array<BlueprintItem>;
|
|
4033
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @export
|
|
4037
|
+
* @interface BlueprintConfigurationVariable
|
|
4038
|
+
*/
|
|
4039
|
+
export interface BlueprintConfigurationVariable {
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @type {string}
|
|
4043
|
+
* @memberof BlueprintConfigurationVariable
|
|
4044
|
+
*/
|
|
4045
|
+
'name': string;
|
|
4046
|
+
/**
|
|
4047
|
+
* Omitted for secret variables.
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof BlueprintConfigurationVariable
|
|
4050
|
+
*/
|
|
4051
|
+
'value'?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {boolean}
|
|
4055
|
+
* @memberof BlueprintConfigurationVariable
|
|
4056
|
+
*/
|
|
4057
|
+
'is_secret': boolean;
|
|
4058
|
+
}
|
|
4034
4059
|
/**
|
|
4035
4060
|
*
|
|
4036
4061
|
* @export
|
|
@@ -31674,6 +31699,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
31674
31699
|
* @throws {RequiredError}
|
|
31675
31700
|
*/
|
|
31676
31701
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31702
|
+
/**
|
|
31703
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31704
|
+
* @summary Get persisted blueprint variables
|
|
31705
|
+
* @param {string} blueprintId Blueprint ID
|
|
31706
|
+
* @param {*} [options] Override http request option.
|
|
31707
|
+
* @throws {RequiredError}
|
|
31708
|
+
*/
|
|
31709
|
+
getBlueprintVariables: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31677
31710
|
/**
|
|
31678
31711
|
* 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.
|
|
31679
31712
|
* @summary Preview a blueprint update
|
|
@@ -31750,6 +31783,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
31750
31783
|
* @throws {RequiredError}
|
|
31751
31784
|
*/
|
|
31752
31785
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
31786
|
+
/**
|
|
31787
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31788
|
+
* @summary Get persisted blueprint variables
|
|
31789
|
+
* @param {string} blueprintId Blueprint ID
|
|
31790
|
+
* @param {*} [options] Override http request option.
|
|
31791
|
+
* @throws {RequiredError}
|
|
31792
|
+
*/
|
|
31793
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BlueprintConfigurationVariable>>>;
|
|
31753
31794
|
/**
|
|
31754
31795
|
* 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.
|
|
31755
31796
|
* @summary Preview a blueprint update
|
|
@@ -31826,6 +31867,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
31826
31867
|
* @throws {RequiredError}
|
|
31827
31868
|
*/
|
|
31828
31869
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
31870
|
+
/**
|
|
31871
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31872
|
+
* @summary Get persisted blueprint variables
|
|
31873
|
+
* @param {string} blueprintId Blueprint ID
|
|
31874
|
+
* @param {*} [options] Override http request option.
|
|
31875
|
+
* @throws {RequiredError}
|
|
31876
|
+
*/
|
|
31877
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BlueprintConfigurationVariable>>;
|
|
31829
31878
|
/**
|
|
31830
31879
|
* 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.
|
|
31831
31880
|
* @summary Preview a blueprint update
|
|
@@ -31910,6 +31959,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
31910
31959
|
* @memberof BlueprintMainCallsApi
|
|
31911
31960
|
*/
|
|
31912
31961
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
31962
|
+
/**
|
|
31963
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31964
|
+
* @summary Get persisted blueprint variables
|
|
31965
|
+
* @param {string} blueprintId Blueprint ID
|
|
31966
|
+
* @param {*} [options] Override http request option.
|
|
31967
|
+
* @throws {RequiredError}
|
|
31968
|
+
* @memberof BlueprintMainCallsApi
|
|
31969
|
+
*/
|
|
31970
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintConfigurationVariable[], any, {}>>;
|
|
31913
31971
|
/**
|
|
31914
31972
|
* 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.
|
|
31915
31973
|
* @summary Preview a blueprint update
|
package/dist/api.js
CHANGED
|
@@ -10214,6 +10214,40 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
10214
10214
|
options: localVarRequestOptions,
|
|
10215
10215
|
};
|
|
10216
10216
|
}),
|
|
10217
|
+
/**
|
|
10218
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10219
|
+
* @summary Get persisted blueprint variables
|
|
10220
|
+
* @param {string} blueprintId Blueprint ID
|
|
10221
|
+
* @param {*} [options] Override http request option.
|
|
10222
|
+
* @throws {RequiredError}
|
|
10223
|
+
*/
|
|
10224
|
+
getBlueprintVariables: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
10225
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
10226
|
+
(0, common_1.assertParamExists)('getBlueprintVariables', 'blueprintId', blueprintId);
|
|
10227
|
+
const localVarPath = `/blueprint/{blueprintId}/variables`
|
|
10228
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
10229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10230
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10231
|
+
let baseOptions;
|
|
10232
|
+
if (configuration) {
|
|
10233
|
+
baseOptions = configuration.baseOptions;
|
|
10234
|
+
}
|
|
10235
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10236
|
+
const localVarHeaderParameter = {};
|
|
10237
|
+
const localVarQueryParameter = {};
|
|
10238
|
+
// authentication ApiKeyAuth required
|
|
10239
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
10240
|
+
// authentication bearerAuth required
|
|
10241
|
+
// http bearer authentication required
|
|
10242
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10243
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10245
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10246
|
+
return {
|
|
10247
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10248
|
+
options: localVarRequestOptions,
|
|
10249
|
+
};
|
|
10250
|
+
}),
|
|
10217
10251
|
/**
|
|
10218
10252
|
* 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.
|
|
10219
10253
|
* @summary Preview a blueprint update
|
|
@@ -10402,6 +10436,22 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
10402
10436
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10403
10437
|
});
|
|
10404
10438
|
},
|
|
10439
|
+
/**
|
|
10440
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10441
|
+
* @summary Get persisted blueprint variables
|
|
10442
|
+
* @param {string} blueprintId Blueprint ID
|
|
10443
|
+
* @param {*} [options] Override http request option.
|
|
10444
|
+
* @throws {RequiredError}
|
|
10445
|
+
*/
|
|
10446
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10447
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10448
|
+
var _a, _b, _c;
|
|
10449
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintVariables(blueprintId, options);
|
|
10450
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10451
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.getBlueprintVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10452
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10453
|
+
});
|
|
10454
|
+
},
|
|
10405
10455
|
/**
|
|
10406
10456
|
* 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.
|
|
10407
10457
|
* @summary Preview a blueprint update
|
|
@@ -10510,6 +10560,16 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
10510
10560
|
getBlueprintCatalog(organizationId, options) {
|
|
10511
10561
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
10512
10562
|
},
|
|
10563
|
+
/**
|
|
10564
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10565
|
+
* @summary Get persisted blueprint variables
|
|
10566
|
+
* @param {string} blueprintId Blueprint ID
|
|
10567
|
+
* @param {*} [options] Override http request option.
|
|
10568
|
+
* @throws {RequiredError}
|
|
10569
|
+
*/
|
|
10570
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10571
|
+
return localVarFp.getBlueprintVariables(blueprintId, options).then((request) => request(axios, basePath));
|
|
10572
|
+
},
|
|
10513
10573
|
/**
|
|
10514
10574
|
* 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.
|
|
10515
10575
|
* @summary Preview a blueprint update
|
|
@@ -10612,6 +10672,17 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
10612
10672
|
getBlueprintCatalog(organizationId, options) {
|
|
10613
10673
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
10614
10674
|
}
|
|
10675
|
+
/**
|
|
10676
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10677
|
+
* @summary Get persisted blueprint variables
|
|
10678
|
+
* @param {string} blueprintId Blueprint ID
|
|
10679
|
+
* @param {*} [options] Override http request option.
|
|
10680
|
+
* @throws {RequiredError}
|
|
10681
|
+
* @memberof BlueprintMainCallsApi
|
|
10682
|
+
*/
|
|
10683
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10684
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).getBlueprintVariables(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10685
|
+
}
|
|
10615
10686
|
/**
|
|
10616
10687
|
* 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.
|
|
10617
10688
|
* @summary Preview a blueprint update
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -4031,6 +4031,31 @@ export interface BlueprintCatalogResponse {
|
|
|
4031
4031
|
*/
|
|
4032
4032
|
'blueprints': Array<BlueprintItem>;
|
|
4033
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @export
|
|
4037
|
+
* @interface BlueprintConfigurationVariable
|
|
4038
|
+
*/
|
|
4039
|
+
export interface BlueprintConfigurationVariable {
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @type {string}
|
|
4043
|
+
* @memberof BlueprintConfigurationVariable
|
|
4044
|
+
*/
|
|
4045
|
+
'name': string;
|
|
4046
|
+
/**
|
|
4047
|
+
* Omitted for secret variables.
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof BlueprintConfigurationVariable
|
|
4050
|
+
*/
|
|
4051
|
+
'value'?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {boolean}
|
|
4055
|
+
* @memberof BlueprintConfigurationVariable
|
|
4056
|
+
*/
|
|
4057
|
+
'is_secret': boolean;
|
|
4058
|
+
}
|
|
4034
4059
|
/**
|
|
4035
4060
|
*
|
|
4036
4061
|
* @export
|
|
@@ -31674,6 +31699,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
31674
31699
|
* @throws {RequiredError}
|
|
31675
31700
|
*/
|
|
31676
31701
|
getBlueprintCatalog: (organizationId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31702
|
+
/**
|
|
31703
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31704
|
+
* @summary Get persisted blueprint variables
|
|
31705
|
+
* @param {string} blueprintId Blueprint ID
|
|
31706
|
+
* @param {*} [options] Override http request option.
|
|
31707
|
+
* @throws {RequiredError}
|
|
31708
|
+
*/
|
|
31709
|
+
getBlueprintVariables: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31677
31710
|
/**
|
|
31678
31711
|
* 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.
|
|
31679
31712
|
* @summary Preview a blueprint update
|
|
@@ -31750,6 +31783,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
31750
31783
|
* @throws {RequiredError}
|
|
31751
31784
|
*/
|
|
31752
31785
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintCatalogResponse>>;
|
|
31786
|
+
/**
|
|
31787
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31788
|
+
* @summary Get persisted blueprint variables
|
|
31789
|
+
* @param {string} blueprintId Blueprint ID
|
|
31790
|
+
* @param {*} [options] Override http request option.
|
|
31791
|
+
* @throws {RequiredError}
|
|
31792
|
+
*/
|
|
31793
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BlueprintConfigurationVariable>>>;
|
|
31753
31794
|
/**
|
|
31754
31795
|
* 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.
|
|
31755
31796
|
* @summary Preview a blueprint update
|
|
@@ -31826,6 +31867,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
31826
31867
|
* @throws {RequiredError}
|
|
31827
31868
|
*/
|
|
31828
31869
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintCatalogResponse>;
|
|
31870
|
+
/**
|
|
31871
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31872
|
+
* @summary Get persisted blueprint variables
|
|
31873
|
+
* @param {string} blueprintId Blueprint ID
|
|
31874
|
+
* @param {*} [options] Override http request option.
|
|
31875
|
+
* @throws {RequiredError}
|
|
31876
|
+
*/
|
|
31877
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<BlueprintConfigurationVariable>>;
|
|
31829
31878
|
/**
|
|
31830
31879
|
* 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.
|
|
31831
31880
|
* @summary Preview a blueprint update
|
|
@@ -31910,6 +31959,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
31910
31959
|
* @memberof BlueprintMainCallsApi
|
|
31911
31960
|
*/
|
|
31912
31961
|
getBlueprintCatalog(organizationId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintCatalogResponse, any, {}>>;
|
|
31962
|
+
/**
|
|
31963
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
31964
|
+
* @summary Get persisted blueprint variables
|
|
31965
|
+
* @param {string} blueprintId Blueprint ID
|
|
31966
|
+
* @param {*} [options] Override http request option.
|
|
31967
|
+
* @throws {RequiredError}
|
|
31968
|
+
* @memberof BlueprintMainCallsApi
|
|
31969
|
+
*/
|
|
31970
|
+
getBlueprintVariables(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintConfigurationVariable[], any, {}>>;
|
|
31913
31971
|
/**
|
|
31914
31972
|
* 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.
|
|
31915
31973
|
* @summary Preview a blueprint update
|
package/dist/esm/api.js
CHANGED
|
@@ -10127,6 +10127,40 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
10127
10127
|
options: localVarRequestOptions,
|
|
10128
10128
|
};
|
|
10129
10129
|
}),
|
|
10130
|
+
/**
|
|
10131
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10132
|
+
* @summary Get persisted blueprint variables
|
|
10133
|
+
* @param {string} blueprintId Blueprint ID
|
|
10134
|
+
* @param {*} [options] Override http request option.
|
|
10135
|
+
* @throws {RequiredError}
|
|
10136
|
+
*/
|
|
10137
|
+
getBlueprintVariables: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
10138
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
10139
|
+
assertParamExists('getBlueprintVariables', 'blueprintId', blueprintId);
|
|
10140
|
+
const localVarPath = `/blueprint/{blueprintId}/variables`
|
|
10141
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
10142
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10144
|
+
let baseOptions;
|
|
10145
|
+
if (configuration) {
|
|
10146
|
+
baseOptions = configuration.baseOptions;
|
|
10147
|
+
}
|
|
10148
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10149
|
+
const localVarHeaderParameter = {};
|
|
10150
|
+
const localVarQueryParameter = {};
|
|
10151
|
+
// authentication ApiKeyAuth required
|
|
10152
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
10153
|
+
// authentication bearerAuth required
|
|
10154
|
+
// http bearer authentication required
|
|
10155
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
10156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10157
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10158
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10159
|
+
return {
|
|
10160
|
+
url: toPathString(localVarUrlObj),
|
|
10161
|
+
options: localVarRequestOptions,
|
|
10162
|
+
};
|
|
10163
|
+
}),
|
|
10130
10164
|
/**
|
|
10131
10165
|
* 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.
|
|
10132
10166
|
* @summary Preview a blueprint update
|
|
@@ -10314,6 +10348,22 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
10314
10348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10315
10349
|
});
|
|
10316
10350
|
},
|
|
10351
|
+
/**
|
|
10352
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10353
|
+
* @summary Get persisted blueprint variables
|
|
10354
|
+
* @param {string} blueprintId Blueprint ID
|
|
10355
|
+
* @param {*} [options] Override http request option.
|
|
10356
|
+
* @throws {RequiredError}
|
|
10357
|
+
*/
|
|
10358
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10359
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10360
|
+
var _a, _b, _c;
|
|
10361
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getBlueprintVariables(blueprintId, options);
|
|
10362
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10363
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.getBlueprintVariables']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10364
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10365
|
+
});
|
|
10366
|
+
},
|
|
10317
10367
|
/**
|
|
10318
10368
|
* 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.
|
|
10319
10369
|
* @summary Preview a blueprint update
|
|
@@ -10421,6 +10471,16 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
10421
10471
|
getBlueprintCatalog(organizationId, options) {
|
|
10422
10472
|
return localVarFp.getBlueprintCatalog(organizationId, options).then((request) => request(axios, basePath));
|
|
10423
10473
|
},
|
|
10474
|
+
/**
|
|
10475
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10476
|
+
* @summary Get persisted blueprint variables
|
|
10477
|
+
* @param {string} blueprintId Blueprint ID
|
|
10478
|
+
* @param {*} [options] Override http request option.
|
|
10479
|
+
* @throws {RequiredError}
|
|
10480
|
+
*/
|
|
10481
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10482
|
+
return localVarFp.getBlueprintVariables(blueprintId, options).then((request) => request(axios, basePath));
|
|
10483
|
+
},
|
|
10424
10484
|
/**
|
|
10425
10485
|
* 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.
|
|
10426
10486
|
* @summary Preview a blueprint update
|
|
@@ -10522,6 +10582,17 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
10522
10582
|
getBlueprintCatalog(organizationId, options) {
|
|
10523
10583
|
return BlueprintMainCallsApiFp(this.configuration).getBlueprintCatalog(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
10524
10584
|
}
|
|
10585
|
+
/**
|
|
10586
|
+
* Returns the persisted variables for a blueprint. Secret variables are identified by `is_secret` and never include their value.
|
|
10587
|
+
* @summary Get persisted blueprint variables
|
|
10588
|
+
* @param {string} blueprintId Blueprint ID
|
|
10589
|
+
* @param {*} [options] Override http request option.
|
|
10590
|
+
* @throws {RequiredError}
|
|
10591
|
+
* @memberof BlueprintMainCallsApi
|
|
10592
|
+
*/
|
|
10593
|
+
getBlueprintVariables(blueprintId, options) {
|
|
10594
|
+
return BlueprintMainCallsApiFp(this.configuration).getBlueprintVariables(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10595
|
+
}
|
|
10525
10596
|
/**
|
|
10526
10597
|
* 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.
|
|
10527
10598
|
* @summary Preview a blueprint update
|