qovery-typescript-axios 1.1.903 → 1.1.905
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 +216 -0
- package/dist/api.d.ts +166 -0
- package/dist/api.js +86 -0
- package/dist/esm/api.d.ts +166 -0
- package/dist/esm/api.js +86 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1200,6 +1200,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1200
1200
|
* @memberof ApplicationAdvancedSettings
|
|
1201
1201
|
*/
|
|
1202
1202
|
'build.disable_buildkit_cache'?: boolean;
|
|
1203
|
+
/**
|
|
1204
|
+
* skip git submodules update when cloning the repository
|
|
1205
|
+
* @type {boolean}
|
|
1206
|
+
* @memberof ApplicationAdvancedSettings
|
|
1207
|
+
*/
|
|
1208
|
+
'build.skip_git_submodules'?: boolean;
|
|
1203
1209
|
/**
|
|
1204
1210
|
*
|
|
1205
1211
|
* @type {number}
|
|
@@ -3467,6 +3473,43 @@ export interface BlueprintCatalogResponse {
|
|
|
3467
3473
|
*/
|
|
3468
3474
|
'blueprints': Array<BlueprintItem>;
|
|
3469
3475
|
}
|
|
3476
|
+
/**
|
|
3477
|
+
*
|
|
3478
|
+
* @export
|
|
3479
|
+
* @interface BlueprintCreateRequest
|
|
3480
|
+
*/
|
|
3481
|
+
export interface BlueprintCreateRequest {
|
|
3482
|
+
/**
|
|
3483
|
+
* Display name for the service
|
|
3484
|
+
* @type {string}
|
|
3485
|
+
* @memberof BlueprintCreateRequest
|
|
3486
|
+
*/
|
|
3487
|
+
'name': string;
|
|
3488
|
+
/**
|
|
3489
|
+
* Catalog tag identifying the blueprint version
|
|
3490
|
+
* @type {string}
|
|
3491
|
+
* @memberof BlueprintCreateRequest
|
|
3492
|
+
*/
|
|
3493
|
+
'tag': string;
|
|
3494
|
+
/**
|
|
3495
|
+
* Icon URL for the service
|
|
3496
|
+
* @type {string}
|
|
3497
|
+
* @memberof BlueprintCreateRequest
|
|
3498
|
+
*/
|
|
3499
|
+
'icon': string;
|
|
3500
|
+
/**
|
|
3501
|
+
* Variable overrides for the blueprint
|
|
3502
|
+
* @type {Array<BlueprintVariableRequest>}
|
|
3503
|
+
* @memberof BlueprintCreateRequest
|
|
3504
|
+
*/
|
|
3505
|
+
'variables'?: Array<BlueprintVariableRequest>;
|
|
3506
|
+
/**
|
|
3507
|
+
* Partial spec overrides merged on top of the blueprint manifest
|
|
3508
|
+
* @type {{ [key: string]: any; }}
|
|
3509
|
+
* @memberof BlueprintCreateRequest
|
|
3510
|
+
*/
|
|
3511
|
+
'specOverrides'?: { [key: string]: any; } | null;
|
|
3512
|
+
}
|
|
3470
3513
|
/**
|
|
3471
3514
|
*
|
|
3472
3515
|
* @export
|
|
@@ -3541,6 +3584,62 @@ export interface BlueprintMajorVersion {
|
|
|
3541
3584
|
*/
|
|
3542
3585
|
'latestTag': string;
|
|
3543
3586
|
}
|
|
3587
|
+
/**
|
|
3588
|
+
*
|
|
3589
|
+
* @export
|
|
3590
|
+
* @interface BlueprintResponse
|
|
3591
|
+
*/
|
|
3592
|
+
export interface BlueprintResponse {
|
|
3593
|
+
/**
|
|
3594
|
+
*
|
|
3595
|
+
* @type {string}
|
|
3596
|
+
* @memberof BlueprintResponse
|
|
3597
|
+
*/
|
|
3598
|
+
'id': string;
|
|
3599
|
+
/**
|
|
3600
|
+
* URL to the blueprint catalog entry
|
|
3601
|
+
* @type {string}
|
|
3602
|
+
* @memberof BlueprintResponse
|
|
3603
|
+
*/
|
|
3604
|
+
'catalogUrl': string;
|
|
3605
|
+
/**
|
|
3606
|
+
*
|
|
3607
|
+
* @type {string}
|
|
3608
|
+
* @memberof BlueprintResponse
|
|
3609
|
+
*/
|
|
3610
|
+
'tag': string;
|
|
3611
|
+
/**
|
|
3612
|
+
*
|
|
3613
|
+
* @type {string}
|
|
3614
|
+
* @memberof BlueprintResponse
|
|
3615
|
+
*/
|
|
3616
|
+
'environmentId': string;
|
|
3617
|
+
}
|
|
3618
|
+
/**
|
|
3619
|
+
*
|
|
3620
|
+
* @export
|
|
3621
|
+
* @interface BlueprintVariableRequest
|
|
3622
|
+
*/
|
|
3623
|
+
export interface BlueprintVariableRequest {
|
|
3624
|
+
/**
|
|
3625
|
+
*
|
|
3626
|
+
* @type {string}
|
|
3627
|
+
* @memberof BlueprintVariableRequest
|
|
3628
|
+
*/
|
|
3629
|
+
'name': string;
|
|
3630
|
+
/**
|
|
3631
|
+
*
|
|
3632
|
+
* @type {string}
|
|
3633
|
+
* @memberof BlueprintVariableRequest
|
|
3634
|
+
*/
|
|
3635
|
+
'value': string;
|
|
3636
|
+
/**
|
|
3637
|
+
*
|
|
3638
|
+
* @type {boolean}
|
|
3639
|
+
* @memberof BlueprintVariableRequest
|
|
3640
|
+
*/
|
|
3641
|
+
'isSecret'?: boolean;
|
|
3642
|
+
}
|
|
3544
3643
|
/**
|
|
3545
3644
|
*
|
|
3546
3645
|
* @export
|
|
@@ -14567,6 +14666,12 @@ export interface HelmResponse {
|
|
|
14567
14666
|
* @memberof HelmResponse
|
|
14568
14667
|
*/
|
|
14569
14668
|
'service_type': ServiceTypeEnum;
|
|
14669
|
+
/**
|
|
14670
|
+
* The blueprint ID the service has been created from
|
|
14671
|
+
* @type {string}
|
|
14672
|
+
* @memberof HelmResponse
|
|
14673
|
+
*/
|
|
14674
|
+
'blueprintId'?: string | null;
|
|
14570
14675
|
}
|
|
14571
14676
|
|
|
14572
14677
|
|
|
@@ -15115,6 +15220,12 @@ export interface JobAdvancedSettings {
|
|
|
15115
15220
|
* @memberof JobAdvancedSettings
|
|
15116
15221
|
*/
|
|
15117
15222
|
'build.disable_buildkit_cache'?: boolean;
|
|
15223
|
+
/**
|
|
15224
|
+
* skip git submodules update when cloning the repository
|
|
15225
|
+
* @type {boolean}
|
|
15226
|
+
* @memberof JobAdvancedSettings
|
|
15227
|
+
*/
|
|
15228
|
+
'build.skip_git_submodules'?: boolean;
|
|
15118
15229
|
/**
|
|
15119
15230
|
* define how long in seconds an application is supposed to be stopped gracefully
|
|
15120
15231
|
* @type {number}
|
|
@@ -22468,6 +22579,12 @@ export interface TerraformAdvancedSettings {
|
|
|
22468
22579
|
* @memberof TerraformAdvancedSettings
|
|
22469
22580
|
*/
|
|
22470
22581
|
'build.ephemeral_storage_in_gib'?: number;
|
|
22582
|
+
/**
|
|
22583
|
+
* skip git submodules update when cloning the repository
|
|
22584
|
+
* @type {boolean}
|
|
22585
|
+
* @memberof TerraformAdvancedSettings
|
|
22586
|
+
*/
|
|
22587
|
+
'build.skip_git_submodules'?: boolean;
|
|
22471
22588
|
/**
|
|
22472
22589
|
* define how long in seconds an application is supposed to be stopped gracefully
|
|
22473
22590
|
* @type {number}
|
|
@@ -23222,6 +23339,12 @@ export interface TerraformResponse {
|
|
|
23222
23339
|
* @memberof TerraformResponse
|
|
23223
23340
|
*/
|
|
23224
23341
|
'dockerfile_fragment'?: TerraformResponseAllOfDockerfileFragment | null;
|
|
23342
|
+
/**
|
|
23343
|
+
* The blueprint ID the service has been created from
|
|
23344
|
+
* @type {string}
|
|
23345
|
+
* @memberof TerraformResponse
|
|
23346
|
+
*/
|
|
23347
|
+
'blueprintId'?: string | null;
|
|
23225
23348
|
}
|
|
23226
23349
|
|
|
23227
23350
|
|
|
@@ -32240,6 +32363,58 @@ export class BlueprintCatalogApi extends BaseAPI {
|
|
|
32240
32363
|
*/
|
|
32241
32364
|
export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32242
32365
|
return {
|
|
32366
|
+
/**
|
|
32367
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
32368
|
+
* @summary Create a blueprint service in an environment
|
|
32369
|
+
* @param {string} environmentId Environment ID
|
|
32370
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
32371
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
32372
|
+
* @param {*} [options] Override http request option.
|
|
32373
|
+
* @throws {RequiredError}
|
|
32374
|
+
*/
|
|
32375
|
+
createBlueprint: async (environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32376
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
32377
|
+
assertParamExists('createBlueprint', 'environmentId', environmentId)
|
|
32378
|
+
// verify required parameter 'blueprintCreateRequest' is not null or undefined
|
|
32379
|
+
assertParamExists('createBlueprint', 'blueprintCreateRequest', blueprintCreateRequest)
|
|
32380
|
+
const localVarPath = `/environment/{environmentId}/blueprint`
|
|
32381
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
32382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32384
|
+
let baseOptions;
|
|
32385
|
+
if (configuration) {
|
|
32386
|
+
baseOptions = configuration.baseOptions;
|
|
32387
|
+
}
|
|
32388
|
+
|
|
32389
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32390
|
+
const localVarHeaderParameter = {} as any;
|
|
32391
|
+
const localVarQueryParameter = {} as any;
|
|
32392
|
+
|
|
32393
|
+
// authentication ApiKeyAuth required
|
|
32394
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
32395
|
+
|
|
32396
|
+
// authentication bearerAuth required
|
|
32397
|
+
// http bearer authentication required
|
|
32398
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32399
|
+
|
|
32400
|
+
if (deploy !== undefined) {
|
|
32401
|
+
localVarQueryParameter['deploy'] = deploy;
|
|
32402
|
+
}
|
|
32403
|
+
|
|
32404
|
+
|
|
32405
|
+
|
|
32406
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32407
|
+
|
|
32408
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32409
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32410
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32411
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blueprintCreateRequest, localVarRequestOptions, configuration)
|
|
32412
|
+
|
|
32413
|
+
return {
|
|
32414
|
+
url: toPathString(localVarUrlObj),
|
|
32415
|
+
options: localVarRequestOptions,
|
|
32416
|
+
};
|
|
32417
|
+
},
|
|
32243
32418
|
/**
|
|
32244
32419
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
32245
32420
|
* @summary Get the blueprint service catalog
|
|
@@ -32291,6 +32466,21 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration?:
|
|
|
32291
32466
|
export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
32292
32467
|
const localVarAxiosParamCreator = BlueprintMainCallsApiAxiosParamCreator(configuration)
|
|
32293
32468
|
return {
|
|
32469
|
+
/**
|
|
32470
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
32471
|
+
* @summary Create a blueprint service in an environment
|
|
32472
|
+
* @param {string} environmentId Environment ID
|
|
32473
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
32474
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
32475
|
+
* @param {*} [options] Override http request option.
|
|
32476
|
+
* @throws {RequiredError}
|
|
32477
|
+
*/
|
|
32478
|
+
async createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>> {
|
|
32479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createBlueprint(environmentId, blueprintCreateRequest, deploy, options);
|
|
32480
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32481
|
+
const localVarOperationServerBasePath = operationServerMap['BlueprintMainCallsApi.createBlueprint']?.[localVarOperationServerIndex]?.url;
|
|
32482
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32483
|
+
},
|
|
32294
32484
|
/**
|
|
32295
32485
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
32296
32486
|
* @summary Get the blueprint service catalog
|
|
@@ -32314,6 +32504,18 @@ export const BlueprintMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
32314
32504
|
export const BlueprintMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32315
32505
|
const localVarFp = BlueprintMainCallsApiFp(configuration)
|
|
32316
32506
|
return {
|
|
32507
|
+
/**
|
|
32508
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
32509
|
+
* @summary Create a blueprint service in an environment
|
|
32510
|
+
* @param {string} environmentId Environment ID
|
|
32511
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
32512
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
32513
|
+
* @param {*} [options] Override http request option.
|
|
32514
|
+
* @throws {RequiredError}
|
|
32515
|
+
*/
|
|
32516
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse> {
|
|
32517
|
+
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
32518
|
+
},
|
|
32317
32519
|
/**
|
|
32318
32520
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
32319
32521
|
* @summary Get the blueprint service catalog
|
|
@@ -32334,6 +32536,20 @@ export const BlueprintMainCallsApiFactory = function (configuration?: Configurat
|
|
|
32334
32536
|
* @extends {BaseAPI}
|
|
32335
32537
|
*/
|
|
32336
32538
|
export class BlueprintMainCallsApi extends BaseAPI {
|
|
32539
|
+
/**
|
|
32540
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
32541
|
+
* @summary Create a blueprint service in an environment
|
|
32542
|
+
* @param {string} environmentId Environment ID
|
|
32543
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
32544
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
32545
|
+
* @param {*} [options] Override http request option.
|
|
32546
|
+
* @throws {RequiredError}
|
|
32547
|
+
* @memberof BlueprintMainCallsApi
|
|
32548
|
+
*/
|
|
32549
|
+
public createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig) {
|
|
32550
|
+
return BlueprintMainCallsApiFp(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
32551
|
+
}
|
|
32552
|
+
|
|
32337
32553
|
/**
|
|
32338
32554
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
32339
32555
|
* @summary Get the blueprint service catalog
|
package/dist/api.d.ts
CHANGED
|
@@ -1141,6 +1141,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1141
1141
|
* @memberof ApplicationAdvancedSettings
|
|
1142
1142
|
*/
|
|
1143
1143
|
'build.disable_buildkit_cache'?: boolean;
|
|
1144
|
+
/**
|
|
1145
|
+
* skip git submodules update when cloning the repository
|
|
1146
|
+
* @type {boolean}
|
|
1147
|
+
* @memberof ApplicationAdvancedSettings
|
|
1148
|
+
*/
|
|
1149
|
+
'build.skip_git_submodules'?: boolean;
|
|
1144
1150
|
/**
|
|
1145
1151
|
*
|
|
1146
1152
|
* @type {number}
|
|
@@ -3344,6 +3350,45 @@ export interface BlueprintCatalogResponse {
|
|
|
3344
3350
|
*/
|
|
3345
3351
|
'blueprints': Array<BlueprintItem>;
|
|
3346
3352
|
}
|
|
3353
|
+
/**
|
|
3354
|
+
*
|
|
3355
|
+
* @export
|
|
3356
|
+
* @interface BlueprintCreateRequest
|
|
3357
|
+
*/
|
|
3358
|
+
export interface BlueprintCreateRequest {
|
|
3359
|
+
/**
|
|
3360
|
+
* Display name for the service
|
|
3361
|
+
* @type {string}
|
|
3362
|
+
* @memberof BlueprintCreateRequest
|
|
3363
|
+
*/
|
|
3364
|
+
'name': string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Catalog tag identifying the blueprint version
|
|
3367
|
+
* @type {string}
|
|
3368
|
+
* @memberof BlueprintCreateRequest
|
|
3369
|
+
*/
|
|
3370
|
+
'tag': string;
|
|
3371
|
+
/**
|
|
3372
|
+
* Icon URL for the service
|
|
3373
|
+
* @type {string}
|
|
3374
|
+
* @memberof BlueprintCreateRequest
|
|
3375
|
+
*/
|
|
3376
|
+
'icon': string;
|
|
3377
|
+
/**
|
|
3378
|
+
* Variable overrides for the blueprint
|
|
3379
|
+
* @type {Array<BlueprintVariableRequest>}
|
|
3380
|
+
* @memberof BlueprintCreateRequest
|
|
3381
|
+
*/
|
|
3382
|
+
'variables'?: Array<BlueprintVariableRequest>;
|
|
3383
|
+
/**
|
|
3384
|
+
* Partial spec overrides merged on top of the blueprint manifest
|
|
3385
|
+
* @type {{ [key: string]: any; }}
|
|
3386
|
+
* @memberof BlueprintCreateRequest
|
|
3387
|
+
*/
|
|
3388
|
+
'specOverrides'?: {
|
|
3389
|
+
[key: string]: any;
|
|
3390
|
+
} | null;
|
|
3391
|
+
}
|
|
3347
3392
|
/**
|
|
3348
3393
|
*
|
|
3349
3394
|
* @export
|
|
@@ -3418,6 +3463,62 @@ export interface BlueprintMajorVersion {
|
|
|
3418
3463
|
*/
|
|
3419
3464
|
'latestTag': string;
|
|
3420
3465
|
}
|
|
3466
|
+
/**
|
|
3467
|
+
*
|
|
3468
|
+
* @export
|
|
3469
|
+
* @interface BlueprintResponse
|
|
3470
|
+
*/
|
|
3471
|
+
export interface BlueprintResponse {
|
|
3472
|
+
/**
|
|
3473
|
+
*
|
|
3474
|
+
* @type {string}
|
|
3475
|
+
* @memberof BlueprintResponse
|
|
3476
|
+
*/
|
|
3477
|
+
'id': string;
|
|
3478
|
+
/**
|
|
3479
|
+
* URL to the blueprint catalog entry
|
|
3480
|
+
* @type {string}
|
|
3481
|
+
* @memberof BlueprintResponse
|
|
3482
|
+
*/
|
|
3483
|
+
'catalogUrl': string;
|
|
3484
|
+
/**
|
|
3485
|
+
*
|
|
3486
|
+
* @type {string}
|
|
3487
|
+
* @memberof BlueprintResponse
|
|
3488
|
+
*/
|
|
3489
|
+
'tag': string;
|
|
3490
|
+
/**
|
|
3491
|
+
*
|
|
3492
|
+
* @type {string}
|
|
3493
|
+
* @memberof BlueprintResponse
|
|
3494
|
+
*/
|
|
3495
|
+
'environmentId': string;
|
|
3496
|
+
}
|
|
3497
|
+
/**
|
|
3498
|
+
*
|
|
3499
|
+
* @export
|
|
3500
|
+
* @interface BlueprintVariableRequest
|
|
3501
|
+
*/
|
|
3502
|
+
export interface BlueprintVariableRequest {
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @type {string}
|
|
3506
|
+
* @memberof BlueprintVariableRequest
|
|
3507
|
+
*/
|
|
3508
|
+
'name': string;
|
|
3509
|
+
/**
|
|
3510
|
+
*
|
|
3511
|
+
* @type {string}
|
|
3512
|
+
* @memberof BlueprintVariableRequest
|
|
3513
|
+
*/
|
|
3514
|
+
'value': string;
|
|
3515
|
+
/**
|
|
3516
|
+
*
|
|
3517
|
+
* @type {boolean}
|
|
3518
|
+
* @memberof BlueprintVariableRequest
|
|
3519
|
+
*/
|
|
3520
|
+
'isSecret'?: boolean;
|
|
3521
|
+
}
|
|
3421
3522
|
/**
|
|
3422
3523
|
*
|
|
3423
3524
|
* @export
|
|
@@ -14109,6 +14210,12 @@ export interface HelmResponse {
|
|
|
14109
14210
|
* @memberof HelmResponse
|
|
14110
14211
|
*/
|
|
14111
14212
|
'service_type': ServiceTypeEnum;
|
|
14213
|
+
/**
|
|
14214
|
+
* The blueprint ID the service has been created from
|
|
14215
|
+
* @type {string}
|
|
14216
|
+
* @memberof HelmResponse
|
|
14217
|
+
*/
|
|
14218
|
+
'blueprintId'?: string | null;
|
|
14112
14219
|
}
|
|
14113
14220
|
/**
|
|
14114
14221
|
* @type HelmResponseAllOfPorts
|
|
@@ -14644,6 +14751,12 @@ export interface JobAdvancedSettings {
|
|
|
14644
14751
|
* @memberof JobAdvancedSettings
|
|
14645
14752
|
*/
|
|
14646
14753
|
'build.disable_buildkit_cache'?: boolean;
|
|
14754
|
+
/**
|
|
14755
|
+
* skip git submodules update when cloning the repository
|
|
14756
|
+
* @type {boolean}
|
|
14757
|
+
* @memberof JobAdvancedSettings
|
|
14758
|
+
*/
|
|
14759
|
+
'build.skip_git_submodules'?: boolean;
|
|
14647
14760
|
/**
|
|
14648
14761
|
* define how long in seconds an application is supposed to be stopped gracefully
|
|
14649
14762
|
* @type {number}
|
|
@@ -21726,6 +21839,12 @@ export interface TerraformAdvancedSettings {
|
|
|
21726
21839
|
* @memberof TerraformAdvancedSettings
|
|
21727
21840
|
*/
|
|
21728
21841
|
'build.ephemeral_storage_in_gib'?: number;
|
|
21842
|
+
/**
|
|
21843
|
+
* skip git submodules update when cloning the repository
|
|
21844
|
+
* @type {boolean}
|
|
21845
|
+
* @memberof TerraformAdvancedSettings
|
|
21846
|
+
*/
|
|
21847
|
+
'build.skip_git_submodules'?: boolean;
|
|
21729
21848
|
/**
|
|
21730
21849
|
* define how long in seconds an application is supposed to be stopped gracefully
|
|
21731
21850
|
* @type {number}
|
|
@@ -22472,6 +22591,12 @@ export interface TerraformResponse {
|
|
|
22472
22591
|
* @memberof TerraformResponse
|
|
22473
22592
|
*/
|
|
22474
22593
|
'dockerfile_fragment'?: TerraformResponseAllOfDockerfileFragment | null;
|
|
22594
|
+
/**
|
|
22595
|
+
* The blueprint ID the service has been created from
|
|
22596
|
+
* @type {string}
|
|
22597
|
+
* @memberof TerraformResponse
|
|
22598
|
+
*/
|
|
22599
|
+
'blueprintId'?: string | null;
|
|
22475
22600
|
}
|
|
22476
22601
|
/**
|
|
22477
22602
|
* @type TerraformResponseAllOfDockerfileFragment
|
|
@@ -27132,6 +27257,16 @@ export declare class BlueprintCatalogApi extends BaseAPI {
|
|
|
27132
27257
|
* @export
|
|
27133
27258
|
*/
|
|
27134
27259
|
export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27260
|
+
/**
|
|
27261
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27262
|
+
* @summary Create a blueprint service in an environment
|
|
27263
|
+
* @param {string} environmentId Environment ID
|
|
27264
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27265
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27266
|
+
* @param {*} [options] Override http request option.
|
|
27267
|
+
* @throws {RequiredError}
|
|
27268
|
+
*/
|
|
27269
|
+
createBlueprint: (environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27135
27270
|
/**
|
|
27136
27271
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27137
27272
|
* @summary Get the blueprint service catalog
|
|
@@ -27146,6 +27281,16 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27146
27281
|
* @export
|
|
27147
27282
|
*/
|
|
27148
27283
|
export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) => {
|
|
27284
|
+
/**
|
|
27285
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27286
|
+
* @summary Create a blueprint service in an environment
|
|
27287
|
+
* @param {string} environmentId Environment ID
|
|
27288
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27289
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27290
|
+
* @param {*} [options] Override http request option.
|
|
27291
|
+
* @throws {RequiredError}
|
|
27292
|
+
*/
|
|
27293
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
27149
27294
|
/**
|
|
27150
27295
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27151
27296
|
* @summary Get the blueprint service catalog
|
|
@@ -27160,6 +27305,16 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27160
27305
|
* @export
|
|
27161
27306
|
*/
|
|
27162
27307
|
export declare const BlueprintMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
27308
|
+
/**
|
|
27309
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27310
|
+
* @summary Create a blueprint service in an environment
|
|
27311
|
+
* @param {string} environmentId Environment ID
|
|
27312
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27313
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27314
|
+
* @param {*} [options] Override http request option.
|
|
27315
|
+
* @throws {RequiredError}
|
|
27316
|
+
*/
|
|
27317
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
27163
27318
|
/**
|
|
27164
27319
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27165
27320
|
* @summary Get the blueprint service catalog
|
|
@@ -27176,6 +27331,17 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27176
27331
|
* @extends {BaseAPI}
|
|
27177
27332
|
*/
|
|
27178
27333
|
export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
27334
|
+
/**
|
|
27335
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27336
|
+
* @summary Create a blueprint service in an environment
|
|
27337
|
+
* @param {string} environmentId Environment ID
|
|
27338
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27339
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27340
|
+
* @param {*} [options] Override http request option.
|
|
27341
|
+
* @throws {RequiredError}
|
|
27342
|
+
* @memberof BlueprintMainCallsApi
|
|
27343
|
+
*/
|
|
27344
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
27179
27345
|
/**
|
|
27180
27346
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27181
27347
|
* @summary Get the blueprint service catalog
|
package/dist/api.js
CHANGED
|
@@ -8972,6 +8972,49 @@ exports.BlueprintCatalogApi = BlueprintCatalogApi;
|
|
|
8972
8972
|
*/
|
|
8973
8973
|
const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
8974
8974
|
return {
|
|
8975
|
+
/**
|
|
8976
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
8977
|
+
* @summary Create a blueprint service in an environment
|
|
8978
|
+
* @param {string} environmentId Environment ID
|
|
8979
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
8980
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
8981
|
+
* @param {*} [options] Override http request option.
|
|
8982
|
+
* @throws {RequiredError}
|
|
8983
|
+
*/
|
|
8984
|
+
createBlueprint: (environmentId_1, blueprintCreateRequest_1, deploy_1, ...args_1) => __awaiter(this, [environmentId_1, blueprintCreateRequest_1, deploy_1, ...args_1], void 0, function* (environmentId, blueprintCreateRequest, deploy, options = {}) {
|
|
8985
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
8986
|
+
(0, common_1.assertParamExists)('createBlueprint', 'environmentId', environmentId);
|
|
8987
|
+
// verify required parameter 'blueprintCreateRequest' is not null or undefined
|
|
8988
|
+
(0, common_1.assertParamExists)('createBlueprint', 'blueprintCreateRequest', blueprintCreateRequest);
|
|
8989
|
+
const localVarPath = `/environment/{environmentId}/blueprint`
|
|
8990
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
8991
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8992
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8993
|
+
let baseOptions;
|
|
8994
|
+
if (configuration) {
|
|
8995
|
+
baseOptions = configuration.baseOptions;
|
|
8996
|
+
}
|
|
8997
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8998
|
+
const localVarHeaderParameter = {};
|
|
8999
|
+
const localVarQueryParameter = {};
|
|
9000
|
+
// authentication ApiKeyAuth required
|
|
9001
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
9002
|
+
// authentication bearerAuth required
|
|
9003
|
+
// http bearer authentication required
|
|
9004
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
9005
|
+
if (deploy !== undefined) {
|
|
9006
|
+
localVarQueryParameter['deploy'] = deploy;
|
|
9007
|
+
}
|
|
9008
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9009
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9010
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9011
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9012
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(blueprintCreateRequest, localVarRequestOptions, configuration);
|
|
9013
|
+
return {
|
|
9014
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
9015
|
+
options: localVarRequestOptions,
|
|
9016
|
+
};
|
|
9017
|
+
}),
|
|
8975
9018
|
/**
|
|
8976
9019
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
8977
9020
|
* @summary Get the blueprint service catalog
|
|
@@ -9016,6 +9059,24 @@ exports.BlueprintMainCallsApiAxiosParamCreator = BlueprintMainCallsApiAxiosParam
|
|
|
9016
9059
|
const BlueprintMainCallsApiFp = function (configuration) {
|
|
9017
9060
|
const localVarAxiosParamCreator = (0, exports.BlueprintMainCallsApiAxiosParamCreator)(configuration);
|
|
9018
9061
|
return {
|
|
9062
|
+
/**
|
|
9063
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
9064
|
+
* @summary Create a blueprint service in an environment
|
|
9065
|
+
* @param {string} environmentId Environment ID
|
|
9066
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
9067
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
9068
|
+
* @param {*} [options] Override http request option.
|
|
9069
|
+
* @throws {RequiredError}
|
|
9070
|
+
*/
|
|
9071
|
+
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9072
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9073
|
+
var _a, _b, _c;
|
|
9074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createBlueprint(environmentId, blueprintCreateRequest, deploy, options);
|
|
9075
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9076
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BlueprintMainCallsApi.createBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9077
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9078
|
+
});
|
|
9079
|
+
},
|
|
9019
9080
|
/**
|
|
9020
9081
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9021
9082
|
* @summary Get the blueprint service catalog
|
|
@@ -9042,6 +9103,18 @@ exports.BlueprintMainCallsApiFp = BlueprintMainCallsApiFp;
|
|
|
9042
9103
|
const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
9043
9104
|
const localVarFp = (0, exports.BlueprintMainCallsApiFp)(configuration);
|
|
9044
9105
|
return {
|
|
9106
|
+
/**
|
|
9107
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
9108
|
+
* @summary Create a blueprint service in an environment
|
|
9109
|
+
* @param {string} environmentId Environment ID
|
|
9110
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
9111
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
9112
|
+
* @param {*} [options] Override http request option.
|
|
9113
|
+
* @throws {RequiredError}
|
|
9114
|
+
*/
|
|
9115
|
+
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9116
|
+
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
9117
|
+
},
|
|
9045
9118
|
/**
|
|
9046
9119
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9047
9120
|
* @summary Get the blueprint service catalog
|
|
@@ -9062,6 +9135,19 @@ exports.BlueprintMainCallsApiFactory = BlueprintMainCallsApiFactory;
|
|
|
9062
9135
|
* @extends {BaseAPI}
|
|
9063
9136
|
*/
|
|
9064
9137
|
class BlueprintMainCallsApi extends base_1.BaseAPI {
|
|
9138
|
+
/**
|
|
9139
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
9140
|
+
* @summary Create a blueprint service in an environment
|
|
9141
|
+
* @param {string} environmentId Environment ID
|
|
9142
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
9143
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
9144
|
+
* @param {*} [options] Override http request option.
|
|
9145
|
+
* @throws {RequiredError}
|
|
9146
|
+
* @memberof BlueprintMainCallsApi
|
|
9147
|
+
*/
|
|
9148
|
+
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9149
|
+
return (0, exports.BlueprintMainCallsApiFp)(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
9150
|
+
}
|
|
9065
9151
|
/**
|
|
9066
9152
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
9067
9153
|
* @summary Get the blueprint service catalog
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1141,6 +1141,12 @@ export interface ApplicationAdvancedSettings {
|
|
|
1141
1141
|
* @memberof ApplicationAdvancedSettings
|
|
1142
1142
|
*/
|
|
1143
1143
|
'build.disable_buildkit_cache'?: boolean;
|
|
1144
|
+
/**
|
|
1145
|
+
* skip git submodules update when cloning the repository
|
|
1146
|
+
* @type {boolean}
|
|
1147
|
+
* @memberof ApplicationAdvancedSettings
|
|
1148
|
+
*/
|
|
1149
|
+
'build.skip_git_submodules'?: boolean;
|
|
1144
1150
|
/**
|
|
1145
1151
|
*
|
|
1146
1152
|
* @type {number}
|
|
@@ -3344,6 +3350,45 @@ export interface BlueprintCatalogResponse {
|
|
|
3344
3350
|
*/
|
|
3345
3351
|
'blueprints': Array<BlueprintItem>;
|
|
3346
3352
|
}
|
|
3353
|
+
/**
|
|
3354
|
+
*
|
|
3355
|
+
* @export
|
|
3356
|
+
* @interface BlueprintCreateRequest
|
|
3357
|
+
*/
|
|
3358
|
+
export interface BlueprintCreateRequest {
|
|
3359
|
+
/**
|
|
3360
|
+
* Display name for the service
|
|
3361
|
+
* @type {string}
|
|
3362
|
+
* @memberof BlueprintCreateRequest
|
|
3363
|
+
*/
|
|
3364
|
+
'name': string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Catalog tag identifying the blueprint version
|
|
3367
|
+
* @type {string}
|
|
3368
|
+
* @memberof BlueprintCreateRequest
|
|
3369
|
+
*/
|
|
3370
|
+
'tag': string;
|
|
3371
|
+
/**
|
|
3372
|
+
* Icon URL for the service
|
|
3373
|
+
* @type {string}
|
|
3374
|
+
* @memberof BlueprintCreateRequest
|
|
3375
|
+
*/
|
|
3376
|
+
'icon': string;
|
|
3377
|
+
/**
|
|
3378
|
+
* Variable overrides for the blueprint
|
|
3379
|
+
* @type {Array<BlueprintVariableRequest>}
|
|
3380
|
+
* @memberof BlueprintCreateRequest
|
|
3381
|
+
*/
|
|
3382
|
+
'variables'?: Array<BlueprintVariableRequest>;
|
|
3383
|
+
/**
|
|
3384
|
+
* Partial spec overrides merged on top of the blueprint manifest
|
|
3385
|
+
* @type {{ [key: string]: any; }}
|
|
3386
|
+
* @memberof BlueprintCreateRequest
|
|
3387
|
+
*/
|
|
3388
|
+
'specOverrides'?: {
|
|
3389
|
+
[key: string]: any;
|
|
3390
|
+
} | null;
|
|
3391
|
+
}
|
|
3347
3392
|
/**
|
|
3348
3393
|
*
|
|
3349
3394
|
* @export
|
|
@@ -3418,6 +3463,62 @@ export interface BlueprintMajorVersion {
|
|
|
3418
3463
|
*/
|
|
3419
3464
|
'latestTag': string;
|
|
3420
3465
|
}
|
|
3466
|
+
/**
|
|
3467
|
+
*
|
|
3468
|
+
* @export
|
|
3469
|
+
* @interface BlueprintResponse
|
|
3470
|
+
*/
|
|
3471
|
+
export interface BlueprintResponse {
|
|
3472
|
+
/**
|
|
3473
|
+
*
|
|
3474
|
+
* @type {string}
|
|
3475
|
+
* @memberof BlueprintResponse
|
|
3476
|
+
*/
|
|
3477
|
+
'id': string;
|
|
3478
|
+
/**
|
|
3479
|
+
* URL to the blueprint catalog entry
|
|
3480
|
+
* @type {string}
|
|
3481
|
+
* @memberof BlueprintResponse
|
|
3482
|
+
*/
|
|
3483
|
+
'catalogUrl': string;
|
|
3484
|
+
/**
|
|
3485
|
+
*
|
|
3486
|
+
* @type {string}
|
|
3487
|
+
* @memberof BlueprintResponse
|
|
3488
|
+
*/
|
|
3489
|
+
'tag': string;
|
|
3490
|
+
/**
|
|
3491
|
+
*
|
|
3492
|
+
* @type {string}
|
|
3493
|
+
* @memberof BlueprintResponse
|
|
3494
|
+
*/
|
|
3495
|
+
'environmentId': string;
|
|
3496
|
+
}
|
|
3497
|
+
/**
|
|
3498
|
+
*
|
|
3499
|
+
* @export
|
|
3500
|
+
* @interface BlueprintVariableRequest
|
|
3501
|
+
*/
|
|
3502
|
+
export interface BlueprintVariableRequest {
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @type {string}
|
|
3506
|
+
* @memberof BlueprintVariableRequest
|
|
3507
|
+
*/
|
|
3508
|
+
'name': string;
|
|
3509
|
+
/**
|
|
3510
|
+
*
|
|
3511
|
+
* @type {string}
|
|
3512
|
+
* @memberof BlueprintVariableRequest
|
|
3513
|
+
*/
|
|
3514
|
+
'value': string;
|
|
3515
|
+
/**
|
|
3516
|
+
*
|
|
3517
|
+
* @type {boolean}
|
|
3518
|
+
* @memberof BlueprintVariableRequest
|
|
3519
|
+
*/
|
|
3520
|
+
'isSecret'?: boolean;
|
|
3521
|
+
}
|
|
3421
3522
|
/**
|
|
3422
3523
|
*
|
|
3423
3524
|
* @export
|
|
@@ -14109,6 +14210,12 @@ export interface HelmResponse {
|
|
|
14109
14210
|
* @memberof HelmResponse
|
|
14110
14211
|
*/
|
|
14111
14212
|
'service_type': ServiceTypeEnum;
|
|
14213
|
+
/**
|
|
14214
|
+
* The blueprint ID the service has been created from
|
|
14215
|
+
* @type {string}
|
|
14216
|
+
* @memberof HelmResponse
|
|
14217
|
+
*/
|
|
14218
|
+
'blueprintId'?: string | null;
|
|
14112
14219
|
}
|
|
14113
14220
|
/**
|
|
14114
14221
|
* @type HelmResponseAllOfPorts
|
|
@@ -14644,6 +14751,12 @@ export interface JobAdvancedSettings {
|
|
|
14644
14751
|
* @memberof JobAdvancedSettings
|
|
14645
14752
|
*/
|
|
14646
14753
|
'build.disable_buildkit_cache'?: boolean;
|
|
14754
|
+
/**
|
|
14755
|
+
* skip git submodules update when cloning the repository
|
|
14756
|
+
* @type {boolean}
|
|
14757
|
+
* @memberof JobAdvancedSettings
|
|
14758
|
+
*/
|
|
14759
|
+
'build.skip_git_submodules'?: boolean;
|
|
14647
14760
|
/**
|
|
14648
14761
|
* define how long in seconds an application is supposed to be stopped gracefully
|
|
14649
14762
|
* @type {number}
|
|
@@ -21726,6 +21839,12 @@ export interface TerraformAdvancedSettings {
|
|
|
21726
21839
|
* @memberof TerraformAdvancedSettings
|
|
21727
21840
|
*/
|
|
21728
21841
|
'build.ephemeral_storage_in_gib'?: number;
|
|
21842
|
+
/**
|
|
21843
|
+
* skip git submodules update when cloning the repository
|
|
21844
|
+
* @type {boolean}
|
|
21845
|
+
* @memberof TerraformAdvancedSettings
|
|
21846
|
+
*/
|
|
21847
|
+
'build.skip_git_submodules'?: boolean;
|
|
21729
21848
|
/**
|
|
21730
21849
|
* define how long in seconds an application is supposed to be stopped gracefully
|
|
21731
21850
|
* @type {number}
|
|
@@ -22472,6 +22591,12 @@ export interface TerraformResponse {
|
|
|
22472
22591
|
* @memberof TerraformResponse
|
|
22473
22592
|
*/
|
|
22474
22593
|
'dockerfile_fragment'?: TerraformResponseAllOfDockerfileFragment | null;
|
|
22594
|
+
/**
|
|
22595
|
+
* The blueprint ID the service has been created from
|
|
22596
|
+
* @type {string}
|
|
22597
|
+
* @memberof TerraformResponse
|
|
22598
|
+
*/
|
|
22599
|
+
'blueprintId'?: string | null;
|
|
22475
22600
|
}
|
|
22476
22601
|
/**
|
|
22477
22602
|
* @type TerraformResponseAllOfDockerfileFragment
|
|
@@ -27132,6 +27257,16 @@ export declare class BlueprintCatalogApi extends BaseAPI {
|
|
|
27132
27257
|
* @export
|
|
27133
27258
|
*/
|
|
27134
27259
|
export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27260
|
+
/**
|
|
27261
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27262
|
+
* @summary Create a blueprint service in an environment
|
|
27263
|
+
* @param {string} environmentId Environment ID
|
|
27264
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27265
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27266
|
+
* @param {*} [options] Override http request option.
|
|
27267
|
+
* @throws {RequiredError}
|
|
27268
|
+
*/
|
|
27269
|
+
createBlueprint: (environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
27135
27270
|
/**
|
|
27136
27271
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27137
27272
|
* @summary Get the blueprint service catalog
|
|
@@ -27146,6 +27281,16 @@ export declare const BlueprintMainCallsApiAxiosParamCreator: (configuration?: Co
|
|
|
27146
27281
|
* @export
|
|
27147
27282
|
*/
|
|
27148
27283
|
export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) => {
|
|
27284
|
+
/**
|
|
27285
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27286
|
+
* @summary Create a blueprint service in an environment
|
|
27287
|
+
* @param {string} environmentId Environment ID
|
|
27288
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27289
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27290
|
+
* @param {*} [options] Override http request option.
|
|
27291
|
+
* @throws {RequiredError}
|
|
27292
|
+
*/
|
|
27293
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlueprintResponse>>;
|
|
27149
27294
|
/**
|
|
27150
27295
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27151
27296
|
* @summary Get the blueprint service catalog
|
|
@@ -27160,6 +27305,16 @@ export declare const BlueprintMainCallsApiFp: (configuration?: Configuration) =>
|
|
|
27160
27305
|
* @export
|
|
27161
27306
|
*/
|
|
27162
27307
|
export declare const BlueprintMainCallsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
27308
|
+
/**
|
|
27309
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27310
|
+
* @summary Create a blueprint service in an environment
|
|
27311
|
+
* @param {string} environmentId Environment ID
|
|
27312
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27313
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27314
|
+
* @param {*} [options] Override http request option.
|
|
27315
|
+
* @throws {RequiredError}
|
|
27316
|
+
*/
|
|
27317
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BlueprintResponse>;
|
|
27163
27318
|
/**
|
|
27164
27319
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27165
27320
|
* @summary Get the blueprint service catalog
|
|
@@ -27176,6 +27331,17 @@ export declare const BlueprintMainCallsApiFactory: (configuration?: Configuratio
|
|
|
27176
27331
|
* @extends {BaseAPI}
|
|
27177
27332
|
*/
|
|
27178
27333
|
export declare class BlueprintMainCallsApi extends BaseAPI {
|
|
27334
|
+
/**
|
|
27335
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
27336
|
+
* @summary Create a blueprint service in an environment
|
|
27337
|
+
* @param {string} environmentId Environment ID
|
|
27338
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
27339
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
27340
|
+
* @param {*} [options] Override http request option.
|
|
27341
|
+
* @throws {RequiredError}
|
|
27342
|
+
* @memberof BlueprintMainCallsApi
|
|
27343
|
+
*/
|
|
27344
|
+
createBlueprint(environmentId: string, blueprintCreateRequest: BlueprintCreateRequest, deploy?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BlueprintResponse, any, {}>>;
|
|
27179
27345
|
/**
|
|
27180
27346
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
27181
27347
|
* @summary Get the blueprint service catalog
|
package/dist/esm/api.js
CHANGED
|
@@ -8890,6 +8890,49 @@ export class BlueprintCatalogApi extends BaseAPI {
|
|
|
8890
8890
|
*/
|
|
8891
8891
|
export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
8892
8892
|
return {
|
|
8893
|
+
/**
|
|
8894
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
8895
|
+
* @summary Create a blueprint service in an environment
|
|
8896
|
+
* @param {string} environmentId Environment ID
|
|
8897
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
8898
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
8899
|
+
* @param {*} [options] Override http request option.
|
|
8900
|
+
* @throws {RequiredError}
|
|
8901
|
+
*/
|
|
8902
|
+
createBlueprint: (environmentId_1, blueprintCreateRequest_1, deploy_1, ...args_1) => __awaiter(this, [environmentId_1, blueprintCreateRequest_1, deploy_1, ...args_1], void 0, function* (environmentId, blueprintCreateRequest, deploy, options = {}) {
|
|
8903
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
8904
|
+
assertParamExists('createBlueprint', 'environmentId', environmentId);
|
|
8905
|
+
// verify required parameter 'blueprintCreateRequest' is not null or undefined
|
|
8906
|
+
assertParamExists('createBlueprint', 'blueprintCreateRequest', blueprintCreateRequest);
|
|
8907
|
+
const localVarPath = `/environment/{environmentId}/blueprint`
|
|
8908
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
8909
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8911
|
+
let baseOptions;
|
|
8912
|
+
if (configuration) {
|
|
8913
|
+
baseOptions = configuration.baseOptions;
|
|
8914
|
+
}
|
|
8915
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
8916
|
+
const localVarHeaderParameter = {};
|
|
8917
|
+
const localVarQueryParameter = {};
|
|
8918
|
+
// authentication ApiKeyAuth required
|
|
8919
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
8920
|
+
// authentication bearerAuth required
|
|
8921
|
+
// http bearer authentication required
|
|
8922
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
8923
|
+
if (deploy !== undefined) {
|
|
8924
|
+
localVarQueryParameter['deploy'] = deploy;
|
|
8925
|
+
}
|
|
8926
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8927
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8928
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8929
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8930
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blueprintCreateRequest, localVarRequestOptions, configuration);
|
|
8931
|
+
return {
|
|
8932
|
+
url: toPathString(localVarUrlObj),
|
|
8933
|
+
options: localVarRequestOptions,
|
|
8934
|
+
};
|
|
8935
|
+
}),
|
|
8893
8936
|
/**
|
|
8894
8937
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
8895
8938
|
* @summary Get the blueprint service catalog
|
|
@@ -8933,6 +8976,24 @@ export const BlueprintMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
8933
8976
|
export const BlueprintMainCallsApiFp = function (configuration) {
|
|
8934
8977
|
const localVarAxiosParamCreator = BlueprintMainCallsApiAxiosParamCreator(configuration);
|
|
8935
8978
|
return {
|
|
8979
|
+
/**
|
|
8980
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
8981
|
+
* @summary Create a blueprint service in an environment
|
|
8982
|
+
* @param {string} environmentId Environment ID
|
|
8983
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
8984
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
8985
|
+
* @param {*} [options] Override http request option.
|
|
8986
|
+
* @throws {RequiredError}
|
|
8987
|
+
*/
|
|
8988
|
+
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
8989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8990
|
+
var _a, _b, _c;
|
|
8991
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createBlueprint(environmentId, blueprintCreateRequest, deploy, options);
|
|
8992
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8993
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BlueprintMainCallsApi.createBlueprint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8994
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8995
|
+
});
|
|
8996
|
+
},
|
|
8936
8997
|
/**
|
|
8937
8998
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
8938
8999
|
* @summary Get the blueprint service catalog
|
|
@@ -8958,6 +9019,18 @@ export const BlueprintMainCallsApiFp = function (configuration) {
|
|
|
8958
9019
|
export const BlueprintMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
8959
9020
|
const localVarFp = BlueprintMainCallsApiFp(configuration);
|
|
8960
9021
|
return {
|
|
9022
|
+
/**
|
|
9023
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
9024
|
+
* @summary Create a blueprint service in an environment
|
|
9025
|
+
* @param {string} environmentId Environment ID
|
|
9026
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
9027
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
9028
|
+
* @param {*} [options] Override http request option.
|
|
9029
|
+
* @throws {RequiredError}
|
|
9030
|
+
*/
|
|
9031
|
+
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9032
|
+
return localVarFp.createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(axios, basePath));
|
|
9033
|
+
},
|
|
8961
9034
|
/**
|
|
8962
9035
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
8963
9036
|
* @summary Get the blueprint service catalog
|
|
@@ -8977,6 +9050,19 @@ export const BlueprintMainCallsApiFactory = function (configuration, basePath, a
|
|
|
8977
9050
|
* @extends {BaseAPI}
|
|
8978
9051
|
*/
|
|
8979
9052
|
export class BlueprintMainCallsApi extends BaseAPI {
|
|
9053
|
+
/**
|
|
9054
|
+
* Instantiates a blueprint from the service catalog into the given environment. Pass `deploy=true` to trigger an immediate deployment after creation.
|
|
9055
|
+
* @summary Create a blueprint service in an environment
|
|
9056
|
+
* @param {string} environmentId Environment ID
|
|
9057
|
+
* @param {BlueprintCreateRequest} blueprintCreateRequest
|
|
9058
|
+
* @param {boolean} [deploy] Trigger a deployment immediately after creation
|
|
9059
|
+
* @param {*} [options] Override http request option.
|
|
9060
|
+
* @throws {RequiredError}
|
|
9061
|
+
* @memberof BlueprintMainCallsApi
|
|
9062
|
+
*/
|
|
9063
|
+
createBlueprint(environmentId, blueprintCreateRequest, deploy, options) {
|
|
9064
|
+
return BlueprintMainCallsApiFp(this.configuration).createBlueprint(environmentId, blueprintCreateRequest, deploy, options).then((request) => request(this.axios, this.basePath));
|
|
9065
|
+
}
|
|
8980
9066
|
/**
|
|
8981
9067
|
* Retrieves the Qovery service catalog from the public GitHub repository (Qovery/service-catalog). The catalog lists all available blueprints that can be deployed.
|
|
8982
9068
|
* @summary Get the blueprint service catalog
|