qovery-typescript-axios 1.1.708 → 1.1.711

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
@@ -56,6 +56,23 @@ export const APIVariableTypeEnum = {
56
56
  export const AksInfrastructureOutputsKindEnum = {
57
57
  AKS: 'AKS'
58
58
  };
59
+ /**
60
+ *
61
+ * @export
62
+ * @enum {string}
63
+ */
64
+ export const AlertReceiverType = {
65
+ SLACK: 'SLACK'
66
+ };
67
+ /**
68
+ * Alert severity level: - WARNING: Non-critical issue requiring attention - CRITICAL: Critical issue requiring immediate action
69
+ * @export
70
+ * @enum {string}
71
+ */
72
+ export const AlertSeverity = {
73
+ WARNING: 'WARNING',
74
+ CRITICAL: 'CRITICAL'
75
+ };
59
76
  /**
60
77
  * Annotations Group Associated Item Type
61
78
  * @export
@@ -1268,6 +1285,723 @@ export class AccountInfoApi extends BaseAPI {
1268
1285
  return AccountInfoApiFp(this.configuration).getAccountInformation(options).then((request) => request(this.axios, this.basePath));
1269
1286
  }
1270
1287
  }
1288
+ /**
1289
+ * AlertReceiversApi - axios parameter creator
1290
+ * @export
1291
+ */
1292
+ export const AlertReceiversApiAxiosParamCreator = function (configuration) {
1293
+ return {
1294
+ /**
1295
+ * Create a new alert receiver
1296
+ * @summary Create alert receiver
1297
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1298
+ * @param {*} [options] Override http request option.
1299
+ * @throws {RequiredError}
1300
+ */
1301
+ createAlertReceiver: (alertReceiverCreationRequest_1, ...args_1) => __awaiter(this, [alertReceiverCreationRequest_1, ...args_1], void 0, function* (alertReceiverCreationRequest, options = {}) {
1302
+ const localVarPath = `/api/alert-receivers`;
1303
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1304
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1305
+ let baseOptions;
1306
+ if (configuration) {
1307
+ baseOptions = configuration.baseOptions;
1308
+ }
1309
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1310
+ const localVarHeaderParameter = {};
1311
+ const localVarQueryParameter = {};
1312
+ // authentication ApiKeyAuth required
1313
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1314
+ // authentication bearerAuth required
1315
+ // http bearer authentication required
1316
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1317
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1320
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1321
+ localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverCreationRequest, localVarRequestOptions, configuration);
1322
+ return {
1323
+ url: toPathString(localVarUrlObj),
1324
+ options: localVarRequestOptions,
1325
+ };
1326
+ }),
1327
+ /**
1328
+ * Delete an alert receiver
1329
+ * @summary Delete alert receiver
1330
+ * @param {string} alertReceiverId Alert Receiver ID
1331
+ * @param {*} [options] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ */
1334
+ deleteAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
1335
+ // verify required parameter 'alertReceiverId' is not null or undefined
1336
+ assertParamExists('deleteAlertReceiver', 'alertReceiverId', alertReceiverId);
1337
+ const localVarPath = `/api/alert-receivers/{alertReceiverId}`
1338
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1339
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1340
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1341
+ let baseOptions;
1342
+ if (configuration) {
1343
+ baseOptions = configuration.baseOptions;
1344
+ }
1345
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1346
+ const localVarHeaderParameter = {};
1347
+ const localVarQueryParameter = {};
1348
+ // authentication ApiKeyAuth required
1349
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1350
+ // authentication bearerAuth required
1351
+ // http bearer authentication required
1352
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1353
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1354
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1355
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1356
+ return {
1357
+ url: toPathString(localVarUrlObj),
1358
+ options: localVarRequestOptions,
1359
+ };
1360
+ }),
1361
+ /**
1362
+ * Update an existing alert receiver
1363
+ * @summary Update alert receiver
1364
+ * @param {string} alertReceiverId Alert Receiver ID
1365
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1366
+ * @param {*} [options] Override http request option.
1367
+ * @throws {RequiredError}
1368
+ */
1369
+ editAlertReceiver: (alertReceiverId_1, alertReceiverEditRequest_1, ...args_1) => __awaiter(this, [alertReceiverId_1, alertReceiverEditRequest_1, ...args_1], void 0, function* (alertReceiverId, alertReceiverEditRequest, options = {}) {
1370
+ // verify required parameter 'alertReceiverId' is not null or undefined
1371
+ assertParamExists('editAlertReceiver', 'alertReceiverId', alertReceiverId);
1372
+ const localVarPath = `/api/alert-receivers/{alertReceiverId}`
1373
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1374
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1375
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1376
+ let baseOptions;
1377
+ if (configuration) {
1378
+ baseOptions = configuration.baseOptions;
1379
+ }
1380
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1381
+ const localVarHeaderParameter = {};
1382
+ const localVarQueryParameter = {};
1383
+ // authentication ApiKeyAuth required
1384
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1385
+ // authentication bearerAuth required
1386
+ // http bearer authentication required
1387
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1388
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1389
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1391
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1392
+ localVarRequestOptions.data = serializeDataIfNeeded(alertReceiverEditRequest, localVarRequestOptions, configuration);
1393
+ return {
1394
+ url: toPathString(localVarUrlObj),
1395
+ options: localVarRequestOptions,
1396
+ };
1397
+ }),
1398
+ /**
1399
+ * Retrieve a specific alert receiver by its ID
1400
+ * @summary Get alert receiver
1401
+ * @param {string} alertReceiverId Alert Receiver ID
1402
+ * @param {*} [options] Override http request option.
1403
+ * @throws {RequiredError}
1404
+ */
1405
+ getAlertReceiver: (alertReceiverId_1, ...args_1) => __awaiter(this, [alertReceiverId_1, ...args_1], void 0, function* (alertReceiverId, options = {}) {
1406
+ // verify required parameter 'alertReceiverId' is not null or undefined
1407
+ assertParamExists('getAlertReceiver', 'alertReceiverId', alertReceiverId);
1408
+ const localVarPath = `/api/alert-receivers/{alertReceiverId}`
1409
+ .replace(`{${"alertReceiverId"}}`, encodeURIComponent(String(alertReceiverId)));
1410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1411
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1412
+ let baseOptions;
1413
+ if (configuration) {
1414
+ baseOptions = configuration.baseOptions;
1415
+ }
1416
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1417
+ const localVarHeaderParameter = {};
1418
+ const localVarQueryParameter = {};
1419
+ // authentication ApiKeyAuth required
1420
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1421
+ // authentication bearerAuth required
1422
+ // http bearer authentication required
1423
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1424
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1425
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1426
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1427
+ return {
1428
+ url: toPathString(localVarUrlObj),
1429
+ options: localVarRequestOptions,
1430
+ };
1431
+ }),
1432
+ /**
1433
+ * Retrieve all alert receivers for a specific organization
1434
+ * @summary List alert receivers
1435
+ * @param {string} organizationId Organization ID
1436
+ * @param {*} [options] Override http request option.
1437
+ * @throws {RequiredError}
1438
+ */
1439
+ getAlertReceivers: (organizationId_1, ...args_1) => __awaiter(this, [organizationId_1, ...args_1], void 0, function* (organizationId, options = {}) {
1440
+ // verify required parameter 'organizationId' is not null or undefined
1441
+ assertParamExists('getAlertReceivers', 'organizationId', organizationId);
1442
+ const localVarPath = `/api/organization/{organizationId}/alert-receivers`
1443
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
1444
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1445
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1446
+ let baseOptions;
1447
+ if (configuration) {
1448
+ baseOptions = configuration.baseOptions;
1449
+ }
1450
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1451
+ const localVarHeaderParameter = {};
1452
+ const localVarQueryParameter = {};
1453
+ // authentication ApiKeyAuth required
1454
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1455
+ // authentication bearerAuth required
1456
+ // http bearer authentication required
1457
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1458
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1459
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1460
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1461
+ return {
1462
+ url: toPathString(localVarUrlObj),
1463
+ options: localVarRequestOptions,
1464
+ };
1465
+ }),
1466
+ };
1467
+ };
1468
+ /**
1469
+ * AlertReceiversApi - functional programming interface
1470
+ * @export
1471
+ */
1472
+ export const AlertReceiversApiFp = function (configuration) {
1473
+ const localVarAxiosParamCreator = AlertReceiversApiAxiosParamCreator(configuration);
1474
+ return {
1475
+ /**
1476
+ * Create a new alert receiver
1477
+ * @summary Create alert receiver
1478
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1479
+ * @param {*} [options] Override http request option.
1480
+ * @throws {RequiredError}
1481
+ */
1482
+ createAlertReceiver(alertReceiverCreationRequest, options) {
1483
+ return __awaiter(this, void 0, void 0, function* () {
1484
+ var _a, _b, _c;
1485
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createAlertReceiver(alertReceiverCreationRequest, options);
1486
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1487
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.createAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1488
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1489
+ });
1490
+ },
1491
+ /**
1492
+ * Delete an alert receiver
1493
+ * @summary Delete alert receiver
1494
+ * @param {string} alertReceiverId Alert Receiver ID
1495
+ * @param {*} [options] Override http request option.
1496
+ * @throws {RequiredError}
1497
+ */
1498
+ deleteAlertReceiver(alertReceiverId, options) {
1499
+ return __awaiter(this, void 0, void 0, function* () {
1500
+ var _a, _b, _c;
1501
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAlertReceiver(alertReceiverId, options);
1502
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1503
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.deleteAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1504
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1505
+ });
1506
+ },
1507
+ /**
1508
+ * Update an existing alert receiver
1509
+ * @summary Update alert receiver
1510
+ * @param {string} alertReceiverId Alert Receiver ID
1511
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1512
+ * @param {*} [options] Override http request option.
1513
+ * @throws {RequiredError}
1514
+ */
1515
+ editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options) {
1516
+ return __awaiter(this, void 0, void 0, function* () {
1517
+ var _a, _b, _c;
1518
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options);
1519
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1520
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.editAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1521
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1522
+ });
1523
+ },
1524
+ /**
1525
+ * Retrieve a specific alert receiver by its ID
1526
+ * @summary Get alert receiver
1527
+ * @param {string} alertReceiverId Alert Receiver ID
1528
+ * @param {*} [options] Override http request option.
1529
+ * @throws {RequiredError}
1530
+ */
1531
+ getAlertReceiver(alertReceiverId, options) {
1532
+ return __awaiter(this, void 0, void 0, function* () {
1533
+ var _a, _b, _c;
1534
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertReceiver(alertReceiverId, options);
1535
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1536
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.getAlertReceiver']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1537
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1538
+ });
1539
+ },
1540
+ /**
1541
+ * Retrieve all alert receivers for a specific organization
1542
+ * @summary List alert receivers
1543
+ * @param {string} organizationId Organization ID
1544
+ * @param {*} [options] Override http request option.
1545
+ * @throws {RequiredError}
1546
+ */
1547
+ getAlertReceivers(organizationId, options) {
1548
+ return __awaiter(this, void 0, void 0, function* () {
1549
+ var _a, _b, _c;
1550
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertReceivers(organizationId, options);
1551
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1552
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertReceiversApi.getAlertReceivers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1553
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1554
+ });
1555
+ },
1556
+ };
1557
+ };
1558
+ /**
1559
+ * AlertReceiversApi - factory interface
1560
+ * @export
1561
+ */
1562
+ export const AlertReceiversApiFactory = function (configuration, basePath, axios) {
1563
+ const localVarFp = AlertReceiversApiFp(configuration);
1564
+ return {
1565
+ /**
1566
+ * Create a new alert receiver
1567
+ * @summary Create alert receiver
1568
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1569
+ * @param {*} [options] Override http request option.
1570
+ * @throws {RequiredError}
1571
+ */
1572
+ createAlertReceiver(alertReceiverCreationRequest, options) {
1573
+ return localVarFp.createAlertReceiver(alertReceiverCreationRequest, options).then((request) => request(axios, basePath));
1574
+ },
1575
+ /**
1576
+ * Delete an alert receiver
1577
+ * @summary Delete alert receiver
1578
+ * @param {string} alertReceiverId Alert Receiver ID
1579
+ * @param {*} [options] Override http request option.
1580
+ * @throws {RequiredError}
1581
+ */
1582
+ deleteAlertReceiver(alertReceiverId, options) {
1583
+ return localVarFp.deleteAlertReceiver(alertReceiverId, options).then((request) => request(axios, basePath));
1584
+ },
1585
+ /**
1586
+ * Update an existing alert receiver
1587
+ * @summary Update alert receiver
1588
+ * @param {string} alertReceiverId Alert Receiver ID
1589
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1590
+ * @param {*} [options] Override http request option.
1591
+ * @throws {RequiredError}
1592
+ */
1593
+ editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options) {
1594
+ return localVarFp.editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options).then((request) => request(axios, basePath));
1595
+ },
1596
+ /**
1597
+ * Retrieve a specific alert receiver by its ID
1598
+ * @summary Get alert receiver
1599
+ * @param {string} alertReceiverId Alert Receiver ID
1600
+ * @param {*} [options] Override http request option.
1601
+ * @throws {RequiredError}
1602
+ */
1603
+ getAlertReceiver(alertReceiverId, options) {
1604
+ return localVarFp.getAlertReceiver(alertReceiverId, options).then((request) => request(axios, basePath));
1605
+ },
1606
+ /**
1607
+ * Retrieve all alert receivers for a specific organization
1608
+ * @summary List alert receivers
1609
+ * @param {string} organizationId Organization ID
1610
+ * @param {*} [options] Override http request option.
1611
+ * @throws {RequiredError}
1612
+ */
1613
+ getAlertReceivers(organizationId, options) {
1614
+ return localVarFp.getAlertReceivers(organizationId, options).then((request) => request(axios, basePath));
1615
+ },
1616
+ };
1617
+ };
1618
+ /**
1619
+ * AlertReceiversApi - object-oriented interface
1620
+ * @export
1621
+ * @class AlertReceiversApi
1622
+ * @extends {BaseAPI}
1623
+ */
1624
+ export class AlertReceiversApi extends BaseAPI {
1625
+ /**
1626
+ * Create a new alert receiver
1627
+ * @summary Create alert receiver
1628
+ * @param {AlertReceiverCreationRequest} [alertReceiverCreationRequest]
1629
+ * @param {*} [options] Override http request option.
1630
+ * @throws {RequiredError}
1631
+ * @memberof AlertReceiversApi
1632
+ */
1633
+ createAlertReceiver(alertReceiverCreationRequest, options) {
1634
+ return AlertReceiversApiFp(this.configuration).createAlertReceiver(alertReceiverCreationRequest, options).then((request) => request(this.axios, this.basePath));
1635
+ }
1636
+ /**
1637
+ * Delete an alert receiver
1638
+ * @summary Delete alert receiver
1639
+ * @param {string} alertReceiverId Alert Receiver ID
1640
+ * @param {*} [options] Override http request option.
1641
+ * @throws {RequiredError}
1642
+ * @memberof AlertReceiversApi
1643
+ */
1644
+ deleteAlertReceiver(alertReceiverId, options) {
1645
+ return AlertReceiversApiFp(this.configuration).deleteAlertReceiver(alertReceiverId, options).then((request) => request(this.axios, this.basePath));
1646
+ }
1647
+ /**
1648
+ * Update an existing alert receiver
1649
+ * @summary Update alert receiver
1650
+ * @param {string} alertReceiverId Alert Receiver ID
1651
+ * @param {AlertReceiverEditRequest} [alertReceiverEditRequest]
1652
+ * @param {*} [options] Override http request option.
1653
+ * @throws {RequiredError}
1654
+ * @memberof AlertReceiversApi
1655
+ */
1656
+ editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options) {
1657
+ return AlertReceiversApiFp(this.configuration).editAlertReceiver(alertReceiverId, alertReceiverEditRequest, options).then((request) => request(this.axios, this.basePath));
1658
+ }
1659
+ /**
1660
+ * Retrieve a specific alert receiver by its ID
1661
+ * @summary Get alert receiver
1662
+ * @param {string} alertReceiverId Alert Receiver ID
1663
+ * @param {*} [options] Override http request option.
1664
+ * @throws {RequiredError}
1665
+ * @memberof AlertReceiversApi
1666
+ */
1667
+ getAlertReceiver(alertReceiverId, options) {
1668
+ return AlertReceiversApiFp(this.configuration).getAlertReceiver(alertReceiverId, options).then((request) => request(this.axios, this.basePath));
1669
+ }
1670
+ /**
1671
+ * Retrieve all alert receivers for a specific organization
1672
+ * @summary List alert receivers
1673
+ * @param {string} organizationId Organization ID
1674
+ * @param {*} [options] Override http request option.
1675
+ * @throws {RequiredError}
1676
+ * @memberof AlertReceiversApi
1677
+ */
1678
+ getAlertReceivers(organizationId, options) {
1679
+ return AlertReceiversApiFp(this.configuration).getAlertReceivers(organizationId, options).then((request) => request(this.axios, this.basePath));
1680
+ }
1681
+ }
1682
+ /**
1683
+ * AlertRulesApi - axios parameter creator
1684
+ * @export
1685
+ */
1686
+ export const AlertRulesApiAxiosParamCreator = function (configuration) {
1687
+ return {
1688
+ /**
1689
+ * Create a new alert rule with PromQL expression
1690
+ * @summary Create alert rule
1691
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1692
+ * @param {*} [options] Override http request option.
1693
+ * @throws {RequiredError}
1694
+ */
1695
+ createAlertRule: (alertRuleCreationRequest_1, ...args_1) => __awaiter(this, [alertRuleCreationRequest_1, ...args_1], void 0, function* (alertRuleCreationRequest, options = {}) {
1696
+ const localVarPath = `/api/alert-rules`;
1697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1698
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1699
+ let baseOptions;
1700
+ if (configuration) {
1701
+ baseOptions = configuration.baseOptions;
1702
+ }
1703
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1704
+ const localVarHeaderParameter = {};
1705
+ const localVarQueryParameter = {};
1706
+ // authentication ApiKeyAuth required
1707
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1708
+ // authentication bearerAuth required
1709
+ // http bearer authentication required
1710
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1711
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1712
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1713
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1714
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1715
+ localVarRequestOptions.data = serializeDataIfNeeded(alertRuleCreationRequest, localVarRequestOptions, configuration);
1716
+ return {
1717
+ url: toPathString(localVarUrlObj),
1718
+ options: localVarRequestOptions,
1719
+ };
1720
+ }),
1721
+ /**
1722
+ * Delete an alert rule
1723
+ * @summary Delete alert rule
1724
+ * @param {string} alertRuleId Alert Rule ID
1725
+ * @param {*} [options] Override http request option.
1726
+ * @throws {RequiredError}
1727
+ */
1728
+ deleteAlertRule: (alertRuleId_1, ...args_1) => __awaiter(this, [alertRuleId_1, ...args_1], void 0, function* (alertRuleId, options = {}) {
1729
+ // verify required parameter 'alertRuleId' is not null or undefined
1730
+ assertParamExists('deleteAlertRule', 'alertRuleId', alertRuleId);
1731
+ const localVarPath = `/api/alert-rules/{alertRuleId}`
1732
+ .replace(`{${"alertRuleId"}}`, encodeURIComponent(String(alertRuleId)));
1733
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1734
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1735
+ let baseOptions;
1736
+ if (configuration) {
1737
+ baseOptions = configuration.baseOptions;
1738
+ }
1739
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
1740
+ const localVarHeaderParameter = {};
1741
+ const localVarQueryParameter = {};
1742
+ // authentication ApiKeyAuth required
1743
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1744
+ // authentication bearerAuth required
1745
+ // http bearer authentication required
1746
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1749
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1750
+ return {
1751
+ url: toPathString(localVarUrlObj),
1752
+ options: localVarRequestOptions,
1753
+ };
1754
+ }),
1755
+ /**
1756
+ * Update an existing alert rule
1757
+ * @summary Update alert rule
1758
+ * @param {string} alertRuleId Alert Rule ID
1759
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ editAlertRule: (alertRuleId_1, alertRuleEditRequest_1, ...args_1) => __awaiter(this, [alertRuleId_1, alertRuleEditRequest_1, ...args_1], void 0, function* (alertRuleId, alertRuleEditRequest, options = {}) {
1764
+ // verify required parameter 'alertRuleId' is not null or undefined
1765
+ assertParamExists('editAlertRule', 'alertRuleId', alertRuleId);
1766
+ const localVarPath = `/api/alert-rules/{alertRuleId}`
1767
+ .replace(`{${"alertRuleId"}}`, encodeURIComponent(String(alertRuleId)));
1768
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1769
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1770
+ let baseOptions;
1771
+ if (configuration) {
1772
+ baseOptions = configuration.baseOptions;
1773
+ }
1774
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
1775
+ const localVarHeaderParameter = {};
1776
+ const localVarQueryParameter = {};
1777
+ // authentication ApiKeyAuth required
1778
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1779
+ // authentication bearerAuth required
1780
+ // http bearer authentication required
1781
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1782
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1783
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1784
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1785
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1786
+ localVarRequestOptions.data = serializeDataIfNeeded(alertRuleEditRequest, localVarRequestOptions, configuration);
1787
+ return {
1788
+ url: toPathString(localVarUrlObj),
1789
+ options: localVarRequestOptions,
1790
+ };
1791
+ }),
1792
+ /**
1793
+ * Retrieve a specific alert rule by its ID
1794
+ * @summary Get alert rule
1795
+ * @param {string} alertRuleId Alert Rule ID
1796
+ * @param {*} [options] Override http request option.
1797
+ * @throws {RequiredError}
1798
+ */
1799
+ getAlertRule: (alertRuleId_1, ...args_1) => __awaiter(this, [alertRuleId_1, ...args_1], void 0, function* (alertRuleId, options = {}) {
1800
+ // verify required parameter 'alertRuleId' is not null or undefined
1801
+ assertParamExists('getAlertRule', 'alertRuleId', alertRuleId);
1802
+ const localVarPath = `/api/alert-rules/{alertRuleId}`
1803
+ .replace(`{${"alertRuleId"}}`, encodeURIComponent(String(alertRuleId)));
1804
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1805
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1806
+ let baseOptions;
1807
+ if (configuration) {
1808
+ baseOptions = configuration.baseOptions;
1809
+ }
1810
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1811
+ const localVarHeaderParameter = {};
1812
+ const localVarQueryParameter = {};
1813
+ // authentication ApiKeyAuth required
1814
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1815
+ // authentication bearerAuth required
1816
+ // http bearer authentication required
1817
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1818
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1819
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1820
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1821
+ return {
1822
+ url: toPathString(localVarUrlObj),
1823
+ options: localVarRequestOptions,
1824
+ };
1825
+ }),
1826
+ };
1827
+ };
1828
+ /**
1829
+ * AlertRulesApi - functional programming interface
1830
+ * @export
1831
+ */
1832
+ export const AlertRulesApiFp = function (configuration) {
1833
+ const localVarAxiosParamCreator = AlertRulesApiAxiosParamCreator(configuration);
1834
+ return {
1835
+ /**
1836
+ * Create a new alert rule with PromQL expression
1837
+ * @summary Create alert rule
1838
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1839
+ * @param {*} [options] Override http request option.
1840
+ * @throws {RequiredError}
1841
+ */
1842
+ createAlertRule(alertRuleCreationRequest, options) {
1843
+ return __awaiter(this, void 0, void 0, function* () {
1844
+ var _a, _b, _c;
1845
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createAlertRule(alertRuleCreationRequest, options);
1846
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1847
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertRulesApi.createAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1849
+ });
1850
+ },
1851
+ /**
1852
+ * Delete an alert rule
1853
+ * @summary Delete alert rule
1854
+ * @param {string} alertRuleId Alert Rule ID
1855
+ * @param {*} [options] Override http request option.
1856
+ * @throws {RequiredError}
1857
+ */
1858
+ deleteAlertRule(alertRuleId, options) {
1859
+ return __awaiter(this, void 0, void 0, function* () {
1860
+ var _a, _b, _c;
1861
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteAlertRule(alertRuleId, options);
1862
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1863
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertRulesApi.deleteAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1864
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1865
+ });
1866
+ },
1867
+ /**
1868
+ * Update an existing alert rule
1869
+ * @summary Update alert rule
1870
+ * @param {string} alertRuleId Alert Rule ID
1871
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1872
+ * @param {*} [options] Override http request option.
1873
+ * @throws {RequiredError}
1874
+ */
1875
+ editAlertRule(alertRuleId, alertRuleEditRequest, options) {
1876
+ return __awaiter(this, void 0, void 0, function* () {
1877
+ var _a, _b, _c;
1878
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.editAlertRule(alertRuleId, alertRuleEditRequest, options);
1879
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1880
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertRulesApi.editAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1881
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1882
+ });
1883
+ },
1884
+ /**
1885
+ * Retrieve a specific alert rule by its ID
1886
+ * @summary Get alert rule
1887
+ * @param {string} alertRuleId Alert Rule ID
1888
+ * @param {*} [options] Override http request option.
1889
+ * @throws {RequiredError}
1890
+ */
1891
+ getAlertRule(alertRuleId, options) {
1892
+ return __awaiter(this, void 0, void 0, function* () {
1893
+ var _a, _b, _c;
1894
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getAlertRule(alertRuleId, options);
1895
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1896
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AlertRulesApi.getAlertRule']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1897
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1898
+ });
1899
+ },
1900
+ };
1901
+ };
1902
+ /**
1903
+ * AlertRulesApi - factory interface
1904
+ * @export
1905
+ */
1906
+ export const AlertRulesApiFactory = function (configuration, basePath, axios) {
1907
+ const localVarFp = AlertRulesApiFp(configuration);
1908
+ return {
1909
+ /**
1910
+ * Create a new alert rule with PromQL expression
1911
+ * @summary Create alert rule
1912
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1913
+ * @param {*} [options] Override http request option.
1914
+ * @throws {RequiredError}
1915
+ */
1916
+ createAlertRule(alertRuleCreationRequest, options) {
1917
+ return localVarFp.createAlertRule(alertRuleCreationRequest, options).then((request) => request(axios, basePath));
1918
+ },
1919
+ /**
1920
+ * Delete an alert rule
1921
+ * @summary Delete alert rule
1922
+ * @param {string} alertRuleId Alert Rule ID
1923
+ * @param {*} [options] Override http request option.
1924
+ * @throws {RequiredError}
1925
+ */
1926
+ deleteAlertRule(alertRuleId, options) {
1927
+ return localVarFp.deleteAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
1928
+ },
1929
+ /**
1930
+ * Update an existing alert rule
1931
+ * @summary Update alert rule
1932
+ * @param {string} alertRuleId Alert Rule ID
1933
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1934
+ * @param {*} [options] Override http request option.
1935
+ * @throws {RequiredError}
1936
+ */
1937
+ editAlertRule(alertRuleId, alertRuleEditRequest, options) {
1938
+ return localVarFp.editAlertRule(alertRuleId, alertRuleEditRequest, options).then((request) => request(axios, basePath));
1939
+ },
1940
+ /**
1941
+ * Retrieve a specific alert rule by its ID
1942
+ * @summary Get alert rule
1943
+ * @param {string} alertRuleId Alert Rule ID
1944
+ * @param {*} [options] Override http request option.
1945
+ * @throws {RequiredError}
1946
+ */
1947
+ getAlertRule(alertRuleId, options) {
1948
+ return localVarFp.getAlertRule(alertRuleId, options).then((request) => request(axios, basePath));
1949
+ },
1950
+ };
1951
+ };
1952
+ /**
1953
+ * AlertRulesApi - object-oriented interface
1954
+ * @export
1955
+ * @class AlertRulesApi
1956
+ * @extends {BaseAPI}
1957
+ */
1958
+ export class AlertRulesApi extends BaseAPI {
1959
+ /**
1960
+ * Create a new alert rule with PromQL expression
1961
+ * @summary Create alert rule
1962
+ * @param {AlertRuleCreationRequest} [alertRuleCreationRequest]
1963
+ * @param {*} [options] Override http request option.
1964
+ * @throws {RequiredError}
1965
+ * @memberof AlertRulesApi
1966
+ */
1967
+ createAlertRule(alertRuleCreationRequest, options) {
1968
+ return AlertRulesApiFp(this.configuration).createAlertRule(alertRuleCreationRequest, options).then((request) => request(this.axios, this.basePath));
1969
+ }
1970
+ /**
1971
+ * Delete an alert rule
1972
+ * @summary Delete alert rule
1973
+ * @param {string} alertRuleId Alert Rule ID
1974
+ * @param {*} [options] Override http request option.
1975
+ * @throws {RequiredError}
1976
+ * @memberof AlertRulesApi
1977
+ */
1978
+ deleteAlertRule(alertRuleId, options) {
1979
+ return AlertRulesApiFp(this.configuration).deleteAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
1980
+ }
1981
+ /**
1982
+ * Update an existing alert rule
1983
+ * @summary Update alert rule
1984
+ * @param {string} alertRuleId Alert Rule ID
1985
+ * @param {AlertRuleEditRequest} [alertRuleEditRequest]
1986
+ * @param {*} [options] Override http request option.
1987
+ * @throws {RequiredError}
1988
+ * @memberof AlertRulesApi
1989
+ */
1990
+ editAlertRule(alertRuleId, alertRuleEditRequest, options) {
1991
+ return AlertRulesApiFp(this.configuration).editAlertRule(alertRuleId, alertRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
1992
+ }
1993
+ /**
1994
+ * Retrieve a specific alert rule by its ID
1995
+ * @summary Get alert rule
1996
+ * @param {string} alertRuleId Alert Rule ID
1997
+ * @param {*} [options] Override http request option.
1998
+ * @throws {RequiredError}
1999
+ * @memberof AlertRulesApi
2000
+ */
2001
+ getAlertRule(alertRuleId, options) {
2002
+ return AlertRulesApiFp(this.configuration).getAlertRule(alertRuleId, options).then((request) => request(this.axios, this.basePath));
2003
+ }
2004
+ }
1271
2005
  /**
1272
2006
  * ApplicationActionsApi - axios parameter creator
1273
2007
  * @export
@@ -39213,6 +39947,36 @@ export const TerraformMainCallsApiAxiosParamCreator = function (configuration) {
39213
39947
  options: localVarRequestOptions,
39214
39948
  };
39215
39949
  }),
39950
+ /**
39951
+ *
39952
+ * @summary List available Terraform versions
39953
+ * @param {*} [options] Override http request option.
39954
+ * @throws {RequiredError}
39955
+ */
39956
+ listTerraformVersions: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
39957
+ const localVarPath = `/terraform/available-versions`;
39958
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39959
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39960
+ let baseOptions;
39961
+ if (configuration) {
39962
+ baseOptions = configuration.baseOptions;
39963
+ }
39964
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
39965
+ const localVarHeaderParameter = {};
39966
+ const localVarQueryParameter = {};
39967
+ // authentication ApiKeyAuth required
39968
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
39969
+ // authentication bearerAuth required
39970
+ // http bearer authentication required
39971
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
39972
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39973
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39974
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
39975
+ return {
39976
+ url: toPathString(localVarUrlObj),
39977
+ options: localVarRequestOptions,
39978
+ };
39979
+ }),
39216
39980
  };
39217
39981
  };
39218
39982
  /**
@@ -39289,6 +40053,21 @@ export const TerraformMainCallsApiFp = function (configuration) {
39289
40053
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39290
40054
  });
39291
40055
  },
40056
+ /**
40057
+ *
40058
+ * @summary List available Terraform versions
40059
+ * @param {*} [options] Override http request option.
40060
+ * @throws {RequiredError}
40061
+ */
40062
+ listTerraformVersions(options) {
40063
+ return __awaiter(this, void 0, void 0, function* () {
40064
+ var _a, _b, _c;
40065
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTerraformVersions(options);
40066
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
40067
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformMainCallsApi.listTerraformVersions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
40068
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40069
+ });
40070
+ },
39292
40071
  };
39293
40072
  };
39294
40073
  /**
@@ -39341,6 +40120,15 @@ export const TerraformMainCallsApiFactory = function (configuration, basePath, a
39341
40120
  listTerraformCommit(terraformId, options) {
39342
40121
  return localVarFp.listTerraformCommit(terraformId, options).then((request) => request(axios, basePath));
39343
40122
  },
40123
+ /**
40124
+ *
40125
+ * @summary List available Terraform versions
40126
+ * @param {*} [options] Override http request option.
40127
+ * @throws {RequiredError}
40128
+ */
40129
+ listTerraformVersions(options) {
40130
+ return localVarFp.listTerraformVersions(options).then((request) => request(axios, basePath));
40131
+ },
39344
40132
  };
39345
40133
  };
39346
40134
  /**
@@ -39397,6 +40185,16 @@ export class TerraformMainCallsApi extends BaseAPI {
39397
40185
  listTerraformCommit(terraformId, options) {
39398
40186
  return TerraformMainCallsApiFp(this.configuration).listTerraformCommit(terraformId, options).then((request) => request(this.axios, this.basePath));
39399
40187
  }
40188
+ /**
40189
+ *
40190
+ * @summary List available Terraform versions
40191
+ * @param {*} [options] Override http request option.
40192
+ * @throws {RequiredError}
40193
+ * @memberof TerraformMainCallsApi
40194
+ */
40195
+ listTerraformVersions(options) {
40196
+ return TerraformMainCallsApiFp(this.configuration).listTerraformVersions(options).then((request) => request(this.axios, this.basePath));
40197
+ }
39400
40198
  }
39401
40199
  /**
39402
40200
  * TerraformsApi - axios parameter creator