qovery-typescript-axios 1.1.481 → 1.1.484
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 +831 -819
- package/dist/api.d.ts +325 -313
- package/dist/api.js +3967 -3967
- package/dist/esm/api.d.ts +325 -313
- package/dist/esm/api.js +4041 -4041
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2265,6 +2265,18 @@ export interface ClusterAdvancedSettings {
|
|
|
2265
2265
|
* @memberof ClusterAdvancedSettings
|
|
2266
2266
|
*/
|
|
2267
2267
|
'storageclass.fast_ssd'?: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* To limit public access from the internet to your Kubernetes cluster endpoint. You can define whitelisted CIDR in k8s.api.allowed_public_access_cidrs.
|
|
2270
|
+
* @type {boolean}
|
|
2271
|
+
* @memberof ClusterAdvancedSettings
|
|
2272
|
+
*/
|
|
2273
|
+
'qovery.static_ip_mode'?: boolean;
|
|
2274
|
+
/**
|
|
2275
|
+
* Set custom sources to public access endpoint Use CIDR notation to specify an IP address range (for example, [\'203.0.113.5/32\',\'203.0.100/32\'])
|
|
2276
|
+
* @type {Array<string>}
|
|
2277
|
+
* @memberof ClusterAdvancedSettings
|
|
2278
|
+
*/
|
|
2279
|
+
'k8s.api.allowed_public_access_cidrs'?: Array<string>;
|
|
2268
2280
|
}
|
|
2269
2281
|
|
|
2270
2282
|
export const ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = {
|
|
@@ -16433,6 +16445,524 @@ export class ApplicationConfigurationApi extends BaseAPI {
|
|
|
16433
16445
|
|
|
16434
16446
|
|
|
16435
16447
|
|
|
16448
|
+
/**
|
|
16449
|
+
* ApplicationCustomDomainApi - axios parameter creator
|
|
16450
|
+
* @export
|
|
16451
|
+
*/
|
|
16452
|
+
export const ApplicationCustomDomainApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
16453
|
+
return {
|
|
16454
|
+
/**
|
|
16455
|
+
*
|
|
16456
|
+
* @summary Check Application Custom Domain
|
|
16457
|
+
* @param {string} applicationId Application ID
|
|
16458
|
+
* @param {*} [options] Override http request option.
|
|
16459
|
+
* @throws {RequiredError}
|
|
16460
|
+
*/
|
|
16461
|
+
checkApplicationCustomDomain: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16462
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
16463
|
+
assertParamExists('checkApplicationCustomDomain', 'applicationId', applicationId)
|
|
16464
|
+
const localVarPath = `/application/{applicationId}/checkCustomDomain`
|
|
16465
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
16466
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16468
|
+
let baseOptions;
|
|
16469
|
+
if (configuration) {
|
|
16470
|
+
baseOptions = configuration.baseOptions;
|
|
16471
|
+
}
|
|
16472
|
+
|
|
16473
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16474
|
+
const localVarHeaderParameter = {} as any;
|
|
16475
|
+
const localVarQueryParameter = {} as any;
|
|
16476
|
+
|
|
16477
|
+
// authentication ApiKeyAuth required
|
|
16478
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16479
|
+
|
|
16480
|
+
// authentication bearerAuth required
|
|
16481
|
+
// http bearer authentication required
|
|
16482
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16483
|
+
|
|
16484
|
+
|
|
16485
|
+
|
|
16486
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16487
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16488
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16489
|
+
|
|
16490
|
+
return {
|
|
16491
|
+
url: toPathString(localVarUrlObj),
|
|
16492
|
+
options: localVarRequestOptions,
|
|
16493
|
+
};
|
|
16494
|
+
},
|
|
16495
|
+
/**
|
|
16496
|
+
* Add a custom domain to this application in order not to use qovery autogenerated domain
|
|
16497
|
+
* @summary Add custom domain to the application.
|
|
16498
|
+
* @param {string} applicationId Application ID
|
|
16499
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16500
|
+
* @param {*} [options] Override http request option.
|
|
16501
|
+
* @throws {RequiredError}
|
|
16502
|
+
*/
|
|
16503
|
+
createApplicationCustomDomain: async (applicationId: string, customDomainRequest?: CustomDomainRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16504
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
16505
|
+
assertParamExists('createApplicationCustomDomain', 'applicationId', applicationId)
|
|
16506
|
+
const localVarPath = `/application/{applicationId}/customDomain`
|
|
16507
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
16508
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16509
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16510
|
+
let baseOptions;
|
|
16511
|
+
if (configuration) {
|
|
16512
|
+
baseOptions = configuration.baseOptions;
|
|
16513
|
+
}
|
|
16514
|
+
|
|
16515
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
16516
|
+
const localVarHeaderParameter = {} as any;
|
|
16517
|
+
const localVarQueryParameter = {} as any;
|
|
16518
|
+
|
|
16519
|
+
// authentication ApiKeyAuth required
|
|
16520
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16521
|
+
|
|
16522
|
+
// authentication bearerAuth required
|
|
16523
|
+
// http bearer authentication required
|
|
16524
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16525
|
+
|
|
16526
|
+
|
|
16527
|
+
|
|
16528
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16529
|
+
|
|
16530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16532
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16533
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customDomainRequest, localVarRequestOptions, configuration)
|
|
16534
|
+
|
|
16535
|
+
return {
|
|
16536
|
+
url: toPathString(localVarUrlObj),
|
|
16537
|
+
options: localVarRequestOptions,
|
|
16538
|
+
};
|
|
16539
|
+
},
|
|
16540
|
+
/**
|
|
16541
|
+
* To delete an CustomDomain you must have the project user permission
|
|
16542
|
+
* @summary Delete a Custom Domain
|
|
16543
|
+
* @param {string} applicationId Application ID
|
|
16544
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16545
|
+
* @param {*} [options] Override http request option.
|
|
16546
|
+
* @throws {RequiredError}
|
|
16547
|
+
*/
|
|
16548
|
+
deleteCustomDomain: async (applicationId: string, customDomainId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16549
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
16550
|
+
assertParamExists('deleteCustomDomain', 'applicationId', applicationId)
|
|
16551
|
+
// verify required parameter 'customDomainId' is not null or undefined
|
|
16552
|
+
assertParamExists('deleteCustomDomain', 'customDomainId', customDomainId)
|
|
16553
|
+
const localVarPath = `/application/{applicationId}/customDomain/{customDomainId}`
|
|
16554
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
16555
|
+
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
16556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16558
|
+
let baseOptions;
|
|
16559
|
+
if (configuration) {
|
|
16560
|
+
baseOptions = configuration.baseOptions;
|
|
16561
|
+
}
|
|
16562
|
+
|
|
16563
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
16564
|
+
const localVarHeaderParameter = {} as any;
|
|
16565
|
+
const localVarQueryParameter = {} as any;
|
|
16566
|
+
|
|
16567
|
+
// authentication ApiKeyAuth required
|
|
16568
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16569
|
+
|
|
16570
|
+
// authentication bearerAuth required
|
|
16571
|
+
// http bearer authentication required
|
|
16572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16573
|
+
|
|
16574
|
+
|
|
16575
|
+
|
|
16576
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16577
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16578
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16579
|
+
|
|
16580
|
+
return {
|
|
16581
|
+
url: toPathString(localVarUrlObj),
|
|
16582
|
+
options: localVarRequestOptions,
|
|
16583
|
+
};
|
|
16584
|
+
},
|
|
16585
|
+
/**
|
|
16586
|
+
* To edit a Custom Domain you must have the project user permission
|
|
16587
|
+
* @summary Edit a Custom Domain
|
|
16588
|
+
* @param {string} applicationId Application ID
|
|
16589
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16590
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16591
|
+
* @param {*} [options] Override http request option.
|
|
16592
|
+
* @throws {RequiredError}
|
|
16593
|
+
*/
|
|
16594
|
+
editCustomDomain: async (applicationId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16595
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
16596
|
+
assertParamExists('editCustomDomain', 'applicationId', applicationId)
|
|
16597
|
+
// verify required parameter 'customDomainId' is not null or undefined
|
|
16598
|
+
assertParamExists('editCustomDomain', 'customDomainId', customDomainId)
|
|
16599
|
+
const localVarPath = `/application/{applicationId}/customDomain/{customDomainId}`
|
|
16600
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
16601
|
+
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
16602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16603
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16604
|
+
let baseOptions;
|
|
16605
|
+
if (configuration) {
|
|
16606
|
+
baseOptions = configuration.baseOptions;
|
|
16607
|
+
}
|
|
16608
|
+
|
|
16609
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
16610
|
+
const localVarHeaderParameter = {} as any;
|
|
16611
|
+
const localVarQueryParameter = {} as any;
|
|
16612
|
+
|
|
16613
|
+
// authentication ApiKeyAuth required
|
|
16614
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16615
|
+
|
|
16616
|
+
// authentication bearerAuth required
|
|
16617
|
+
// http bearer authentication required
|
|
16618
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16619
|
+
|
|
16620
|
+
|
|
16621
|
+
|
|
16622
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16623
|
+
|
|
16624
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16626
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16627
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customDomainRequest, localVarRequestOptions, configuration)
|
|
16628
|
+
|
|
16629
|
+
return {
|
|
16630
|
+
url: toPathString(localVarUrlObj),
|
|
16631
|
+
options: localVarRequestOptions,
|
|
16632
|
+
};
|
|
16633
|
+
},
|
|
16634
|
+
/**
|
|
16635
|
+
*
|
|
16636
|
+
* @summary Get Custom Domain status
|
|
16637
|
+
* @param {string} applicationId Application ID
|
|
16638
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16639
|
+
* @param {*} [options] Override http request option.
|
|
16640
|
+
* @throws {RequiredError}
|
|
16641
|
+
*/
|
|
16642
|
+
getCustomDomainStatus: async (applicationId: string, customDomainId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16643
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
16644
|
+
assertParamExists('getCustomDomainStatus', 'applicationId', applicationId)
|
|
16645
|
+
// verify required parameter 'customDomainId' is not null or undefined
|
|
16646
|
+
assertParamExists('getCustomDomainStatus', 'customDomainId', customDomainId)
|
|
16647
|
+
const localVarPath = `/application/{applicationId}/customDomain/{customDomainId}/status`
|
|
16648
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
16649
|
+
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
16650
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16651
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16652
|
+
let baseOptions;
|
|
16653
|
+
if (configuration) {
|
|
16654
|
+
baseOptions = configuration.baseOptions;
|
|
16655
|
+
}
|
|
16656
|
+
|
|
16657
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16658
|
+
const localVarHeaderParameter = {} as any;
|
|
16659
|
+
const localVarQueryParameter = {} as any;
|
|
16660
|
+
|
|
16661
|
+
// authentication ApiKeyAuth required
|
|
16662
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16663
|
+
|
|
16664
|
+
// authentication bearerAuth required
|
|
16665
|
+
// http bearer authentication required
|
|
16666
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16667
|
+
|
|
16668
|
+
|
|
16669
|
+
|
|
16670
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16671
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16672
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16673
|
+
|
|
16674
|
+
return {
|
|
16675
|
+
url: toPathString(localVarUrlObj),
|
|
16676
|
+
options: localVarRequestOptions,
|
|
16677
|
+
};
|
|
16678
|
+
},
|
|
16679
|
+
/**
|
|
16680
|
+
*
|
|
16681
|
+
* @summary List application custom domains
|
|
16682
|
+
* @param {string} applicationId Application ID
|
|
16683
|
+
* @param {*} [options] Override http request option.
|
|
16684
|
+
* @throws {RequiredError}
|
|
16685
|
+
*/
|
|
16686
|
+
listApplicationCustomDomain: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16687
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
16688
|
+
assertParamExists('listApplicationCustomDomain', 'applicationId', applicationId)
|
|
16689
|
+
const localVarPath = `/application/{applicationId}/customDomain`
|
|
16690
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
16691
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16692
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16693
|
+
let baseOptions;
|
|
16694
|
+
if (configuration) {
|
|
16695
|
+
baseOptions = configuration.baseOptions;
|
|
16696
|
+
}
|
|
16697
|
+
|
|
16698
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
16699
|
+
const localVarHeaderParameter = {} as any;
|
|
16700
|
+
const localVarQueryParameter = {} as any;
|
|
16701
|
+
|
|
16702
|
+
// authentication ApiKeyAuth required
|
|
16703
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
16704
|
+
|
|
16705
|
+
// authentication bearerAuth required
|
|
16706
|
+
// http bearer authentication required
|
|
16707
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
16708
|
+
|
|
16709
|
+
|
|
16710
|
+
|
|
16711
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16712
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16713
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
16714
|
+
|
|
16715
|
+
return {
|
|
16716
|
+
url: toPathString(localVarUrlObj),
|
|
16717
|
+
options: localVarRequestOptions,
|
|
16718
|
+
};
|
|
16719
|
+
},
|
|
16720
|
+
}
|
|
16721
|
+
};
|
|
16722
|
+
|
|
16723
|
+
/**
|
|
16724
|
+
* ApplicationCustomDomainApi - functional programming interface
|
|
16725
|
+
* @export
|
|
16726
|
+
*/
|
|
16727
|
+
export const ApplicationCustomDomainApiFp = function(configuration?: Configuration) {
|
|
16728
|
+
const localVarAxiosParamCreator = ApplicationCustomDomainApiAxiosParamCreator(configuration)
|
|
16729
|
+
return {
|
|
16730
|
+
/**
|
|
16731
|
+
*
|
|
16732
|
+
* @summary Check Application Custom Domain
|
|
16733
|
+
* @param {string} applicationId Application ID
|
|
16734
|
+
* @param {*} [options] Override http request option.
|
|
16735
|
+
* @throws {RequiredError}
|
|
16736
|
+
*/
|
|
16737
|
+
async checkApplicationCustomDomain(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckedCustomDomainsResponse>> {
|
|
16738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkApplicationCustomDomain(applicationId, options);
|
|
16739
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16740
|
+
},
|
|
16741
|
+
/**
|
|
16742
|
+
* Add a custom domain to this application in order not to use qovery autogenerated domain
|
|
16743
|
+
* @summary Add custom domain to the application.
|
|
16744
|
+
* @param {string} applicationId Application ID
|
|
16745
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16746
|
+
* @param {*} [options] Override http request option.
|
|
16747
|
+
* @throws {RequiredError}
|
|
16748
|
+
*/
|
|
16749
|
+
async createApplicationCustomDomain(applicationId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomain>> {
|
|
16750
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationCustomDomain(applicationId, customDomainRequest, options);
|
|
16751
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16752
|
+
},
|
|
16753
|
+
/**
|
|
16754
|
+
* To delete an CustomDomain you must have the project user permission
|
|
16755
|
+
* @summary Delete a Custom Domain
|
|
16756
|
+
* @param {string} applicationId Application ID
|
|
16757
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16758
|
+
* @param {*} [options] Override http request option.
|
|
16759
|
+
* @throws {RequiredError}
|
|
16760
|
+
*/
|
|
16761
|
+
async deleteCustomDomain(applicationId: string, customDomainId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
16762
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomDomain(applicationId, customDomainId, options);
|
|
16763
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16764
|
+
},
|
|
16765
|
+
/**
|
|
16766
|
+
* To edit a Custom Domain you must have the project user permission
|
|
16767
|
+
* @summary Edit a Custom Domain
|
|
16768
|
+
* @param {string} applicationId Application ID
|
|
16769
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16770
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16771
|
+
* @param {*} [options] Override http request option.
|
|
16772
|
+
* @throws {RequiredError}
|
|
16773
|
+
*/
|
|
16774
|
+
async editCustomDomain(applicationId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomain>> {
|
|
16775
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editCustomDomain(applicationId, customDomainId, customDomainRequest, options);
|
|
16776
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16777
|
+
},
|
|
16778
|
+
/**
|
|
16779
|
+
*
|
|
16780
|
+
* @summary Get Custom Domain status
|
|
16781
|
+
* @param {string} applicationId Application ID
|
|
16782
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16783
|
+
* @param {*} [options] Override http request option.
|
|
16784
|
+
* @throws {RequiredError}
|
|
16785
|
+
*/
|
|
16786
|
+
async getCustomDomainStatus(applicationId: string, customDomainId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomain>> {
|
|
16787
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomDomainStatus(applicationId, customDomainId, options);
|
|
16788
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16789
|
+
},
|
|
16790
|
+
/**
|
|
16791
|
+
*
|
|
16792
|
+
* @summary List application custom domains
|
|
16793
|
+
* @param {string} applicationId Application ID
|
|
16794
|
+
* @param {*} [options] Override http request option.
|
|
16795
|
+
* @throws {RequiredError}
|
|
16796
|
+
*/
|
|
16797
|
+
async listApplicationCustomDomain(applicationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomainResponseList>> {
|
|
16798
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationCustomDomain(applicationId, options);
|
|
16799
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16800
|
+
},
|
|
16801
|
+
}
|
|
16802
|
+
};
|
|
16803
|
+
|
|
16804
|
+
/**
|
|
16805
|
+
* ApplicationCustomDomainApi - factory interface
|
|
16806
|
+
* @export
|
|
16807
|
+
*/
|
|
16808
|
+
export const ApplicationCustomDomainApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
16809
|
+
const localVarFp = ApplicationCustomDomainApiFp(configuration)
|
|
16810
|
+
return {
|
|
16811
|
+
/**
|
|
16812
|
+
*
|
|
16813
|
+
* @summary Check Application Custom Domain
|
|
16814
|
+
* @param {string} applicationId Application ID
|
|
16815
|
+
* @param {*} [options] Override http request option.
|
|
16816
|
+
* @throws {RequiredError}
|
|
16817
|
+
*/
|
|
16818
|
+
checkApplicationCustomDomain(applicationId: string, options?: any): AxiosPromise<CheckedCustomDomainsResponse> {
|
|
16819
|
+
return localVarFp.checkApplicationCustomDomain(applicationId, options).then((request) => request(axios, basePath));
|
|
16820
|
+
},
|
|
16821
|
+
/**
|
|
16822
|
+
* Add a custom domain to this application in order not to use qovery autogenerated domain
|
|
16823
|
+
* @summary Add custom domain to the application.
|
|
16824
|
+
* @param {string} applicationId Application ID
|
|
16825
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16826
|
+
* @param {*} [options] Override http request option.
|
|
16827
|
+
* @throws {RequiredError}
|
|
16828
|
+
*/
|
|
16829
|
+
createApplicationCustomDomain(applicationId: string, customDomainRequest?: CustomDomainRequest, options?: any): AxiosPromise<CustomDomain> {
|
|
16830
|
+
return localVarFp.createApplicationCustomDomain(applicationId, customDomainRequest, options).then((request) => request(axios, basePath));
|
|
16831
|
+
},
|
|
16832
|
+
/**
|
|
16833
|
+
* To delete an CustomDomain you must have the project user permission
|
|
16834
|
+
* @summary Delete a Custom Domain
|
|
16835
|
+
* @param {string} applicationId Application ID
|
|
16836
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16837
|
+
* @param {*} [options] Override http request option.
|
|
16838
|
+
* @throws {RequiredError}
|
|
16839
|
+
*/
|
|
16840
|
+
deleteCustomDomain(applicationId: string, customDomainId: string, options?: any): AxiosPromise<void> {
|
|
16841
|
+
return localVarFp.deleteCustomDomain(applicationId, customDomainId, options).then((request) => request(axios, basePath));
|
|
16842
|
+
},
|
|
16843
|
+
/**
|
|
16844
|
+
* To edit a Custom Domain you must have the project user permission
|
|
16845
|
+
* @summary Edit a Custom Domain
|
|
16846
|
+
* @param {string} applicationId Application ID
|
|
16847
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16848
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16849
|
+
* @param {*} [options] Override http request option.
|
|
16850
|
+
* @throws {RequiredError}
|
|
16851
|
+
*/
|
|
16852
|
+
editCustomDomain(applicationId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options?: any): AxiosPromise<CustomDomain> {
|
|
16853
|
+
return localVarFp.editCustomDomain(applicationId, customDomainId, customDomainRequest, options).then((request) => request(axios, basePath));
|
|
16854
|
+
},
|
|
16855
|
+
/**
|
|
16856
|
+
*
|
|
16857
|
+
* @summary Get Custom Domain status
|
|
16858
|
+
* @param {string} applicationId Application ID
|
|
16859
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16860
|
+
* @param {*} [options] Override http request option.
|
|
16861
|
+
* @throws {RequiredError}
|
|
16862
|
+
*/
|
|
16863
|
+
getCustomDomainStatus(applicationId: string, customDomainId: string, options?: any): AxiosPromise<CustomDomain> {
|
|
16864
|
+
return localVarFp.getCustomDomainStatus(applicationId, customDomainId, options).then((request) => request(axios, basePath));
|
|
16865
|
+
},
|
|
16866
|
+
/**
|
|
16867
|
+
*
|
|
16868
|
+
* @summary List application custom domains
|
|
16869
|
+
* @param {string} applicationId Application ID
|
|
16870
|
+
* @param {*} [options] Override http request option.
|
|
16871
|
+
* @throws {RequiredError}
|
|
16872
|
+
*/
|
|
16873
|
+
listApplicationCustomDomain(applicationId: string, options?: any): AxiosPromise<CustomDomainResponseList> {
|
|
16874
|
+
return localVarFp.listApplicationCustomDomain(applicationId, options).then((request) => request(axios, basePath));
|
|
16875
|
+
},
|
|
16876
|
+
};
|
|
16877
|
+
};
|
|
16878
|
+
|
|
16879
|
+
/**
|
|
16880
|
+
* ApplicationCustomDomainApi - object-oriented interface
|
|
16881
|
+
* @export
|
|
16882
|
+
* @class ApplicationCustomDomainApi
|
|
16883
|
+
* @extends {BaseAPI}
|
|
16884
|
+
*/
|
|
16885
|
+
export class ApplicationCustomDomainApi extends BaseAPI {
|
|
16886
|
+
/**
|
|
16887
|
+
*
|
|
16888
|
+
* @summary Check Application Custom Domain
|
|
16889
|
+
* @param {string} applicationId Application ID
|
|
16890
|
+
* @param {*} [options] Override http request option.
|
|
16891
|
+
* @throws {RequiredError}
|
|
16892
|
+
* @memberof ApplicationCustomDomainApi
|
|
16893
|
+
*/
|
|
16894
|
+
public checkApplicationCustomDomain(applicationId: string, options?: AxiosRequestConfig) {
|
|
16895
|
+
return ApplicationCustomDomainApiFp(this.configuration).checkApplicationCustomDomain(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
16896
|
+
}
|
|
16897
|
+
|
|
16898
|
+
/**
|
|
16899
|
+
* Add a custom domain to this application in order not to use qovery autogenerated domain
|
|
16900
|
+
* @summary Add custom domain to the application.
|
|
16901
|
+
* @param {string} applicationId Application ID
|
|
16902
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16903
|
+
* @param {*} [options] Override http request option.
|
|
16904
|
+
* @throws {RequiredError}
|
|
16905
|
+
* @memberof ApplicationCustomDomainApi
|
|
16906
|
+
*/
|
|
16907
|
+
public createApplicationCustomDomain(applicationId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig) {
|
|
16908
|
+
return ApplicationCustomDomainApiFp(this.configuration).createApplicationCustomDomain(applicationId, customDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16909
|
+
}
|
|
16910
|
+
|
|
16911
|
+
/**
|
|
16912
|
+
* To delete an CustomDomain you must have the project user permission
|
|
16913
|
+
* @summary Delete a Custom Domain
|
|
16914
|
+
* @param {string} applicationId Application ID
|
|
16915
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16916
|
+
* @param {*} [options] Override http request option.
|
|
16917
|
+
* @throws {RequiredError}
|
|
16918
|
+
* @memberof ApplicationCustomDomainApi
|
|
16919
|
+
*/
|
|
16920
|
+
public deleteCustomDomain(applicationId: string, customDomainId: string, options?: AxiosRequestConfig) {
|
|
16921
|
+
return ApplicationCustomDomainApiFp(this.configuration).deleteCustomDomain(applicationId, customDomainId, options).then((request) => request(this.axios, this.basePath));
|
|
16922
|
+
}
|
|
16923
|
+
|
|
16924
|
+
/**
|
|
16925
|
+
* To edit a Custom Domain you must have the project user permission
|
|
16926
|
+
* @summary Edit a Custom Domain
|
|
16927
|
+
* @param {string} applicationId Application ID
|
|
16928
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16929
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
16930
|
+
* @param {*} [options] Override http request option.
|
|
16931
|
+
* @throws {RequiredError}
|
|
16932
|
+
* @memberof ApplicationCustomDomainApi
|
|
16933
|
+
*/
|
|
16934
|
+
public editCustomDomain(applicationId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig) {
|
|
16935
|
+
return ApplicationCustomDomainApiFp(this.configuration).editCustomDomain(applicationId, customDomainId, customDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16936
|
+
}
|
|
16937
|
+
|
|
16938
|
+
/**
|
|
16939
|
+
*
|
|
16940
|
+
* @summary Get Custom Domain status
|
|
16941
|
+
* @param {string} applicationId Application ID
|
|
16942
|
+
* @param {string} customDomainId Custom Domain ID
|
|
16943
|
+
* @param {*} [options] Override http request option.
|
|
16944
|
+
* @throws {RequiredError}
|
|
16945
|
+
* @memberof ApplicationCustomDomainApi
|
|
16946
|
+
*/
|
|
16947
|
+
public getCustomDomainStatus(applicationId: string, customDomainId: string, options?: AxiosRequestConfig) {
|
|
16948
|
+
return ApplicationCustomDomainApiFp(this.configuration).getCustomDomainStatus(applicationId, customDomainId, options).then((request) => request(this.axios, this.basePath));
|
|
16949
|
+
}
|
|
16950
|
+
|
|
16951
|
+
/**
|
|
16952
|
+
*
|
|
16953
|
+
* @summary List application custom domains
|
|
16954
|
+
* @param {string} applicationId Application ID
|
|
16955
|
+
* @param {*} [options] Override http request option.
|
|
16956
|
+
* @throws {RequiredError}
|
|
16957
|
+
* @memberof ApplicationCustomDomainApi
|
|
16958
|
+
*/
|
|
16959
|
+
public listApplicationCustomDomain(applicationId: string, options?: AxiosRequestConfig) {
|
|
16960
|
+
return ApplicationCustomDomainApiFp(this.configuration).listApplicationCustomDomain(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
16961
|
+
}
|
|
16962
|
+
}
|
|
16963
|
+
|
|
16964
|
+
|
|
16965
|
+
|
|
16436
16966
|
/**
|
|
16437
16967
|
* ApplicationDeploymentHistoryApi - axios parameter creator
|
|
16438
16968
|
* @export
|
|
@@ -26171,6 +26701,47 @@ export class ContainerConfigurationApi extends BaseAPI {
|
|
|
26171
26701
|
*/
|
|
26172
26702
|
export const ContainerCustomDomainApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26173
26703
|
return {
|
|
26704
|
+
/**
|
|
26705
|
+
*
|
|
26706
|
+
* @summary Check Container Custom Domain
|
|
26707
|
+
* @param {string} containerId Container ID
|
|
26708
|
+
* @param {*} [options] Override http request option.
|
|
26709
|
+
* @throws {RequiredError}
|
|
26710
|
+
*/
|
|
26711
|
+
checkContainerCustomDomain: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26712
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
26713
|
+
assertParamExists('checkContainerCustomDomain', 'containerId', containerId)
|
|
26714
|
+
const localVarPath = `/container/{containerId}/checkCustomDomain`
|
|
26715
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
26716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26718
|
+
let baseOptions;
|
|
26719
|
+
if (configuration) {
|
|
26720
|
+
baseOptions = configuration.baseOptions;
|
|
26721
|
+
}
|
|
26722
|
+
|
|
26723
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26724
|
+
const localVarHeaderParameter = {} as any;
|
|
26725
|
+
const localVarQueryParameter = {} as any;
|
|
26726
|
+
|
|
26727
|
+
// authentication ApiKeyAuth required
|
|
26728
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26729
|
+
|
|
26730
|
+
// authentication bearerAuth required
|
|
26731
|
+
// http bearer authentication required
|
|
26732
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
26733
|
+
|
|
26734
|
+
|
|
26735
|
+
|
|
26736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26738
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26739
|
+
|
|
26740
|
+
return {
|
|
26741
|
+
url: toPathString(localVarUrlObj),
|
|
26742
|
+
options: localVarRequestOptions,
|
|
26743
|
+
};
|
|
26744
|
+
},
|
|
26174
26745
|
/**
|
|
26175
26746
|
* Add a custom domain to this container in order not to use qovery autogenerated domain
|
|
26176
26747
|
* @summary Add custom domain to the container.
|
|
@@ -26406,6 +26977,17 @@ export const ContainerCustomDomainApiAxiosParamCreator = function (configuration
|
|
|
26406
26977
|
export const ContainerCustomDomainApiFp = function(configuration?: Configuration) {
|
|
26407
26978
|
const localVarAxiosParamCreator = ContainerCustomDomainApiAxiosParamCreator(configuration)
|
|
26408
26979
|
return {
|
|
26980
|
+
/**
|
|
26981
|
+
*
|
|
26982
|
+
* @summary Check Container Custom Domain
|
|
26983
|
+
* @param {string} containerId Container ID
|
|
26984
|
+
* @param {*} [options] Override http request option.
|
|
26985
|
+
* @throws {RequiredError}
|
|
26986
|
+
*/
|
|
26987
|
+
async checkContainerCustomDomain(containerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckedCustomDomainsResponse>> {
|
|
26988
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkContainerCustomDomain(containerId, options);
|
|
26989
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
26990
|
+
},
|
|
26409
26991
|
/**
|
|
26410
26992
|
* Add a custom domain to this container in order not to use qovery autogenerated domain
|
|
26411
26993
|
* @summary Add custom domain to the container.
|
|
@@ -26476,6 +27058,16 @@ export const ContainerCustomDomainApiFp = function(configuration?: Configuration
|
|
|
26476
27058
|
export const ContainerCustomDomainApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26477
27059
|
const localVarFp = ContainerCustomDomainApiFp(configuration)
|
|
26478
27060
|
return {
|
|
27061
|
+
/**
|
|
27062
|
+
*
|
|
27063
|
+
* @summary Check Container Custom Domain
|
|
27064
|
+
* @param {string} containerId Container ID
|
|
27065
|
+
* @param {*} [options] Override http request option.
|
|
27066
|
+
* @throws {RequiredError}
|
|
27067
|
+
*/
|
|
27068
|
+
checkContainerCustomDomain(containerId: string, options?: any): AxiosPromise<CheckedCustomDomainsResponse> {
|
|
27069
|
+
return localVarFp.checkContainerCustomDomain(containerId, options).then((request) => request(axios, basePath));
|
|
27070
|
+
},
|
|
26479
27071
|
/**
|
|
26480
27072
|
* Add a custom domain to this container in order not to use qovery autogenerated domain
|
|
26481
27073
|
* @summary Add custom domain to the container.
|
|
@@ -26541,6 +27133,18 @@ export const ContainerCustomDomainApiFactory = function (configuration?: Configu
|
|
|
26541
27133
|
* @extends {BaseAPI}
|
|
26542
27134
|
*/
|
|
26543
27135
|
export class ContainerCustomDomainApi extends BaseAPI {
|
|
27136
|
+
/**
|
|
27137
|
+
*
|
|
27138
|
+
* @summary Check Container Custom Domain
|
|
27139
|
+
* @param {string} containerId Container ID
|
|
27140
|
+
* @param {*} [options] Override http request option.
|
|
27141
|
+
* @throws {RequiredError}
|
|
27142
|
+
* @memberof ContainerCustomDomainApi
|
|
27143
|
+
*/
|
|
27144
|
+
public checkContainerCustomDomain(containerId: string, options?: AxiosRequestConfig) {
|
|
27145
|
+
return ContainerCustomDomainApiFp(this.configuration).checkContainerCustomDomain(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
27146
|
+
}
|
|
27147
|
+
|
|
26544
27148
|
/**
|
|
26545
27149
|
* Add a custom domain to this container in order not to use qovery autogenerated domain
|
|
26546
27150
|
* @summary Add custom domain to the container.
|
|
@@ -29322,684 +29926,18 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
29322
29926
|
};
|
|
29323
29927
|
},
|
|
29324
29928
|
/**
|
|
29325
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
29326
|
-
* @summary Preview container environments
|
|
29327
|
-
* @param {string} organizationId Organization ID
|
|
29328
|
-
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
29329
|
-
* @param {*} [options] Override http request option.
|
|
29330
|
-
* @throws {RequiredError}
|
|
29331
|
-
*/
|
|
29332
|
-
previewContainerEnvironments: async (organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29333
|
-
// verify required parameter 'organizationId' is not null or undefined
|
|
29334
|
-
assertParamExists('previewContainerEnvironments', 'organizationId', organizationId)
|
|
29335
|
-
const localVarPath = `/organization/{organizationId}/container/preview`
|
|
29336
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
29337
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29338
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29339
|
-
let baseOptions;
|
|
29340
|
-
if (configuration) {
|
|
29341
|
-
baseOptions = configuration.baseOptions;
|
|
29342
|
-
}
|
|
29343
|
-
|
|
29344
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29345
|
-
const localVarHeaderParameter = {} as any;
|
|
29346
|
-
const localVarQueryParameter = {} as any;
|
|
29347
|
-
|
|
29348
|
-
// authentication ApiKeyAuth required
|
|
29349
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29350
|
-
|
|
29351
|
-
// authentication bearerAuth required
|
|
29352
|
-
// http bearer authentication required
|
|
29353
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29354
|
-
|
|
29355
|
-
|
|
29356
|
-
|
|
29357
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29358
|
-
|
|
29359
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29360
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29361
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29362
|
-
localVarRequestOptions.data = serializeDataIfNeeded(organizationContainerPreviewRequest, localVarRequestOptions, configuration)
|
|
29363
|
-
|
|
29364
|
-
return {
|
|
29365
|
-
url: toPathString(localVarUrlObj),
|
|
29366
|
-
options: localVarRequestOptions,
|
|
29367
|
-
};
|
|
29368
|
-
},
|
|
29369
|
-
}
|
|
29370
|
-
};
|
|
29371
|
-
|
|
29372
|
-
/**
|
|
29373
|
-
* ContainersApi - functional programming interface
|
|
29374
|
-
* @export
|
|
29375
|
-
*/
|
|
29376
|
-
export const ContainersApiFp = function(configuration?: Configuration) {
|
|
29377
|
-
const localVarAxiosParamCreator = ContainersApiAxiosParamCreator(configuration)
|
|
29378
|
-
return {
|
|
29379
|
-
/**
|
|
29380
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
29381
|
-
* @summary Auto deploy containers
|
|
29382
|
-
* @param {string} organizationId Organization ID
|
|
29383
|
-
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
29384
|
-
* @param {*} [options] Override http request option.
|
|
29385
|
-
* @throws {RequiredError}
|
|
29386
|
-
*/
|
|
29387
|
-
async autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29388
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options);
|
|
29389
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29390
|
-
},
|
|
29391
|
-
/**
|
|
29392
|
-
* This will create a new container with the same configuration on the targeted environment Id.
|
|
29393
|
-
* @summary Clone container
|
|
29394
|
-
* @param {string} containerId Container ID
|
|
29395
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29396
|
-
* @param {*} [options] Override http request option.
|
|
29397
|
-
* @throws {RequiredError}
|
|
29398
|
-
*/
|
|
29399
|
-
async cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
29400
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
|
|
29401
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29402
|
-
},
|
|
29403
|
-
/**
|
|
29404
|
-
*
|
|
29405
|
-
* @summary Create a container
|
|
29406
|
-
* @param {string} environmentId Environment ID
|
|
29407
|
-
* @param {ContainerRequest} [containerRequest]
|
|
29408
|
-
* @param {*} [options] Override http request option.
|
|
29409
|
-
* @throws {RequiredError}
|
|
29410
|
-
*/
|
|
29411
|
-
async createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
29412
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainer(environmentId, containerRequest, options);
|
|
29413
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29414
|
-
},
|
|
29415
|
-
/**
|
|
29416
|
-
* Returns a list of containers with only their id and status.
|
|
29417
|
-
* @summary List all container registry container statuses
|
|
29418
|
-
* @param {string} organizationId Organization ID
|
|
29419
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
29420
|
-
* @param {*} [options] Override http request option.
|
|
29421
|
-
* @throws {RequiredError}
|
|
29422
|
-
*/
|
|
29423
|
-
async getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
|
|
29424
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistryContainerStatus(organizationId, containerRegistryId, options);
|
|
29425
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29426
|
-
},
|
|
29427
|
-
/**
|
|
29428
|
-
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
29429
|
-
* @summary List default container advanced settings
|
|
29430
|
-
* @param {*} [options] Override http request option.
|
|
29431
|
-
* @throws {RequiredError}
|
|
29432
|
-
*/
|
|
29433
|
-
async getDefaultContainerAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerAdvancedSettings>> {
|
|
29434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultContainerAdvancedSettings(options);
|
|
29435
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29436
|
-
},
|
|
29437
|
-
/**
|
|
29438
|
-
* Returns a list of containers with only their id and status.
|
|
29439
|
-
* @summary List all environment container statuses
|
|
29440
|
-
* @param {string} environmentId Environment ID
|
|
29441
|
-
* @param {*} [options] Override http request option.
|
|
29442
|
-
* @throws {RequiredError}
|
|
29443
|
-
*/
|
|
29444
|
-
async getEnvironmentContainerStatus(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
|
|
29445
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentContainerStatus(environmentId, options);
|
|
29446
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29447
|
-
},
|
|
29448
|
-
/**
|
|
29449
|
-
*
|
|
29450
|
-
* @summary List containers
|
|
29451
|
-
* @param {string} environmentId Environment ID
|
|
29452
|
-
* @param {*} [options] Override http request option.
|
|
29453
|
-
* @throws {RequiredError}
|
|
29454
|
-
*/
|
|
29455
|
-
async listContainer(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponseList>> {
|
|
29456
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainer(environmentId, options);
|
|
29457
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29458
|
-
},
|
|
29459
|
-
/**
|
|
29460
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
29461
|
-
* @summary Preview container environments
|
|
29462
|
-
* @param {string} organizationId Organization ID
|
|
29463
|
-
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
29464
|
-
* @param {*} [options] Override http request option.
|
|
29465
|
-
* @throws {RequiredError}
|
|
29466
|
-
*/
|
|
29467
|
-
async previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29468
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options);
|
|
29469
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29470
|
-
},
|
|
29471
|
-
}
|
|
29472
|
-
};
|
|
29473
|
-
|
|
29474
|
-
/**
|
|
29475
|
-
* ContainersApi - factory interface
|
|
29476
|
-
* @export
|
|
29477
|
-
*/
|
|
29478
|
-
export const ContainersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
29479
|
-
const localVarFp = ContainersApiFp(configuration)
|
|
29480
|
-
return {
|
|
29481
|
-
/**
|
|
29482
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
29483
|
-
* @summary Auto deploy containers
|
|
29484
|
-
* @param {string} organizationId Organization ID
|
|
29485
|
-
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
29486
|
-
* @param {*} [options] Override http request option.
|
|
29487
|
-
* @throws {RequiredError}
|
|
29488
|
-
*/
|
|
29489
|
-
autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: any): AxiosPromise<Status> {
|
|
29490
|
-
return localVarFp.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(axios, basePath));
|
|
29491
|
-
},
|
|
29492
|
-
/**
|
|
29493
|
-
* This will create a new container with the same configuration on the targeted environment Id.
|
|
29494
|
-
* @summary Clone container
|
|
29495
|
-
* @param {string} containerId Container ID
|
|
29496
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29497
|
-
* @param {*} [options] Override http request option.
|
|
29498
|
-
* @throws {RequiredError}
|
|
29499
|
-
*/
|
|
29500
|
-
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
29501
|
-
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
29502
|
-
},
|
|
29503
|
-
/**
|
|
29504
|
-
*
|
|
29505
|
-
* @summary Create a container
|
|
29506
|
-
* @param {string} environmentId Environment ID
|
|
29507
|
-
* @param {ContainerRequest} [containerRequest]
|
|
29508
|
-
* @param {*} [options] Override http request option.
|
|
29509
|
-
* @throws {RequiredError}
|
|
29510
|
-
*/
|
|
29511
|
-
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
29512
|
-
return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
|
|
29513
|
-
},
|
|
29514
|
-
/**
|
|
29515
|
-
* Returns a list of containers with only their id and status.
|
|
29516
|
-
* @summary List all container registry container statuses
|
|
29517
|
-
* @param {string} organizationId Organization ID
|
|
29518
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
29519
|
-
* @param {*} [options] Override http request option.
|
|
29520
|
-
* @throws {RequiredError}
|
|
29521
|
-
*/
|
|
29522
|
-
getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
|
|
29523
|
-
return localVarFp.getContainerRegistryContainerStatus(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
29524
|
-
},
|
|
29525
|
-
/**
|
|
29526
|
-
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
29527
|
-
* @summary List default container advanced settings
|
|
29528
|
-
* @param {*} [options] Override http request option.
|
|
29529
|
-
* @throws {RequiredError}
|
|
29530
|
-
*/
|
|
29531
|
-
getDefaultContainerAdvancedSettings(options?: any): AxiosPromise<ContainerAdvancedSettings> {
|
|
29532
|
-
return localVarFp.getDefaultContainerAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
29533
|
-
},
|
|
29534
|
-
/**
|
|
29535
|
-
* Returns a list of containers with only their id and status.
|
|
29536
|
-
* @summary List all environment container statuses
|
|
29537
|
-
* @param {string} environmentId Environment ID
|
|
29538
|
-
* @param {*} [options] Override http request option.
|
|
29539
|
-
* @throws {RequiredError}
|
|
29540
|
-
*/
|
|
29541
|
-
getEnvironmentContainerStatus(environmentId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
|
|
29542
|
-
return localVarFp.getEnvironmentContainerStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
29543
|
-
},
|
|
29544
|
-
/**
|
|
29545
|
-
*
|
|
29546
|
-
* @summary List containers
|
|
29547
|
-
* @param {string} environmentId Environment ID
|
|
29548
|
-
* @param {*} [options] Override http request option.
|
|
29549
|
-
* @throws {RequiredError}
|
|
29550
|
-
*/
|
|
29551
|
-
listContainer(environmentId: string, options?: any): AxiosPromise<ContainerResponseList> {
|
|
29552
|
-
return localVarFp.listContainer(environmentId, options).then((request) => request(axios, basePath));
|
|
29553
|
-
},
|
|
29554
|
-
/**
|
|
29555
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
29556
|
-
* @summary Preview container environments
|
|
29557
|
-
* @param {string} organizationId Organization ID
|
|
29558
|
-
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
29559
|
-
* @param {*} [options] Override http request option.
|
|
29560
|
-
* @throws {RequiredError}
|
|
29561
|
-
*/
|
|
29562
|
-
previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: any): AxiosPromise<Status> {
|
|
29563
|
-
return localVarFp.previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options).then((request) => request(axios, basePath));
|
|
29564
|
-
},
|
|
29565
|
-
};
|
|
29566
|
-
};
|
|
29567
|
-
|
|
29568
|
-
/**
|
|
29569
|
-
* ContainersApi - object-oriented interface
|
|
29570
|
-
* @export
|
|
29571
|
-
* @class ContainersApi
|
|
29572
|
-
* @extends {BaseAPI}
|
|
29573
|
-
*/
|
|
29574
|
-
export class ContainersApi extends BaseAPI {
|
|
29575
|
-
/**
|
|
29576
|
-
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
29577
|
-
* @summary Auto deploy containers
|
|
29578
|
-
* @param {string} organizationId Organization ID
|
|
29579
|
-
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
29580
|
-
* @param {*} [options] Override http request option.
|
|
29581
|
-
* @throws {RequiredError}
|
|
29582
|
-
* @memberof ContainersApi
|
|
29583
|
-
*/
|
|
29584
|
-
public autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: AxiosRequestConfig) {
|
|
29585
|
-
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29586
|
-
}
|
|
29587
|
-
|
|
29588
|
-
/**
|
|
29589
|
-
* This will create a new container with the same configuration on the targeted environment Id.
|
|
29590
|
-
* @summary Clone container
|
|
29591
|
-
* @param {string} containerId Container ID
|
|
29592
|
-
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
29593
|
-
* @param {*} [options] Override http request option.
|
|
29594
|
-
* @throws {RequiredError}
|
|
29595
|
-
* @memberof ContainersApi
|
|
29596
|
-
*/
|
|
29597
|
-
public cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
|
|
29598
|
-
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29599
|
-
}
|
|
29600
|
-
|
|
29601
|
-
/**
|
|
29602
|
-
*
|
|
29603
|
-
* @summary Create a container
|
|
29604
|
-
* @param {string} environmentId Environment ID
|
|
29605
|
-
* @param {ContainerRequest} [containerRequest]
|
|
29606
|
-
* @param {*} [options] Override http request option.
|
|
29607
|
-
* @throws {RequiredError}
|
|
29608
|
-
* @memberof ContainersApi
|
|
29609
|
-
*/
|
|
29610
|
-
public createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig) {
|
|
29611
|
-
return ContainersApiFp(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29612
|
-
}
|
|
29613
|
-
|
|
29614
|
-
/**
|
|
29615
|
-
* Returns a list of containers with only their id and status.
|
|
29616
|
-
* @summary List all container registry container statuses
|
|
29617
|
-
* @param {string} organizationId Organization ID
|
|
29618
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
29619
|
-
* @param {*} [options] Override http request option.
|
|
29620
|
-
* @throws {RequiredError}
|
|
29621
|
-
* @memberof ContainersApi
|
|
29622
|
-
*/
|
|
29623
|
-
public getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
|
|
29624
|
-
return ContainersApiFp(this.configuration).getContainerRegistryContainerStatus(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
29625
|
-
}
|
|
29626
|
-
|
|
29627
|
-
/**
|
|
29628
|
-
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
29629
|
-
* @summary List default container advanced settings
|
|
29630
|
-
* @param {*} [options] Override http request option.
|
|
29631
|
-
* @throws {RequiredError}
|
|
29632
|
-
* @memberof ContainersApi
|
|
29633
|
-
*/
|
|
29634
|
-
public getDefaultContainerAdvancedSettings(options?: AxiosRequestConfig) {
|
|
29635
|
-
return ContainersApiFp(this.configuration).getDefaultContainerAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
29636
|
-
}
|
|
29637
|
-
|
|
29638
|
-
/**
|
|
29639
|
-
* Returns a list of containers with only their id and status.
|
|
29640
|
-
* @summary List all environment container statuses
|
|
29641
|
-
* @param {string} environmentId Environment ID
|
|
29642
|
-
* @param {*} [options] Override http request option.
|
|
29643
|
-
* @throws {RequiredError}
|
|
29644
|
-
* @memberof ContainersApi
|
|
29645
|
-
*/
|
|
29646
|
-
public getEnvironmentContainerStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
29647
|
-
return ContainersApiFp(this.configuration).getEnvironmentContainerStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29648
|
-
}
|
|
29649
|
-
|
|
29650
|
-
/**
|
|
29651
|
-
*
|
|
29652
|
-
* @summary List containers
|
|
29653
|
-
* @param {string} environmentId Environment ID
|
|
29654
|
-
* @param {*} [options] Override http request option.
|
|
29655
|
-
* @throws {RequiredError}
|
|
29656
|
-
* @memberof ContainersApi
|
|
29657
|
-
*/
|
|
29658
|
-
public listContainer(environmentId: string, options?: AxiosRequestConfig) {
|
|
29659
|
-
return ContainersApiFp(this.configuration).listContainer(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
29660
|
-
}
|
|
29661
|
-
|
|
29662
|
-
/**
|
|
29663
|
-
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
29664
|
-
* @summary Preview container environments
|
|
29665
|
-
* @param {string} organizationId Organization ID
|
|
29666
|
-
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
29667
|
-
* @param {*} [options] Override http request option.
|
|
29668
|
-
* @throws {RequiredError}
|
|
29669
|
-
* @memberof ContainersApi
|
|
29670
|
-
*/
|
|
29671
|
-
public previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: AxiosRequestConfig) {
|
|
29672
|
-
return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
29673
|
-
}
|
|
29674
|
-
}
|
|
29675
|
-
|
|
29676
|
-
|
|
29677
|
-
|
|
29678
|
-
/**
|
|
29679
|
-
* CustomDomainApi - axios parameter creator
|
|
29680
|
-
* @export
|
|
29681
|
-
*/
|
|
29682
|
-
export const CustomDomainApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
29683
|
-
return {
|
|
29684
|
-
/**
|
|
29685
|
-
*
|
|
29686
|
-
* @summary Check Application Custom Domain
|
|
29687
|
-
* @param {string} applicationId Application ID
|
|
29688
|
-
* @param {*} [options] Override http request option.
|
|
29689
|
-
* @throws {RequiredError}
|
|
29690
|
-
*/
|
|
29691
|
-
checkApplicationCustomDomain: async (applicationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29692
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29693
|
-
assertParamExists('checkApplicationCustomDomain', 'applicationId', applicationId)
|
|
29694
|
-
const localVarPath = `/application/{applicationId}/checkCustomDomain`
|
|
29695
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
29696
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29697
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29698
|
-
let baseOptions;
|
|
29699
|
-
if (configuration) {
|
|
29700
|
-
baseOptions = configuration.baseOptions;
|
|
29701
|
-
}
|
|
29702
|
-
|
|
29703
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29704
|
-
const localVarHeaderParameter = {} as any;
|
|
29705
|
-
const localVarQueryParameter = {} as any;
|
|
29706
|
-
|
|
29707
|
-
// authentication ApiKeyAuth required
|
|
29708
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29709
|
-
|
|
29710
|
-
// authentication bearerAuth required
|
|
29711
|
-
// http bearer authentication required
|
|
29712
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29713
|
-
|
|
29714
|
-
|
|
29715
|
-
|
|
29716
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29717
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29718
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29719
|
-
|
|
29720
|
-
return {
|
|
29721
|
-
url: toPathString(localVarUrlObj),
|
|
29722
|
-
options: localVarRequestOptions,
|
|
29723
|
-
};
|
|
29724
|
-
},
|
|
29725
|
-
/**
|
|
29726
|
-
*
|
|
29727
|
-
* @summary Check Container Custom Domain
|
|
29728
|
-
* @param {string} containerId Container ID
|
|
29729
|
-
* @param {*} [options] Override http request option.
|
|
29730
|
-
* @throws {RequiredError}
|
|
29731
|
-
*/
|
|
29732
|
-
checkContainerCustomDomain: async (containerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29733
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
29734
|
-
assertParamExists('checkContainerCustomDomain', 'containerId', containerId)
|
|
29735
|
-
const localVarPath = `/container/{containerId}/checkCustomDomain`
|
|
29736
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
29737
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29738
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29739
|
-
let baseOptions;
|
|
29740
|
-
if (configuration) {
|
|
29741
|
-
baseOptions = configuration.baseOptions;
|
|
29742
|
-
}
|
|
29743
|
-
|
|
29744
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29745
|
-
const localVarHeaderParameter = {} as any;
|
|
29746
|
-
const localVarQueryParameter = {} as any;
|
|
29747
|
-
|
|
29748
|
-
// authentication ApiKeyAuth required
|
|
29749
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29750
|
-
|
|
29751
|
-
// authentication bearerAuth required
|
|
29752
|
-
// http bearer authentication required
|
|
29753
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29754
|
-
|
|
29755
|
-
|
|
29756
|
-
|
|
29757
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29758
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29759
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29760
|
-
|
|
29761
|
-
return {
|
|
29762
|
-
url: toPathString(localVarUrlObj),
|
|
29763
|
-
options: localVarRequestOptions,
|
|
29764
|
-
};
|
|
29765
|
-
},
|
|
29766
|
-
/**
|
|
29767
|
-
*
|
|
29768
|
-
* @summary Check Helm Custom Domain
|
|
29769
|
-
* @param {string} helmId Helm ID
|
|
29770
|
-
* @param {*} [options] Override http request option.
|
|
29771
|
-
* @throws {RequiredError}
|
|
29772
|
-
*/
|
|
29773
|
-
checkHelmCustomDomain: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29774
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
29775
|
-
assertParamExists('checkHelmCustomDomain', 'helmId', helmId)
|
|
29776
|
-
const localVarPath = `/helm/{helmId}/checkCustomDomain`
|
|
29777
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
29778
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29779
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29780
|
-
let baseOptions;
|
|
29781
|
-
if (configuration) {
|
|
29782
|
-
baseOptions = configuration.baseOptions;
|
|
29783
|
-
}
|
|
29784
|
-
|
|
29785
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29786
|
-
const localVarHeaderParameter = {} as any;
|
|
29787
|
-
const localVarQueryParameter = {} as any;
|
|
29788
|
-
|
|
29789
|
-
// authentication ApiKeyAuth required
|
|
29790
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29791
|
-
|
|
29792
|
-
// authentication bearerAuth required
|
|
29793
|
-
// http bearer authentication required
|
|
29794
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29795
|
-
|
|
29796
|
-
|
|
29797
|
-
|
|
29798
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29799
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29800
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29801
|
-
|
|
29802
|
-
return {
|
|
29803
|
-
url: toPathString(localVarUrlObj),
|
|
29804
|
-
options: localVarRequestOptions,
|
|
29805
|
-
};
|
|
29806
|
-
},
|
|
29807
|
-
/**
|
|
29808
|
-
* Add a custom domain to this application in order not to use qovery autogenerated domain
|
|
29809
|
-
* @summary Add custom domain to the application.
|
|
29810
|
-
* @param {string} applicationId Application ID
|
|
29811
|
-
* @param {CustomDomainRequest} [customDomainRequest]
|
|
29812
|
-
* @param {*} [options] Override http request option.
|
|
29813
|
-
* @throws {RequiredError}
|
|
29814
|
-
*/
|
|
29815
|
-
createApplicationCustomDomain: async (applicationId: string, customDomainRequest?: CustomDomainRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29816
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29817
|
-
assertParamExists('createApplicationCustomDomain', 'applicationId', applicationId)
|
|
29818
|
-
const localVarPath = `/application/{applicationId}/customDomain`
|
|
29819
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
29820
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29821
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29822
|
-
let baseOptions;
|
|
29823
|
-
if (configuration) {
|
|
29824
|
-
baseOptions = configuration.baseOptions;
|
|
29825
|
-
}
|
|
29826
|
-
|
|
29827
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29828
|
-
const localVarHeaderParameter = {} as any;
|
|
29829
|
-
const localVarQueryParameter = {} as any;
|
|
29830
|
-
|
|
29831
|
-
// authentication ApiKeyAuth required
|
|
29832
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29833
|
-
|
|
29834
|
-
// authentication bearerAuth required
|
|
29835
|
-
// http bearer authentication required
|
|
29836
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29837
|
-
|
|
29838
|
-
|
|
29839
|
-
|
|
29840
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29841
|
-
|
|
29842
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29843
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29844
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29845
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customDomainRequest, localVarRequestOptions, configuration)
|
|
29846
|
-
|
|
29847
|
-
return {
|
|
29848
|
-
url: toPathString(localVarUrlObj),
|
|
29849
|
-
options: localVarRequestOptions,
|
|
29850
|
-
};
|
|
29851
|
-
},
|
|
29852
|
-
/**
|
|
29853
|
-
* To delete an CustomDomain you must have the project user permission
|
|
29854
|
-
* @summary Delete a Custom Domain
|
|
29855
|
-
* @param {string} applicationId Application ID
|
|
29856
|
-
* @param {string} customDomainId Custom Domain ID
|
|
29857
|
-
* @param {*} [options] Override http request option.
|
|
29858
|
-
* @throws {RequiredError}
|
|
29859
|
-
*/
|
|
29860
|
-
deleteCustomDomain: async (applicationId: string, customDomainId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29861
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29862
|
-
assertParamExists('deleteCustomDomain', 'applicationId', applicationId)
|
|
29863
|
-
// verify required parameter 'customDomainId' is not null or undefined
|
|
29864
|
-
assertParamExists('deleteCustomDomain', 'customDomainId', customDomainId)
|
|
29865
|
-
const localVarPath = `/application/{applicationId}/customDomain/{customDomainId}`
|
|
29866
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29867
|
-
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
29868
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29869
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29870
|
-
let baseOptions;
|
|
29871
|
-
if (configuration) {
|
|
29872
|
-
baseOptions = configuration.baseOptions;
|
|
29873
|
-
}
|
|
29874
|
-
|
|
29875
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
29876
|
-
const localVarHeaderParameter = {} as any;
|
|
29877
|
-
const localVarQueryParameter = {} as any;
|
|
29878
|
-
|
|
29879
|
-
// authentication ApiKeyAuth required
|
|
29880
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29881
|
-
|
|
29882
|
-
// authentication bearerAuth required
|
|
29883
|
-
// http bearer authentication required
|
|
29884
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29885
|
-
|
|
29886
|
-
|
|
29887
|
-
|
|
29888
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29889
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29890
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29891
|
-
|
|
29892
|
-
return {
|
|
29893
|
-
url: toPathString(localVarUrlObj),
|
|
29894
|
-
options: localVarRequestOptions,
|
|
29895
|
-
};
|
|
29896
|
-
},
|
|
29897
|
-
/**
|
|
29898
|
-
* To edit a Custom Domain you must have the project user permission
|
|
29899
|
-
* @summary Edit a Custom Domain
|
|
29900
|
-
* @param {string} applicationId Application ID
|
|
29901
|
-
* @param {string} customDomainId Custom Domain ID
|
|
29902
|
-
* @param {CustomDomainRequest} [customDomainRequest]
|
|
29903
|
-
* @param {*} [options] Override http request option.
|
|
29904
|
-
* @throws {RequiredError}
|
|
29905
|
-
*/
|
|
29906
|
-
editCustomDomain: async (applicationId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29907
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29908
|
-
assertParamExists('editCustomDomain', 'applicationId', applicationId)
|
|
29909
|
-
// verify required parameter 'customDomainId' is not null or undefined
|
|
29910
|
-
assertParamExists('editCustomDomain', 'customDomainId', customDomainId)
|
|
29911
|
-
const localVarPath = `/application/{applicationId}/customDomain/{customDomainId}`
|
|
29912
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29913
|
-
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
29914
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29915
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29916
|
-
let baseOptions;
|
|
29917
|
-
if (configuration) {
|
|
29918
|
-
baseOptions = configuration.baseOptions;
|
|
29919
|
-
}
|
|
29920
|
-
|
|
29921
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
29922
|
-
const localVarHeaderParameter = {} as any;
|
|
29923
|
-
const localVarQueryParameter = {} as any;
|
|
29924
|
-
|
|
29925
|
-
// authentication ApiKeyAuth required
|
|
29926
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29927
|
-
|
|
29928
|
-
// authentication bearerAuth required
|
|
29929
|
-
// http bearer authentication required
|
|
29930
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29931
|
-
|
|
29932
|
-
|
|
29933
|
-
|
|
29934
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29935
|
-
|
|
29936
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29937
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29938
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29939
|
-
localVarRequestOptions.data = serializeDataIfNeeded(customDomainRequest, localVarRequestOptions, configuration)
|
|
29940
|
-
|
|
29941
|
-
return {
|
|
29942
|
-
url: toPathString(localVarUrlObj),
|
|
29943
|
-
options: localVarRequestOptions,
|
|
29944
|
-
};
|
|
29945
|
-
},
|
|
29946
|
-
/**
|
|
29947
|
-
*
|
|
29948
|
-
* @summary Get Custom Domain status
|
|
29949
|
-
* @param {string} applicationId Application ID
|
|
29950
|
-
* @param {string} customDomainId Custom Domain ID
|
|
29951
|
-
* @param {*} [options] Override http request option.
|
|
29952
|
-
* @throws {RequiredError}
|
|
29953
|
-
*/
|
|
29954
|
-
getCustomDomainStatus: async (applicationId: string, customDomainId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29955
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
29956
|
-
assertParamExists('getCustomDomainStatus', 'applicationId', applicationId)
|
|
29957
|
-
// verify required parameter 'customDomainId' is not null or undefined
|
|
29958
|
-
assertParamExists('getCustomDomainStatus', 'customDomainId', customDomainId)
|
|
29959
|
-
const localVarPath = `/application/{applicationId}/customDomain/{customDomainId}/status`
|
|
29960
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
29961
|
-
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
29962
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29963
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29964
|
-
let baseOptions;
|
|
29965
|
-
if (configuration) {
|
|
29966
|
-
baseOptions = configuration.baseOptions;
|
|
29967
|
-
}
|
|
29968
|
-
|
|
29969
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
29970
|
-
const localVarHeaderParameter = {} as any;
|
|
29971
|
-
const localVarQueryParameter = {} as any;
|
|
29972
|
-
|
|
29973
|
-
// authentication ApiKeyAuth required
|
|
29974
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29975
|
-
|
|
29976
|
-
// authentication bearerAuth required
|
|
29977
|
-
// http bearer authentication required
|
|
29978
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29979
|
-
|
|
29980
|
-
|
|
29981
|
-
|
|
29982
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29983
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29984
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29985
|
-
|
|
29986
|
-
return {
|
|
29987
|
-
url: toPathString(localVarUrlObj),
|
|
29988
|
-
options: localVarRequestOptions,
|
|
29989
|
-
};
|
|
29990
|
-
},
|
|
29991
|
-
/**
|
|
29992
|
-
*
|
|
29993
|
-
* @summary List application custom domains
|
|
29994
|
-
* @param {string} applicationId Application ID
|
|
29929
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
29930
|
+
* @summary Preview container environments
|
|
29931
|
+
* @param {string} organizationId Organization ID
|
|
29932
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
29995
29933
|
* @param {*} [options] Override http request option.
|
|
29996
29934
|
* @throws {RequiredError}
|
|
29997
29935
|
*/
|
|
29998
|
-
|
|
29999
|
-
// verify required parameter '
|
|
30000
|
-
assertParamExists('
|
|
30001
|
-
const localVarPath = `/
|
|
30002
|
-
.replace(`{${"
|
|
29936
|
+
previewContainerEnvironments: async (organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29937
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
29938
|
+
assertParamExists('previewContainerEnvironments', 'organizationId', organizationId)
|
|
29939
|
+
const localVarPath = `/organization/{organizationId}/container/preview`
|
|
29940
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
30003
29941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30004
29942
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30005
29943
|
let baseOptions;
|
|
@@ -30007,7 +29945,7 @@ export const CustomDomainApiAxiosParamCreator = function (configuration?: Config
|
|
|
30007
29945
|
baseOptions = configuration.baseOptions;
|
|
30008
29946
|
}
|
|
30009
29947
|
|
|
30010
|
-
const localVarRequestOptions = { method: '
|
|
29948
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30011
29949
|
const localVarHeaderParameter = {} as any;
|
|
30012
29950
|
const localVarQueryParameter = {} as any;
|
|
30013
29951
|
|
|
@@ -30020,9 +29958,12 @@ export const CustomDomainApiAxiosParamCreator = function (configuration?: Config
|
|
|
30020
29958
|
|
|
30021
29959
|
|
|
30022
29960
|
|
|
29961
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29962
|
+
|
|
30023
29963
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30024
29964
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30025
29965
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29966
|
+
localVarRequestOptions.data = serializeDataIfNeeded(organizationContainerPreviewRequest, localVarRequestOptions, configuration)
|
|
30026
29967
|
|
|
30027
29968
|
return {
|
|
30028
29969
|
url: toPathString(localVarUrlObj),
|
|
@@ -30033,309 +29974,306 @@ export const CustomDomainApiAxiosParamCreator = function (configuration?: Config
|
|
|
30033
29974
|
};
|
|
30034
29975
|
|
|
30035
29976
|
/**
|
|
30036
|
-
*
|
|
29977
|
+
* ContainersApi - functional programming interface
|
|
30037
29978
|
* @export
|
|
30038
29979
|
*/
|
|
30039
|
-
export const
|
|
30040
|
-
const localVarAxiosParamCreator =
|
|
29980
|
+
export const ContainersApiFp = function(configuration?: Configuration) {
|
|
29981
|
+
const localVarAxiosParamCreator = ContainersApiAxiosParamCreator(configuration)
|
|
30041
29982
|
return {
|
|
30042
29983
|
/**
|
|
30043
|
-
*
|
|
30044
|
-
* @summary
|
|
30045
|
-
* @param {string}
|
|
29984
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
29985
|
+
* @summary Auto deploy containers
|
|
29986
|
+
* @param {string} organizationId Organization ID
|
|
29987
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
30046
29988
|
* @param {*} [options] Override http request option.
|
|
30047
29989
|
* @throws {RequiredError}
|
|
30048
29990
|
*/
|
|
30049
|
-
async
|
|
30050
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
29991
|
+
async autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
29992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options);
|
|
30051
29993
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30052
29994
|
},
|
|
30053
29995
|
/**
|
|
30054
|
-
*
|
|
30055
|
-
* @summary
|
|
29996
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
29997
|
+
* @summary Clone container
|
|
30056
29998
|
* @param {string} containerId Container ID
|
|
29999
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
30057
30000
|
* @param {*} [options] Override http request option.
|
|
30058
30001
|
* @throws {RequiredError}
|
|
30059
30002
|
*/
|
|
30060
|
-
async
|
|
30061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30003
|
+
async cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
30004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneContainer(containerId, cloneServiceRequest, options);
|
|
30062
30005
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30063
30006
|
},
|
|
30064
30007
|
/**
|
|
30065
30008
|
*
|
|
30066
|
-
* @summary
|
|
30067
|
-
* @param {string}
|
|
30009
|
+
* @summary Create a container
|
|
30010
|
+
* @param {string} environmentId Environment ID
|
|
30011
|
+
* @param {ContainerRequest} [containerRequest]
|
|
30068
30012
|
* @param {*} [options] Override http request option.
|
|
30069
30013
|
* @throws {RequiredError}
|
|
30070
30014
|
*/
|
|
30071
|
-
async
|
|
30072
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30015
|
+
async createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponse>> {
|
|
30016
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createContainer(environmentId, containerRequest, options);
|
|
30073
30017
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30074
30018
|
},
|
|
30075
30019
|
/**
|
|
30076
|
-
*
|
|
30077
|
-
* @summary
|
|
30078
|
-
* @param {string}
|
|
30079
|
-
* @param {
|
|
30020
|
+
* Returns a list of containers with only their id and status.
|
|
30021
|
+
* @summary List all container registry container statuses
|
|
30022
|
+
* @param {string} organizationId Organization ID
|
|
30023
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
30080
30024
|
* @param {*} [options] Override http request option.
|
|
30081
30025
|
* @throws {RequiredError}
|
|
30082
30026
|
*/
|
|
30083
|
-
async
|
|
30084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30027
|
+
async getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
|
|
30028
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistryContainerStatus(organizationId, containerRegistryId, options);
|
|
30085
30029
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30086
30030
|
},
|
|
30087
30031
|
/**
|
|
30088
|
-
*
|
|
30089
|
-
* @summary
|
|
30090
|
-
* @param {string} applicationId Application ID
|
|
30091
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30032
|
+
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
30033
|
+
* @summary List default container advanced settings
|
|
30092
30034
|
* @param {*} [options] Override http request option.
|
|
30093
30035
|
* @throws {RequiredError}
|
|
30094
30036
|
*/
|
|
30095
|
-
async
|
|
30096
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30037
|
+
async getDefaultContainerAdvancedSettings(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerAdvancedSettings>> {
|
|
30038
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultContainerAdvancedSettings(options);
|
|
30097
30039
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30098
30040
|
},
|
|
30099
30041
|
/**
|
|
30100
|
-
*
|
|
30101
|
-
* @summary
|
|
30102
|
-
* @param {string}
|
|
30103
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30104
|
-
* @param {CustomDomainRequest} [customDomainRequest]
|
|
30042
|
+
* Returns a list of containers with only their id and status.
|
|
30043
|
+
* @summary List all environment container statuses
|
|
30044
|
+
* @param {string} environmentId Environment ID
|
|
30105
30045
|
* @param {*} [options] Override http request option.
|
|
30106
30046
|
* @throws {RequiredError}
|
|
30107
30047
|
*/
|
|
30108
|
-
async
|
|
30109
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30048
|
+
async getEnvironmentContainerStatus(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
|
|
30049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentContainerStatus(environmentId, options);
|
|
30110
30050
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30111
30051
|
},
|
|
30112
30052
|
/**
|
|
30113
30053
|
*
|
|
30114
|
-
* @summary
|
|
30115
|
-
* @param {string}
|
|
30116
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30054
|
+
* @summary List containers
|
|
30055
|
+
* @param {string} environmentId Environment ID
|
|
30117
30056
|
* @param {*} [options] Override http request option.
|
|
30118
30057
|
* @throws {RequiredError}
|
|
30119
30058
|
*/
|
|
30120
|
-
async
|
|
30121
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30059
|
+
async listContainer(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContainerResponseList>> {
|
|
30060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listContainer(environmentId, options);
|
|
30122
30061
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30123
30062
|
},
|
|
30124
30063
|
/**
|
|
30125
|
-
*
|
|
30126
|
-
* @summary
|
|
30127
|
-
* @param {string}
|
|
30064
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
30065
|
+
* @summary Preview container environments
|
|
30066
|
+
* @param {string} organizationId Organization ID
|
|
30067
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
30128
30068
|
* @param {*} [options] Override http request option.
|
|
30129
30069
|
* @throws {RequiredError}
|
|
30130
30070
|
*/
|
|
30131
|
-
async
|
|
30132
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
30071
|
+
async previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
30072
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options);
|
|
30133
30073
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30134
30074
|
},
|
|
30135
30075
|
}
|
|
30136
30076
|
};
|
|
30137
30077
|
|
|
30138
30078
|
/**
|
|
30139
|
-
*
|
|
30079
|
+
* ContainersApi - factory interface
|
|
30140
30080
|
* @export
|
|
30141
30081
|
*/
|
|
30142
|
-
export const
|
|
30143
|
-
const localVarFp =
|
|
30082
|
+
export const ContainersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
30083
|
+
const localVarFp = ContainersApiFp(configuration)
|
|
30144
30084
|
return {
|
|
30145
30085
|
/**
|
|
30146
|
-
*
|
|
30147
|
-
* @summary
|
|
30148
|
-
* @param {string}
|
|
30086
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
30087
|
+
* @summary Auto deploy containers
|
|
30088
|
+
* @param {string} organizationId Organization ID
|
|
30089
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
30149
30090
|
* @param {*} [options] Override http request option.
|
|
30150
30091
|
* @throws {RequiredError}
|
|
30151
30092
|
*/
|
|
30152
|
-
|
|
30153
|
-
return localVarFp.
|
|
30093
|
+
autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: any): AxiosPromise<Status> {
|
|
30094
|
+
return localVarFp.autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(axios, basePath));
|
|
30154
30095
|
},
|
|
30155
30096
|
/**
|
|
30156
|
-
*
|
|
30157
|
-
* @summary
|
|
30097
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
30098
|
+
* @summary Clone container
|
|
30158
30099
|
* @param {string} containerId Container ID
|
|
30100
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
30159
30101
|
* @param {*} [options] Override http request option.
|
|
30160
30102
|
* @throws {RequiredError}
|
|
30161
30103
|
*/
|
|
30162
|
-
|
|
30163
|
-
return localVarFp.
|
|
30104
|
+
cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
30105
|
+
return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
|
|
30164
30106
|
},
|
|
30165
30107
|
/**
|
|
30166
30108
|
*
|
|
30167
|
-
* @summary
|
|
30168
|
-
* @param {string}
|
|
30109
|
+
* @summary Create a container
|
|
30110
|
+
* @param {string} environmentId Environment ID
|
|
30111
|
+
* @param {ContainerRequest} [containerRequest]
|
|
30169
30112
|
* @param {*} [options] Override http request option.
|
|
30170
30113
|
* @throws {RequiredError}
|
|
30171
30114
|
*/
|
|
30172
|
-
|
|
30173
|
-
return localVarFp.
|
|
30115
|
+
createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: any): AxiosPromise<ContainerResponse> {
|
|
30116
|
+
return localVarFp.createContainer(environmentId, containerRequest, options).then((request) => request(axios, basePath));
|
|
30174
30117
|
},
|
|
30175
30118
|
/**
|
|
30176
|
-
*
|
|
30177
|
-
* @summary
|
|
30178
|
-
* @param {string}
|
|
30179
|
-
* @param {
|
|
30119
|
+
* Returns a list of containers with only their id and status.
|
|
30120
|
+
* @summary List all container registry container statuses
|
|
30121
|
+
* @param {string} organizationId Organization ID
|
|
30122
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
30180
30123
|
* @param {*} [options] Override http request option.
|
|
30181
30124
|
* @throws {RequiredError}
|
|
30182
30125
|
*/
|
|
30183
|
-
|
|
30184
|
-
return localVarFp.
|
|
30126
|
+
getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
|
|
30127
|
+
return localVarFp.getContainerRegistryContainerStatus(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
30185
30128
|
},
|
|
30186
30129
|
/**
|
|
30187
|
-
*
|
|
30188
|
-
* @summary
|
|
30189
|
-
* @param {string} applicationId Application ID
|
|
30190
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30130
|
+
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
30131
|
+
* @summary List default container advanced settings
|
|
30191
30132
|
* @param {*} [options] Override http request option.
|
|
30192
30133
|
* @throws {RequiredError}
|
|
30193
30134
|
*/
|
|
30194
|
-
|
|
30195
|
-
return localVarFp.
|
|
30135
|
+
getDefaultContainerAdvancedSettings(options?: any): AxiosPromise<ContainerAdvancedSettings> {
|
|
30136
|
+
return localVarFp.getDefaultContainerAdvancedSettings(options).then((request) => request(axios, basePath));
|
|
30196
30137
|
},
|
|
30197
30138
|
/**
|
|
30198
|
-
*
|
|
30199
|
-
* @summary
|
|
30200
|
-
* @param {string}
|
|
30201
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30202
|
-
* @param {CustomDomainRequest} [customDomainRequest]
|
|
30139
|
+
* Returns a list of containers with only their id and status.
|
|
30140
|
+
* @summary List all environment container statuses
|
|
30141
|
+
* @param {string} environmentId Environment ID
|
|
30203
30142
|
* @param {*} [options] Override http request option.
|
|
30204
30143
|
* @throws {RequiredError}
|
|
30205
30144
|
*/
|
|
30206
|
-
|
|
30207
|
-
return localVarFp.
|
|
30145
|
+
getEnvironmentContainerStatus(environmentId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
|
|
30146
|
+
return localVarFp.getEnvironmentContainerStatus(environmentId, options).then((request) => request(axios, basePath));
|
|
30208
30147
|
},
|
|
30209
30148
|
/**
|
|
30210
30149
|
*
|
|
30211
|
-
* @summary
|
|
30212
|
-
* @param {string}
|
|
30213
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30150
|
+
* @summary List containers
|
|
30151
|
+
* @param {string} environmentId Environment ID
|
|
30214
30152
|
* @param {*} [options] Override http request option.
|
|
30215
30153
|
* @throws {RequiredError}
|
|
30216
30154
|
*/
|
|
30217
|
-
|
|
30218
|
-
return localVarFp.
|
|
30155
|
+
listContainer(environmentId: string, options?: any): AxiosPromise<ContainerResponseList> {
|
|
30156
|
+
return localVarFp.listContainer(environmentId, options).then((request) => request(axios, basePath));
|
|
30219
30157
|
},
|
|
30220
30158
|
/**
|
|
30221
|
-
*
|
|
30222
|
-
* @summary
|
|
30223
|
-
* @param {string}
|
|
30159
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
30160
|
+
* @summary Preview container environments
|
|
30161
|
+
* @param {string} organizationId Organization ID
|
|
30162
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
30224
30163
|
* @param {*} [options] Override http request option.
|
|
30225
30164
|
* @throws {RequiredError}
|
|
30226
30165
|
*/
|
|
30227
|
-
|
|
30228
|
-
return localVarFp.
|
|
30166
|
+
previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: any): AxiosPromise<Status> {
|
|
30167
|
+
return localVarFp.previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options).then((request) => request(axios, basePath));
|
|
30229
30168
|
},
|
|
30230
30169
|
};
|
|
30231
30170
|
};
|
|
30232
30171
|
|
|
30233
30172
|
/**
|
|
30234
|
-
*
|
|
30173
|
+
* ContainersApi - object-oriented interface
|
|
30235
30174
|
* @export
|
|
30236
|
-
* @class
|
|
30175
|
+
* @class ContainersApi
|
|
30237
30176
|
* @extends {BaseAPI}
|
|
30238
30177
|
*/
|
|
30239
|
-
export class
|
|
30178
|
+
export class ContainersApi extends BaseAPI {
|
|
30240
30179
|
/**
|
|
30241
|
-
*
|
|
30242
|
-
* @summary
|
|
30243
|
-
* @param {string}
|
|
30180
|
+
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
30181
|
+
* @summary Auto deploy containers
|
|
30182
|
+
* @param {string} organizationId Organization ID
|
|
30183
|
+
* @param {OrganizationContainerAutoDeployRequest} [organizationContainerAutoDeployRequest]
|
|
30244
30184
|
* @param {*} [options] Override http request option.
|
|
30245
30185
|
* @throws {RequiredError}
|
|
30246
|
-
* @memberof
|
|
30186
|
+
* @memberof ContainersApi
|
|
30247
30187
|
*/
|
|
30248
|
-
public
|
|
30249
|
-
return
|
|
30188
|
+
public autoDeployContainerEnvironments(organizationId: string, organizationContainerAutoDeployRequest?: OrganizationContainerAutoDeployRequest, options?: AxiosRequestConfig) {
|
|
30189
|
+
return ContainersApiFp(this.configuration).autoDeployContainerEnvironments(organizationId, organizationContainerAutoDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30250
30190
|
}
|
|
30251
30191
|
|
|
30252
30192
|
/**
|
|
30253
|
-
*
|
|
30254
|
-
* @summary
|
|
30193
|
+
* This will create a new container with the same configuration on the targeted environment Id.
|
|
30194
|
+
* @summary Clone container
|
|
30255
30195
|
* @param {string} containerId Container ID
|
|
30196
|
+
* @param {CloneServiceRequest} [cloneServiceRequest]
|
|
30256
30197
|
* @param {*} [options] Override http request option.
|
|
30257
30198
|
* @throws {RequiredError}
|
|
30258
|
-
* @memberof
|
|
30199
|
+
* @memberof ContainersApi
|
|
30259
30200
|
*/
|
|
30260
|
-
public
|
|
30261
|
-
return
|
|
30201
|
+
public cloneContainer(containerId: string, cloneServiceRequest?: CloneServiceRequest, options?: AxiosRequestConfig) {
|
|
30202
|
+
return ContainersApiFp(this.configuration).cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30262
30203
|
}
|
|
30263
30204
|
|
|
30264
30205
|
/**
|
|
30265
30206
|
*
|
|
30266
|
-
* @summary
|
|
30267
|
-
* @param {string}
|
|
30207
|
+
* @summary Create a container
|
|
30208
|
+
* @param {string} environmentId Environment ID
|
|
30209
|
+
* @param {ContainerRequest} [containerRequest]
|
|
30268
30210
|
* @param {*} [options] Override http request option.
|
|
30269
30211
|
* @throws {RequiredError}
|
|
30270
|
-
* @memberof
|
|
30212
|
+
* @memberof ContainersApi
|
|
30271
30213
|
*/
|
|
30272
|
-
public
|
|
30273
|
-
return
|
|
30214
|
+
public createContainer(environmentId: string, containerRequest?: ContainerRequest, options?: AxiosRequestConfig) {
|
|
30215
|
+
return ContainersApiFp(this.configuration).createContainer(environmentId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30274
30216
|
}
|
|
30275
30217
|
|
|
30276
30218
|
/**
|
|
30277
|
-
*
|
|
30278
|
-
* @summary
|
|
30279
|
-
* @param {string}
|
|
30280
|
-
* @param {
|
|
30219
|
+
* Returns a list of containers with only their id and status.
|
|
30220
|
+
* @summary List all container registry container statuses
|
|
30221
|
+
* @param {string} organizationId Organization ID
|
|
30222
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
30281
30223
|
* @param {*} [options] Override http request option.
|
|
30282
30224
|
* @throws {RequiredError}
|
|
30283
|
-
* @memberof
|
|
30225
|
+
* @memberof ContainersApi
|
|
30284
30226
|
*/
|
|
30285
|
-
public
|
|
30286
|
-
return
|
|
30227
|
+
public getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
|
|
30228
|
+
return ContainersApiFp(this.configuration).getContainerRegistryContainerStatus(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
30287
30229
|
}
|
|
30288
30230
|
|
|
30289
30231
|
/**
|
|
30290
|
-
*
|
|
30291
|
-
* @summary
|
|
30292
|
-
* @param {string} applicationId Application ID
|
|
30293
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30232
|
+
* Default values for each setting are available in [our documentation](https://hub.qovery.com/docs/using-qovery/configuration/advanced-settings/)
|
|
30233
|
+
* @summary List default container advanced settings
|
|
30294
30234
|
* @param {*} [options] Override http request option.
|
|
30295
30235
|
* @throws {RequiredError}
|
|
30296
|
-
* @memberof
|
|
30236
|
+
* @memberof ContainersApi
|
|
30297
30237
|
*/
|
|
30298
|
-
public
|
|
30299
|
-
return
|
|
30238
|
+
public getDefaultContainerAdvancedSettings(options?: AxiosRequestConfig) {
|
|
30239
|
+
return ContainersApiFp(this.configuration).getDefaultContainerAdvancedSettings(options).then((request) => request(this.axios, this.basePath));
|
|
30300
30240
|
}
|
|
30301
30241
|
|
|
30302
30242
|
/**
|
|
30303
|
-
*
|
|
30304
|
-
* @summary
|
|
30305
|
-
* @param {string}
|
|
30306
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30307
|
-
* @param {CustomDomainRequest} [customDomainRequest]
|
|
30243
|
+
* Returns a list of containers with only their id and status.
|
|
30244
|
+
* @summary List all environment container statuses
|
|
30245
|
+
* @param {string} environmentId Environment ID
|
|
30308
30246
|
* @param {*} [options] Override http request option.
|
|
30309
30247
|
* @throws {RequiredError}
|
|
30310
|
-
* @memberof
|
|
30248
|
+
* @memberof ContainersApi
|
|
30311
30249
|
*/
|
|
30312
|
-
public
|
|
30313
|
-
return
|
|
30250
|
+
public getEnvironmentContainerStatus(environmentId: string, options?: AxiosRequestConfig) {
|
|
30251
|
+
return ContainersApiFp(this.configuration).getEnvironmentContainerStatus(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30314
30252
|
}
|
|
30315
30253
|
|
|
30316
30254
|
/**
|
|
30317
30255
|
*
|
|
30318
|
-
* @summary
|
|
30319
|
-
* @param {string}
|
|
30320
|
-
* @param {string} customDomainId Custom Domain ID
|
|
30256
|
+
* @summary List containers
|
|
30257
|
+
* @param {string} environmentId Environment ID
|
|
30321
30258
|
* @param {*} [options] Override http request option.
|
|
30322
30259
|
* @throws {RequiredError}
|
|
30323
|
-
* @memberof
|
|
30260
|
+
* @memberof ContainersApi
|
|
30324
30261
|
*/
|
|
30325
|
-
public
|
|
30326
|
-
return
|
|
30262
|
+
public listContainer(environmentId: string, options?: AxiosRequestConfig) {
|
|
30263
|
+
return ContainersApiFp(this.configuration).listContainer(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
30327
30264
|
}
|
|
30328
30265
|
|
|
30329
30266
|
/**
|
|
30330
|
-
*
|
|
30331
|
-
* @summary
|
|
30332
|
-
* @param {string}
|
|
30267
|
+
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
30268
|
+
* @summary Preview container environments
|
|
30269
|
+
* @param {string} organizationId Organization ID
|
|
30270
|
+
* @param {OrganizationContainerPreviewRequest} [organizationContainerPreviewRequest]
|
|
30333
30271
|
* @param {*} [options] Override http request option.
|
|
30334
30272
|
* @throws {RequiredError}
|
|
30335
|
-
* @memberof
|
|
30273
|
+
* @memberof ContainersApi
|
|
30336
30274
|
*/
|
|
30337
|
-
public
|
|
30338
|
-
return
|
|
30275
|
+
public previewContainerEnvironments(organizationId: string, organizationContainerPreviewRequest?: OrganizationContainerPreviewRequest, options?: AxiosRequestConfig) {
|
|
30276
|
+
return ContainersApiFp(this.configuration).previewContainerEnvironments(organizationId, organizationContainerPreviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30339
30277
|
}
|
|
30340
30278
|
}
|
|
30341
30279
|
|
|
@@ -37908,6 +37846,47 @@ export class HelmConfigurationApi extends BaseAPI {
|
|
|
37908
37846
|
*/
|
|
37909
37847
|
export const HelmCustomDomainApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37910
37848
|
return {
|
|
37849
|
+
/**
|
|
37850
|
+
*
|
|
37851
|
+
* @summary Check Helm Custom Domain
|
|
37852
|
+
* @param {string} helmId Helm ID
|
|
37853
|
+
* @param {*} [options] Override http request option.
|
|
37854
|
+
* @throws {RequiredError}
|
|
37855
|
+
*/
|
|
37856
|
+
checkHelmCustomDomain: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
37857
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
37858
|
+
assertParamExists('checkHelmCustomDomain', 'helmId', helmId)
|
|
37859
|
+
const localVarPath = `/helm/{helmId}/checkCustomDomain`
|
|
37860
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
37861
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37863
|
+
let baseOptions;
|
|
37864
|
+
if (configuration) {
|
|
37865
|
+
baseOptions = configuration.baseOptions;
|
|
37866
|
+
}
|
|
37867
|
+
|
|
37868
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
37869
|
+
const localVarHeaderParameter = {} as any;
|
|
37870
|
+
const localVarQueryParameter = {} as any;
|
|
37871
|
+
|
|
37872
|
+
// authentication ApiKeyAuth required
|
|
37873
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
37874
|
+
|
|
37875
|
+
// authentication bearerAuth required
|
|
37876
|
+
// http bearer authentication required
|
|
37877
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
37878
|
+
|
|
37879
|
+
|
|
37880
|
+
|
|
37881
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37882
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37883
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37884
|
+
|
|
37885
|
+
return {
|
|
37886
|
+
url: toPathString(localVarUrlObj),
|
|
37887
|
+
options: localVarRequestOptions,
|
|
37888
|
+
};
|
|
37889
|
+
},
|
|
37911
37890
|
/**
|
|
37912
37891
|
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
37913
37892
|
* @summary Add custom domain to the helm.
|
|
@@ -38143,6 +38122,17 @@ export const HelmCustomDomainApiAxiosParamCreator = function (configuration?: Co
|
|
|
38143
38122
|
export const HelmCustomDomainApiFp = function(configuration?: Configuration) {
|
|
38144
38123
|
const localVarAxiosParamCreator = HelmCustomDomainApiAxiosParamCreator(configuration)
|
|
38145
38124
|
return {
|
|
38125
|
+
/**
|
|
38126
|
+
*
|
|
38127
|
+
* @summary Check Helm Custom Domain
|
|
38128
|
+
* @param {string} helmId Helm ID
|
|
38129
|
+
* @param {*} [options] Override http request option.
|
|
38130
|
+
* @throws {RequiredError}
|
|
38131
|
+
*/
|
|
38132
|
+
async checkHelmCustomDomain(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckedCustomDomainsResponse>> {
|
|
38133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.checkHelmCustomDomain(helmId, options);
|
|
38134
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38135
|
+
},
|
|
38146
38136
|
/**
|
|
38147
38137
|
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
38148
38138
|
* @summary Add custom domain to the helm.
|
|
@@ -38213,6 +38203,16 @@ export const HelmCustomDomainApiFp = function(configuration?: Configuration) {
|
|
|
38213
38203
|
export const HelmCustomDomainApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38214
38204
|
const localVarFp = HelmCustomDomainApiFp(configuration)
|
|
38215
38205
|
return {
|
|
38206
|
+
/**
|
|
38207
|
+
*
|
|
38208
|
+
* @summary Check Helm Custom Domain
|
|
38209
|
+
* @param {string} helmId Helm ID
|
|
38210
|
+
* @param {*} [options] Override http request option.
|
|
38211
|
+
* @throws {RequiredError}
|
|
38212
|
+
*/
|
|
38213
|
+
checkHelmCustomDomain(helmId: string, options?: any): AxiosPromise<CheckedCustomDomainsResponse> {
|
|
38214
|
+
return localVarFp.checkHelmCustomDomain(helmId, options).then((request) => request(axios, basePath));
|
|
38215
|
+
},
|
|
38216
38216
|
/**
|
|
38217
38217
|
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
38218
38218
|
* @summary Add custom domain to the helm.
|
|
@@ -38278,6 +38278,18 @@ export const HelmCustomDomainApiFactory = function (configuration?: Configuratio
|
|
|
38278
38278
|
* @extends {BaseAPI}
|
|
38279
38279
|
*/
|
|
38280
38280
|
export class HelmCustomDomainApi extends BaseAPI {
|
|
38281
|
+
/**
|
|
38282
|
+
*
|
|
38283
|
+
* @summary Check Helm Custom Domain
|
|
38284
|
+
* @param {string} helmId Helm ID
|
|
38285
|
+
* @param {*} [options] Override http request option.
|
|
38286
|
+
* @throws {RequiredError}
|
|
38287
|
+
* @memberof HelmCustomDomainApi
|
|
38288
|
+
*/
|
|
38289
|
+
public checkHelmCustomDomain(helmId: string, options?: AxiosRequestConfig) {
|
|
38290
|
+
return HelmCustomDomainApiFp(this.configuration).checkHelmCustomDomain(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
38291
|
+
}
|
|
38292
|
+
|
|
38281
38293
|
/**
|
|
38282
38294
|
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
38283
38295
|
* @summary Add custom domain to the helm.
|