qovery-typescript-axios 1.1.120 → 1.1.121

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
@@ -7860,6 +7860,75 @@ export interface InlineResponse200 {
7860
7860
  */
7861
7861
  'databases'?: Array<Status>;
7862
7862
  }
7863
+ /**
7864
+ *
7865
+ * @export
7866
+ * @interface InlineResponse2001
7867
+ */
7868
+ export interface InlineResponse2001 {
7869
+ /**
7870
+ *
7871
+ * @type {Status}
7872
+ * @memberof InlineResponse2001
7873
+ */
7874
+ 'environment'?: Status;
7875
+ /**
7876
+ *
7877
+ * @type {InlineResponse2001Stages}
7878
+ * @memberof InlineResponse2001
7879
+ */
7880
+ 'stages'?: InlineResponse2001Stages;
7881
+ }
7882
+ /**
7883
+ *
7884
+ * @export
7885
+ * @interface InlineResponse2001Stages
7886
+ */
7887
+ export interface InlineResponse2001Stages {
7888
+ /**
7889
+ *
7890
+ * @type {Array<InlineResponse2001StagesResults>}
7891
+ * @memberof InlineResponse2001Stages
7892
+ */
7893
+ 'results'?: Array<InlineResponse2001StagesResults>;
7894
+ }
7895
+ /**
7896
+ *
7897
+ * @export
7898
+ * @interface InlineResponse2001StagesResults
7899
+ */
7900
+ export interface InlineResponse2001StagesResults {
7901
+ /**
7902
+ *
7903
+ * @type {Array<Status>}
7904
+ * @memberof InlineResponse2001StagesResults
7905
+ */
7906
+ 'applications'?: Array<Status>;
7907
+ /**
7908
+ *
7909
+ * @type {Array<Status>}
7910
+ * @memberof InlineResponse2001StagesResults
7911
+ */
7912
+ 'containers'?: Array<Status>;
7913
+ /**
7914
+ *
7915
+ * @type {Array<Status>}
7916
+ * @memberof InlineResponse2001StagesResults
7917
+ */
7918
+ 'jobs'?: Array<Status>;
7919
+ /**
7920
+ *
7921
+ * @type {Array<Status>}
7922
+ * @memberof InlineResponse2001StagesResults
7923
+ */
7924
+ 'databases'?: Array<Status>;
7925
+ /**
7926
+ *
7927
+ * @type {Stage}
7928
+ * @memberof InlineResponse2001StagesResults
7929
+ */
7930
+ 'stage'?: Stage;
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
@@ -7807,6 +7807,75 @@ export interface InlineResponse200 {
7807
7807
  */
7808
7808
  'databases'?: Array<Status>;
7809
7809
  }
7810
+ /**
7811
+ *
7812
+ * @export
7813
+ * @interface InlineResponse2001
7814
+ */
7815
+ export interface InlineResponse2001 {
7816
+ /**
7817
+ *
7818
+ * @type {Status}
7819
+ * @memberof InlineResponse2001
7820
+ */
7821
+ 'environment'?: Status;
7822
+ /**
7823
+ *
7824
+ * @type {InlineResponse2001Stages}
7825
+ * @memberof InlineResponse2001
7826
+ */
7827
+ 'stages'?: InlineResponse2001Stages;
7828
+ }
7829
+ /**
7830
+ *
7831
+ * @export
7832
+ * @interface InlineResponse2001Stages
7833
+ */
7834
+ export interface InlineResponse2001Stages {
7835
+ /**
7836
+ *
7837
+ * @type {Array<InlineResponse2001StagesResults>}
7838
+ * @memberof InlineResponse2001Stages
7839
+ */
7840
+ 'results'?: Array<InlineResponse2001StagesResults>;
7841
+ }
7842
+ /**
7843
+ *
7844
+ * @export
7845
+ * @interface InlineResponse2001StagesResults
7846
+ */
7847
+ export interface InlineResponse2001StagesResults {
7848
+ /**
7849
+ *
7850
+ * @type {Array<Status>}
7851
+ * @memberof InlineResponse2001StagesResults
7852
+ */
7853
+ 'applications'?: Array<Status>;
7854
+ /**
7855
+ *
7856
+ * @type {Array<Status>}
7857
+ * @memberof InlineResponse2001StagesResults
7858
+ */
7859
+ 'containers'?: Array<Status>;
7860
+ /**
7861
+ *
7862
+ * @type {Array<Status>}
7863
+ * @memberof InlineResponse2001StagesResults
7864
+ */
7865
+ 'jobs'?: Array<Status>;
7866
+ /**
7867
+ *
7868
+ * @type {Array<Status>}
7869
+ * @memberof InlineResponse2001StagesResults
7870
+ */
7871
+ 'databases'?: Array<Status>;
7872
+ /**
7873
+ *
7874
+ * @type {Stage}
7875
+ * @memberof InlineResponse2001StagesResults
7876
+ */
7877
+ 'stage'?: Stage;
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.121",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [