qovery-typescript-axios 1.1.660 → 1.1.662
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 +103 -5
- package/dist/api.d.ts +56 -5
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +56 -5
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -937,7 +937,15 @@ export interface ApplicationGitRepositoryRequest {
|
|
|
937
937
|
* @memberof ApplicationGitRepositoryRequest
|
|
938
938
|
*/
|
|
939
939
|
'git_token_id'?: string | null;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @type {GitProviderEnum}
|
|
943
|
+
* @memberof ApplicationGitRepositoryRequest
|
|
944
|
+
*/
|
|
945
|
+
'provider': GitProviderEnum;
|
|
940
946
|
}
|
|
947
|
+
|
|
948
|
+
|
|
941
949
|
/**
|
|
942
950
|
*
|
|
943
951
|
* @export
|
|
@@ -12475,37 +12483,51 @@ export interface LifecycleTemplateResponseVariablesInnerFile {
|
|
|
12475
12483
|
* @interface Link
|
|
12476
12484
|
*/
|
|
12477
12485
|
export interface Link {
|
|
12486
|
+
/**
|
|
12487
|
+
* ID of the associated service
|
|
12488
|
+
* @type {string}
|
|
12489
|
+
* @memberof Link
|
|
12490
|
+
*/
|
|
12491
|
+
'service_id': string;
|
|
12478
12492
|
/**
|
|
12479
12493
|
*
|
|
12494
|
+
* @type {ServiceTypeEnum}
|
|
12495
|
+
* @memberof Link
|
|
12496
|
+
*/
|
|
12497
|
+
'service_type': ServiceTypeEnum;
|
|
12498
|
+
/**
|
|
12499
|
+
* URL to access the service
|
|
12480
12500
|
* @type {string}
|
|
12481
12501
|
* @memberof Link
|
|
12482
12502
|
*/
|
|
12483
|
-
'url'
|
|
12503
|
+
'url': string;
|
|
12484
12504
|
/**
|
|
12485
12505
|
* The port from which the service is reachable from within the cluster
|
|
12486
12506
|
* @type {number}
|
|
12487
12507
|
* @memberof Link
|
|
12488
12508
|
*/
|
|
12489
|
-
'internal_port'
|
|
12509
|
+
'internal_port': number;
|
|
12490
12510
|
/**
|
|
12491
12511
|
* The port from which the service is reachable from externally (i.e: 443 for HTTPS)
|
|
12492
12512
|
* @type {number}
|
|
12493
12513
|
* @memberof Link
|
|
12494
12514
|
*/
|
|
12495
|
-
'external_port'
|
|
12515
|
+
'external_port': number;
|
|
12496
12516
|
/**
|
|
12497
12517
|
* True if the domain is managed by Qovery, false if it belongs to the user
|
|
12498
12518
|
* @type {boolean}
|
|
12499
12519
|
* @memberof Link
|
|
12500
12520
|
*/
|
|
12501
|
-
'is_qovery_domain'
|
|
12521
|
+
'is_qovery_domain': boolean;
|
|
12502
12522
|
/**
|
|
12503
12523
|
* Indicate if the link is using the root of the domain and not one derivated from port i.e: p8080.zxxxx.jvm.worl => is_default = false, is_qovery = true zxxxx.jvm.world => is_default = true, is_qovery = true p8080-my-super-domain.com => is_default = false, is_qovery = false my-super-domain.com => is_default = true, is_qovery = false
|
|
12504
12524
|
* @type {boolean}
|
|
12505
12525
|
* @memberof Link
|
|
12506
12526
|
*/
|
|
12507
|
-
'is_default'
|
|
12527
|
+
'is_default': boolean;
|
|
12508
12528
|
}
|
|
12529
|
+
|
|
12530
|
+
|
|
12509
12531
|
/**
|
|
12510
12532
|
*
|
|
12511
12533
|
* @export
|
|
@@ -37974,6 +37996,47 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
37974
37996
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37975
37997
|
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
37976
37998
|
|
|
37999
|
+
return {
|
|
38000
|
+
url: toPathString(localVarUrlObj),
|
|
38001
|
+
options: localVarRequestOptions,
|
|
38002
|
+
};
|
|
38003
|
+
},
|
|
38004
|
+
/**
|
|
38005
|
+
*
|
|
38006
|
+
* @summary List environment services links
|
|
38007
|
+
* @param {string} environmentId Environment ID
|
|
38008
|
+
* @param {*} [options] Override http request option.
|
|
38009
|
+
* @throws {RequiredError}
|
|
38010
|
+
*/
|
|
38011
|
+
listEnvironmentServicesLinks: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38012
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
38013
|
+
assertParamExists('listEnvironmentServicesLinks', 'environmentId', environmentId)
|
|
38014
|
+
const localVarPath = `/api/environment/{environmentId}/link`
|
|
38015
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
38016
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38017
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38018
|
+
let baseOptions;
|
|
38019
|
+
if (configuration) {
|
|
38020
|
+
baseOptions = configuration.baseOptions;
|
|
38021
|
+
}
|
|
38022
|
+
|
|
38023
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38024
|
+
const localVarHeaderParameter = {} as any;
|
|
38025
|
+
const localVarQueryParameter = {} as any;
|
|
38026
|
+
|
|
38027
|
+
// authentication ApiKeyAuth required
|
|
38028
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38029
|
+
|
|
38030
|
+
// authentication bearerAuth required
|
|
38031
|
+
// http bearer authentication required
|
|
38032
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38033
|
+
|
|
38034
|
+
|
|
38035
|
+
|
|
38036
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38037
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38038
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38039
|
+
|
|
37977
38040
|
return {
|
|
37978
38041
|
url: toPathString(localVarUrlObj),
|
|
37979
38042
|
options: localVarRequestOptions,
|
|
@@ -38045,6 +38108,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
38045
38108
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.checkHelmRepository']?.[localVarOperationServerIndex]?.url;
|
|
38046
38109
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38047
38110
|
},
|
|
38111
|
+
/**
|
|
38112
|
+
*
|
|
38113
|
+
* @summary List environment services links
|
|
38114
|
+
* @param {string} environmentId Environment ID
|
|
38115
|
+
* @param {*} [options] Override http request option.
|
|
38116
|
+
* @throws {RequiredError}
|
|
38117
|
+
*/
|
|
38118
|
+
async listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>> {
|
|
38119
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentServicesLinks(environmentId, options);
|
|
38120
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38121
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentServicesLinks']?.[localVarOperationServerIndex]?.url;
|
|
38122
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38123
|
+
},
|
|
38048
38124
|
}
|
|
38049
38125
|
};
|
|
38050
38126
|
|
|
@@ -38099,6 +38175,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
38099
38175
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
38100
38176
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
38101
38177
|
},
|
|
38178
|
+
/**
|
|
38179
|
+
*
|
|
38180
|
+
* @summary List environment services links
|
|
38181
|
+
* @param {string} environmentId Environment ID
|
|
38182
|
+
* @param {*} [options] Override http request option.
|
|
38183
|
+
* @throws {RequiredError}
|
|
38184
|
+
*/
|
|
38185
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponseList> {
|
|
38186
|
+
return localVarFp.listEnvironmentServicesLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
38187
|
+
},
|
|
38102
38188
|
};
|
|
38103
38189
|
};
|
|
38104
38190
|
|
|
@@ -38160,6 +38246,18 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
38160
38246
|
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) {
|
|
38161
38247
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38162
38248
|
}
|
|
38249
|
+
|
|
38250
|
+
/**
|
|
38251
|
+
*
|
|
38252
|
+
* @summary List environment services links
|
|
38253
|
+
* @param {string} environmentId Environment ID
|
|
38254
|
+
* @param {*} [options] Override http request option.
|
|
38255
|
+
* @throws {RequiredError}
|
|
38256
|
+
* @memberof EnvironmentApi
|
|
38257
|
+
*/
|
|
38258
|
+
public listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
38259
|
+
return EnvironmentApiFp(this.configuration).listEnvironmentServicesLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
38260
|
+
}
|
|
38163
38261
|
}
|
|
38164
38262
|
|
|
38165
38263
|
|
package/dist/api.d.ts
CHANGED
|
@@ -900,6 +900,12 @@ export interface ApplicationGitRepositoryRequest {
|
|
|
900
900
|
* @memberof ApplicationGitRepositoryRequest
|
|
901
901
|
*/
|
|
902
902
|
'git_token_id'?: string | null;
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {GitProviderEnum}
|
|
906
|
+
* @memberof ApplicationGitRepositoryRequest
|
|
907
|
+
*/
|
|
908
|
+
'provider': GitProviderEnum;
|
|
903
909
|
}
|
|
904
910
|
/**
|
|
905
911
|
*
|
|
@@ -12101,36 +12107,48 @@ export interface LifecycleTemplateResponseVariablesInnerFile {
|
|
|
12101
12107
|
* @interface Link
|
|
12102
12108
|
*/
|
|
12103
12109
|
export interface Link {
|
|
12110
|
+
/**
|
|
12111
|
+
* ID of the associated service
|
|
12112
|
+
* @type {string}
|
|
12113
|
+
* @memberof Link
|
|
12114
|
+
*/
|
|
12115
|
+
'service_id': string;
|
|
12104
12116
|
/**
|
|
12105
12117
|
*
|
|
12118
|
+
* @type {ServiceTypeEnum}
|
|
12119
|
+
* @memberof Link
|
|
12120
|
+
*/
|
|
12121
|
+
'service_type': ServiceTypeEnum;
|
|
12122
|
+
/**
|
|
12123
|
+
* URL to access the service
|
|
12106
12124
|
* @type {string}
|
|
12107
12125
|
* @memberof Link
|
|
12108
12126
|
*/
|
|
12109
|
-
'url'
|
|
12127
|
+
'url': string;
|
|
12110
12128
|
/**
|
|
12111
12129
|
* The port from which the service is reachable from within the cluster
|
|
12112
12130
|
* @type {number}
|
|
12113
12131
|
* @memberof Link
|
|
12114
12132
|
*/
|
|
12115
|
-
'internal_port'
|
|
12133
|
+
'internal_port': number;
|
|
12116
12134
|
/**
|
|
12117
12135
|
* The port from which the service is reachable from externally (i.e: 443 for HTTPS)
|
|
12118
12136
|
* @type {number}
|
|
12119
12137
|
* @memberof Link
|
|
12120
12138
|
*/
|
|
12121
|
-
'external_port'
|
|
12139
|
+
'external_port': number;
|
|
12122
12140
|
/**
|
|
12123
12141
|
* True if the domain is managed by Qovery, false if it belongs to the user
|
|
12124
12142
|
* @type {boolean}
|
|
12125
12143
|
* @memberof Link
|
|
12126
12144
|
*/
|
|
12127
|
-
'is_qovery_domain'
|
|
12145
|
+
'is_qovery_domain': boolean;
|
|
12128
12146
|
/**
|
|
12129
12147
|
* Indicate if the link is using the root of the domain and not one derivated from port i.e: p8080.zxxxx.jvm.worl => is_default = false, is_qovery = true zxxxx.jvm.world => is_default = true, is_qovery = true p8080-my-super-domain.com => is_default = false, is_qovery = false my-super-domain.com => is_default = true, is_qovery = false
|
|
12130
12148
|
* @type {boolean}
|
|
12131
12149
|
* @memberof Link
|
|
12132
12150
|
*/
|
|
12133
|
-
'is_default'
|
|
12151
|
+
'is_default': boolean;
|
|
12134
12152
|
}
|
|
12135
12153
|
/**
|
|
12136
12154
|
*
|
|
@@ -26768,6 +26786,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
26768
26786
|
* @throws {RequiredError}
|
|
26769
26787
|
*/
|
|
26770
26788
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26789
|
+
/**
|
|
26790
|
+
*
|
|
26791
|
+
* @summary List environment services links
|
|
26792
|
+
* @param {string} environmentId Environment ID
|
|
26793
|
+
* @param {*} [options] Override http request option.
|
|
26794
|
+
* @throws {RequiredError}
|
|
26795
|
+
*/
|
|
26796
|
+
listEnvironmentServicesLinks: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26771
26797
|
};
|
|
26772
26798
|
/**
|
|
26773
26799
|
* EnvironmentApi - functional programming interface
|
|
@@ -26810,6 +26836,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
26810
26836
|
* @throws {RequiredError}
|
|
26811
26837
|
*/
|
|
26812
26838
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
26839
|
+
/**
|
|
26840
|
+
*
|
|
26841
|
+
* @summary List environment services links
|
|
26842
|
+
* @param {string} environmentId Environment ID
|
|
26843
|
+
* @param {*} [options] Override http request option.
|
|
26844
|
+
* @throws {RequiredError}
|
|
26845
|
+
*/
|
|
26846
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>>;
|
|
26813
26847
|
};
|
|
26814
26848
|
/**
|
|
26815
26849
|
* EnvironmentApi - factory interface
|
|
@@ -26852,6 +26886,14 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
26852
26886
|
* @throws {RequiredError}
|
|
26853
26887
|
*/
|
|
26854
26888
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
26889
|
+
/**
|
|
26890
|
+
*
|
|
26891
|
+
* @summary List environment services links
|
|
26892
|
+
* @param {string} environmentId Environment ID
|
|
26893
|
+
* @param {*} [options] Override http request option.
|
|
26894
|
+
* @throws {RequiredError}
|
|
26895
|
+
*/
|
|
26896
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponseList>;
|
|
26855
26897
|
};
|
|
26856
26898
|
/**
|
|
26857
26899
|
* EnvironmentApi - object-oriented interface
|
|
@@ -26900,6 +26942,15 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
26900
26942
|
* @memberof EnvironmentApi
|
|
26901
26943
|
*/
|
|
26902
26944
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
26945
|
+
/**
|
|
26946
|
+
*
|
|
26947
|
+
* @summary List environment services links
|
|
26948
|
+
* @param {string} environmentId Environment ID
|
|
26949
|
+
* @param {*} [options] Override http request option.
|
|
26950
|
+
* @throws {RequiredError}
|
|
26951
|
+
* @memberof EnvironmentApi
|
|
26952
|
+
*/
|
|
26953
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponseList, any>>;
|
|
26903
26954
|
}
|
|
26904
26955
|
/**
|
|
26905
26956
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -19268,6 +19268,40 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
19268
19268
|
options: localVarRequestOptions,
|
|
19269
19269
|
};
|
|
19270
19270
|
}),
|
|
19271
|
+
/**
|
|
19272
|
+
*
|
|
19273
|
+
* @summary List environment services links
|
|
19274
|
+
* @param {string} environmentId Environment ID
|
|
19275
|
+
* @param {*} [options] Override http request option.
|
|
19276
|
+
* @throws {RequiredError}
|
|
19277
|
+
*/
|
|
19278
|
+
listEnvironmentServicesLinks: (environmentId_1, ...args_1) => __awaiter(this, [environmentId_1, ...args_1], void 0, function* (environmentId, options = {}) {
|
|
19279
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
19280
|
+
(0, common_1.assertParamExists)('listEnvironmentServicesLinks', 'environmentId', environmentId);
|
|
19281
|
+
const localVarPath = `/api/environment/{environmentId}/link`
|
|
19282
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
19283
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19284
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
19285
|
+
let baseOptions;
|
|
19286
|
+
if (configuration) {
|
|
19287
|
+
baseOptions = configuration.baseOptions;
|
|
19288
|
+
}
|
|
19289
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
19290
|
+
const localVarHeaderParameter = {};
|
|
19291
|
+
const localVarQueryParameter = {};
|
|
19292
|
+
// authentication ApiKeyAuth required
|
|
19293
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
19294
|
+
// authentication bearerAuth required
|
|
19295
|
+
// http bearer authentication required
|
|
19296
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
19297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
19298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19299
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19300
|
+
return {
|
|
19301
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
19302
|
+
options: localVarRequestOptions,
|
|
19303
|
+
};
|
|
19304
|
+
}),
|
|
19271
19305
|
};
|
|
19272
19306
|
};
|
|
19273
19307
|
exports.EnvironmentApiAxiosParamCreator = EnvironmentApiAxiosParamCreator;
|
|
@@ -19346,6 +19380,22 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
19346
19380
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19347
19381
|
});
|
|
19348
19382
|
},
|
|
19383
|
+
/**
|
|
19384
|
+
*
|
|
19385
|
+
* @summary List environment services links
|
|
19386
|
+
* @param {string} environmentId Environment ID
|
|
19387
|
+
* @param {*} [options] Override http request option.
|
|
19388
|
+
* @throws {RequiredError}
|
|
19389
|
+
*/
|
|
19390
|
+
listEnvironmentServicesLinks(environmentId, options) {
|
|
19391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19392
|
+
var _a, _b, _c;
|
|
19393
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentServicesLinks(environmentId, options);
|
|
19394
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19395
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EnvironmentApi.listEnvironmentServicesLinks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19396
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19397
|
+
});
|
|
19398
|
+
},
|
|
19349
19399
|
};
|
|
19350
19400
|
};
|
|
19351
19401
|
exports.EnvironmentApiFp = EnvironmentApiFp;
|
|
@@ -19400,6 +19450,16 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
19400
19450
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19401
19451
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
19402
19452
|
},
|
|
19453
|
+
/**
|
|
19454
|
+
*
|
|
19455
|
+
* @summary List environment services links
|
|
19456
|
+
* @param {string} environmentId Environment ID
|
|
19457
|
+
* @param {*} [options] Override http request option.
|
|
19458
|
+
* @throws {RequiredError}
|
|
19459
|
+
*/
|
|
19460
|
+
listEnvironmentServicesLinks(environmentId, options) {
|
|
19461
|
+
return localVarFp.listEnvironmentServicesLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
19462
|
+
},
|
|
19403
19463
|
};
|
|
19404
19464
|
};
|
|
19405
19465
|
exports.EnvironmentApiFactory = EnvironmentApiFactory;
|
|
@@ -19458,6 +19518,17 @@ class EnvironmentApi extends base_1.BaseAPI {
|
|
|
19458
19518
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19459
19519
|
return (0, exports.EnvironmentApiFp)(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19460
19520
|
}
|
|
19521
|
+
/**
|
|
19522
|
+
*
|
|
19523
|
+
* @summary List environment services links
|
|
19524
|
+
* @param {string} environmentId Environment ID
|
|
19525
|
+
* @param {*} [options] Override http request option.
|
|
19526
|
+
* @throws {RequiredError}
|
|
19527
|
+
* @memberof EnvironmentApi
|
|
19528
|
+
*/
|
|
19529
|
+
listEnvironmentServicesLinks(environmentId, options) {
|
|
19530
|
+
return (0, exports.EnvironmentApiFp)(this.configuration).listEnvironmentServicesLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
19531
|
+
}
|
|
19461
19532
|
}
|
|
19462
19533
|
exports.EnvironmentApi = EnvironmentApi;
|
|
19463
19534
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -900,6 +900,12 @@ export interface ApplicationGitRepositoryRequest {
|
|
|
900
900
|
* @memberof ApplicationGitRepositoryRequest
|
|
901
901
|
*/
|
|
902
902
|
'git_token_id'?: string | null;
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type {GitProviderEnum}
|
|
906
|
+
* @memberof ApplicationGitRepositoryRequest
|
|
907
|
+
*/
|
|
908
|
+
'provider': GitProviderEnum;
|
|
903
909
|
}
|
|
904
910
|
/**
|
|
905
911
|
*
|
|
@@ -12101,36 +12107,48 @@ export interface LifecycleTemplateResponseVariablesInnerFile {
|
|
|
12101
12107
|
* @interface Link
|
|
12102
12108
|
*/
|
|
12103
12109
|
export interface Link {
|
|
12110
|
+
/**
|
|
12111
|
+
* ID of the associated service
|
|
12112
|
+
* @type {string}
|
|
12113
|
+
* @memberof Link
|
|
12114
|
+
*/
|
|
12115
|
+
'service_id': string;
|
|
12104
12116
|
/**
|
|
12105
12117
|
*
|
|
12118
|
+
* @type {ServiceTypeEnum}
|
|
12119
|
+
* @memberof Link
|
|
12120
|
+
*/
|
|
12121
|
+
'service_type': ServiceTypeEnum;
|
|
12122
|
+
/**
|
|
12123
|
+
* URL to access the service
|
|
12106
12124
|
* @type {string}
|
|
12107
12125
|
* @memberof Link
|
|
12108
12126
|
*/
|
|
12109
|
-
'url'
|
|
12127
|
+
'url': string;
|
|
12110
12128
|
/**
|
|
12111
12129
|
* The port from which the service is reachable from within the cluster
|
|
12112
12130
|
* @type {number}
|
|
12113
12131
|
* @memberof Link
|
|
12114
12132
|
*/
|
|
12115
|
-
'internal_port'
|
|
12133
|
+
'internal_port': number;
|
|
12116
12134
|
/**
|
|
12117
12135
|
* The port from which the service is reachable from externally (i.e: 443 for HTTPS)
|
|
12118
12136
|
* @type {number}
|
|
12119
12137
|
* @memberof Link
|
|
12120
12138
|
*/
|
|
12121
|
-
'external_port'
|
|
12139
|
+
'external_port': number;
|
|
12122
12140
|
/**
|
|
12123
12141
|
* True if the domain is managed by Qovery, false if it belongs to the user
|
|
12124
12142
|
* @type {boolean}
|
|
12125
12143
|
* @memberof Link
|
|
12126
12144
|
*/
|
|
12127
|
-
'is_qovery_domain'
|
|
12145
|
+
'is_qovery_domain': boolean;
|
|
12128
12146
|
/**
|
|
12129
12147
|
* Indicate if the link is using the root of the domain and not one derivated from port i.e: p8080.zxxxx.jvm.worl => is_default = false, is_qovery = true zxxxx.jvm.world => is_default = true, is_qovery = true p8080-my-super-domain.com => is_default = false, is_qovery = false my-super-domain.com => is_default = true, is_qovery = false
|
|
12130
12148
|
* @type {boolean}
|
|
12131
12149
|
* @memberof Link
|
|
12132
12150
|
*/
|
|
12133
|
-
'is_default'
|
|
12151
|
+
'is_default': boolean;
|
|
12134
12152
|
}
|
|
12135
12153
|
/**
|
|
12136
12154
|
*
|
|
@@ -26768,6 +26786,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
26768
26786
|
* @throws {RequiredError}
|
|
26769
26787
|
*/
|
|
26770
26788
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26789
|
+
/**
|
|
26790
|
+
*
|
|
26791
|
+
* @summary List environment services links
|
|
26792
|
+
* @param {string} environmentId Environment ID
|
|
26793
|
+
* @param {*} [options] Override http request option.
|
|
26794
|
+
* @throws {RequiredError}
|
|
26795
|
+
*/
|
|
26796
|
+
listEnvironmentServicesLinks: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26771
26797
|
};
|
|
26772
26798
|
/**
|
|
26773
26799
|
* EnvironmentApi - functional programming interface
|
|
@@ -26810,6 +26836,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
26810
26836
|
* @throws {RequiredError}
|
|
26811
26837
|
*/
|
|
26812
26838
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
26839
|
+
/**
|
|
26840
|
+
*
|
|
26841
|
+
* @summary List environment services links
|
|
26842
|
+
* @param {string} environmentId Environment ID
|
|
26843
|
+
* @param {*} [options] Override http request option.
|
|
26844
|
+
* @throws {RequiredError}
|
|
26845
|
+
*/
|
|
26846
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>>;
|
|
26813
26847
|
};
|
|
26814
26848
|
/**
|
|
26815
26849
|
* EnvironmentApi - factory interface
|
|
@@ -26852,6 +26886,14 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
26852
26886
|
* @throws {RequiredError}
|
|
26853
26887
|
*/
|
|
26854
26888
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
26889
|
+
/**
|
|
26890
|
+
*
|
|
26891
|
+
* @summary List environment services links
|
|
26892
|
+
* @param {string} environmentId Environment ID
|
|
26893
|
+
* @param {*} [options] Override http request option.
|
|
26894
|
+
* @throws {RequiredError}
|
|
26895
|
+
*/
|
|
26896
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponseList>;
|
|
26855
26897
|
};
|
|
26856
26898
|
/**
|
|
26857
26899
|
* EnvironmentApi - object-oriented interface
|
|
@@ -26900,6 +26942,15 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
26900
26942
|
* @memberof EnvironmentApi
|
|
26901
26943
|
*/
|
|
26902
26944
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
26945
|
+
/**
|
|
26946
|
+
*
|
|
26947
|
+
* @summary List environment services links
|
|
26948
|
+
* @param {string} environmentId Environment ID
|
|
26949
|
+
* @param {*} [options] Override http request option.
|
|
26950
|
+
* @throws {RequiredError}
|
|
26951
|
+
* @memberof EnvironmentApi
|
|
26952
|
+
*/
|
|
26953
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponseList, any>>;
|
|
26903
26954
|
}
|
|
26904
26955
|
/**
|
|
26905
26956
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -19120,6 +19120,40 @@ export const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
19120
19120
|
options: localVarRequestOptions,
|
|
19121
19121
|
};
|
|
19122
19122
|
}),
|
|
19123
|
+
/**
|
|
19124
|
+
*
|
|
19125
|
+
* @summary List environment services links
|
|
19126
|
+
* @param {string} environmentId Environment ID
|
|
19127
|
+
* @param {*} [options] Override http request option.
|
|
19128
|
+
* @throws {RequiredError}
|
|
19129
|
+
*/
|
|
19130
|
+
listEnvironmentServicesLinks: (environmentId_1, ...args_1) => __awaiter(this, [environmentId_1, ...args_1], void 0, function* (environmentId, options = {}) {
|
|
19131
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
19132
|
+
assertParamExists('listEnvironmentServicesLinks', 'environmentId', environmentId);
|
|
19133
|
+
const localVarPath = `/api/environment/{environmentId}/link`
|
|
19134
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
19135
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19137
|
+
let baseOptions;
|
|
19138
|
+
if (configuration) {
|
|
19139
|
+
baseOptions = configuration.baseOptions;
|
|
19140
|
+
}
|
|
19141
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
19142
|
+
const localVarHeaderParameter = {};
|
|
19143
|
+
const localVarQueryParameter = {};
|
|
19144
|
+
// authentication ApiKeyAuth required
|
|
19145
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
19146
|
+
// authentication bearerAuth required
|
|
19147
|
+
// http bearer authentication required
|
|
19148
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19151
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19152
|
+
return {
|
|
19153
|
+
url: toPathString(localVarUrlObj),
|
|
19154
|
+
options: localVarRequestOptions,
|
|
19155
|
+
};
|
|
19156
|
+
}),
|
|
19123
19157
|
};
|
|
19124
19158
|
};
|
|
19125
19159
|
/**
|
|
@@ -19197,6 +19231,22 @@ export const EnvironmentApiFp = function (configuration) {
|
|
|
19197
19231
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19198
19232
|
});
|
|
19199
19233
|
},
|
|
19234
|
+
/**
|
|
19235
|
+
*
|
|
19236
|
+
* @summary List environment services links
|
|
19237
|
+
* @param {string} environmentId Environment ID
|
|
19238
|
+
* @param {*} [options] Override http request option.
|
|
19239
|
+
* @throws {RequiredError}
|
|
19240
|
+
*/
|
|
19241
|
+
listEnvironmentServicesLinks(environmentId, options) {
|
|
19242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19243
|
+
var _a, _b, _c;
|
|
19244
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentServicesLinks(environmentId, options);
|
|
19245
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
19246
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EnvironmentApi.listEnvironmentServicesLinks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
19247
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19248
|
+
});
|
|
19249
|
+
},
|
|
19200
19250
|
};
|
|
19201
19251
|
};
|
|
19202
19252
|
/**
|
|
@@ -19250,6 +19300,16 @@ export const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
19250
19300
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19251
19301
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
19252
19302
|
},
|
|
19303
|
+
/**
|
|
19304
|
+
*
|
|
19305
|
+
* @summary List environment services links
|
|
19306
|
+
* @param {string} environmentId Environment ID
|
|
19307
|
+
* @param {*} [options] Override http request option.
|
|
19308
|
+
* @throws {RequiredError}
|
|
19309
|
+
*/
|
|
19310
|
+
listEnvironmentServicesLinks(environmentId, options) {
|
|
19311
|
+
return localVarFp.listEnvironmentServicesLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
19312
|
+
},
|
|
19253
19313
|
};
|
|
19254
19314
|
};
|
|
19255
19315
|
/**
|
|
@@ -19307,6 +19367,17 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
19307
19367
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19308
19368
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19309
19369
|
}
|
|
19370
|
+
/**
|
|
19371
|
+
*
|
|
19372
|
+
* @summary List environment services links
|
|
19373
|
+
* @param {string} environmentId Environment ID
|
|
19374
|
+
* @param {*} [options] Override http request option.
|
|
19375
|
+
* @throws {RequiredError}
|
|
19376
|
+
* @memberof EnvironmentApi
|
|
19377
|
+
*/
|
|
19378
|
+
listEnvironmentServicesLinks(environmentId, options) {
|
|
19379
|
+
return EnvironmentApiFp(this.configuration).listEnvironmentServicesLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
19380
|
+
}
|
|
19310
19381
|
}
|
|
19311
19382
|
/**
|
|
19312
19383
|
* EnvironmentActionsApi - axios parameter creator
|