yellowgrid-api-ts 3.0.79 → 3.0.80-dev.0

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.
Files changed (55) hide show
  1. package/.openapi-generator/FILES +209 -189
  2. package/README.md +34 -7
  3. package/api.ts +1819 -276
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1379 -170
  8. package/dist/api.js +1013 -254
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +1 -1
  17. package/docs/AbstractOrderRequestDTO.md +33 -0
  18. package/docs/AccountDetailedSummaryDTO.md +35 -0
  19. package/docs/AccountsApi.md +103 -0
  20. package/docs/AdminItemRequestDTO.md +37 -0
  21. package/docs/AdminOrderRequestDTO.md +41 -0
  22. package/docs/AdminUserModel.md +31 -0
  23. package/docs/BasicItemDTO.md +23 -0
  24. package/docs/BasicProductDTO.md +23 -0
  25. package/docs/Class3CXApi.md +0 -55
  26. package/docs/Class3CXInstallationWizardApi.md +13 -13
  27. package/docs/ClientDetailsModel.md +0 -2
  28. package/docs/CourierPriceEntity.md +39 -0
  29. package/docs/CustomerItemRequestDTO.md +33 -0
  30. package/docs/CustomerOrderRequestDTO.md +33 -0
  31. package/docs/ItemDTO.md +10 -4
  32. package/docs/LinkedOrderEntity.md +23 -0
  33. package/docs/NavigationItemModel.md +27 -0
  34. package/docs/OrderSummaryDTO.md +8 -0
  35. package/docs/OrderTotalModel.md +2 -0
  36. package/docs/OrdersApi.md +301 -4
  37. package/docs/ProductSearchResultsModel.md +1 -1
  38. package/docs/{ProductSummaryModel.md → ProductSummaryDTO.md} +5 -3
  39. package/docs/ProductsApi.md +97 -36
  40. package/docs/ProvisioningApi.md +4 -4
  41. package/docs/{ProvisioningEntity.md → ProvisioningModel.md} +3 -3
  42. package/docs/ShipmentEntity.md +2 -2
  43. package/docs/ShippingApi.md +63 -0
  44. package/docs/ShippingConsignmentModel.md +26 -0
  45. package/docs/ShippingInformationDTO.md +25 -0
  46. package/docs/ShippingServiceDTO.md +23 -0
  47. package/docs/ShippingServiceModel.md +31 -0
  48. package/docs/{GetGetPasswordHash200Response.md → ShippingServicesModel.md} +5 -5
  49. package/docs/StockManagementApi.md +2 -2
  50. package/docs/SubNavigationItemModel.md +25 -0
  51. package/docs/TcxSbcDTO.md +31 -0
  52. package/docs/TcxSbcModel.md +51 -0
  53. package/docs/TcxWizardModel.md +1 -1
  54. package/index.ts +1 -1
  55. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Yellowgrid
6
- * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
6
+ * Welcome to the Yellowgrid API documentation. This API provides secure and comprehensive access to the Yellowgrid platform, enabling developers and integrators to manage accounts, contacts, SIP trunks, SMS messaging, 3CX integrations, and provisioning services. ## Key Features: - **Accounts**: View and manage account details, contacts, client credentials, and verification. - **Provisioning**: Automate setup and configuration of devices and groups. - **SIP Trunks**: Manage trunk creation, changes, DDIs, diverts, and configuration. - **Messaging**: Send SMS messages securely via the messaging gateway. - **3CX Integrations**: Automate licence handling, installation, and multi-tenant setup. ## Authentication: The API supports OAuth 2.0 for authentication and authorization. Ensure you use a valid bearer token for all authenticated endpoints. ## Base URL: `http://api.yellowgrid.local` For questions or technical support, please contact support@yellowgrid.co.uk.
7
7
  *
8
8
  * The version of the OpenAPI document: 0
9
9
  *
@@ -84,15 +84,22 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = void 0;
88
- exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = void 0;
89
- exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = void 0;
87
+ exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsHostingEnum = exports.GetGetInstallationsStatusEnum = exports.Class3CXInstallationsApi = exports.Class3CXInstallationsApiFactory = exports.Class3CXInstallationsApiFp = exports.Class3CXInstallationsApiAxiosParamCreator = exports.Class3CXInstallationWizardApi = exports.Class3CXInstallationWizardApiFactory = exports.Class3CXInstallationWizardApiFp = exports.Class3CXInstallationWizardApiAxiosParamCreator = exports.Class3CXApi = exports.Class3CXApiFactory = exports.Class3CXApiFp = exports.Class3CXApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
88
+ exports.ShippingApi = exports.ShippingApiFactory = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = exports.ProvisioningApi = exports.ProvisioningApiFactory = exports.ProvisioningApiFp = exports.ProvisioningApiAxiosParamCreator = exports.GetGetLegacyStockListFormatEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.PostSendPriceListCategoryEnum = exports.PostSendPriceListFormatEnum = exports.PostSendPriceListTypeEnum = exports.GetGetPriceListCategoryEnum = exports.GetGetPriceListFormatEnum = exports.GetGetPriceListTypeEnum = exports.PricingApi = exports.PricingApiFactory = exports.PricingApiFp = exports.PricingApiAxiosParamCreator = exports.GetGetOrdersFilterEnum = exports.GetGetOrdersStatusEnum = exports.OrdersApi = exports.OrdersApiFactory = exports.OrdersApiFp = exports.OrdersApiAxiosParamCreator = exports.PostAuthoriseScopeEnum = exports.PostAccessTokenTokenExchangeTypeEnum = exports.PostAccessTokenScopeEnum = exports.PostAccessTokenGrantTypeEnum = exports.OAuth20Api = exports.OAuth20ApiFactory = exports.OAuth20ApiFp = exports.OAuth20ApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = void 0;
89
+ exports.PostAddWebhookWebhookUriEnum = exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.TicketsApi = exports.TicketsApiFactory = exports.TicketsApiFp = exports.TicketsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.StockManagementApi = exports.StockManagementApiFactory = exports.StockManagementApiFp = exports.StockManagementApiAxiosParamCreator = void 0;
90
90
  var axios_1 = require("axios");
91
91
  // Some imports not used depending on template conditions
92
92
  // @ts-ignore
93
93
  var common_1 = require("./common");
94
94
  // @ts-ignore
95
95
  var base_1 = require("./base");
96
+ exports.AdminUserModelRoleEnum = {
97
+ NUMBER_0: 0,
98
+ NUMBER_1: 1,
99
+ NUMBER_2: 2,
100
+ NUMBER_3: 3,
101
+ NUMBER_4: 4
102
+ };
96
103
  exports.DivertResponseModelStatusEnum = {
97
104
  Enabled: 'enabled',
98
105
  Disabled: 'disabled'
@@ -158,6 +165,16 @@ exports.OrderTotalModelCurrencyEnum = {
158
165
  Thb: 'THB',
159
166
  Zar: 'ZAR'
160
167
  };
168
+ exports.ShippingServiceDTOCourierEnum = {
169
+ Dpd: 'DPD',
170
+ ChorltonPallet: 'Chorlton Pallet',
171
+ Pops: 'POPS'
172
+ };
173
+ exports.ShippingServiceModelCourierEnum = {
174
+ Dpd: 'DPD',
175
+ ChorltonPallet: 'Chorlton Pallet',
176
+ Pops: 'POPS'
177
+ };
161
178
  exports.SipTrunkChangeResponseModelTypeEnum = {
162
179
  NewTrunk: 'New Trunk',
163
180
  AvailableTrunk: 'Available Trunk',
@@ -391,6 +408,43 @@ var AccountsApiAxiosParamCreator = function (configuration) {
391
408
  });
392
409
  });
393
410
  },
