qovery-typescript-axios 1.1.79 → 1.1.81

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
@@ -11985,7 +11985,11 @@ export enum StateEnum {
11985
11985
  STOPPED = 'STOPPED',
11986
11986
  STOPPING = 'STOPPING',
11987
11987
  STOP_ERROR = 'STOP_ERROR',
11988
- STOP_QUEUED = 'STOP_QUEUED'
11988
+ STOP_QUEUED = 'STOP_QUEUED',
11989
+ RESTART_QUEUED = 'RESTART_QUEUED',
11990
+ RESTARTING = 'RESTARTING',
11991
+ RESTARTED = 'RESTARTED',
11992
+ RESTARTED_ERROR = 'RESTARTED_ERROR'
11989
11993
  }
11990
11994
 
11991
11995
  /**
@@ -18430,11 +18434,15 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
18430
18434
  /**
18431
18435
  *
18432
18436
  * @summary List AWS EKS available instance types
18437
+ * @param {string} region region name
18433
18438
  * @param {*} [options] Override http request option.
18434
18439
  * @throws {RequiredError}
18435
18440
  */
18436
- listAWSEKSInstanceType: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18437
- const localVarPath = `/aws/eks/instanceType/{region}`;
18441
+ listAWSEKSInstanceType: async (region: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
18442
+ // verify required parameter 'region' is not null or undefined
18443
+ assertParamExists('listAWSEKSInstanceType', 'region', region)
18444
+ const localVarPath = `/aws/eks/instanceType/{region}`
18445
+ .replace(`{${"region"}}`, encodeURIComponent(String(region)));
18438
18446
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
18439
18447
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18440
18448
  let baseOptions;
@@ -18890,11 +18898,12 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
18890
18898
  /**
18891
18899
  *
18892
18900
  * @summary List AWS EKS available instance types
18901
+ * @param {string} region region name
18893
18902
  * @param {*} [options] Override http request option.
18894
18903
  * @throws {RequiredError}
18895
18904
  */
18896
- async listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
18897
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(options);
18905
+ async listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
18906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(region, options);
18898
18907
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
18899
18908
  },
18900
18909
  /**
@@ -19032,11 +19041,12 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
19032
19041
  /**
19033
19042
  *
19034
19043
  * @summary List AWS EKS available instance types
19044
+ * @param {string} region region name
19035
19045
  * @param {*} [options] Override http request option.
19036
19046
  * @throws {RequiredError}
19037
19047
  */
19038
- listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
19039
- return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
19048
+ listAWSEKSInstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
19049
+ return localVarFp.listAWSEKSInstanceType(region, options).then((request) => request(axios, basePath));
19040
19050
  },
19041
19051
  /**
19042
19052
  *
@@ -19161,12 +19171,13 @@ export class CloudProviderApi extends BaseAPI {
19161
19171
  /**
19162
19172
  *
19163
19173
  * @summary List AWS EKS available instance types
19174
+ * @param {string} region region name
19164
19175
  * @param {*} [options] Override http request option.
19165
19176
  * @throws {RequiredError}
19166
19177
  * @memberof CloudProviderApi
19167
19178
  */
19168
- public listAWSEKSInstanceType(options?: AxiosRequestConfig) {
19169
- return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
19179
+ public listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig) {
19180
+ return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, options).then((request) => request(this.axios, this.basePath));
19170
19181
  }
19171
19182
 
19172
19183
  /**
package/dist/api.d.ts CHANGED
@@ -11895,7 +11895,11 @@ export declare enum StateEnum {
11895
11895
  STOPPED = "STOPPED",
11896
11896
  STOPPING = "STOPPING",
11897
11897
  STOP_ERROR = "STOP_ERROR",
11898
- STOP_QUEUED = "STOP_QUEUED"
11898
+ STOP_QUEUED = "STOP_QUEUED",
11899
+ RESTART_QUEUED = "RESTART_QUEUED",
11900
+ RESTARTING = "RESTARTING",
11901
+ RESTARTED = "RESTARTED",
11902
+ RESTARTED_ERROR = "RESTARTED_ERROR"
11899
11903
  }
11900
11904
  /**
11901
11905
  *
@@ -15264,10 +15268,11 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
15264
15268
  /**
15265
15269
  *
15266
15270
  * @summary List AWS EKS available instance types
15271
+ * @param {string} region region name
15267
15272
  * @param {*} [options] Override http request option.
15268
15273
  * @throws {RequiredError}
15269
15274
  */
15270
- listAWSEKSInstanceType: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
15275
+ listAWSEKSInstanceType: (region: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
15271
15276
  /**
15272
15277
  *
15273
15278
  * @summary List AWS EC2 available instance types
@@ -15363,10 +15368,11 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
15363
15368
  /**
15364
15369
  *
15365
15370
  * @summary List AWS EKS available instance types
15371
+ * @param {string} region region name
15366
15372
  * @param {*} [options] Override http request option.
15367
15373
  * @throws {RequiredError}
15368
15374
  */
15369
- listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
15375
+ listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
15370
15376
  /**
15371
15377
  *
15372
15378
  * @summary List AWS EC2 available instance types
@@ -15462,10 +15468,11 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
15462
15468
  /**
15463
15469
  *
15464
15470
  * @summary List AWS EKS available instance types
15471
+ * @param {string} region region name
15465
15472
  * @param {*} [options] Override http request option.
15466
15473
  * @throws {RequiredError}
15467
15474
  */
15468
- listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
15475
+ listAWSEKSInstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
15469
15476
  /**
15470
15477
  *
15471
15478
  * @summary List AWS EC2 available instance types
@@ -15563,11 +15570,12 @@ export declare class CloudProviderApi extends BaseAPI {
15563
15570
  /**
15564
15571
  *
15565
15572
  * @summary List AWS EKS available instance types
15573
+ * @param {string} region region name
15566
15574
  * @param {*} [options] Override http request option.
15567
15575
  * @throws {RequiredError}
15568
15576
  * @memberof CloudProviderApi
15569
15577
  */
15570
- listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
15578
+ listAWSEKSInstanceType(region: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
15571
15579
  /**
15572
15580
  *
15573
15581
  * @summary List AWS EC2 available instance types
package/dist/api.js CHANGED
@@ -558,6 +558,10 @@ var StateEnum;
558
558
  StateEnum["STOPPING"] = "STOPPING";
559
559
  StateEnum["STOP_ERROR"] = "STOP_ERROR";
560
560
  StateEnum["STOP_QUEUED"] = "STOP_QUEUED";
561
+ StateEnum["RESTART_QUEUED"] = "RESTART_QUEUED";
562
+ StateEnum["RESTARTING"] = "RESTARTING";
563
+ StateEnum["RESTARTED"] = "RESTARTED";
564
+ StateEnum["RESTARTED_ERROR"] = "RESTARTED_ERROR";
561
565
  })(StateEnum = exports.StateEnum || (exports.StateEnum = {}));
562
566
  /**
563
567
  *
@@ -6226,11 +6230,15 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
6226
6230
  /**
6227
6231
  *
6228
6232
  * @summary List AWS EKS available instance types
6233
+ * @param {string} region region name
6229
6234
  * @param {*} [options] Override http request option.
6230
6235
  * @throws {RequiredError}
6231
6236
  */
6232
- listAWSEKSInstanceType: (options = {}) => __awaiter(this, void 0, void 0, function* () {
6233
- const localVarPath = `/aws/eks/instanceType/{region}`;
6237
+ listAWSEKSInstanceType: (region, options = {}) => __awaiter(this, void 0, void 0, function* () {
6238
+ // verify required parameter 'region' is not null or undefined
6239
+ (0, common_1.assertParamExists)('listAWSEKSInstanceType', 'region', region);
6240
+ const localVarPath = `/aws/eks/instanceType/{region}`
6241
+ .replace(`{${"region"}}`, encodeURIComponent(String(region)));
6234
6242
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6235
6243
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6236
6244
  let baseOptions;
@@ -6608,12 +6616,13 @@ const CloudProviderApiFp = function (configuration) {
6608
6616
  /**
6609
6617
  *
6610
6618
  * @summary List AWS EKS available instance types
6619
+ * @param {string} region region name
6611
6620
  * @param {*} [options] Override http request option.
6612
6621
  * @throws {RequiredError}
6613
6622
  */
6614
- listAWSEKSInstanceType(options) {
6623
+ listAWSEKSInstanceType(region, options) {
6615
6624
  return __awaiter(this, void 0, void 0, function* () {
6616
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(options);
6625
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(region, options);
6617
6626
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
6618
6627
  });
6619
6628
  },
@@ -6776,11 +6785,12 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
6776
6785
  /**
6777
6786
  *
6778
6787
  * @summary List AWS EKS available instance types
6788
+ * @param {string} region region name
6779
6789
  * @param {*} [options] Override http request option.
6780
6790
  * @throws {RequiredError}
6781
6791
  */
6782
- listAWSEKSInstanceType(options) {
6783
- return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
6792
+ listAWSEKSInstanceType(region, options) {
6793
+ return localVarFp.listAWSEKSInstanceType(region, options).then((request) => request(axios, basePath));
6784
6794
  },
6785
6795
  /**
6786
6796
  *
@@ -6905,12 +6915,13 @@ class CloudProviderApi extends base_1.BaseAPI {
6905
6915
  /**
6906
6916
  *
6907
6917
  * @summary List AWS EKS available instance types
6918
+ * @param {string} region region name
6908
6919
  * @param {*} [options] Override http request option.
6909
6920
  * @throws {RequiredError}
6910
6921
  * @memberof CloudProviderApi
6911
6922
  */
6912
- listAWSEKSInstanceType(options) {
6913
- return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
6923
+ listAWSEKSInstanceType(region, options) {
6924
+ return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(region, options).then((request) => request(this.axios, this.basePath));
6914
6925
  }
6915
6926
  /**
6916
6927
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.79",
3
+ "version": "v1.1.81",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [