@rasadov/lumoar-sdk 1.0.1 → 1.0.2

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/api.js CHANGED
@@ -865,13 +865,13 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
865
865
  *
866
866
  * @summary Get Companies
867
867
  * @param {number} [page]
868
- * @param {number} [limit]
868
+ * @param {number} [elements]
869
869
  * @param {string} [authorization]
870
870
  * @param {string} [sessionId]
871
871
  * @param {*} [options] Override http request option.
872
872
  * @throws {RequiredError}
873
873
  */
874
- getCompaniesV1CompanyListGet: (page_1, limit_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [page_1, limit_1, authorization_1, sessionId_1, ...args_1], void 0, function* (page, limit, authorization, sessionId, options = {}) {
874
+ getCompaniesV1CompanyListGet: (page_1, elements_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [page_1, elements_1, authorization_1, sessionId_1, ...args_1], void 0, function* (page, elements, authorization, sessionId, options = {}) {
875
875
  const localVarPath = `/v1/company/list`;
876
876
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
877
877
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -885,8 +885,8 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
885
885
  if (page !== undefined) {
886
886
  localVarQueryParameter['page'] = page;
887
887
  }
888
- if (limit !== undefined) {
889
- localVarQueryParameter['limit'] = limit;
888
+ if (elements !== undefined) {
889
+ localVarQueryParameter['elements'] = elements;
890
890
  }
891
891
  if (authorization != null) {
892
892
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -971,13 +971,13 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
971
971
  *
972
972
  * @summary Get Policies
973
973
  * @param {number} [page]
974
- * @param {number} [limit]
974
+ * @param {number} [elements]
975
975
  * @param {string} [authorization]
976
976
  * @param {string} [sessionId]
977
977
  * @param {*} [options] Override http request option.
978
978
  * @throws {RequiredError}
979
979
  */
980
- getPoliciesV1CompanyPoliciesGet: (page_1, limit_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [page_1, limit_1, authorization_1, sessionId_1, ...args_1], void 0, function* (page, limit, authorization, sessionId, options = {}) {
980
+ getPoliciesV1CompanyPoliciesGet: (page_1, elements_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [page_1, elements_1, authorization_1, sessionId_1, ...args_1], void 0, function* (page, elements, authorization, sessionId, options = {}) {
981
981
  const localVarPath = `/v1/company/policies`;
982
982
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
983
983
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -991,8 +991,8 @@ export const CompanyApiAxiosParamCreator = function (configuration) {
991
991
  if (page !== undefined) {
992
992
  localVarQueryParameter['page'] = page;
993
993
  }
994
- if (limit !== undefined) {
995
- localVarQueryParameter['limit'] = limit;
994
+ if (elements !== undefined) {
995
+ localVarQueryParameter['elements'] = elements;
996
996
  }
997
997
  if (authorization != null) {
998
998
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -1071,16 +1071,16 @@ export const CompanyApiFp = function (configuration) {
1071
1071
  *
1072
1072
  * @summary Get Companies
1073
1073
  * @param {number} [page]
1074
- * @param {number} [limit]
1074
+ * @param {number} [elements]
1075
1075
  * @param {string} [authorization]
1076
1076
  * @param {string} [sessionId]
1077
1077
  * @param {*} [options] Override http request option.
1078
1078
  * @throws {RequiredError}
1079
1079
  */
1080
- getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options) {
1080
+ getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options) {
1081
1081
  return __awaiter(this, void 0, void 0, function* () {
1082
1082
  var _a, _b, _c;
1083
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options);
1083
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options);
1084
1084
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1085
1085
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CompanyApi.getCompaniesV1CompanyListGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1086
1086
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1126,16 +1126,16 @@ export const CompanyApiFp = function (configuration) {
1126
1126
  *
1127
1127
  * @summary Get Policies
1128
1128
  * @param {number} [page]
1129
- * @param {number} [limit]
1129
+ * @param {number} [elements]
1130
1130
  * @param {string} [authorization]
1131
1131
  * @param {string} [sessionId]
1132
1132
  * @param {*} [options] Override http request option.
1133
1133
  * @throws {RequiredError}
1134
1134
  */
1135
- getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options) {
1135
+ getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options) {
1136
1136
  return __awaiter(this, void 0, void 0, function* () {
1137
1137
  var _a, _b, _c;
1138
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options);
1138
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options);
1139
1139
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1140
1140
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CompanyApi.getPoliciesV1CompanyPoliciesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1141
1141
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1184,14 +1184,14 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
1184
1184
  *
1185
1185
  * @summary Get Companies
1186
1186
  * @param {number} [page]
1187
- * @param {number} [limit]
1187
+ * @param {number} [elements]
1188
1188
  * @param {string} [authorization]
1189
1189
  * @param {string} [sessionId]
1190
1190
  * @param {*} [options] Override http request option.
1191
1191
  * @throws {RequiredError}
1192
1192
  */
1193
- getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options) {
1194
- return localVarFp.getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options).then((request) => request(axios, basePath));
1193
+ getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options) {
1194
+ return localVarFp.getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
1195
1195
  },
1196
1196
  /**
1197
1197
  *
@@ -1221,14 +1221,14 @@ export const CompanyApiFactory = function (configuration, basePath, axios) {
1221
1221
  *
1222
1222
  * @summary Get Policies
1223
1223
  * @param {number} [page]
1224
- * @param {number} [limit]
1224
+ * @param {number} [elements]
1225
1225
  * @param {string} [authorization]
1226
1226
  * @param {string} [sessionId]
1227
1227
  * @param {*} [options] Override http request option.
1228
1228
  * @throws {RequiredError}
1229
1229
  */
1230
- getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options) {
1231
- return localVarFp.getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options).then((request) => request(axios, basePath));
1230
+ getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options) {
1231
+ return localVarFp.getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
1232
1232
  },
1233
1233
  /**
1234
1234
  *
@@ -1268,15 +1268,15 @@ export class CompanyApi extends BaseAPI {
1268
1268
  *
1269
1269
  * @summary Get Companies
1270
1270
  * @param {number} [page]
1271
- * @param {number} [limit]
1271
+ * @param {number} [elements]
1272
1272
  * @param {string} [authorization]
1273
1273
  * @param {string} [sessionId]
1274
1274
  * @param {*} [options] Override http request option.
1275
1275
  * @throws {RequiredError}
1276
1276
  * @memberof CompanyApi
1277
1277
  */
1278
- getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options) {
1279
- return CompanyApiFp(this.configuration).getCompaniesV1CompanyListGet(page, limit, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
1278
+ getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options) {
1279
+ return CompanyApiFp(this.configuration).getCompaniesV1CompanyListGet(page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
1280
1280
  }
1281
1281
  /**
1282
1282
  *
@@ -1308,15 +1308,15 @@ export class CompanyApi extends BaseAPI {
1308
1308
  *
1309
1309
  * @summary Get Policies
1310
1310
  * @param {number} [page]
1311
- * @param {number} [limit]
1311
+ * @param {number} [elements]
1312
1312
  * @param {string} [authorization]
1313
1313
  * @param {string} [sessionId]
1314
1314
  * @param {*} [options] Override http request option.
1315
1315
  * @throws {RequiredError}
1316
1316
  * @memberof CompanyApi
1317
1317
  */
1318
- getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options) {
1319
- return CompanyApiFp(this.configuration).getPoliciesV1CompanyPoliciesGet(page, limit, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
1318
+ getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options) {
1319
+ return CompanyApiFp(this.configuration).getPoliciesV1CompanyPoliciesGet(page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
1320
1320
  }
1321
1321
  /**
1322
1322
  *
@@ -1521,276 +1521,6 @@ export class ControlsApi extends BaseAPI {
1521
1521
  return ControlsApiFp(this.configuration).updateControlV1ControlsUpdatePatch(updateControlSchema, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
1522
1522
  }
1523
1523
  }
1524
- /**
1525
- * DefaultApi - axios parameter creator
1526
- * @export
1527
- */
1528
- export const DefaultApiAxiosParamCreator = function (configuration) {
1529
- return {
1530
- /**
1531
- *
1532
- * @summary Get Db Health
1533
- * @param {*} [options] Override http request option.
1534
- * @throws {RequiredError}
1535
- */
1536
- getDbHealthHealthDbGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1537
- const localVarPath = `/health/db`;
1538
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1539
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1540
- let baseOptions;
1541
- if (configuration) {
1542
- baseOptions = configuration.baseOptions;
1543
- }
1544
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1545
- const localVarHeaderParameter = {};
1546
- const localVarQueryParameter = {};
1547
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1548
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1549
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1550
- return {
1551
- url: toPathString(localVarUrlObj),
1552
- options: localVarRequestOptions,
1553
- };
1554
- }),
1555
- /**
1556
- *
1557
- * @summary Get Health
1558
- * @param {*} [options] Override http request option.
1559
- * @throws {RequiredError}
1560
- */
1561
- getHealthHealthGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1562
- const localVarPath = `/health`;
1563
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1564
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1565
- let baseOptions;
1566
- if (configuration) {
1567
- baseOptions = configuration.baseOptions;
1568
- }
1569
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1570
- const localVarHeaderParameter = {};
1571
- const localVarQueryParameter = {};
1572
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1573
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1574
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1575
- return {
1576
- url: toPathString(localVarUrlObj),
1577
- options: localVarRequestOptions,
1578
- };
1579
- }),
1580
- /**
1581
- *
1582
- * @summary Get Listmonk Health
1583
- * @param {*} [options] Override http request option.
1584
- * @throws {RequiredError}
1585
- */
1586
- getListmonkHealthHealthListmonkGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1587
- const localVarPath = `/health/listmonk`;
1588
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1589
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1590
- let baseOptions;
1591
- if (configuration) {
1592
- baseOptions = configuration.baseOptions;
1593
- }
1594
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1595
- const localVarHeaderParameter = {};
1596
- const localVarQueryParameter = {};
1597
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1598
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1599
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1600
- return {
1601
- url: toPathString(localVarUrlObj),
1602
- options: localVarRequestOptions,
1603
- };
1604
- }),
1605
- /**
1606
- *
1607
- * @summary Get Redis Health
1608
- * @param {*} [options] Override http request option.
1609
- * @throws {RequiredError}
1610
- */
1611
- getRedisHealthHealthRedisGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1612
- const localVarPath = `/health/redis`;
1613
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1614
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1615
- let baseOptions;
1616
- if (configuration) {
1617
- baseOptions = configuration.baseOptions;
1618
- }
1619
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1620
- const localVarHeaderParameter = {};
1621
- const localVarQueryParameter = {};
1622
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1623
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1624
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1625
- return {
1626
- url: toPathString(localVarUrlObj),
1627
- options: localVarRequestOptions,
1628
- };
1629
- }),
1630
- };
1631
- };
1632
- /**
1633
- * DefaultApi - functional programming interface
1634
- * @export
1635
- */
1636
- export const DefaultApiFp = function (configuration) {
1637
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
1638
- return {
1639
- /**
1640
- *
1641
- * @summary Get Db Health
1642
- * @param {*} [options] Override http request option.
1643
- * @throws {RequiredError}
1644
- */
1645
- getDbHealthHealthDbGet(options) {
1646
- return __awaiter(this, void 0, void 0, function* () {
1647
- var _a, _b, _c;
1648
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getDbHealthHealthDbGet(options);
1649
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1650
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getDbHealthHealthDbGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1651
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1652
- });
1653
- },
1654
- /**
1655
- *
1656
- * @summary Get Health
1657
- * @param {*} [options] Override http request option.
1658
- * @throws {RequiredError}
1659
- */
1660
- getHealthHealthGet(options) {
1661
- return __awaiter(this, void 0, void 0, function* () {
1662
- var _a, _b, _c;
1663
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getHealthHealthGet(options);
1664
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1665
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getHealthHealthGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1666
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1667
- });
1668
- },
1669
- /**
1670
- *
1671
- * @summary Get Listmonk Health
1672
- * @param {*} [options] Override http request option.
1673
- * @throws {RequiredError}
1674
- */
1675
- getListmonkHealthHealthListmonkGet(options) {
1676
- return __awaiter(this, void 0, void 0, function* () {
1677
- var _a, _b, _c;
1678
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getListmonkHealthHealthListmonkGet(options);
1679
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1680
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getListmonkHealthHealthListmonkGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1681
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1682
- });
1683
- },
1684
- /**
1685
- *
1686
- * @summary Get Redis Health
1687
- * @param {*} [options] Override http request option.
1688
- * @throws {RequiredError}
1689
- */
1690
- getRedisHealthHealthRedisGet(options) {
1691
- return __awaiter(this, void 0, void 0, function* () {
1692
- var _a, _b, _c;
1693
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getRedisHealthHealthRedisGet(options);
1694
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1695
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DefaultApi.getRedisHealthHealthRedisGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1696
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1697
- });
1698
- },
1699
- };
1700
- };
1701
- /**
1702
- * DefaultApi - factory interface
1703
- * @export
1704
- */
1705
- export const DefaultApiFactory = function (configuration, basePath, axios) {
1706
- const localVarFp = DefaultApiFp(configuration);
1707
- return {
1708
- /**
1709
- *
1710
- * @summary Get Db Health
1711
- * @param {*} [options] Override http request option.
1712
- * @throws {RequiredError}
1713
- */
1714
- getDbHealthHealthDbGet(options) {
1715
- return localVarFp.getDbHealthHealthDbGet(options).then((request) => request(axios, basePath));
1716
- },
1717
- /**
1718
- *
1719
- * @summary Get Health
1720
- * @param {*} [options] Override http request option.
1721
- * @throws {RequiredError}
1722
- */
1723
- getHealthHealthGet(options) {
1724
- return localVarFp.getHealthHealthGet(options).then((request) => request(axios, basePath));
1725
- },
1726
- /**
1727
- *
1728
- * @summary Get Listmonk Health
1729
- * @param {*} [options] Override http request option.
1730
- * @throws {RequiredError}
1731
- */
1732
- getListmonkHealthHealthListmonkGet(options) {
1733
- return localVarFp.getListmonkHealthHealthListmonkGet(options).then((request) => request(axios, basePath));
1734
- },
1735
- /**
1736
- *
1737
- * @summary Get Redis Health
1738
- * @param {*} [options] Override http request option.
1739
- * @throws {RequiredError}
1740
- */
1741
- getRedisHealthHealthRedisGet(options) {
1742
- return localVarFp.getRedisHealthHealthRedisGet(options).then((request) => request(axios, basePath));
1743
- },
1744
- };
1745
- };
1746
- /**
1747
- * DefaultApi - object-oriented interface
1748
- * @export
1749
- * @class DefaultApi
1750
- * @extends {BaseAPI}
1751
- */
1752
- export class DefaultApi extends BaseAPI {
1753
- /**
1754
- *
1755
- * @summary Get Db Health
1756
- * @param {*} [options] Override http request option.
1757
- * @throws {RequiredError}
1758
- * @memberof DefaultApi
1759
- */
1760
- getDbHealthHealthDbGet(options) {
1761
- return DefaultApiFp(this.configuration).getDbHealthHealthDbGet(options).then((request) => request(this.axios, this.basePath));
1762
- }
1763
- /**
1764
- *
1765
- * @summary Get Health
1766
- * @param {*} [options] Override http request option.
1767
- * @throws {RequiredError}
1768
- * @memberof DefaultApi
1769
- */
1770
- getHealthHealthGet(options) {
1771
- return DefaultApiFp(this.configuration).getHealthHealthGet(options).then((request) => request(this.axios, this.basePath));
1772
- }
1773
- /**
1774
- *
1775
- * @summary Get Listmonk Health
1776
- * @param {*} [options] Override http request option.
1777
- * @throws {RequiredError}
1778
- * @memberof DefaultApi
1779
- */
1780
- getListmonkHealthHealthListmonkGet(options) {
1781
- return DefaultApiFp(this.configuration).getListmonkHealthHealthListmonkGet(options).then((request) => request(this.axios, this.basePath));
1782
- }
1783
- /**
1784
- *
1785
- * @summary Get Redis Health
1786
- * @param {*} [options] Override http request option.
1787
- * @throws {RequiredError}
1788
- * @memberof DefaultApi
1789
- */
1790
- getRedisHealthHealthRedisGet(options) {
1791
- return DefaultApiFp(this.configuration).getRedisHealthHealthRedisGet(options).then((request) => request(this.axios, this.basePath));
1792
- }
1793
- }
1794
1524
  /**
1795
1525
  * EvidenceApi - axios parameter creator
1796
1526
  * @export
@@ -2261,6 +1991,276 @@ export class EvidenceApi extends BaseAPI {
2261
1991
  return EvidenceApiFp(this.configuration).uploadEvidenceV1EvidenceUploadPost(companyId, controlId, file, text, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2262
1992
  }
2263
1993
  }
1994
+ /**
1995
+ * HealthApi - axios parameter creator
1996
+ * @export
1997
+ */
1998
+ export const HealthApiAxiosParamCreator = function (configuration) {
1999
+ return {
2000
+ /**
2001
+ *
2002
+ * @summary Get Db Health
2003
+ * @param {*} [options] Override http request option.
2004
+ * @throws {RequiredError}
2005
+ */
2006
+ getDbHealthHealthDbGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2007
+ const localVarPath = `/health/db`;
2008
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2009
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2010
+ let baseOptions;
2011
+ if (configuration) {
2012
+ baseOptions = configuration.baseOptions;
2013
+ }
2014
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2015
+ const localVarHeaderParameter = {};
2016
+ const localVarQueryParameter = {};
2017
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2018
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2019
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2020
+ return {
2021
+ url: toPathString(localVarUrlObj),
2022
+ options: localVarRequestOptions,
2023
+ };
2024
+ }),
2025
+ /**
2026
+ *
2027
+ * @summary Get Health
2028
+ * @param {*} [options] Override http request option.
2029
+ * @throws {RequiredError}
2030
+ */
2031
+ getHealthHealthGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2032
+ const localVarPath = `/health`;
2033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2034
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2035
+ let baseOptions;
2036
+ if (configuration) {
2037
+ baseOptions = configuration.baseOptions;
2038
+ }
2039
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2040
+ const localVarHeaderParameter = {};
2041
+ const localVarQueryParameter = {};
2042
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2043
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2044
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2045
+ return {
2046
+ url: toPathString(localVarUrlObj),
2047
+ options: localVarRequestOptions,
2048
+ };
2049
+ }),
2050
+ /**
2051
+ *
2052
+ * @summary Get Listmonk Health
2053
+ * @param {*} [options] Override http request option.
2054
+ * @throws {RequiredError}
2055
+ */
2056
+ getListmonkHealthHealthListmonkGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2057
+ const localVarPath = `/health/listmonk`;
2058
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2059
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2060
+ let baseOptions;
2061
+ if (configuration) {
2062
+ baseOptions = configuration.baseOptions;
2063
+ }
2064
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2065
+ const localVarHeaderParameter = {};
2066
+ const localVarQueryParameter = {};
2067
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2068
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2069
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2070
+ return {
2071
+ url: toPathString(localVarUrlObj),
2072
+ options: localVarRequestOptions,
2073
+ };
2074
+ }),
2075
+ /**
2076
+ *
2077
+ * @summary Get Redis Health
2078
+ * @param {*} [options] Override http request option.
2079
+ * @throws {RequiredError}
2080
+ */
2081
+ getRedisHealthHealthRedisGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2082
+ const localVarPath = `/health/redis`;
2083
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2084
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2085
+ let baseOptions;
2086
+ if (configuration) {
2087
+ baseOptions = configuration.baseOptions;
2088
+ }
2089
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2090
+ const localVarHeaderParameter = {};
2091
+ const localVarQueryParameter = {};
2092
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2093
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2094
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2095
+ return {
2096
+ url: toPathString(localVarUrlObj),
2097
+ options: localVarRequestOptions,
2098
+ };
2099
+ }),
2100
+ };
2101
+ };
2102
+ /**
2103
+ * HealthApi - functional programming interface
2104
+ * @export
2105
+ */
2106
+ export const HealthApiFp = function (configuration) {
2107
+ const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration);
2108
+ return {
2109
+ /**
2110
+ *
2111
+ * @summary Get Db Health
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ */
2115
+ getDbHealthHealthDbGet(options) {
2116
+ return __awaiter(this, void 0, void 0, function* () {
2117
+ var _a, _b, _c;
2118
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getDbHealthHealthDbGet(options);
2119
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2120
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HealthApi.getDbHealthHealthDbGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2121
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2122
+ });
2123
+ },
2124
+ /**
2125
+ *
2126
+ * @summary Get Health
2127
+ * @param {*} [options] Override http request option.
2128
+ * @throws {RequiredError}
2129
+ */
2130
+ getHealthHealthGet(options) {
2131
+ return __awaiter(this, void 0, void 0, function* () {
2132
+ var _a, _b, _c;
2133
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getHealthHealthGet(options);
2134
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2135
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HealthApi.getHealthHealthGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2136
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2137
+ });
2138
+ },
2139
+ /**
2140
+ *
2141
+ * @summary Get Listmonk Health
2142
+ * @param {*} [options] Override http request option.
2143
+ * @throws {RequiredError}
2144
+ */
2145
+ getListmonkHealthHealthListmonkGet(options) {
2146
+ return __awaiter(this, void 0, void 0, function* () {
2147
+ var _a, _b, _c;
2148
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getListmonkHealthHealthListmonkGet(options);
2149
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2150
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HealthApi.getListmonkHealthHealthListmonkGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2151
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2152
+ });
2153
+ },
2154
+ /**
2155
+ *
2156
+ * @summary Get Redis Health
2157
+ * @param {*} [options] Override http request option.
2158
+ * @throws {RequiredError}
2159
+ */
2160
+ getRedisHealthHealthRedisGet(options) {
2161
+ return __awaiter(this, void 0, void 0, function* () {
2162
+ var _a, _b, _c;
2163
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRedisHealthHealthRedisGet(options);
2164
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2165
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['HealthApi.getRedisHealthHealthRedisGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2166
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2167
+ });
2168
+ },
2169
+ };
2170
+ };
2171
+ /**
2172
+ * HealthApi - factory interface
2173
+ * @export
2174
+ */
2175
+ export const HealthApiFactory = function (configuration, basePath, axios) {
2176
+ const localVarFp = HealthApiFp(configuration);
2177
+ return {
2178
+ /**
2179
+ *
2180
+ * @summary Get Db Health
2181
+ * @param {*} [options] Override http request option.
2182
+ * @throws {RequiredError}
2183
+ */
2184
+ getDbHealthHealthDbGet(options) {
2185
+ return localVarFp.getDbHealthHealthDbGet(options).then((request) => request(axios, basePath));
2186
+ },
2187
+ /**
2188
+ *
2189
+ * @summary Get Health
2190
+ * @param {*} [options] Override http request option.
2191
+ * @throws {RequiredError}
2192
+ */
2193
+ getHealthHealthGet(options) {
2194
+ return localVarFp.getHealthHealthGet(options).then((request) => request(axios, basePath));
2195
+ },
2196
+ /**
2197
+ *
2198
+ * @summary Get Listmonk Health
2199
+ * @param {*} [options] Override http request option.
2200
+ * @throws {RequiredError}
2201
+ */
2202
+ getListmonkHealthHealthListmonkGet(options) {
2203
+ return localVarFp.getListmonkHealthHealthListmonkGet(options).then((request) => request(axios, basePath));
2204
+ },
2205
+ /**
2206
+ *
2207
+ * @summary Get Redis Health
2208
+ * @param {*} [options] Override http request option.
2209
+ * @throws {RequiredError}
2210
+ */
2211
+ getRedisHealthHealthRedisGet(options) {
2212
+ return localVarFp.getRedisHealthHealthRedisGet(options).then((request) => request(axios, basePath));
2213
+ },
2214
+ };
2215
+ };
2216
+ /**
2217
+ * HealthApi - object-oriented interface
2218
+ * @export
2219
+ * @class HealthApi
2220
+ * @extends {BaseAPI}
2221
+ */
2222
+ export class HealthApi extends BaseAPI {
2223
+ /**
2224
+ *
2225
+ * @summary Get Db Health
2226
+ * @param {*} [options] Override http request option.
2227
+ * @throws {RequiredError}
2228
+ * @memberof HealthApi
2229
+ */
2230
+ getDbHealthHealthDbGet(options) {
2231
+ return HealthApiFp(this.configuration).getDbHealthHealthDbGet(options).then((request) => request(this.axios, this.basePath));
2232
+ }
2233
+ /**
2234
+ *
2235
+ * @summary Get Health
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ * @memberof HealthApi
2239
+ */
2240
+ getHealthHealthGet(options) {
2241
+ return HealthApiFp(this.configuration).getHealthHealthGet(options).then((request) => request(this.axios, this.basePath));
2242
+ }
2243
+ /**
2244
+ *
2245
+ * @summary Get Listmonk Health
2246
+ * @param {*} [options] Override http request option.
2247
+ * @throws {RequiredError}
2248
+ * @memberof HealthApi
2249
+ */
2250
+ getListmonkHealthHealthListmonkGet(options) {
2251
+ return HealthApiFp(this.configuration).getListmonkHealthHealthListmonkGet(options).then((request) => request(this.axios, this.basePath));
2252
+ }
2253
+ /**
2254
+ *
2255
+ * @summary Get Redis Health
2256
+ * @param {*} [options] Override http request option.
2257
+ * @throws {RequiredError}
2258
+ * @memberof HealthApi
2259
+ */
2260
+ getRedisHealthHealthRedisGet(options) {
2261
+ return HealthApiFp(this.configuration).getRedisHealthHealthRedisGet(options).then((request) => request(this.axios, this.basePath));
2262
+ }
2263
+ }
2264
2264
  /**
2265
2265
  * PaymentsApi - axios parameter creator
2266
2266
  * @export
@@ -2270,15 +2270,14 @@ export const PaymentsApiAxiosParamCreator = function (configuration) {
2270
2270
  /**
2271
2271
  *
2272
2272
  * @summary Get Checkout Session
2273
- * @param {string} userId
2274
2273
  * @param {string} companyId
2275
2274
  * @param {string} productId
2275
+ * @param {string} [authorization]
2276
+ * @param {string} [sessionId]
2276
2277
  * @param {*} [options] Override http request option.
2277
2278
  * @throws {RequiredError}
2278
2279
  */
2279
- getCheckoutSessionPaymentsCheckoutGet: (userId_1, companyId_1, productId_1, ...args_1) => __awaiter(this, [userId_1, companyId_1, productId_1, ...args_1], void 0, function* (userId, companyId, productId, options = {}) {
2280
- // verify required parameter 'userId' is not null or undefined
2281
- assertParamExists('getCheckoutSessionPaymentsCheckoutGet', 'userId', userId);
2280
+ getCheckoutSessionPaymentsCheckoutGet: (companyId_1, productId_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, productId_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, productId, authorization, sessionId, options = {}) {
2282
2281
  // verify required parameter 'companyId' is not null or undefined
2283
2282
  assertParamExists('getCheckoutSessionPaymentsCheckoutGet', 'companyId', companyId);
2284
2283
  // verify required parameter 'productId' is not null or undefined
@@ -2293,15 +2292,15 @@ export const PaymentsApiAxiosParamCreator = function (configuration) {
2293
2292
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2294
2293
  const localVarHeaderParameter = {};
2295
2294
  const localVarQueryParameter = {};
2296
- if (userId !== undefined) {
2297
- localVarQueryParameter['user_id'] = userId;
2298
- }
2299
2295
  if (companyId !== undefined) {
2300
2296
  localVarQueryParameter['company_id'] = companyId;
2301
2297
  }
2302
2298
  if (productId !== undefined) {
2303
2299
  localVarQueryParameter['product_id'] = productId;
2304
2300
  }
2301
+ if (authorization != null) {
2302
+ localVarHeaderParameter['Authorization'] = String(authorization);
2303
+ }
2305
2304
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2306
2305
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2307
2306
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2377,16 +2376,17 @@ export const PaymentsApiFp = function (configuration) {
2377
2376
  /**
2378
2377
  *
2379
2378
  * @summary Get Checkout Session
2380
- * @param {string} userId
2381
2379
  * @param {string} companyId
2382
2380
  * @param {string} productId
2381
+ * @param {string} [authorization]
2382
+ * @param {string} [sessionId]
2383
2383
  * @param {*} [options] Override http request option.
2384
2384
  * @throws {RequiredError}
2385
2385
  */
2386
- getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options) {
2386
+ getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options) {
2387
2387
  return __awaiter(this, void 0, void 0, function* () {
2388
2388
  var _a, _b, _c;
2389
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options);
2389
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options);
2390
2390
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2391
2391
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentsApi.getCheckoutSessionPaymentsCheckoutGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2392
2392
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2436,14 +2436,15 @@ export const PaymentsApiFactory = function (configuration, basePath, axios) {
2436
2436
  /**
2437
2437
  *
2438
2438
  * @summary Get Checkout Session
2439
- * @param {string} userId
2440
2439
  * @param {string} companyId
2441
2440
  * @param {string} productId
2441
+ * @param {string} [authorization]
2442
+ * @param {string} [sessionId]
2442
2443
  * @param {*} [options] Override http request option.
2443
2444
  * @throws {RequiredError}
2444
2445
  */
2445
- getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options) {
2446
- return localVarFp.getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options).then((request) => request(axios, basePath));
2446
+ getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options) {
2447
+ return localVarFp.getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options).then((request) => request(axios, basePath));
2447
2448
  },
2448
2449
  /**
2449
2450
  *
@@ -2477,15 +2478,16 @@ export class PaymentsApi extends BaseAPI {
2477
2478
  /**
2478
2479
  *
2479
2480
  * @summary Get Checkout Session
2480
- * @param {string} userId
2481
2481
  * @param {string} companyId
2482
2482
  * @param {string} productId
2483
+ * @param {string} [authorization]
2484
+ * @param {string} [sessionId]
2483
2485
  * @param {*} [options] Override http request option.
2484
2486
  * @throws {RequiredError}
2485
2487
  * @memberof PaymentsApi
2486
2488
  */
2487
- getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options) {
2488
- return PaymentsApiFp(this.configuration).getCheckoutSessionPaymentsCheckoutGet(userId, companyId, productId, options).then((request) => request(this.axios, this.basePath));
2489
+ getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options) {
2490
+ return PaymentsApiFp(this.configuration).getCheckoutSessionPaymentsCheckoutGet(companyId, productId, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2489
2491
  }
2490
2492
  /**
2491
2493
  *
@@ -2589,14 +2591,14 @@ export const PoliciesApiAxiosParamCreator = function (configuration) {
2589
2591
  *
2590
2592
  * @summary Get Company Policies
2591
2593
  * @param {string} companyId
2592
- * @param {number} [skip] Number of records to skip for pagination
2593
- * @param {number} [limit] Maximum number of records to return
2594
+ * @param {number} [page]
2595
+ * @param {number} [elements]
2594
2596
  * @param {string} [authorization]
2595
2597
  * @param {string} [sessionId]
2596
2598
  * @param {*} [options] Override http request option.
2597
2599
  * @throws {RequiredError}
2598
2600
  */
2599
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId_1, skip_1, limit_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, skip_1, limit_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, skip, limit, authorization, sessionId, options = {}) {
2601
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet: (companyId_1, page_1, elements_1, authorization_1, sessionId_1, ...args_1) => __awaiter(this, [companyId_1, page_1, elements_1, authorization_1, sessionId_1, ...args_1], void 0, function* (companyId, page, elements, authorization, sessionId, options = {}) {
2600
2602
  // verify required parameter 'companyId' is not null or undefined
2601
2603
  assertParamExists('getCompanyPoliciesV1PoliciesCompanyCompanyIdGet', 'companyId', companyId);
2602
2604
  const localVarPath = `/v1/policies/company/{company_id}`
@@ -2610,11 +2612,11 @@ export const PoliciesApiAxiosParamCreator = function (configuration) {
2610
2612
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2611
2613
  const localVarHeaderParameter = {};
2612
2614
  const localVarQueryParameter = {};
2613
- if (skip !== undefined) {
2614
- localVarQueryParameter['skip'] = skip;
2615
+ if (page !== undefined) {
2616
+ localVarQueryParameter['page'] = page;
2615
2617
  }
2616
- if (limit !== undefined) {
2617
- localVarQueryParameter['limit'] = limit;
2618
+ if (elements !== undefined) {
2619
+ localVarQueryParameter['elements'] = elements;
2618
2620
  }
2619
2621
  if (authorization != null) {
2620
2622
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -2744,17 +2746,17 @@ export const PoliciesApiFp = function (configuration) {
2744
2746
  *
2745
2747
  * @summary Get Company Policies
2746
2748
  * @param {string} companyId
2747
- * @param {number} [skip] Number of records to skip for pagination
2748
- * @param {number} [limit] Maximum number of records to return
2749
+ * @param {number} [page]
2750
+ * @param {number} [elements]
2749
2751
  * @param {string} [authorization]
2750
2752
  * @param {string} [sessionId]
2751
2753
  * @param {*} [options] Override http request option.
2752
2754
  * @throws {RequiredError}
2753
2755
  */
2754
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options) {
2756
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options) {
2755
2757
  return __awaiter(this, void 0, void 0, function* () {
2756
2758
  var _a, _b, _c;
2757
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options);
2759
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options);
2758
2760
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2759
2761
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PoliciesApi.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2760
2762
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2832,15 +2834,15 @@ export const PoliciesApiFactory = function (configuration, basePath, axios) {
2832
2834
  *
2833
2835
  * @summary Get Company Policies
2834
2836
  * @param {string} companyId
2835
- * @param {number} [skip] Number of records to skip for pagination
2836
- * @param {number} [limit] Maximum number of records to return
2837
+ * @param {number} [page]
2838
+ * @param {number} [elements]
2837
2839
  * @param {string} [authorization]
2838
2840
  * @param {string} [sessionId]
2839
2841
  * @param {*} [options] Override http request option.
2840
2842
  * @throws {RequiredError}
2841
2843
  */
2842
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options) {
2843
- return localVarFp.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options).then((request) => request(axios, basePath));
2844
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options) {
2845
+ return localVarFp.getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(axios, basePath));
2844
2846
  },
2845
2847
  /**
2846
2848
  *
@@ -2904,16 +2906,16 @@ export class PoliciesApi extends BaseAPI {
2904
2906
  *
2905
2907
  * @summary Get Company Policies
2906
2908
  * @param {string} companyId
2907
- * @param {number} [skip] Number of records to skip for pagination
2908
- * @param {number} [limit] Maximum number of records to return
2909
+ * @param {number} [page]
2910
+ * @param {number} [elements]
2909
2911
  * @param {string} [authorization]
2910
2912
  * @param {string} [sessionId]
2911
2913
  * @param {*} [options] Override http request option.
2912
2914
  * @throws {RequiredError}
2913
2915
  * @memberof PoliciesApi
2914
2916
  */
2915
- getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options) {
2916
- return PoliciesApiFp(this.configuration).getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, skip, limit, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2917
+ getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options) {
2918
+ return PoliciesApiFp(this.configuration).getCompanyPoliciesV1PoliciesCompanyCompanyIdGet(companyId, page, elements, authorization, sessionId, options).then((request) => request(this.axios, this.basePath));
2917
2919
  }
2918
2920
  /**
2919
2921
  *