qovery-typescript-axios 1.1.660 → 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 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'?: string;
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'?: number;
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'?: number;
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'?: boolean;
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'?: boolean;
12519
+ 'is_default': boolean;
12508
12520
  }
12521
+
12522
+
12509
12523
  /**
12510
12524
  *
12511
12525
  * @export
@@ -37974,6 +37988,47 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
37974
37988
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37975
37989
  localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
37976
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
+
37977
38032
  return {
37978
38033
  url: toPathString(localVarUrlObj),
37979
38034
  options: localVarRequestOptions,
@@ -38045,6 +38100,19 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
38045
38100
  const localVarOperationServerBasePath = operationServerMap['EnvironmentApi.checkHelmRepository']?.[localVarOperationServerIndex]?.url;
38046
38101
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38047
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
+ },
38048
38116
  }
38049
38117
  };
38050
38118
 
@@ -38099,6 +38167,16 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
38099
38167
  checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig): AxiosPromise<object> {
38100
38168
  return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
38101
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
+ },
38102
38180
  };
38103
38181
  };
38104
38182
 
@@ -38160,6 +38238,18 @@ export class EnvironmentApi extends BaseAPI {
38160
38238
  public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: RawAxiosRequestConfig) {
38161
38239
  return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
38162
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
+ }
38163
38253
  }
38164
38254
 
38165
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'?: string;
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'?: number;
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'?: number;
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'?: boolean;
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'?: boolean;
12145
+ 'is_default': boolean;
12134
12146
  }
12135
12147
  /**
12136
12148
  *
@@ -26768,6 +26780,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
26768
26780
  * @throws {RequiredError}
26769
26781
  */
26770
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>;
26771
26791
  };
26772
26792
  /**
26773
26793
  * EnvironmentApi - functional programming interface
@@ -26810,6 +26830,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
26810
26830
  * @throws {RequiredError}
26811
26831
  */
26812
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>>;
26813
26841
  };
26814
26842
  /**
26815
26843
  * EnvironmentApi - factory interface
@@ -26852,6 +26880,14 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
26852
26880
  * @throws {RequiredError}
26853
26881
  */
26854
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>;
26855
26891
  };
26856
26892
  /**
26857
26893
  * EnvironmentApi - object-oriented interface
@@ -26900,6 +26936,15 @@ export declare class EnvironmentApi extends BaseAPI {
26900
26936
  * @memberof EnvironmentApi
26901
26937
  */
26902
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>>;
26903
26948
  }
26904
26949
  /**
26905
26950
  * 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
@@ -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'?: string;
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'?: number;
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'?: number;
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'?: boolean;
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'?: boolean;
12145
+ 'is_default': boolean;
12134
12146
  }
12135
12147
  /**
12136
12148
  *
@@ -26768,6 +26780,14 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
26768
26780
  * @throws {RequiredError}
26769
26781
  */
26770
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>;
26771
26791
  };
26772
26792
  /**
26773
26793
  * EnvironmentApi - functional programming interface
@@ -26810,6 +26830,14 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
26810
26830
  * @throws {RequiredError}
26811
26831
  */
26812
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>>;
26813
26841
  };
26814
26842
  /**
26815
26843
  * EnvironmentApi - factory interface
@@ -26852,6 +26880,14 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
26852
26880
  * @throws {RequiredError}
26853
26881
  */
26854
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>;
26855
26891
  };
26856
26892
  /**
26857
26893
  * EnvironmentApi - object-oriented interface
@@ -26900,6 +26936,15 @@ export declare class EnvironmentApi extends BaseAPI {
26900
26936
  * @memberof EnvironmentApi
26901
26937
  */
26902
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>>;
26903
26948
  }
26904
26949
  /**
26905
26950
  * 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.660",
3
+ "version": "v1.1.661",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {