qovery-typescript-axios 1.1.335 → 1.1.337
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 +462 -0
- package/dist/api.d.ts +229 -0
- package/dist/api.js +414 -3
- package/dist/esm/api.d.ts +229 -0
- package/dist/esm/api.js +407 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2760,6 +2760,12 @@ export interface ClusterRequest {
|
|
|
2760
2760
|
* @memberof ClusterRequest
|
|
2761
2761
|
*/
|
|
2762
2762
|
'ssh_keys'?: Array<string>;
|
|
2763
|
+
/**
|
|
2764
|
+
* If the cluster is a self managed one. The kubeconfig to use to connect to it
|
|
2765
|
+
* @type {string}
|
|
2766
|
+
* @memberof ClusterRequest
|
|
2767
|
+
*/
|
|
2768
|
+
'kubeconfig'?: string;
|
|
2763
2769
|
/**
|
|
2764
2770
|
*
|
|
2765
2771
|
* @type {Array<ClusterRequestFeaturesInner>}
|
|
@@ -8209,6 +8215,12 @@ export interface HelmPortRequestPortsInner {
|
|
|
8209
8215
|
* @memberof HelmPortRequestPortsInner
|
|
8210
8216
|
*/
|
|
8211
8217
|
'protocol'?: HelmPortProtocolEnum;
|
|
8218
|
+
/**
|
|
8219
|
+
* is the default port to use for domain
|
|
8220
|
+
* @type {boolean}
|
|
8221
|
+
* @memberof HelmPortRequestPortsInner
|
|
8222
|
+
*/
|
|
8223
|
+
'is_default'?: boolean;
|
|
8212
8224
|
}
|
|
8213
8225
|
|
|
8214
8226
|
|
|
@@ -8741,6 +8753,12 @@ export interface HelmResponseAllOfPorts {
|
|
|
8741
8753
|
* @memberof HelmResponseAllOfPorts
|
|
8742
8754
|
*/
|
|
8743
8755
|
'protocol': HelmPortProtocolEnum;
|
|
8756
|
+
/**
|
|
8757
|
+
* is the default port to use for domain
|
|
8758
|
+
* @type {boolean}
|
|
8759
|
+
* @memberof HelmResponseAllOfPorts
|
|
8760
|
+
*/
|
|
8761
|
+
'is_default'?: boolean;
|
|
8744
8762
|
}
|
|
8745
8763
|
|
|
8746
8764
|
|
|
@@ -29737,6 +29755,51 @@ export const CustomDomainApiAxiosParamCreator = function (configuration?: Config
|
|
|
29737
29755
|
|
|
29738
29756
|
|
|
29739
29757
|
|
|
29758
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29759
|
+
|
|
29760
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29761
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29762
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29763
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customDomainRequest, localVarRequestOptions, configuration)
|
|
29764
|
+
|
|
29765
|
+
return {
|
|
29766
|
+
url: toPathString(localVarUrlObj),
|
|
29767
|
+
options: localVarRequestOptions,
|
|
29768
|
+
};
|
|
29769
|
+
},
|
|
29770
|
+
/**
|
|
29771
|
+
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
29772
|
+
* @summary Add custom domain to the helm.
|
|
29773
|
+
* @param {string} helmId Helm ID
|
|
29774
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
29775
|
+
* @param {*} [options] Override http request option.
|
|
29776
|
+
* @throws {RequiredError}
|
|
29777
|
+
*/
|
|
29778
|
+
createHelmCustomDomain: async (helmId: string, customDomainRequest?: CustomDomainRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
29779
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
29780
|
+
assertParamExists('createHelmCustomDomain', 'helmId', helmId)
|
|
29781
|
+
const localVarPath = `/helm/{helmId}/customDomain`
|
|
29782
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
29783
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
29784
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
29785
|
+
let baseOptions;
|
|
29786
|
+
if (configuration) {
|
|
29787
|
+
baseOptions = configuration.baseOptions;
|
|
29788
|
+
}
|
|
29789
|
+
|
|
29790
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
29791
|
+
const localVarHeaderParameter = {} as any;
|
|
29792
|
+
const localVarQueryParameter = {} as any;
|
|
29793
|
+
|
|
29794
|
+
// authentication ApiKeyAuth required
|
|
29795
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
29796
|
+
|
|
29797
|
+
// authentication bearerAuth required
|
|
29798
|
+
// http bearer authentication required
|
|
29799
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
29800
|
+
|
|
29801
|
+
|
|
29802
|
+
|
|
29740
29803
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
29741
29804
|
|
|
29742
29805
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -29920,6 +29983,47 @@ export const CustomDomainApiAxiosParamCreator = function (configuration?: Config
|
|
|
29920
29983
|
|
|
29921
29984
|
|
|
29922
29985
|
|
|
29986
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29987
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29988
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
29989
|
+
|
|
29990
|
+
return {
|
|
29991
|
+
url: toPathString(localVarUrlObj),
|
|
29992
|
+
options: localVarRequestOptions,
|
|
29993
|
+
};
|
|
29994
|
+
},
|
|
29995
|
+
/**
|
|
29996
|
+
* List the custom domains of this helm
|
|
29997
|
+
* @summary List helm custom domains
|
|
29998
|
+
* @param {string} helmId Helm ID
|
|
29999
|
+
* @param {*} [options] Override http request option.
|
|
30000
|
+
* @throws {RequiredError}
|
|
30001
|
+
*/
|
|
30002
|
+
listHelmCustomDomain: async (helmId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30003
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
30004
|
+
assertParamExists('listHelmCustomDomain', 'helmId', helmId)
|
|
30005
|
+
const localVarPath = `/helm/{helmId}/customDomain`
|
|
30006
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
30007
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30008
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30009
|
+
let baseOptions;
|
|
30010
|
+
if (configuration) {
|
|
30011
|
+
baseOptions = configuration.baseOptions;
|
|
30012
|
+
}
|
|
30013
|
+
|
|
30014
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
30015
|
+
const localVarHeaderParameter = {} as any;
|
|
30016
|
+
const localVarQueryParameter = {} as any;
|
|
30017
|
+
|
|
30018
|
+
// authentication ApiKeyAuth required
|
|
30019
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30020
|
+
|
|
30021
|
+
// authentication bearerAuth required
|
|
30022
|
+
// http bearer authentication required
|
|
30023
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30024
|
+
|
|
30025
|
+
|
|
30026
|
+
|
|
29923
30027
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29924
30028
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
29925
30029
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -29951,6 +30055,18 @@ export const CustomDomainApiFp = function(configuration?: Configuration) {
|
|
|
29951
30055
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationCustomDomain(applicationId, customDomainRequest, options);
|
|
29952
30056
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
29953
30057
|
},
|
|
30058
|
+
/**
|
|
30059
|
+
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
30060
|
+
* @summary Add custom domain to the helm.
|
|
30061
|
+
* @param {string} helmId Helm ID
|
|
30062
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
30063
|
+
* @param {*} [options] Override http request option.
|
|
30064
|
+
* @throws {RequiredError}
|
|
30065
|
+
*/
|
|
30066
|
+
async createHelmCustomDomain(helmId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomain>> {
|
|
30067
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createHelmCustomDomain(helmId, customDomainRequest, options);
|
|
30068
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30069
|
+
},
|
|
29954
30070
|
/**
|
|
29955
30071
|
* To delete an CustomDomain you must have the project user permission
|
|
29956
30072
|
* @summary Delete a Custom Domain
|
|
@@ -29999,6 +30115,17 @@ export const CustomDomainApiFp = function(configuration?: Configuration) {
|
|
|
29999
30115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationCustomDomain(applicationId, options);
|
|
30000
30116
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30001
30117
|
},
|
|
30118
|
+
/**
|
|
30119
|
+
* List the custom domains of this helm
|
|
30120
|
+
* @summary List helm custom domains
|
|
30121
|
+
* @param {string} helmId Helm ID
|
|
30122
|
+
* @param {*} [options] Override http request option.
|
|
30123
|
+
* @throws {RequiredError}
|
|
30124
|
+
*/
|
|
30125
|
+
async listHelmCustomDomain(helmId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomainResponseList>> {
|
|
30126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listHelmCustomDomain(helmId, options);
|
|
30127
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
30128
|
+
},
|
|
30002
30129
|
}
|
|
30003
30130
|
};
|
|
30004
30131
|
|
|
@@ -30020,6 +30147,17 @@ export const CustomDomainApiFactory = function (configuration?: Configuration, b
|
|
|
30020
30147
|
createApplicationCustomDomain(applicationId: string, customDomainRequest?: CustomDomainRequest, options?: any): AxiosPromise<CustomDomain> {
|
|
30021
30148
|
return localVarFp.createApplicationCustomDomain(applicationId, customDomainRequest, options).then((request) => request(axios, basePath));
|
|
30022
30149
|
},
|
|
30150
|
+
/**
|
|
30151
|
+
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
30152
|
+
* @summary Add custom domain to the helm.
|
|
30153
|
+
* @param {string} helmId Helm ID
|
|
30154
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
30155
|
+
* @param {*} [options] Override http request option.
|
|
30156
|
+
* @throws {RequiredError}
|
|
30157
|
+
*/
|
|
30158
|
+
createHelmCustomDomain(helmId: string, customDomainRequest?: CustomDomainRequest, options?: any): AxiosPromise<CustomDomain> {
|
|
30159
|
+
return localVarFp.createHelmCustomDomain(helmId, customDomainRequest, options).then((request) => request(axios, basePath));
|
|
30160
|
+
},
|
|
30023
30161
|
/**
|
|
30024
30162
|
* To delete an CustomDomain you must have the project user permission
|
|
30025
30163
|
* @summary Delete a Custom Domain
|
|
@@ -30064,6 +30202,16 @@ export const CustomDomainApiFactory = function (configuration?: Configuration, b
|
|
|
30064
30202
|
listApplicationCustomDomain(applicationId: string, options?: any): AxiosPromise<CustomDomainResponseList> {
|
|
30065
30203
|
return localVarFp.listApplicationCustomDomain(applicationId, options).then((request) => request(axios, basePath));
|
|
30066
30204
|
},
|
|
30205
|
+
/**
|
|
30206
|
+
* List the custom domains of this helm
|
|
30207
|
+
* @summary List helm custom domains
|
|
30208
|
+
* @param {string} helmId Helm ID
|
|
30209
|
+
* @param {*} [options] Override http request option.
|
|
30210
|
+
* @throws {RequiredError}
|
|
30211
|
+
*/
|
|
30212
|
+
listHelmCustomDomain(helmId: string, options?: any): AxiosPromise<CustomDomainResponseList> {
|
|
30213
|
+
return localVarFp.listHelmCustomDomain(helmId, options).then((request) => request(axios, basePath));
|
|
30214
|
+
},
|
|
30067
30215
|
};
|
|
30068
30216
|
};
|
|
30069
30217
|
|
|
@@ -30087,6 +30235,19 @@ export class CustomDomainApi extends BaseAPI {
|
|
|
30087
30235
|
return CustomDomainApiFp(this.configuration).createApplicationCustomDomain(applicationId, customDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30088
30236
|
}
|
|
30089
30237
|
|
|
30238
|
+
/**
|
|
30239
|
+
* Add a custom domain to this helm in order not to use qovery autogenerated domain
|
|
30240
|
+
* @summary Add custom domain to the helm.
|
|
30241
|
+
* @param {string} helmId Helm ID
|
|
30242
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
30243
|
+
* @param {*} [options] Override http request option.
|
|
30244
|
+
* @throws {RequiredError}
|
|
30245
|
+
* @memberof CustomDomainApi
|
|
30246
|
+
*/
|
|
30247
|
+
public createHelmCustomDomain(helmId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig) {
|
|
30248
|
+
return CustomDomainApiFp(this.configuration).createHelmCustomDomain(helmId, customDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
30249
|
+
}
|
|
30250
|
+
|
|
30090
30251
|
/**
|
|
30091
30252
|
* To delete an CustomDomain you must have the project user permission
|
|
30092
30253
|
* @summary Delete a Custom Domain
|
|
@@ -30138,6 +30299,18 @@ export class CustomDomainApi extends BaseAPI {
|
|
|
30138
30299
|
public listApplicationCustomDomain(applicationId: string, options?: AxiosRequestConfig) {
|
|
30139
30300
|
return CustomDomainApiFp(this.configuration).listApplicationCustomDomain(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
30140
30301
|
}
|
|
30302
|
+
|
|
30303
|
+
/**
|
|
30304
|
+
* List the custom domains of this helm
|
|
30305
|
+
* @summary List helm custom domains
|
|
30306
|
+
* @param {string} helmId Helm ID
|
|
30307
|
+
* @param {*} [options] Override http request option.
|
|
30308
|
+
* @throws {RequiredError}
|
|
30309
|
+
* @memberof CustomDomainApi
|
|
30310
|
+
*/
|
|
30311
|
+
public listHelmCustomDomain(helmId: string, options?: AxiosRequestConfig) {
|
|
30312
|
+
return CustomDomainApiFp(this.configuration).listHelmCustomDomain(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
30313
|
+
}
|
|
30141
30314
|
}
|
|
30142
30315
|
|
|
30143
30316
|
|
|
@@ -37931,6 +38104,295 @@ export class HelmConfigurationApi extends BaseAPI {
|
|
|
37931
38104
|
|
|
37932
38105
|
|
|
37933
38106
|
|
|
38107
|
+
/**
|
|
38108
|
+
* HelmCustomDomainApi - axios parameter creator
|
|
38109
|
+
* @export
|
|
38110
|
+
*/
|
|
38111
|
+
export const HelmCustomDomainApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38112
|
+
return {
|
|
38113
|
+
/**
|
|
38114
|
+
* To delete an CustomDomain you must have the project user permission
|
|
38115
|
+
* @summary Delete a Custom Domain
|
|
38116
|
+
* @param {string} helmId Helm ID
|
|
38117
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38118
|
+
* @param {*} [options] Override http request option.
|
|
38119
|
+
* @throws {RequiredError}
|
|
38120
|
+
*/
|
|
38121
|
+
deleteHelmCustomDomain: async (helmId: string, customDomainId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38122
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
38123
|
+
assertParamExists('deleteHelmCustomDomain', 'helmId', helmId)
|
|
38124
|
+
// verify required parameter 'customDomainId' is not null or undefined
|
|
38125
|
+
assertParamExists('deleteHelmCustomDomain', 'customDomainId', customDomainId)
|
|
38126
|
+
const localVarPath = `/helm/{helmId}/customDomain/{customDomainId}`
|
|
38127
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
|
|
38128
|
+
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
38129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38131
|
+
let baseOptions;
|
|
38132
|
+
if (configuration) {
|
|
38133
|
+
baseOptions = configuration.baseOptions;
|
|
38134
|
+
}
|
|
38135
|
+
|
|
38136
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
38137
|
+
const localVarHeaderParameter = {} as any;
|
|
38138
|
+
const localVarQueryParameter = {} as any;
|
|
38139
|
+
|
|
38140
|
+
// authentication ApiKeyAuth required
|
|
38141
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38142
|
+
|
|
38143
|
+
// authentication bearerAuth required
|
|
38144
|
+
// http bearer authentication required
|
|
38145
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38146
|
+
|
|
38147
|
+
|
|
38148
|
+
|
|
38149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38151
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38152
|
+
|
|
38153
|
+
return {
|
|
38154
|
+
url: toPathString(localVarUrlObj),
|
|
38155
|
+
options: localVarRequestOptions,
|
|
38156
|
+
};
|
|
38157
|
+
},
|
|
38158
|
+
/**
|
|
38159
|
+
* To edit a Custom Domain you must have the project user permission
|
|
38160
|
+
* @summary Edit a Custom Domain
|
|
38161
|
+
* @param {string} helmId Helm ID
|
|
38162
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38163
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
38164
|
+
* @param {*} [options] Override http request option.
|
|
38165
|
+
* @throws {RequiredError}
|
|
38166
|
+
*/
|
|
38167
|
+
editHelmCustomDomain: async (helmId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38168
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
38169
|
+
assertParamExists('editHelmCustomDomain', 'helmId', helmId)
|
|
38170
|
+
// verify required parameter 'customDomainId' is not null or undefined
|
|
38171
|
+
assertParamExists('editHelmCustomDomain', 'customDomainId', customDomainId)
|
|
38172
|
+
const localVarPath = `/helm/{helmId}/customDomain/{customDomainId}`
|
|
38173
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
|
|
38174
|
+
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
38175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38177
|
+
let baseOptions;
|
|
38178
|
+
if (configuration) {
|
|
38179
|
+
baseOptions = configuration.baseOptions;
|
|
38180
|
+
}
|
|
38181
|
+
|
|
38182
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
38183
|
+
const localVarHeaderParameter = {} as any;
|
|
38184
|
+
const localVarQueryParameter = {} as any;
|
|
38185
|
+
|
|
38186
|
+
// authentication ApiKeyAuth required
|
|
38187
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38188
|
+
|
|
38189
|
+
// authentication bearerAuth required
|
|
38190
|
+
// http bearer authentication required
|
|
38191
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38192
|
+
|
|
38193
|
+
|
|
38194
|
+
|
|
38195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38196
|
+
|
|
38197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38199
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38200
|
+
localVarRequestOptions.data = serializeDataIfNeeded(customDomainRequest, localVarRequestOptions, configuration)
|
|
38201
|
+
|
|
38202
|
+
return {
|
|
38203
|
+
url: toPathString(localVarUrlObj),
|
|
38204
|
+
options: localVarRequestOptions,
|
|
38205
|
+
};
|
|
38206
|
+
},
|
|
38207
|
+
/**
|
|
38208
|
+
* Get a custom domain
|
|
38209
|
+
* @summary Get a Custom Domain
|
|
38210
|
+
* @param {string} helmId Helm ID
|
|
38211
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38212
|
+
* @param {*} [options] Override http request option.
|
|
38213
|
+
* @throws {RequiredError}
|
|
38214
|
+
*/
|
|
38215
|
+
getHelmCustomDomain: async (helmId: string, customDomainId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38216
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
38217
|
+
assertParamExists('getHelmCustomDomain', 'helmId', helmId)
|
|
38218
|
+
// verify required parameter 'customDomainId' is not null or undefined
|
|
38219
|
+
assertParamExists('getHelmCustomDomain', 'customDomainId', customDomainId)
|
|
38220
|
+
const localVarPath = `/helm/{helmId}/customDomain/{customDomainId}`
|
|
38221
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)))
|
|
38222
|
+
.replace(`{${"customDomainId"}}`, encodeURIComponent(String(customDomainId)));
|
|
38223
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38224
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38225
|
+
let baseOptions;
|
|
38226
|
+
if (configuration) {
|
|
38227
|
+
baseOptions = configuration.baseOptions;
|
|
38228
|
+
}
|
|
38229
|
+
|
|
38230
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38231
|
+
const localVarHeaderParameter = {} as any;
|
|
38232
|
+
const localVarQueryParameter = {} as any;
|
|
38233
|
+
|
|
38234
|
+
// authentication ApiKeyAuth required
|
|
38235
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38236
|
+
|
|
38237
|
+
// authentication bearerAuth required
|
|
38238
|
+
// http bearer authentication required
|
|
38239
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38240
|
+
|
|
38241
|
+
|
|
38242
|
+
|
|
38243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38246
|
+
|
|
38247
|
+
return {
|
|
38248
|
+
url: toPathString(localVarUrlObj),
|
|
38249
|
+
options: localVarRequestOptions,
|
|
38250
|
+
};
|
|
38251
|
+
},
|
|
38252
|
+
}
|
|
38253
|
+
};
|
|
38254
|
+
|
|
38255
|
+
/**
|
|
38256
|
+
* HelmCustomDomainApi - functional programming interface
|
|
38257
|
+
* @export
|
|
38258
|
+
*/
|
|
38259
|
+
export const HelmCustomDomainApiFp = function(configuration?: Configuration) {
|
|
38260
|
+
const localVarAxiosParamCreator = HelmCustomDomainApiAxiosParamCreator(configuration)
|
|
38261
|
+
return {
|
|
38262
|
+
/**
|
|
38263
|
+
* To delete an CustomDomain you must have the project user permission
|
|
38264
|
+
* @summary Delete a Custom Domain
|
|
38265
|
+
* @param {string} helmId Helm ID
|
|
38266
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38267
|
+
* @param {*} [options] Override http request option.
|
|
38268
|
+
* @throws {RequiredError}
|
|
38269
|
+
*/
|
|
38270
|
+
async deleteHelmCustomDomain(helmId: string, customDomainId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
38271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteHelmCustomDomain(helmId, customDomainId, options);
|
|
38272
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38273
|
+
},
|
|
38274
|
+
/**
|
|
38275
|
+
* To edit a Custom Domain you must have the project user permission
|
|
38276
|
+
* @summary Edit a Custom Domain
|
|
38277
|
+
* @param {string} helmId Helm ID
|
|
38278
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38279
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
38280
|
+
* @param {*} [options] Override http request option.
|
|
38281
|
+
* @throws {RequiredError}
|
|
38282
|
+
*/
|
|
38283
|
+
async editHelmCustomDomain(helmId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomain>> {
|
|
38284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.editHelmCustomDomain(helmId, customDomainId, customDomainRequest, options);
|
|
38285
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38286
|
+
},
|
|
38287
|
+
/**
|
|
38288
|
+
* Get a custom domain
|
|
38289
|
+
* @summary Get a Custom Domain
|
|
38290
|
+
* @param {string} helmId Helm ID
|
|
38291
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38292
|
+
* @param {*} [options] Override http request option.
|
|
38293
|
+
* @throws {RequiredError}
|
|
38294
|
+
*/
|
|
38295
|
+
async getHelmCustomDomain(helmId: string, customDomainId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomain>> {
|
|
38296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getHelmCustomDomain(helmId, customDomainId, options);
|
|
38297
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
38298
|
+
},
|
|
38299
|
+
}
|
|
38300
|
+
};
|
|
38301
|
+
|
|
38302
|
+
/**
|
|
38303
|
+
* HelmCustomDomainApi - factory interface
|
|
38304
|
+
* @export
|
|
38305
|
+
*/
|
|
38306
|
+
export const HelmCustomDomainApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
38307
|
+
const localVarFp = HelmCustomDomainApiFp(configuration)
|
|
38308
|
+
return {
|
|
38309
|
+
/**
|
|
38310
|
+
* To delete an CustomDomain you must have the project user permission
|
|
38311
|
+
* @summary Delete a Custom Domain
|
|
38312
|
+
* @param {string} helmId Helm ID
|
|
38313
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38314
|
+
* @param {*} [options] Override http request option.
|
|
38315
|
+
* @throws {RequiredError}
|
|
38316
|
+
*/
|
|
38317
|
+
deleteHelmCustomDomain(helmId: string, customDomainId: string, options?: any): AxiosPromise<void> {
|
|
38318
|
+
return localVarFp.deleteHelmCustomDomain(helmId, customDomainId, options).then((request) => request(axios, basePath));
|
|
38319
|
+
},
|
|
38320
|
+
/**
|
|
38321
|
+
* To edit a Custom Domain you must have the project user permission
|
|
38322
|
+
* @summary Edit a Custom Domain
|
|
38323
|
+
* @param {string} helmId Helm ID
|
|
38324
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38325
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
38326
|
+
* @param {*} [options] Override http request option.
|
|
38327
|
+
* @throws {RequiredError}
|
|
38328
|
+
*/
|
|
38329
|
+
editHelmCustomDomain(helmId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options?: any): AxiosPromise<CustomDomain> {
|
|
38330
|
+
return localVarFp.editHelmCustomDomain(helmId, customDomainId, customDomainRequest, options).then((request) => request(axios, basePath));
|
|
38331
|
+
},
|
|
38332
|
+
/**
|
|
38333
|
+
* Get a custom domain
|
|
38334
|
+
* @summary Get a Custom Domain
|
|
38335
|
+
* @param {string} helmId Helm ID
|
|
38336
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38337
|
+
* @param {*} [options] Override http request option.
|
|
38338
|
+
* @throws {RequiredError}
|
|
38339
|
+
*/
|
|
38340
|
+
getHelmCustomDomain(helmId: string, customDomainId: string, options?: any): AxiosPromise<CustomDomain> {
|
|
38341
|
+
return localVarFp.getHelmCustomDomain(helmId, customDomainId, options).then((request) => request(axios, basePath));
|
|
38342
|
+
},
|
|
38343
|
+
};
|
|
38344
|
+
};
|
|
38345
|
+
|
|
38346
|
+
/**
|
|
38347
|
+
* HelmCustomDomainApi - object-oriented interface
|
|
38348
|
+
* @export
|
|
38349
|
+
* @class HelmCustomDomainApi
|
|
38350
|
+
* @extends {BaseAPI}
|
|
38351
|
+
*/
|
|
38352
|
+
export class HelmCustomDomainApi extends BaseAPI {
|
|
38353
|
+
/**
|
|
38354
|
+
* To delete an CustomDomain you must have the project user permission
|
|
38355
|
+
* @summary Delete a Custom Domain
|
|
38356
|
+
* @param {string} helmId Helm ID
|
|
38357
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38358
|
+
* @param {*} [options] Override http request option.
|
|
38359
|
+
* @throws {RequiredError}
|
|
38360
|
+
* @memberof HelmCustomDomainApi
|
|
38361
|
+
*/
|
|
38362
|
+
public deleteHelmCustomDomain(helmId: string, customDomainId: string, options?: AxiosRequestConfig) {
|
|
38363
|
+
return HelmCustomDomainApiFp(this.configuration).deleteHelmCustomDomain(helmId, customDomainId, options).then((request) => request(this.axios, this.basePath));
|
|
38364
|
+
}
|
|
38365
|
+
|
|
38366
|
+
/**
|
|
38367
|
+
* To edit a Custom Domain you must have the project user permission
|
|
38368
|
+
* @summary Edit a Custom Domain
|
|
38369
|
+
* @param {string} helmId Helm ID
|
|
38370
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38371
|
+
* @param {CustomDomainRequest} [customDomainRequest]
|
|
38372
|
+
* @param {*} [options] Override http request option.
|
|
38373
|
+
* @throws {RequiredError}
|
|
38374
|
+
* @memberof HelmCustomDomainApi
|
|
38375
|
+
*/
|
|
38376
|
+
public editHelmCustomDomain(helmId: string, customDomainId: string, customDomainRequest?: CustomDomainRequest, options?: AxiosRequestConfig) {
|
|
38377
|
+
return HelmCustomDomainApiFp(this.configuration).editHelmCustomDomain(helmId, customDomainId, customDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38378
|
+
}
|
|
38379
|
+
|
|
38380
|
+
/**
|
|
38381
|
+
* Get a custom domain
|
|
38382
|
+
* @summary Get a Custom Domain
|
|
38383
|
+
* @param {string} helmId Helm ID
|
|
38384
|
+
* @param {string} customDomainId Custom Domain ID
|
|
38385
|
+
* @param {*} [options] Override http request option.
|
|
38386
|
+
* @throws {RequiredError}
|
|
38387
|
+
* @memberof HelmCustomDomainApi
|
|
38388
|
+
*/
|
|
38389
|
+
public getHelmCustomDomain(helmId: string, customDomainId: string, options?: AxiosRequestConfig) {
|
|
38390
|
+
return HelmCustomDomainApiFp(this.configuration).getHelmCustomDomain(helmId, customDomainId, options).then((request) => request(this.axios, this.basePath));
|
|
38391
|
+
}
|
|
38392
|
+
}
|
|
38393
|
+
|
|
38394
|
+
|
|
38395
|
+
|
|
37934
38396
|
/**
|
|
37935
38397
|
* HelmDeploymentHistoryApi - axios parameter creator
|
|
37936
38398
|
* @export
|