qovery-typescript-axios 1.1.532 → 1.1.534

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
@@ -6732,6 +6732,12 @@ export interface DeploymentHistoryServiceIdentifier {
6732
6732
  * @memberof DeploymentHistoryServiceIdentifier
6733
6733
  */
6734
6734
  'execution_id'?: string;
6735
+ /**
6736
+ *
6737
+ * @type {string}
6738
+ * @memberof DeploymentHistoryServiceIdentifier
6739
+ */
6740
+ 'icon_uri': string;
6735
6741
  }
6736
6742
 
6737
6743
 
@@ -11998,6 +12004,19 @@ export interface ListServicesByEnvironmentId200Response {
11998
12004
  */
11999
12005
  export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
12000
12006
 
12007
+ /**
12008
+ *
12009
+ * @export
12010
+ * @interface ListServicesByOrganizationId200Response
12011
+ */
12012
+ export interface ListServicesByOrganizationId200Response {
12013
+ /**
12014
+ *
12015
+ * @type {Array<ServiceLightResponse>}
12016
+ * @memberof ListServicesByOrganizationId200Response
12017
+ */
12018
+ 'results'?: Array<ServiceLightResponse>;
12019
+ }
12001
12020
  /**
12002
12021
  *
12003
12022
  * @export
@@ -15220,6 +15239,69 @@ export interface ServiceLabelRequest {
15220
15239
  */
15221
15240
  'id': string;
15222
15241
  }
15242
+ /**
15243
+ *
15244
+ * @export
15245
+ * @interface ServiceLightResponse
15246
+ */
15247
+ export interface ServiceLightResponse {
15248
+ /**
15249
+ *
15250
+ * @type {string}
15251
+ * @memberof ServiceLightResponse
15252
+ */
15253
+ 'id': string;
15254
+ /**
15255
+ *
15256
+ * @type {string}
15257
+ * @memberof ServiceLightResponse
15258
+ */
15259
+ 'name': string;
15260
+ /**
15261
+ *
15262
+ * @type {string}
15263
+ * @memberof ServiceLightResponse
15264
+ */
15265
+ 'description': string;
15266
+ /**
15267
+ *
15268
+ * @type {string}
15269
+ * @memberof ServiceLightResponse
15270
+ */
15271
+ 'icon_uri': string;
15272
+ /**
15273
+ *
15274
+ * @type {ServiceTypeEnum}
15275
+ * @memberof ServiceLightResponse
15276
+ */
15277
+ 'service_type': ServiceTypeEnum;
15278
+ /**
15279
+ *
15280
+ * @type {string}
15281
+ * @memberof ServiceLightResponse
15282
+ */
15283
+ 'project_id': string;
15284
+ /**
15285
+ *
15286
+ * @type {string}
15287
+ * @memberof ServiceLightResponse
15288
+ */
15289
+ 'project_name': string;
15290
+ /**
15291
+ *
15292
+ * @type {string}
15293
+ * @memberof ServiceLightResponse
15294
+ */
15295
+ 'environment_id': string;
15296
+ /**
15297
+ *
15298
+ * @type {string}
15299
+ * @memberof ServiceLightResponse
15300
+ */
15301
+ 'environment_name': string;
15302
+ }
15303
+
15304
+
15223
15305
  /**
15224
15306
  *
15225
15307
  * @export
@@ -33538,6 +33620,57 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
33538
33620
 
33539
33621
 
33540
33622
 
33623
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33624
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33625
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33626
+
33627
+ return {
33628
+ url: toPathString(localVarUrlObj),
33629
+ options: localVarRequestOptions,
33630
+ };
33631
+ },
33632
+ /**
33633
+ *
33634
+ * @summary List Services By OrganizationId
33635
+ * @param {string} organizationId
33636
+ * @param {string | null} [projectId]
33637
+ * @param {string | null} [environmentId]
33638
+ * @param {*} [options] Override http request option.
33639
+ * @throws {RequiredError}
33640
+ */
33641
+ listServicesByOrganizationId: async (organizationId: string, projectId?: string | null, environmentId?: string | null, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
33642
+ // verify required parameter 'organizationId' is not null or undefined
33643
+ assertParamExists('listServicesByOrganizationId', 'organizationId', organizationId)
33644
+ const localVarPath = `/organization/{organizationId}/services`
33645
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
33646
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33647
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33648
+ let baseOptions;
33649
+ if (configuration) {
33650
+ baseOptions = configuration.baseOptions;
33651
+ }
33652
+
33653
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
33654
+ const localVarHeaderParameter = {} as any;
33655
+ const localVarQueryParameter = {} as any;
33656
+
33657
+ // authentication ApiKeyAuth required
33658
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33659
+
33660
+ // authentication bearerAuth required
33661
+ // http bearer authentication required
33662
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
33663
+
33664
+ if (projectId !== undefined) {
33665
+ localVarQueryParameter['project_id'] = projectId;
33666
+ }
33667
+
33668
+ if (environmentId !== undefined) {
33669
+ localVarQueryParameter['environment_id'] = environmentId;
33670
+ }
33671
+
33672
+
33673
+
33541
33674
  setSearchParams(localVarUrlObj, localVarQueryParameter);
33542
33675
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33543
33676
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -33579,6 +33712,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
33579
33712
  const localVarAxiosArgs = await localVarAxiosParamCreator.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options);
33580
33713
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33581
33714
  },
33715
+ /**
33716
+ *
33717
+ * @summary List Services By OrganizationId
33718
+ * @param {string} organizationId
33719
+ * @param {string | null} [projectId]
33720
+ * @param {string | null} [environmentId]
33721
+ * @param {*} [options] Override http request option.
33722
+ * @throws {RequiredError}
33723
+ */
33724
+ async listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByOrganizationId200Response>> {
33725
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServicesByOrganizationId(organizationId, projectId, environmentId, options);
33726
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
33727
+ },
33582
33728
  }
33583
33729
  };
33584
33730
 
@@ -33609,6 +33755,18 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
33609
33755
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus> {
33610
33756
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
33611
33757
  },
33758
+ /**
33759
+ *
33760
+ * @summary List Services By OrganizationId
33761
+ * @param {string} organizationId
33762
+ * @param {string | null} [projectId]
33763
+ * @param {string | null} [environmentId]
33764
+ * @param {*} [options] Override http request option.
33765
+ * @throws {RequiredError}
33766
+ */
33767
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: any): AxiosPromise<ListServicesByOrganizationId200Response> {
33768
+ return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(axios, basePath));
33769
+ },
33612
33770
  };
33613
33771
  };
33614
33772
 
@@ -33642,6 +33800,20 @@ export class DefaultApi extends BaseAPI {
33642
33800
  public getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig) {
33643
33801
  return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
33644
33802
  }
33803
+
33804
+ /**
33805
+ *
33806
+ * @summary List Services By OrganizationId
33807
+ * @param {string} organizationId
33808
+ * @param {string | null} [projectId]
33809
+ * @param {string | null} [environmentId]
33810
+ * @param {*} [options] Override http request option.
33811
+ * @throws {RequiredError}
33812
+ * @memberof DefaultApi
33813
+ */
33814
+ public listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig) {
33815
+ return DefaultApiFp(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
33816
+ }
33645
33817
  }
33646
33818
 
33647
33819
 
package/dist/api.d.ts CHANGED
@@ -6542,6 +6542,12 @@ export interface DeploymentHistoryServiceIdentifier {
6542
6542
  * @memberof DeploymentHistoryServiceIdentifier
6543
6543
  */
6544
6544
  'execution_id'?: string;
6545
+ /**
6546
+ *
6547
+ * @type {string}
6548
+ * @memberof DeploymentHistoryServiceIdentifier
6549
+ */
6550
+ 'icon_uri': string;
6545
6551
  }
6546
6552
  /**
6547
6553
  *
@@ -11639,6 +11645,19 @@ export interface ListServicesByEnvironmentId200Response {
11639
11645
  * @export
11640
11646
  */
11641
11647
  export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
11648
+ /**
11649
+ *
11650
+ * @export
11651
+ * @interface ListServicesByOrganizationId200Response
11652
+ */
11653
+ export interface ListServicesByOrganizationId200Response {
11654
+ /**
11655
+ *
11656
+ * @type {Array<ServiceLightResponse>}
11657
+ * @memberof ListServicesByOrganizationId200Response
11658
+ */
11659
+ 'results'?: Array<ServiceLightResponse>;
11660
+ }
11642
11661
  /**
11643
11662
  *
11644
11663
  * @export
@@ -14747,6 +14766,67 @@ export interface ServiceLabelRequest {
14747
14766
  */
14748
14767
  'id': string;
14749
14768
  }
14769
+ /**
14770
+ *
14771
+ * @export
14772
+ * @interface ServiceLightResponse
14773
+ */
14774
+ export interface ServiceLightResponse {
14775
+ /**
14776
+ *
14777
+ * @type {string}
14778
+ * @memberof ServiceLightResponse
14779
+ */
14780
+ 'id': string;
14781
+ /**
14782
+ *
14783
+ * @type {string}
14784
+ * @memberof ServiceLightResponse
14785
+ */
14786
+ 'name': string;
14787
+ /**
14788
+ *
14789
+ * @type {string}
14790
+ * @memberof ServiceLightResponse
14791
+ */
14792
+ 'description': string;
14793
+ /**
14794
+ *
14795
+ * @type {string}
14796
+ * @memberof ServiceLightResponse
14797
+ */
14798
+ 'icon_uri': string;
14799
+ /**
14800
+ *
14801
+ * @type {ServiceTypeEnum}
14802
+ * @memberof ServiceLightResponse
14803
+ */
14804
+ 'service_type': ServiceTypeEnum;
14805
+ /**
14806
+ *
14807
+ * @type {string}
14808
+ * @memberof ServiceLightResponse
14809
+ */
14810
+ 'project_id': string;
14811
+ /**
14812
+ *
14813
+ * @type {string}
14814
+ * @memberof ServiceLightResponse
14815
+ */
14816
+ 'project_name': string;
14817
+ /**
14818
+ *
14819
+ * @type {string}
14820
+ * @memberof ServiceLightResponse
14821
+ */
14822
+ 'environment_id': string;
14823
+ /**
14824
+ *
14825
+ * @type {string}
14826
+ * @memberof ServiceLightResponse
14827
+ */
14828
+ 'environment_name': string;
14829
+ }
14750
14830
  /**
14751
14831
  *
14752
14832
  * @export
@@ -23991,6 +24071,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
23991
24071
  * @throws {RequiredError}
23992
24072
  */
23993
24073
  getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
+ /**
24075
+ *
24076
+ * @summary List Services By OrganizationId
24077
+ * @param {string} organizationId
24078
+ * @param {string | null} [projectId]
24079
+ * @param {string | null} [environmentId]
24080
+ * @param {*} [options] Override http request option.
24081
+ * @throws {RequiredError}
24082
+ */
24083
+ listServicesByOrganizationId: (organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23994
24084
  };
23995
24085
  /**
23996
24086
  * DefaultApi - functional programming interface
@@ -24013,6 +24103,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
24013
24103
  * @throws {RequiredError}
24014
24104
  */
24015
24105
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
24106
+ /**
24107
+ *
24108
+ * @summary List Services By OrganizationId
24109
+ * @param {string} organizationId
24110
+ * @param {string | null} [projectId]
24111
+ * @param {string | null} [environmentId]
24112
+ * @param {*} [options] Override http request option.
24113
+ * @throws {RequiredError}
24114
+ */
24115
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByOrganizationId200Response>>;
24016
24116
  };
24017
24117
  /**
24018
24118
  * DefaultApi - factory interface
@@ -24035,6 +24135,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
24035
24135
  * @throws {RequiredError}
24036
24136
  */
24037
24137
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
24138
+ /**
24139
+ *
24140
+ * @summary List Services By OrganizationId
24141
+ * @param {string} organizationId
24142
+ * @param {string | null} [projectId]
24143
+ * @param {string | null} [environmentId]
24144
+ * @param {*} [options] Override http request option.
24145
+ * @throws {RequiredError}
24146
+ */
24147
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: any): AxiosPromise<ListServicesByOrganizationId200Response>;
24038
24148
  };
24039
24149
  /**
24040
24150
  * DefaultApi - object-oriented interface
@@ -24061,6 +24171,17 @@ export declare class DefaultApi extends BaseAPI {
24061
24171
  * @memberof DefaultApi
24062
24172
  */
24063
24173
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
24174
+ /**
24175
+ *
24176
+ * @summary List Services By OrganizationId
24177
+ * @param {string} organizationId
24178
+ * @param {string | null} [projectId]
24179
+ * @param {string | null} [environmentId]
24180
+ * @param {*} [options] Override http request option.
24181
+ * @throws {RequiredError}
24182
+ * @memberof DefaultApi
24183
+ */
24184
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByOrganizationId200Response, any>>;
24064
24185
  }
24065
24186
  /**
24066
24187
  * DeploymentStageMainCallsApi - axios parameter creator
package/dist/api.js CHANGED
@@ -16548,6 +16548,48 @@ const DefaultApiAxiosParamCreator = function (configuration) {
16548
16548
  options: localVarRequestOptions,
16549
16549
  };
16550
16550
  }),
16551
+ /**
16552
+ *
16553
+ * @summary List Services By OrganizationId
16554
+ * @param {string} organizationId
16555
+ * @param {string | null} [projectId]
16556
+ * @param {string | null} [environmentId]
16557
+ * @param {*} [options] Override http request option.
16558
+ * @throws {RequiredError}
16559
+ */
16560
+ listServicesByOrganizationId: (organizationId, projectId, environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16561
+ // verify required parameter 'organizationId' is not null or undefined
16562
+ (0, common_1.assertParamExists)('listServicesByOrganizationId', 'organizationId', organizationId);
16563
+ const localVarPath = `/organization/{organizationId}/services`
16564
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
16565
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16566
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16567
+ let baseOptions;
16568
+ if (configuration) {
16569
+ baseOptions = configuration.baseOptions;
16570
+ }
16571
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16572
+ const localVarHeaderParameter = {};
16573
+ const localVarQueryParameter = {};
16574
+ // authentication ApiKeyAuth required
16575
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16576
+ // authentication bearerAuth required
16577
+ // http bearer authentication required
16578
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16579
+ if (projectId !== undefined) {
16580
+ localVarQueryParameter['project_id'] = projectId;
16581
+ }
16582
+ if (environmentId !== undefined) {
16583
+ localVarQueryParameter['environment_id'] = environmentId;
16584
+ }
16585
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16586
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16587
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16588
+ return {
16589
+ url: (0, common_1.toPathString)(localVarUrlObj),
16590
+ options: localVarRequestOptions,
16591
+ };
16592
+ }),
16551
16593
  };
16552
16594
  };
16553
16595
  exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
@@ -16584,6 +16626,21 @@ const DefaultApiFp = function (configuration) {
16584
16626
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16585
16627
  });
16586
16628
  },
16629
+ /**
16630
+ *
16631
+ * @summary List Services By OrganizationId
16632
+ * @param {string} organizationId
16633
+ * @param {string | null} [projectId]
16634
+ * @param {string | null} [environmentId]
16635
+ * @param {*} [options] Override http request option.
16636
+ * @throws {RequiredError}
16637
+ */
16638
+ listServicesByOrganizationId(organizationId, projectId, environmentId, options) {
16639
+ return __awaiter(this, void 0, void 0, function* () {
16640
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listServicesByOrganizationId(organizationId, projectId, environmentId, options);
16641
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16642
+ });
16643
+ },
16587
16644
  };
16588
16645
  };
16589
16646
  exports.DefaultApiFp = DefaultApiFp;
@@ -16614,6 +16671,18 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
16614
16671
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16615
16672
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
16616
16673
  },
16674
+ /**
16675
+ *
16676
+ * @summary List Services By OrganizationId
16677
+ * @param {string} organizationId
16678
+ * @param {string | null} [projectId]
16679
+ * @param {string | null} [environmentId]
16680
+ * @param {*} [options] Override http request option.
16681
+ * @throws {RequiredError}
16682
+ */
16683
+ listServicesByOrganizationId(organizationId, projectId, environmentId, options) {
16684
+ return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(axios, basePath));
16685
+ },
16617
16686
  };
16618
16687
  };
16619
16688
  exports.DefaultApiFactory = DefaultApiFactory;
@@ -16646,6 +16715,19 @@ class DefaultApi extends base_1.BaseAPI {
16646
16715
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16647
16716
  return (0, exports.DefaultApiFp)(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
16648
16717
  }
16718
+ /**
16719
+ *
16720
+ * @summary List Services By OrganizationId
16721
+ * @param {string} organizationId
16722
+ * @param {string | null} [projectId]
16723
+ * @param {string | null} [environmentId]
16724
+ * @param {*} [options] Override http request option.
16725
+ * @throws {RequiredError}
16726
+ * @memberof DefaultApi
16727
+ */
16728
+ listServicesByOrganizationId(organizationId, projectId, environmentId, options) {
16729
+ return (0, exports.DefaultApiFp)(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
16730
+ }
16649
16731
  }
16650
16732
  exports.DefaultApi = DefaultApi;
16651
16733
  /**
package/dist/esm/api.d.ts CHANGED
@@ -6542,6 +6542,12 @@ export interface DeploymentHistoryServiceIdentifier {
6542
6542
  * @memberof DeploymentHistoryServiceIdentifier
6543
6543
  */
6544
6544
  'execution_id'?: string;
6545
+ /**
6546
+ *
6547
+ * @type {string}
6548
+ * @memberof DeploymentHistoryServiceIdentifier
6549
+ */
6550
+ 'icon_uri': string;
6545
6551
  }
6546
6552
  /**
6547
6553
  *
@@ -11639,6 +11645,19 @@ export interface ListServicesByEnvironmentId200Response {
11639
11645
  * @export
11640
11646
  */
11641
11647
  export type ListServicesByEnvironmentId200ResponseResultsInner = Application | ContainerResponse | Database | HelmResponse | JobResponse;
11648
+ /**
11649
+ *
11650
+ * @export
11651
+ * @interface ListServicesByOrganizationId200Response
11652
+ */
11653
+ export interface ListServicesByOrganizationId200Response {
11654
+ /**
11655
+ *
11656
+ * @type {Array<ServiceLightResponse>}
11657
+ * @memberof ListServicesByOrganizationId200Response
11658
+ */
11659
+ 'results'?: Array<ServiceLightResponse>;
11660
+ }
11642
11661
  /**
11643
11662
  *
11644
11663
  * @export
@@ -14747,6 +14766,67 @@ export interface ServiceLabelRequest {
14747
14766
  */
14748
14767
  'id': string;
14749
14768
  }
14769
+ /**
14770
+ *
14771
+ * @export
14772
+ * @interface ServiceLightResponse
14773
+ */
14774
+ export interface ServiceLightResponse {
14775
+ /**
14776
+ *
14777
+ * @type {string}
14778
+ * @memberof ServiceLightResponse
14779
+ */
14780
+ 'id': string;
14781
+ /**
14782
+ *
14783
+ * @type {string}
14784
+ * @memberof ServiceLightResponse
14785
+ */
14786
+ 'name': string;
14787
+ /**
14788
+ *
14789
+ * @type {string}
14790
+ * @memberof ServiceLightResponse
14791
+ */
14792
+ 'description': string;
14793
+ /**
14794
+ *
14795
+ * @type {string}
14796
+ * @memberof ServiceLightResponse
14797
+ */
14798
+ 'icon_uri': string;
14799
+ /**
14800
+ *
14801
+ * @type {ServiceTypeEnum}
14802
+ * @memberof ServiceLightResponse
14803
+ */
14804
+ 'service_type': ServiceTypeEnum;
14805
+ /**
14806
+ *
14807
+ * @type {string}
14808
+ * @memberof ServiceLightResponse
14809
+ */
14810
+ 'project_id': string;
14811
+ /**
14812
+ *
14813
+ * @type {string}
14814
+ * @memberof ServiceLightResponse
14815
+ */
14816
+ 'project_name': string;
14817
+ /**
14818
+ *
14819
+ * @type {string}
14820
+ * @memberof ServiceLightResponse
14821
+ */
14822
+ 'environment_id': string;
14823
+ /**
14824
+ *
14825
+ * @type {string}
14826
+ * @memberof ServiceLightResponse
14827
+ */
14828
+ 'environment_name': string;
14829
+ }
14750
14830
  /**
14751
14831
  *
14752
14832
  * @export
@@ -23991,6 +24071,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
23991
24071
  * @throws {RequiredError}
23992
24072
  */
23993
24073
  getDeploymentStatusByDeploymentRequestId: (deploymentRequestId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
24074
+ /**
24075
+ *
24076
+ * @summary List Services By OrganizationId
24077
+ * @param {string} organizationId
24078
+ * @param {string | null} [projectId]
24079
+ * @param {string | null} [environmentId]
24080
+ * @param {*} [options] Override http request option.
24081
+ * @throws {RequiredError}
24082
+ */
24083
+ listServicesByOrganizationId: (organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig) => Promise<RequestArgs>;
23994
24084
  };
23995
24085
  /**
23996
24086
  * DefaultApi - functional programming interface
@@ -24013,6 +24103,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
24013
24103
  * @throws {RequiredError}
24014
24104
  */
24015
24105
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvDeploymentStatus>>;
24106
+ /**
24107
+ *
24108
+ * @summary List Services By OrganizationId
24109
+ * @param {string} organizationId
24110
+ * @param {string | null} [projectId]
24111
+ * @param {string | null} [environmentId]
24112
+ * @param {*} [options] Override http request option.
24113
+ * @throws {RequiredError}
24114
+ */
24115
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListServicesByOrganizationId200Response>>;
24016
24116
  };
24017
24117
  /**
24018
24118
  * DefaultApi - factory interface
@@ -24035,6 +24135,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
24035
24135
  * @throws {RequiredError}
24036
24136
  */
24037
24137
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: any): AxiosPromise<EnvDeploymentStatus>;
24138
+ /**
24139
+ *
24140
+ * @summary List Services By OrganizationId
24141
+ * @param {string} organizationId
24142
+ * @param {string | null} [projectId]
24143
+ * @param {string | null} [environmentId]
24144
+ * @param {*} [options] Override http request option.
24145
+ * @throws {RequiredError}
24146
+ */
24147
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: any): AxiosPromise<ListServicesByOrganizationId200Response>;
24038
24148
  };
24039
24149
  /**
24040
24150
  * DefaultApi - object-oriented interface
@@ -24061,6 +24171,17 @@ export declare class DefaultApi extends BaseAPI {
24061
24171
  * @memberof DefaultApi
24062
24172
  */
24063
24173
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvDeploymentStatus, any>>;
24174
+ /**
24175
+ *
24176
+ * @summary List Services By OrganizationId
24177
+ * @param {string} organizationId
24178
+ * @param {string | null} [projectId]
24179
+ * @param {string | null} [environmentId]
24180
+ * @param {*} [options] Override http request option.
24181
+ * @throws {RequiredError}
24182
+ * @memberof DefaultApi
24183
+ */
24184
+ listServicesByOrganizationId(organizationId: string, projectId?: string | null, environmentId?: string | null, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListServicesByOrganizationId200Response, any>>;
24064
24185
  }
