qovery-typescript-axios 1.1.552 → 1.1.554

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/dist/esm/api.js CHANGED
@@ -74,7 +74,10 @@ export const ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = {
74
74
  ROLLING_UPDATE: 'RollingUpdate',
75
75
  RECREATE: 'Recreate'
76
76
  };
77
- export const AwsClusterCredentialsObjectTypeEnum = {
77
+ export const AwsRoleClusterCredentialsObjectTypeEnum = {
78
+ AWS_ROLE: 'AWS_ROLE'
79
+ };
80
+ export const AwsStaticClusterCredentialsObjectTypeEnum = {
78
81
  AWS: 'AWS'
79
82
  };
80
83
  /**
@@ -9312,6 +9315,56 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
9312
9315
  options: localVarRequestOptions,
9313
9316
  };
9314
9317
  }),
9318
+ /**
9319
+ * List Cluster Kubernetes Events
9320
+ * @summary List Cluster Kubernetes Events
9321
+ * @param {string} clusterId Cluster ID
9322
+ * @param {string} nodeName
9323
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
9324
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
9325
+ * @param {*} [options] Override http request option.
9326
+ * @throws {RequiredError}
9327
+ */
9328
+ getClusterKubernetesEvents: (clusterId, nodeName, fromDateTime, toDateTime, options = {}) => __awaiter(this, void 0, void 0, function* () {
9329
+ // verify required parameter 'clusterId' is not null or undefined
9330
+ assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId);
9331
+ // verify required parameter 'nodeName' is not null or undefined
9332
+ assertParamExists('getClusterKubernetesEvents', 'nodeName', nodeName);
9333
+ // verify required parameter 'fromDateTime' is not null or undefined
9334
+ assertParamExists('getClusterKubernetesEvents', 'fromDateTime', fromDateTime);
9335
+ // verify required parameter 'toDateTime' is not null or undefined
9336
+ assertParamExists('getClusterKubernetesEvents', 'toDateTime', toDateTime);
9337
+ const localVarPath = `/cluster/{clusterId}/events/{nodeName}`
9338
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)))
9339
+ .replace(`{${"nodeName"}}`, encodeURIComponent(String(nodeName)));
9340
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9341
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9342
+ let baseOptions;
9343
+ if (configuration) {
9344
+ baseOptions = configuration.baseOptions;
9345
+ }
9346
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
9347
+ const localVarHeaderParameter = {};
9348
+ const localVarQueryParameter = {};
9349
+ // authentication ApiKeyAuth required
9350
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
9351
+ // authentication bearerAuth required
9352
+ // http bearer authentication required
9353
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
9354
+ if (fromDateTime !== undefined) {
9355
+ localVarQueryParameter['from_date_time'] = fromDateTime;
9356
+ }
9357
+ if (toDateTime !== undefined) {
9358
+ localVarQueryParameter['to_date_time'] = toDateTime;
9359
+ }
9360
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9361
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9362
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9363
+ return {
9364
+ url: toPathString(localVarUrlObj),
9365
+ options: localVarRequestOptions,
9366
+ };
9367
+ }),
9315
9368
  /**
9316
9369
  *
9317
9370
  * @summary Know if a cluster is ready to be deployed or not
@@ -10005,6 +10058,22 @@ export const ClustersApiFp = function (configuration) {
10005
10058
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10006
10059
  });
10007
10060
  },
10061
+ /**
10062
+ * List Cluster Kubernetes Events
10063
+ * @summary List Cluster Kubernetes Events
10064
+ * @param {string} clusterId Cluster ID
10065
+ * @param {string} nodeName
10066
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
10067
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
10068
+ * @param {*} [options] Override http request option.
10069
+ * @throws {RequiredError}
10070
+ */
10071
+ getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
10072
+ return __awaiter(this, void 0, void 0, function* () {
10073
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options);
10074
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
10075
+ });
10076
+ },
10008
10077
  /**
10009
10078
  *
10010
10079
  * @summary Know if a cluster is ready to be deployed or not
@@ -10326,6 +10395,19 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
10326
10395
  getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
10327
10396
  return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
10328
10397
  },
10398
+ /**
10399
+ * List Cluster Kubernetes Events
10400
+ * @summary List Cluster Kubernetes Events
10401
+ * @param {string} clusterId Cluster ID
10402
+ * @param {string} nodeName
10403
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
10404
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
10405
+ * @param {*} [options] Override http request option.
10406
+ * @throws {RequiredError}
10407
+ */
10408
+ getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
10409
+ return localVarFp.getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(axios, basePath));
10410
+ },
10329
10411
  /**
10330
10412
  *
10331
10413
  * @summary Know if a cluster is ready to be deployed or not
@@ -10611,6 +10693,20 @@ export class ClustersApi extends BaseAPI {
10611
10693
  getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
10612
10694
  return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
10613
10695
  }
10696
+ /**
10697
+ * List Cluster Kubernetes Events
10698
+ * @summary List Cluster Kubernetes Events
10699
+ * @param {string} clusterId Cluster ID
10700
+ * @param {string} nodeName
10701
+ * @param {string} fromDateTime The start date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
10702
+ * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The `+` character must be escaped (`%2B`)
10703
+ * @param {*} [options] Override http request option.
10704
+ * @throws {RequiredError}
10705
+ * @memberof ClustersApi
10706
+ */
10707
+ getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options) {
10708
+ return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, nodeName, fromDateTime, toDateTime, options).then((request) => request(this.axios, this.basePath));
10709
+ }
10614
10710
  /**
10615
10711
  *
10616
10712
  * @summary Know if a cluster is ready to be deployed or not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.552",
3
+ "version": "v1.1.554",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {