yellowgrid-api-ts 3.1.5-dev.0 → 3.1.6

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 (57) hide show
  1. package/.openapi-generator/FILES +197 -213
  2. package/README.md +9 -34
  3. package/api.ts +406 -1877
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/config.json +3 -3
  7. package/configuration.ts +1 -1
  8. package/dist/api.d.ts +243 -1346
  9. package/dist/api.js +306 -1129
  10. package/dist/base.d.ts +1 -1
  11. package/dist/base.js +1 -1
  12. package/dist/common.d.ts +1 -1
  13. package/dist/common.js +1 -1
  14. package/dist/configuration.d.ts +1 -1
  15. package/dist/configuration.js +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/docs/AccountsApi.md +0 -103
  19. package/docs/AddressModel.md +0 -2
  20. package/docs/CRMApi.md +55 -0
  21. package/docs/Class3CXApi.md +55 -0
  22. package/docs/ClientDetailsModel.md +2 -0
  23. package/docs/CrmContactDTO.md +31 -0
  24. package/docs/{ShippingServicesModel.md → GetGetPasswordHash200Response.md} +5 -5
  25. package/docs/ItemDTO.md +4 -12
  26. package/docs/ItemEntity.md +0 -2
  27. package/docs/OrderSummaryDTO.md +0 -8
  28. package/docs/OrderTotalModel.md +0 -2
  29. package/docs/OrdersApi.md +4 -356
  30. package/docs/ProductSearchResultsModel.md +1 -1
  31. package/docs/{ProductSummaryDTO.md → ProductSummaryModel.md} +3 -5
  32. package/docs/ProductsApi.md +43 -164
  33. package/docs/ProvisioningApi.md +4 -4
  34. package/docs/{ProvisioningModel.md → ProvisioningEntity.md} +3 -3
  35. package/docs/ShipmentEntity.md +2 -2
  36. package/docs/StockManagementApi.md +2 -2
  37. package/docs/TcxSbcModel.md +1 -1
  38. package/index.ts +1 -1
  39. package/package.json +1 -1
  40. package/docs/AbstractOrderRequestDTO.md +0 -33
  41. package/docs/AccountDetailedSummaryDTO.md +0 -39
  42. package/docs/AdminItemRequestDTO.md +0 -39
  43. package/docs/AdminOrderRequestDTO.md +0 -45
  44. package/docs/AdminUserModel.md +0 -29
  45. package/docs/BasicItemDTO.md +0 -23
  46. package/docs/BasicProductDTO.md +0 -23
  47. package/docs/CourierPriceEntity.md +0 -39
  48. package/docs/CustomerItemRequestDTO.md +0 -35
  49. package/docs/CustomerOrderRequestDTO.md +0 -33
  50. package/docs/LinkedOrderEntity.md +0 -23
  51. package/docs/PostGetProductForCustomerRequest.md +0 -24
  52. package/docs/ShippingApi.md +0 -63
  53. package/docs/ShippingConsignmentModel.md +0 -26
  54. package/docs/ShippingInformationDTO.md +0 -25
  55. package/docs/ShippingServiceDTO.md +0 -23
  56. package/docs/ShippingServiceModel.md +0 -31
  57. package/docs/TcxSbcDTO.md +0 -31
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,22 +84,15 @@ 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.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.TcxSetupEntityRegionEnum = 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.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
88
- 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 = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = 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 = exports.ShippingApi = exports.ShippingApiFactory = void 0;
87
+ 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.CRMApi = exports.CRMApiFactory = exports.CRMApiFp = exports.CRMApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.UpgradeRequestModelSchoolTypeEnum = exports.UpgradeRequestModelLicenceTypeEnum = exports.TcxWizardModelInstallationStatusEnum = exports.TcxWizardModelInstallTypeEnum = exports.TcxSetupEntityRegionEnum = exports.TcxSetupEntityInstallTypeEnum = exports.TcxMultiTenantModelPackageEnum = exports.StockOrderModelPaidEnum = exports.StockOrderModelDeliveryMethodEnum = exports.SmsResponseModelEventTypeEnum = exports.SmsPhoneNumberModelStatusEnum = exports.SipTrunkChangeResponseModelTypeEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = void 0;
88
+ 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 = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = 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 = 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
- };
103
96
  exports.DivertResponseModelStatusEnum = {
104
97
  Enabled: 'enabled',
105
98
  Disabled: 'disabled'
@@ -176,16 +169,6 @@ exports.OrderTotalModelCurrencyEnum = {
176
169
  Thb: 'THB',
177
170
  Zar: 'ZAR'
178
171
  };
179
- exports.ShippingServiceDTOCourierEnum = {
180
- Dpd: 'DPD',
181
- ChorltonPallet: 'Chorlton Pallet',
182
- Pops: 'POPS'
183
- };
184
- exports.ShippingServiceModelCourierEnum = {
185
- Dpd: 'DPD',
186
- ChorltonPallet: 'Chorlton Pallet',
187
- Pops: 'POPS'
188
- };
189
172
  exports.SipTrunkChangeResponseModelTypeEnum = {
190
173
  NewTrunk: 'New Trunk',
191
174
  AvailableTrunk: 'Available Trunk',
@@ -430,43 +413,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
430
413
  });
431
414
  });
432
415
  },
433
- /**
434
- * Get Account Detailed Summary
435
- * @summary Get Account Detailed Summary
436
- * @param {number} id Customer ID
437
- * @param {*} [options] Override http request option.
438
- * @throws {RequiredError}
439
- */
440
- getGetAccountDetailedSummary: function (id_1) {
441
- var args_1 = [];
442
- for (var _i = 1; _i < arguments.length; _i++) {
443
- args_1[_i - 1] = arguments[_i];
444
- }
445
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
446
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
447
- if (options === void 0) { options = {}; }
448
- return __generator(this, function (_a) {
449
- // verify required parameter 'id' is not null or undefined
450
- (0, common_1.assertParamExists)('getGetAccountDetailedSummary', 'id', id);
451
- localVarPath = "/accounts/{id}/summary"
452
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
453
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
454
- if (configuration) {
455
- baseOptions = configuration.baseOptions;
456
- }
457
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
458
- localVarHeaderParameter = {};
459
- localVarQueryParameter = {};
460
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
461
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
462
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
463
- return [2 /*return*/, {
464
- url: (0, common_1.toPathString)(localVarUrlObj),
465
- options: localVarRequestOptions,
466
- }];
467
- });
468
- });
469
- },
470
416
  /**
471
417
  * Get Accounts
472
418
  * @summary Get Accounts
@@ -770,39 +716,6 @@ var AccountsApiAxiosParamCreator = function (configuration) {
770
716
  });
771
717
  });
772
718
  },
773
- /**
774
- * Get Admin Account
775
- * @summary Get Admin Account
776
- * @param {*} [options] Override http request option.
777
- * @throws {RequiredError}
778
- */
779
- postGetAdminAccount: function () {
780
- var args_1 = [];
781
- for (var _i = 0; _i < arguments.length; _i++) {
782
- args_1[_i] = arguments[_i];
783
- }
784
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
785
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
786
- if (options === void 0) { options = {}; }
787
- return __generator(this, function (_a) {
788
- localVarPath = "/admin/me";
789
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
790
- if (configuration) {
791
- baseOptions = configuration.baseOptions;
792
- }
793
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
794
- localVarHeaderParameter = {};
795
- localVarQueryParameter = {};
796
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
797
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
798
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
799
- return [2 /*return*/, {
800
- url: (0, common_1.toPathString)(localVarUrlObj),
801
- options: localVarRequestOptions,
802
- }];
803
- });
804
- });
805
- },
806
719
  /**
807
720
  * Create client credentials
808
721
  * @summary Create client credentials
@@ -1101,29 +1014,6 @@ var AccountsApiFp = function (configuration) {
1101
1014
  });
1102
1015
  });
1103
1016
  },
1104
- /**
1105
- * Get Account Detailed Summary
1106
- * @summary Get Account Detailed Summary
1107
- * @param {number} id Customer ID
1108
- * @param {*} [options] Override http request option.
1109
- * @throws {RequiredError}
1110
- */
1111
- getGetAccountDetailedSummary: function (id, options) {
1112
- return __awaiter(this, void 0, void 0, function () {
1113
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1114
- var _a, _b, _c;
1115
- return __generator(this, function (_d) {
1116
- switch (_d.label) {
1117
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAccountDetailedSummary(id, options)];
1118
- case 1:
1119
- localVarAxiosArgs = _d.sent();
1120
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1121
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.getGetAccountDetailedSummary']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1122
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1123
- }
1124
- });
1125
- });
1126
- },
1127
1017
  /**
1128
1018
  * Get Accounts
1129
1019
  * @summary Get Accounts
@@ -1309,28 +1199,6 @@ var AccountsApiFp = function (configuration) {
1309
1199
  });
1310
1200
  });
1311
1201
  },
1312
- /**
1313
- * Get Admin Account
1314
- * @summary Get Admin Account
1315
- * @param {*} [options] Override http request option.
1316
- * @throws {RequiredError}
1317
- */
1318
- postGetAdminAccount: function (options) {
1319
- return __awaiter(this, void 0, void 0, function () {
1320
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1321
- var _a, _b, _c;
1322
- return __generator(this, function (_d) {
1323
- switch (_d.label) {
1324
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetAdminAccount(options)];
1325
- case 1:
1326
- localVarAxiosArgs = _d.sent();
1327
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1328
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.postGetAdminAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1329
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1330
- }
1331
- });
1332
- });
1333
- },
1334
1202
  /**
1335
1203
  * Create client credentials
1336
1204
  * @summary Create client credentials
@@ -1498,16 +1366,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1498
1366
  getGetAccountContacts: function (email, options) {
1499
1367
  return localVarFp.getGetAccountContacts(email, options).then(function (request) { return request(axios, basePath); });
1500
1368
  },
1501
- /**
1502
- * Get Account Detailed Summary
1503
- * @summary Get Account Detailed Summary
1504
- * @param {number} id Customer ID
1505
- * @param {*} [options] Override http request option.
1506
- * @throws {RequiredError}
1507
- */
1508
- getGetAccountDetailedSummary: function (id, options) {
1509
- return localVarFp.getGetAccountDetailedSummary(id, options).then(function (request) { return request(axios, basePath); });
1510
- },
1511
1369
  /**
1512
1370
  * Get Accounts
1513
1371
  * @summary Get Accounts
@@ -1589,15 +1447,6 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1589
1447
  postGetAccounts: function (accountRequestModel, options) {
1590
1448
  return localVarFp.postGetAccounts(accountRequestModel, options).then(function (request) { return request(axios, basePath); });
1591
1449
  },
1592
- /**
1593
- * Get Admin Account
1594
- * @summary Get Admin Account
1595
- * @param {*} [options] Override http request option.
1596
- * @throws {RequiredError}
1597
- */
1598
- postGetAdminAccount: function (options) {
1599
- return localVarFp.postGetAdminAccount(options).then(function (request) { return request(axios, basePath); });
1600
- },
1601
1450
  /**
1602
1451
  * Create client credentials
1603
1452
  * @summary Create client credentials
@@ -1712,18 +1561,6 @@ var AccountsApi = /** @class */ (function (_super) {
1712
1561
  var _this = this;
1713
1562
  return (0, exports.AccountsApiFp)(this.configuration).getGetAccountContacts(email, options).then(function (request) { return request(_this.axios, _this.basePath); });
1714
1563
  };
1715
- /**
1716
- * Get Account Detailed Summary
1717
- * @summary Get Account Detailed Summary
1718
- * @param {number} id Customer ID
1719
- * @param {*} [options] Override http request option.
1720
- * @throws {RequiredError}
1721
- * @memberof AccountsApi
1722
- */
1723
- AccountsApi.prototype.getGetAccountDetailedSummary = function (id, options) {
1724
- var _this = this;
1725
- return (0, exports.AccountsApiFp)(this.configuration).getGetAccountDetailedSummary(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
1726
- };
1727
1564
  /**
1728
1565
  * Get Accounts
1729
1566
  * @summary Get Accounts
@@ -1821,17 +1658,6 @@ var AccountsApi = /** @class */ (function (_super) {
1821
1658
  var _this = this;
1822
1659
  return (0, exports.AccountsApiFp)(this.configuration).postGetAccounts(accountRequestModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
1823
1660
  };
1824
- /**
1825
- * Get Admin Account
1826
- * @summary Get Admin Account
1827
- * @param {*} [options] Override http request option.
1828
- * @throws {RequiredError}
1829
- * @memberof AccountsApi
1830
- */
1831
- AccountsApi.prototype.postGetAdminAccount = function (options) {
1832
- var _this = this;
1833
- return (0, exports.AccountsApiFp)(this.configuration).postGetAdminAccount(options).then(function (request) { return request(_this.axios, _this.basePath); });
1834
- };
1835
1661
  /**
1836
1662
  * Create client credentials
1837
1663
  * @summary Create client credentials
@@ -1898,6 +1724,121 @@ var AccountsApi = /** @class */ (function (_super) {
1898
1724
  return AccountsApi;
1899
1725
  }(base_1.BaseAPI));
1900
1726
  exports.AccountsApi = AccountsApi;
1727
+ /**
1728
+ * CRMApi - axios parameter creator
1729
+ * @export
1730
+ */
1731
+ var CRMApiAxiosParamCreator = function (configuration) {
1732
+ var _this = this;
1733
+ return {
1734
+ /**
1735
+ * Search for contacts by phone number
1736
+ * @param {*} [options] Override http request option.
1737
+ * @throws {RequiredError}
1738
+ */
1739
+ getSearchByPhone: function () {
1740
+ var args_1 = [];
1741
+ for (var _i = 0; _i < arguments.length; _i++) {
1742
+ args_1[_i] = arguments[_i];
1743
+ }
1744
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
1745
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1746
+ if (options === void 0) { options = {}; }
1747
+ return __generator(this, function (_a) {
1748
+ localVarPath = "/crm/contact/search";
1749
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1750
+ if (configuration) {
1751
+ baseOptions = configuration.baseOptions;
1752
+ }
1753
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1754
+ localVarHeaderParameter = {};
1755
+ localVarQueryParameter = {};
1756
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1757
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1758
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1759
+ return [2 /*return*/, {
1760
+ url: (0, common_1.toPathString)(localVarUrlObj),
1761
+ options: localVarRequestOptions,
1762
+ }];
1763
+ });
1764
+ });
1765
+ },
1766
+ };
1767
+ };
1768
+ exports.CRMApiAxiosParamCreator = CRMApiAxiosParamCreator;
1769
+ /**
1770
+ * CRMApi - functional programming interface
1771
+ * @export
1772
+ */
1773
+ var CRMApiFp = function (configuration) {
1774
+ var localVarAxiosParamCreator = (0, exports.CRMApiAxiosParamCreator)(configuration);
1775
+ return {
1776
+ /**
1777
+ * Search for contacts by phone number
1778
+ * @param {*} [options] Override http request option.
1779
+ * @throws {RequiredError}
1780
+ */
1781
+ getSearchByPhone: function (options) {
1782
+ return __awaiter(this, void 0, void 0, function () {
1783
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1784
+ var _a, _b, _c;
1785
+ return __generator(this, function (_d) {
1786
+ switch (_d.label) {
1787
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSearchByPhone(options)];
1788
+ case 1:
1789
+ localVarAxiosArgs = _d.sent();
1790
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1791
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CRMApi.getSearchByPhone']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1792
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1793
+ }
1794
+ });
1795
+ });
1796
+ },
1797
+ };
1798
+ };
1799
+ exports.CRMApiFp = CRMApiFp;
1800
+ /**
1801
+ * CRMApi - factory interface
1802
+ * @export
1803
+ */
1804
+ var CRMApiFactory = function (configuration, basePath, axios) {
1805
+ var localVarFp = (0, exports.CRMApiFp)(configuration);
1806
+ return {
1807
+ /**
1808
+ * Search for contacts by phone number
1809
+ * @param {*} [options] Override http request option.
1810
+ * @throws {RequiredError}
1811
+ */
1812
+ getSearchByPhone: function (options) {
1813
+ return localVarFp.getSearchByPhone(options).then(function (request) { return request(axios, basePath); });
1814
+ },
1815
+ };
1816
+ };
1817
+ exports.CRMApiFactory = CRMApiFactory;
1818
+ /**
1819
+ * CRMApi - object-oriented interface
1820
+ * @export
1821
+ * @class CRMApi
1822
+ * @extends {BaseAPI}
1823
+ */
1824
+ var CRMApi = /** @class */ (function (_super) {
1825
+ __extends(CRMApi, _super);
1826
+ function CRMApi() {
1827
+ return _super !== null && _super.apply(this, arguments) || this;
1828
+ }
1829
+ /**
1830
+ * Search for contacts by phone number
1831
+ * @param {*} [options] Override http request option.
1832
+ * @throws {RequiredError}
1833
+ * @memberof CRMApi
1834
+ */
1835
+ CRMApi.prototype.getSearchByPhone = function (options) {
1836
+ var _this = this;
1837
+ return (0, exports.CRMApiFp)(this.configuration).getSearchByPhone(options).then(function (request) { return request(_this.axios, _this.basePath); });
1838
+ };
1839
+ return CRMApi;
1840
+ }(base_1.BaseAPI));
1841
+ exports.CRMApi = CRMApi;
1901
1842
  /**
1902
1843
  * Class3CXApi - axios parameter creator
1903
1844
  * @export
@@ -1944,6 +1885,45 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
1944
1885
  });
1945
1886
  });
1946
1887
  },
1888
+ /**
1889
+ * Generate a 3CX hashed password for 3CX installation
1890
+ * @summary Convert a password to a hashed 3CX password
1891
+ * @param {string} password Desired 3CX web access password
1892
+ * @param {*} [options] Override http request option.
1893
+ * @throws {RequiredError}
1894
+ */
1895
+ getGetPasswordHash: function (password_1) {
1896
+ var args_1 = [];
1897
+ for (var _i = 1; _i < arguments.length; _i++) {
1898
+ args_1[_i - 1] = arguments[_i];
1899
+ }
1900
+ return __awaiter(_this, __spreadArray([password_1], args_1, true), void 0, function (password, options) {
1901
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1902
+ if (options === void 0) { options = {}; }
1903
+ return __generator(this, function (_a) {
1904
+ // verify required parameter 'password' is not null or undefined
1905
+ (0, common_1.assertParamExists)('getGetPasswordHash', 'password', password);
1906
+ localVarPath = "/tcx/pwd2hash";
1907
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1908
+ if (configuration) {
1909
+ baseOptions = configuration.baseOptions;
1910
+ }
1911
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1912
+ localVarHeaderParameter = {};
1913
+ localVarQueryParameter = {};
1914
+ if (password !== undefined) {
1915
+ localVarQueryParameter['password'] = password;
1916
+ }
1917
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1918
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1919
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1920
+ return [2 /*return*/, {
1921
+ url: (0, common_1.toPathString)(localVarUrlObj),
1922
+ options: localVarRequestOptions,
1923
+ }];
1924
+ });
1925
+ });
1926
+ },
1947
1927
  /**
1948
1928
  * Get Bulk 3CX Licence Details
1949
1929
  * @summary Get bulk 3CX Licence Details
@@ -2013,6 +1993,29 @@ var Class3CXApiFp = function (configuration) {
2013
1993
  });
2014
1994
  });
2015
1995
  },
1996
+ /**
1997
+ * Generate a 3CX hashed password for 3CX installation
1998
+ * @summary Convert a password to a hashed 3CX password
1999
+ * @param {string} password Desired 3CX web access password
2000
+ * @param {*} [options] Override http request option.
2001
+ * @throws {RequiredError}
2002
+ */
2003
+ getGetPasswordHash: function (password, options) {
2004
+ return __awaiter(this, void 0, void 0, function () {
2005
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2006
+ var _a, _b, _c;
2007
+ return __generator(this, function (_d) {
2008
+ switch (_d.label) {
2009
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetPasswordHash(password, options)];
2010
+ case 1:
2011
+ localVarAxiosArgs = _d.sent();
2012
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2013
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetPasswordHash']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2014
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2015
+ }
2016
+ });
2017
+ });
2018
+ },
2016
2019
  /**
2017
2020
  * Get Bulk 3CX Licence Details
2018
2021
  * @summary Get bulk 3CX Licence Details
@@ -2057,13 +2060,23 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
2057
2060
  return localVarFp.getGetLicenceDetails(key, options).then(function (request) { return request(axios, basePath); });
2058
2061
  },
2059
2062
  /**
2060
- * Get Bulk 3CX Licence Details
2061
- * @summary Get bulk 3CX Licence Details
2062
- * @param {Array<string>} [requestBody] Licence Lookup Request
2063
+ * Generate a 3CX hashed password for 3CX installation
2064
+ * @summary Convert a password to a hashed 3CX password
2065
+ * @param {string} password Desired 3CX web access password
2063
2066
  * @param {*} [options] Override http request option.
2064
2067
  * @throws {RequiredError}
2065
2068
  */
2066
- postGetBulkLicenceDetails: function (requestBody, options) {
2069
+ getGetPasswordHash: function (password, options) {
2070
+ return localVarFp.getGetPasswordHash(password, options).then(function (request) { return request(axios, basePath); });
2071
+ },
2072
+ /**
2073
+ * Get Bulk 3CX Licence Details
2074
+ * @summary Get bulk 3CX Licence Details
2075
+ * @param {Array<string>} [requestBody] Licence Lookup Request
2076
+ * @param {*} [options] Override http request option.
2077
+ * @throws {RequiredError}
2078
+ */
2079
+ postGetBulkLicenceDetails: function (requestBody, options) {
2067
2080
  return localVarFp.postGetBulkLicenceDetails(requestBody, options).then(function (request) { return request(axios, basePath); });
2068
2081
  },
2069
2082
  };
@@ -2092,6 +2105,18 @@ var Class3CXApi = /** @class */ (function (_super) {
2092
2105
  var _this = this;
2093
2106
  return (0, exports.Class3CXApiFp)(this.configuration).getGetLicenceDetails(key, options).then(function (request) { return request(_this.axios, _this.basePath); });
2094
2107
  };
2108
+ /**
2109
+ * Generate a 3CX hashed password for 3CX installation
2110
+ * @summary Convert a password to a hashed 3CX password
2111
+ * @param {string} password Desired 3CX web access password
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ * @memberof Class3CXApi
2115
+ */
2116
+ Class3CXApi.prototype.getGetPasswordHash = function (password, options) {
2117
+ var _this = this;
2118
+ return (0, exports.Class3CXApiFp)(this.configuration).getGetPasswordHash(password, options).then(function (request) { return request(_this.axios, _this.basePath); });
2119
+ };
2095
2120
  /**
2096
2121
  * Get Bulk 3CX Licence Details
2097
2122
  * @summary Get bulk 3CX Licence Details
@@ -8013,12 +8038,11 @@ var OrdersApiAxiosParamCreator = function (configuration) {
8013
8038
  return {
8014
8039
  /**
8015
8040
  * Delete Orders
8016
- * @summary Delete Orders
8017
8041
  * @param {number} id Order ID
8018
8042
  * @param {*} [options] Override http request option.
8019
8043
  * @throws {RequiredError}
8020
8044
  */
8021
- deleteUpdateOrder: function (id_1) {
8045
+ deleteDeleteOrder: function (id_1) {
8022
8046
  var args_1 = [];
8023
8047
  for (var _i = 1; _i < arguments.length; _i++) {
8024
8048
  args_1[_i - 1] = arguments[_i];
@@ -8028,7 +8052,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
8028
8052
  if (options === void 0) { options = {}; }
8029
8053
  return __generator(this, function (_a) {
8030
8054
  // verify required parameter 'id' is not null or undefined
8031
- (0, common_1.assertParamExists)('deleteUpdateOrder', 'id', id);
8055
+ (0, common_1.assertParamExists)('deleteDeleteOrder', 'id', id);
8032
8056
  localVarPath = "/orders/{id}"
8033
8057
  .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
8034
8058
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -8048,80 +8072,6 @@ var OrdersApiAxiosParamCreator = function (configuration) {
8048
8072
  });
8049
8073
  });
8050
8074
  },
8051
- /**
8052
- * Get Editable Order (Admin)
8053
- * @summary Get Editable Order (Admin)
8054
- * @param {number} id Order ID
8055
- * @param {*} [options] Override http request option.
8056
- * @throws {RequiredError}
8057
- */
8058
- getGetAdminEditableOrder: function (id_1) {
8059
- var args_1 = [];
8060
- for (var _i = 1; _i < arguments.length; _i++) {
8061
- args_1[_i - 1] = arguments[_i];
8062
- }
8063
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
8064
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8065
- if (options === void 0) { options = {}; }
8066
- return __generator(this, function (_a) {
8067
- // verify required parameter 'id' is not null or undefined
8068
- (0, common_1.assertParamExists)('getGetAdminEditableOrder', 'id', id);
8069
- localVarPath = "/admin/orders/{id}/views/editable"
8070
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
8071
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8072
- if (configuration) {
8073
- baseOptions = configuration.baseOptions;
8074
- }
8075
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8076
- localVarHeaderParameter = {};
8077
- localVarQueryParameter = {};
8078
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8079
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8080
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8081
- return [2 /*return*/, {
8082
- url: (0, common_1.toPathString)(localVarUrlObj),
8083
- options: localVarRequestOptions,
8084
- }];
8085
- });
8086
- });
8087
- },
8088
- /**
8089
- * Get Editable Order
8090
- * @summary Get Editable Order
8091
- * @param {number} id Order ID
8092
- * @param {*} [options] Override http request option.
8093
- * @throws {RequiredError}
8094
- */
8095
- getGetEditableOrder: function (id_1) {
8096
- var args_1 = [];
8097
- for (var _i = 1; _i < arguments.length; _i++) {
8098
- args_1[_i - 1] = arguments[_i];
8099
- }
8100
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
8101
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8102
- if (options === void 0) { options = {}; }
8103
- return __generator(this, function (_a) {
8104
- // verify required parameter 'id' is not null or undefined
8105
- (0, common_1.assertParamExists)('getGetEditableOrder', 'id', id);
8106
- localVarPath = "/orders/{id}/views/editable"
8107
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
8108
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8109
- if (configuration) {
8110
- baseOptions = configuration.baseOptions;
8111
- }
8112
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
8113
- localVarHeaderParameter = {};
8114
- localVarQueryParameter = {};
8115
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8116
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8117
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8118
- return [2 /*return*/, {
8119
- url: (0, common_1.toPathString)(localVarUrlObj),
8120
- options: localVarRequestOptions,
8121
- }];
8122
- });
8123
- });
8124
- },
8125
8075
  /**
8126
8076
  * Get Orders
8127
8077
  * @summary Get Orders
@@ -8183,174 +8133,6 @@ var OrdersApiAxiosParamCreator = function (configuration) {
8183
8133
  });
8184
8134
  });
8185
8135
  },
8186
- /**
8187
- * Create An Order (Admin)
8188
- * @summary Create An Order (Admin)
8189
- * @param {boolean} [readonly] Readonly Order
8190
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
8191
- * @param {*} [options] Override http request option.
8192
- * @throws {RequiredError}
8193
- */
8194
- postCreateAdminOrder: function (readonly_1, adminOrderRequestDTO_1) {
8195
- var args_1 = [];
8196
- for (var _i = 2; _i < arguments.length; _i++) {
8197
- args_1[_i - 2] = arguments[_i];
8198
- }
8199
- return __awaiter(_this, __spreadArray([readonly_1, adminOrderRequestDTO_1], args_1, true), void 0, function (readonly, adminOrderRequestDTO, options) {
8200
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8201
- if (options === void 0) { options = {}; }
8202
- return __generator(this, function (_a) {
8203
- localVarPath = "/admin/orders";
8204
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8205
- if (configuration) {
8206
- baseOptions = configuration.baseOptions;
8207
- }
8208
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8209
- localVarHeaderParameter = {};
8210
- localVarQueryParameter = {};
8211
- if (readonly !== undefined) {
8212
- localVarQueryParameter['readonly'] = readonly;
8213
- }
8214
- localVarHeaderParameter['Content-Type'] = 'application/json';
8215
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8216
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8217
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8218
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminOrderRequestDTO, localVarRequestOptions, configuration);
8219
- return [2 /*return*/, {
8220
- url: (0, common_1.toPathString)(localVarUrlObj),
8221
- options: localVarRequestOptions,
8222
- }];
8223
- });
8224
- });
8225
- },
8226
- /**
8227
- * Create An Order
8228
- * @summary Create An Order
8229
- * @param {boolean} [readonly] Readonly Order
8230
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8231
- * @param {*} [options] Override http request option.
8232
- * @throws {RequiredError}
8233
- */
8234
- postGetOrders: function (readonly_1, customerOrderRequestDTO_1) {
8235
- var args_1 = [];
8236
- for (var _i = 2; _i < arguments.length; _i++) {
8237
- args_1[_i - 2] = arguments[_i];
8238
- }
8239
- return __awaiter(_this, __spreadArray([readonly_1, customerOrderRequestDTO_1], args_1, true), void 0, function (readonly, customerOrderRequestDTO, options) {
8240
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8241
- if (options === void 0) { options = {}; }
8242
- return __generator(this, function (_a) {
8243
- localVarPath = "/orders";
8244
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8245
- if (configuration) {
8246
- baseOptions = configuration.baseOptions;
8247
- }
8248
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8249
- localVarHeaderParameter = {};
8250
- localVarQueryParameter = {};
8251
- if (readonly !== undefined) {
8252
- localVarQueryParameter['readonly'] = readonly;
8253
- }
8254
- localVarHeaderParameter['Content-Type'] = 'application/json';
8255
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8256
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8257
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8258
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(customerOrderRequestDTO, localVarRequestOptions, configuration);
8259
- return [2 /*return*/, {
8260
- url: (0, common_1.toPathString)(localVarUrlObj),
8261
- options: localVarRequestOptions,
8262
- }];
8263
- });
8264
- });
8265
- },
8266
- /**
8267
- * Update An Order (Admin)
8268
- * @summary Update An Order (Admin)
8269
- * @param {number} id Order ID
8270
- * @param {boolean} [readonly] Readonly Order
8271
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
8272
- * @param {*} [options] Override http request option.
8273
- * @throws {RequiredError}
8274
- */
8275
- putUpdateAdminOrder: function (id_1, readonly_1, adminOrderRequestDTO_1) {
8276
- var args_1 = [];
8277
- for (var _i = 3; _i < arguments.length; _i++) {
8278
- args_1[_i - 3] = arguments[_i];
8279
- }
8280
- return __awaiter(_this, __spreadArray([id_1, readonly_1, adminOrderRequestDTO_1], args_1, true), void 0, function (id, readonly, adminOrderRequestDTO, options) {
8281
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8282
- if (options === void 0) { options = {}; }
8283
- return __generator(this, function (_a) {
8284
- // verify required parameter 'id' is not null or undefined
8285
- (0, common_1.assertParamExists)('putUpdateAdminOrder', 'id', id);
8286
- localVarPath = "/admin/orders/{id}"
8287
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
8288
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8289
- if (configuration) {
8290
- baseOptions = configuration.baseOptions;
8291
- }
8292
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
8293
- localVarHeaderParameter = {};
8294
- localVarQueryParameter = {};
8295
- if (readonly !== undefined) {
8296
- localVarQueryParameter['readonly'] = readonly;
8297
- }
8298
- localVarHeaderParameter['Content-Type'] = 'application/json';
8299
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8300
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8301
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8302
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(adminOrderRequestDTO, localVarRequestOptions, configuration);
8303
- return [2 /*return*/, {
8304
- url: (0, common_1.toPathString)(localVarUrlObj),
8305
- options: localVarRequestOptions,
8306
- }];
8307
- });
8308
- });
8309
- },
8310
- /**
8311
- * Update An Order
8312
- * @summary Update An Order
8313
- * @param {number} id Order ID
8314
- * @param {boolean} [readonly] Readonly Order
8315
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8316
- * @param {*} [options] Override http request option.
8317
- * @throws {RequiredError}
8318
- */
8319
- putUpdateOrder: function (id_1, readonly_1, customerOrderRequestDTO_1) {
8320
- var args_1 = [];
8321
- for (var _i = 3; _i < arguments.length; _i++) {
8322
- args_1[_i - 3] = arguments[_i];
8323
- }
8324
- return __awaiter(_this, __spreadArray([id_1, readonly_1, customerOrderRequestDTO_1], args_1, true), void 0, function (id, readonly, customerOrderRequestDTO, options) {
8325
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
8326
- if (options === void 0) { options = {}; }
8327
- return __generator(this, function (_a) {
8328
- // verify required parameter 'id' is not null or undefined
8329
- (0, common_1.assertParamExists)('putUpdateOrder', 'id', id);
8330
- localVarPath = "/orders/{id}"
8331
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
8332
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8333
- if (configuration) {
8334
- baseOptions = configuration.baseOptions;
8335
- }
8336
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
8337
- localVarHeaderParameter = {};
8338
- localVarQueryParameter = {};
8339
- if (readonly !== undefined) {
8340
- localVarQueryParameter['readonly'] = readonly;
8341
- }
8342
- localVarHeaderParameter['Content-Type'] = 'application/json';
8343
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8344
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8345
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8346
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(customerOrderRequestDTO, localVarRequestOptions, configuration);
8347
- return [2 /*return*/, {
8348
- url: (0, common_1.toPathString)(localVarUrlObj),
8349
- options: localVarRequestOptions,
8350
- }];
8351
- });
8352
- });
8353
- },
8354
8136
  };
8355
8137
  };
8356
8138
  exports.OrdersApiAxiosParamCreator = OrdersApiAxiosParamCreator;
@@ -8363,68 +8145,21 @@ var OrdersApiFp = function (configuration) {
8363
8145
  return {
8364
8146
  /**
8365
8147
  * Delete Orders
8366
- * @summary Delete Orders
8367
- * @param {number} id Order ID
8368
- * @param {*} [options] Override http request option.
8369
- * @throws {RequiredError}
8370
- */
8371
- deleteUpdateOrder: function (id, options) {
8372
- return __awaiter(this, void 0, void 0, function () {
8373
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8374
- var _a, _b, _c;
8375
- return __generator(this, function (_d) {
8376
- switch (_d.label) {
8377
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteUpdateOrder(id, options)];
8378
- case 1:
8379
- localVarAxiosArgs = _d.sent();
8380
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8381
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.deleteUpdateOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8382
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8383
- }
8384
- });
8385
- });
8386
- },
8387
- /**
8388
- * Get Editable Order (Admin)
8389
- * @summary Get Editable Order (Admin)
8390
8148
  * @param {number} id Order ID
8391
8149
  * @param {*} [options] Override http request option.
8392
8150
  * @throws {RequiredError}
8393
8151
  */
8394
- getGetAdminEditableOrder: function (id, options) {
8152
+ deleteDeleteOrder: function (id, options) {
8395
8153
  return __awaiter(this, void 0, void 0, function () {
8396
8154
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8397
8155
  var _a, _b, _c;
8398
8156
  return __generator(this, function (_d) {
8399
8157
  switch (_d.label) {
8400
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminEditableOrder(id, options)];
8158
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteDeleteOrder(id, options)];
8401
8159
  case 1:
8402
8160
  localVarAxiosArgs = _d.sent();
8403
8161
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8404
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.getGetAdminEditableOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8405
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8406
- }
8407
- });
8408
- });
8409
- },
8410
- /**
8411
- * Get Editable Order
8412
- * @summary Get Editable Order
8413
- * @param {number} id Order ID
8414
- * @param {*} [options] Override http request option.
8415
- * @throws {RequiredError}
8416
- */
8417
- getGetEditableOrder: function (id, options) {
8418
- return __awaiter(this, void 0, void 0, function () {
8419
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8420
- var _a, _b, _c;
8421
- return __generator(this, function (_d) {
8422
- switch (_d.label) {
8423
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetEditableOrder(id, options)];
8424
- case 1:
8425
- localVarAxiosArgs = _d.sent();
8426
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8427
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.getGetEditableOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8162
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.deleteDeleteOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8428
8163
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8429
8164
  }
8430
8165
  });
@@ -8459,104 +8194,6 @@ var OrdersApiFp = function (configuration) {
8459
8194
  });
8460
8195
  });
8461
8196
  },
8462
- /**
8463
- * Create An Order (Admin)
8464
- * @summary Create An Order (Admin)
8465
- * @param {boolean} [readonly] Readonly Order
8466
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
8467
- * @param {*} [options] Override http request option.
8468
- * @throws {RequiredError}
8469
- */
8470
- postCreateAdminOrder: function (readonly, adminOrderRequestDTO, options) {
8471
- return __awaiter(this, void 0, void 0, function () {
8472
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8473
- var _a, _b, _c;
8474
- return __generator(this, function (_d) {
8475
- switch (_d.label) {
8476
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateAdminOrder(readonly, adminOrderRequestDTO, options)];
8477
- case 1:
8478
- localVarAxiosArgs = _d.sent();
8479
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8480
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postCreateAdminOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8481
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8482
- }
8483
- });
8484
- });
8485
- },
8486
- /**
8487
- * Create An Order
8488
- * @summary Create An Order
8489
- * @param {boolean} [readonly] Readonly Order
8490
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8491
- * @param {*} [options] Override http request option.
8492
- * @throws {RequiredError}
8493
- */
8494
- postGetOrders: function (readonly, customerOrderRequestDTO, options) {
8495
- return __awaiter(this, void 0, void 0, function () {
8496
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8497
- var _a, _b, _c;
8498
- return __generator(this, function (_d) {
8499
- switch (_d.label) {
8500
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetOrders(readonly, customerOrderRequestDTO, options)];
8501
- case 1:
8502
- localVarAxiosArgs = _d.sent();
8503
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8504
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.postGetOrders']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8505
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8506
- }
8507
- });
8508
- });
8509
- },
8510
- /**
8511
- * Update An Order (Admin)
8512
- * @summary Update An Order (Admin)
8513
- * @param {number} id Order ID
8514
- * @param {boolean} [readonly] Readonly Order
8515
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
8516
- * @param {*} [options] Override http request option.
8517
- * @throws {RequiredError}
8518
- */
8519
- putUpdateAdminOrder: function (id, readonly, adminOrderRequestDTO, options) {
8520
- return __awaiter(this, void 0, void 0, function () {
8521
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8522
- var _a, _b, _c;
8523
- return __generator(this, function (_d) {
8524
- switch (_d.label) {
8525
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options)];
8526
- case 1:
8527
- localVarAxiosArgs = _d.sent();
8528
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8529
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.putUpdateAdminOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8530
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8531
- }
8532
- });
8533
- });
8534
- },
8535
- /**
8536
- * Update An Order
8537
- * @summary Update An Order
8538
- * @param {number} id Order ID
8539
- * @param {boolean} [readonly] Readonly Order
8540
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8541
- * @param {*} [options] Override http request option.
8542
- * @throws {RequiredError}
8543
- */
8544
- putUpdateOrder: function (id, readonly, customerOrderRequestDTO, options) {
8545
- return __awaiter(this, void 0, void 0, function () {
8546
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8547
- var _a, _b, _c;
8548
- return __generator(this, function (_d) {
8549
- switch (_d.label) {
8550
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.putUpdateOrder(id, readonly, customerOrderRequestDTO, options)];
8551
- case 1:
8552
- localVarAxiosArgs = _d.sent();
8553
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8554
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrdersApi.putUpdateOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8555
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8556
- }
8557
- });
8558
- });
8559
- },
8560
8197
  };
8561
8198
  };
8562
8199
  exports.OrdersApiFp = OrdersApiFp;
@@ -8569,33 +8206,12 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
8569
8206
  return {
8570
8207
  /**
8571
8208
  * Delete Orders
8572
- * @summary Delete Orders
8573
- * @param {number} id Order ID
8574
- * @param {*} [options] Override http request option.
8575
- * @throws {RequiredError}
8576
- */
8577
- deleteUpdateOrder: function (id, options) {
8578
- return localVarFp.deleteUpdateOrder(id, options).then(function (request) { return request(axios, basePath); });
8579
- },
8580
- /**
8581
- * Get Editable Order (Admin)
8582
- * @summary Get Editable Order (Admin)
8583
- * @param {number} id Order ID
8584
- * @param {*} [options] Override http request option.
8585
- * @throws {RequiredError}
8586
- */
8587
- getGetAdminEditableOrder: function (id, options) {
8588
- return localVarFp.getGetAdminEditableOrder(id, options).then(function (request) { return request(axios, basePath); });
8589
- },
8590
- /**
8591
- * Get Editable Order
8592
- * @summary Get Editable Order
8593
8209
  * @param {number} id Order ID
8594
8210
  * @param {*} [options] Override http request option.
8595
8211
  * @throws {RequiredError}
8596
8212
  */
8597
- getGetEditableOrder: function (id, options) {
8598
- return localVarFp.getGetEditableOrder(id, options).then(function (request) { return request(axios, basePath); });
8213
+ deleteDeleteOrder: function (id, options) {
8214
+ return localVarFp.deleteDeleteOrder(id, options).then(function (request) { return request(axios, basePath); });
8599
8215
  },
8600
8216
  /**
8601
8217
  * Get Orders
@@ -8613,52 +8229,6 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
8613
8229
  getGetOrders: function (pageSize, page, search, fulfillable, status, filter, customerId, options) {
8614
8230
  return localVarFp.getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then(function (request) { return request(axios, basePath); });
8615
8231
  },
8616
- /**
8617
- * Create An Order (Admin)
8618
- * @summary Create An Order (Admin)
8619
- * @param {boolean} [readonly] Readonly Order
8620
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
8621
- * @param {*} [options] Override http request option.
8622
- * @throws {RequiredError}
8623
- */
8624
- postCreateAdminOrder: function (readonly, adminOrderRequestDTO, options) {
8625
- return localVarFp.postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
8626
- },
8627
- /**
8628
- * Create An Order
8629
- * @summary Create An Order
8630
- * @param {boolean} [readonly] Readonly Order
8631
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8632
- * @param {*} [options] Override http request option.
8633
- * @throws {RequiredError}
8634
- */
8635
- postGetOrders: function (readonly, customerOrderRequestDTO, options) {
8636
- return localVarFp.postGetOrders(readonly, customerOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
8637
- },
8638
- /**
8639
- * Update An Order (Admin)
8640
- * @summary Update An Order (Admin)
8641
- * @param {number} id Order ID
8642
- * @param {boolean} [readonly] Readonly Order
8643
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
8644
- * @param {*} [options] Override http request option.
8645
- * @throws {RequiredError}
8646
- */
8647
- putUpdateAdminOrder: function (id, readonly, adminOrderRequestDTO, options) {
8648
- return localVarFp.putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
8649
- },
8650
- /**
8651
- * Update An Order
8652
- * @summary Update An Order
8653
- * @param {number} id Order ID
8654
- * @param {boolean} [readonly] Readonly Order
8655
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8656
- * @param {*} [options] Override http request option.
8657
- * @throws {RequiredError}
8658
- */
8659
- putUpdateOrder: function (id, readonly, customerOrderRequestDTO, options) {
8660
- return localVarFp.putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then(function (request) { return request(axios, basePath); });
8661
- },
8662
8232
  };
8663
8233
  };
8664
8234
  exports.OrdersApiFactory = OrdersApiFactory;
@@ -8675,39 +8245,14 @@ var OrdersApi = /** @class */ (function (_super) {
8675
8245
  }
8676
8246
  /**
8677
8247
  * Delete Orders
8678
- * @summary Delete Orders
8679
- * @param {number} id Order ID
8680
- * @param {*} [options] Override http request option.
8681
- * @throws {RequiredError}
8682
- * @memberof OrdersApi
8683
- */
8684
- OrdersApi.prototype.deleteUpdateOrder = function (id, options) {
8685
- var _this = this;
8686
- return (0, exports.OrdersApiFp)(this.configuration).deleteUpdateOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8687
- };
8688
- /**
8689
- * Get Editable Order (Admin)
8690
- * @summary Get Editable Order (Admin)
8691
- * @param {number} id Order ID
8692
- * @param {*} [options] Override http request option.
8693
- * @throws {RequiredError}
8694
- * @memberof OrdersApi
8695
- */
8696
- OrdersApi.prototype.getGetAdminEditableOrder = function (id, options) {
8697
- var _this = this;
8698
- return (0, exports.OrdersApiFp)(this.configuration).getGetAdminEditableOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8699
- };
8700
- /**
8701
- * Get Editable Order
8702
- * @summary Get Editable Order
8703
8248
  * @param {number} id Order ID
8704
8249
  * @param {*} [options] Override http request option.
8705
8250
  * @throws {RequiredError}
8706
8251
  * @memberof OrdersApi
8707
8252
  */
8708
- OrdersApi.prototype.getGetEditableOrder = function (id, options) {
8253
+ OrdersApi.prototype.deleteDeleteOrder = function (id, options) {
8709
8254
  var _this = this;
8710
- return (0, exports.OrdersApiFp)(this.configuration).getGetEditableOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8255
+ return (0, exports.OrdersApiFp)(this.configuration).deleteDeleteOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8711
8256
  };
8712
8257
  /**
8713
8258
  * Get Orders
@@ -8727,60 +8272,6 @@ var OrdersApi = /** @class */ (function (_super) {
8727
8272
  var _this = this;
8728
8273
  return (0, exports.OrdersApiFp)(this.configuration).getGetOrders(pageSize, page, search, fulfillable, status, filter, customerId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8729
8274
  };
8730
- /**
8731
- * Create An Order (Admin)
8732
- * @summary Create An Order (Admin)
8733
- * @param {boolean} [readonly] Readonly Order
8734
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
8735
- * @param {*} [options] Override http request option.
8736
- * @throws {RequiredError}
8737
- * @memberof OrdersApi
8738
- */
8739
- OrdersApi.prototype.postCreateAdminOrder = function (readonly, adminOrderRequestDTO, options) {
8740
- var _this = this;
8741
- return (0, exports.OrdersApiFp)(this.configuration).postCreateAdminOrder(readonly, adminOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
8742
- };
8743
- /**
8744
- * Create An Order
8745
- * @summary Create An Order
8746
- * @param {boolean} [readonly] Readonly Order
8747
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8748
- * @param {*} [options] Override http request option.
8749
- * @throws {RequiredError}
8750
- * @memberof OrdersApi
8751
- */
8752
- OrdersApi.prototype.postGetOrders = function (readonly, customerOrderRequestDTO, options) {
8753
- var _this = this;
8754
- return (0, exports.OrdersApiFp)(this.configuration).postGetOrders(readonly, customerOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
8755
- };
8756
- /**
8757
- * Update An Order (Admin)
8758
- * @summary Update An Order (Admin)
8759
- * @param {number} id Order ID
8760
- * @param {boolean} [readonly] Readonly Order
8761
- * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
8762
- * @param {*} [options] Override http request option.
8763
- * @throws {RequiredError}
8764
- * @memberof OrdersApi
8765
- */
8766
- OrdersApi.prototype.putUpdateAdminOrder = function (id, readonly, adminOrderRequestDTO, options) {
8767
- var _this = this;
8768
- return (0, exports.OrdersApiFp)(this.configuration).putUpdateAdminOrder(id, readonly, adminOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
8769
- };
8770
- /**
8771
- * Update An Order
8772
- * @summary Update An Order
8773
- * @param {number} id Order ID
8774
- * @param {boolean} [readonly] Readonly Order
8775
- * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
8776
- * @param {*} [options] Override http request option.
8777
- * @throws {RequiredError}
8778
- * @memberof OrdersApi
8779
- */
8780
- OrdersApi.prototype.putUpdateOrder = function (id, readonly, customerOrderRequestDTO, options) {
8781
- var _this = this;
8782
- return (0, exports.OrdersApiFp)(this.configuration).putUpdateOrder(id, readonly, customerOrderRequestDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
8783
- };
8784
8275
  return OrdersApi;
8785
8276
  }(base_1.BaseAPI));
8786
8277
  exports.OrdersApi = OrdersApi;
@@ -9208,52 +8699,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9208
8699
  });
9209
8700
  },
9210
8701
  /**
9211
- * Get Current Stock & Pricing
9212
- * @summary Get Current Stock & Pricing
9213
- * @param {GetGetLegacyStockListFormatEnum} format File Format
8702
+ * Get Customer Price Lists
8703
+ * @summary Get Customer Price Lists
9214
8704
  * @param {*} [options] Override http request option.
9215
- * @deprecated
9216
8705
  * @throws {RequiredError}
9217
8706
  */
9218
- getGetLegacyStockList: function (format_1) {
9219
- var args_1 = [];
9220
- for (var _i = 1; _i < arguments.length; _i++) {
9221
- args_1[_i - 1] = arguments[_i];
9222
- }
9223
- return __awaiter(_this, __spreadArray([format_1], args_1, true), void 0, function (format, options) {
9224
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9225
- if (options === void 0) { options = {}; }
9226
- return __generator(this, function (_a) {
9227
- // verify required parameter 'format' is not null or undefined
9228
- (0, common_1.assertParamExists)('getGetLegacyStockList', 'format', format);
9229
- localVarPath = "/products/stock/legacy";
9230
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9231
- if (configuration) {
9232
- baseOptions = configuration.baseOptions;
9233
- }
9234
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9235
- localVarHeaderParameter = {};
9236
- localVarQueryParameter = {};
9237
- if (format !== undefined) {
9238
- localVarQueryParameter['format'] = format;
9239
- }
9240
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9241
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9242
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9243
- return [2 /*return*/, {
9244
- url: (0, common_1.toPathString)(localVarUrlObj),
9245
- options: localVarRequestOptions,
9246
- }];
9247
- });
9248
- });
9249
- },
9250
- /**
9251
- * Get Products
9252
- * @summary Get Products
9253
- * @param {*} [options] Override http request option.
9254
- * @throws {RequiredError}
9255
- */
9256
- getGetProducts: function () {
8707
+ getGetCustomerPriceLists: function () {
9257
8708
  var args_1 = [];
9258
8709
  for (var _i = 0; _i < arguments.length; _i++) {
9259
8710
  args_1[_i] = arguments[_i];
@@ -9262,7 +8713,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9262
8713
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9263
8714
  if (options === void 0) { options = {}; }
9264
8715
  return __generator(this, function (_a) {
9265
- localVarPath = "/products";
8716
+ localVarPath = "/products/prices/lists";
9266
8717
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9267
8718
  if (configuration) {
9268
8719
  baseOptions = configuration.baseOptions;
@@ -9283,52 +8734,23 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9283
8734
  /**
9284
8735
  * Get Current Stock & Pricing
9285
8736
  * @summary Get Current Stock & Pricing
8737
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
9286
8738
  * @param {*} [options] Override http request option.
8739
+ * @deprecated
9287
8740
  * @throws {RequiredError}
9288
8741
  */
9289
- getGetStockList: function () {
9290
- var args_1 = [];
9291
- for (var _i = 0; _i < arguments.length; _i++) {
9292
- args_1[_i] = arguments[_i];
9293
- }
9294
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
9295
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9296
- if (options === void 0) { options = {}; }
9297
- return __generator(this, function (_a) {
9298
- localVarPath = "/products/stock";
9299
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9300
- if (configuration) {
9301
- baseOptions = configuration.baseOptions;
9302
- }
9303
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9304
- localVarHeaderParameter = {};
9305
- localVarQueryParameter = {};
9306
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9307
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9308
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9309
- return [2 /*return*/, {
9310
- url: (0, common_1.toPathString)(localVarUrlObj),
9311
- options: localVarRequestOptions,
9312
- }];
9313
- });
9314
- });
9315
- },
9316
- /**
9317
- * Get 3CX Templates
9318
- * @summary Get 3CX Templates
9319
- * @param {*} [options] Override http request option.
9320
- * @throws {RequiredError}
9321
- */
9322
- getGetTcxTemplates: function () {
8742
+ getGetLegacyStockList: function (format_1) {
9323
8743
  var args_1 = [];
9324
- for (var _i = 0; _i < arguments.length; _i++) {
9325
- args_1[_i] = arguments[_i];
8744
+ for (var _i = 1; _i < arguments.length; _i++) {
8745
+ args_1[_i - 1] = arguments[_i];
9326
8746
  }
9327
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
8747
+ return __awaiter(_this, __spreadArray([format_1], args_1, true), void 0, function (format, options) {
9328
8748
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9329
8749
  if (options === void 0) { options = {}; }
9330
8750
  return __generator(this, function (_a) {
9331
- localVarPath = "/products/attributes/tcx/templates";
8751
+ // verify required parameter 'format' is not null or undefined
8752
+ (0, common_1.assertParamExists)('getGetLegacyStockList', 'format', format);
8753
+ localVarPath = "/products/stock/legacy";
9332
8754
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9333
8755
  if (configuration) {
9334
8756
  baseOptions = configuration.baseOptions;
@@ -9336,6 +8758,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9336
8758
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9337
8759
  localVarHeaderParameter = {};
9338
8760
  localVarQueryParameter = {};
8761
+ if (format !== undefined) {
8762
+ localVarQueryParameter['format'] = format;
8763
+ }
9339
8764
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9340
8765
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9341
8766
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9347,15 +8772,15 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9347
8772
  });
9348
8773
  },
9349
8774
  /**
9350
- * Search Products
9351
- * @summary Search Products
8775
+ * Get Products
8776
+ * @summary Get Products
9352
8777
  * @param {number} [pageSize] Number Of Results
9353
8778
  * @param {number} [page] Page Number
9354
8779
  * @param {string} [search] Search
9355
8780
  * @param {*} [options] Override http request option.
9356
8781
  * @throws {RequiredError}
9357
8782
  */
9358
- getSearchProducts: function (pageSize_1, page_1, search_1) {
8783
+ getGetProducts: function (pageSize_1, page_1, search_1) {
9359
8784
  var args_1 = [];
9360
8785
  for (var _i = 3; _i < arguments.length; _i++) {
9361
8786
  args_1[_i - 3] = arguments[_i];
@@ -9392,40 +8817,31 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9392
8817
  });
9393
8818
  },
9394
8819
  /**
9395
- * Get Product
9396
- * @summary Get Product
9397
- * @param {string} sku Product SKU
9398
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
8820
+ * Get Current Stock & Pricing
8821
+ * @summary Get Current Stock & Pricing
9399
8822
  * @param {*} [options] Override http request option.
9400
8823
  * @throws {RequiredError}
9401
8824
  */
9402
- postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
8825
+ getGetStockList: function () {
9403
8826
  var args_1 = [];
9404
- for (var _i = 2; _i < arguments.length; _i++) {
9405
- args_1[_i - 2] = arguments[_i];
8827
+ for (var _i = 0; _i < arguments.length; _i++) {
8828
+ args_1[_i] = arguments[_i];
9406
8829
  }
9407
- return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
8830
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
9408
8831
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9409
8832
  if (options === void 0) { options = {}; }
9410
8833
  return __generator(this, function (_a) {
9411
- // verify required parameter 'sku' is not null or undefined
9412
- (0, common_1.assertParamExists)('postGetProduct', 'sku', sku);
9413
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
9414
- (0, common_1.assertParamExists)('postGetProduct', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
9415
- localVarPath = "/products/{sku}"
9416
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
8834
+ localVarPath = "/products/stock";
9417
8835
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9418
8836
  if (configuration) {
9419
8837
  baseOptions = configuration.baseOptions;
9420
8838
  }
9421
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8839
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9422
8840
  localVarHeaderParameter = {};
9423
8841
  localVarQueryParameter = {};
9424
- localVarHeaderParameter['Content-Type'] = 'application/json';
9425
8842
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9426
8843
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9427
8844
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9428
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
9429
8845
  return [2 /*return*/, {
9430
8846
  url: (0, common_1.toPathString)(localVarUrlObj),
9431
8847
  options: localVarRequestOptions,
@@ -9434,46 +8850,31 @@ var ProductsApiAxiosParamCreator = function (configuration) {
9434
8850
  });
9435
8851
  },
9436
8852
  /**
9437
- * Get Product For Customer
9438
- * @summary Get Product For Customer
9439
- * @param {number} customerId Customer ID
9440
- * @param {string} sku Product SKU
9441
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
8853
+ * Get 3CX Templates
8854
+ * @summary Get 3CX Templates
9442
8855
  * @param {*} [options] Override http request option.
9443
8856
  * @throws {RequiredError}
9444
8857
  */
9445
- postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1) {
8858
+ getGetTcxTemplates: function () {
9446
8859
  var args_1 = [];
9447
- for (var _i = 3; _i < arguments.length; _i++) {
9448
- args_1[_i - 3] = arguments[_i];
8860
+ for (var _i = 0; _i < arguments.length; _i++) {
8861
+ args_1[_i] = arguments[_i];
9449
8862
  }
9450
- return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, options) {
8863
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
9451
8864
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
9452
8865
  if (options === void 0) { options = {}; }
9453
8866
  return __generator(this, function (_a) {
9454
- // verify required parameter 'customerId' is not null or undefined
9455
- (0, common_1.assertParamExists)('postGetProductForCustomer', 'customerId', customerId);
9456
- // verify required parameter 'sku' is not null or undefined
9457
- (0, common_1.assertParamExists)('postGetProductForCustomer', 'sku', sku);
9458
- // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
9459
- (0, common_1.assertParamExists)('postGetProductForCustomer', 'postGetProductForCustomerRequest', postGetProductForCustomerRequest);
9460
- localVarPath = "/admin/products/{sku}"
9461
- .replace("{".concat("sku", "}"), encodeURIComponent(String(sku)));
8867
+ localVarPath = "/products/attributes/tcx/templates";
9462
8868
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9463
8869
  if (configuration) {
9464
8870
  baseOptions = configuration.baseOptions;
9465
8871
  }
9466
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
8872
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9467
8873
  localVarHeaderParameter = {};
9468
8874
  localVarQueryParameter = {};
9469
- if (customerId !== undefined) {
9470
- localVarQueryParameter['customerId'] = customerId;
9471
- }
9472
- localVarHeaderParameter['Content-Type'] = 'application/json';
9473
8875
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9474
8876
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9475
8877
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9476
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(postGetProductForCustomerRequest, localVarRequestOptions, configuration);
9477
8878
  return [2 /*return*/, {
9478
8879
  url: (0, common_1.toPathString)(localVarUrlObj),
9479
8880
  options: localVarRequestOptions,
@@ -9514,46 +8915,22 @@ var ProductsApiFp = function (configuration) {
9514
8915
  });
9515
8916
  },
9516
8917
  /**
9517
- * Get Current Stock & Pricing
9518
- * @summary Get Current Stock & Pricing
9519
- * @param {GetGetLegacyStockListFormatEnum} format File Format
9520
- * @param {*} [options] Override http request option.
9521
- * @deprecated
9522
- * @throws {RequiredError}
9523
- */
9524
- getGetLegacyStockList: function (format, options) {
9525
- return __awaiter(this, void 0, void 0, function () {
9526
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9527
- var _a, _b, _c;
9528
- return __generator(this, function (_d) {
9529
- switch (_d.label) {
9530
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLegacyStockList(format, options)];
9531
- case 1:
9532
- localVarAxiosArgs = _d.sent();
9533
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9534
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetLegacyStockList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9535
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9536
- }
9537
- });
9538
- });
9539
- },
9540
- /**
9541
- * Get Products
9542
- * @summary Get Products
8918
+ * Get Customer Price Lists
8919
+ * @summary Get Customer Price Lists
9543
8920
  * @param {*} [options] Override http request option.
9544
8921
  * @throws {RequiredError}
9545
8922
  */
9546
- getGetProducts: function (options) {
8923
+ getGetCustomerPriceLists: function (options) {
9547
8924
  return __awaiter(this, void 0, void 0, function () {
9548
8925
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9549
8926
  var _a, _b, _c;
9550
8927
  return __generator(this, function (_d) {
9551
8928
  switch (_d.label) {
9552
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProducts(options)];
8929
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetCustomerPriceLists(options)];
9553
8930
  case 1:
9554
8931
  localVarAxiosArgs = _d.sent();
9555
8932
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9556
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8933
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetCustomerPriceLists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9557
8934
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9558
8935
  }
9559
8936
  });
@@ -9562,116 +8939,91 @@ var ProductsApiFp = function (configuration) {
9562
8939
  /**
9563
8940
  * Get Current Stock & Pricing
9564
8941
  * @summary Get Current Stock & Pricing
8942
+ * @param {GetGetLegacyStockListFormatEnum} format File Format
9565
8943
  * @param {*} [options] Override http request option.
8944
+ * @deprecated
9566
8945
  * @throws {RequiredError}
9567
8946
  */
9568
- getGetStockList: function (options) {
9569
- return __awaiter(this, void 0, void 0, function () {
9570
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9571
- var _a, _b, _c;
9572
- return __generator(this, function (_d) {
9573
- switch (_d.label) {
9574
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetStockList(options)];
9575
- case 1:
9576
- localVarAxiosArgs = _d.sent();
9577
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9578
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetStockList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9579
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9580
- }
9581
- });
9582
- });
9583
- },
9584
- /**
9585
- * Get 3CX Templates
9586
- * @summary Get 3CX Templates
9587
- * @param {*} [options] Override http request option.
9588
- * @throws {RequiredError}
9589
- */
9590
- getGetTcxTemplates: function (options) {
8947
+ getGetLegacyStockList: function (format, options) {
9591
8948
  return __awaiter(this, void 0, void 0, function () {
9592
8949
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9593
8950
  var _a, _b, _c;
9594
8951
  return __generator(this, function (_d) {
9595
8952
  switch (_d.label) {
9596
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxTemplates(options)];
8953
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetLegacyStockList(format, options)];
9597
8954
  case 1:
9598
8955
  localVarAxiosArgs = _d.sent();
9599
8956
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9600
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetTcxTemplates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8957
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetLegacyStockList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9601
8958
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9602
8959
  }
9603
8960
  });
9604
8961
  });
9605
8962
  },
9606
8963
  /**
9607
- * Search Products
9608
- * @summary Search Products
8964
+ * Get Products
8965
+ * @summary Get Products
9609
8966
  * @param {number} [pageSize] Number Of Results
9610
8967
  * @param {number} [page] Page Number
9611
8968
  * @param {string} [search] Search
9612
8969
  * @param {*} [options] Override http request option.
9613
8970
  * @throws {RequiredError}
9614
8971
  */
9615
- getSearchProducts: function (pageSize, page, search, options) {
8972
+ getGetProducts: function (pageSize, page, search, options) {
9616
8973
  return __awaiter(this, void 0, void 0, function () {
9617
8974
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9618
8975
  var _a, _b, _c;
9619
8976
  return __generator(this, function (_d) {
9620
8977
  switch (_d.label) {
9621
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSearchProducts(pageSize, page, search, options)];
8978
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetProducts(pageSize, page, search, options)];
9622
8979
  case 1:
9623
8980
  localVarAxiosArgs = _d.sent();
9624
8981
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9625
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getSearchProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8982
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9626
8983
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9627
8984
  }
9628
8985
  });
9629
8986
  });
9630
8987
  },
9631
8988
  /**
9632
- * Get Product
9633
- * @summary Get Product
9634
- * @param {string} sku Product SKU
9635
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
8989
+ * Get Current Stock & Pricing
8990
+ * @summary Get Current Stock & Pricing
9636
8991
  * @param {*} [options] Override http request option.
9637
8992
  * @throws {RequiredError}
9638
8993
  */
9639
- postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
8994
+ getGetStockList: function (options) {
9640
8995
  return __awaiter(this, void 0, void 0, function () {
9641
8996
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9642
8997
  var _a, _b, _c;
9643
8998
  return __generator(this, function (_d) {
9644
8999
  switch (_d.label) {
9645
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
9000
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetStockList(options)];
9646
9001
  case 1:
9647
9002
  localVarAxiosArgs = _d.sent();
9648
9003
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9649
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.postGetProduct']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9004
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetStockList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9650
9005
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9651
9006
  }
9652
9007
  });
9653
9008
  });
9654
9009
  },
9655
9010
  /**
9656
- * Get Product For Customer
9657
- * @summary Get Product For Customer
9658
- * @param {number} customerId Customer ID
9659
- * @param {string} sku Product SKU
9660
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
9011
+ * Get 3CX Templates
9012
+ * @summary Get 3CX Templates
9661
9013
  * @param {*} [options] Override http request option.
9662
9014
  * @throws {RequiredError}
9663
9015
  */
9664
- postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
9016
+ getGetTcxTemplates: function (options) {
9665
9017
  return __awaiter(this, void 0, void 0, function () {
9666
9018
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
9667
9019
  var _a, _b, _c;
9668
9020
  return __generator(this, function (_d) {
9669
9021
  switch (_d.label) {
9670
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options)];
9022
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxTemplates(options)];
9671
9023
  case 1:
9672
9024
  localVarAxiosArgs = _d.sent();
9673
9025
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9674
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.postGetProductForCustomer']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9026
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.getGetTcxTemplates']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9675
9027
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
9676
9028
  }
9677
9029
  });
@@ -9696,6 +9048,15 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
9696
9048
  getGetAttributeSets: function (options) {
9697
9049
  return localVarFp.getGetAttributeSets(options).then(function (request) { return request(axios, basePath); });
9698
9050
  },
9051
+ /**
9052
+ * Get Customer Price Lists
9053
+ * @summary Get Customer Price Lists
9054
+ * @param {*} [options] Override http request option.
9055
+ * @throws {RequiredError}
9056
+ */
9057
+ getGetCustomerPriceLists: function (options) {
9058
+ return localVarFp.getGetCustomerPriceLists(options).then(function (request) { return request(axios, basePath); });
9059
+ },
9699
9060
  /**
9700
9061
  * Get Current Stock & Pricing
9701
9062
  * @summary Get Current Stock & Pricing
@@ -9710,11 +9071,14 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
9710
9071
  /**
9711
9072
  * Get Products
9712
9073
  * @summary Get Products
9074
+ * @param {number} [pageSize] Number Of Results
9075
+ * @param {number} [page] Page Number
9076
+ * @param {string} [search] Search
9713
9077
  * @param {*} [options] Override http request option.
9714
9078
  * @throws {RequiredError}
9715
9079
  */
9716
- getGetProducts: function (options) {
9717
- return localVarFp.getGetProducts(options).then(function (request) { return request(axios, basePath); });
9080
+ getGetProducts: function (pageSize, page, search, options) {
9081
+ return localVarFp.getGetProducts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
9718
9082
  },
9719
9083
  /**
9720
9084
  * Get Current Stock & Pricing
@@ -9734,41 +9098,6 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
9734
9098
  getGetTcxTemplates: function (options) {
9735
9099
  return localVarFp.getGetTcxTemplates(options).then(function (request) { return request(axios, basePath); });
9736
9100
  },
9737
- /**
9738
- * Search Products
9739
- * @summary Search Products
9740
- * @param {number} [pageSize] Number Of Results
9741
- * @param {number} [page] Page Number
9742
- * @param {string} [search] Search
9743
- * @param {*} [options] Override http request option.
9744
- * @throws {RequiredError}
9745
- */
9746
- getSearchProducts: function (pageSize, page, search, options) {
9747
- return localVarFp.getSearchProducts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
9748
- },
9749
- /**
9750
- * Get Product
9751
- * @summary Get Product
9752
- * @param {string} sku Product SKU
9753
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
9754
- * @param {*} [options] Override http request option.
9755
- * @throws {RequiredError}
9756
- */
9757
- postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
9758
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
9759
- },
9760
- /**
9761
- * Get Product For Customer
9762
- * @summary Get Product For Customer
9763
- * @param {number} customerId Customer ID
9764
- * @param {string} sku Product SKU
9765
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
9766
- * @param {*} [options] Override http request option.
9767
- * @throws {RequiredError}
9768
- */
9769
- postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
9770
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
9771
- },
9772
9101
  };
9773
9102
  };
9774
9103
  exports.ProductsApiFactory = ProductsApiFactory;
@@ -9794,6 +9123,17 @@ var ProductsApi = /** @class */ (function (_super) {
9794
9123
  var _this = this;
9795
9124
  return (0, exports.ProductsApiFp)(this.configuration).getGetAttributeSets(options).then(function (request) { return request(_this.axios, _this.basePath); });
9796
9125
  };
9126
+ /**
9127
+ * Get Customer Price Lists
9128
+ * @summary Get Customer Price Lists
9129
+ * @param {*} [options] Override http request option.
9130
+ * @throws {RequiredError}
9131
+ * @memberof ProductsApi
9132
+ */
9133
+ ProductsApi.prototype.getGetCustomerPriceLists = function (options) {
9134
+ var _this = this;
9135
+ return (0, exports.ProductsApiFp)(this.configuration).getGetCustomerPriceLists(options).then(function (request) { return request(_this.axios, _this.basePath); });
9136
+ };
9797
9137
  /**
9798
9138
  * Get Current Stock & Pricing
9799
9139
  * @summary Get Current Stock & Pricing
@@ -9810,13 +9150,16 @@ var ProductsApi = /** @class */ (function (_super) {
9810
9150
  /**
9811
9151
  * Get Products
9812
9152
  * @summary Get Products
9153
+ * @param {number} [pageSize] Number Of Results
9154
+ * @param {number} [page] Page Number
9155
+ * @param {string} [search] Search
9813
9156
  * @param {*} [options] Override http request option.
9814
9157
  * @throws {RequiredError}
9815
9158
  * @memberof ProductsApi
9816
9159
  */
9817
- ProductsApi.prototype.getGetProducts = function (options) {
9160
+ ProductsApi.prototype.getGetProducts = function (pageSize, page, search, options) {
9818
9161
  var _this = this;
9819
- return (0, exports.ProductsApiFp)(this.configuration).getGetProducts(options).then(function (request) { return request(_this.axios, _this.basePath); });
9162
+ return (0, exports.ProductsApiFp)(this.configuration).getGetProducts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
9820
9163
  };
9821
9164
  /**
9822
9165
  * Get Current Stock & Pricing
@@ -9840,47 +9183,6 @@ var ProductsApi = /** @class */ (function (_super) {
9840
9183
  var _this = this;
9841
9184
  return (0, exports.ProductsApiFp)(this.configuration).getGetTcxTemplates(options).then(function (request) { return request(_this.axios, _this.basePath); });
9842
9185
  };
9843
- /**
9844
- * Search Products
9845
- * @summary Search Products
9846
- * @param {number} [pageSize] Number Of Results
9847
- * @param {number} [page] Page Number
9848
- * @param {string} [search] Search
9849
- * @param {*} [options] Override http request option.
9850
- * @throws {RequiredError}
9851
- * @memberof ProductsApi
9852
- */
9853
- ProductsApi.prototype.getSearchProducts = function (pageSize, page, search, options) {
9854
- var _this = this;
9855
- return (0, exports.ProductsApiFp)(this.configuration).getSearchProducts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
9856
- };
9857
- /**
9858
- * Get Product
9859
- * @summary Get Product
9860
- * @param {string} sku Product SKU
9861
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
9862
- * @param {*} [options] Override http request option.
9863
- * @throws {RequiredError}
9864
- * @memberof ProductsApi
9865
- */
9866
- ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
9867
- var _this = this;
9868
- return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
9869
- };
9870
- /**
9871
- * Get Product For Customer
9872
- * @summary Get Product For Customer
9873
- * @param {number} customerId Customer ID
9874
- * @param {string} sku Product SKU
9875
- * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
9876
- * @param {*} [options] Override http request option.
9877
- * @throws {RequiredError}
9878
- * @memberof ProductsApi
9879
- */
9880
- ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
9881
- var _this = this;
9882
- return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
9883
- };
9884
9186
  return ProductsApi;
9885
9187
  }(base_1.BaseAPI));
9886
9188
  exports.ProductsApi = ProductsApi;
@@ -12606,131 +11908,6 @@ var SMSApi = /** @class */ (function (_super) {
12606
11908
  return SMSApi;
12607
11909
  }(base_1.BaseAPI));
12608
11910
  exports.SMSApi = SMSApi;
12609
- /**
12610
- * ShippingApi - axios parameter creator
12611
- * @export
12612
- */
12613
- var ShippingApiAxiosParamCreator = function (configuration) {
12614
- var _this = this;
12615
- return {
12616
- /**
12617
- * Get Shipping Services
12618
- * @summary Get Shipping Services
12619
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
12620
- * @param {*} [options] Override http request option.
12621
- * @throws {RequiredError}
12622
- */
12623
- postGetShippingServices: function (shippingInformationDTO_1) {
12624
- var args_1 = [];
12625
- for (var _i = 1; _i < arguments.length; _i++) {
12626
- args_1[_i - 1] = arguments[_i];
12627
- }
12628
- return __awaiter(_this, __spreadArray([shippingInformationDTO_1], args_1, true), void 0, function (shippingInformationDTO, options) {
12629
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
12630
- if (options === void 0) { options = {}; }
12631
- return __generator(this, function (_a) {
12632
- localVarPath = "/shipping/services";
12633
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
12634
- if (configuration) {
12635
- baseOptions = configuration.baseOptions;
12636
- }
12637
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
12638
- localVarHeaderParameter = {};
12639
- localVarQueryParameter = {};
12640
- localVarHeaderParameter['Content-Type'] = 'application/json';
12641
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
12642
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12643
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
12644
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(shippingInformationDTO, localVarRequestOptions, configuration);
12645
- return [2 /*return*/, {
12646
- url: (0, common_1.toPathString)(localVarUrlObj),
12647
- options: localVarRequestOptions,
12648
- }];
12649
- });
12650
- });
12651
- },
12652
- };
12653
- };
12654
- exports.ShippingApiAxiosParamCreator = ShippingApiAxiosParamCreator;
12655
- /**
12656
- * ShippingApi - functional programming interface
12657
- * @export
12658
- */
12659
- var ShippingApiFp = function (configuration) {
12660
- var localVarAxiosParamCreator = (0, exports.ShippingApiAxiosParamCreator)(configuration);
12661
- return {
12662
- /**
12663
- * Get Shipping Services
12664
- * @summary Get Shipping Services
12665
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
12666
- * @param {*} [options] Override http request option.
12667
- * @throws {RequiredError}
12668
- */
12669
- postGetShippingServices: function (shippingInformationDTO, options) {
12670
- return __awaiter(this, void 0, void 0, function () {
12671
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
12672
- var _a, _b, _c;
12673
- return __generator(this, function (_d) {
12674
- switch (_d.label) {
12675
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetShippingServices(shippingInformationDTO, options)];
12676
- case 1:
12677
- localVarAxiosArgs = _d.sent();
12678
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12679
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ShippingApi.postGetShippingServices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12680
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
12681
- }
12682
- });
12683
- });
12684
- },
12685
- };
12686
- };
12687
- exports.ShippingApiFp = ShippingApiFp;
12688
- /**
12689
- * ShippingApi - factory interface
12690
- * @export
12691
- */
12692
- var ShippingApiFactory = function (configuration, basePath, axios) {
12693
- var localVarFp = (0, exports.ShippingApiFp)(configuration);
12694
- return {
12695
- /**
12696
- * Get Shipping Services
12697
- * @summary Get Shipping Services
12698
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
12699
- * @param {*} [options] Override http request option.
12700
- * @throws {RequiredError}
12701
- */
12702
- postGetShippingServices: function (shippingInformationDTO, options) {
12703
- return localVarFp.postGetShippingServices(shippingInformationDTO, options).then(function (request) { return request(axios, basePath); });
12704
- },
12705
- };
12706
- };
12707
- exports.ShippingApiFactory = ShippingApiFactory;
12708
- /**
12709
- * ShippingApi - object-oriented interface
12710
- * @export
12711
- * @class ShippingApi
12712
- * @extends {BaseAPI}
12713
- */
12714
- var ShippingApi = /** @class */ (function (_super) {
12715
- __extends(ShippingApi, _super);
12716
- function ShippingApi() {
12717
- return _super !== null && _super.apply(this, arguments) || this;
12718
- }
12719
- /**
12720
- * Get Shipping Services
12721
- * @summary Get Shipping Services
12722
- * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
12723
- * @param {*} [options] Override http request option.
12724
- * @throws {RequiredError}
12725
- * @memberof ShippingApi
12726
- */
12727
- ShippingApi.prototype.postGetShippingServices = function (shippingInformationDTO, options) {
12728
- var _this = this;
12729
- return (0, exports.ShippingApiFp)(this.configuration).postGetShippingServices(shippingInformationDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
12730
- };
12731
- return ShippingApi;
12732
- }(base_1.BaseAPI));
12733
- exports.ShippingApi = ShippingApi;
12734
11911
  /**
12735
11912
  * StockManagementApi - axios parameter creator
12736
11913
  * @export