qovery-typescript-axios 1.1.120 → 1.1.122

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
@@ -5984,6 +5984,56 @@ export interface DeploymentStageServiceResponseAllOf {
5984
5984
  */
5985
5985
  'service_type'?: string;
5986
5986
  }
5987
+ /**
5988
+ *
5989
+ * @export
5990
+ * @interface DeploymentStageWithServiceStatusesList
5991
+ */
5992
+ export interface DeploymentStageWithServiceStatusesList {
5993
+ /**
5994
+ *
5995
+ * @type {Array<DeploymentStageWithServicesStatuses>}
5996
+ * @memberof DeploymentStageWithServiceStatusesList
5997
+ */
5998
+ 'results'?: Array<DeploymentStageWithServicesStatuses>;
5999
+ }
6000
+ /**
6001
+ *
6002
+ * @export
6003
+ * @interface DeploymentStageWithServicesStatuses
6004
+ */
6005
+ export interface DeploymentStageWithServicesStatuses {
6006
+ /**
6007
+ *
6008
+ * @type {Array<Status>}
6009
+ * @memberof DeploymentStageWithServicesStatuses
6010
+ */
6011
+ 'applications'?: Array<Status>;
6012
+ /**
6013
+ *
6014
+ * @type {Array<Status>}
6015
+ * @memberof DeploymentStageWithServicesStatuses
6016
+ */
6017
+ 'containers'?: Array<Status>;
6018
+ /**
6019
+ *
6020
+ * @type {Array<Status>}
6021
+ * @memberof DeploymentStageWithServicesStatuses
6022
+ */
6023
+ 'jobs'?: Array<Status>;
6024
+ /**
6025
+ *
6026
+ * @type {Array<Status>}
6027
+ * @memberof DeploymentStageWithServicesStatuses
6028
+ */
6029
+ 'databases'?: Array<Status>;
6030
+ /**
6031
+ *
6032
+ * @type {Stage}
6033
+ * @memberof DeploymentStageWithServicesStatuses
6034
+ */
6035
+ 'stage'?: Stage;
6036
+ }
5987
6037
  /**
5988
6038
  *
5989
6039
  * @export
@@ -7860,6 +7910,25 @@ export interface InlineResponse200 {
7860
7910
  */
7861
7911
  'databases'?: Array<Status>;
7862
7912
  }
7913
+ /**
7914
+ *
7915
+ * @export
7916
+ * @interface InlineResponse2001
7917
+ */
7918
+ export interface InlineResponse2001 {
7919
+ /**
7920
+ *
7921
+ * @type {Status}
7922
+ * @memberof InlineResponse2001
7923
+ */
7924
+ 'environment'?: Status;
7925
+ /**
7926
+ *
7927
+ * @type {DeploymentStageWithServiceStatusesList}
7928
+ * @memberof InlineResponse2001
7929
+ */
7930
+ 'stages'?: DeploymentStageWithServiceStatusesList;
7931
+ }
7863
7932
  /**
7864
7933
  *
7865
7934
  * @export
@@ -12333,6 +12402,25 @@ export interface SignUpRequest {
12333
12402
  */
12334
12403
  'dx_auth'?: boolean | null;
12335
12404
  }
12405
+ /**
12406
+ *
12407
+ * @export
12408
+ * @interface Stage
12409
+ */
12410
+ export interface Stage {
12411
+ /**
12412
+ *
12413
+ * @type {string}
12414
+ * @memberof Stage
12415
+ */
12416
+ 'id': string;
12417
+ /**
12418
+ * stage name
12419
+ * @type {string}
12420
+ * @memberof Stage
12421
+ */
12422
+ 'name': string;
12423
+ }
12336
12424
  /**
12337
12425
  *
12338
12426
  * @export
@@ -31285,6 +31373,44 @@ export const EnvironmentMainCallsApiAxiosParamCreator = function (configuration?
31285
31373
 
31286
31374
 
31287
31375
 
31376
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31377
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31378
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31379
+
31380
+ return {
31381
+ url: toPathString(localVarUrlObj),
31382
+ options: localVarRequestOptions,
31383
+ };
31384
+ },
31385
+ /**
31386
+ *
31387
+ * @summary Get environment statuses with stages
31388
+ * @param {string} environmentId Environment ID
31389
+ * @param {*} [options] Override http request option.
31390
+ * @throws {RequiredError}
31391
+ */
31392
+ getEnvironmentStatusesWithStages: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31393
+ // verify required parameter 'environmentId' is not null or undefined
31394
+ assertParamExists('getEnvironmentStatusesWithStages', 'environmentId', environmentId)
31395
+ const localVarPath = `/environment/{environmentId}/statusesWithStages`
31396
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
31397
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31398
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31399
+ let baseOptions;
31400
+ if (configuration) {
31401
+ baseOptions = configuration.baseOptions;
31402
+ }
31403
+
31404
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31405
+ const localVarHeaderParameter = {} as any;
31406
+ const localVarQueryParameter = {} as any;
31407
+
31408
+ // authentication bearerAuth required
31409
+ // http bearer authentication required
31410
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
31411
+
31412
+
31413
+
31288
31414
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31289
31415
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31290
31416
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -31360,6 +31486,17 @@ export const EnvironmentMainCallsApiFp = function(configuration?: Configuration)
31360
31486
  const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatuses(environmentId, options);
31361
31487
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31362
31488
  },
31489
+ /**
31490
+ *
31491
+ * @summary Get environment statuses with stages
31492
+ * @param {string} environmentId Environment ID
31493
+ * @param {*} [options] Override http request option.
31494
+ * @throws {RequiredError}
31495
+ */
31496
+ async getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>> {
31497
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentStatusesWithStages(environmentId, options);
31498
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31499
+ },
31363
31500
  }
31364
31501
  };
31365
31502
 
@@ -31421,6 +31558,16 @@ export const EnvironmentMainCallsApiFactory = function (configuration?: Configur
31421
31558
  getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200> {
31422
31559
  return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
31423
31560
  },
31561
+ /**
31562
+ *
31563
+ * @summary Get environment statuses with stages
31564
+ * @param {string} environmentId Environment ID
31565
+ * @param {*} [options] Override http request option.
31566
+ * @throws {RequiredError}
31567
+ */
31568
+ getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2001> {
31569
+ return localVarFp.getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(axios, basePath));
31570
+ },
31424
31571
  };
31425
31572
  };
31426
31573
 
@@ -31491,6 +31638,18 @@ export class EnvironmentMainCallsApi extends BaseAPI {
31491
31638
  public getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig) {
31492
31639
  return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatuses(environmentId, options).then((request) => request(this.axios, this.basePath));
31493
31640
  }
31641
+
31642
+ /**
31643
+ *
31644
+ * @summary Get environment statuses with stages
31645
+ * @param {string} environmentId Environment ID
31646
+ * @param {*} [options] Override http request option.
31647
+ * @throws {RequiredError}
31648
+ * @memberof EnvironmentMainCallsApi
31649
+ */
31650
+ public getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig) {
31651
+ return EnvironmentMainCallsApiFp(this.configuration).getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(this.axios, this.basePath));
31652
+ }
31494
31653
  }
31495
31654
 
31496
31655
 
package/dist/api.d.ts CHANGED
@@ -5939,6 +5939,56 @@ export interface DeploymentStageServiceResponseAllOf {
5939
5939
  */
5940
5940
  'service_type'?: string;
5941
5941
  }
5942
+ /**
5943
+ *
5944
+ * @export
5945
+ * @interface DeploymentStageWithServiceStatusesList
5946
+ */
5947
+ export interface DeploymentStageWithServiceStatusesList {
5948
+ /**
5949
+ *
5950
+ * @type {Array<DeploymentStageWithServicesStatuses>}
5951
+ * @memberof DeploymentStageWithServiceStatusesList
5952
+ */
5953
+ 'results'?: Array<DeploymentStageWithServicesStatuses>;
5954
+ }
5955
+ /**
5956
+ *
5957
+ * @export
5958
+ * @interface DeploymentStageWithServicesStatuses
5959
+ */
5960
+ export interface DeploymentStageWithServicesStatuses {
5961
+ /**
5962
+ *
5963
+ * @type {Array<Status>}
5964
+ * @memberof DeploymentStageWithServicesStatuses
5965
+ */
5966
+ 'applications'?: Array<Status>;
5967
+ /**
5968
+ *
5969
+ * @type {Array<Status>}
5970
+ * @memberof DeploymentStageWithServicesStatuses
5971
+ */
5972
+ 'containers'?: Array<Status>;
5973
+ /**
5974
+ *
5975
+ * @type {Array<Status>}
5976
+ * @memberof DeploymentStageWithServicesStatuses
5977
+ */
5978
+ 'jobs'?: Array<Status>;
5979
+ /**
5980
+ *
5981
+ * @type {Array<Status>}
5982
+ * @memberof DeploymentStageWithServicesStatuses
5983
+ */
5984
+ 'databases'?: Array<Status>;
5985
+ /**
5986
+ *
5987
+ * @type {Stage}
5988
+ * @memberof DeploymentStageWithServicesStatuses
5989
+ */
5990
+ 'stage'?: Stage;
5991
+ }
5942
5992
  /**
5943
5993
  *
5944
5994
  * @export
@@ -7807,6 +7857,25 @@ export interface InlineResponse200 {
7807
7857
  */
7808
7858
  'databases'?: Array<Status>;
7809
7859
  }
7860
+ /**
7861
+ *
7862
+ * @export
7863
+ * @interface InlineResponse2001
7864
+ */
7865
+ export interface InlineResponse2001 {
7866
+ /**
7867
+ *
7868
+ * @type {Status}
7869
+ * @memberof InlineResponse2001
7870
+ */
7871
+ 'environment'?: Status;
7872
+ /**
7873
+ *
7874
+ * @type {DeploymentStageWithServiceStatusesList}
7875
+ * @memberof InlineResponse2001
7876
+ */
7877
+ 'stages'?: DeploymentStageWithServiceStatusesList;
7878
+ }
7810
7879
  /**
7811
7880
  *
7812
7881
  * @export
@@ -12244,6 +12313,25 @@ export interface SignUpRequest {
12244
12313
  */
12245
12314
  'dx_auth'?: boolean | null;
12246
12315
  }
12316
+ /**
12317
+ *
12318
+ * @export
12319
+ * @interface Stage
12320
+ */
12321
+ export interface Stage {
12322
+ /**
12323
+ *
12324
+ * @type {string}
12325
+ * @memberof Stage
12326
+ */
12327
+ 'id': string;
12328
+ /**
12329
+ * stage name
12330
+ * @type {string}
12331
+ * @memberof Stage
12332
+ */
12333
+ 'name': string;
12334
+ }
12247
12335
  /**
12248
12336
  *
12249
12337
  * @export
@@ -21680,6 +21768,14 @@ export declare const EnvironmentMainCallsApiAxiosParamCreator: (configuration?:
21680
21768
  * @throws {RequiredError}
21681
21769
  */
21682
21770
  getEnvironmentStatuses: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21771
+ /**
21772
+ *
21773
+ * @summary Get environment statuses with stages
21774
+ * @param {string} environmentId Environment ID
21775
+ * @param {*} [options] Override http request option.
21776
+ * @throws {RequiredError}
21777
+ */
21778
+ getEnvironmentStatusesWithStages: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21683
21779
  };
21684
21780
  /**
21685
21781
  * EnvironmentMainCallsApi - functional programming interface
@@ -21727,6 +21823,14 @@ export declare const EnvironmentMainCallsApiFp: (configuration?: Configuration)
21727
21823
  * @throws {RequiredError}
21728
21824
  */
21729
21825
  getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
21826
+ /**
21827
+ *
21828
+ * @summary Get environment statuses with stages
21829
+ * @param {string} environmentId Environment ID
21830
+ * @param {*} [options] Override http request option.
21831
+ * @throws {RequiredError}
21832
+ */
21833
+ getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse2001>>;
21730
21834
  };
21731
21835
  /**
21732
21836
  * EnvironmentMainCallsApi - factory interface
@@ -21774,6 +21878,14 @@ export declare const EnvironmentMainCallsApiFactory: (configuration?: Configurat
21774
21878
  * @throws {RequiredError}
21775
21879
  */
21776
21880
  getEnvironmentStatuses(environmentId: string, options?: any): AxiosPromise<InlineResponse200>;
21881
+ /**
21882
+ *
21883
+ * @summary Get environment statuses with stages
21884
+ * @param {string} environmentId Environment ID
21885
+ * @param {*} [options] Override http request option.
21886
+ * @throws {RequiredError}
21887
+ */
21888
+ getEnvironmentStatusesWithStages(environmentId: string, options?: any): AxiosPromise<InlineResponse2001>;
21777
21889
  };
21778
21890
  /**
21779
21891
  * EnvironmentMainCallsApi - object-oriented interface
@@ -21828,6 +21940,15 @@ export declare class EnvironmentMainCallsApi extends BaseAPI {
21828
21940
  * @memberof EnvironmentMainCallsApi
21829
21941
  */
21830
21942
  getEnvironmentStatuses(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200>>;
21943
+ /**
21944
+ *
21945
+ * @summary Get environment statuses with stages
21946
+ * @param {string} environmentId Environment ID
21947
+ * @param {*} [options] Override http request option.
21948
+ * @throws {RequiredError}
21949
+ * @memberof EnvironmentMainCallsApi
21950
+ */
21951
+ getEnvironmentStatusesWithStages(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse2001>>;
21831
21952
  }
21832
21953
  /**
21833
21954
  * EnvironmentSecretApi - axios parameter creator
package/dist/api.js CHANGED
@@ -17897,6 +17897,38 @@ const EnvironmentMainCallsApiAxiosParamCreator = function (configuration) {
17897
17897
  options: localVarRequestOptions,
17898
17898
  };
17899
17899
  }),
17900
+ /**
17901
+ *
17902
+ * @summary Get environment statuses with stages
17903
+ * @param {string} environmentId Environment ID
17904
+ * @param {*} [options] Override http request option.
17905
+ * @throws {RequiredError}
17906
+ */
17907
+ getEnvironmentStatusesWithStages: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
17908
+ // verify required parameter 'environmentId' is not null or undefined
17909
+ (0, common_1.assertParamExists)('getEnvironmentStatusesWithStages', 'environmentId', environmentId);
17910
+ const localVarPath = `/environment/{environmentId}/statusesWithStages`
17911
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
17912
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17913
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17914
+ let baseOptions;
17915
+ if (configuration) {
17916
+ baseOptions = configuration.baseOptions;
17917
+ }
17918
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
17919
+ const localVarHeaderParameter = {};
17920
+ const localVarQueryParameter = {};
17921
+ // authentication bearerAuth required
17922
+ // http bearer authentication required
17923
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
17924
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17925
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17926
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17927
+ return {
17928
+ url: (0, common_1.toPathString)(localVarUrlObj),
17929
+ options: localVarRequestOptions,
17930
+ };
17931
+ }),
17900
17932
  };
17901
17933
  };
17902
17934
  exports.EnvironmentMainCallsApiAxiosParamCreator = EnvironmentMainCallsApiAxiosParamCreator;
@@ -17973,6 +18005,19 @@ const EnvironmentMainCallsApiFp = function (configuration) {
17973
18005
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
17974
18006
  });
17975
18007
  },
18008
+ /**
18009
+ *
18010
+ * @summary Get environment statuses with stages
18011
+ * @param {string} environmentId Environment ID
18012
+ * @param {*} [options] Override http request option.
18013
+ * @throws {RequiredError}
18014
+ */
18015
+ getEnvironmentStatusesWithStages(environmentId, options) {
18016
+ return __awaiter(this, void 0, void 0, function* () {
18017
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentStatusesWithStages(environmentId, options);
18018
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
18019
+ });
18020
+ },
17976
18021
  };
17977
18022
  };
17978
18023
  exports.EnvironmentMainCallsApiFp = EnvironmentMainCallsApiFp;
@@ -18034,6 +18079,16 @@ const EnvironmentMainCallsApiFactory = function (configuration, basePath, axios)
18034
18079
  getEnvironmentStatuses(environmentId, options) {
18035
18080
  return localVarFp.getEnvironmentStatuses(environmentId, options).then((request) => request(axios, basePath));
18036
18081
  },
18082
+ /**
18083
+ *
18084
+ * @summary Get environment statuses with stages
18085
+ * @param {string} environmentId Environment ID
18086
+ * @param {*} [options] Override http request option.
18087
+ * @throws {RequiredError}
18088
+ */
18089
+ getEnvironmentStatusesWithStages(environmentId, options) {
18090
+ return localVarFp.getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(axios, basePath));
18091
+ },
18037
18092
  };
18038
18093
  };
18039
18094
  exports.EnvironmentMainCallsApiFactory = EnvironmentMainCallsApiFactory;
@@ -18100,6 +18155,17 @@ class EnvironmentMainCallsApi extends base_1.BaseAPI {
18100
18155
  getEnvironmentStatuses(environmentId, options) {
18101
18156
  return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatuses(environmentId, options).then((request) => request(this.axios, this.basePath));
18102
18157
  }
18158
+ /**
18159
+ *
18160
+ * @summary Get environment statuses with stages
18161
+ * @param {string} environmentId Environment ID
18162
+ * @param {*} [options] Override http request option.
18163
+ * @throws {RequiredError}
18164
+ * @memberof EnvironmentMainCallsApi
18165
+ */
18166
+ getEnvironmentStatusesWithStages(environmentId, options) {
18167
+ return (0, exports.EnvironmentMainCallsApiFp)(this.configuration).getEnvironmentStatusesWithStages(environmentId, options).then((request) => request(this.axios, this.basePath));
18168
+ }
18103
18169
  }
18104
18170
  exports.EnvironmentMainCallsApi = EnvironmentMainCallsApi;
18105
18171
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.120",
3
+ "version": "v1.1.122",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [