qovery-typescript-axios 1.1.932 → 1.1.934
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
|
@@ -3905,6 +3905,25 @@ export interface BlueprintCreateRequest {
|
|
|
3905
3905
|
*/
|
|
3906
3906
|
'spec_overrides'?: BlueprintSpecOverrides;
|
|
3907
3907
|
}
|
|
3908
|
+
/**
|
|
3909
|
+
*
|
|
3910
|
+
* @export
|
|
3911
|
+
* @interface BlueprintDeploymentAckResponse
|
|
3912
|
+
*/
|
|
3913
|
+
export interface BlueprintDeploymentAckResponse {
|
|
3914
|
+
/**
|
|
3915
|
+
* Identifier of the blueprint deployment, used to track its status
|
|
3916
|
+
* @type {string}
|
|
3917
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3918
|
+
*/
|
|
3919
|
+
'deployment_id': string;
|
|
3920
|
+
/**
|
|
3921
|
+
* Engine execution identifier for this deployment
|
|
3922
|
+
* @type {string}
|
|
3923
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3924
|
+
*/
|
|
3925
|
+
'execution_id': string;
|
|
3926
|
+
}
|
|
3908
3927
|
/**
|
|
3909
3928
|
*
|
|
3910
3929
|
* @export
|
|
@@ -4790,6 +4809,12 @@ export interface BlueprintUpdateResponse {
|
|
|
4790
4809
|
* @memberof BlueprintUpdateResponse
|
|
4791
4810
|
*/
|
|
4792
4811
|
'is_up_to_date': boolean;
|
|
4812
|
+
/**
|
|
4813
|
+
*
|
|
4814
|
+
* @type {string}
|
|
4815
|
+
* @memberof BlueprintUpdateResponse
|
|
4816
|
+
*/
|
|
4817
|
+
'current_tag': string;
|
|
4793
4818
|
/**
|
|
4794
4819
|
*
|
|
4795
4820
|
* @type {string}
|
|
@@ -35329,6 +35354,47 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
35329
35354
|
options: localVarRequestOptions,
|
|
35330
35355
|
};
|
|
35331
35356
|
},
|
|
35357
|
+
/**
|
|
35358
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35359
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35360
|
+
* @param {string} blueprintId Blueprint ID
|
|
35361
|
+
* @param {*} [options] Override http request option.
|
|
35362
|
+
* @throws {RequiredError}
|
|
35363
|
+
*/
|
|
35364
|
+
deployBlueprint: async (blueprintId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
35365
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
35366
|
+
assertParamExists('deployBlueprint', 'blueprintId', blueprintId)
|
|
35367
|
+
const localVarPath = `/blueprint/{blueprintId}/deploy`
|
|
35368
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
35369
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
35370
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
35371
|
+
let baseOptions;
|
|
35372
|
+
if (configuration) {
|
|
35373
|
+
baseOptions = configuration.baseOptions;
|
|
35374
|
+
}
|
|
35375
|
+
|
|
35376
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
35377
|
+
const localVarHeaderParameter = {} as any;
|
|
35378
|
+
const localVarQueryParameter = {} as any;
|
|
35379
|
+
|
|
35380
|
+
// authentication ApiKeyAuth required
|
|
35381
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
35382
|
+
|
|
35383
|
+
// authentication bearerAuth required
|
|
35384
|
+
// http bearer authentication required
|
|
35385
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
35386
|
+
|
|
35387
|
+
|
|
35388
|
+
|
|
35389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
35392
|
+
|
|
35393
|
+
return {
|
|
35394
|
+
url: toPathString(localVarUrlObj),
|
|
35395
|
+
options: localVarRequestOptions,
|
|
35396
|
+
};
|
|
35397
|
+
},
|
|
35332
35398
|
/**
|
|
35333
35399
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35334
35400
|
* @summary Get the blueprint service catalog
|
|
@@ -35502,6 +35568,19 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
35502
35568
|
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.createBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
35503
35569
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35504
35570
|
},
|
|
35571
|
+
/**
|
|
35572
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35573
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35574
|
+
* @param {string} blueprintId Blueprint ID
|
|
35575
|
+
* @param {*} [options] Override http request option.
|
|
35576
|
+
* @throws {RequiredError}
|
|
35577
|
+
*/
|
|
35578
|
+
async deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDeploymentAckResponse>> {
|
|
35579
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deployBlueprint(blueprintId, options);
|
|
35580
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
35581
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.deployBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
35582
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35583
|
+
},
|
|
35505
35584
|
/**
|
|
35506
35585
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35507
35586
|
* @summary Get the blueprint service catalog
|
|
@@ -35575,6 +35654,16 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
35575
35654
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse> {
|
|
35576
35655
|
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
35577
35656
|
},
|
|
35657
|
+
/**
|
|
35658
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35659
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35660
|
+
* @param {string} blueprintId Blueprint ID
|
|
35661
|
+
* @param {*} [options] Override http request option.
|
|
35662
|
+
* @throws {RequiredError}
|
|
35663
|
+
*/
|
|
35664
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDeploymentAckResponse> {
|
|
35665
|
+
return localVarFp.deployBlueprint(blueprintId, options).then((request) => request(axios, basePath));
|
|
35666
|
+
},
|
|
35578
35667
|
/**
|
|
35579
35668
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35580
35669
|
* @summary Get the blueprint service catalog
|
|
@@ -35643,6 +35732,18 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
35643
35732
|
return BlueprintMainCallsApiFp(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
35644
35733
|
}
|
|
35645
35734
|
|
|
35735
|
+
/**
|
|
35736
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
35737
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
35738
|
+
* @param {string} blueprintId Blueprint ID
|
|
35739
|
+
* @param {*} [options] Override http request option.
|
|
35740
|
+
* @throws {RequiredError}
|
|
35741
|
+
* @memberof BlueprintMainCallsApi
|
|
35742
|
+
*/
|
|
35743
|
+
public deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig) {
|
|
35744
|
+
return BlueprintMainCallsApiFp(this.configuration).deployBlueprint(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
35745
|
+
}
|
|
35746
|
+
|
|
35646
35747
|
/**
|
|
35647
35748
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
35648
35749
|
* @summary Get the blueprint service catalog
|
package/dist/api.d.ts
CHANGED
|
@@ -3774,6 +3774,25 @@ export interface BlueprintCreateRequest {
|
|
|
3774
3774
|
*/
|
|
3775
3775
|
'spec_overrides'?: BlueprintSpecOverrides;
|
|
3776
3776
|
}
|
|
3777
|
+
/**
|
|
3778
|
+
*
|
|
3779
|
+
* @export
|
|
3780
|
+
* @interface BlueprintDeploymentAckResponse
|
|
3781
|
+
*/
|
|
3782
|
+
export interface BlueprintDeploymentAckResponse {
|
|
3783
|
+
/**
|
|
3784
|
+
* Identifier of the blueprint deployment, used to track its status
|
|
3785
|
+
* @type {string}
|
|
3786
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3787
|
+
*/
|
|
3788
|
+
'deployment_id': string;
|
|
3789
|
+
/**
|
|
3790
|
+
* Engine execution identifier for this deployment
|
|
3791
|
+
* @type {string}
|
|
3792
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3793
|
+
*/
|
|
3794
|
+
'execution_id': string;
|
|
3795
|
+
}
|
|
3777
3796
|
/**
|
|
3778
3797
|
*
|
|
3779
3798
|
* @export
|
|
@@ -4646,6 +4665,12 @@ export interface BlueprintUpdateResponse {
|
|
|
4646
4665
|
* @memberof BlueprintUpdateResponse
|
|
4647
4666
|
*/
|
|
4648
4667
|
'is_up_to_date': boolean;
|
|
4668
|
+
/**
|
|
4669
|
+
*
|
|
4670
|
+
* @type {string}
|
|
4671
|
+
* @memberof BlueprintUpdateResponse
|
|
4672
|
+
*/
|
|
4673
|
+
'current_tag': string;
|
|
4649
4674
|
/**
|
|
4650
4675
|
*
|
|
4651
4676
|
* @type {string}
|
|
@@ -29797,6 +29822,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
29797
29822
|
* @throws {RequiredError}
|
|
29798
29823
|
*/
|
|
29799
29824
|
createBlueprint: (environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29825
|
+
/**
|
|
29826
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
29827
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
29828
|
+
* @param {string} blueprintId Blueprint ID
|
|
29829
|
+
* @param {*} [options] Override http request option.
|
|
29830
|
+
* @throws {RequiredError}
|
|
29831
|
+
*/
|
|
29832
|
+
deployBlueprint: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29800
29833
|
/**
|
|
29801
29834
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29802
29835
|
* @summary Get the blueprint service catalog
|
|
@@ -29847,6 +29880,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
29847
29880
|
* @throws {RequiredError}
|
|
29848
29881
|
*/
|
|
29849
29882
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
29883
|
+
/**
|
|
29884
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
29885
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
29886
|
+
* @param {string} blueprintId Blueprint ID
|
|
29887
|
+
* @param {*} [options] Override http request option.
|
|
29888
|
+
* @throws {RequiredError}
|
|
29889
|
+
*/
|
|
29890
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDeploymentAckResponse>>;
|
|
29850
29891
|
/**
|
|
29851
29892
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29852
29893
|
* @summary Get the blueprint service catalog
|
|
@@ -29897,6 +29938,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
29897
29938
|
* @throws {RequiredError}
|
|
29898
29939
|
*/
|
|
29899
29940
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
29941
|
+
/**
|
|
29942
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
29943
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
29944
|
+
* @param {string} blueprintId Blueprint ID
|
|
29945
|
+
* @param {*} [options] Override http request option.
|
|
29946
|
+
* @throws {RequiredError}
|
|
29947
|
+
*/
|
|
29948
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDeploymentAckResponse>;
|
|
29900
29949
|
/**
|
|
29901
29950
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29902
29951
|
* @summary Get the blueprint service catalog
|
|
@@ -29951,6 +30000,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
29951
30000
|
* @memberof BlueprintMainCallsApi
|
|
29952
30001
|
*/
|
|
29953
30002
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
30003
|
+
/**
|
|
30004
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
30005
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
30006
|
+
* @param {string} blueprintId Blueprint ID
|
|
30007
|
+
* @param {*} [options] Override http request option.
|
|
30008
|
+
* @throws {RequiredError}
|
|
30009
|
+
* @memberof BlueprintMainCallsApi
|
|
30010
|
+
*/
|
|
30011
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintDeploymentAckResponse, any, {}>>;
|
|
29954
30012
|
/**
|
|
29955
30013
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29956
30014
|
* @summary Get the blueprint service catalog
|
package/dist/api.js
CHANGED
|
@@ -9712,6 +9712,40 @@ const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9712
9712
|
options: localVarRequestOptions,
|
|
9713
9713
|
};
|
|
9714
9714
|
}),
|
|
9715
|
+
/**
|
|
9716
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
9717
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
9718
|
+
* @param {string} blueprintId Blueprint ID
|
|
9719
|
+
* @param {*} [options] Override http request option.
|
|
9720
|
+
* @throws {RequiredError}
|
|
9721
|
+
*/
|
|
9722
|
+
deployBlueprint: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
9723
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9724
|
+
(0, common_1.assertParamExists)('deployBlueprint', 'blueprintId', blueprintId);
|
|
9725
|
+
const localVarPath = `/blueprint/{blueprintId}/deploy`
|
|
9726
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9728
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9729
|
+
let baseOptions;
|
|
9730
|
+
if (configuration) {
|
|
9731
|
+
baseOptions = configuration.baseOptions;
|
|
9732
|
+
}
|
|
9733
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9734
|
+
const localVarHeaderParameter = {};
|
|
9735
|
+
const localVarQueryParameter = {};
|
|
9736
|
+
// authentication ApiKeyAuth required
|
|
9737
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9738
|
+
// authentication bearerAuth required
|
|
9739
|
+
// http bearer authentication required
|
|
9740
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9741
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9742
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9743
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9744
|
+
return {
|
|
9745
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9746
|
+
options: localVarRequestOptions,
|
|
9747
|
+
};
|
|
9748
|
+
}),
|
|
9715
9749
|
/**
|
|
9716
9750
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9717
9751
|
* @summary Get the blueprint service catalog
|
|
@@ -9868,6 +9902,22 @@ const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9868
9902
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9869
9903
|
});
|
|
9870
9904
|
},
|
|
9905
|
+
/**
|
|
9906
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
9907
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
9908
|
+
* @param {string} blueprintId Blueprint ID
|
|
9909
|
+
* @param {*} [options] Override http request option.
|
|
9910
|
+
* @throws {RequiredError}
|
|
9911
|
+
*/
|
|
9912
|
+
deployBlueprint(blueprintId, options) {
|
|
9913
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9914
|
+
var _a, _b, _c;
|
|
9915
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployBlueprint(blueprintId, options);
|
|
9916
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9917
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.deployBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9918
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9919
|
+
});
|
|
9920
|
+
},
|
|
9871
9921
|
/**
|
|
9872
9922
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9873
9923
|
* @summary Get the blueprint service catalog
|
|
@@ -9950,6 +10000,16 @@ const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
9950
10000
|
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9951
10001
|
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
9952
10002
|
},
|
|
10003
|
+
/**
|
|
10004
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
10005
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
10006
|
+
* @param {string} blueprintId Blueprint ID
|
|
10007
|
+
* @param {*} [options] Override http request option.
|
|
10008
|
+
* @throws {RequiredError}
|
|
10009
|
+
*/
|
|
10010
|
+
deployBlueprint(blueprintId, options) {
|
|
10011
|
+
return localVarFp.deployBlueprint(blueprintId, options).then((request) => request(axios, basePath));
|
|
10012
|
+
},
|
|
9953
10013
|
/**
|
|
9954
10014
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9955
10015
|
* @summary Get the blueprint service catalog
|
|
@@ -10016,6 +10076,17 @@ class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
|
10016
10076
|
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
10017
10077
|
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
10018
10078
|
}
|
|
10079
|
+
/**
|
|
10080
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
10081
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
10082
|
+
* @param {string} blueprintId Blueprint ID
|
|
10083
|
+
* @param {*} [options] Override http request option.
|
|
10084
|
+
* @throws {RequiredError}
|
|
10085
|
+
* @memberof BlueprintMainCallsApi
|
|
10086
|
+
*/
|
|
10087
|
+
deployBlueprint(blueprintId, options) {
|
|
10088
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).deployBlueprint(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10089
|
+
}
|
|
10019
10090
|
/**
|
|
10020
10091
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
10021
10092
|
* @summary Get the blueprint service catalog
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3774,6 +3774,25 @@ export interface BlueprintCreateRequest {
|
|
|
3774
3774
|
*/
|
|
3775
3775
|
'spec_overrides'?: BlueprintSpecOverrides;
|
|
3776
3776
|
}
|
|
3777
|
+
/**
|
|
3778
|
+
*
|
|
3779
|
+
* @export
|
|
3780
|
+
* @interface BlueprintDeploymentAckResponse
|
|
3781
|
+
*/
|
|
3782
|
+
export interface BlueprintDeploymentAckResponse {
|
|
3783
|
+
/**
|
|
3784
|
+
* Identifier of the blueprint deployment, used to track its status
|
|
3785
|
+
* @type {string}
|
|
3786
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3787
|
+
*/
|
|
3788
|
+
'deployment_id': string;
|
|
3789
|
+
/**
|
|
3790
|
+
* Engine execution identifier for this deployment
|
|
3791
|
+
* @type {string}
|
|
3792
|
+
* @memberof BlueprintDeploymentAckResponse
|
|
3793
|
+
*/
|
|
3794
|
+
'execution_id': string;
|
|
3795
|
+
}
|
|
3777
3796
|
/**
|
|
3778
3797
|
*
|
|
3779
3798
|
* @export
|
|
@@ -4646,6 +4665,12 @@ export interface BlueprintUpdateResponse {
|
|
|
4646
4665
|
* @memberof BlueprintUpdateResponse
|
|
4647
4666
|
*/
|
|
4648
4667
|
'is_up_to_date': boolean;
|
|
4668
|
+
/**
|
|
4669
|
+
*
|
|
4670
|
+
* @type {string}
|
|
4671
|
+
* @memberof BlueprintUpdateResponse
|
|
4672
|
+
*/
|
|
4673
|
+
'current_tag': string;
|
|
4649
4674
|
/**
|
|
4650
4675
|
*
|
|
4651
4676
|
* @type {string}
|
|
@@ -29797,6 +29822,14 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
29797
29822
|
* @throws {RequiredError}
|
|
29798
29823
|
*/
|
|
29799
29824
|
createBlueprint: (environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29825
|
+
/**
|
|
29826
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
29827
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
29828
|
+
* @param {string} blueprintId Blueprint ID
|
|
29829
|
+
* @param {*} [options] Override http request option.
|
|
29830
|
+
* @throws {RequiredError}
|
|
29831
|
+
*/
|
|
29832
|
+
deployBlueprint: (blueprintId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29800
29833
|
/**
|
|
29801
29834
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29802
29835
|
* @summary Get the blueprint service catalog
|
|
@@ -29847,6 +29880,14 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
29847
29880
|
* @throws {RequiredError}
|
|
29848
29881
|
*/
|
|
29849
29882
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
29883
|
+
/**
|
|
29884
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
29885
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
29886
|
+
* @param {string} blueprintId Blueprint ID
|
|
29887
|
+
* @param {*} [options] Override http request option.
|
|
29888
|
+
* @throws {RequiredError}
|
|
29889
|
+
*/
|
|
29890
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintDeploymentAckResponse>>;
|
|
29850
29891
|
/**
|
|
29851
29892
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29852
29893
|
* @summary Get the blueprint service catalog
|
|
@@ -29897,6 +29938,14 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
29897
29938
|
* @throws {RequiredError}
|
|
29898
29939
|
*/
|
|
29899
29940
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
29941
|
+
/**
|
|
29942
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
29943
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
29944
|
+
* @param {string} blueprintId Blueprint ID
|
|
29945
|
+
* @param {*} [options] Override http request option.
|
|
29946
|
+
* @throws {RequiredError}
|
|
29947
|
+
*/
|
|
29948
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintDeploymentAckResponse>;
|
|
29900
29949
|
/**
|
|
29901
29950
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29902
29951
|
* @summary Get the blueprint service catalog
|
|
@@ -29951,6 +30000,15 @@ export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
|
29951
30000
|
* @memberof BlueprintMainCallsApi
|
|
29952
30001
|
*/
|
|
29953
30002
|
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
30003
|
+
/**
|
|
30004
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
30005
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
30006
|
+
* @param {string} blueprintId Blueprint ID
|
|
30007
|
+
* @param {*} [options] Override http request option.
|
|
30008
|
+
* @throws {RequiredError}
|
|
30009
|
+
* @memberof BlueprintMainCallsApi
|
|
30010
|
+
*/
|
|
30011
|
+
deployBlueprint(blueprintId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintDeploymentAckResponse, any, {}>>;
|
|
29954
30012
|
/**
|
|
29955
30013
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
29956
30014
|
* @summary Get the blueprint service catalog
|
package/dist/esm/api.js
CHANGED
|
@@ -9626,6 +9626,40 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
9626
9626
|
options: localVarRequestOptions,
|
|
9627
9627
|
};
|
|
9628
9628
|
}),
|
|
9629
|
+
/**
|
|
9630
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
9631
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
9632
|
+
* @param {string} blueprintId Blueprint ID
|
|
9633
|
+
* @param {*} [options] Override http request option.
|
|
9634
|
+
* @throws {RequiredError}
|
|
9635
|
+
*/
|
|
9636
|
+
deployBlueprint: (blueprintId_1, ...args_1) => __awaiter(this, [blueprintId_1, ...args_1], void 0, function* (blueprintId, options = {}) {
|
|
9637
|
+
// verify required parameter 'blueprintId' is not null or undefined
|
|
9638
|
+
assertParamExists('deployBlueprint', 'blueprintId', blueprintId);
|
|
9639
|
+
const localVarPath = `/blueprint/{blueprintId}/deploy`
|
|
9640
|
+
.replace(`{${"blueprintId"}}`, encodeURIComponent(String(blueprintId)));
|
|
9641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9643
|
+
let baseOptions;
|
|
9644
|
+
if (configuration) {
|
|
9645
|
+
baseOptions = configuration.baseOptions;
|
|
9646
|
+
}
|
|
9647
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9648
|
+
const localVarHeaderParameter = {};
|
|
9649
|
+
const localVarQueryParameter = {};
|
|
9650
|
+
// authentication ApiKeyAuth required
|
|
9651
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9652
|
+
// authentication bearerAuth required
|
|
9653
|
+
// http bearer authentication required
|
|
9654
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9655
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9657
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9658
|
+
return {
|
|
9659
|
+
url: toPathString(localVarUrlObj),
|
|
9660
|
+
options: localVarRequestOptions,
|
|
9661
|
+
};
|
|
9662
|
+
}),
|
|
9629
9663
|
/**
|
|
9630
9664
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9631
9665
|
* @summary Get the blueprint service catalog
|
|
@@ -9781,6 +9815,22 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
9781
9815
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9782
9816
|
});
|
|
9783
9817
|
},
|
|
9818
|
+
/**
|
|
9819
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
9820
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
9821
|
+
* @param {string} blueprintId Blueprint ID
|
|
9822
|
+
* @param {*} [options] Override http request option.
|
|
9823
|
+
* @throws {RequiredError}
|
|
9824
|
+
*/
|
|
9825
|
+
deployBlueprint(blueprintId, options) {
|
|
9826
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9827
|
+
var _a, _b, _c;
|
|
9828
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployBlueprint(blueprintId, options);
|
|
9829
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9830
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.deployBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9831
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9832
|
+
});
|
|
9833
|
+
},
|
|
9784
9834
|
/**
|
|
9785
9835
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9786
9836
|
* @summary Get the blueprint service catalog
|
|
@@ -9862,6 +9912,16 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
9862
9912
|
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9863
9913
|
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
9864
9914
|
},
|
|
9915
|
+
/**
|
|
9916
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
9917
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
9918
|
+
* @param {string} blueprintId Blueprint ID
|
|
9919
|
+
* @param {*} [options] Override http request option.
|
|
9920
|
+
* @throws {RequiredError}
|
|
9921
|
+
*/
|
|
9922
|
+
deployBlueprint(blueprintId, options) {
|
|
9923
|
+
return localVarFp.deployBlueprint(blueprintId, options).then((request) => request(axios, basePath));
|
|
9924
|
+
},
|
|
9865
9925
|
/**
|
|
9866
9926
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9867
9927
|
* @summary Get the blueprint service catalog
|
|
@@ -9927,6 +9987,17 @@ export class BlueprintMainCallsApi extends BaseAPI {
|
|
|
9927
9987
|
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9928
9988
|
return BlueprintMainCallsApiFp(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
9929
9989
|
}
|
|
9990
|
+
/**
|
|
9991
|
+
* Deploys the blueprint\'s currently saved settings to its service. Call this after saving changes with PATCH /blueprint/{blueprintId} (and, optionally, previewing them) to roll them out. No request body: it deploys whatever is currently saved on the blueprint.
|
|
9992
|
+
* @summary Deploy (apply) the current blueprint spec
|
|
9993
|
+
* @param {string} blueprintId Blueprint ID
|
|
9994
|
+
* @param {*} [options] Override http request option.
|
|
9995
|
+
* @throws {RequiredError}
|
|
9996
|
+
* @memberof BlueprintMainCallsApi
|
|
9997
|
+
*/
|
|
9998
|
+
deployBlueprint(blueprintId, options) {
|
|
9999
|
+
return BlueprintMainCallsApiFp(this.configuration).deployBlueprint(blueprintId, options).then((request) => request(this.axios, this.basePath));
|
|
10000
|
+
}
|
|
9930
10001
|
/**
|
|
9931
10002
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9932
10003
|
* @summary Get the blueprint service catalog
|