qovery-typescript-axios 1.1.659 → 1.1.661
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 +99 -7
- package/dist/api.d.ts +54 -7
- package/dist/api.js +75 -2
- package/dist/esm/api.d.ts +54 -7
- package/dist/esm/api.js +75 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -12475,37 +12475,51 @@ export interface LifecycleTemplateResponseVariablesInnerFile {
|
|
|
12475
12475
|
* @interface Link
|
|
12476
12476
|
*/
|
|
12477
12477
|
export interface Link {
|
|
12478
|
+
/**
|
|
12479
|
+
* ID of the associated service
|
|
12480
|
+
* @type {string}
|
|
12481
|
+
* @memberof Link
|
|
12482
|
+
*/
|
|
12483
|
+
'service_id': string;
|
|
12478
12484
|
/**
|
|
12479
12485
|
*
|
|
12486
|
+
* @type {ServiceTypeEnum}
|
|
12487
|
+
* @memberof Link
|
|
12488
|
+
*/
|
|
12489
|
+
'service_type': ServiceTypeEnum;
|
|
12490
|
+
/**
|
|
12491
|
+
* URL to access the service
|
|
12480
12492
|
* @type {string}
|
|
12481
12493
|
* @memberof Link
|
|
12482
12494
|
*/
|
|
12483
|
-
'url'
|
|
12495
|
+
'url': string;
|
|
12484
12496
|
/**
|
|
12485
12497
|
* The port from which the service is reachable from within the cluster
|
|
12486
12498
|
* @type {number}
|
|
12487
12499
|
* @memberof Link
|
|
12488
12500
|
*/
|
|
12489
|
-
'internal_port'
|
|
12501
|
+
'internal_port': number;
|
|
12490
12502
|
/**
|
|
12491
12503
|
* The port from which the service is reachable from externally (i.e: 443 for HTTPS)
|
|
12492
12504
|
* @type {number}
|
|
12493
12505
|
* @memberof Link
|
|
12494
12506
|
*/
|
|
12495
|
-
'external_port'
|
|
12507
|
+
'external_port': number;
|
|
12496
12508
|
/**
|
|
12497
12509
|
* True if the domain is managed by Qovery, false if it belongs to the user
|
|
12498
12510
|
* @type {boolean}
|
|
12499
12511
|
* @memberof Link
|
|
12500
12512
|
*/
|
|
12501
|
-
'is_qovery_domain'
|
|
12513
|
+
'is_qovery_domain': boolean;
|
|
12502
12514
|
/**
|
|
12503
12515
|
* 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
12516
|
* @type {boolean}
|
|
12505
12517
|
* @memberof Link
|
|
12506
12518
|
*/
|
|
12507
|
-
'is_default'
|
|
12519
|
+
'is_default': boolean;
|
|
12508
12520
|
}
|
|
12521
|
+
|
|
12522
|
+
|
|
12509
12523
|
/**
|
|
12510
12524
|
*
|
|
12511
12525
|
* @export
|
|
@@ -14234,6 +14248,7 @@ export const OrganizationEventType = {
|
|
|
14234
14248
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
14235
14249
|
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
14236
14250
|
DELETE_QUEUED: 'DELETE_QUEUED',
|
|
14251
|
+
UNINSTALL_QUEUED: 'UNINSTALL_QUEUED',
|
|
14237
14252
|
MAINTENANCE: 'MAINTENANCE',
|
|
14238
14253
|
DRY_RUN: 'DRY_RUN',
|
|
14239
14254
|
TRIGGER_REDEPLOY: 'TRIGGER_REDEPLOY',
|
|
@@ -14246,8 +14261,8 @@ export const OrganizationEventType = {
|
|
|
14246
14261
|
TRIGGER_STOP: 'TRIGGER_STOP',
|
|
14247
14262
|
TRIGGER_RESTART: 'TRIGGER_RESTART',
|
|
14248
14263
|
TRIGGER_DELETE: 'TRIGGER_DELETE',
|
|
14264
|
+
TRIGGER_UNINSTALL: 'TRIGGER_UNINSTALL',
|
|
14249
14265
|
TRIGGER_DEPLOY_DRY_RUN: 'TRIGGER_DEPLOY_DRY_RUN',
|
|
14250
|
-
TRIGGER_DELETE_RESOURCES_ONLY: 'TRIGGER_DELETE_RESOURCES_ONLY',
|
|
14251
14266
|
TRIGGER_FORCE_RUN: 'TRIGGER_FORCE_RUN',
|
|
14252
14267
|
TRIGGER_FORCE_RUN_DEPLOY: 'TRIGGER_FORCE_RUN_DEPLOY',
|
|
14253
14268
|
TRIGGER_FORCE_RUN_STOP: 'TRIGGER_FORCE_RUN_STOP',
|
|
@@ -14255,12 +14270,13 @@ export const OrganizationEventType = {
|
|
|
14255
14270
|
DEPLOYED: 'DEPLOYED',
|
|
14256
14271
|
STOPPED: 'STOPPED',
|
|
14257
14272
|
DELETED: 'DELETED',
|
|
14273
|
+
UNINSTALLED: 'UNINSTALLED',
|
|
14258
14274
|
RESTARTED: 'RESTARTED',
|
|
14259
14275
|
DEPLOYED_DRY_RUN: 'DEPLOYED_DRY_RUN',
|
|
14260
|
-
DELETE_RESOURCES_ONLY: 'DELETE_RESOURCES_ONLY',
|
|
14261
14276
|
DEPLOY_FAILED: 'DEPLOY_FAILED',
|
|
14262
14277
|
STOP_FAILED: 'STOP_FAILED',
|
|
14263
14278
|
DELETE_FAILED: 'DELETE_FAILED',
|
|
14279
|
+
UNINSTALL_FAILED: 'UNINSTALL_FAILED',
|
|
14264
14280
|
RESTART_FAILED: 'RESTART_FAILED',
|
|
14265
14281
|
DEPLOYED_DRY_RUN_FAILED: 'DEPLOYED_DRY_RUN_FAILED',
|
|
14266
14282
|
SHELL: 'SHELL',
|
|
@@ -37972,6 +37988,47 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
37972
37988
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
37973
37989
|
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
37974
37990
|
|
|
37991
|
+
return {
|
|
37992
|
+
url: toPathString(localVarUrlObj),
|
|
37993
|
+
options: localVarRequestOptions,
|
|
37994
|
+
};
|
|
37995
|
+
},
|
|
37996
|
+
/**
|
|
37997
|
+
*
|
|
37998
|
+
* @summary List environment services links
|
|
37999
|
+
* @param {string} environmentId Environment ID
|
|
38000
|
+
* @param {*} [options] Override http request option.
|
|
38001
|
+
* @throws {RequiredError}
|
|
38002
|
+
*/
|
|
38003
|
+
listEnvironmentServicesLinks: async (environmentId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38004
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
38005
|
+
assertParamExists('listEnvironmentServicesLinks', 'environmentId', environmentId)
|
|
38006
|
+
const localVarPath = `/api/environment/{environmentId}/link`
|
|
38007
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
38008
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38009
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38010
|
+
let baseOptions;
|
|
38011
|
+
if (configuration) {
|
|
38012
|
+
baseOptions = configuration.baseOptions;
|
|
38013
|
+
}
|
|
38014
|
+
|
|
38015
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
38016
|
+
const localVarHeaderParameter = {} as any;
|
|
38017
|
+
const localVarQueryParameter = {} as any;
|
|
38018
|
+
|
|
38019
|
+
// authentication ApiKeyAuth required
|
|
38020
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38021
|
+
|
|
38022
|
+
// authentication bearerAuth required
|
|
38023
|
+
// http bearer authentication required
|
|
38024
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38025
|
+
|
|
38026
|
+
|
|
38027
|
+
|
|
38028
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38029
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38030
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38031
|
+
|
|
37975
38032
|
return {
|
|
37976
38033
|
url: toPathString(localVarUrlObj),
|
|
37977
38034
|
options: localVarRequestOptions,
|
|
@@ -38043,6 +38100,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
38043
38100
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.checkHelmRepository']?.[localVarOperationServerIndex]?.url;
|
|
38044
38101
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38045
38102
|
},
|
|
38103
|
+
/**
|
|
38104
|
+
*
|
|
38105
|
+
* @summary List environment services links
|
|
38106
|
+
* @param {string} environmentId Environment ID
|
|
38107
|
+
* @param {*} [options] Override http request option.
|
|
38108
|
+
* @throws {RequiredError}
|
|
38109
|
+
*/
|
|
38110
|
+
async listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>> {
|
|
38111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listEnvironmentServicesLinks(environmentId, options);
|
|
38112
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38113
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.listEnvironmentServicesLinks']?.[localVarOperationServerIndex]?.url;
|
|
38114
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38115
|
+
},
|
|
38046
38116
|
}
|
|
38047
38117
|
};
|
|
38048
38118
|
|
|
@@ -38097,6 +38167,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
38097
38167
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
38098
38168
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
38099
38169
|
},
|
|
38170
|
+
/**
|
|
38171
|
+
*
|
|
38172
|
+
* @summary List environment services links
|
|
38173
|
+
* @param {string} environmentId Environment ID
|
|
38174
|
+
* @param {*} [options] Override http request option.
|
|
38175
|
+
* @throws {RequiredError}
|
|
38176
|
+
*/
|
|
38177
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponseList> {
|
|
38178
|
+
return localVarFp.listEnvironmentServicesLinks(environmentId, options).then((request) => request(axios, basePath));
|
|
38179
|
+
},
|
|
38100
38180
|
};
|
|
38101
38181
|
};
|
|
38102
38182
|
|
|
@@ -38158,6 +38238,18 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
38158
38238
|
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) {
|
|
38159
38239
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38160
38240
|
}
|
|
38241
|
+
|
|
38242
|
+
/**
|
|
38243
|
+
*
|
|
38244
|
+
* @summary List environment services links
|
|
38245
|
+
* @param {string} environmentId Environment ID
|
|
38246
|
+
* @param {*} [options] Override http request option.
|
|
38247
|
+
* @throws {RequiredError}
|
|
38248
|
+
* @memberof EnvironmentApi
|
|
38249
|
+
*/
|
|
38250
|
+
public listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig) {
|
|
38251
|
+
return EnvironmentApiFp(this.configuration).listEnvironmentServicesLinks(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
38252
|
+
}
|
|
38161
38253
|
}
|
|
38162
38254
|
|
|
38163
38255
|
|
package/dist/api.d.ts
CHANGED
|
@@ -12101,36 +12101,48 @@ export interface LifecycleTemplateResponseVariablesInnerFile {
|
|
|
12101
12101
|
* @interface Link
|
|
12102
12102
|
*/
|
|
12103
12103
|
export interface Link {
|
|
12104
|
+
/**
|
|
12105
|
+
* ID of the associated service
|
|
12106
|
+
* @type {string}
|
|
12107
|
+
* @memberof Link
|
|
12108
|
+
*/
|
|
12109
|
+
'service_id': string;
|
|
12104
12110
|
/**
|
|
12105
12111
|
*
|
|
12112
|
+
* @type {ServiceTypeEnum}
|
|
12113
|
+
* @memberof Link
|
|
12114
|
+
*/
|
|
12115
|
+
'service_type': ServiceTypeEnum;
|
|
12116
|
+
/**
|
|
12117
|
+
* URL to access the service
|
|
12106
12118
|
* @type {string}
|
|
12107
12119
|
* @memberof Link
|
|
12108
12120
|
*/
|
|
12109
|
-
'url'
|
|
12121
|
+
'url': string;
|
|
12110
12122
|
/**
|
|
12111
12123
|
* The port from which the service is reachable from within the cluster
|
|
12112
12124
|
* @type {number}
|
|
12113
12125
|
* @memberof Link
|
|
12114
12126
|
*/
|
|
12115
|
-
'internal_port'
|
|
12127
|
+
'internal_port': number;
|
|
12116
12128
|
/**
|
|
12117
12129
|
* The port from which the service is reachable from externally (i.e: 443 for HTTPS)
|
|
12118
12130
|
* @type {number}
|
|
12119
12131
|
* @memberof Link
|
|
12120
12132
|
*/
|
|
12121
|
-
'external_port'
|
|
12133
|
+
'external_port': number;
|
|
12122
12134
|
/**
|
|
12123
12135
|
* True if the domain is managed by Qovery, false if it belongs to the user
|
|
12124
12136
|
* @type {boolean}
|
|
12125
12137
|
* @memberof Link
|
|
12126
12138
|
*/
|
|
12127
|
-
'is_qovery_domain'
|
|
12139
|
+
'is_qovery_domain': boolean;
|
|
12128
12140
|
/**
|
|
12129
12141
|
* 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
12142
|
* @type {boolean}
|
|
12131
12143
|
* @memberof Link
|
|
12132
12144
|
*/
|
|
12133
|
-
'is_default'
|
|
12145
|
+
'is_default': boolean;
|
|
12134
12146
|
}
|
|
12135
12147
|
/**
|
|
12136
12148
|
*
|
|
@@ -13816,6 +13828,7 @@ export declare const OrganizationEventType: {
|
|
|
13816
13828
|
readonly STOP_QUEUED: "STOP_QUEUED";
|
|
13817
13829
|
readonly RESTART_QUEUED: "RESTART_QUEUED";
|
|
13818
13830
|
readonly DELETE_QUEUED: "DELETE_QUEUED";
|
|
13831
|
+
readonly UNINSTALL_QUEUED: "UNINSTALL_QUEUED";
|
|
13819
13832
|
readonly MAINTENANCE: "MAINTENANCE";
|
|
13820
13833
|
readonly DRY_RUN: "DRY_RUN";
|
|
13821
13834
|
readonly TRIGGER_REDEPLOY: "TRIGGER_REDEPLOY";
|
|
@@ -13828,8 +13841,8 @@ export declare const OrganizationEventType: {
|
|
|
13828
13841
|
readonly TRIGGER_STOP: "TRIGGER_STOP";
|
|
13829
13842
|
readonly TRIGGER_RESTART: "TRIGGER_RESTART";
|
|
13830
13843
|
readonly TRIGGER_DELETE: "TRIGGER_DELETE";
|
|
13844
|
+
readonly TRIGGER_UNINSTALL: "TRIGGER_UNINSTALL";
|
|
13831
13845
|
readonly TRIGGER_DEPLOY_DRY_RUN: "TRIGGER_DEPLOY_DRY_RUN";
|
|
13832
|
-
readonly TRIGGER_DELETE_RESOURCES_ONLY: "TRIGGER_DELETE_RESOURCES_ONLY";
|
|
13833
13846
|
readonly TRIGGER_FORCE_RUN: "TRIGGER_FORCE_RUN";
|
|
13834
13847
|
readonly TRIGGER_FORCE_RUN_DEPLOY: "TRIGGER_FORCE_RUN_DEPLOY";
|
|
13835
13848
|
readonly TRIGGER_FORCE_RUN_STOP: "TRIGGER_FORCE_RUN_STOP";
|
|
@@ -13837,12 +13850,13 @@ export declare const OrganizationEventType: {
|
|
|
13837
13850
|
readonly DEPLOYED: "DEPLOYED";
|
|
13838
13851
|
readonly STOPPED: "STOPPED";
|
|
13839
13852
|
readonly DELETED: "DELETED";
|
|
13853
|
+
readonly UNINSTALLED: "UNINSTALLED";
|
|
13840
13854
|
readonly RESTARTED: "RESTARTED";
|
|
13841
13855
|
readonly DEPLOYED_DRY_RUN: "DEPLOYED_DRY_RUN";
|
|
13842
|
-
readonly DELETE_RESOURCES_ONLY: "DELETE_RESOURCES_ONLY";
|
|
13843
13856
|
readonly DEPLOY_FAILED: "DEPLOY_FAILED";
|
|
13844
13857
|
readonly STOP_FAILED: "STOP_FAILED";
|
|
13845
13858
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
13859
|
+
readonly UNINSTALL_FAILED: "UNINSTALL_FAILED";
|
|
13846
13860
|
readonly RESTART_FAILED: "RESTART_FAILED";
|
|
13847
13861
|
readonly DEPLOYED_DRY_RUN_FAILED: "DEPLOYED_DRY_RUN_FAILED";
|
|
13848
13862
|
readonly SHELL: "SHELL";
|
|
@@ -26766,6 +26780,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
26766
26780
|
* @throws {RequiredError}
|
|
26767
26781
|
*/
|
|
26768
26782
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26783
|
+
/**
|
|
26784
|
+
*
|
|
26785
|
+
* @summary List environment services links
|
|
26786
|
+
* @param {string} environmentId Environment ID
|
|
26787
|
+
* @param {*} [options] Override http request option.
|
|
26788
|
+
* @throws {RequiredError}
|
|
26789
|
+
*/
|
|
26790
|
+
listEnvironmentServicesLinks: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26769
26791
|
};
|
|
26770
26792
|
/**
|
|
26771
26793
|
* EnvironmentApi - functional programming interface
|
|
@@ -26808,6 +26830,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
26808
26830
|
* @throws {RequiredError}
|
|
26809
26831
|
*/
|
|
26810
26832
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
26833
|
+
/**
|
|
26834
|
+
*
|
|
26835
|
+
* @summary List environment services links
|
|
26836
|
+
* @param {string} environmentId Environment ID
|
|
26837
|
+
* @param {*} [options] Override http request option.
|
|
26838
|
+
* @throws {RequiredError}
|
|
26839
|
+
*/
|
|
26840
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>>;
|
|
26811
26841
|
};
|
|
26812
26842
|
/**
|
|
26813
26843
|
* EnvironmentApi - factory interface
|
|
@@ -26850,6 +26880,14 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
26850
26880
|
* @throws {RequiredError}
|
|
26851
26881
|
*/
|
|
26852
26882
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
26883
|
+
/**
|
|
26884
|
+
*
|
|
26885
|
+
* @summary List environment services links
|
|
26886
|
+
* @param {string} environmentId Environment ID
|
|
26887
|
+
* @param {*} [options] Override http request option.
|
|
26888
|
+
* @throws {RequiredError}
|
|
26889
|
+
*/
|
|
26890
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponseList>;
|
|
26853
26891
|
};
|
|
26854
26892
|
/**
|
|
26855
26893
|
* EnvironmentApi - object-oriented interface
|
|
@@ -26898,6 +26936,15 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
26898
26936
|
* @memberof EnvironmentApi
|
|
26899
26937
|
*/
|
|
26900
26938
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
26939
|
+
/**
|
|
26940
|
+
*
|
|
26941
|
+
* @summary List environment services links
|
|
26942
|
+
* @param {string} environmentId Environment ID
|
|
26943
|
+
* @param {*} [options] Override http request option.
|
|
26944
|
+
* @throws {RequiredError}
|
|
26945
|
+
* @memberof EnvironmentApi
|
|
26946
|
+
*/
|
|
26947
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponseList, any>>;
|
|
26901
26948
|
}
|
|
26902
26949
|
/**
|
|
26903
26950
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -775,6 +775,7 @@ exports.OrganizationEventType = {
|
|
|
775
775
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
776
776
|
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
777
777
|
DELETE_QUEUED: 'DELETE_QUEUED',
|
|
778
|
+
UNINSTALL_QUEUED: 'UNINSTALL_QUEUED',
|
|
778
779
|
MAINTENANCE: 'MAINTENANCE',
|
|
779
780
|
DRY_RUN: 'DRY_RUN',
|
|
780
781
|
TRIGGER_REDEPLOY: 'TRIGGER_REDEPLOY',
|
|
@@ -787,8 +788,8 @@ exports.OrganizationEventType = {
|
|
|
787
788
|
TRIGGER_STOP: 'TRIGGER_STOP',
|
|
788
789
|
TRIGGER_RESTART: 'TRIGGER_RESTART',
|
|
789
790
|
TRIGGER_DELETE: 'TRIGGER_DELETE',
|
|
791
|
+
TRIGGER_UNINSTALL: 'TRIGGER_UNINSTALL',
|
|
790
792
|
TRIGGER_DEPLOY_DRY_RUN: 'TRIGGER_DEPLOY_DRY_RUN',
|
|
791
|
-
TRIGGER_DELETE_RESOURCES_ONLY: 'TRIGGER_DELETE_RESOURCES_ONLY',
|
|
792
793
|
TRIGGER_FORCE_RUN: 'TRIGGER_FORCE_RUN',
|
|
793
794
|
TRIGGER_FORCE_RUN_DEPLOY: 'TRIGGER_FORCE_RUN_DEPLOY',
|
|
794
795
|
TRIGGER_FORCE_RUN_STOP: 'TRIGGER_FORCE_RUN_STOP',
|
|
@@ -796,12 +797,13 @@ exports.OrganizationEventType = {
|
|
|
796
797
|
DEPLOYED: 'DEPLOYED',
|
|
797
798
|
STOPPED: 'STOPPED',
|
|
798
799
|
DELETED: 'DELETED',
|
|
800
|
+
UNINSTALLED: 'UNINSTALLED',
|
|
799
801
|
RESTARTED: 'RESTARTED',
|
|
800
802
|
DEPLOYED_DRY_RUN: 'DEPLOYED_DRY_RUN',
|
|
801
|
-
DELETE_RESOURCES_ONLY: 'DELETE_RESOURCES_ONLY',
|
|
802
803
|
DEPLOY_FAILED: 'DEPLOY_FAILED',
|
|
803
804
|
STOP_FAILED: 'STOP_FAILED',
|
|
804
805
|
DELETE_FAILED: 'DELETE_FAILED',
|
|
806
|
+
UNINSTALL_FAILED: 'UNINSTALL_FAILED',
|
|
805
807
|
RESTART_FAILED: 'RESTART_FAILED',
|
|
806
808
|
DEPLOYED_DRY_RUN_FAILED: 'DEPLOYED_DRY_RUN_FAILED',
|
|
807
809
|
SHELL: 'SHELL',
|
|
@@ -19266,6 +19268,40 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
19266
19268
|
options: localVarRequestOptions,
|
|
19267
19269
|
};
|
|
19268
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
|
+
}),
|
|
19269
19305
|
};
|
|
19270
19306
|
};
|
|
19271
19307
|
exports.EnvironmentApiAxiosParamCreator = EnvironmentApiAxiosParamCreator;
|
|
@@ -19344,6 +19380,22 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
19344
19380
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19345
19381
|
});
|
|
19346
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
|
+
},
|
|
19347
19399
|
};
|
|
19348
19400
|
};
|
|
19349
19401
|
exports.EnvironmentApiFp = EnvironmentApiFp;
|
|
@@ -19398,6 +19450,16 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
19398
19450
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19399
19451
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
19400
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
|
+
},
|
|
19401
19463
|
};
|
|
19402
19464
|
};
|
|
19403
19465
|
exports.EnvironmentApiFactory = EnvironmentApiFactory;
|
|
@@ -19456,6 +19518,17 @@ class EnvironmentApi extends base_1.BaseAPI {
|
|
|
19456
19518
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19457
19519
|
return (0, exports.EnvironmentApiFp)(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19458
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
|
+
}
|
|
19459
19532
|
}
|
|
19460
19533
|
exports.EnvironmentApi = EnvironmentApi;
|
|
19461
19534
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -12101,36 +12101,48 @@ export interface LifecycleTemplateResponseVariablesInnerFile {
|
|
|
12101
12101
|
* @interface Link
|
|
12102
12102
|
*/
|
|
12103
12103
|
export interface Link {
|
|
12104
|
+
/**
|
|
12105
|
+
* ID of the associated service
|
|
12106
|
+
* @type {string}
|
|
12107
|
+
* @memberof Link
|
|
12108
|
+
*/
|
|
12109
|
+
'service_id': string;
|
|
12104
12110
|
/**
|
|
12105
12111
|
*
|
|
12112
|
+
* @type {ServiceTypeEnum}
|
|
12113
|
+
* @memberof Link
|
|
12114
|
+
*/
|
|
12115
|
+
'service_type': ServiceTypeEnum;
|
|
12116
|
+
/**
|
|
12117
|
+
* URL to access the service
|
|
12106
12118
|
* @type {string}
|
|
12107
12119
|
* @memberof Link
|
|
12108
12120
|
*/
|
|
12109
|
-
'url'
|
|
12121
|
+
'url': string;
|
|
12110
12122
|
/**
|
|
12111
12123
|
* The port from which the service is reachable from within the cluster
|
|
12112
12124
|
* @type {number}
|
|
12113
12125
|
* @memberof Link
|
|
12114
12126
|
*/
|
|
12115
|
-
'internal_port'
|
|
12127
|
+
'internal_port': number;
|
|
12116
12128
|
/**
|
|
12117
12129
|
* The port from which the service is reachable from externally (i.e: 443 for HTTPS)
|
|
12118
12130
|
* @type {number}
|
|
12119
12131
|
* @memberof Link
|
|
12120
12132
|
*/
|
|
12121
|
-
'external_port'
|
|
12133
|
+
'external_port': number;
|
|
12122
12134
|
/**
|
|
12123
12135
|
* True if the domain is managed by Qovery, false if it belongs to the user
|
|
12124
12136
|
* @type {boolean}
|
|
12125
12137
|
* @memberof Link
|
|
12126
12138
|
*/
|
|
12127
|
-
'is_qovery_domain'
|
|
12139
|
+
'is_qovery_domain': boolean;
|
|
12128
12140
|
/**
|
|
12129
12141
|
* 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
12142
|
* @type {boolean}
|
|
12131
12143
|
* @memberof Link
|
|
12132
12144
|
*/
|
|
12133
|
-
'is_default'
|
|
12145
|
+
'is_default': boolean;
|
|
12134
12146
|
}
|
|
12135
12147
|
/**
|
|
12136
12148
|
*
|
|
@@ -13816,6 +13828,7 @@ export declare const OrganizationEventType: {
|
|
|
13816
13828
|
readonly STOP_QUEUED: "STOP_QUEUED";
|
|
13817
13829
|
readonly RESTART_QUEUED: "RESTART_QUEUED";
|
|
13818
13830
|
readonly DELETE_QUEUED: "DELETE_QUEUED";
|
|
13831
|
+
readonly UNINSTALL_QUEUED: "UNINSTALL_QUEUED";
|
|
13819
13832
|
readonly MAINTENANCE: "MAINTENANCE";
|
|
13820
13833
|
readonly DRY_RUN: "DRY_RUN";
|
|
13821
13834
|
readonly TRIGGER_REDEPLOY: "TRIGGER_REDEPLOY";
|
|
@@ -13828,8 +13841,8 @@ export declare const OrganizationEventType: {
|
|
|
13828
13841
|
readonly TRIGGER_STOP: "TRIGGER_STOP";
|
|
13829
13842
|
readonly TRIGGER_RESTART: "TRIGGER_RESTART";
|
|
13830
13843
|
readonly TRIGGER_DELETE: "TRIGGER_DELETE";
|
|
13844
|
+
readonly TRIGGER_UNINSTALL: "TRIGGER_UNINSTALL";
|
|
13831
13845
|
readonly TRIGGER_DEPLOY_DRY_RUN: "TRIGGER_DEPLOY_DRY_RUN";
|
|
13832
|
-
readonly TRIGGER_DELETE_RESOURCES_ONLY: "TRIGGER_DELETE_RESOURCES_ONLY";
|
|
13833
13846
|
readonly TRIGGER_FORCE_RUN: "TRIGGER_FORCE_RUN";
|
|
13834
13847
|
readonly TRIGGER_FORCE_RUN_DEPLOY: "TRIGGER_FORCE_RUN_DEPLOY";
|
|
13835
13848
|
readonly TRIGGER_FORCE_RUN_STOP: "TRIGGER_FORCE_RUN_STOP";
|
|
@@ -13837,12 +13850,13 @@ export declare const OrganizationEventType: {
|
|
|
13837
13850
|
readonly DEPLOYED: "DEPLOYED";
|
|
13838
13851
|
readonly STOPPED: "STOPPED";
|
|
13839
13852
|
readonly DELETED: "DELETED";
|
|
13853
|
+
readonly UNINSTALLED: "UNINSTALLED";
|
|
13840
13854
|
readonly RESTARTED: "RESTARTED";
|
|
13841
13855
|
readonly DEPLOYED_DRY_RUN: "DEPLOYED_DRY_RUN";
|
|
13842
|
-
readonly DELETE_RESOURCES_ONLY: "DELETE_RESOURCES_ONLY";
|
|
13843
13856
|
readonly DEPLOY_FAILED: "DEPLOY_FAILED";
|
|
13844
13857
|
readonly STOP_FAILED: "STOP_FAILED";
|
|
13845
13858
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
13859
|
+
readonly UNINSTALL_FAILED: "UNINSTALL_FAILED";
|
|
13846
13860
|
readonly RESTART_FAILED: "RESTART_FAILED";
|
|
13847
13861
|
readonly DEPLOYED_DRY_RUN_FAILED: "DEPLOYED_DRY_RUN_FAILED";
|
|
13848
13862
|
readonly SHELL: "SHELL";
|
|
@@ -26766,6 +26780,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
26766
26780
|
* @throws {RequiredError}
|
|
26767
26781
|
*/
|
|
26768
26782
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26783
|
+
/**
|
|
26784
|
+
*
|
|
26785
|
+
* @summary List environment services links
|
|
26786
|
+
* @param {string} environmentId Environment ID
|
|
26787
|
+
* @param {*} [options] Override http request option.
|
|
26788
|
+
* @throws {RequiredError}
|
|
26789
|
+
*/
|
|
26790
|
+
listEnvironmentServicesLinks: (environmentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26769
26791
|
};
|
|
26770
26792
|
/**
|
|
26771
26793
|
* EnvironmentApi - functional programming interface
|
|
@@ -26808,6 +26830,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
26808
26830
|
* @throws {RequiredError}
|
|
26809
26831
|
*/
|
|
26810
26832
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
26833
|
+
/**
|
|
26834
|
+
*
|
|
26835
|
+
* @summary List environment services links
|
|
26836
|
+
* @param {string} environmentId Environment ID
|
|
26837
|
+
* @param {*} [options] Override http request option.
|
|
26838
|
+
* @throws {RequiredError}
|
|
26839
|
+
*/
|
|
26840
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkResponseList>>;
|
|
26811
26841
|
};
|
|
26812
26842
|
/**
|
|
26813
26843
|
* EnvironmentApi - factory interface
|
|
@@ -26850,6 +26880,14 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
26850
26880
|
* @throws {RequiredError}
|
|
26851
26881
|
*/
|
|
26852
26882
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
26883
|
+
/**
|
|
26884
|
+
*
|
|
26885
|
+
* @summary List environment services links
|
|
26886
|
+
* @param {string} environmentId Environment ID
|
|
26887
|
+
* @param {*} [options] Override http request option.
|
|
26888
|
+
* @throws {RequiredError}
|
|
26889
|
+
*/
|
|
26890
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): AxiosPromise<LinkResponseList>;
|
|
26853
26891
|
};
|
|
26854
26892
|
/**
|
|
26855
26893
|
* EnvironmentApi - object-oriented interface
|
|
@@ -26898,6 +26936,15 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
26898
26936
|
* @memberof EnvironmentApi
|
|
26899
26937
|
*/
|
|
26900
26938
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
26939
|
+
/**
|
|
26940
|
+
*
|
|
26941
|
+
* @summary List environment services links
|
|
26942
|
+
* @param {string} environmentId Environment ID
|
|
26943
|
+
* @param {*} [options] Override http request option.
|
|
26944
|
+
* @throws {RequiredError}
|
|
26945
|
+
* @memberof EnvironmentApi
|
|
26946
|
+
*/
|
|
26947
|
+
listEnvironmentServicesLinks(environmentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkResponseList, any>>;
|
|
26901
26948
|
}
|
|
26902
26949
|
/**
|
|
26903
26950
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -763,6 +763,7 @@ export const OrganizationEventType = {
|
|
|
763
763
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
764
764
|
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
765
765
|
DELETE_QUEUED: 'DELETE_QUEUED',
|
|
766
|
+
UNINSTALL_QUEUED: 'UNINSTALL_QUEUED',
|
|
766
767
|
MAINTENANCE: 'MAINTENANCE',
|
|
767
768
|
DRY_RUN: 'DRY_RUN',
|
|
768
769
|
TRIGGER_REDEPLOY: 'TRIGGER_REDEPLOY',
|
|
@@ -775,8 +776,8 @@ export const OrganizationEventType = {
|
|
|
775
776
|
TRIGGER_STOP: 'TRIGGER_STOP',
|
|
776
777
|
TRIGGER_RESTART: 'TRIGGER_RESTART',
|
|
777
778
|
TRIGGER_DELETE: 'TRIGGER_DELETE',
|
|
779
|
+
TRIGGER_UNINSTALL: 'TRIGGER_UNINSTALL',
|
|
778
780
|
TRIGGER_DEPLOY_DRY_RUN: 'TRIGGER_DEPLOY_DRY_RUN',
|
|
779
|
-
TRIGGER_DELETE_RESOURCES_ONLY: 'TRIGGER_DELETE_RESOURCES_ONLY',
|
|
780
781
|
TRIGGER_FORCE_RUN: 'TRIGGER_FORCE_RUN',
|
|
781
782
|
TRIGGER_FORCE_RUN_DEPLOY: 'TRIGGER_FORCE_RUN_DEPLOY',
|
|
782
783
|
TRIGGER_FORCE_RUN_STOP: 'TRIGGER_FORCE_RUN_STOP',
|
|
@@ -784,12 +785,13 @@ export const OrganizationEventType = {
|
|
|
784
785
|
DEPLOYED: 'DEPLOYED',
|
|
785
786
|
STOPPED: 'STOPPED',
|
|
786
787
|
DELETED: 'DELETED',
|
|
788
|
+
UNINSTALLED: 'UNINSTALLED',
|
|
787
789
|
RESTARTED: 'RESTARTED',
|
|
788
790
|
DEPLOYED_DRY_RUN: 'DEPLOYED_DRY_RUN',
|
|
789
|
-
DELETE_RESOURCES_ONLY: 'DELETE_RESOURCES_ONLY',
|
|
790
791
|
DEPLOY_FAILED: 'DEPLOY_FAILED',
|
|
791
792
|
STOP_FAILED: 'STOP_FAILED',
|
|
792
793
|
DELETE_FAILED: 'DELETE_FAILED',
|
|
794
|
+
UNINSTALL_FAILED: 'UNINSTALL_FAILED',
|
|
793
795
|
RESTART_FAILED: 'RESTART_FAILED',
|
|
794
796
|
DEPLOYED_DRY_RUN_FAILED: 'DEPLOYED_DRY_RUN_FAILED',
|
|
795
797
|
SHELL: 'SHELL',
|
|
@@ -19118,6 +19120,40 @@ export const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
19118
19120
|
options: localVarRequestOptions,
|
|
19119
19121
|
};
|
|
19120
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
|
+
}),
|
|
19121
19157
|
};
|
|
19122
19158
|
};
|
|
19123
19159
|
/**
|
|
@@ -19195,6 +19231,22 @@ export const EnvironmentApiFp = function (configuration) {
|
|
|
19195
19231
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19196
19232
|
});
|
|
19197
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
|
+
},
|
|
19198
19250
|
};
|
|
19199
19251
|
};
|
|
19200
19252
|
/**
|
|
@@ -19248,6 +19300,16 @@ export const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
19248
19300
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19249
19301
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
19250
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
|
+
},
|
|
19251
19313
|
};
|
|
19252
19314
|
};
|
|
19253
19315
|
/**
|
|
@@ -19305,6 +19367,17 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
19305
19367
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
19306
19368
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19307
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
|
+
}
|
|
19308
19381
|
}
|
|
19309
19382
|
/**
|
|
19310
19383
|
* EnvironmentActionsApi - axios parameter creator
|