411
+ /**
412
+ * Get Account Detailed Summary
413
+ * @summary Get Account Detailed Summary
414
+ * @param {number} id Customer ID
415
+ * @param {*} [options] Override http request option.
416
+ * @throws {RequiredError}
417
+ */
418
+ getGetAccountDetailedSummary: function (id_1) {
419
+ var args_1 = [];
420
+ for (var _i = 1; _i < arguments.length; _i++) {
421
+ args_1[_i - 1] = arguments[_i];
422
+ }
423
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
424
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
425
+ if (options === void 0) { options = {}; }
426
+ return __generator(this, function (_a) {
427
+ // verify required parameter 'id' is not null or undefined
428
+ (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
429
+ localVarPath = "/accounts/{id}/summary"
430
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
431
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
432
+ if (configuration) {
433
+ baseOptions = configuration.baseOptions;
434
+ }
435
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
436
+ localVarHeaderParameter = {};
437
+ localVarQueryParameter = {};
438
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
439
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
440
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
441
+ return [2 /*return*/, {
442
+ url: (0, common_1.toPathString)(localVarUrlObj),
443
+ options: localVarRequestOptions,
444
+ }];
445
+ });
446
+ });
447
+ },
394
448
  /**
395
449
  * Get Accounts
396
450
  * @summary Get Accounts
@@ -694,6 +748,39 @@ var AccountsApiAxiosParamCreator = function (configuration) {
694
748
  });
695
749
  });
696
750
  },
751
+ /**
752
+ * Get Admin Account
753
+ * @summary Get Admin Account
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ postGetAdminAccount: function () {
758
+ var args_1 = [];
759
+ for (var _i = 0; _i < arguments.length; _i++) {
760
+ args_1[_i] = arguments[_i];
761
+ }
762
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
763
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
764
+ if (options === void 0) { options = {}; }
765
+ return __generator(this, function (_a) {
766
+ localVarPath = "/admin/me";
767
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
768
+ if (configuration) {
769
+ baseOptions = configuration.baseOptions;
770
+ }
771
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
772
+ localVarHeaderParameter = {};
773
+ localVarQueryParameter = {};
774
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
775
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
776
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
777
+ return [2 /*return*/, {
778
+ url: (0, common_1.toPathString)(localVarUrlObj),
779
+ options: localVarRequestOptions,
780
+ }];
781
+ });
782
+ });
783
+ },
697
784
  /**
698
785
  * Create client credentials
699
786
  * @summary Create client credentials
@@ -992,6 +1079,29 @@ var AccountsApiFp = function (configuration) {
992
1079
  });
993
1080
  });
994
1081
  },
1082
+ /**
1083
+ * Get Account Detailed Summary
1084
+ * @summary Get Account Detailed Summary
1085
+ * @param {number} id Customer ID
1086
+ * @param {*} [options] Override http request option.
1087
+ * @throws {RequiredError}
1088
+ */
1089
+ getGetAccountDetailedSummary: function (id, options) {
1090
+ return __awaiter(this, void 0, void 0, function () {
1091
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1092
+ var _a, _b, _c;
1093
+ return __generator(this, function (_d) {
1094
+ switch (_d.label) {
1095
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
1096
+ case 1:
1097
+ localVarAxiosArgs = _d.sent();
1098
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1099
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1100
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1101
+ }
1102
+ });
1103
+ });
1104
+ },
995
1105
  /**
996
1106
  * Get Accounts
997
1107
  * @summary Get Accounts
@@ -1177,6 +1287,28 @@ var AccountsApiFp = function (configuration) {
1177
1287
  });
1178
1288
  });
1179
1289
  },
1290
+ /**
1291
+ * Get Admin Account
1292
+ * @summary Get Admin Account
1293
+ * @param {*} [options] Override http request option.
1294
+ * @throws {RequiredError}
1295
+ */
1296
+ postGetAdminAccount: function (options) {
1297
+ return __awaiter(this, void 0, void 0, function () {
1298
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1299
+ var _a, _b, _c;
1300
+ return __generator(this, function (_d) {
1301
+ switch (_d.label) {
1302
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetAdminAccount(options)];
1303
+ case 1:
1304
+ localVarAxiosArgs = _d.sent();
1305
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1306
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postGetAdminAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1307
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1308
+ }
1309
+ });
1310
+ });
1311
+ },
1180
1312
  /**
1181
1313
  * Create client credentials
1182
1314
  * @summary Create client credentials
@@ -1344,6 +1476,16 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1344
1476
  getGetAccountContacts: function (email, options) {
1345
1477
  return localVarFp.getGetAccountContacts(email, options).then(function (request) { return request(axios, basePath); });
1346
1478
  },
1479
+ /**
1480
+ * Get Account Detailed Summary
1481
+ * @summary Get Account Detailed Summary
1482
+ * @param {number} id Customer ID
1483
+ * @param {*} [options] Override http request option.
1484
+ * @throws {RequiredError}
1485
+ */
1486
+ getGetAccountDetailedSummary: function (id, options) {
1487
+ return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
1488
+ },
1347
1489
  /**
1348
1490
  * Get Accounts
1349
1491
  * @summary Get Accounts
@@ -1425,6 +1567,15 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1425
1567
  postGetAccounts: function (accountRequestModel, options) {
1426
1568
  return localVarFp.postGetAccounts(accountRequestModel, options).then(function (request) { return request(axios, basePath); });
1427
1569
  },
1570
+ /**
1571
+ * Get Admin Account
1572
+ * @summary Get Admin Account
1573
+ * @param {*} [options] Override http request option.
1574
+ * @throws {RequiredError}
1575
+ */
1576
+ postGetAdminAccount: function (options) {
1577
+ return localVarFp.postGetAdminAccount(options).then(function (request) { return request(axios, basePath); });
1578
+ },
1428
1579
  /**
1429
1580
  * Create client credentials
1430
1581
  * @summary Create client credentials
@@ -1539,6 +1690,18 @@ var AccountsApi = /** @class */ (function (_super) {
1539
1690
  var _this = this;
1540
1691
  return (0, exports.AccountsApiFp)(this.configuration).getGetAccountContacts(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
1541
1692
  };
1693
+ /**
1694
+ * Get Account Detailed Summary
1695
+ * @summary Get Account Detailed Summary
1696
+ * @param {number} id Customer ID
1697
+ * @param {*} [options] Override http request option.
1698
+ * @throws {RequiredError}
1699
+ * @memberof AccountsApi
1700
+ */
1701
+ AccountsApi.prototype.getGetAccountDetailedSummary = function (id, options) {
1702
+ var _this = this;
1703
+ return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
1704
+ };
1542
1705
  /**
1543
1706
  * Get Accounts
1544
1707
  * @summary Get Accounts
@@ -1636,6 +1799,17 @@ var AccountsApi = /** @class */ (function (_super) {
1636
1799
  var _this = this;
1637
1800
  return (0, exports.AccountsApiFp)(this.configuration).postGetAccounts(accountRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
1638
1801
  };
1802
+ /**
1803
+ * Get Admin Account
1804
+ * @summary Get Admin Account
1805
+ * @param {*} [options] Override http request option.
1806
+ * @throws {RequiredError}
1807
+ * @memberof AccountsApi
1808
+ */
1809
+ AccountsApi.prototype.postGetAdminAccount = function (options) {
1810
+ var _this = this;
1811
+ return (0, exports.AccountsApiFp)(this.configuration).postGetAdminAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
1812
+ };
1639
1813
  /**
1640
1814
  * Create client credentials
1641
1815
  * @summary Create client credentials
@@ -1748,45 +1922,6 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
1748
1922
  });
1749
1923
  });
1750
1924
  },
1751
- /**
1752
- * Generate a 3CX hashed password for 3CX installation
1753
- * @summary Convert a password to a hashed 3CX password
1754
- * @param {string} password Desired 3CX web access password
1755
- * @param {*} [options] Override http request option.
1756
- * @throws {RequiredError}
1757
- */
1758
- getGetPasswordHash: function (password_1) {
1759
- var args_1 = [];
1760
- for (var _i = 1; _i < arguments.length; _i++) {
1761
- args_1[_i - 1] = arguments[_i];
1762
- }
1763
- return __awaiter(_this, __spreadArray([password_1], args_1, true), void 0, function (password, options) {
1764
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1765
- if (options === void 0) { options = {}; }
1766
- return __generator(this, function (_a) {
1767
- // verify required parameter 'password' is not null or undefined
1768
- (0, common_1.assertParamExists)('getGetPasswordHash', 'password', password);
1769
- localVarPath = "/tcx/pwd2hash";
1770
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1771
- if (configuration) {
1772
- baseOptions = configuration.baseOptions;
1773
- }
1774
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1775
- localVarHeaderParameter = {};
1776
- localVarQueryParameter = {};
1777
- if (password !== undefined) {
1778
- localVarQueryParameter['password'] = password;
1779
- }
1780
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1781
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1782
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1783
- return [2 /*return*/, {
1784
- url: (0, common_1.toPathString)(localVarUrlObj),
1785
- options: localVarRequestOptions,
1786
- }];
1787
- });
1788
- });
1789
- },
1790
1925
  /**
1791
1926
  * Get Bulk 3CX Licence Details
1792
1927
  * @summary Get bulk 3CX Licence Details
@@ -1856,29 +1991,6 @@ var Class3CXApiFp = function (configuration) {
1856
1991
  });
1857
1992
  });
1858
1993
  },
1859
- /**
1860
- * Generate a 3CX hashed password for 3CX installation
1861
- * @summary Convert a password to a hashed 3CX password
1862
- * @param {string} password Desired 3CX web access password
1863
- * @param {*} [options] Override http request option.
1864
- * @throws {RequiredError}
1865
- */
1866
- getGetPasswordHash: function (password, options) {
1867
- return __awaiter(this, void 0, void 0, function () {
1868
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1869
- var _a, _b, _c;
1870
- return __generator(this, function (_d) {
1871
- switch (_d.label) {
1872
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetPasswordHash(password, options)];
1873
- case 1:
1874
- localVarAxiosArgs = _d.sent();
1875
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1876
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetPasswordHash']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1877
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1878
- }
1879
- });
1880
- });
1881
- },
1882
1994
  /**
1883
1995
  * Get Bulk 3CX Licence Details
1884
1996
  * @summary Get bulk 3CX Licence Details
@@ -1922,16 +2034,6 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
1922
2034
  getGetLicenceDetails: function (key, options) {
1923
2035
  return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
1924
2036
  },
1925
- /**
1926
- * Generate a 3CX hashed password for 3CX installation
1927
- * @summary Convert a password to a hashed 3CX password
1928
- * @param {string} password Desired 3CX web access password
1929
- * @param {*} [options] Override http request option.
1930
- * @throws {RequiredError}
1931
- */
1932
- getGetPasswordHash: function (password, options) {
1933
- return localVarFp.getGetPasswordHash(password, options).then(function (request) { return request(axios, basePath); });
1934
- },
1935
2037
  /**
1936
2038
  * Get Bulk 3CX Licence Details
1937
2039
  * @summary Get bulk 3CX Licence Details
@@ -1968,18 +2070,6 @@ var Class3CXApi = /** @class */ (function (_super) {
1968
2070
  var _this = this;
1969
2071
  return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
1970
2072
  };
1971
- /**
1972
- * Generate a 3CX hashed password for 3CX installation
1973
- * @summary Convert a password to a hashed 3CX password
1974
- * @param {string} password Desired 3CX web access password
1975
- * @param {*} [options] Override http request option.
1976
- * @throws {RequiredError}
1977
- * @memberof Class3CXApi
1978
- */
1979
- Class3CXApi.prototype.getGetPasswordHash = function (password, options) {
1980
- var _this = this;
1981
- return (0, exports.Class3CXApiFp)(this.configuration).getGetPasswordHash(password, options).then(function (request) { return request(_this.axios, _this.basePath); });
1982
- };
1983
2073
  /**
1984
2074
  * Get Bulk 3CX Licence Details
1985
2075
  * @summary Get bulk 3CX Licence Details
@@ -2113,16 +2203,16 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2113
2203
  /**
2114
2204
  * Delete 3CX Installation Wizard SBCs
2115
2205
  * @summary Delete 3CX Installation Wizard SBCs
2116
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
2206
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
2117
2207
  * @param {*} [options] Override http request option.
2118
2208
  * @throws {RequiredError}
2119
2209
  */
2120
- deleteAddSbcs: function (tcxSbcEntity_1) {
2210
+ deleteAddSbcs: function (tcxSbcModel_1) {
2121
2211
  var args_1 = [];
2122
2212
  for (var _i = 1; _i < arguments.length; _i++) {
2123
2213
  args_1[_i - 1] = arguments[_i];
2124
2214
  }
2125
- return __awaiter(_this, __spreadArray([tcxSbcEntity_1], args_1, true), void 0, function (tcxSbcEntity, options) {
2215
+ return __awaiter(_this, __spreadArray([tcxSbcModel_1], args_1, true), void 0, function (tcxSbcModel, options) {
2126
2216
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2127
2217
  if (options === void 0) { options = {}; }
2128
2218
  return __generator(this, function (_a) {
@@ -2138,7 +2228,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2138
2228
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2139
2229
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2140
2230
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2141
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tcxSbcEntity, localVarRequestOptions, configuration);
2231
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tcxSbcModel, localVarRequestOptions, configuration);
2142
2232
  return [2 /*return*/, {
2143
2233
  url: (0, common_1.toPathString)(localVarUrlObj),
2144
2234
  options: localVarRequestOptions,
@@ -2509,16 +2599,16 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2509
2599
  /**
2510
2600
  * Update 3CX Installation Wizard SBCs
2511
2601
  * @summary Update 3CX Installation Wizard SBCs
2512
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
2602
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
2513
2603
  * @param {*} [options] Override http request option.
2514
2604
  * @throws {RequiredError}
2515
2605
  */
2516
- patchAddSbcs: function (tcxSbcEntity_1) {
2606
+ patchAddSbcs: function (tcxSbcModel_1) {
2517
2607
  var args_1 = [];
2518
2608
  for (var _i = 1; _i < arguments.length; _i++) {
2519
2609
  args_1[_i - 1] = arguments[_i];
2520
2610
  }
2521
- return __awaiter(_this, __spreadArray([tcxSbcEntity_1], args_1, true), void 0, function (tcxSbcEntity, options) {
2611
+ return __awaiter(_this, __spreadArray([tcxSbcModel_1], args_1, true), void 0, function (tcxSbcModel, options) {
2522
2612
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2523
2613
  if (options === void 0) { options = {}; }
2524
2614
  return __generator(this, function (_a) {
@@ -2534,7 +2624,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2534
2624
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2535
2625
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2536
2626
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2537
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tcxSbcEntity, localVarRequestOptions, configuration);
2627
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tcxSbcModel, localVarRequestOptions, configuration);
2538
2628
  return [2 /*return*/, {
2539
2629
  url: (0, common_1.toPathString)(localVarUrlObj),
2540
2630
  options: localVarRequestOptions,
@@ -2689,16 +2779,16 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2689
2779
  /**
2690
2780
  * Add SBCs To 3CX Installation Wizard
2691
2781
  * @summary Add SBCs To 3CX Installation Wizard
2692
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
2782
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
2693
2783
  * @param {*} [options] Override http request option.
2694
2784
  * @throws {RequiredError}
2695
2785
  */
2696
- postAddSbcs: function (tcxSbcEntity_1) {
2786
+ postAddSbcs: function (tcxSbcModel_1) {
2697
2787
  var args_1 = [];
2698
2788
  for (var _i = 1; _i < arguments.length; _i++) {
2699
2789
  args_1[_i - 1] = arguments[_i];
2700
2790
  }
2701
- return __awaiter(_this, __spreadArray([tcxSbcEntity_1], args_1, true), void 0, function (tcxSbcEntity, options) {
2791
+ return __awaiter(_this, __spreadArray([tcxSbcModel_1], args_1, true), void 0, function (tcxSbcModel, options) {
2702
2792
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2703
2793
  if (options === void 0) { options = {}; }
2704
2794
  return __generator(this, function (_a) {
@@ -2714,7 +2804,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2714
2804
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2715
2805
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2716
2806
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2717
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tcxSbcEntity, localVarRequestOptions, configuration);
2807
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tcxSbcModel, localVarRequestOptions, configuration);
2718
2808
  return [2 /*return*/, {
2719
2809
  url: (0, common_1.toPathString)(localVarUrlObj),
2720
2810
  options: localVarRequestOptions,
@@ -3027,17 +3117,17 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
3027
3117
  /**
3028
3118
  * Delete 3CX Installation Wizard SBCs
3029
3119
  * @summary Delete 3CX Installation Wizard SBCs
3030
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3120
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3031
3121
  * @param {*} [options] Override http request option.
3032
3122
  * @throws {RequiredError}
3033
3123
  */
3034
- deleteAddSbcs: function (tcxSbcEntity, options) {
3124
+ deleteAddSbcs: function (tcxSbcModel, options) {
3035
3125
  return __awaiter(this, void 0, void 0, function () {
3036
3126
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3037
3127
  var _a, _b, _c;
3038
3128
  return __generator(this, function (_d) {
3039
3129
  switch (_d.label) {
3040
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAddSbcs(tcxSbcEntity, options)];
3130
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAddSbcs(tcxSbcModel, options)];
3041
3131
  case 1:
3042
3132
  localVarAxiosArgs = _d.sent();
3043
3133
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -3278,17 +3368,17 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
3278
3368
  /**
3279
3369
  * Update 3CX Installation Wizard SBCs
3280
3370
  * @summary Update 3CX Installation Wizard SBCs
3281
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3371
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3282
3372
  * @param {*} [options] Override http request option.
3283
3373
  * @throws {RequiredError}
3284
3374
  */
3285
- patchAddSbcs: function (tcxSbcEntity, options) {
3375
+ patchAddSbcs: function (tcxSbcModel, options) {
3286
3376
  return __awaiter(this, void 0, void 0, function () {
3287
3377
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3288
3378
  var _a, _b, _c;
3289
3379
  return __generator(this, function (_d) {
3290
3380
  switch (_d.label) {
3291
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAddSbcs(tcxSbcEntity, options)];
3381
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchAddSbcs(tcxSbcModel, options)];
3292
3382
  case 1:
3293
3383
  localVarAxiosArgs = _d.sent();
3294
3384
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -3393,17 +3483,17 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
3393
3483
  /**
3394
3484
  * Add SBCs To 3CX Installation Wizard
3395
3485
  * @summary Add SBCs To 3CX Installation Wizard
3396
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3486
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3397
3487
  * @param {*} [options] Override http request option.
3398
3488
  * @throws {RequiredError}
3399
3489
  */
3400
- postAddSbcs: function (tcxSbcEntity, options) {
3490
+ postAddSbcs: function (tcxSbcModel, options) {
3401
3491
  return __awaiter(this, void 0, void 0, function () {
3402
3492
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3403
3493
  var _a, _b, _c;
3404
3494
  return __generator(this, function (_d) {
3405
3495
  switch (_d.label) {
3406
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAddSbcs(tcxSbcEntity, options)];
3496
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postAddSbcs(tcxSbcModel, options)];
3407
3497
  case 1:
3408
3498
  localVarAxiosArgs = _d.sent();
3409
3499
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -3576,12 +3666,12 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
3576
3666
  /**
3577
3667
  * Delete 3CX Installation Wizard SBCs
3578
3668
  * @summary Delete 3CX Installation Wizard SBCs
3579
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3669
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3580
3670
  * @param {*} [options] Override http request option.
3581
3671
  * @throws {RequiredError}
3582
3672
  */
3583
- deleteAddSbcs: function (tcxSbcEntity, options) {
3584
- return localVarFp.deleteAddSbcs(tcxSbcEntity, options).then(function (request) { return request(axios, basePath); });
3673
+ deleteAddSbcs: function (tcxSbcModel, options) {
3674
+ return localVarFp.deleteAddSbcs(tcxSbcModel, options).then(function (request) { return request(axios, basePath); });
3585
3675
  },
3586
3676
  /**
3587
3677
  * Delete 3CX Installation Wizard
@@ -3684,12 +3774,12 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
3684
3774
  /**
3685
3775
  * Update 3CX Installation Wizard SBCs
3686
3776
  * @summary Update 3CX Installation Wizard SBCs
3687
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3777
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3688
3778
  * @param {*} [options] Override http request option.
3689
3779
  * @throws {RequiredError}
3690
3780
  */
3691
- patchAddSbcs: function (tcxSbcEntity, options) {
3692
- return localVarFp.patchAddSbcs(tcxSbcEntity, options).then(function (request) { return request(axios, basePath); });
3781
+ patchAddSbcs: function (tcxSbcModel, options) {
3782
+ return localVarFp.patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(axios, basePath); });
3693
3783
  },
3694
3784
  /**
3695
3785
  * Update 3CX Installation Wizard
@@ -3734,12 +3824,12 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
3734
3824
  /**
3735
3825
  * Add SBCs To 3CX Installation Wizard
3736
3826
  * @summary Add SBCs To 3CX Installation Wizard
3737
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3827
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3738
3828
  * @param {*} [options] Override http request option.
3739
3829
  * @throws {RequiredError}
3740
3830
  */
3741
- postAddSbcs: function (tcxSbcEntity, options) {
3742
- return localVarFp.postAddSbcs(tcxSbcEntity, options).then(function (request) { return request(axios, basePath); });
3831
+ postAddSbcs: function (tcxSbcModel, options) {
3832
+ return localVarFp.postAddSbcs(tcxSbcModel, options).then(function (request) { return request(axios, basePath); });
3743
3833
  },
3744
3834
  /**
3745
3835
  * Build Instance From 3CX Installation Wizard
@@ -3849,14 +3939,14 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
3849
3939
  /**
3850
3940
  * Delete 3CX Installation Wizard SBCs
3851
3941
  * @summary Delete 3CX Installation Wizard SBCs
3852
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
3942
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3853
3943
  * @param {*} [options] Override http request option.
3854
3944
  * @throws {RequiredError}
3855
3945
  * @memberof Class3CXInstallationWizardApi
3856
3946
  */
3857
- Class3CXInstallationWizardApi.prototype.deleteAddSbcs = function (tcxSbcEntity, options) {
3947
+ Class3CXInstallationWizardApi.prototype.deleteAddSbcs = function (tcxSbcModel, options) {
3858
3948
  var _this = this;
3859
- return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).deleteAddSbcs(tcxSbcEntity, options).then(function (request) { return request(_this.axios, _this.basePath); });
3949
+ return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).deleteAddSbcs(tcxSbcModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3860
3950
  };
3861
3951
  /**
3862
3952
  * Delete 3CX Installation Wizard
@@ -3979,14 +4069,14 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
3979
4069
  /**
3980
4070
  * Update 3CX Installation Wizard SBCs
3981
4071
  * @summary Update 3CX Installation Wizard SBCs
3982
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
4072
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
3983
4073
  * @param {*} [options] Override http request option.
3984
4074
  * @throws {RequiredError}
3985
4075
  * @memberof Class3CXInstallationWizardApi
3986
4076
  */
3987
- Class3CXInstallationWizardApi.prototype.patchAddSbcs = function (tcxSbcEntity, options) {
4077
+ Class3CXInstallationWizardApi.prototype.patchAddSbcs = function (tcxSbcModel, options) {
3988
4078
  var _this = this;
3989
- return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAddSbcs(tcxSbcEntity, options).then(function (request) { return request(_this.axios, _this.basePath); });
4079
+ return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).patchAddSbcs(tcxSbcModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
3990
4080
  };
3991
4081
  /**
3992
4082
  * Update 3CX Installation Wizard
@@ -4039,14 +4129,14 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4039
4129
  /**
4040
4130
  * Add SBCs To 3CX Installation Wizard
4041
4131
  * @summary Add SBCs To 3CX Installation Wizard
4042
- * @param {Array<TcxSbcEntity>} [tcxSbcEntity] 3CX Wizard SBCs
4132
+ * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
4043
4133
  * @param {*} [options] Override http request option.
4044
4134
  * @throws {RequiredError}
4045
4135
  * @memberof Class3CXInstallationWizardApi
4046
4136
  */
4047
- Class3CXInstallationWizardApi.prototype.postAddSbcs = function (tcxSbcEntity, options) {
4137
+ Class3CXInstallationWizardApi.prototype.postAddSbcs = function (tcxSbcModel, options) {
4048
4138
  var _this = this;
4049
- return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postAddSbcs(tcxSbcEntity, options).then(function (request) { return request(_this.axios, _this.basePath); });
4139
+ return (0, exports.Class3CXInstallationWizardApiFp)(this.configuration).postAddSbcs(tcxSbcModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
4050
4140
  };
4051
4141
  /**
4052
4142
  * Build Instance From 3CX Installation Wizard
@@ -7241,11 +7331,12 @@ var OrdersApiAxiosParamCreator = function (configuration) {
7241
7331
  return {
7242
7332
  /**
7243
7333
  * Delete Orders
7334
+ * @summary Delete Orders
7244
7335
  * @param {number} id Order ID
7245
7336
  * @param {*} [options] Override http request option.
7246
7337
  * @throws {RequiredError}
7247
7338
  */
7248
- deleteDeleteOrder: function (id_1) {
7339
+ deleteUpdateOrder: function (id_1) {
7249
7340
  var args_1 = [];
7250
7341
  for (var _i = 1; _i < arguments.length; _i++) {
7251
7342
  args_1[_i - 1] = arguments[_i];
@@ -7255,7 +7346,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
7255
7346
  if (options === void 0) { options = {}; }
7256
7347
  return __generator(this, function (_a) {
7257
7348
  // verify required parameter 'id' is not null or undefined
7258
- (0, common_1.assertParamExists)('deleteDeleteOrder', 'id', id);
7349
+ (0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
7259
7350
  localVarPath = "/orders/{id}"
7260
7351
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7261
7352
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -7275,6 +7366,42 @@ var OrdersApiAxiosParamCreator = function (configuration) {
7275
7366
  });
7276
7367
  });
7277
7368
  },
7369
+ /**
7370
+ * Get Editable Order
7371
+ * @param {number} id Order ID
7372
+ * @param {*} [options] Override http request option.
7373
+ * @throws {RequiredError}
7374
+ */
7375
+ getGetEditableOrder: function (id_1) {
7376
+ var args_1 = [];
7377
+ for (var _i = 1; _i < arguments.length; _i++) {
7378
+ args_1[_i - 1] = arguments[_i];
7379
+ }
7380
+ return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
7381
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7382
+ if (options === void 0) { options = {}; }
7383
+ return __generator(this, function (_a) {
7384
+ // verify required parameter 'id' is not null or undefined
7385
+ (0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
7386
+ localVarPath = "/orders/{id}/views/editable"
7387
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7388
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7389
+ if (configuration) {
7390
+ baseOptions = configuration.baseOptions;
7391
+ }
7392
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7393
+ localVarHeaderParameter = {};
7394
+ localVarQueryParameter = {};
7395
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7396
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7397
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7398
+ return [2 /*return*/, {
7399
+ url: (0, common_1.toPathString)(localVarUrlObj),
7400
+ options: localVarRequestOptions,
7401
+ }];
7402
+ });
7403
+ });
7404
+ },
7278
7405
  /**
7279
7406
  * Get Orders
7280
7407
  * @summary Get Orders
@@ -7336,34 +7463,225 @@ var OrdersApiAxiosParamCreator = function (configuration) {
7336
7463
  });
7337
7464
  });
7338
7465
  },
7339
- };
7340
- };
7341
- exports.OrdersApiAxiosParamCreator = OrdersApiAxiosParamCreator;
7342
- /**
7343
- * OrdersApi - functional programming interface
7344
- * @export
7345
- */
7346
- var OrdersApiFp = function (configuration) {
7347
- var localVarAxiosParamCreator = (0, exports.OrdersApiAxiosParamCreator)(configuration);
7348
- return {
7349
7466
  /**
7350
- * Delete Orders
7351
- * @param {number} id Order ID
7467
+ * Create An Order (Admin)
7468
+ * @summary Create An Order (Admin)
7469
+ * @param {boolean} [readonly] Readonly Order
7470
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
7352
7471
  * @param {*} [options] Override http request option.
7353
7472
  * @throws {RequiredError}
7354
7473
  */
7355
- deleteDeleteOrder: function (id, options) {
7356
- return __awaiter(this, void 0, void 0, function () {
7357
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7358
- var _a, _b, _c;
7359
- return __generator(this, function (_d) {
7360
- switch (_d.label) {
7361
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteDeleteOrder(id, options)];
7362
- case 1:
7363
- localVarAxiosArgs = _d.sent();
7364
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7365
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.deleteDeleteOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7366
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7474
+ postCreateAdminOrder: function (readonly_1, adminOrderRequestDTO_1) {
7475
+ var args_1 = [];
7476
+ for (var _i = 2; _i < arguments.length; _i++) {
7477
+ args_1[_i - 2] = arguments[_i];
7478
+ }
7479
+ return __awaiter(_this, __spreadArray([readonly_1, adminOrderRequestDTO_1], args_1, true), void 0, function (readonly, adminOrderRequestDTO, options) {
7480
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7481
+ if (options === void 0) { options = {}; }
7482
+ return __generator(this, function (_a) {
7483
+ localVarPath = "/admin/orders";
7484
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7485
+ if (configuration) {
7486
+ baseOptions = configuration.baseOptions;
7487
+ }
7488
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
7489
+ localVarHeaderParameter = {};
7490
+ localVarQueryParameter = {};
7491
+ if (readonly !== undefined) {
7492
+ localVarQueryParameter['readonly'] = readonly;
7493
+ }
7494
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7495
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7496
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7497
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7498
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminOrderRequestDTO, localVarRequestOptions, configuration);
7499
+ return [2 /*return*/, {
7500
+ url: (0, common_1.toPathString)(localVarUrlObj),
7501
+ options: localVarRequestOptions,
7502
+ }];
7503
+ });
7504
+ });
7505
+ },
7506
+ /**
7507
+ * Create An Order
7508
+ * @summary Create An Order
7509
+ * @param {boolean} [readonly] Readonly Order
7510
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7511
+ * @param {*} [options] Override http request option.
7512
+ * @throws {RequiredError}
7513
+ */
7514
+ postGetOrders: function (readonly_1, customerOrderRequestDTO_1) {
7515
+ var args_1 = [];
7516
+ for (var _i = 2; _i < arguments.length; _i++) {
7517
+ args_1[_i - 2] = arguments[_i];
7518
+ }
7519
+ return __awaiter(_this, __spreadArray([readonly_1, customerOrderRequestDTO_1], args_1, true), void 0, function (readonly, customerOrderRequestDTO, options) {
7520
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7521
+ if (options === void 0) { options = {}; }
7522
+ return __generator(this, function (_a) {
7523
+ localVarPath = "/orders";
7524
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7525
+ if (configuration) {
7526
+ baseOptions = configuration.baseOptions;
7527
+ }
7528
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
7529
+ localVarHeaderParameter = {};
7530
+ localVarQueryParameter = {};
7531
+ if (readonly !== undefined) {
7532
+ localVarQueryParameter['readonly'] = readonly;
7533
+ }
7534
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7535
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7536
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7537
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7538
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(customerOrderRequestDTO, localVarRequestOptions, configuration);
7539
+ return [2 /*return*/, {
7540
+ url: (0, common_1.toPathString)(localVarUrlObj),
7541
+ options: localVarRequestOptions,
7542
+ }];
7543
+ });
7544
+ });
7545
+ },
7546
+ /**
7547
+ * Update An Order (Admin)
7548
+ * @summary Update An Order (Admin)
7549
+ * @param {number} id Order ID
7550
+ * @param {boolean} [readonly] Readonly Order
7551
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
7552
+ * @param {*} [options] Override http request option.
7553
+ * @throws {RequiredError}
7554
+ */
7555
+ putUpdateAdminOrder: function (id_1, readonly_1, adminOrderRequestDTO_1) {
7556
+ var args_1 = [];
7557
+ for (var _i = 3; _i < arguments.length; _i++) {
7558
+ args_1[_i - 3] = arguments[_i];
7559
+ }
7560
+ return __awaiter(_this, __spreadArray([id_1, readonly_1, adminOrderRequestDTO_1], args_1, true), void 0, function (id, readonly, adminOrderRequestDTO, options) {
7561
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7562
+ if (options === void 0) { options = {}; }
7563
+ return __generator(this, function (_a) {
7564
+ // verify required parameter 'id' is not null or undefined
7565
+ (0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
7566
+ localVarPath = "/admin/orders/{id}"
7567
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7568
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7569
+ if (configuration) {
7570
+ baseOptions = configuration.baseOptions;
7571
+ }
7572
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
7573
+ localVarHeaderParameter = {};
7574
+ localVarQueryParameter = {};
7575
+ if (readonly !== undefined) {
7576
+ localVarQueryParameter['readonly'] = readonly;
7577
+ }
7578
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7579
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7580
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7581
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7582
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminOrderRequestDTO, localVarRequestOptions, configuration);
7583
+ return [2 /*return*/, {
7584
+ url: (0, common_1.toPathString)(localVarUrlObj),
7585
+ options: localVarRequestOptions,
7586
+ }];
7587
+ });
7588
+ });
7589
+ },
7590
+ /**
7591
+ * Update An Order
7592
+ * @summary Update An Order
7593
+ * @param {number} id Order ID
7594
+ * @param {boolean} [readonly] Readonly Order
7595
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7596
+ * @param {*} [options] Override http request option.
7597
+ * @throws {RequiredError}
7598
+ */
7599
+ putUpdateOrder: function (id_1, readonly_1, customerOrderRequestDTO_1) {
7600
+ var args_1 = [];
7601
+ for (var _i = 3; _i < arguments.length; _i++) {
7602
+ args_1[_i - 3] = arguments[_i];
7603
+ }
7604
+ return __awaiter(_this, __spreadArray([id_1, readonly_1, customerOrderRequestDTO_1], args_1, true), void 0, function (id, readonly, customerOrderRequestDTO, options) {
7605
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7606
+ if (options === void 0) { options = {}; }
7607
+ return __generator(this, function (_a) {
7608
+ // verify required parameter 'id' is not null or undefined
7609
+ (0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
7610
+ localVarPath = "/orders/{id}"
7611
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7612
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7613
+ if (configuration) {
7614
+ baseOptions = configuration.baseOptions;
7615
+ }
7616
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
7617
+ localVarHeaderParameter = {};
7618
+ localVarQueryParameter = {};
7619
+ if (readonly !== undefined) {
7620
+ localVarQueryParameter['readonly'] = readonly;
7621
+ }
7622
+ localVarHeaderParameter['Content-Type'] = 'application/json';
7623
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7624
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7625
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7626
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(customerOrderRequestDTO, localVarRequestOptions, configuration);
7627
+ return [2 /*return*/, {
7628
+ url: (0, common_1.toPathString)(localVarUrlObj),
7629
+ options: localVarRequestOptions,
7630
+ }];
7631
+ });
7632
+ });
7633
+ },
7634
+ };
7635
+ };
7636
+ exports.OrdersApiAxiosParamCreator = OrdersApiAxiosParamCreator;
7637
+ /**
7638
+ * OrdersApi - functional programming interface
7639
+ * @export
7640
+ */
7641
+ var OrdersApiFp = function (configuration) {
7642
+ var localVarAxiosParamCreator = (0, exports.OrdersApiAxiosParamCreator)(configuration);
7643
+ return {
7644
+ /**
7645
+ * Delete Orders
7646
+ * @summary Delete Orders
7647
+ * @param {number} id Order ID
7648
+ * @param {*} [options] Override http request option.
7649
+ * @throws {RequiredError}
7650
+ */
7651
+ deleteUpdateOrder: function (id, options) {
7652
+ return __awaiter(this, void 0, void 0, function () {
7653
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7654
+ var _a, _b, _c;
7655
+ return __generator(this, function (_d) {
7656
+ switch (_d.label) {
7657
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUpdateOrder(id, options)];
7658
+ case 1:
7659
+ localVarAxiosArgs = _d.sent();
7660
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7661
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.deleteUpdateOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7662
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7663
+ }
7664
+ });
7665
+ });
7666
+ },
7667
+ /**
7668
+ * Get Editable Order
7669
+ * @param {number} id Order ID
7670
+ * @param {*} [options] Override http request option.
7671
+ * @throws {RequiredError}
7672
+ */
7673
+ getGetEditableOrder: function (id, options) {
7674
+ return __awaiter(this, void 0, void 0, function () {
7675
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7676
+ var _a, _b, _c;
7677
+ return __generator(this, function (_d) {
7678
+ switch (_d.label) {
7679
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetEditableOrder(id, options)];
7680
+ case 1:
7681
+ localVarAxiosArgs = _d.sent();
7682
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7683
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.getGetEditableOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7684
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7367
7685
  }
7368
7686
  });
7369
7687
  });
@@ -7397,6 +7715,104 @@ var OrdersApiFp = function (configuration) {
7397
7715
  });
7398
7716
  });
7399
7717
  },
7718
+ /**
7719
+ * Create An Order (Admin)
7720
+ * @summary Create An Order (Admin)
7721
+ * @param {boolean} [readonly] Readonly Order
7722
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
7723
+ * @param {*} [options] Override http request option.
7724
+ * @throws {RequiredError}
7725
+ */
7726
+ postCreateAdminOrder: function (readonly, adminOrderRequestDTO, options) {
7727
+ return __awaiter(this, void 0, void 0, function () {
7728
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7729
+ var _a, _b, _c;
7730
+ return __generator(this, function (_d) {
7731
+ switch (_d.label) {
7732
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options)];
7733
+ case 1:
7734
+ localVarAxiosArgs = _d.sent();
7735
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7736
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreateAdminOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7737
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7738
+ }
7739
+ });
7740
+ });
7741
+ },
7742
+ /**
7743
+ * Create An Order
7744
+ * @summary Create An Order
7745
+ * @param {boolean} [readonly] Readonly Order
7746
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7747
+ * @param {*} [options] Override http request option.
7748
+ * @throws {RequiredError}
7749
+ */
7750
+ postGetOrders: function (readonly, customerOrderRequestDTO, options) {
7751
+ return __awaiter(this, void 0, void 0, function () {
7752
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7753
+ var _a, _b, _c;
7754
+ return __generator(this, function (_d) {
7755
+ switch (_d.label) {
7756
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options)];
7757
+ case 1:
7758
+ localVarAxiosArgs = _d.sent();
7759
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7760
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postGetOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7761
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7762
+ }
7763
+ });
7764
+ });
7765
+ },
7766
+ /**
7767
+ * Update An Order (Admin)
7768
+ * @summary Update An Order (Admin)
7769
+ * @param {number} id Order ID
7770
+ * @param {boolean} [readonly] Readonly Order
7771
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
7772
+ * @param {*} [options] Override http request option.
7773
+ * @throws {RequiredError}
7774
+ */
7775
+ putUpdateAdminOrder: function (id, readonly, adminOrderRequestDTO, options) {
7776
+ return __awaiter(this, void 0, void 0, function () {
7777
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7778
+ var _a, _b, _c;
7779
+ return __generator(this, function (_d) {
7780
+ switch (_d.label) {
7781
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options)];
7782
+ case 1:
7783
+ localVarAxiosArgs = _d.sent();
7784
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7785
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.putUpdateAdminOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7786
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7787
+ }
7788
+ });
7789
+ });
7790
+ },
7791
+ /**
7792
+ * Update An Order
7793
+ * @summary Update An Order
7794
+ * @param {number} id Order ID
7795
+ * @param {boolean} [readonly] Readonly Order
7796
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7797
+ * @param {*} [options] Override http request option.
7798
+ * @throws {RequiredError}
7799
+ */
7800
+ putUpdateOrder: function (id, readonly, customerOrderRequestDTO, options) {
7801
+ return __awaiter(this, void 0, void 0, function () {
7802
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7803
+ var _a, _b, _c;
7804
+ return __generator(this, function (_d) {
7805
+ switch (_d.label) {
7806
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options)];
7807
+ case 1:
7808
+ localVarAxiosArgs = _d.sent();
7809
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7810
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.putUpdateOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7811
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7812
+ }
7813
+ });
7814
+ });
7815
+ },
7400
7816
  };
7401
7817
  };
7402
7818
  exports.OrdersApiFp = OrdersApiFp;
@@ -7409,12 +7825,22 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
7409
7825
  return {
7410
7826
  /**
7411
7827
  * Delete Orders
7828
+ * @summary Delete Orders
7829
+ * @param {number} id Order ID
7830
+ * @param {*} [options] Override http request option.
7831
+ * @throws {RequiredError}
7832
+ */
7833
+ deleteUpdateOrder: function (id, options) {
7834
+ return localVarFp.deleteUpdateOrder(id, options).then(function (request) { return request(axios, basePath); });
7835
+ },
7836
+ /**
7837
+ * Get Editable Order
7412
7838
  * @param {number} id Order ID
7413
7839
  * @param {*} [options] Override http request option.
7414
7840
  * @throws {RequiredError}
7415
7841
  */
7416
- deleteDeleteOrder: function (id, options) {
7417
- return localVarFp.deleteDeleteOrder(id, options).then(function (request) { return request(axios, basePath); });
7842
+ getGetEditableOrder: function (id, options) {
7843
+ return localVarFp.getGetEditableOrder(id, options).then(function (request) { return request(axios, basePath); });
7418
7844
  },
7419
7845
  /**
7420
7846
  * Get Orders
@@ -7432,6 +7858,52 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
7432
7858
  getGetOrders: function (pageSize, page, search, fulfillable, status, filter, customerId, options) {
7433
7859
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then(function (request) { return request(axios, basePath); });
7434
7860
  },
7861
+ /**
7862
+ * Create An Order (Admin)
7863
+ * @summary Create An Order (Admin)
7864
+ * @param {boolean} [readonly] Readonly Order
7865
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
7866
+ * @param {*} [options] Override http request option.
7867
+ * @throws {RequiredError}
7868
+ */
7869
+ postCreateAdminOrder: function (readonly, adminOrderRequestDTO, options) {
7870
+ return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
7871
+ },
7872
+ /**
7873
+ * Create An Order
7874
+ * @summary Create An Order
7875
+ * @param {boolean} [readonly] Readonly Order
7876
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7877
+ * @param {*} [options] Override http request option.
7878
+ * @throws {RequiredError}
7879
+ */
7880
+ postGetOrders: function (readonly, customerOrderRequestDTO, options) {
7881
+ return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
7882
+ },
7883
+ /**
7884
+ * Update An Order (Admin)
7885
+ * @summary Update An Order (Admin)
7886
+ * @param {number} id Order ID
7887
+ * @param {boolean} [readonly] Readonly Order
7888
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
7889
+ * @param {*} [options] Override http request option.
7890
+ * @throws {RequiredError}
7891
+ */
7892
+ putUpdateAdminOrder: function (id, readonly, adminOrderRequestDTO, options) {
7893
+ return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
7894
+ },
7895
+ /**
7896
+ * Update An Order
7897
+ * @summary Update An Order
7898
+ * @param {number} id Order ID
7899
+ * @param {boolean} [readonly] Readonly Order
7900
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7901
+ * @param {*} [options] Override http request option.
7902
+ * @throws {RequiredError}
7903
+ */
7904
+ putUpdateOrder: function (id, readonly, customerOrderRequestDTO, options) {
7905
+ return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
7906
+ },
7435
7907
  };
7436
7908
  };
7437
7909
  exports.OrdersApiFactory = OrdersApiFactory;
@@ -7448,14 +7920,26 @@ var OrdersApi = /** @class */ (function (_super) {
7448
7920
  }
7449
7921
  /**
7450
7922
  * Delete Orders
7923
+ * @summary Delete Orders
7924
+ * @param {number} id Order ID
7925
+ * @param {*} [options] Override http request option.
7926
+ * @throws {RequiredError}
7927
+ * @memberof OrdersApi
7928
+ */
7929
+ OrdersApi.prototype.deleteUpdateOrder = function (id, options) {
7930
+ var _this = this;
7931
+ return (0, exports.OrdersApiFp)(this.configuration).deleteUpdateOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
7932
+ };
7933
+ /**
7934
+ * Get Editable Order
7451
7935
  * @param {number} id Order ID
7452
7936
  * @param {*} [options] Override http request option.
7453
7937
  * @throws {RequiredError}
7454
7938
  * @memberof OrdersApi
7455
7939
  */
7456
- OrdersApi.prototype.deleteDeleteOrder = function (id, options) {
7940
+ OrdersApi.prototype.getGetEditableOrder = function (id, options) {
7457
7941
  var _this = this;
7458
- return (0, exports.OrdersApiFp)(this.configuration).deleteDeleteOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
7942
+ return (0, exports.OrdersApiFp)(this.configuration).getGetEditableOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
7459
7943
  };
7460
7944
  /**
7461
7945
  * Get Orders
@@ -7475,6 +7959,60 @@ var OrdersApi = /** @class */ (function (_super) {
7475
7959
  var _this = this;
7476
7960
  return (0, exports.OrdersApiFp)(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7477
7961
  };
7962
+ /**
7963
+ * Create An Order (Admin)
7964
+ * @summary Create An Order (Admin)
7965
+ * @param {boolean} [readonly] Readonly Order
7966
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
7967
+ * @param {*} [options] Override http request option.
7968
+ * @throws {RequiredError}
7969
+ * @memberof OrdersApi
7970
+ */
7971
+ OrdersApi.prototype.postCreateAdminOrder = function (readonly, adminOrderRequestDTO, options) {
7972
+ var _this = this;
7973
+ return (0, exports.OrdersApiFp)(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
7974
+ };
7975
+ /**
7976
+ * Create An Order
7977
+ * @summary Create An Order
7978
+ * @param {boolean} [readonly] Readonly Order
7979
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
7980
+ * @param {*} [options] Override http request option.
7981
+ * @throws {RequiredError}
7982
+ * @memberof OrdersApi
7983
+ */
7984
+ OrdersApi.prototype.postGetOrders = function (readonly, customerOrderRequestDTO, options) {
7985
+ var _this = this;
7986
+ return (0, exports.OrdersApiFp)(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
7987
+ };
7988
+ /**
7989
+ * Update An Order (Admin)
7990
+ * @summary Update An Order (Admin)
7991
+ * @param {number} id Order ID
7992
+ * @param {boolean} [readonly] Readonly Order
7993
+ * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
7994
+ * @param {*} [options] Override http request option.
7995
+ * @throws {RequiredError}
7996
+ * @memberof OrdersApi
7997
+ */
7998
+ OrdersApi.prototype.putUpdateAdminOrder = function (id, readonly, adminOrderRequestDTO, options) {
7999
+ var _this = this;
8000
+ return (0, exports.OrdersApiFp)(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
8001
+ };
8002
+ /**
8003
+ * Update An Order
8004
+ * @summary Update An Order
8005
+ * @param {number} id Order ID
8006
+ * @param {boolean} [readonly] Readonly Order
8007
+ * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8008
+ * @param {*} [options] Override http request option.
8009
+ * @throws {RequiredError}
8010
+ * @memberof OrdersApi
8011
+ */
8012
+ OrdersApi.prototype.putUpdateOrder = function (id, readonly, customerOrderRequestDTO, options) {
8013
+ var _this = this;
8014
+ return (0, exports.OrdersApiFp)(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
8015
+ };
7478
8016
  return OrdersApi;
7479
8017
  }(base_1.BaseAPI));
7480
8018
  exports.OrdersApi = OrdersApi;
@@ -7902,21 +8440,67 @@ var ProductsApiAxiosParamCreator = function (configuration) {
7902
8440
  });
7903
8441
  },
7904
8442
  /**
7905
- * Get Customer Price Lists
7906
- * @summary Get Customer Price Lists
8443
+ * Get Current Stock & Pricing
8444
+ * @summary Get Current Stock & Pricing
8445
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
8446
+ * @param {*} [options] Override http request option.
8447
+ * @deprecated
8448
+ * @throws {RequiredError}
8449
+ */
8450
+ getGetLegacyStockList: function (format_1) {
8451
+ var args_1 = [];
8452
+ for (var _i = 1; _i < arguments.length; _i++) {
8453
+ args_1[_i - 1] = arguments[_i];
8454
+ }
8455
+ return __awaiter(_this, __spreadArray([format_1], args_1, true), void 0, function (format, options) {
8456
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8457
+ if (options === void 0) { options = {}; }
8458
+ return __generator(this, function (_a) {
8459
+ // verify required parameter 'format' is not null or undefined
8460
+ (0, common_1.assertParamExists)('getGetLegacyStockList', 'format', format);
8461
+ localVarPath = "/products/stock/legacy";
8462
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8463
+ if (configuration) {
8464
+ baseOptions = configuration.baseOptions;
8465
+ }
8466
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8467
+ localVarHeaderParameter = {};
8468
+ localVarQueryParameter = {};
8469
+ if (format !== undefined) {
8470
+ localVarQueryParameter['format'] = format;
8471
+ }
8472
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8473
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8474
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8475
+ return [2 /*return*/, {
8476
+ url: (0, common_1.toPathString)(localVarUrlObj),
8477
+ options: localVarRequestOptions,
8478
+ }];
8479
+ });
8480
+ });
8481
+ },
8482
+ /**
8483
+ * Get Product
8484
+ * @summary Get Product
8485
+ * @param {string} sku Product SKU
8486
+ * @param {number} [quantity] Quantity
8487
+ * @param {string} [licenceKey] 3CX Licence Key
7907
8488
  * @param {*} [options] Override http request option.
7908
8489
  * @throws {RequiredError}
7909
8490
  */
7910
- getGetCustomerPriceLists: function () {
8491
+ getGetProduct: function (sku_1, quantity_1, licenceKey_1) {
7911
8492
  var args_1 = [];
7912
- for (var _i = 0; _i < arguments.length; _i++) {
7913
- args_1[_i] = arguments[_i];
8493
+ for (var _i = 3; _i < arguments.length; _i++) {
8494
+ args_1[_i - 3] = arguments[_i];
7914
8495
  }
7915
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
8496
+ return __awaiter(_this, __spreadArray([sku_1, quantity_1, licenceKey_1], args_1, true), void 0, function (sku, quantity, licenceKey, options) {
7916
8497
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7917
8498
  if (options === void 0) { options = {}; }
7918
8499
  return __generator(this, function (_a) {
7919
- localVarPath = "/products/prices/lists";
8500
+ // verify required parameter 'sku' is not null or undefined
8501
+ (0, common_1.assertParamExists)('getGetProduct', 'sku', sku);
8502
+ localVarPath = "/products/{sku}"
8503
+ .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
7920
8504
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7921
8505
  if (configuration) {
7922
8506
  baseOptions = configuration.baseOptions;
@@ -7924,6 +8508,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
7924
8508
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7925
8509
  localVarHeaderParameter = {};
7926
8510
  localVarQueryParameter = {};
8511
+ if (quantity !== undefined) {
8512
+ localVarQueryParameter['quantity'] = quantity;
8513
+ }
8514
+ if (licenceKey !== undefined) {
8515
+ localVarQueryParameter['licenceKey'] = licenceKey;
8516
+ }
7927
8517
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7928
8518
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7929
8519
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7935,25 +8525,21 @@ var ProductsApiAxiosParamCreator = function (configuration) {
7935
8525
  });
7936
8526
  },
7937
8527
  /**
7938
- * Get Current Stock & Pricing
7939
- * @summary Get Current Stock & Pricing
7940
- * @param {GetGetLegacyStockListFormatEnum} format File Format
8528
+ * Get Products
8529
+ * @summary Get Products
7941
8530
  * @param {*} [options] Override http request option.
7942
- * @deprecated
7943
8531
  * @throws {RequiredError}
7944
8532
  */
7945
- getGetLegacyStockList: function (format_1) {
8533
+ getGetProducts: function () {
7946
8534
  var args_1 = [];
7947
- for (var _i = 1; _i < arguments.length; _i++) {
7948
- args_1[_i - 1] = arguments[_i];
8535
+ for (var _i = 0; _i < arguments.length; _i++) {
8536
+ args_1[_i] = arguments[_i];
7949
8537
  }
7950
- return __awaiter(_this, __spreadArray([format_1], args_1, true), void 0, function (format, options) {
8538
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
7951
8539
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7952
8540
  if (options === void 0) { options = {}; }
7953
8541
  return __generator(this, function (_a) {
7954
- // verify required parameter 'format' is not null or undefined
7955
- (0, common_1.assertParamExists)('getGetLegacyStockList', 'format', format);
7956
- localVarPath = "/products/stock/legacy";
8542
+ localVarPath = "/products";
7957
8543
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7958
8544
  if (configuration) {
7959
8545
  baseOptions = configuration.baseOptions;
@@ -7961,9 +8547,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
7961
8547
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7962
8548
  localVarHeaderParameter = {};
7963
8549
  localVarQueryParameter = {};
7964
- if (format !== undefined) {
7965
- localVarQueryParameter['format'] = format;
7966
- }
7967
8550
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7968
8551
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7969
8552
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -7975,24 +8558,21 @@ var ProductsApiAxiosParamCreator = function (configuration) {
7975
8558
  });
7976
8559
  },
7977
8560
  /**
7978
- * Get Products
7979
- * @summary Get Products
7980
- * @param {number} [pageSize] Number Of Results
7981
- * @param {number} [page] Page Number
7982
- * @param {string} [search] Search
8561
+ * Get Current Stock & Pricing
8562
+ * @summary Get Current Stock & Pricing
7983
8563
  * @param {*} [options] Override http request option.
7984
8564
  * @throws {RequiredError}
7985
8565
  */
7986
- getGetProducts: function (pageSize_1, page_1, search_1) {
8566
+ getGetStockList: function () {
7987
8567
  var args_1 = [];
7988
- for (var _i = 3; _i < arguments.length; _i++) {
7989
- args_1[_i - 3] = arguments[_i];
8568
+ for (var _i = 0; _i < arguments.length; _i++) {
8569
+ args_1[_i] = arguments[_i];
7990
8570
  }
7991
- return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
8571
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
7992
8572
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7993
8573
  if (options === void 0) { options = {}; }
7994
8574
  return __generator(this, function (_a) {
7995
- localVarPath = "/products/search";
8575
+ localVarPath = "/products/stock";
7996
8576
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7997
8577
  if (configuration) {
7998
8578
  baseOptions = configuration.baseOptions;
@@ -8000,15 +8580,6 @@ var ProductsApiAxiosParamCreator = function (configuration) {
8000
8580
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8001
8581
  localVarHeaderParameter = {};
8002
8582
  localVarQueryParameter = {};
8003
- if (pageSize !== undefined) {
8004
- localVarQueryParameter['pageSize'] = pageSize;
8005
- }
8006
- if (page !== undefined) {
8007
- localVarQueryParameter['page'] = page;
8008
- }
8009
- if (search !== undefined) {
8010
- localVarQueryParameter['search'] = search;
8011
- }
8012
8583
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8013
8584
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8014
8585
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8020,12 +8591,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
8020
8591
  });
8021
8592
  },
8022
8593
  /**
8023
- * Get Current Stock & Pricing
8024
- * @summary Get Current Stock & Pricing
8594
+ * Get 3CX Templates
8595
+ * @summary Get 3CX Templates
8025
8596
  * @param {*} [options] Override http request option.
8026
8597
  * @throws {RequiredError}
8027
8598
  */
8028
- getGetStockList: function () {
8599
+ getGetTcxTemplates: function () {
8029
8600
  var args_1 = [];
8030
8601
  for (var _i = 0; _i < arguments.length; _i++) {
8031
8602
  args_1[_i] = arguments[_i];
@@ -8034,7 +8605,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
8034
8605
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8035
8606
  if (options === void 0) { options = {}; }
8036
8607
  return __generator(this, function (_a) {
8037
- localVarPath = "/products/stock";
8608
+ localVarPath = "/products/attributes/tcx/templates";
8038
8609
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8039
8610
  if (configuration) {
8040
8611
  baseOptions = configuration.baseOptions;
@@ -8053,21 +8624,24 @@ var ProductsApiAxiosParamCreator = function (configuration) {
8053
8624
  });
8054
8625
  },
8055
8626
  /**
8056
- * Get 3CX Templates
8057
- * @summary Get 3CX Templates
8627
+ * Search Products
8628
+ * @summary Search Products
8629
+ * @param {number} [pageSize] Number Of Results
8630
+ * @param {number} [page] Page Number
8631
+ * @param {string} [search] Search
8058
8632
  * @param {*} [options] Override http request option.
8059
8633
  * @throws {RequiredError}
8060
8634
  */
8061
- getGetTcxTemplates: function () {
8635
+ getSearchProducts: function (pageSize_1, page_1, search_1) {
8062
8636
  var args_1 = [];
8063
- for (var _i = 0; _i < arguments.length; _i++) {
8064
- args_1[_i] = arguments[_i];
8637
+ for (var _i = 3; _i < arguments.length; _i++) {
8638
+ args_1[_i - 3] = arguments[_i];
8065
8639
  }
8066
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
8640
+ return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
8067
8641
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8068
8642
  if (options === void 0) { options = {}; }
8069
8643
  return __generator(this, function (_a) {
8070
- localVarPath = "/products/attributes/tcx/templates";
8644
+ localVarPath = "/products/search";
8071
8645
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8072
8646
  if (configuration) {
8073
8647
  baseOptions = configuration.baseOptions;
@@ -8075,6 +8649,15 @@ var ProductsApiAxiosParamCreator = function (configuration) {
8075
8649
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8076
8650
  localVarHeaderParameter = {};
8077
8651
  localVarQueryParameter = {};
8652
+ if (pageSize !== undefined) {
8653
+ localVarQueryParameter['pageSize'] = pageSize;
8654
+ }
8655
+ if (page !== undefined) {
8656
+ localVarQueryParameter['page'] = page;
8657
+ }
8658
+ if (search !== undefined) {
8659
+ localVarQueryParameter['search'] = search;
8660
+ }
8078
8661
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8079
8662
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8080
8663
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -8118,46 +8701,49 @@ var ProductsApiFp = function (configuration) {
8118
8701
  });
8119
8702
  },
8120
8703
  /**
8121
- * Get Customer Price Lists
8122
- * @summary Get Customer Price Lists
8704
+ * Get Current Stock & Pricing
8705
+ * @summary Get Current Stock & Pricing
8706
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
8123
8707
  * @param {*} [options] Override http request option.
8708
+ * @deprecated
8124
8709
  * @throws {RequiredError}
8125
8710
  */
8126
- getGetCustomerPriceLists: function (options) {
8711
+ getGetLegacyStockList: function (format, options) {
8127
8712
  return __awaiter(this, void 0, void 0, function () {
8128
8713
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8129
8714
  var _a, _b, _c;
8130
8715
  return __generator(this, function (_d) {
8131
8716
  switch (_d.label) {
8132
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerPriceLists(options)];
8717
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLegacyStockList(format, options)];
8133
8718
  case 1:
8134
8719
  localVarAxiosArgs = _d.sent();
8135
8720
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8136
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetCustomerPriceLists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8721
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetLegacyStockList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8137
8722
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8138
8723
  }
8139
8724
  });
8140
8725
  });
8141
8726
  },
8142
8727
  /**
8143
- * Get Current Stock & Pricing
8144
- * @summary Get Current Stock & Pricing
8145
- * @param {GetGetLegacyStockListFormatEnum} format File Format
8728
+ * Get Product
8729
+ * @summary Get Product
8730
+ * @param {string} sku Product SKU
8731
+ * @param {number} [quantity] Quantity
8732
+ * @param {string} [licenceKey] 3CX Licence Key
8146
8733
  * @param {*} [options] Override http request option.
8147
- * @deprecated
8148
8734
  * @throws {RequiredError}
8149
8735
  */
8150
- getGetLegacyStockList: function (format, options) {
8736
+ getGetProduct: function (sku, quantity, licenceKey, options) {
8151
8737
  return __awaiter(this, void 0, void 0, function () {
8152
8738
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8153
8739
  var _a, _b, _c;
8154
8740
  return __generator(this, function (_d) {
8155
8741
  switch (_d.label) {
8156
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLegacyStockList(format, options)];
8742
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProduct(sku, quantity, licenceKey, options)];
8157
8743
  case 1:
8158
8744
  localVarAxiosArgs = _d.sent();
8159
8745
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8160
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetLegacyStockList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8746
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetProduct']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8161
8747
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8162
8748
  }
8163
8749
  });
@@ -8166,19 +8752,16 @@ var ProductsApiFp = function (configuration) {
8166
8752
  /**
8167
8753
  * Get Products
8168
8754
  * @summary Get Products
8169
- * @param {number} [pageSize] Number Of Results
8170
- * @param {number} [page] Page Number
8171
- * @param {string} [search] Search
8172
8755
  * @param {*} [options] Override http request option.
8173
8756
  * @throws {RequiredError}
8174
8757
  */
8175
- getGetProducts: function (pageSize, page, search, options) {
8758
+ getGetProducts: function (options) {
8176
8759
  return __awaiter(this, void 0, void 0, function () {
8177
8760
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8178
8761
  var _a, _b, _c;
8179
8762
  return __generator(this, function (_d) {
8180
8763
  switch (_d.label) {
8181
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options)];
8764
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProducts(options)];
8182
8765
  case 1:
8183
8766
  localVarAxiosArgs = _d.sent();
8184
8767
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -8232,6 +8815,31 @@ var ProductsApiFp = function (configuration) {
8232
8815
  });
8233
8816
  });
8234
8817
  },
8818
+ /**
8819
+ * Search Products
8820
+ * @summary Search Products
8821
+ * @param {number} [pageSize] Number Of Results
8822
+ * @param {number} [page] Page Number
8823
+ * @param {string} [search] Search
8824
+ * @param {*} [options] Override http request option.
8825
+ * @throws {RequiredError}
8826
+ */
8827
+ getSearchProducts: function (pageSize, page, search, options) {
8828
+ return __awaiter(this, void 0, void 0, function () {
8829
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8830
+ var _a, _b, _c;
8831
+ return __generator(this, function (_d) {
8832
+ switch (_d.label) {
8833
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options)];
8834
+ case 1:
8835
+ localVarAxiosArgs = _d.sent();
8836
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8837
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getSearchProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8838
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8839
+ }
8840
+ });
8841
+ });
8842
+ },
8235
8843
  };
8236
8844
  };
8237
8845
  exports.ProductsApiFp = ProductsApiFp;
@@ -8251,15 +8859,6 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
8251
8859
  getGetAttributeSets: function (options) {
8252
8860
  return localVarFp.getGetAttributeSets(options).then(function (request) { return request(axios, basePath); });
8253
8861
  },
8254
- /**
8255
- * Get Customer Price Lists
8256
- * @summary Get Customer Price Lists
8257
- * @param {*} [options] Override http request option.
8258
- * @throws {RequiredError}
8259
- */
8260
- getGetCustomerPriceLists: function (options) {
8261
- return localVarFp.getGetCustomerPriceLists(options).then(function (request) { return request(axios, basePath); });
8262
- },
8263
8862
  /**
8264
8863
  * Get Current Stock & Pricing
8265
8864
  * @summary Get Current Stock & Pricing
@@ -8271,17 +8870,26 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
8271
8870
  getGetLegacyStockList: function (format, options) {
8272
8871
  return localVarFp.getGetLegacyStockList(format, options).then(function (request) { return request(axios, basePath); });
8273
8872
  },
8873
+ /**
8874
+ * Get Product
8875
+ * @summary Get Product
8876
+ * @param {string} sku Product SKU
8877
+ * @param {number} [quantity] Quantity
8878
+ * @param {string} [licenceKey] 3CX Licence Key
8879
+ * @param {*} [options] Override http request option.
8880
+ * @throws {RequiredError}
8881
+ */
8882
+ getGetProduct: function (sku, quantity, licenceKey, options) {
8883
+ return localVarFp.getGetProduct(sku, quantity, licenceKey, options).then(function (request) { return request(axios, basePath); });
8884
+ },
8274
8885
  /**
8275
8886
  * Get Products
8276
8887
  * @summary Get Products
8277
- * @param {number} [pageSize] Number Of Results
8278
- * @param {number} [page] Page Number
8279
- * @param {string} [search] Search
8280
8888
  * @param {*} [options] Override http request option.
8281
8889
  * @throws {RequiredError}
8282
8890
  */
8283
- getGetProducts: function (pageSize, page, search, options) {
8284
- return localVarFp.getGetProducts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8891
+ getGetProducts: function (options) {
8892
+ return localVarFp.getGetProducts(options).then(function (request) { return request(axios, basePath); });
8285
8893
  },
8286
8894
  /**
8287
8895
  * Get Current Stock & Pricing
@@ -8301,6 +8909,18 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
8301
8909
  getGetTcxTemplates: function (options) {
8302
8910
  return localVarFp.getGetTcxTemplates(options).then(function (request) { return request(axios, basePath); });
8303
8911
  },
8912
+ /**
8913
+ * Search Products
8914
+ * @summary Search Products
8915
+ * @param {number} [pageSize] Number Of Results
8916
+ * @param {number} [page] Page Number
8917
+ * @param {string} [search] Search
8918
+ * @param {*} [options] Override http request option.
8919
+ * @throws {RequiredError}
8920
+ */
8921
+ getSearchProducts: function (pageSize, page, search, options) {
8922
+ return localVarFp.getSearchProducts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8923
+ },
8304
8924
  };
8305
8925
  };
8306
8926
  exports.ProductsApiFactory = ProductsApiFactory;
@@ -8327,42 +8947,42 @@ var ProductsApi = /** @class */ (function (_super) {
8327
8947
  return (0, exports.ProductsApiFp)(this.configuration).getGetAttributeSets(options).then(function (request) { return request(_this.axios, _this.basePath); });
8328
8948
  };
8329
8949
  /**
8330
- * Get Customer Price Lists
8331
- * @summary Get Customer Price Lists
8950
+ * Get Current Stock & Pricing
8951
+ * @summary Get Current Stock & Pricing
8952
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
8332
8953
  * @param {*} [options] Override http request option.
8954
+ * @deprecated
8333
8955
  * @throws {RequiredError}
8334
8956
  * @memberof ProductsApi
8335
8957
  */
8336
- ProductsApi.prototype.getGetCustomerPriceLists = function (options) {
8958
+ ProductsApi.prototype.getGetLegacyStockList = function (format, options) {
8337
8959
  var _this = this;
8338
- return (0, exports.ProductsApiFp)(this.configuration).getGetCustomerPriceLists(options).then(function (request) { return request(_this.axios, _this.basePath); });
8960
+ return (0, exports.ProductsApiFp)(this.configuration).getGetLegacyStockList(format, options).then(function (request) { return request(_this.axios, _this.basePath); });
8339
8961
  };
8340
8962
  /**
8341
- * Get Current Stock & Pricing
8342
- * @summary Get Current Stock & Pricing
8343
- * @param {GetGetLegacyStockListFormatEnum} format File Format
8963
+ * Get Product
8964
+ * @summary Get Product
8965
+ * @param {string} sku Product SKU
8966
+ * @param {number} [quantity] Quantity
8967
+ * @param {string} [licenceKey] 3CX Licence Key
8344
8968
  * @param {*} [options] Override http request option.
8345
- * @deprecated
8346
8969
  * @throws {RequiredError}
8347
8970
  * @memberof ProductsApi
8348
8971
  */
8349
- ProductsApi.prototype.getGetLegacyStockList = function (format, options) {
8972
+ ProductsApi.prototype.getGetProduct = function (sku, quantity, licenceKey, options) {
8350
8973
  var _this = this;
8351
- return (0, exports.ProductsApiFp)(this.configuration).getGetLegacyStockList(format, options).then(function (request) { return request(_this.axios, _this.basePath); });
8974
+ return (0, exports.ProductsApiFp)(this.configuration).getGetProduct(sku, quantity, licenceKey, options).then(function (request) { return request(_this.axios, _this.basePath); });
8352
8975
  };
8353
8976
  /**
8354
8977
  * Get Products
8355
8978
  * @summary Get Products
8356
- * @param {number} [pageSize] Number Of Results
8357
- * @param {number} [page] Page Number
8358
- * @param {string} [search] Search
8359
8979
  * @param {*} [options] Override http request option.
8360
8980
  * @throws {RequiredError}
8361
8981
  * @memberof ProductsApi
8362
8982
  */
8363
- ProductsApi.prototype.getGetProducts = function (pageSize, page, search, options) {
8983
+ ProductsApi.prototype.getGetProducts = function (options) {
8364
8984
  var _this = this;
8365
- return (0, exports.ProductsApiFp)(this.configuration).getGetProducts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
8985
+ return (0, exports.ProductsApiFp)(this.configuration).getGetProducts(options).then(function (request) { return request(_this.axios, _this.basePath); });
8366
8986
  };
8367
8987
  /**
8368
8988
  * Get Current Stock & Pricing
@@ -8386,6 +9006,20 @@ var ProductsApi = /** @class */ (function (_super) {
8386
9006
  var _this = this;
8387
9007
  return (0, exports.ProductsApiFp)(this.configuration).getGetTcxTemplates(options).then(function (request) { return request(_this.axios, _this.basePath); });
8388
9008
  };
9009
+ /**
9010
+ * Search Products
9011
+ * @summary Search Products
9012
+ * @param {number} [pageSize] Number Of Results
9013
+ * @param {number} [page] Page Number
9014
+ * @param {string} [search] Search
9015
+ * @param {*} [options] Override http request option.
9016
+ * @throws {RequiredError}
9017
+ * @memberof ProductsApi
9018
+ */
9019
+ ProductsApi.prototype.getSearchProducts = function (pageSize, page, search, options) {
9020
+ var _this = this;
9021
+ return (0, exports.ProductsApiFp)(this.configuration).getSearchProducts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
9022
+ };
8389
9023
  return ProductsApi;
8390
9024
  }(base_1.BaseAPI));
8391
9025
  exports.ProductsApi = ProductsApi;
@@ -11111,6 +11745,131 @@ var SMSApi = /** @class */ (function (_super) {
11111
11745
  return SMSApi;
11112
11746
  }(base_1.BaseAPI));
11113
11747
  exports.SMSApi = SMSApi;
11748
+ /**
11749
+ * ShippingApi - axios parameter creator
11750
+ * @export
11751
+ */
11752
+ var ShippingApiAxiosParamCreator = function (configuration) {
11753
+ var _this = this;
11754
+ return {
11755
+ /**
11756
+ * Get Shipping Services
11757
+ * @summary Get Shipping Services
11758
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
11759
+ * @param {*} [options] Override http request option.
11760
+ * @throws {RequiredError}
11761
+ */
11762
+ postGetShippingServices: function (shippingInformationDTO_1) {
11763
+ var args_1 = [];
11764
+ for (var _i = 1; _i < arguments.length; _i++) {
11765
+ args_1[_i - 1] = arguments[_i];
11766
+ }
11767
+ return __awaiter(_this, __spreadArray([shippingInformationDTO_1], args_1, true), void 0, function (shippingInformationDTO, options) {
11768
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
11769
+ if (options === void 0) { options = {}; }
11770
+ return __generator(this, function (_a) {
11771
+ localVarPath = "/shipping/services";
11772
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11773
+ if (configuration) {
11774
+ baseOptions = configuration.baseOptions;
11775
+ }
11776
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
11777
+ localVarHeaderParameter = {};
11778
+ localVarQueryParameter = {};
11779
+ localVarHeaderParameter['Content-Type'] = 'application/json';
11780
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11781
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11782
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11783
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(shippingInformationDTO, localVarRequestOptions, configuration);
11784
+ return [2 /*return*/, {
11785
+ url: (0, common_1.toPathString)(localVarUrlObj),
11786
+ options: localVarRequestOptions,
11787
+ }];
11788
+ });
11789
+ });
11790
+ },
11791
+ };
11792
+ };
11793
+ exports.ShippingApiAxiosParamCreator = ShippingApiAxiosParamCreator;
11794
+ /**
11795
+ * ShippingApi - functional programming interface
11796
+ * @export
11797
+ */
11798
+ var ShippingApiFp = function (configuration) {
11799
+ var localVarAxiosParamCreator = (0, exports.ShippingApiAxiosParamCreator)(configuration);
11800
+ return {
11801
+ /**
11802
+ * Get Shipping Services
11803
+ * @summary Get Shipping Services
11804
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
11805
+ * @param {*} [options] Override http request option.
11806
+ * @throws {RequiredError}
11807
+ */
11808
+ postGetShippingServices: function (shippingInformationDTO, options) {
11809
+ return __awaiter(this, void 0, void 0, function () {
11810
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
11811
+ var _a, _b, _c;
11812
+ return __generator(this, function (_d) {
11813
+ switch (_d.label) {
11814
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options)];
11815
+ case 1:
11816
+ localVarAxiosArgs = _d.sent();
11817
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
11818
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ShippingApi.postGetShippingServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
11819
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
11820
+ }
11821
+ });
11822
+ });
11823
+ },
11824
+ };
11825
+ };
11826
+ exports.ShippingApiFp = ShippingApiFp;
11827
+ /**
11828
+ * ShippingApi - factory interface
11829
+ * @export
11830
+ */
11831
+ var ShippingApiFactory = function (configuration, basePath, axios) {
11832
+ var localVarFp = (0, exports.ShippingApiFp)(configuration);
11833
+ return {
11834
+ /**
11835
+ * Get Shipping Services
11836
+ * @summary Get Shipping Services
11837
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
11838
+ * @param {*} [options] Override http request option.
11839
+ * @throws {RequiredError}
11840
+ */
11841
+ postGetShippingServices: function (shippingInformationDTO, options) {
11842
+ return localVarFp.postGetShippingServices(shippingInformationDTO, options).then(function (request) { return request(axios, basePath); });
11843
+ },
11844
+ };
11845
+ };
11846
+ exports.ShippingApiFactory = ShippingApiFactory;
11847
+ /**
11848
+ * ShippingApi - object-oriented interface
11849
+ * @export
11850
+ * @class ShippingApi
11851
+ * @extends {BaseAPI}
11852
+ */
11853
+ var ShippingApi = /** @class */ (function (_super) {
11854
+ __extends(ShippingApi, _super);
11855
+ function ShippingApi() {
11856
+ return _super !== null && _super.apply(this, arguments) || this;
11857
+ }
11858
+ /**
11859
+ * Get Shipping Services
11860
+ * @summary Get Shipping Services
11861
+ * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
11862
+ * @param {*} [options] Override http request option.
11863
+ * @throws {RequiredError}
11864
+ * @memberof ShippingApi
11865
+ */
11866
+ ShippingApi.prototype.postGetShippingServices = function (shippingInformationDTO, options) {
11867
+ var _this = this;
11868
+ return (0, exports.ShippingApiFp)(this.configuration).postGetShippingServices(shippingInformationDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
11869
+ };
11870
+ return ShippingApi;
11871
+ }(base_1.BaseAPI));
11872
+ exports.ShippingApi = ShippingApi;
11114
11873
  /**
11115
11874
  * StockManagementApi - axios parameter creator
11116
11875
  * @export