qovery-typescript-axios 1.1.813 → 1.1.815
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 +112 -0
- package/dist/api.d.ts +69 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +69 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3046,6 +3046,18 @@ export interface Cluster {
|
|
|
3046
3046
|
* @memberof Cluster
|
|
3047
3047
|
*/
|
|
3048
3048
|
'disk_size'?: number;
|
|
3049
|
+
/**
|
|
3050
|
+
* Unit is operation/seconds. The disk IOPS to be used for the node configuration
|
|
3051
|
+
* @type {number}
|
|
3052
|
+
* @memberof Cluster
|
|
3053
|
+
*/
|
|
3054
|
+
'disk_iops'?: number;
|
|
3055
|
+
/**
|
|
3056
|
+
* Unit is in MB/s. The disk thoughput to be used for the node configuration
|
|
3057
|
+
* @type {number}
|
|
3058
|
+
* @memberof Cluster
|
|
3059
|
+
*/
|
|
3060
|
+
'disk_throughput'?: number;
|
|
3049
3061
|
/**
|
|
3050
3062
|
* the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
|
|
3051
3063
|
* @type {string}
|
|
@@ -3708,6 +3720,18 @@ export interface ClusterFeatureKarpenterParameters {
|
|
|
3708
3720
|
* @memberof ClusterFeatureKarpenterParameters
|
|
3709
3721
|
*/
|
|
3710
3722
|
'disk_size_in_gib': number;
|
|
3723
|
+
/**
|
|
3724
|
+
*
|
|
3725
|
+
* @type {number}
|
|
3726
|
+
* @memberof ClusterFeatureKarpenterParameters
|
|
3727
|
+
*/
|
|
3728
|
+
'disk_iops'?: number;
|
|
3729
|
+
/**
|
|
3730
|
+
*
|
|
3731
|
+
* @type {number}
|
|
3732
|
+
* @memberof ClusterFeatureKarpenterParameters
|
|
3733
|
+
*/
|
|
3734
|
+
'disk_throuput'?: number;
|
|
3711
3735
|
/**
|
|
3712
3736
|
*
|
|
3713
3737
|
* @type {CpuArchitectureEnum}
|
|
@@ -4636,6 +4660,18 @@ export interface ClusterRequest {
|
|
|
4636
4660
|
* @memberof ClusterRequest
|
|
4637
4661
|
*/
|
|
4638
4662
|
'disk_size'?: number;
|
|
4663
|
+
/**
|
|
4664
|
+
* Unit is operation/seconds. The disk IOPS to be used for the node configuration
|
|
4665
|
+
* @type {number}
|
|
4666
|
+
* @memberof ClusterRequest
|
|
4667
|
+
*/
|
|
4668
|
+
'disk_iops'?: number;
|
|
4669
|
+
/**
|
|
4670
|
+
* Unit is in MB/s. The disk thoughput to be used for the node configuration
|
|
4671
|
+
* @type {number}
|
|
4672
|
+
* @memberof ClusterRequest
|
|
4673
|
+
*/
|
|
4674
|
+
'disk_throughput'?: number;
|
|
4639
4675
|
/**
|
|
4640
4676
|
* the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
|
|
4641
4677
|
* @type {string}
|
|
@@ -62692,6 +62728,47 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
|
|
|
62692
62728
|
|
|
62693
62729
|
|
|
62694
62730
|
|
|
62731
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62732
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62733
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
62734
|
+
|
|
62735
|
+
return {
|
|
62736
|
+
url: toPathString(localVarUrlObj),
|
|
62737
|
+
options: localVarRequestOptions,
|
|
62738
|
+
};
|
|
62739
|
+
},
|
|
62740
|
+
/**
|
|
62741
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
62742
|
+
* @summary Synchronize git webhook for a service
|
|
62743
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62744
|
+
* @param {*} [options] Override http request option.
|
|
62745
|
+
* @throws {RequiredError}
|
|
62746
|
+
*/
|
|
62747
|
+
syncServiceGitWebhook: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
62748
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
62749
|
+
assertParamExists('syncServiceGitWebhook', 'serviceId', serviceId)
|
|
62750
|
+
const localVarPath = `/service/{serviceId}/gitWebhook/sync`
|
|
62751
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
62752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
62754
|
+
let baseOptions;
|
|
62755
|
+
if (configuration) {
|
|
62756
|
+
baseOptions = configuration.baseOptions;
|
|
62757
|
+
}
|
|
62758
|
+
|
|
62759
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62760
|
+
const localVarHeaderParameter = {} as any;
|
|
62761
|
+
const localVarQueryParameter = {} as any;
|
|
62762
|
+
|
|
62763
|
+
// authentication ApiKeyAuth required
|
|
62764
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
62765
|
+
|
|
62766
|
+
// authentication bearerAuth required
|
|
62767
|
+
// http bearer authentication required
|
|
62768
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62769
|
+
|
|
62770
|
+
|
|
62771
|
+
|
|
62695
62772
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
62696
62773
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62697
62774
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -62724,6 +62801,19 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
|
|
|
62724
62801
|
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.getServiceGitWebhookStatus']?.[localVarOperationServerIndex]?.url;
|
|
62725
62802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62726
62803
|
},
|
|
62804
|
+
/**
|
|
62805
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
62806
|
+
* @summary Synchronize git webhook for a service
|
|
62807
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62808
|
+
* @param {*} [options] Override http request option.
|
|
62809
|
+
* @throws {RequiredError}
|
|
62810
|
+
*/
|
|
62811
|
+
async syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWebhookStatusResponse>> {
|
|
62812
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.syncServiceGitWebhook(serviceId, options);
|
|
62813
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
62814
|
+
const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.syncServiceGitWebhook']?.[localVarOperationServerIndex]?.url;
|
|
62815
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
62816
|
+
},
|
|
62727
62817
|
}
|
|
62728
62818
|
};
|
|
62729
62819
|
|
|
@@ -62744,6 +62834,16 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
|
|
|
62744
62834
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse> {
|
|
62745
62835
|
return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
|
|
62746
62836
|
},
|
|
62837
|
+
/**
|
|
62838
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
62839
|
+
* @summary Synchronize git webhook for a service
|
|
62840
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62841
|
+
* @param {*} [options] Override http request option.
|
|
62842
|
+
* @throws {RequiredError}
|
|
62843
|
+
*/
|
|
62844
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse> {
|
|
62845
|
+
return localVarFp.syncServiceGitWebhook(serviceId, options).then((request) => request(axios, basePath));
|
|
62846
|
+
},
|
|
62747
62847
|
};
|
|
62748
62848
|
};
|
|
62749
62849
|
|
|
@@ -62765,6 +62865,18 @@ export class ServiceMainCallsApi extends BaseAPI {
|
|
|
62765
62865
|
public getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
62766
62866
|
return ServiceMainCallsApiFp(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
62767
62867
|
}
|
|
62868
|
+
|
|
62869
|
+
/**
|
|
62870
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
62871
|
+
* @summary Synchronize git webhook for a service
|
|
62872
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
62873
|
+
* @param {*} [options] Override http request option.
|
|
62874
|
+
* @throws {RequiredError}
|
|
62875
|
+
* @memberof ServiceMainCallsApi
|
|
62876
|
+
*/
|
|
62877
|
+
public syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig) {
|
|
62878
|
+
return ServiceMainCallsApiFp(this.configuration).syncServiceGitWebhook(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
62879
|
+
}
|
|
62768
62880
|
}
|
|
62769
62881
|
|
|
62770
62882
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2934,6 +2934,18 @@ export interface Cluster {
|
|
|
2934
2934
|
* @memberof Cluster
|
|
2935
2935
|
*/
|
|
2936
2936
|
'disk_size'?: number;
|
|
2937
|
+
/**
|
|
2938
|
+
* Unit is operation/seconds. The disk IOPS to be used for the node configuration
|
|
2939
|
+
* @type {number}
|
|
2940
|
+
* @memberof Cluster
|
|
2941
|
+
*/
|
|
2942
|
+
'disk_iops'?: number;
|
|
2943
|
+
/**
|
|
2944
|
+
* Unit is in MB/s. The disk thoughput to be used for the node configuration
|
|
2945
|
+
* @type {number}
|
|
2946
|
+
* @memberof Cluster
|
|
2947
|
+
*/
|
|
2948
|
+
'disk_throughput'?: number;
|
|
2937
2949
|
/**
|
|
2938
2950
|
* the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
|
|
2939
2951
|
* @type {string}
|
|
@@ -3586,6 +3598,18 @@ export interface ClusterFeatureKarpenterParameters {
|
|
|
3586
3598
|
* @memberof ClusterFeatureKarpenterParameters
|
|
3587
3599
|
*/
|
|
3588
3600
|
'disk_size_in_gib': number;
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @type {number}
|
|
3604
|
+
* @memberof ClusterFeatureKarpenterParameters
|
|
3605
|
+
*/
|
|
3606
|
+
'disk_iops'?: number;
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @type {number}
|
|
3610
|
+
* @memberof ClusterFeatureKarpenterParameters
|
|
3611
|
+
*/
|
|
3612
|
+
'disk_throuput'?: number;
|
|
3589
3613
|
/**
|
|
3590
3614
|
*
|
|
3591
3615
|
* @type {CpuArchitectureEnum}
|
|
@@ -4504,6 +4528,18 @@ export interface ClusterRequest {
|
|
|
4504
4528
|
* @memberof ClusterRequest
|
|
4505
4529
|
*/
|
|
4506
4530
|
'disk_size'?: number;
|
|
4531
|
+
/**
|
|
4532
|
+
* Unit is operation/seconds. The disk IOPS to be used for the node configuration
|
|
4533
|
+
* @type {number}
|
|
4534
|
+
* @memberof ClusterRequest
|
|
4535
|
+
*/
|
|
4536
|
+
'disk_iops'?: number;
|
|
4537
|
+
/**
|
|
4538
|
+
* Unit is in MB/s. The disk thoughput to be used for the node configuration
|
|
4539
|
+
* @type {number}
|
|
4540
|
+
* @memberof ClusterRequest
|
|
4541
|
+
*/
|
|
4542
|
+
'disk_throughput'?: number;
|
|
4507
4543
|
/**
|
|
4508
4544
|
* the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
|
|
4509
4545
|
* @type {string}
|
|
@@ -39682,6 +39718,14 @@ export declare const ServiceMainCallsApiAxiosParamCreator: (configuration?: Conf
|
|
|
39682
39718
|
* @throws {RequiredError}
|
|
39683
39719
|
*/
|
|
39684
39720
|
getServiceGitWebhookStatus: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39721
|
+
/**
|
|
39722
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39723
|
+
* @summary Synchronize git webhook for a service
|
|
39724
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39725
|
+
* @param {*} [options] Override http request option.
|
|
39726
|
+
* @throws {RequiredError}
|
|
39727
|
+
*/
|
|
39728
|
+
syncServiceGitWebhook: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39685
39729
|
};
|
|
39686
39730
|
/**
|
|
39687
39731
|
* ServiceMainCallsApi - functional programming interface
|
|
@@ -39696,6 +39740,14 @@ export declare const ServiceMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
39696
39740
|
* @throws {RequiredError}
|
|
39697
39741
|
*/
|
|
39698
39742
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWebhookStatusResponse>>;
|
|
39743
|
+
/**
|
|
39744
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39745
|
+
* @summary Synchronize git webhook for a service
|
|
39746
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39747
|
+
* @param {*} [options] Override http request option.
|
|
39748
|
+
* @throws {RequiredError}
|
|
39749
|
+
*/
|
|
39750
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWebhookStatusResponse>>;
|
|
39699
39751
|
};
|
|
39700
39752
|
/**
|
|
39701
39753
|
* ServiceMainCallsApi - factory interface
|
|
@@ -39710,6 +39762,14 @@ export declare const ServiceMainCallsApiFactory: (configuration?: Configuration,
|
|
|
39710
39762
|
* @throws {RequiredError}
|
|
39711
39763
|
*/
|
|
39712
39764
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse>;
|
|
39765
|
+
/**
|
|
39766
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39767
|
+
* @summary Synchronize git webhook for a service
|
|
39768
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39769
|
+
* @param {*} [options] Override http request option.
|
|
39770
|
+
* @throws {RequiredError}
|
|
39771
|
+
*/
|
|
39772
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse>;
|
|
39713
39773
|
};
|
|
39714
39774
|
/**
|
|
39715
39775
|
* ServiceMainCallsApi - object-oriented interface
|
|
@@ -39727,6 +39787,15 @@ export declare class ServiceMainCallsApi extends BaseAPI {
|
|
|
39727
39787
|
* @memberof ServiceMainCallsApi
|
|
39728
39788
|
*/
|
|
39729
39789
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitWebhookStatusResponse, any, {}>>;
|
|
39790
|
+
/**
|
|
39791
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39792
|
+
* @summary Synchronize git webhook for a service
|
|
39793
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39794
|
+
* @param {*} [options] Override http request option.
|
|
39795
|
+
* @throws {RequiredError}
|
|
39796
|
+
* @memberof ServiceMainCallsApi
|
|
39797
|
+
*/
|
|
39798
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitWebhookStatusResponse, any, {}>>;
|
|
39730
39799
|
}
|
|
39731
39800
|
/**
|
|
39732
39801
|
* ServiceStatusApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -39941,6 +39941,40 @@ const ServiceMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
39941
39941
|
options: localVarRequestOptions,
|
|
39942
39942
|
};
|
|
39943
39943
|
}),
|
|
39944
|
+
/**
|
|
39945
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39946
|
+
* @summary Synchronize git webhook for a service
|
|
39947
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39948
|
+
* @param {*} [options] Override http request option.
|
|
39949
|
+
* @throws {RequiredError}
|
|
39950
|
+
*/
|
|
39951
|
+
syncServiceGitWebhook: (serviceId_1, ...args_1) => __awaiter(this, [serviceId_1, ...args_1], void 0, function* (serviceId, options = {}) {
|
|
39952
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
39953
|
+
(0, common_1.assertParamExists)('syncServiceGitWebhook', 'serviceId', serviceId);
|
|
39954
|
+
const localVarPath = `/service/{serviceId}/gitWebhook/sync`
|
|
39955
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
39956
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39957
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
39958
|
+
let baseOptions;
|
|
39959
|
+
if (configuration) {
|
|
39960
|
+
baseOptions = configuration.baseOptions;
|
|
39961
|
+
}
|
|
39962
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
39963
|
+
const localVarHeaderParameter = {};
|
|
39964
|
+
const localVarQueryParameter = {};
|
|
39965
|
+
// authentication ApiKeyAuth required
|
|
39966
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
39967
|
+
// authentication bearerAuth required
|
|
39968
|
+
// http bearer authentication required
|
|
39969
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
39970
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
39971
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39972
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39973
|
+
return {
|
|
39974
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
39975
|
+
options: localVarRequestOptions,
|
|
39976
|
+
};
|
|
39977
|
+
}),
|
|
39944
39978
|
};
|
|
39945
39979
|
};
|
|
39946
39980
|
exports.ServiceMainCallsApiAxiosParamCreator = ServiceMainCallsApiAxiosParamCreator;
|
|
@@ -39967,6 +40001,22 @@ const ServiceMainCallsApiFp = function (configuration) {
|
|
|
39967
40001
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39968
40002
|
});
|
|
39969
40003
|
},
|
|
40004
|
+
/**
|
|
40005
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
40006
|
+
* @summary Synchronize git webhook for a service
|
|
40007
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
40008
|
+
* @param {*} [options] Override http request option.
|
|
40009
|
+
* @throws {RequiredError}
|
|
40010
|
+
*/
|
|
40011
|
+
syncServiceGitWebhook(serviceId, options) {
|
|
40012
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40013
|
+
var _a, _b, _c;
|
|
40014
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncServiceGitWebhook(serviceId, options);
|
|
40015
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
40016
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ServiceMainCallsApi.syncServiceGitWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
40017
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
40018
|
+
});
|
|
40019
|
+
},
|
|
39970
40020
|
};
|
|
39971
40021
|
};
|
|
39972
40022
|
exports.ServiceMainCallsApiFp = ServiceMainCallsApiFp;
|
|
@@ -39987,6 +40037,16 @@ const ServiceMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
39987
40037
|
getServiceGitWebhookStatus(serviceId, options) {
|
|
39988
40038
|
return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
|
|
39989
40039
|
},
|
|
40040
|
+
/**
|
|
40041
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
40042
|
+
* @summary Synchronize git webhook for a service
|
|
40043
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
40044
|
+
* @param {*} [options] Override http request option.
|
|
40045
|
+
* @throws {RequiredError}
|
|
40046
|
+
*/
|
|
40047
|
+
syncServiceGitWebhook(serviceId, options) {
|
|
40048
|
+
return localVarFp.syncServiceGitWebhook(serviceId, options).then((request) => request(axios, basePath));
|
|
40049
|
+
},
|
|
39990
40050
|
};
|
|
39991
40051
|
};
|
|
39992
40052
|
exports.ServiceMainCallsApiFactory = ServiceMainCallsApiFactory;
|
|
@@ -40008,6 +40068,17 @@ class ServiceMainCallsApi extends base_1.BaseAPI {
|
|
|
40008
40068
|
getServiceGitWebhookStatus(serviceId, options) {
|
|
40009
40069
|
return (0, exports.ServiceMainCallsApiFp)(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
40010
40070
|
}
|
|
40071
|
+
/**
|
|
40072
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
40073
|
+
* @summary Synchronize git webhook for a service
|
|
40074
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
40075
|
+
* @param {*} [options] Override http request option.
|
|
40076
|
+
* @throws {RequiredError}
|
|
40077
|
+
* @memberof ServiceMainCallsApi
|
|
40078
|
+
*/
|
|
40079
|
+
syncServiceGitWebhook(serviceId, options) {
|
|
40080
|
+
return (0, exports.ServiceMainCallsApiFp)(this.configuration).syncServiceGitWebhook(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
40081
|
+
}
|
|
40011
40082
|
}
|
|
40012
40083
|
exports.ServiceMainCallsApi = ServiceMainCallsApi;
|
|
40013
40084
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2934,6 +2934,18 @@ export interface Cluster {
|
|
|
2934
2934
|
* @memberof Cluster
|
|
2935
2935
|
*/
|
|
2936
2936
|
'disk_size'?: number;
|
|
2937
|
+
/**
|
|
2938
|
+
* Unit is operation/seconds. The disk IOPS to be used for the node configuration
|
|
2939
|
+
* @type {number}
|
|
2940
|
+
* @memberof Cluster
|
|
2941
|
+
*/
|
|
2942
|
+
'disk_iops'?: number;
|
|
2943
|
+
/**
|
|
2944
|
+
* Unit is in MB/s. The disk thoughput to be used for the node configuration
|
|
2945
|
+
* @type {number}
|
|
2946
|
+
* @memberof Cluster
|
|
2947
|
+
*/
|
|
2948
|
+
'disk_throughput'?: number;
|
|
2937
2949
|
/**
|
|
2938
2950
|
* the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
|
|
2939
2951
|
* @type {string}
|
|
@@ -3586,6 +3598,18 @@ export interface ClusterFeatureKarpenterParameters {
|
|
|
3586
3598
|
* @memberof ClusterFeatureKarpenterParameters
|
|
3587
3599
|
*/
|
|
3588
3600
|
'disk_size_in_gib': number;
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @type {number}
|
|
3604
|
+
* @memberof ClusterFeatureKarpenterParameters
|
|
3605
|
+
*/
|
|
3606
|
+
'disk_iops'?: number;
|
|
3607
|
+
/**
|
|
3608
|
+
*
|
|
3609
|
+
* @type {number}
|
|
3610
|
+
* @memberof ClusterFeatureKarpenterParameters
|
|
3611
|
+
*/
|
|
3612
|
+
'disk_throuput'?: number;
|
|
3589
3613
|
/**
|
|
3590
3614
|
*
|
|
3591
3615
|
* @type {CpuArchitectureEnum}
|
|
@@ -4504,6 +4528,18 @@ export interface ClusterRequest {
|
|
|
4504
4528
|
* @memberof ClusterRequest
|
|
4505
4529
|
*/
|
|
4506
4530
|
'disk_size'?: number;
|
|
4531
|
+
/**
|
|
4532
|
+
* Unit is operation/seconds. The disk IOPS to be used for the node configuration
|
|
4533
|
+
* @type {number}
|
|
4534
|
+
* @memberof ClusterRequest
|
|
4535
|
+
*/
|
|
4536
|
+
'disk_iops'?: number;
|
|
4537
|
+
/**
|
|
4538
|
+
* Unit is in MB/s. The disk thoughput to be used for the node configuration
|
|
4539
|
+
* @type {number}
|
|
4540
|
+
* @memberof ClusterRequest
|
|
4541
|
+
*/
|
|
4542
|
+
'disk_throughput'?: number;
|
|
4507
4543
|
/**
|
|
4508
4544
|
* the instance type to be used for this cluster. The list of values can be retrieved via the endpoint /{CloudProvider}/instanceType
|
|
4509
4545
|
* @type {string}
|
|
@@ -39682,6 +39718,14 @@ export declare const ServiceMainCallsApiAxiosParamCreator: (configuration?: Conf
|
|
|
39682
39718
|
* @throws {RequiredError}
|
|
39683
39719
|
*/
|
|
39684
39720
|
getServiceGitWebhookStatus: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39721
|
+
/**
|
|
39722
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39723
|
+
* @summary Synchronize git webhook for a service
|
|
39724
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39725
|
+
* @param {*} [options] Override http request option.
|
|
39726
|
+
* @throws {RequiredError}
|
|
39727
|
+
*/
|
|
39728
|
+
syncServiceGitWebhook: (serviceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39685
39729
|
};
|
|
39686
39730
|
/**
|
|
39687
39731
|
* ServiceMainCallsApi - functional programming interface
|
|
@@ -39696,6 +39740,14 @@ export declare const ServiceMainCallsApiFp: (configuration?: Configuration) => {
|
|
|
39696
39740
|
* @throws {RequiredError}
|
|
39697
39741
|
*/
|
|
39698
39742
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWebhookStatusResponse>>;
|
|
39743
|
+
/**
|
|
39744
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39745
|
+
* @summary Synchronize git webhook for a service
|
|
39746
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39747
|
+
* @param {*} [options] Override http request option.
|
|
39748
|
+
* @throws {RequiredError}
|
|
39749
|
+
*/
|
|
39750
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GitWebhookStatusResponse>>;
|
|
39699
39751
|
};
|
|
39700
39752
|
/**
|
|
39701
39753
|
* ServiceMainCallsApi - factory interface
|
|
@@ -39710,6 +39762,14 @@ export declare const ServiceMainCallsApiFactory: (configuration?: Configuration,
|
|
|
39710
39762
|
* @throws {RequiredError}
|
|
39711
39763
|
*/
|
|
39712
39764
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse>;
|
|
39765
|
+
/**
|
|
39766
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39767
|
+
* @summary Synchronize git webhook for a service
|
|
39768
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39769
|
+
* @param {*} [options] Override http request option.
|
|
39770
|
+
* @throws {RequiredError}
|
|
39771
|
+
*/
|
|
39772
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse>;
|
|
39713
39773
|
};
|
|
39714
39774
|
/**
|
|
39715
39775
|
* ServiceMainCallsApi - object-oriented interface
|
|
@@ -39727,6 +39787,15 @@ export declare class ServiceMainCallsApi extends BaseAPI {
|
|
|
39727
39787
|
* @memberof ServiceMainCallsApi
|
|
39728
39788
|
*/
|
|
39729
39789
|
getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitWebhookStatusResponse, any, {}>>;
|
|
39790
|
+
/**
|
|
39791
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39792
|
+
* @summary Synchronize git webhook for a service
|
|
39793
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39794
|
+
* @param {*} [options] Override http request option.
|
|
39795
|
+
* @throws {RequiredError}
|
|
39796
|
+
* @memberof ServiceMainCallsApi
|
|
39797
|
+
*/
|
|
39798
|
+
syncServiceGitWebhook(serviceId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GitWebhookStatusResponse, any, {}>>;
|
|
39730
39799
|
}
|
|
39731
39800
|
/**
|
|
39732
39801
|
* ServiceStatusApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -39601,6 +39601,40 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
39601
39601
|
options: localVarRequestOptions,
|
|
39602
39602
|
};
|
|
39603
39603
|
}),
|
|
39604
|
+
/**
|
|
39605
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39606
|
+
* @summary Synchronize git webhook for a service
|
|
39607
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39608
|
+
* @param {*} [options] Override http request option.
|
|
39609
|
+
* @throws {RequiredError}
|
|
39610
|
+
*/
|
|
39611
|
+
syncServiceGitWebhook: (serviceId_1, ...args_1) => __awaiter(this, [serviceId_1, ...args_1], void 0, function* (serviceId, options = {}) {
|
|
39612
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
39613
|
+
assertParamExists('syncServiceGitWebhook', 'serviceId', serviceId);
|
|
39614
|
+
const localVarPath = `/service/{serviceId}/gitWebhook/sync`
|
|
39615
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
39616
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39617
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39618
|
+
let baseOptions;
|
|
39619
|
+
if (configuration) {
|
|
39620
|
+
baseOptions = configuration.baseOptions;
|
|
39621
|
+
}
|
|
39622
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
39623
|
+
const localVarHeaderParameter = {};
|
|
39624
|
+
const localVarQueryParameter = {};
|
|
39625
|
+
// authentication ApiKeyAuth required
|
|
39626
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
39627
|
+
// authentication bearerAuth required
|
|
39628
|
+
// http bearer authentication required
|
|
39629
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
39630
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39631
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39632
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39633
|
+
return {
|
|
39634
|
+
url: toPathString(localVarUrlObj),
|
|
39635
|
+
options: localVarRequestOptions,
|
|
39636
|
+
};
|
|
39637
|
+
}),
|
|
39604
39638
|
};
|
|
39605
39639
|
};
|
|
39606
39640
|
/**
|
|
@@ -39626,6 +39660,22 @@ export const ServiceMainCallsApiFp = function (configuration) {
|
|
|
39626
39660
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39627
39661
|
});
|
|
39628
39662
|
},
|
|
39663
|
+
/**
|
|
39664
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39665
|
+
* @summary Synchronize git webhook for a service
|
|
39666
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39667
|
+
* @param {*} [options] Override http request option.
|
|
39668
|
+
* @throws {RequiredError}
|
|
39669
|
+
*/
|
|
39670
|
+
syncServiceGitWebhook(serviceId, options) {
|
|
39671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39672
|
+
var _a, _b, _c;
|
|
39673
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncServiceGitWebhook(serviceId, options);
|
|
39674
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39675
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ServiceMainCallsApi.syncServiceGitWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39676
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39677
|
+
});
|
|
39678
|
+
},
|
|
39629
39679
|
};
|
|
39630
39680
|
};
|
|
39631
39681
|
/**
|
|
@@ -39645,6 +39695,16 @@ export const ServiceMainCallsApiFactory = function (configuration, basePath, axi
|
|
|
39645
39695
|
getServiceGitWebhookStatus(serviceId, options) {
|
|
39646
39696
|
return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
|
|
39647
39697
|
},
|
|
39698
|
+
/**
|
|
39699
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39700
|
+
* @summary Synchronize git webhook for a service
|
|
39701
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39702
|
+
* @param {*} [options] Override http request option.
|
|
39703
|
+
* @throws {RequiredError}
|
|
39704
|
+
*/
|
|
39705
|
+
syncServiceGitWebhook(serviceId, options) {
|
|
39706
|
+
return localVarFp.syncServiceGitWebhook(serviceId, options).then((request) => request(axios, basePath));
|
|
39707
|
+
},
|
|
39648
39708
|
};
|
|
39649
39709
|
};
|
|
39650
39710
|
/**
|
|
@@ -39665,6 +39725,17 @@ export class ServiceMainCallsApi extends BaseAPI {
|
|
|
39665
39725
|
getServiceGitWebhookStatus(serviceId, options) {
|
|
39666
39726
|
return ServiceMainCallsApiFp(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
39667
39727
|
}
|
|
39728
|
+
/**
|
|
39729
|
+
* Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
|
|
39730
|
+
* @summary Synchronize git webhook for a service
|
|
39731
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
39732
|
+
* @param {*} [options] Override http request option.
|
|
39733
|
+
* @throws {RequiredError}
|
|
39734
|
+
* @memberof ServiceMainCallsApi
|
|
39735
|
+
*/
|
|
39736
|
+
syncServiceGitWebhook(serviceId, options) {
|
|
39737
|
+
return ServiceMainCallsApiFp(this.configuration).syncServiceGitWebhook(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
39738
|
+
}
|
|
39668
39739
|
}
|
|
39669
39740
|
/**
|
|
39670
39741
|
* ServiceStatusApi - axios parameter creator
|