24065
24186
  /**
24066
24187
  * DeploymentStageMainCallsApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -16413,6 +16413,48 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
16413
16413
  options: localVarRequestOptions,
16414
16414
  };
16415
16415
  }),
16416
+ /**
16417
+ *
16418
+ * @summary List Services By OrganizationId
16419
+ * @param {string} organizationId
16420
+ * @param {string | null} [projectId]
16421
+ * @param {string | null} [environmentId]
16422
+ * @param {*} [options] Override http request option.
16423
+ * @throws {RequiredError}
16424
+ */
16425
+ listServicesByOrganizationId: (organizationId, projectId, environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16426
+ // verify required parameter 'organizationId' is not null or undefined
16427
+ assertParamExists('listServicesByOrganizationId', 'organizationId', organizationId);
16428
+ const localVarPath = `/organization/{organizationId}/services`
16429
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
16430
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16431
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16432
+ let baseOptions;
16433
+ if (configuration) {
16434
+ baseOptions = configuration.baseOptions;
16435
+ }
16436
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16437
+ const localVarHeaderParameter = {};
16438
+ const localVarQueryParameter = {};
16439
+ // authentication ApiKeyAuth required
16440
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16441
+ // authentication bearerAuth required
16442
+ // http bearer authentication required
16443
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
16444
+ if (projectId !== undefined) {
16445
+ localVarQueryParameter['project_id'] = projectId;
16446
+ }
16447
+ if (environmentId !== undefined) {
16448
+ localVarQueryParameter['environment_id'] = environmentId;
16449
+ }
16450
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16451
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16452
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16453
+ return {
16454
+ url: toPathString(localVarUrlObj),
16455
+ options: localVarRequestOptions,
16456
+ };
16457
+ }),
16416
16458
  };
16417
16459
  };
16418
16460
  /**
@@ -16448,6 +16490,21 @@ export const DefaultApiFp = function (configuration) {
16448
16490
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16449
16491
  });
16450
16492
  },
16493
+ /**
16494
+ *
16495
+ * @summary List Services By OrganizationId
16496
+ * @param {string} organizationId
16497
+ * @param {string | null} [projectId]
16498
+ * @param {string | null} [environmentId]
16499
+ * @param {*} [options] Override http request option.
16500
+ * @throws {RequiredError}
16501
+ */
16502
+ listServicesByOrganizationId(organizationId, projectId, environmentId, options) {
16503
+ return __awaiter(this, void 0, void 0, function* () {
16504
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listServicesByOrganizationId(organizationId, projectId, environmentId, options);
16505
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
16506
+ });
16507
+ },
16451
16508
  };
16452
16509
  };
16453
16510
  /**
@@ -16477,6 +16534,18 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
16477
16534
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16478
16535
  return localVarFp.getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(axios, basePath));
16479
16536
  },
16537
+ /**
16538
+ *
16539
+ * @summary List Services By OrganizationId
16540
+ * @param {string} organizationId
16541
+ * @param {string | null} [projectId]
16542
+ * @param {string | null} [environmentId]
16543
+ * @param {*} [options] Override http request option.
16544
+ * @throws {RequiredError}
16545
+ */
16546
+ listServicesByOrganizationId(organizationId, projectId, environmentId, options) {
16547
+ return localVarFp.listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(axios, basePath));
16548
+ },
16480
16549
  };
16481
16550
  };
16482
16551
  /**
@@ -16508,6 +16577,19 @@ export class DefaultApi extends BaseAPI {
16508
16577
  getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options) {
16509
16578
  return DefaultApiFp(this.configuration).getDeploymentStatusByDeploymentRequestId(deploymentRequestId, options).then((request) => request(this.axios, this.basePath));
16510
16579
  }
16580
+ /**
16581
+ *
16582
+ * @summary List Services By OrganizationId
16583
+ * @param {string} organizationId
16584
+ * @param {string | null} [projectId]
16585
+ * @param {string | null} [environmentId]
16586
+ * @param {*} [options] Override http request option.
16587
+ * @throws {RequiredError}
16588
+ * @memberof DefaultApi
16589
+ */
16590
+ listServicesByOrganizationId(organizationId, projectId, environmentId, options) {
16591
+ return DefaultApiFp(this.configuration).listServicesByOrganizationId(organizationId, projectId, environmentId, options).then((request) => request(this.axios, this.basePath));
16592
+ }
16511
16593
  }
16512
16594
  /**
16513
16595
  * DeploymentStageMainCallsApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.532",
3
+ "version": "v1.1.534",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {