qovery-typescript-axios 1.1.98 → 1.1.100

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
@@ -7175,7 +7175,7 @@ export interface EnvironmentVariable {
7175
7175
  * @type {APIVariableTypeEnum}
7176
7176
  * @memberof EnvironmentVariable
7177
7177
  */
7178
- 'type'?: APIVariableTypeEnum;
7178
+ 'variable_type'?: APIVariableTypeEnum;
7179
7179
  /**
7180
7180
  * present only for `BUILT_IN` variable
7181
7181
  * @type {string}
@@ -7267,7 +7267,7 @@ export interface EnvironmentVariableAllOf {
7267
7267
  * @type {APIVariableTypeEnum}
7268
7268
  * @memberof EnvironmentVariableAllOf
7269
7269
  */
7270
- 'type'?: APIVariableTypeEnum;
7270
+ 'variable_type'?: APIVariableTypeEnum;
7271
7271
  /**
7272
7272
  * present only for `BUILT_IN` variable
7273
7273
  * @type {string}
@@ -11514,7 +11514,7 @@ export interface Secret {
11514
11514
  * @type {APIVariableTypeEnum}
11515
11515
  * @memberof Secret
11516
11516
  */
11517
- 'type'?: APIVariableTypeEnum;
11517
+ 'variable_type'?: APIVariableTypeEnum;
11518
11518
  /**
11519
11519
  * present only for `BUILT_IN` variable
11520
11520
  * @type {string}
@@ -11606,7 +11606,7 @@ export interface SecretAllOf {
11606
11606
  * @type {APIVariableTypeEnum}
11607
11607
  * @memberof SecretAllOf
11608
11608
  */
11609
- 'type'?: APIVariableTypeEnum;
11609
+ 'variable_type'?: APIVariableTypeEnum;
11610
11610
  /**
11611
11611
  * present only for `BUILT_IN` variable
11612
11612
  * @type {string}
@@ -30648,6 +30648,44 @@ export const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configura
30648
30648
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30649
30649
  localVarRequestOptions.data = serializeDataIfNeeded(environmentDeploymentRuleEditRequest, localVarRequestOptions, configuration)
30650
30650
 
30651
+ return {
30652
+ url: toPathString(localVarUrlObj),
30653
+ options: localVarRequestOptions,
30654
+ };
30655
+ },
30656
+ /**
30657
+ *
30658
+ * @summary Get environment deployment rule
30659
+ * @param {string} environmentId Environment ID
30660
+ * @param {*} [options] Override http request option.
30661
+ * @throws {RequiredError}
30662
+ */
30663
+ getEnvironmentDeploymentRule: async (environmentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
30664
+ // verify required parameter 'environmentId' is not null or undefined
30665
+ assertParamExists('getEnvironmentDeploymentRule', 'environmentId', environmentId)
30666
+ const localVarPath = `/environment/{environmentId}/deploymentRule`
30667
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
30668
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30669
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30670
+ let baseOptions;
30671
+ if (configuration) {
30672
+ baseOptions = configuration.baseOptions;
30673
+ }
30674
+
30675
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30676
+ const localVarHeaderParameter = {} as any;
30677
+ const localVarQueryParameter = {} as any;
30678
+
30679
+ // authentication bearerAuth required
30680
+ // http bearer authentication required
30681
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
30682
+
30683
+
30684
+
30685
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30686
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30687
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30688
+
30651
30689
  return {
30652
30690
  url: toPathString(localVarUrlObj),
30653
30691
  options: localVarRequestOptions,
@@ -30676,6 +30714,17 @@ export const EnvironmentDeploymentRuleApiFp = function(configuration?: Configura
30676
30714
  const localVarAxiosArgs = await localVarAxiosParamCreator.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options);
30677
30715
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30678
30716
  },
30717
+ /**
30718
+ *
30719
+ * @summary Get environment deployment rule
30720
+ * @param {string} environmentId Environment ID
30721
+ * @param {*} [options] Override http request option.
30722
+ * @throws {RequiredError}
30723
+ */
30724
+ async getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>> {
30725
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEnvironmentDeploymentRule(environmentId, options);
30726
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
30727
+ },
30679
30728
  }
30680
30729
  };
30681
30730
 
@@ -30698,6 +30747,16 @@ export const EnvironmentDeploymentRuleApiFactory = function (configuration?: Con
30698
30747
  editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: any): AxiosPromise<EnvironmentDeploymentRule> {
30699
30748
  return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
30700
30749
  },
30750
+ /**
30751
+ *
30752
+ * @summary Get environment deployment rule
30753
+ * @param {string} environmentId Environment ID
30754
+ * @param {*} [options] Override http request option.
30755
+ * @throws {RequiredError}
30756
+ */
30757
+ getEnvironmentDeploymentRule(environmentId: string, options?: any): AxiosPromise<EnvironmentDeploymentRule> {
30758
+ return localVarFp.getEnvironmentDeploymentRule(environmentId, options).then((request) => request(axios, basePath));
30759
+ },
30701
30760
  };
30702
30761
  };
30703
30762
 
@@ -30721,6 +30780,18 @@ export class EnvironmentDeploymentRuleApi extends BaseAPI {
30721
30780
  public editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig) {
30722
30781
  return EnvironmentDeploymentRuleApiFp(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
30723
30782
  }
30783
+
30784
+ /**
30785
+ *
30786
+ * @summary Get environment deployment rule
30787
+ * @param {string} environmentId Environment ID
30788
+ * @param {*} [options] Override http request option.
30789
+ * @throws {RequiredError}
30790
+ * @memberof EnvironmentDeploymentRuleApi
30791
+ */
30792
+ public getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig) {
30793
+ return EnvironmentDeploymentRuleApiFp(this.configuration).getEnvironmentDeploymentRule(environmentId, options).then((request) => request(this.axios, this.basePath));
30794
+ }
30724
30795
  }
30725
30796
 
30726
30797
 
package/dist/api.d.ts CHANGED
@@ -7126,7 +7126,7 @@ export interface EnvironmentVariable {
7126
7126
  * @type {APIVariableTypeEnum}
7127
7127
  * @memberof EnvironmentVariable
7128
7128
  */
7129
- 'type'?: APIVariableTypeEnum;
7129
+ 'variable_type'?: APIVariableTypeEnum;
7130
7130
  /**
7131
7131
  * present only for `BUILT_IN` variable
7132
7132
  * @type {string}
@@ -7218,7 +7218,7 @@ export interface EnvironmentVariableAllOf {
7218
7218
  * @type {APIVariableTypeEnum}
7219
7219
  * @memberof EnvironmentVariableAllOf
7220
7220
  */
7221
- 'type'?: APIVariableTypeEnum;
7221
+ 'variable_type'?: APIVariableTypeEnum;
7222
7222
  /**
7223
7223
  * present only for `BUILT_IN` variable
7224
7224
  * @type {string}
@@ -11429,7 +11429,7 @@ export interface Secret {
11429
11429
  * @type {APIVariableTypeEnum}
11430
11430
  * @memberof Secret
11431
11431
  */
11432
- 'type'?: APIVariableTypeEnum;
11432
+ 'variable_type'?: APIVariableTypeEnum;
11433
11433
  /**
11434
11434
  * present only for `BUILT_IN` variable
11435
11435
  * @type {string}
@@ -11521,7 +11521,7 @@ export interface SecretAllOf {
11521
11521
  * @type {APIVariableTypeEnum}
11522
11522
  * @memberof SecretAllOf
11523
11523
  */
11524
- 'type'?: APIVariableTypeEnum;
11524
+ 'variable_type'?: APIVariableTypeEnum;
11525
11525
  /**
11526
11526
  * present only for `BUILT_IN` variable
11527
11527
  * @type {string}
@@ -21367,6 +21367,14 @@ export declare const EnvironmentDeploymentRuleApiAxiosParamCreator: (configurati
21367
21367
  * @throws {RequiredError}
21368
21368
  */
21369
21369
  editEnvironmentDeploymentRule: (environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21370
+ /**
21371
+ *
21372
+ * @summary Get environment deployment rule
21373
+ * @param {string} environmentId Environment ID
21374
+ * @param {*} [options] Override http request option.
21375
+ * @throws {RequiredError}
21376
+ */
21377
+ getEnvironmentDeploymentRule: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
21370
21378
  };
21371
21379
  /**
21372
21380
  * EnvironmentDeploymentRuleApi - functional programming interface
@@ -21383,6 +21391,14 @@ export declare const EnvironmentDeploymentRuleApiFp: (configuration?: Configurat
21383
21391
  * @throws {RequiredError}
21384
21392
  */
21385
21393
  editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>>;
21394
+ /**
21395
+ *
21396
+ * @summary Get environment deployment rule
21397
+ * @param {string} environmentId Environment ID
21398
+ * @param {*} [options] Override http request option.
21399
+ * @throws {RequiredError}
21400
+ */
21401
+ getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentDeploymentRule>>;
21386
21402
  };
21387
21403
  /**
21388
21404
  * EnvironmentDeploymentRuleApi - factory interface
@@ -21399,6 +21415,14 @@ export declare const EnvironmentDeploymentRuleApiFactory: (configuration?: Confi
21399
21415
  * @throws {RequiredError}
21400
21416
  */
21401
21417
  editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: any): AxiosPromise<EnvironmentDeploymentRule>;
21418
+ /**
21419
+ *
21420
+ * @summary Get environment deployment rule
21421
+ * @param {string} environmentId Environment ID
21422
+ * @param {*} [options] Override http request option.
21423
+ * @throws {RequiredError}
21424
+ */
21425
+ getEnvironmentDeploymentRule(environmentId: string, options?: any): AxiosPromise<EnvironmentDeploymentRule>;
21402
21426
  };
21403
21427
  /**
21404
21428
  * EnvironmentDeploymentRuleApi - object-oriented interface
@@ -21418,6 +21442,15 @@ export declare class EnvironmentDeploymentRuleApi extends BaseAPI {
21418
21442
  * @memberof EnvironmentDeploymentRuleApi
21419
21443
  */
21420
21444
  editEnvironmentDeploymentRule(environmentId: string, deploymentRuleId: string, environmentDeploymentRuleEditRequest?: EnvironmentDeploymentRuleEditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDeploymentRule>>;
21445
+ /**
21446
+ *
21447
+ * @summary Get environment deployment rule
21448
+ * @param {string} environmentId Environment ID
21449
+ * @param {*} [options] Override http request option.
21450
+ * @throws {RequiredError}
21451
+ * @memberof EnvironmentDeploymentRuleApi
21452
+ */
21453
+ getEnvironmentDeploymentRule(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentDeploymentRule>>;
21421
21454
  }
21422
21455
  /**
21423
21456
  * EnvironmentLogsApi - axios parameter creator
package/dist/api.js CHANGED
@@ -17356,6 +17356,38 @@ const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configuration) {
17356
17356
  options: localVarRequestOptions,
17357
17357
  };
17358
17358
  }),
17359
+ /**
17360
+ *
17361
+ * @summary Get environment deployment rule
17362
+ * @param {string} environmentId Environment ID
17363
+ * @param {*} [options] Override http request option.
17364
+ * @throws {RequiredError}
17365
+ */
17366
+ getEnvironmentDeploymentRule: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
17367
+ // verify required parameter 'environmentId' is not null or undefined
17368
+ (0, common_1.assertParamExists)('getEnvironmentDeploymentRule', 'environmentId', environmentId);
17369
+ const localVarPath = `/environment/{environmentId}/deploymentRule`
17370
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
17371
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17372
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17373
+ let baseOptions;
17374
+ if (configuration) {
17375
+ baseOptions = configuration.baseOptions;
17376
+ }
17377
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
17378
+ const localVarHeaderParameter = {};
17379
+ const localVarQueryParameter = {};
17380
+ // authentication bearerAuth required
17381
+ // http bearer authentication required
17382
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
17383
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17384
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17385
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17386
+ return {
17387
+ url: (0, common_1.toPathString)(localVarUrlObj),
17388
+ options: localVarRequestOptions,
17389
+ };
17390
+ }),
17359
17391
  };
17360
17392
  };
17361
17393
  exports.EnvironmentDeploymentRuleApiAxiosParamCreator = EnvironmentDeploymentRuleApiAxiosParamCreator;
@@ -17381,6 +17413,19 @@ const EnvironmentDeploymentRuleApiFp = function (configuration) {
17381
17413
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
17382
17414
  });
17383
17415
  },
17416
+ /**
17417
+ *
17418
+ * @summary Get environment deployment rule
17419
+ * @param {string} environmentId Environment ID
17420
+ * @param {*} [options] Override http request option.
17421
+ * @throws {RequiredError}
17422
+ */
17423
+ getEnvironmentDeploymentRule(environmentId, options) {
17424
+ return __awaiter(this, void 0, void 0, function* () {
17425
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentDeploymentRule(environmentId, options);
17426
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
17427
+ });
17428
+ },
17384
17429
  };
17385
17430
  };
17386
17431
  exports.EnvironmentDeploymentRuleApiFp = EnvironmentDeploymentRuleApiFp;
@@ -17403,6 +17448,16 @@ const EnvironmentDeploymentRuleApiFactory = function (configuration, basePath, a
17403
17448
  editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
17404
17449
  return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
17405
17450
  },
17451
+ /**
17452
+ *
17453
+ * @summary Get environment deployment rule
17454
+ * @param {string} environmentId Environment ID
17455
+ * @param {*} [options] Override http request option.
17456
+ * @throws {RequiredError}
17457
+ */
17458
+ getEnvironmentDeploymentRule(environmentId, options) {
17459
+ return localVarFp.getEnvironmentDeploymentRule(environmentId, options).then((request) => request(axios, basePath));
17460
+ },
17406
17461
  };
17407
17462
  };
17408
17463
  exports.EnvironmentDeploymentRuleApiFactory = EnvironmentDeploymentRuleApiFactory;
@@ -17426,6 +17481,17 @@ class EnvironmentDeploymentRuleApi extends base_1.BaseAPI {
17426
17481
  editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
17427
17482
  return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
17428
17483
  }
17484
+ /**
17485
+ *
17486
+ * @summary Get environment deployment rule
17487
+ * @param {string} environmentId Environment ID
17488
+ * @param {*} [options] Override http request option.
17489
+ * @throws {RequiredError}
17490
+ * @memberof EnvironmentDeploymentRuleApi
17491
+ */
17492
+ getEnvironmentDeploymentRule(environmentId, options) {
17493
+ return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).getEnvironmentDeploymentRule(environmentId, options).then((request) => request(this.axios, this.basePath));
17494
+ }
17429
17495
  }
17430
17496
  exports.EnvironmentDeploymentRuleApi = EnvironmentDeploymentRuleApi;
17431
17497
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.98",
3
+ "version": "v1.1.100",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [