yellowgrid-api-ts 3.2.24-dev.0 → 3.2.24

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 (239) hide show
  1. package/.openapi-generator/FILES +2 -7
  2. package/.openapi-generator/VERSION +1 -1
  3. package/.openapi-generator-ignore +0 -0
  4. package/README.md +1 -17
  5. package/api.ts +3868 -1541
  6. package/base.ts +25 -1
  7. package/common.ts +43 -6
  8. package/config.json +3 -3
  9. package/configuration.ts +19 -25
  10. package/dist/api.d.ts +3675 -772
  11. package/dist/api.js +567 -1344
  12. package/dist/base.d.ts +25 -1
  13. package/dist/base.js +20 -1
  14. package/dist/common.d.ts +38 -1
  15. package/dist/common.js +38 -1
  16. package/dist/configuration.d.ts +18 -25
  17. package/dist/configuration.js +2 -2
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +1 -1
  20. package/docs/AbstractOrderRequestDTO.md +0 -0
  21. package/docs/AccountContactEntity.md +0 -0
  22. package/docs/AccountContactModel.md +0 -0
  23. package/docs/AccountContactRequestModel.md +0 -0
  24. package/docs/AccountDetailedSummaryDTO.md +0 -0
  25. package/docs/AccountRequestModel.md +0 -0
  26. package/docs/AccountSummaryDTO.md +0 -0
  27. package/docs/AccountsApi.md +0 -0
  28. package/docs/AccountsResponseModel.md +0 -0
  29. package/docs/AddressModel.md +0 -0
  30. package/docs/AddressRequestModel.md +0 -0
  31. package/docs/AdminOrderRequestDTO.md +0 -0
  32. package/docs/AdminUserModel.md +0 -0
  33. package/docs/AgentHoursGraphModel.md +0 -0
  34. package/docs/AgentHoursGraphMonthModel.md +0 -0
  35. package/docs/ApiLogEntity.md +0 -0
  36. package/docs/AreaCodeModel.md +0 -0
  37. package/docs/AttachmentModel.md +0 -0
  38. package/docs/AttributeSetEnum.md +0 -0
  39. package/docs/AuditLogEntity.md +0 -0
  40. package/docs/AuthCodeResponseModel.md +0 -0
  41. package/docs/BasicItemDTO.md +0 -0
  42. package/docs/BasicProductDTO.md +0 -0
  43. package/docs/BatchEntity.md +0 -0
  44. package/docs/CRMApi.md +0 -0
  45. package/docs/CallBarringModel.md +0 -0
  46. package/docs/Class3CXApi.md +0 -0
  47. package/docs/Class3CXInstallationWizardApi.md +0 -0
  48. package/docs/Class3CXInstallationsApi.md +0 -0
  49. package/docs/Class3CXIntegrationsApi.md +0 -0
  50. package/docs/Class3CXMultiTenantApi.md +0 -0
  51. package/docs/ClientDetailsModel.md +0 -0
  52. package/docs/ClientModel.md +0 -0
  53. package/docs/CompanyContractModel.md +0 -0
  54. package/docs/ContactInfoModel.md +0 -0
  55. package/docs/ConversationModel.md +0 -0
  56. package/docs/CourierPriceEntity.md +0 -0
  57. package/docs/CreditAccountEntity.md +0 -0
  58. package/docs/CrmContactDTO.md +0 -0
  59. package/docs/CustomerInformationModel.md +0 -0
  60. package/docs/CustomerItemRequestDTO.md +0 -0
  61. package/docs/CustomerOrderRequestDTO.md +0 -0
  62. package/docs/CustomerPriceListEnum.md +0 -0
  63. package/docs/CustomerSummaryReportDTO.md +0 -0
  64. package/docs/DdiRangeRequestModel.md +0 -0
  65. package/docs/DdiRangesRequestModel.md +0 -0
  66. package/docs/DetailedItemRequestDTO.md +0 -0
  67. package/docs/DetailedOrderRequestDTO.md +0 -0
  68. package/docs/DivertRequestModel.md +0 -0
  69. package/docs/DivertResponseModel.md +0 -0
  70. package/docs/EdTechProClientEntity.md +0 -0
  71. package/docs/EdTechProSchoolModel.md +0 -0
  72. package/docs/EdTechProSchoolsModel.md +0 -0
  73. package/docs/EdTechProSetupModel.md +0 -0
  74. package/docs/FraudManagementModel.md +0 -0
  75. package/docs/FreshdeskCompanyTicketsModel.md +0 -0
  76. package/docs/FreshdeskTicketEntity.md +0 -0
  77. package/docs/FtpAccountsEntity.md +0 -0
  78. package/docs/GenericFileModel.md +0 -0
  79. package/docs/GetGetPrice200Response.md +0 -0
  80. package/docs/GetGetRecording200Response.md +0 -0
  81. package/docs/HostingChangeResponseModel.md +0 -0
  82. package/docs/HostingRegionDTO.md +0 -0
  83. package/docs/InstanceAutoFailoverEntity.md +0 -0
  84. package/docs/InstanceDeletionScheduleEntity.md +0 -0
  85. package/docs/InstanceEntity.md +0 -0
  86. package/docs/InstanceFailoverEntity.md +0 -0
  87. package/docs/InstanceMonitoringEntity.md +0 -0
  88. package/docs/InstanceMonitoringLogEntity.md +0 -0
  89. package/docs/InstanceScheduledTasksEntity.md +0 -0
  90. package/docs/InstanceTcxDetailsEntity.md +0 -0
  91. package/docs/InstanceUserCredentialsEntity.md +0 -0
  92. package/docs/ItemDTO.md +0 -0
  93. package/docs/ItemDiscountEntity.md +0 -0
  94. package/docs/ItemEntity.md +0 -0
  95. package/docs/LinkedOrderEntity.md +0 -0
  96. package/docs/MFARequiredModel.md +0 -0
  97. package/docs/MonthlyUsageModel.md +0 -0
  98. package/docs/MultiTenantChangeResponseModel.md +0 -0
  99. package/docs/MyPBXToolsApi.md +0 -0
  100. package/docs/NavigationModel.md +0 -0
  101. package/docs/OAuth20Api.md +3 -3
  102. package/docs/OfflineInstancesEntity.md +0 -0
  103. package/docs/OrderEntity.md +0 -0
  104. package/docs/OrderRequestModel.md +0 -0
  105. package/docs/OrderSummariesModel.md +0 -0
  106. package/docs/OrderSummaryDTO.md +0 -0
  107. package/docs/OrderTotalModel.md +0 -0
  108. package/docs/OrderedItemEntity.md +0 -0
  109. package/docs/OrdersApi.md +0 -0
  110. package/docs/PatchSetTcxWizardCnameRequest.md +0 -0
  111. package/docs/PatchUpdateAccountContactPasswordRequest.md +0 -0
  112. package/docs/PortalAccountModel.md +0 -0
  113. package/docs/PortalLoginModel.md +0 -0
  114. package/docs/PostAddWebhook200Response.md +0 -0
  115. package/docs/PostGetClientCredentialsRequest.md +0 -0
  116. package/docs/PostGetProductForCustomerRequest.md +0 -0
  117. package/docs/PostGetProductRequest.md +0 -0
  118. package/docs/PriceListItemModel.md +0 -0
  119. package/docs/PricingApi.md +0 -0
  120. package/docs/PrizesEntity.md +0 -0
  121. package/docs/ProductPriceListItemModel.md +0 -0
  122. package/docs/ProductSearchResultsModel.md +0 -0
  123. package/docs/ProductSerialInfoModel.md +0 -0
  124. package/docs/ProductSummaryDTO.md +0 -0
  125. package/docs/ProductsApi.md +0 -0
  126. package/docs/PromoCodesEntity.md +0 -0
  127. package/docs/PromoItemsEntity.md +0 -0
  128. package/docs/ProvisioningApi.md +0 -0
  129. package/docs/ProvisioningModel.md +0 -0
  130. package/docs/ProvisioningRequestEntity.md +0 -0
  131. package/docs/RecordingBackupAzureModel.md +0 -0
  132. package/docs/RecordingsBackupInfoDTO.md +0 -0
  133. package/docs/ResourceNotReadyException.md +0 -0
  134. package/docs/RootAccessModel.md +0 -0
  135. package/docs/S3BucketEntity.md +0 -0
  136. package/docs/SIPTrunksApi.md +0 -0
  137. package/docs/SMSApi.md +0 -0
  138. package/docs/ScannedItemModel.md +0 -0
  139. package/docs/ScopeModel.md +0 -0
  140. package/docs/ShipmentAddressEntity.md +0 -0
  141. package/docs/ShipmentEntity.md +0 -0
  142. package/docs/ShipmentItemEntity.md +0 -0
  143. package/docs/ShippingApi.md +0 -0
  144. package/docs/ShippingConsignmentModel.md +0 -0
  145. package/docs/ShippingInformationDTO.md +0 -0
  146. package/docs/ShippingServiceDTO.md +0 -0
  147. package/docs/ShippingServiceModel.md +0 -0
  148. package/docs/ShippingServicesModel.md +0 -0
  149. package/docs/SipTrunkChangeResponseModel.md +0 -0
  150. package/docs/SipTrunkCreationRequestModel.md +0 -0
  151. package/docs/SipTrunkEntity.md +0 -0
  152. package/docs/SipTrunksResponseModel.md +0 -0
  153. package/docs/SmsAccountEntity.md +0 -0
  154. package/docs/SmsDataModel.md +0 -0
  155. package/docs/SmsMessageModel.md +0 -0
  156. package/docs/SmsNumbersEntity.md +0 -0
  157. package/docs/SmsPayloadModel.md +0 -0
  158. package/docs/SmsPhoneNumberModel.md +0 -0
  159. package/docs/SmsResponseModel.md +0 -0
  160. package/docs/SmsWhitelistEntity.md +0 -0
  161. package/docs/StockManagementApi.md +0 -0
  162. package/docs/StockOrderCourierEntity.md +0 -0
  163. package/docs/StockOrderDeductionModel.md +0 -0
  164. package/docs/StockOrderDeductionRequestModel.md +0 -0
  165. package/docs/StockOrderDeductionsEntity.md +0 -0
  166. package/docs/StockOrderEntity.md +0 -0
  167. package/docs/StockOrderItemEntity.md +0 -0
  168. package/docs/StockOrderItemModel.md +0 -0
  169. package/docs/StockOrderItemRequestModel.md +0 -0
  170. package/docs/StockOrderModel.md +0 -0
  171. package/docs/StockOrderProductEntity.md +0 -0
  172. package/docs/StockOrderRequestModel.md +0 -0
  173. package/docs/StockOrderSupplierEntity.md +0 -0
  174. package/docs/StockOrderSupplierModel.md +0 -0
  175. package/docs/StockOrdersModel.md +0 -0
  176. package/docs/StockProductModel.md +0 -0
  177. package/docs/StockProductPriceModel.md +0 -0
  178. package/docs/StockProductSummariesModel.md +0 -0
  179. package/docs/StockProductSummaryModel.md +0 -0
  180. package/docs/StockTransactionsEntity.md +0 -0
  181. package/docs/SupplierEntity.md +0 -0
  182. package/docs/SupplierItemEntity.md +0 -0
  183. package/docs/SystemApi.md +0 -0
  184. package/docs/TcxBackupEntity.md +0 -0
  185. package/docs/TcxBackupModel.md +0 -0
  186. package/docs/TcxBillingEntity.md +0 -0
  187. package/docs/TcxBulkLicenceDetailsModel.md +0 -0
  188. package/docs/TcxDeadLicenceEntity.md +0 -0
  189. package/docs/TcxExtsEntity.md +0 -0
  190. package/docs/TcxHostingPricingEntity.md +0 -0
  191. package/docs/TcxInstallationDetailsModel.md +0 -0
  192. package/docs/TcxInstallationModel.md +0 -0
  193. package/docs/TcxInstallationsModel.md +0 -0
  194. package/docs/TcxKeySummaryDTO.md +0 -0
  195. package/docs/TcxKeysEntity.md +0 -0
  196. package/docs/TcxLicenceDetailsErrorModel.md +0 -0
  197. package/docs/TcxLicenceDetailsModel.md +0 -0
  198. package/docs/TcxMacsEntity.md +0 -0
  199. package/docs/TcxMultiTenantModel.md +0 -0
  200. package/docs/TcxMultiTenantUserModel.md +0 -0
  201. package/docs/TcxMultiTenantsModel.md +0 -0
  202. package/docs/TcxNumbersEntity.md +0 -0
  203. package/docs/TcxOfficeHoursEntity.md +0 -0
  204. package/docs/TcxPhoneModel.md +0 -0
  205. package/docs/TcxPhonesEntity.md +0 -0
  206. package/docs/TcxRemoteStorageModel.md +0 -0
  207. package/docs/TcxSbcDTO.md +0 -0
  208. package/docs/TcxSbcEntity.md +0 -0
  209. package/docs/TcxSbcModel.md +0 -0
  210. package/docs/TcxSetupEntity.md +0 -0
  211. package/docs/TcxSetupsModel.md +0 -0
  212. package/docs/TcxSipTrunksEntity.md +0 -0
  213. package/docs/TcxTemplateXmlEnum.md +0 -0
  214. package/docs/TcxUsersEntity.md +0 -0
  215. package/docs/TcxWizardConfigModel.md +0 -0
  216. package/docs/TcxWizardModel.md +0 -0
  217. package/docs/TechSupportCompanySummaryDTO.md +0 -0
  218. package/docs/{SupportTicketModel.md → TelephonySupportTicketModel.md} +3 -3
  219. package/docs/TicketSummaryModel.md +0 -0
  220. package/docs/TicketTimeDTO.md +0 -0
  221. package/docs/TicketsApi.md +8 -8
  222. package/docs/TokenResponseModel.md +0 -0
  223. package/docs/UpgradeOrderResponseModel.md +0 -0
  224. package/docs/UpgradeRequestModel.md +0 -0
  225. package/docs/UserEntity.md +0 -0
  226. package/docs/WebhooksApi.md +0 -0
  227. package/docs/XeroLogEntity.md +0 -0
  228. package/git_push.sh +0 -0
  229. package/index.ts +1 -1
  230. package/openapitools.json +1 -1
  231. package/package.json +1 -1
  232. package/tsconfig.json +0 -0
  233. package/docs/NumberPortDTO.md +0 -51
  234. package/docs/NumberPortEntity.md +0 -47
  235. package/docs/NumberPortModel.md +0 -51
  236. package/docs/NumberPortRangeDTO.md +0 -33
  237. package/docs/NumberPortRangeRequestDTO.md +0 -27
  238. package/docs/NumberPortingApi.md +0 -658
  239. package/docs/NumberPortsModel.md +0 -27
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
  *
@@ -85,8 +85,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
87
  exports.Class3CXIntegrationsApiFp = exports.Class3CXIntegrationsApiAxiosParamCreator = exports.PostResizeInstanceSizeEnum = exports.PostFailoverInstanceTypeEnum = exports.GetGetInstallationsInstallTypeEnum = 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.ShippingServiceModelCourierEnum = exports.ShippingServiceDTOCourierEnum = exports.OrderTotalModelCurrencyEnum = exports.OrderRequestModelSchoolTypeEnum = exports.OrderRequestModelLicenceTypeEnum = exports.MultiTenantChangeResponseModelTypeEnum = exports.ItemDiscountEntityTypeEnum = exports.HostingRegionDTOCodeEnum = exports.HostingChangeResponseModelTypeEnum = exports.DivertResponseModelStatusEnum = exports.AdminUserModelRoleEnum = void 0;
88
- 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.NumberPortingApi = exports.NumberPortingApiFactory = exports.NumberPortingApiFp = exports.NumberPortingApiAxiosParamCreator = exports.MyPBXToolsApi = exports.MyPBXToolsApiFactory = exports.MyPBXToolsApiFp = exports.MyPBXToolsApiAxiosParamCreator = exports.GetGetTenantsStatusEnum = exports.Class3CXMultiTenantApi = exports.Class3CXMultiTenantApiFactory = exports.Class3CXMultiTenantApiFp = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = 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 = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = exports.SIPTrunksApi = exports.SIPTrunksApiFactory = exports.SIPTrunksApiFp = exports.SIPTrunksApiAxiosParamCreator = void 0;
88
+ 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 = exports.Class3CXMultiTenantApiAxiosParamCreator = exports.GetGetPriceSchoolTypeEnum = exports.GetGetPriceLicenceTypeEnum = exports.Class3CXIntegrationsApi = exports.Class3CXIntegrationsApiFactory = 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 = exports.ShippingApiFp = exports.ShippingApiAxiosParamCreator = exports.SMSApi = exports.SMSApiFactory = exports.SMSApiFp = exports.SMSApiAxiosParamCreator = void 0;
90
90
  var axios_1 = require("axios");
91
91
  // Some imports not used depending on template conditions
92
92
  // @ts-ignore
@@ -286,6 +286,7 @@ exports.UpgradeRequestModelSchoolTypeEnum = {
286
286
  };
287
287
  /**
288
288
  * AccountsApi - axios parameter creator
289
+ * @export
289
290
  */
290
291
  var AccountsApiAxiosParamCreator = function (configuration) {
291
292
  var _this = this;
@@ -1009,6 +1010,7 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1009
1010
  exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
1010
1011
  /**
1011
1012
  * AccountsApi - functional programming interface
1013
+ * @export
1012
1014
  */
1013
1015
  var AccountsApiFp = function (configuration) {
1014
1016
  var localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
@@ -1457,6 +1459,7 @@ var AccountsApiFp = function (configuration) {
1457
1459
  exports.AccountsApiFp = AccountsApiFp;
1458
1460
  /**
1459
1461
  * AccountsApi - factory interface
1462
+ * @export
1460
1463
  */
1461
1464
  var AccountsApiFactory = function (configuration, basePath, axios) {
1462
1465
  var localVarFp = (0, exports.AccountsApiFp)(configuration);
@@ -1658,6 +1661,9 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
1658
1661
  exports.AccountsApiFactory = AccountsApiFactory;
1659
1662
  /**
1660
1663
  * AccountsApi - object-oriented interface
1664
+ * @export
1665
+ * @class AccountsApi
1666
+ * @extends {BaseAPI}
1661
1667
  */
1662
1668
  var AccountsApi = /** @class */ (function (_super) {
1663
1669
  __extends(AccountsApi, _super);
@@ -1670,6 +1676,7 @@ var AccountsApi = /** @class */ (function (_super) {
1670
1676
  * @param {string} id OAuth 2.0 Client ID
1671
1677
  * @param {*} [options] Override http request option.
1672
1678
  * @throws {RequiredError}
1679
+ * @memberof AccountsApi
1673
1680
  */
1674
1681
  AccountsApi.prototype.deleteDeleteClientCredentials = function (id, options) {
1675
1682
  var _this = this;
@@ -1681,6 +1688,7 @@ var AccountsApi = /** @class */ (function (_super) {
1681
1688
  * @param {string} email Contact Email Address
1682
1689
  * @param {*} [options] Override http request option.
1683
1690
  * @throws {RequiredError}
1691
+ * @memberof AccountsApi
1684
1692
  */
1685
1693
  AccountsApi.prototype.deleteUpdateAccountContact = function (email, options) {
1686
1694
  var _this = this;
@@ -1691,6 +1699,7 @@ var AccountsApi = /** @class */ (function (_super) {
1691
1699
  * @summary Get Account
1692
1700
  * @param {*} [options] Override http request option.
1693
1701
  * @throws {RequiredError}
1702
+ * @memberof AccountsApi
1694
1703
  */
1695
1704
  AccountsApi.prototype.getGetAccount = function (options) {
1696
1705
  var _this = this;
@@ -1702,6 +1711,7 @@ var AccountsApi = /** @class */ (function (_super) {
1702
1711
  * @param {string} [email] Contact Email Address
1703
1712
  * @param {*} [options] Override http request option.
1704
1713
  * @throws {RequiredError}
1714
+ * @memberof AccountsApi
1705
1715
  */
1706
1716
  AccountsApi.prototype.getGetAccountContacts = function (email, options) {
1707
1717
  var _this = this;
@@ -1713,6 +1723,7 @@ var AccountsApi = /** @class */ (function (_super) {
1713
1723
  * @param {number} id Customer ID
1714
1724
  * @param {*} [options] Override http request option.
1715
1725
  * @throws {RequiredError}
1726
+ * @memberof AccountsApi
1716
1727
  */
1717
1728
  AccountsApi.prototype.getGetAccountDetailedSummary = function (id, options) {
1718
1729
  var _this = this;
@@ -1727,6 +1738,7 @@ var AccountsApi = /** @class */ (function (_super) {
1727
1738
  * @param {boolean} [active] Active
1728
1739
  * @param {*} [options] Override http request option.
1729
1740
  * @throws {RequiredError}
1741
+ * @memberof AccountsApi
1730
1742
  */
1731
1743
  AccountsApi.prototype.getGetAccounts = function (pageSize, page, search, active, options) {
1732
1744
  var _this = this;
@@ -1737,6 +1749,7 @@ var AccountsApi = /** @class */ (function (_super) {
1737
1749
  * @summary Get user\'s client credentials
1738
1750
  * @param {*} [options] Override http request option.
1739
1751
  * @throws {RequiredError}
1752
+ * @memberof AccountsApi
1740
1753
  */
1741
1754
  AccountsApi.prototype.getGetClientCredentials = function (options) {
1742
1755
  var _this = this;
@@ -1747,6 +1760,7 @@ var AccountsApi = /** @class */ (function (_super) {
1747
1760
  * @summary Get 3CX Keys
1748
1761
  * @param {*} [options] Override http request option.
1749
1762
  * @throws {RequiredError}
1763
+ * @memberof AccountsApi
1750
1764
  */
1751
1765
  AccountsApi.prototype.getGetCustomerKeys = function (options) {
1752
1766
  var _this = this;
@@ -1758,6 +1772,7 @@ var AccountsApi = /** @class */ (function (_super) {
1758
1772
  * @param {string} token Verification Token
1759
1773
  * @param {*} [options] Override http request option.
1760
1774
  * @throws {RequiredError}
1775
+ * @memberof AccountsApi
1761
1776
  */
1762
1777
  AccountsApi.prototype.getVerifyEmailAddress = function (token, options) {
1763
1778
  var _this = this;
@@ -1768,6 +1783,7 @@ var AccountsApi = /** @class */ (function (_super) {
1768
1783
  * @param {PatchSetTcxWizardCnameRequest} [patchSetTcxWizardCnameRequest] CNAME Request
1769
1784
  * @param {*} [options] Override http request option.
1770
1785
  * @throws {RequiredError}
1786
+ * @memberof AccountsApi
1771
1787
  */
1772
1788
  AccountsApi.prototype.patchSetTcxWizardCname = function (patchSetTcxWizardCnameRequest, options) {
1773
1789
  var _this = this;
@@ -1780,6 +1796,7 @@ var AccountsApi = /** @class */ (function (_super) {
1780
1796
  * @param {PatchUpdateAccountContactPasswordRequest} [patchUpdateAccountContactPasswordRequest] New account request
1781
1797
  * @param {*} [options] Override http request option.
1782
1798
  * @throws {RequiredError}
1799
+ * @memberof AccountsApi
1783
1800
  */
1784
1801
  AccountsApi.prototype.patchUpdateAccountContactPassword = function (token, patchUpdateAccountContactPasswordRequest, options) {
1785
1802
  var _this = this;
@@ -1791,6 +1808,7 @@ var AccountsApi = /** @class */ (function (_super) {
1791
1808
  * @param {AccountContactRequestModel} [accountContactRequestModel] New account request
1792
1809
  * @param {*} [options] Override http request option.
1793
1810
  * @throws {RequiredError}
1811
+ * @memberof AccountsApi
1794
1812
  */
1795
1813
  AccountsApi.prototype.postGetAccountContacts = function (accountContactRequestModel, options) {
1796
1814
  var _this = this;
@@ -1802,6 +1820,7 @@ var AccountsApi = /** @class */ (function (_super) {
1802
1820
  * @param {AccountRequestModel} [accountRequestModel] New account request
1803
1821
  * @param {*} [options] Override http request option.
1804
1822
  * @throws {RequiredError}
1823
+ * @memberof AccountsApi
1805
1824
  */
1806
1825
  AccountsApi.prototype.postGetAccounts = function (accountRequestModel, options) {
1807
1826
  var _this = this;
@@ -1812,6 +1831,7 @@ var AccountsApi = /** @class */ (function (_super) {
1812
1831
  * @summary Get Admin Account
1813
1832
  * @param {*} [options] Override http request option.
1814
1833
  * @throws {RequiredError}
1834
+ * @memberof AccountsApi
1815
1835
  */
1816
1836
  AccountsApi.prototype.postGetAdminAccount = function (options) {
1817
1837
  var _this = this;
@@ -1823,6 +1843,7 @@ var AccountsApi = /** @class */ (function (_super) {
1823
1843
  * @param {PostGetClientCredentialsRequest} [postGetClientCredentialsRequest] New client credentials request
1824
1844
  * @param {*} [options] Override http request option.
1825
1845
  * @throws {RequiredError}
1846
+ * @memberof AccountsApi
1826
1847
  */
1827
1848
  AccountsApi.prototype.postGetClientCredentials = function (postGetClientCredentialsRequest, options) {
1828
1849
  var _this = this;
@@ -1834,6 +1855,7 @@ var AccountsApi = /** @class */ (function (_super) {
1834
1855
  * @param {string} email Email Address
1835
1856
  * @param {*} [options] Override http request option.
1836
1857
  * @throws {RequiredError}
1858
+ * @memberof AccountsApi
1837
1859
  */
1838
1860
  AccountsApi.prototype.postSendEmailVerificationEmail = function (email, options) {
1839
1861
  var _this = this;
@@ -1845,6 +1867,7 @@ var AccountsApi = /** @class */ (function (_super) {
1845
1867
  * @param {string} email Email Address
1846
1868
  * @param {*} [options] Override http request option.
1847
1869
  * @throws {RequiredError}
1870
+ * @memberof AccountsApi
1848
1871
  */
1849
1872
  AccountsApi.prototype.postSendPasswordReset = function (email, options) {
1850
1873
  var _this = this;
@@ -1858,6 +1881,7 @@ var AccountsApi = /** @class */ (function (_super) {
1858
1881
  * @param {string} [vatNumber] VAT Number
1859
1882
  * @param {*} [options] Override http request option.
1860
1883
  * @throws {RequiredError}
1884
+ * @memberof AccountsApi
1861
1885
  */
1862
1886
  AccountsApi.prototype.postSubmitResellerApplication = function (creditRequired, companyNumber, vatNumber, options) {
1863
1887
  var _this = this;
@@ -1870,6 +1894,7 @@ var AccountsApi = /** @class */ (function (_super) {
1870
1894
  * @param {AccountContactRequestModel} [accountContactRequestModel] Account request
1871
1895
  * @param {*} [options] Override http request option.
1872
1896
  * @throws {RequiredError}
1897
+ * @memberof AccountsApi
1873
1898
  */
1874
1899
  AccountsApi.prototype.putUpdateAccountContact = function (email, accountContactRequestModel, options) {
1875
1900
  var _this = this;
@@ -1880,6 +1905,7 @@ var AccountsApi = /** @class */ (function (_super) {
1880
1905
  exports.AccountsApi = AccountsApi;
1881
1906
  /**
1882
1907
  * CRMApi - axios parameter creator
1908
+ * @export
1883
1909
  */
1884
1910
  var CRMApiAxiosParamCreator = function (configuration) {
1885
1911
  var _this = this;
@@ -1921,6 +1947,7 @@ var CRMApiAxiosParamCreator = function (configuration) {
1921
1947
  exports.CRMApiAxiosParamCreator = CRMApiAxiosParamCreator;
1922
1948
  /**
1923
1949
  * CRMApi - functional programming interface
1950
+ * @export
1924
1951
  */
1925
1952
  var CRMApiFp = function (configuration) {
1926
1953
  var localVarAxiosParamCreator = (0, exports.CRMApiAxiosParamCreator)(configuration);
@@ -1951,6 +1978,7 @@ var CRMApiFp = function (configuration) {
1951
1978
  exports.CRMApiFp = CRMApiFp;
1952
1979
  /**
1953
1980
  * CRMApi - factory interface
1981
+ * @export
1954
1982
  */
1955
1983
  var CRMApiFactory = function (configuration, basePath, axios) {
1956
1984
  var localVarFp = (0, exports.CRMApiFp)(configuration);
@@ -1968,6 +1996,9 @@ var CRMApiFactory = function (configuration, basePath, axios) {
1968
1996
  exports.CRMApiFactory = CRMApiFactory;
1969
1997
  /**
1970
1998
  * CRMApi - object-oriented interface
1999
+ * @export
2000
+ * @class CRMApi
2001
+ * @extends {BaseAPI}
1971
2002
  */
1972
2003
  var CRMApi = /** @class */ (function (_super) {
1973
2004
  __extends(CRMApi, _super);
@@ -1978,6 +2009,7 @@ var CRMApi = /** @class */ (function (_super) {
1978
2009
  * Search for contacts by phone number
1979
2010
  * @param {*} [options] Override http request option.
1980
2011
  * @throws {RequiredError}
2012
+ * @memberof CRMApi
1981
2013
  */
1982
2014
  CRMApi.prototype.getSearchByPhone = function (options) {
1983
2015
  var _this = this;
@@ -1988,6 +2020,7 @@ var CRMApi = /** @class */ (function (_super) {
1988
2020
  exports.CRMApi = CRMApi;
1989
2021
  /**
1990
2022
  * Class3CXApi - axios parameter creator
2023
+ * @export
1991
2024
  */
1992
2025
  var Class3CXApiAxiosParamCreator = function (configuration) {
1993
2026
  var _this = this;
@@ -2072,6 +2105,7 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
2072
2105
  exports.Class3CXApiAxiosParamCreator = Class3CXApiAxiosParamCreator;
2073
2106
  /**
2074
2107
  * Class3CXApi - functional programming interface
2108
+ * @export
2075
2109
  */
2076
2110
  var Class3CXApiFp = function (configuration) {
2077
2111
  var localVarAxiosParamCreator = (0, exports.Class3CXApiAxiosParamCreator)(configuration);
@@ -2127,6 +2161,7 @@ var Class3CXApiFp = function (configuration) {
2127
2161
  exports.Class3CXApiFp = Class3CXApiFp;
2128
2162
  /**
2129
2163
  * Class3CXApi - factory interface
2164
+ * @export
2130
2165
  */
2131
2166
  var Class3CXApiFactory = function (configuration, basePath, axios) {
2132
2167
  var localVarFp = (0, exports.Class3CXApiFp)(configuration);
@@ -2156,6 +2191,9 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
2156
2191
  exports.Class3CXApiFactory = Class3CXApiFactory;
2157
2192
  /**
2158
2193
  * Class3CXApi - object-oriented interface
2194
+ * @export
2195
+ * @class Class3CXApi
2196
+ * @extends {BaseAPI}
2159
2197
  */
2160
2198
  var Class3CXApi = /** @class */ (function (_super) {
2161
2199
  __extends(Class3CXApi, _super);
@@ -2168,6 +2206,7 @@ var Class3CXApi = /** @class */ (function (_super) {
2168
2206
  * @param {string} key 3CX Licence Key
2169
2207
  * @param {*} [options] Override http request option.
2170
2208
  * @throws {RequiredError}
2209
+ * @memberof Class3CXApi
2171
2210
  */
2172
2211
  Class3CXApi.prototype.getGetLicenceDetails = function (key, options) {
2173
2212
  var _this = this;
@@ -2179,6 +2218,7 @@ var Class3CXApi = /** @class */ (function (_super) {
2179
2218
  * @param {Array<string>} [requestBody] Licence Lookup Request
2180
2219
  * @param {*} [options] Override http request option.
2181
2220
  * @throws {RequiredError}
2221
+ * @memberof Class3CXApi
2182
2222
  */
2183
2223
  Class3CXApi.prototype.postGetBulkLicenceDetails = function (requestBody, options) {
2184
2224
  var _this = this;
@@ -2189,6 +2229,7 @@ var Class3CXApi = /** @class */ (function (_super) {
2189
2229
  exports.Class3CXApi = Class3CXApi;
2190
2230
  /**
2191
2231
  * Class3CXInstallationWizardApi - axios parameter creator
2232
+ * @export
2192
2233
  */
2193
2234
  var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
2194
2235
  var _this = this;
@@ -3438,6 +3479,7 @@ var Class3CXInstallationWizardApiAxiosParamCreator = function (configuration) {
3438
3479
  exports.Class3CXInstallationWizardApiAxiosParamCreator = Class3CXInstallationWizardApiAxiosParamCreator;
3439
3480
  /**
3440
3481
  * Class3CXInstallationWizardApi - functional programming interface
3482
+ * @export
3441
3483
  */
3442
3484
  var Class3CXInstallationWizardApiFp = function (configuration) {
3443
3485
  var localVarAxiosParamCreator = (0, exports.Class3CXInstallationWizardApiAxiosParamCreator)(configuration);
@@ -4210,6 +4252,7 @@ var Class3CXInstallationWizardApiFp = function (configuration) {
4210
4252
  exports.Class3CXInstallationWizardApiFp = Class3CXInstallationWizardApiFp;
4211
4253
  /**
4212
4254
  * Class3CXInstallationWizardApi - factory interface
4255
+ * @export
4213
4256
  */
4214
4257
  var Class3CXInstallationWizardApiFactory = function (configuration, basePath, axios) {
4215
4258
  var localVarFp = (0, exports.Class3CXInstallationWizardApiFp)(configuration);
@@ -4553,6 +4596,9 @@ var Class3CXInstallationWizardApiFactory = function (configuration, basePath, ax
4553
4596
  exports.Class3CXInstallationWizardApiFactory = Class3CXInstallationWizardApiFactory;
4554
4597
  /**
4555
4598
  * Class3CXInstallationWizardApi - object-oriented interface
4599
+ * @export
4600
+ * @class Class3CXInstallationWizardApi
4601
+ * @extends {BaseAPI}
4556
4602
  */
4557
4603
  var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4558
4604
  __extends(Class3CXInstallationWizardApi, _super);
@@ -4565,6 +4611,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4565
4611
  * @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
4566
4612
  * @param {*} [options] Override http request option.
4567
4613
  * @throws {RequiredError}
4614
+ * @memberof Class3CXInstallationWizardApi
4568
4615
  */
4569
4616
  Class3CXInstallationWizardApi.prototype.deleteAddExtensions = function (tcxExtsEntity, options) {
4570
4617
  var _this = this;
@@ -4576,6 +4623,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4576
4623
  * @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
4577
4624
  * @param {*} [options] Override http request option.
4578
4625
  * @throws {RequiredError}
4626
+ * @memberof Class3CXInstallationWizardApi
4579
4627
  */
4580
4628
  Class3CXInstallationWizardApi.prototype.deleteAddNumbers = function (tcxNumbersEntity, options) {
4581
4629
  var _this = this;
@@ -4587,6 +4635,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4587
4635
  * @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
4588
4636
  * @param {*} [options] Override http request option.
4589
4637
  * @throws {RequiredError}
4638
+ * @memberof Class3CXInstallationWizardApi
4590
4639
  */
4591
4640
  Class3CXInstallationWizardApi.prototype.deleteAddPhones = function (tcxPhonesEntity, options) {
4592
4641
  var _this = this;
@@ -4598,6 +4647,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4598
4647
  * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
4599
4648
  * @param {*} [options] Override http request option.
4600
4649
  * @throws {RequiredError}
4650
+ * @memberof Class3CXInstallationWizardApi
4601
4651
  */
4602
4652
  Class3CXInstallationWizardApi.prototype.deleteAddSbcs = function (tcxSbcModel, options) {
4603
4653
  var _this = this;
@@ -4608,6 +4658,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4608
4658
  * @summary Delete 3CX Installation Wizard
4609
4659
  * @param {*} [options] Override http request option.
4610
4660
  * @throws {RequiredError}
4661
+ * @memberof Class3CXInstallationWizardApi
4611
4662
  */
4612
4663
  Class3CXInstallationWizardApi.prototype.deleteGetWizard = function (options) {
4613
4664
  var _this = this;
@@ -4618,6 +4669,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4618
4669
  * @summary Get phones on linked order and MAC addresses
4619
4670
  * @param {*} [options] Override http request option.
4620
4671
  * @throws {RequiredError}
4672
+ * @memberof Class3CXInstallationWizardApi
4621
4673
  */
4622
4674
  Class3CXInstallationWizardApi.prototype.getAddPhones = function (options) {
4623
4675
  var _this = this;
@@ -4628,6 +4680,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4628
4680
  * @summary Get UK National Area Codes
4629
4681
  * @param {*} [options] Override http request option.
4630
4682
  * @throws {RequiredError}
4683
+ * @memberof Class3CXInstallationWizardApi
4631
4684
  */
4632
4685
  Class3CXInstallationWizardApi.prototype.getGetAreaCodesTcxWizard = function (options) {
4633
4686
  var _this = this;
@@ -4639,6 +4692,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4639
4692
  * @param {number} id SIP Trunk ID
4640
4693
  * @param {*} [options] Override http request option.
4641
4694
  * @throws {RequiredError}
4695
+ * @memberof Class3CXInstallationWizardApi
4642
4696
  */
4643
4697
  Class3CXInstallationWizardApi.prototype.getGetDdisTcxWizard = function (id, options) {
4644
4698
  var _this = this;
@@ -4649,6 +4703,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4649
4703
  * @summary Get Hosting Price
4650
4704
  * @param {*} [options] Override http request option.
4651
4705
  * @throws {RequiredError}
4706
+ * @memberof Class3CXInstallationWizardApi
4652
4707
  */
4653
4708
  Class3CXInstallationWizardApi.prototype.getGetHostingPrice = function (options) {
4654
4709
  var _this = this;
@@ -4659,6 +4714,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4659
4714
  * @summary Get 3CX Hosting Regions
4660
4715
  * @param {*} [options] Override http request option.
4661
4716
  * @throws {RequiredError}
4717
+ * @memberof Class3CXInstallationWizardApi
4662
4718
  */
4663
4719
  Class3CXInstallationWizardApi.prototype.getGetHostingRegions = function (options) {
4664
4720
  var _this = this;
@@ -4674,6 +4730,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4674
4730
  * @param {*} [options] Override http request option.
4675
4731
  * @deprecated
4676
4732
  * @throws {RequiredError}
4733
+ * @memberof Class3CXInstallationWizardApi
4677
4734
  */
4678
4735
  Class3CXInstallationWizardApi.prototype.getGetInstallStatus = function (id, u, c, p, options) {
4679
4736
  var _this = this;
@@ -4684,6 +4741,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4684
4741
  * @summary Get 3CX Instance Install Status
4685
4742
  * @param {*} [options] Override http request option.
4686
4743
  * @throws {RequiredError}
4744
+ * @memberof Class3CXInstallationWizardApi
4687
4745
  */
4688
4746
  Class3CXInstallationWizardApi.prototype.getGetInstanceInstallStatus = function (options) {
4689
4747
  var _this = this;
@@ -4694,6 +4752,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4694
4752
  * @summary Get PBX IP Address
4695
4753
  * @param {*} [options] Override http request option.
4696
4754
  * @throws {RequiredError}
4755
+ * @memberof Class3CXInstallationWizardApi
4697
4756
  */
4698
4757
  Class3CXInstallationWizardApi.prototype.getGetPbxIpAddress = function (options) {
4699
4758
  var _this = this;
@@ -4705,6 +4764,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4705
4764
  * @param {number} id SIP Trunk ID
4706
4765
  * @param {*} [options] Override http request option.
4707
4766
  * @throws {RequiredError}
4767
+ * @memberof Class3CXInstallationWizardApi
4708
4768
  */
4709
4769
  Class3CXInstallationWizardApi.prototype.getGetSipTrunkTcxWizard = function (id, options) {
4710
4770
  var _this = this;
@@ -4718,6 +4778,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4718
4778
  * @param {string} [search] Search
4719
4779
  * @param {*} [options] Override http request option.
4720
4780
  * @throws {RequiredError}
4781
+ * @memberof Class3CXInstallationWizardApi
4721
4782
  */
4722
4783
  Class3CXInstallationWizardApi.prototype.getGetSipTrunksTcxWizard = function (pageSize, page, search, options) {
4723
4784
  var _this = this;
@@ -4728,6 +4789,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4728
4789
  * @summary Get 3CX Installation Wizard
4729
4790
  * @param {*} [options] Override http request option.
4730
4791
  * @throws {RequiredError}
4792
+ * @memberof Class3CXInstallationWizardApi
4731
4793
  */
4732
4794
  Class3CXInstallationWizardApi.prototype.getGetWizard = function (options) {
4733
4795
  var _this = this;
@@ -4739,6 +4801,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4739
4801
  * @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extensions
4740
4802
  * @param {*} [options] Override http request option.
4741
4803
  * @throws {RequiredError}
4804
+ * @memberof Class3CXInstallationWizardApi
4742
4805
  */
4743
4806
  Class3CXInstallationWizardApi.prototype.patchAddExtensions = function (tcxExtsEntity, options) {
4744
4807
  var _this = this;
@@ -4750,6 +4813,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4750
4813
  * @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
4751
4814
  * @param {*} [options] Override http request option.
4752
4815
  * @throws {RequiredError}
4816
+ * @memberof Class3CXInstallationWizardApi
4753
4817
  */
4754
4818
  Class3CXInstallationWizardApi.prototype.patchAddNumbers = function (tcxNumbersEntity, options) {
4755
4819
  var _this = this;
@@ -4761,6 +4825,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4761
4825
  * @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
4762
4826
  * @param {*} [options] Override http request option.
4763
4827
  * @throws {RequiredError}
4828
+ * @memberof Class3CXInstallationWizardApi
4764
4829
  */
4765
4830
  Class3CXInstallationWizardApi.prototype.patchAddPhones = function (tcxPhonesEntity, options) {
4766
4831
  var _this = this;
@@ -4772,6 +4837,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4772
4837
  * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
4773
4838
  * @param {*} [options] Override http request option.
4774
4839
  * @throws {RequiredError}
4840
+ * @memberof Class3CXInstallationWizardApi
4775
4841
  */
4776
4842
  Class3CXInstallationWizardApi.prototype.patchAddSbcs = function (tcxSbcModel, options) {
4777
4843
  var _this = this;
@@ -4783,6 +4849,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4783
4849
  * @param {TcxWizardModel} [tcxWizardModel] 3CX Wizard
4784
4850
  * @param {*} [options] Override http request option.
4785
4851
  * @throws {RequiredError}
4852
+ * @memberof Class3CXInstallationWizardApi
4786
4853
  */
4787
4854
  Class3CXInstallationWizardApi.prototype.patchGetWizard = function (tcxWizardModel, options) {
4788
4855
  var _this = this;
@@ -4794,6 +4861,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4794
4861
  * @param {Array<TcxExtsEntity>} [tcxExtsEntity] 3CX Wizard Extension
4795
4862
  * @param {*} [options] Override http request option.
4796
4863
  * @throws {RequiredError}
4864
+ * @memberof Class3CXInstallationWizardApi
4797
4865
  */
4798
4866
  Class3CXInstallationWizardApi.prototype.postAddExtensions = function (tcxExtsEntity, options) {
4799
4867
  var _this = this;
@@ -4805,6 +4873,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4805
4873
  * @param {Array<TcxNumbersEntity>} [tcxNumbersEntity] 3CX Wizard Numbers
4806
4874
  * @param {*} [options] Override http request option.
4807
4875
  * @throws {RequiredError}
4876
+ * @memberof Class3CXInstallationWizardApi
4808
4877
  */
4809
4878
  Class3CXInstallationWizardApi.prototype.postAddNumbers = function (tcxNumbersEntity, options) {
4810
4879
  var _this = this;
@@ -4816,6 +4885,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4816
4885
  * @param {Array<TcxPhonesEntity>} [tcxPhonesEntity] 3CX Wizard Phones
4817
4886
  * @param {*} [options] Override http request option.
4818
4887
  * @throws {RequiredError}
4888
+ * @memberof Class3CXInstallationWizardApi
4819
4889
  */
4820
4890
  Class3CXInstallationWizardApi.prototype.postAddPhones = function (tcxPhonesEntity, options) {
4821
4891
  var _this = this;
@@ -4827,6 +4897,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4827
4897
  * @param {Array<TcxSbcModel>} [tcxSbcModel] 3CX Wizard SBCs
4828
4898
  * @param {*} [options] Override http request option.
4829
4899
  * @throws {RequiredError}
4900
+ * @memberof Class3CXInstallationWizardApi
4830
4901
  */
4831
4902
  Class3CXInstallationWizardApi.prototype.postAddSbcs = function (tcxSbcModel, options) {
4832
4903
  var _this = this;
@@ -4837,6 +4908,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4837
4908
  * @summary Build Instance From 3CX Installation Wizard
4838
4909
  * @param {*} [options] Override http request option.
4839
4910
  * @throws {RequiredError}
4911
+ * @memberof Class3CXInstallationWizardApi
4840
4912
  */
4841
4913
  Class3CXInstallationWizardApi.prototype.postBuildInstance = function (options) {
4842
4914
  var _this = this;
@@ -4852,6 +4924,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4852
4924
  * @param {*} [options] Override http request option.
4853
4925
  * @deprecated
4854
4926
  * @throws {RequiredError}
4927
+ * @memberof Class3CXInstallationWizardApi
4855
4928
  */
4856
4929
  Class3CXInstallationWizardApi.prototype.postBuildInstanceFromWizard = function (id, u, c, p, options) {
4857
4930
  var _this = this;
@@ -4862,6 +4935,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4862
4935
  * @summary Create Instance From 3CX Installation Wizard
4863
4936
  * @param {*} [options] Override http request option.
4864
4937
  * @throws {RequiredError}
4938
+ * @memberof Class3CXInstallationWizardApi
4865
4939
  */
4866
4940
  Class3CXInstallationWizardApi.prototype.postCreateInstance = function (options) {
4867
4941
  var _this = this;
@@ -4877,6 +4951,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4877
4951
  * @param {*} [options] Override http request option.
4878
4952
  * @deprecated
4879
4953
  * @throws {RequiredError}
4954
+ * @memberof Class3CXInstallationWizardApi
4880
4955
  */
4881
4956
  Class3CXInstallationWizardApi.prototype.postCreateInstanceFromWizard = function (id, u, c, p, options) {
4882
4957
  var _this = this;
@@ -4889,6 +4964,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4889
4964
  * @param {DdiRangesRequestModel} [ddiRangesRequestModel] DDI Request
4890
4965
  * @param {*} [options] Override http request option.
4891
4966
  * @throws {RequiredError}
4967
+ * @memberof Class3CXInstallationWizardApi
4892
4968
  */
4893
4969
  Class3CXInstallationWizardApi.prototype.postGetDdisTcxWizard = function (id, ddiRangesRequestModel, options) {
4894
4970
  var _this = this;
@@ -4900,6 +4976,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4900
4976
  * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
4901
4977
  * @param {*} [options] Override http request option.
4902
4978
  * @throws {RequiredError}
4979
+ * @memberof Class3CXInstallationWizardApi
4903
4980
  */
4904
4981
  Class3CXInstallationWizardApi.prototype.postGetRequestedDdisTcxWizard = function (sipTrunkChangeResponseModel, options) {
4905
4982
  var _this = this;
@@ -4911,6 +4988,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4911
4988
  * @param {SipTrunkCreationRequestModel} [sipTrunkCreationRequestModel] New SIP Trunk Request
4912
4989
  * @param {*} [options] Override http request option.
4913
4990
  * @throws {RequiredError}
4991
+ * @memberof Class3CXInstallationWizardApi
4914
4992
  */
4915
4993
  Class3CXInstallationWizardApi.prototype.postGetSipTrunksTcxWizard = function (sipTrunkCreationRequestModel, options) {
4916
4994
  var _this = this;
@@ -4921,6 +4999,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4921
4999
  * @param {File} backup 3CX Backup ZIP File
4922
5000
  * @param {*} [options] Override http request option.
4923
5001
  * @throws {RequiredError}
5002
+ * @memberof Class3CXInstallationWizardApi
4924
5003
  */
4925
5004
  Class3CXInstallationWizardApi.prototype.postUploadBackup = function (backup, options) {
4926
5005
  var _this = this;
@@ -4931,6 +5010,7 @@ var Class3CXInstallationWizardApi = /** @class */ (function (_super) {
4931
5010
  exports.Class3CXInstallationWizardApi = Class3CXInstallationWizardApi;
4932
5011
  /**
4933
5012
  * Class3CXInstallationsApi - axios parameter creator
5013
+ * @export
4934
5014
  */
4935
5015
  var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
4936
5016
  var _this = this;
@@ -5421,6 +5501,7 @@ var Class3CXInstallationsApiAxiosParamCreator = function (configuration) {
5421
5501
  exports.Class3CXInstallationsApiAxiosParamCreator = Class3CXInstallationsApiAxiosParamCreator;
5422
5502
  /**
5423
5503
  * Class3CXInstallationsApi - functional programming interface
5504
+ * @export
5424
5505
  */
5425
5506
  var Class3CXInstallationsApiFp = function (configuration) {
5426
5507
  var localVarAxiosParamCreator = (0, exports.Class3CXInstallationsApiAxiosParamCreator)(configuration);
@@ -5698,6 +5779,7 @@ var Class3CXInstallationsApiFp = function (configuration) {
5698
5779
  exports.Class3CXInstallationsApiFp = Class3CXInstallationsApiFp;
5699
5780
  /**
5700
5781
  * Class3CXInstallationsApi - factory interface
5782
+ * @export
5701
5783
  */
5702
5784
  var Class3CXInstallationsApiFactory = function (configuration, basePath, axios) {
5703
5785
  var localVarFp = (0, exports.Class3CXInstallationsApiFp)(configuration);
@@ -5832,6 +5914,9 @@ var Class3CXInstallationsApiFactory = function (configuration, basePath, axios)
5832
5914
  exports.Class3CXInstallationsApiFactory = Class3CXInstallationsApiFactory;
5833
5915
  /**
5834
5916
  * Class3CXInstallationsApi - object-oriented interface
5917
+ * @export
5918
+ * @class Class3CXInstallationsApi
5919
+ * @extends {BaseAPI}
5835
5920
  */
5836
5921
  var Class3CXInstallationsApi = /** @class */ (function (_super) {
5837
5922
  __extends(Class3CXInstallationsApi, _super);
@@ -5844,6 +5929,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5844
5929
  * @param {number} wizardId Wizard ID
5845
5930
  * @param {*} [options] Override http request option.
5846
5931
  * @throws {RequiredError}
5932
+ * @memberof Class3CXInstallationsApi
5847
5933
  */
5848
5934
  Class3CXInstallationsApi.prototype.getGetDetails = function (wizardId, options) {
5849
5935
  var _this = this;
@@ -5861,6 +5947,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5861
5947
  * @param {GetGetInstallationsInstallTypeEnum} [installType] Install Type
5862
5948
  * @param {*} [options] Override http request option.
5863
5949
  * @throws {RequiredError}
5950
+ * @memberof Class3CXInstallationsApi
5864
5951
  */
5865
5952
  Class3CXInstallationsApi.prototype.getGetInstallations = function (pageSize, page, customerId, search, status, hosting, installType, options) {
5866
5953
  var _this = this;
@@ -5874,6 +5961,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5874
5961
  * @param {string} ipAddress Whitelist IP Address
5875
5962
  * @param {*} [options] Override http request option.
5876
5963
  * @throws {RequiredError}
5964
+ * @memberof Class3CXInstallationsApi
5877
5965
  */
5878
5966
  Class3CXInstallationsApi.prototype.postCreateSshUser = function (instanceId, expiryDate, ipAddress, options) {
5879
5967
  var _this = this;
@@ -5885,6 +5973,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5885
5973
  * @param {string} instanceId Instance ID
5886
5974
  * @param {*} [options] Override http request option.
5887
5975
  * @throws {RequiredError}
5976
+ * @memberof Class3CXInstallationsApi
5888
5977
  */
5889
5978
  Class3CXInstallationsApi.prototype.postDeleteInstance = function (instanceId, options) {
5890
5979
  var _this = this;
@@ -5898,6 +5987,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5898
5987
  * @param {string} schedule Scheduled Task (Date &amp; Time)
5899
5988
  * @param {*} [options] Override http request option.
5900
5989
  * @throws {RequiredError}
5990
+ * @memberof Class3CXInstallationsApi
5901
5991
  */
5902
5992
  Class3CXInstallationsApi.prototype.postExtendDisk = function (instanceId, gigabytes, schedule, options) {
5903
5993
  var _this = this;
@@ -5910,6 +6000,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5910
6000
  * @param {PostFailoverInstanceTypeEnum} type Failover Type
5911
6001
  * @param {*} [options] Override http request option.
5912
6002
  * @throws {RequiredError}
6003
+ * @memberof Class3CXInstallationsApi
5913
6004
  */
5914
6005
  Class3CXInstallationsApi.prototype.postFailoverInstance = function (instanceId, type, options) {
5915
6006
  var _this = this;
@@ -5921,6 +6012,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5921
6012
  * @param {string} instanceId Instance ID
5922
6013
  * @param {*} [options] Override http request option.
5923
6014
  * @throws {RequiredError}
6015
+ * @memberof Class3CXInstallationsApi
5924
6016
  */
5925
6017
  Class3CXInstallationsApi.prototype.postRebootInstance = function (instanceId, options) {
5926
6018
  var _this = this;
@@ -5934,6 +6026,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5934
6026
  * @param {string} [schedule] Scheduled Task (Date &amp; Time)
5935
6027
  * @param {*} [options] Override http request option.
5936
6028
  * @throws {RequiredError}
6029
+ * @memberof Class3CXInstallationsApi
5937
6030
  */
5938
6031
  Class3CXInstallationsApi.prototype.postResizeInstance = function (instanceId, size, schedule, options) {
5939
6032
  var _this = this;
@@ -5946,6 +6039,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5946
6039
  * @param {string} [schedule] Scheduled Task (Date &amp; Time)
5947
6040
  * @param {*} [options] Override http request option.
5948
6041
  * @throws {RequiredError}
6042
+ * @memberof Class3CXInstallationsApi
5949
6043
  */
5950
6044
  Class3CXInstallationsApi.prototype.postSuspendInstance = function (instanceId, schedule, options) {
5951
6045
  var _this = this;
@@ -5957,6 +6051,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5957
6051
  * @param {string} instanceId Instance ID
5958
6052
  * @param {*} [options] Override http request option.
5959
6053
  * @throws {RequiredError}
6054
+ * @memberof Class3CXInstallationsApi
5960
6055
  */
5961
6056
  Class3CXInstallationsApi.prototype.postUnsuspendInstance = function (instanceId, options) {
5962
6057
  var _this = this;
@@ -5969,6 +6064,7 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5969
6064
  * @param {string} schedule Scheduled Task (Date &amp; Time)
5970
6065
  * @param {*} [options] Override http request option.
5971
6066
  * @throws {RequiredError}
6067
+ * @memberof Class3CXInstallationsApi
5972
6068
  */
5973
6069
  Class3CXInstallationsApi.prototype.postUpgradeDebian = function (instanceId, schedule, options) {
5974
6070
  var _this = this;
@@ -5977,28 +6073,43 @@ var Class3CXInstallationsApi = /** @class */ (function (_super) {
5977
6073
  return Class3CXInstallationsApi;
5978
6074
  }(base_1.BaseAPI));
5979
6075
  exports.Class3CXInstallationsApi = Class3CXInstallationsApi;
6076
+ /**
6077
+ * @export
6078
+ */
5980
6079
  exports.GetGetInstallationsStatusEnum = {
5981
6080
  Completed: 'Completed',
5982
6081
  Outstanding: 'Outstanding',
5983
6082
  Offline: 'Offline',
5984
6083
  FailedOver: 'Failed Over'
5985
6084
  };
6085
+ /**
6086
+ * @export
6087
+ */
5986
6088
  exports.GetGetInstallationsHostingEnum = {
5987
6089
  Yellowgrid: 'yellowgrid',
5988
6090
  MultiTenant: 'multi-tenant',
5989
6091
  Onprem: 'onprem',
5990
6092
  All: 'all'
5991
6093
  };
6094
+ /**
6095
+ * @export
6096
+ */
5992
6097
  exports.GetGetInstallationsInstallTypeEnum = {
5993
6098
  New: 'new',
5994
6099
  Restore: 'restore',
5995
6100
  Failover: 'failover',
5996
6101
  MultiTenant: 'multi-tenant'
5997
6102
  };
6103
+ /**
6104
+ * @export
6105
+ */
5998
6106
  exports.PostFailoverInstanceTypeEnum = {
5999
6107
  Config: 'config',
6000
6108
  Image: 'image'
6001
6109
  };
6110
+ /**
6111
+ * @export
6112
+ */
6002
6113
  exports.PostResizeInstanceSizeEnum = {
6003
6114
  D24: 'd2-4',
6004
6115
  D28: 'd2-8',
@@ -6006,6 +6117,7 @@ exports.PostResizeInstanceSizeEnum = {
6006
6117
  };
6007
6118
  /**
6008
6119
  * Class3CXIntegrationsApi - axios parameter creator
6120
+ * @export
6009
6121
  */
6010
6122
  var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
6011
6123
  var _this = this;
@@ -6251,6 +6363,7 @@ var Class3CXIntegrationsApiAxiosParamCreator = function (configuration) {
6251
6363
  exports.Class3CXIntegrationsApiAxiosParamCreator = Class3CXIntegrationsApiAxiosParamCreator;
6252
6364
  /**
6253
6365
  * Class3CXIntegrationsApi - functional programming interface
6366
+ * @export
6254
6367
  */
6255
6368
  var Class3CXIntegrationsApiFp = function (configuration) {
6256
6369
  var localVarAxiosParamCreator = (0, exports.Class3CXIntegrationsApiAxiosParamCreator)(configuration);
@@ -6396,6 +6509,7 @@ var Class3CXIntegrationsApiFp = function (configuration) {
6396
6509
  exports.Class3CXIntegrationsApiFp = Class3CXIntegrationsApiFp;
6397
6510
  /**
6398
6511
  * Class3CXIntegrationsApi - factory interface
6512
+ * @export
6399
6513
  */
6400
6514
  var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
6401
6515
  var localVarFp = (0, exports.Class3CXIntegrationsApiFp)(configuration);
@@ -6463,6 +6577,9 @@ var Class3CXIntegrationsApiFactory = function (configuration, basePath, axios) {
6463
6577
  exports.Class3CXIntegrationsApiFactory = Class3CXIntegrationsApiFactory;
6464
6578
  /**
6465
6579
  * Class3CXIntegrationsApi - object-oriented interface
6580
+ * @export
6581
+ * @class Class3CXIntegrationsApi
6582
+ * @extends {BaseAPI}
6466
6583
  */
6467
6584
  var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6468
6585
  __extends(Class3CXIntegrationsApi, _super);
@@ -6475,6 +6592,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6475
6592
  * @param {GetGetPriceSchoolTypeEnum} schoolType EdTechPro School Type
6476
6593
  * @param {*} [options] Override http request option.
6477
6594
  * @throws {RequiredError}
6595
+ * @memberof Class3CXIntegrationsApi
6478
6596
  */
6479
6597
  Class3CXIntegrationsApi.prototype.getGetPrice = function (licenceType, schoolType, options) {
6480
6598
  var _this = this;
@@ -6487,6 +6605,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6487
6605
  * @param {string} [search] Search
6488
6606
  * @param {*} [options] Override http request option.
6489
6607
  * @throws {RequiredError}
6608
+ * @memberof Class3CXIntegrationsApi
6490
6609
  */
6491
6610
  Class3CXIntegrationsApi.prototype.getGetSchools = function (pageSize, page, search, options) {
6492
6611
  var _this = this;
@@ -6496,6 +6615,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6496
6615
  * Get EdTechPro Trusts
6497
6616
  * @param {*} [options] Override http request option.
6498
6617
  * @throws {RequiredError}
6618
+ * @memberof Class3CXIntegrationsApi
6499
6619
  */
6500
6620
  Class3CXIntegrationsApi.prototype.getGetTrusts = function (options) {
6501
6621
  var _this = this;
@@ -6508,6 +6628,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6508
6628
  * @param {string} ref School Order Reference
6509
6629
  * @param {*} [options] Override http request option.
6510
6630
  * @throws {RequiredError}
6631
+ * @memberof Class3CXIntegrationsApi
6511
6632
  */
6512
6633
  Class3CXIntegrationsApi.prototype.patchUpdateEtpOrderReference = function (clientId, schoolId, ref, options) {
6513
6634
  var _this = this;
@@ -6518,6 +6639,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6518
6639
  * @param {OrderRequestModel} [orderRequestModel] New EdTechPro Order Request
6519
6640
  * @param {*} [options] Override http request option.
6520
6641
  * @throws {RequiredError}
6642
+ * @memberof Class3CXIntegrationsApi
6521
6643
  */
6522
6644
  Class3CXIntegrationsApi.prototype.postOrderEdTechPro = function (orderRequestModel, options) {
6523
6645
  var _this = this;
@@ -6528,6 +6650,7 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6528
6650
  * @param {UpgradeRequestModel} [upgradeRequestModel] New EdTechPro Upgrade Request
6529
6651
  * @param {*} [options] Override http request option.
6530
6652
  * @throws {RequiredError}
6653
+ * @memberof Class3CXIntegrationsApi
6531
6654
  */
6532
6655
  Class3CXIntegrationsApi.prototype.postUpgradeEdTechPro = function (upgradeRequestModel, options) {
6533
6656
  var _this = this;
@@ -6536,16 +6659,23 @@ var Class3CXIntegrationsApi = /** @class */ (function (_super) {
6536
6659
  return Class3CXIntegrationsApi;
6537
6660
  }(base_1.BaseAPI));
6538
6661
  exports.Class3CXIntegrationsApi = Class3CXIntegrationsApi;
6662
+ /**
6663
+ * @export
6664
+ */
6539
6665
  exports.GetGetPriceLicenceTypeEnum = {
6540
6666
  Lite: 'lite',
6541
6667
  Pro: 'pro'
6542
6668
  };
6669
+ /**
6670
+ * @export
6671
+ */
6543
6672
  exports.GetGetPriceSchoolTypeEnum = {
6544
6673
  Primary: 'primary',
6545
6674
  Secondary: 'secondary'
6546
6675
  };
6547
6676
  /**
6548
6677
  * Class3CXMultiTenantApi - axios parameter creator
6678
+ * @export
6549
6679
  */
6550
6680
  var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
6551
6681
  var _this = this;
@@ -6825,6 +6955,7 @@ var Class3CXMultiTenantApiAxiosParamCreator = function (configuration) {
6825
6955
  exports.Class3CXMultiTenantApiAxiosParamCreator = Class3CXMultiTenantApiAxiosParamCreator;
6826
6956
  /**
6827
6957
  * Class3CXMultiTenantApi - functional programming interface
6958
+ * @export
6828
6959
  */
6829
6960
  var Class3CXMultiTenantApiFp = function (configuration) {
6830
6961
  var localVarAxiosParamCreator = (0, exports.Class3CXMultiTenantApiAxiosParamCreator)(configuration);
@@ -6998,1443 +7129,337 @@ var Class3CXMultiTenantApiFp = function (configuration) {
6998
7129
  exports.Class3CXMultiTenantApiFp = Class3CXMultiTenantApiFp;
6999
7130
  /**
7000
7131
  * Class3CXMultiTenantApi - factory interface
7132
+ * @export
7001
7133
  */
7002
7134
  var Class3CXMultiTenantApiFactory = function (configuration, basePath, axios) {
7003
- var localVarFp = (0, exports.Class3CXMultiTenantApiFp)(configuration);
7004
- return {
7005
- /**
7006
- * Delete 3CX Starter Bundle Tenant
7007
- * @summary Delete 3CX MT Tenant
7008
- * @param {string} reference Tenant Reference
7009
- * @param {*} [options] Override http request option.
7010
- * @throws {RequiredError}
7011
- */
7012
- deleteGetTenant: function (reference, options) {
7013
- return localVarFp.deleteGetTenant(reference, options).then(function (request) { return request(axios, basePath); });
7014
- },
7015
- /**
7016
- * Get 3CX Starter Bundle Tenant
7017
- * @summary Get 3CX MT Tenant
7018
- * @param {string} reference Tenant Reference
7019
- * @param {*} [options] Override http request option.
7020
- * @throws {RequiredError}
7021
- */
7022
- getGetTenant: function (reference, options) {
7023
- return localVarFp.getGetTenant(reference, options).then(function (request) { return request(axios, basePath); });
7024
- },
7025
- /**
7026
- * Get 3CX Starter Bundle Tenants
7027
- * @summary Get 3CX MT Tenants
7028
- * @param {number} [pageSize] Number Of Results
7029
- * @param {number} [page] Page Number
7030
- * @param {string} [search] Search
7031
- * @param {GetGetTenantsStatusEnum} [status] Status
7032
- * @param {*} [options] Override http request option.
7033
- * @throws {RequiredError}
7034
- */
7035
- getGetTenants: function (pageSize, page, search, status, options) {
7036
- return localVarFp.getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(axios, basePath); });
7037
- },
7038
- /**
7039
- * Add 3CX MT DDI
7040
- * @summary Add 3CX MT DDI
7041
- * @param {string} areacode Area Code
7042
- * @param {*} [options] Override http request option.
7043
- * @throws {RequiredError}
7044
- */
7045
- postAddMtDdi: function (areacode, options) {
7046
- return localVarFp.postAddMtDdi(areacode, options).then(function (request) { return request(axios, basePath); });
7047
- },
7048
- /**
7049
- * Get 3CX MT New DDIs
7050
- * @summary Get 3CX MT New DDIs
7051
- * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
7052
- * @param {*} [options] Override http request option.
7053
- * @throws {RequiredError}
7054
- */
7055
- postGetMtNewDdis: function (multiTenantChangeResponseModel, options) {
7056
- return localVarFp.postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
7057
- },
7058
- /**
7059
- * Add 3CX Starter Bundle Tenant
7060
- * @summary Add 3CX MT Tenant
7061
- * @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
7062
- * @param {*} [options] Override http request option.
7063
- * @throws {RequiredError}
7064
- */
7065
- postGetTenants: function (tcxMultiTenantModel, options) {
7066
- return localVarFp.postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(axios, basePath); });
7067
- },
7068
- /**
7069
- * Track 3CX MT Change
7070
- * @summary Track 3CX MT Change
7071
- * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
7072
- * @param {*} [options] Override http request option.
7073
- * @throws {RequiredError}
7074
- */
7075
- postTrackMtChange: function (multiTenantChangeResponseModel, options) {
7076
- return localVarFp.postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
7077
- },
7078
- };
7079
- };
7080
- exports.Class3CXMultiTenantApiFactory = Class3CXMultiTenantApiFactory;
7081
- /**
7082
- * Class3CXMultiTenantApi - object-oriented interface
7083
- */
7084
- var Class3CXMultiTenantApi = /** @class */ (function (_super) {
7085
- __extends(Class3CXMultiTenantApi, _super);
7086
- function Class3CXMultiTenantApi() {
7087
- return _super !== null && _super.apply(this, arguments) || this;
7088
- }
7089
- /**
7090
- * Delete 3CX Starter Bundle Tenant
7091
- * @summary Delete 3CX MT Tenant
7092
- * @param {string} reference Tenant Reference
7093
- * @param {*} [options] Override http request option.
7094
- * @throws {RequiredError}
7095
- */
7096
- Class3CXMultiTenantApi.prototype.deleteGetTenant = function (reference, options) {
7097
- var _this = this;
7098
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).deleteGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
7099
- };
7100
- /**
7101
- * Get 3CX Starter Bundle Tenant
7102
- * @summary Get 3CX MT Tenant
7103
- * @param {string} reference Tenant Reference
7104
- * @param {*} [options] Override http request option.
7105
- * @throws {RequiredError}
7106
- */
7107
- Class3CXMultiTenantApi.prototype.getGetTenant = function (reference, options) {
7108
- var _this = this;
7109
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
7110
- };
7111
- /**
7112
- * Get 3CX Starter Bundle Tenants
7113
- * @summary Get 3CX MT Tenants
7114
- * @param {number} [pageSize] Number Of Results
7115
- * @param {number} [page] Page Number
7116
- * @param {string} [search] Search
7117
- * @param {GetGetTenantsStatusEnum} [status] Status
7118
- * @param {*} [options] Override http request option.
7119
- * @throws {RequiredError}
7120
- */
7121
- Class3CXMultiTenantApi.prototype.getGetTenants = function (pageSize, page, search, status, options) {
7122
- var _this = this;
7123
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
7124
- };
7125
- /**
7126
- * Add 3CX MT DDI
7127
- * @summary Add 3CX MT DDI
7128
- * @param {string} areacode Area Code
7129
- * @param {*} [options] Override http request option.
7130
- * @throws {RequiredError}
7131
- */
7132
- Class3CXMultiTenantApi.prototype.postAddMtDdi = function (areacode, options) {
7133
- var _this = this;
7134
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postAddMtDdi(areacode, options).then(function (request) { return request(_this.axios, _this.basePath); });
7135
- };
7136
- /**
7137
- * Get 3CX MT New DDIs
7138
- * @summary Get 3CX MT New DDIs
7139
- * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
7140
- * @param {*} [options] Override http request option.
7141
- * @throws {RequiredError}
7142
- */
7143
- Class3CXMultiTenantApi.prototype.postGetMtNewDdis = function (multiTenantChangeResponseModel, options) {
7144
- var _this = this;
7145
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
7146
- };
7147
- /**
7148
- * Add 3CX Starter Bundle Tenant
7149
- * @summary Add 3CX MT Tenant
7150
- * @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
7151
- * @param {*} [options] Override http request option.
7152
- * @throws {RequiredError}
7153
- */
7154
- Class3CXMultiTenantApi.prototype.postGetTenants = function (tcxMultiTenantModel, options) {
7155
- var _this = this;
7156
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
7157
- };
7158
- /**
7159
- * Track 3CX MT Change
7160
- * @summary Track 3CX MT Change
7161
- * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
7162
- * @param {*} [options] Override http request option.
7163
- * @throws {RequiredError}
7164
- */
7165
- Class3CXMultiTenantApi.prototype.postTrackMtChange = function (multiTenantChangeResponseModel, options) {
7166
- var _this = this;
7167
- return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
7168
- };
7169
- return Class3CXMultiTenantApi;
7170
- }(base_1.BaseAPI));
7171
- exports.Class3CXMultiTenantApi = Class3CXMultiTenantApi;
7172
- exports.GetGetTenantsStatusEnum = {
7173
- Completed: 'Completed',
7174
- Outstanding: 'Outstanding',
7175
- Offline: 'Offline',
7176
- FailedOver: 'Failed Over'
7177
- };
7178
- /**
7179
- * MyPBXToolsApi - axios parameter creator
7180
- */
7181
- var MyPBXToolsApiAxiosParamCreator = function (configuration) {
7182
- var _this = this;
7183
- return {
7184
- /**
7185
- * Get 3CX Installation Details
7186
- * @summary Fetch recording from a 3CX instance
7187
- * @param {string} licenceKey Licence Key
7188
- * @param {string} fileName File Name
7189
- * @param {*} [options] Override http request option.
7190
- * @throws {RequiredError}
7191
- */
7192
- getGetRecording: function (licenceKey_1, fileName_1) {
7193
- var args_1 = [];
7194
- for (var _i = 2; _i < arguments.length; _i++) {
7195
- args_1[_i - 2] = arguments[_i];
7196
- }
7197
- return __awaiter(_this, __spreadArray([licenceKey_1, fileName_1], args_1, true), void 0, function (licenceKey, fileName, options) {
7198
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7199
- if (options === void 0) { options = {}; }
7200
- return __generator(this, function (_a) {
7201
- // verify required parameter 'licenceKey' is not null or undefined
7202
- (0, common_1.assertParamExists)('getGetRecording', 'licenceKey', licenceKey);
7203
- // verify required parameter 'fileName' is not null or undefined
7204
- (0, common_1.assertParamExists)('getGetRecording', 'fileName', fileName);
7205
- localVarPath = "/mypbxtools/recordings";
7206
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7207
- if (configuration) {
7208
- baseOptions = configuration.baseOptions;
7209
- }
7210
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7211
- localVarHeaderParameter = {};
7212
- localVarQueryParameter = {};
7213
- if (licenceKey !== undefined) {
7214
- localVarQueryParameter['licenceKey'] = licenceKey;
7215
- }
7216
- if (fileName !== undefined) {
7217
- localVarQueryParameter['fileName'] = fileName;
7218
- }
7219
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7220
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7221
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7222
- return [2 /*return*/, {
7223
- url: (0, common_1.toPathString)(localVarUrlObj),
7224
- options: localVarRequestOptions,
7225
- }];
7226
- });
7227
- });
7228
- },
7229
- };
7230
- };
7231
- exports.MyPBXToolsApiAxiosParamCreator = MyPBXToolsApiAxiosParamCreator;
7232
- /**
7233
- * MyPBXToolsApi - functional programming interface
7234
- */
7235
- var MyPBXToolsApiFp = function (configuration) {
7236
- var localVarAxiosParamCreator = (0, exports.MyPBXToolsApiAxiosParamCreator)(configuration);
7237
- return {
7238
- /**
7239
- * Get 3CX Installation Details
7240
- * @summary Fetch recording from a 3CX instance
7241
- * @param {string} licenceKey Licence Key
7242
- * @param {string} fileName File Name
7243
- * @param {*} [options] Override http request option.
7244
- * @throws {RequiredError}
7245
- */
7246
- getGetRecording: function (licenceKey, fileName, options) {
7247
- return __awaiter(this, void 0, void 0, function () {
7248
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7249
- var _a, _b, _c;
7250
- return __generator(this, function (_d) {
7251
- switch (_d.label) {
7252
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecording(licenceKey, fileName, options)];
7253
- case 1:
7254
- localVarAxiosArgs = _d.sent();
7255
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7256
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MyPBXToolsApi.getGetRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7257
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7258
- }
7259
- });
7260
- });
7261
- },
7262
- };
7263
- };
7264
- exports.MyPBXToolsApiFp = MyPBXToolsApiFp;
7265
- /**
7266
- * MyPBXToolsApi - factory interface
7267
- */
7268
- var MyPBXToolsApiFactory = function (configuration, basePath, axios) {
7269
- var localVarFp = (0, exports.MyPBXToolsApiFp)(configuration);
7270
- return {
7271
- /**
7272
- * Get 3CX Installation Details
7273
- * @summary Fetch recording from a 3CX instance
7274
- * @param {string} licenceKey Licence Key
7275
- * @param {string} fileName File Name
7276
- * @param {*} [options] Override http request option.
7277
- * @throws {RequiredError}
7278
- */
7279
- getGetRecording: function (licenceKey, fileName, options) {
7280
- return localVarFp.getGetRecording(licenceKey, fileName, options).then(function (request) { return request(axios, basePath); });
7281
- },
7282
- };
7283
- };
7284
- exports.MyPBXToolsApiFactory = MyPBXToolsApiFactory;
7285
- /**
7286
- * MyPBXToolsApi - object-oriented interface
7287
- */
7288
- var MyPBXToolsApi = /** @class */ (function (_super) {
7289
- __extends(MyPBXToolsApi, _super);
7290
- function MyPBXToolsApi() {
7291
- return _super !== null && _super.apply(this, arguments) || this;
7292
- }
7293
- /**
7294
- * Get 3CX Installation Details
7295
- * @summary Fetch recording from a 3CX instance
7296
- * @param {string} licenceKey Licence Key
7297
- * @param {string} fileName File Name
7298
- * @param {*} [options] Override http request option.
7299
- * @throws {RequiredError}
7300
- */
7301
- MyPBXToolsApi.prototype.getGetRecording = function (licenceKey, fileName, options) {
7302
- var _this = this;
7303
- return (0, exports.MyPBXToolsApiFp)(this.configuration).getGetRecording(licenceKey, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
7304
- };
7305
- return MyPBXToolsApi;
7306
- }(base_1.BaseAPI));
7307
- exports.MyPBXToolsApi = MyPBXToolsApi;
7308
- /**
7309
- * NumberPortingApi - axios parameter creator
7310
- */
7311
- var NumberPortingApiAxiosParamCreator = function (configuration) {
7312
- var _this = this;
7313
- return {
7314
- /**
7315
- *
7316
- * @param {number} id Number Port ID
7317
- * @param {*} [options] Override http request option.
7318
- * @throws {RequiredError}
7319
- */
7320
- deleteGetAdminNumberPort: function (id_1) {
7321
- var args_1 = [];
7322
- for (var _i = 1; _i < arguments.length; _i++) {
7323
- args_1[_i - 1] = arguments[_i];
7324
- }
7325
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
7326
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7327
- if (options === void 0) { options = {}; }
7328
- return __generator(this, function (_a) {
7329
- // verify required parameter 'id' is not null or undefined
7330
- (0, common_1.assertParamExists)('deleteGetAdminNumberPort', 'id', id);
7331
- localVarPath = "/admin/sip/numbers/ports/{id}"
7332
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7333
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7334
- if (configuration) {
7335
- baseOptions = configuration.baseOptions;
7336
- }
7337
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
7338
- localVarHeaderParameter = {};
7339
- localVarQueryParameter = {};
7340
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7341
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7342
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7343
- return [2 /*return*/, {
7344
- url: (0, common_1.toPathString)(localVarUrlObj),
7345
- options: localVarRequestOptions,
7346
- }];
7347
- });
7348
- });
7349
- },
7350
- /**
7351
- *
7352
- * @param {number} [pageSize] Number Of Results
7353
- * @param {number} [page] Page Number
7354
- * @param {string} [search] Search
7355
- * @param {*} [options] Override http request option.
7356
- * @throws {RequiredError}
7357
- */
7358
- getCreateNumberPort: function (pageSize_1, page_1, search_1) {
7359
- var args_1 = [];
7360
- for (var _i = 3; _i < arguments.length; _i++) {
7361
- args_1[_i - 3] = arguments[_i];
7362
- }
7363
- return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
7364
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7365
- if (options === void 0) { options = {}; }
7366
- return __generator(this, function (_a) {
7367
- localVarPath = "/sip/numbers/ports";
7368
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7369
- if (configuration) {
7370
- baseOptions = configuration.baseOptions;
7371
- }
7372
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7373
- localVarHeaderParameter = {};
7374
- localVarQueryParameter = {};
7375
- if (pageSize !== undefined) {
7376
- localVarQueryParameter['pageSize'] = pageSize;
7377
- }
7378
- if (page !== undefined) {
7379
- localVarQueryParameter['page'] = page;
7380
- }
7381
- if (search !== undefined) {
7382
- localVarQueryParameter['search'] = search;
7383
- }
7384
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7385
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7386
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7387
- return [2 /*return*/, {
7388
- url: (0, common_1.toPathString)(localVarUrlObj),
7389
- options: localVarRequestOptions,
7390
- }];
7391
- });
7392
- });
7393
- },
7394
- /**
7395
- *
7396
- * @param {number} id Number Port ID
7397
- * @param {*} [options] Override http request option.
7398
- * @throws {RequiredError}
7399
- */
7400
- getGetAdminNumberPort: function (id_1) {
7401
- var args_1 = [];
7402
- for (var _i = 1; _i < arguments.length; _i++) {
7403
- args_1[_i - 1] = arguments[_i];
7404
- }
7405
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
7406
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7407
- if (options === void 0) { options = {}; }
7408
- return __generator(this, function (_a) {
7409
- // verify required parameter 'id' is not null or undefined
7410
- (0, common_1.assertParamExists)('getGetAdminNumberPort', 'id', id);
7411
- localVarPath = "/admin/sip/numbers/ports/{id}"
7412
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7413
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7414
- if (configuration) {
7415
- baseOptions = configuration.baseOptions;
7416
- }
7417
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7418
- localVarHeaderParameter = {};
7419
- localVarQueryParameter = {};
7420
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7421
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7422
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7423
- return [2 /*return*/, {
7424
- url: (0, common_1.toPathString)(localVarUrlObj),
7425
- options: localVarRequestOptions,
7426
- }];
7427
- });
7428
- });
7429
- },
7430
- /**
7431
- *
7432
- * @param {number} [pageSize] Number Of Results
7433
- * @param {number} [page] Page Number
7434
- * @param {string} [search] Search
7435
- * @param {*} [options] Override http request option.
7436
- * @throws {RequiredError}
7437
- */
7438
- getGetAdminNumberPorts: function (pageSize_1, page_1, search_1) {
7439
- var args_1 = [];
7440
- for (var _i = 3; _i < arguments.length; _i++) {
7441
- args_1[_i - 3] = arguments[_i];
7442
- }
7443
- return __awaiter(_this, __spreadArray([pageSize_1, page_1, search_1], args_1, true), void 0, function (pageSize, page, search, options) {
7444
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7445
- if (options === void 0) { options = {}; }
7446
- return __generator(this, function (_a) {
7447
- localVarPath = "/admin/sip/numbers/ports";
7448
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7449
- if (configuration) {
7450
- baseOptions = configuration.baseOptions;
7451
- }
7452
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7453
- localVarHeaderParameter = {};
7454
- localVarQueryParameter = {};
7455
- if (pageSize !== undefined) {
7456
- localVarQueryParameter['pageSize'] = pageSize;
7457
- }
7458
- if (page !== undefined) {
7459
- localVarQueryParameter['page'] = page;
7460
- }
7461
- if (search !== undefined) {
7462
- localVarQueryParameter['search'] = search;
7463
- }
7464
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7465
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7466
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7467
- return [2 /*return*/, {
7468
- url: (0, common_1.toPathString)(localVarUrlObj),
7469
- options: localVarRequestOptions,
7470
- }];
7471
- });
7472
- });
7473
- },
7474
- /**
7475
- *
7476
- * @param {number} id Number Port ID
7477
- * @param {*} [options] Override http request option.
7478
- * @throws {RequiredError}
7479
- */
7480
- getUpdateNumberPort: function (id_1) {
7481
- var args_1 = [];
7482
- for (var _i = 1; _i < arguments.length; _i++) {
7483
- args_1[_i - 1] = arguments[_i];
7484
- }
7485
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
7486
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7487
- if (options === void 0) { options = {}; }
7488
- return __generator(this, function (_a) {
7489
- // verify required parameter 'id' is not null or undefined
7490
- (0, common_1.assertParamExists)('getUpdateNumberPort', 'id', id);
7491
- localVarPath = "/sip/numbers/ports/{id}"
7492
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7493
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7494
- if (configuration) {
7495
- baseOptions = configuration.baseOptions;
7496
- }
7497
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7498
- localVarHeaderParameter = {};
7499
- localVarQueryParameter = {};
7500
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7501
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7502
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7503
- return [2 /*return*/, {
7504
- url: (0, common_1.toPathString)(localVarUrlObj),
7505
- options: localVarRequestOptions,
7506
- }];
7507
- });
7508
- });
7509
- },
7510
- /**
7511
- *
7512
- * @param {string | null} [companyName] Company Name
7513
- * @param {string | null} [addressLine1] Address Line 1
7514
- * @param {string | null} [addressLine2] Address Line 2
7515
- * @param {string | null} [city] City
7516
- * @param {string | null} [postCode] Post Code
7517
- * @param {number | null} [trunkId] Trunk ID
7518
- * @param {string | null} [tenantId] Starter Bundle ID
7519
- * @param {string | null} [requestedPortDate] Requested Port Date
7520
- * @param {boolean | null} [asap] Port Date ASAP
7521
- * @param {string | null} [comment] Comment
7522
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
7523
- * @param {File} [cloa] CLOA (only provide on submission)
7524
- * @param {*} [options] Override http request option.
7525
- * @throws {RequiredError}
7526
- */
7527
- postCreateNumberPort: function (companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
7528
- var args_1 = [];
7529
- for (var _i = 12; _i < arguments.length; _i++) {
7530
- args_1[_i - 12] = arguments[_i];
7531
- }
7532
- return __awaiter(_this, __spreadArray([companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
7533
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
7534
- if (options === void 0) { options = {}; }
7535
- return __generator(this, function (_a) {
7536
- localVarPath = "/sip/numbers/ports";
7537
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7538
- if (configuration) {
7539
- baseOptions = configuration.baseOptions;
7540
- }
7541
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
7542
- localVarHeaderParameter = {};
7543
- localVarQueryParameter = {};
7544
- localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
7545
- if (companyName !== undefined) {
7546
- localVarFormParams.append('companyName', companyName);
7547
- }
7548
- if (addressLine1 !== undefined) {
7549
- localVarFormParams.append('addressLine1', addressLine1);
7550
- }
7551
- if (addressLine2 !== undefined) {
7552
- localVarFormParams.append('addressLine2', addressLine2);
7553
- }
7554
- if (city !== undefined) {
7555
- localVarFormParams.append('city', city);
7556
- }
7557
- if (postCode !== undefined) {
7558
- localVarFormParams.append('postCode', postCode);
7559
- }
7560
- if (trunkId !== undefined) {
7561
- localVarFormParams.append('trunkId', trunkId);
7562
- }
7563
- if (tenantId !== undefined) {
7564
- localVarFormParams.append('tenantId', tenantId);
7565
- }
7566
- if (requestedPortDate !== undefined) {
7567
- localVarFormParams.append('requestedPortDate', requestedPortDate);
7568
- }
7569
- if (asap !== undefined) {
7570
- localVarFormParams.append('asap', String(asap));
7571
- }
7572
- if (comment !== undefined) {
7573
- localVarFormParams.append('comment', comment);
7574
- }
7575
- if (numberRanges) {
7576
- localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
7577
- }
7578
- if (cloa !== undefined) {
7579
- localVarFormParams.append('cloa', cloa);
7580
- }
7581
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
7582
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7583
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7584
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7585
- localVarRequestOptions.data = localVarFormParams;
7586
- return [2 /*return*/, {
7587
- url: (0, common_1.toPathString)(localVarUrlObj),
7588
- options: localVarRequestOptions,
7589
- }];
7590
- });
7591
- });
7592
- },
7593
- /**
7594
- *
7595
- * @param {number} id Number Port ID
7596
- * @param {string | null} [companyName] Company Name
7597
- * @param {string | null} [addressLine1] Address Line 1
7598
- * @param {string | null} [addressLine2] Address Line 2
7599
- * @param {string | null} [city] City
7600
- * @param {string | null} [postCode] Post Code
7601
- * @param {number | null} [trunkId] Trunk ID
7602
- * @param {string | null} [tenantId] Starter Bundle ID
7603
- * @param {string | null} [requestedPortDate] Requested Port Date
7604
- * @param {boolean | null} [asap] Port Date ASAP
7605
- * @param {string | null} [comment] Comment
7606
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
7607
- * @param {File} [cloa] CLOA (only provide on submission)
7608
- * @param {*} [options] Override http request option.
7609
- * @throws {RequiredError}
7610
- */
7611
- postSubmitNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
7612
- var args_1 = [];
7613
- for (var _i = 13; _i < arguments.length; _i++) {
7614
- args_1[_i - 13] = arguments[_i];
7615
- }
7616
- return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
7617
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
7618
- if (options === void 0) { options = {}; }
7619
- return __generator(this, function (_a) {
7620
- // verify required parameter 'id' is not null or undefined
7621
- (0, common_1.assertParamExists)('postSubmitNumberPort', 'id', id);
7622
- localVarPath = "/sip/numbers/ports/{id}/submit"
7623
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7624
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7625
- if (configuration) {
7626
- baseOptions = configuration.baseOptions;
7627
- }
7628
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
7629
- localVarHeaderParameter = {};
7630
- localVarQueryParameter = {};
7631
- localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
7632
- if (companyName !== undefined) {
7633
- localVarFormParams.append('companyName', companyName);
7634
- }
7635
- if (addressLine1 !== undefined) {
7636
- localVarFormParams.append('addressLine1', addressLine1);
7637
- }
7638
- if (addressLine2 !== undefined) {
7639
- localVarFormParams.append('addressLine2', addressLine2);
7640
- }
7641
- if (city !== undefined) {
7642
- localVarFormParams.append('city', city);
7643
- }
7644
- if (postCode !== undefined) {
7645
- localVarFormParams.append('postCode', postCode);
7646
- }
7647
- if (trunkId !== undefined) {
7648
- localVarFormParams.append('trunkId', trunkId);
7649
- }
7650
- if (tenantId !== undefined) {
7651
- localVarFormParams.append('tenantId', tenantId);
7652
- }
7653
- if (requestedPortDate !== undefined) {
7654
- localVarFormParams.append('requestedPortDate', requestedPortDate);
7655
- }
7656
- if (asap !== undefined) {
7657
- localVarFormParams.append('asap', String(asap));
7658
- }
7659
- if (comment !== undefined) {
7660
- localVarFormParams.append('comment', comment);
7661
- }
7662
- if (numberRanges) {
7663
- localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
7664
- }
7665
- if (cloa !== undefined) {
7666
- localVarFormParams.append('cloa', cloa);
7667
- }
7668
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
7669
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7670
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7671
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7672
- localVarRequestOptions.data = localVarFormParams;
7673
- return [2 /*return*/, {
7674
- url: (0, common_1.toPathString)(localVarUrlObj),
7675
- options: localVarRequestOptions,
7676
- }];
7677
- });
7678
- });
7679
- },
7680
- /**
7681
- *
7682
- * @param {number} id Number Port ID
7683
- * @param {string | null} [companyName] Company Name
7684
- * @param {string | null} [addressLine1] Address Line 1
7685
- * @param {string | null} [addressLine2] Address Line 2
7686
- * @param {string | null} [city] City
7687
- * @param {string | null} [postCode] Post Code
7688
- * @param {number | null} [trunkId] Trunk ID
7689
- * @param {string | null} [tenantId] Starter Bundle ID
7690
- * @param {string | null} [requestedPortDate] Requested Port Date
7691
- * @param {boolean | null} [asap] Port Date ASAP
7692
- * @param {string | null} [comment] Comment
7693
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
7694
- * @param {File} [cloa] CLOA (only provide on submission)
7695
- * @param {*} [options] Override http request option.
7696
- * @throws {RequiredError}
7697
- */
7698
- postUpdateNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1) {
7699
- var args_1 = [];
7700
- for (var _i = 13; _i < arguments.length; _i++) {
7701
- args_1[_i - 13] = arguments[_i];
7702
- }
7703
- return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, numberRanges_1, cloa_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
7704
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
7705
- if (options === void 0) { options = {}; }
7706
- return __generator(this, function (_a) {
7707
- // verify required parameter 'id' is not null or undefined
7708
- (0, common_1.assertParamExists)('postUpdateNumberPort', 'id', id);
7709
- localVarPath = "/sip/numbers/ports/{id}"
7710
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7711
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7712
- if (configuration) {
7713
- baseOptions = configuration.baseOptions;
7714
- }
7715
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
7716
- localVarHeaderParameter = {};
7717
- localVarQueryParameter = {};
7718
- localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
7719
- if (companyName !== undefined) {
7720
- localVarFormParams.append('companyName', companyName);
7721
- }
7722
- if (addressLine1 !== undefined) {
7723
- localVarFormParams.append('addressLine1', addressLine1);
7724
- }
7725
- if (addressLine2 !== undefined) {
7726
- localVarFormParams.append('addressLine2', addressLine2);
7727
- }
7728
- if (city !== undefined) {
7729
- localVarFormParams.append('city', city);
7730
- }
7731
- if (postCode !== undefined) {
7732
- localVarFormParams.append('postCode', postCode);
7733
- }
7734
- if (trunkId !== undefined) {
7735
- localVarFormParams.append('trunkId', trunkId);
7736
- }
7737
- if (tenantId !== undefined) {
7738
- localVarFormParams.append('tenantId', tenantId);
7739
- }
7740
- if (requestedPortDate !== undefined) {
7741
- localVarFormParams.append('requestedPortDate', requestedPortDate);
7742
- }
7743
- if (asap !== undefined) {
7744
- localVarFormParams.append('asap', String(asap));
7745
- }
7746
- if (comment !== undefined) {
7747
- localVarFormParams.append('comment', comment);
7748
- }
7749
- if (numberRanges) {
7750
- localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
7751
- }
7752
- if (cloa !== undefined) {
7753
- localVarFormParams.append('cloa', cloa);
7754
- }
7755
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
7756
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7757
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7758
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7759
- localVarRequestOptions.data = localVarFormParams;
7760
- return [2 /*return*/, {
7761
- url: (0, common_1.toPathString)(localVarUrlObj),
7762
- options: localVarRequestOptions,
7763
- }];
7764
- });
7765
- });
7766
- },
7767
- /**
7768
- *
7769
- * @param {number} id Number Port ID
7770
- * @param {string | null} [companyName] Company Name
7771
- * @param {string | null} [addressLine1] Address Line 1
7772
- * @param {string | null} [addressLine2] Address Line 2
7773
- * @param {string | null} [city] City
7774
- * @param {string | null} [postCode] Post Code
7775
- * @param {number | null} [trunkId] Trunk ID
7776
- * @param {string | null} [tenantId] Starter Bundle ID
7777
- * @param {string | null} [requestedPortDate] Requested Port Date
7778
- * @param {boolean | null} [asap] Port Date ASAP
7779
- * @param {string | null} [comment] Comment
7780
- * @param {number} [id2] Number Port ID
7781
- * @param {string} [customerName] Customer Name
7782
- * @param {string} [portDate] Porting Date
7783
- * @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
7784
- * @param {number} [status] Status
7785
- * @param {number | null} [ticketId] Ticket ID
7786
- * @param {*} [options] Override http request option.
7787
- * @throws {RequiredError}
7788
- */
7789
- putGetAdminNumberPort: function (id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, customerName_1, portDate_1, numberRanges_1, status_1, ticketId_1) {
7790
- var args_1 = [];
7791
- for (var _i = 17; _i < arguments.length; _i++) {
7792
- args_1[_i - 17] = arguments[_i];
7793
- }
7794
- return __awaiter(_this, __spreadArray([id_1, companyName_1, addressLine1_1, addressLine2_1, city_1, postCode_1, trunkId_1, tenantId_1, requestedPortDate_1, asap_1, comment_1, id2_1, customerName_1, portDate_1, numberRanges_1, status_1, ticketId_1], args_1, true), void 0, function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
7795
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
7796
- if (options === void 0) { options = {}; }
7797
- return __generator(this, function (_a) {
7798
- // verify required parameter 'id' is not null or undefined
7799
- (0, common_1.assertParamExists)('putGetAdminNumberPort', 'id', id);
7800
- localVarPath = "/admin/sip/numbers/ports/{id}"
7801
- .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
7802
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7803
- if (configuration) {
7804
- baseOptions = configuration.baseOptions;
7805
- }
7806
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
7807
- localVarHeaderParameter = {};
7808
- localVarQueryParameter = {};
7809
- localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
7810
- if (companyName !== undefined) {
7811
- localVarFormParams.append('companyName', companyName);
7812
- }
7813
- if (addressLine1 !== undefined) {
7814
- localVarFormParams.append('addressLine1', addressLine1);
7815
- }
7816
- if (addressLine2 !== undefined) {
7817
- localVarFormParams.append('addressLine2', addressLine2);
7818
- }
7819
- if (city !== undefined) {
7820
- localVarFormParams.append('city', city);
7821
- }
7822
- if (postCode !== undefined) {
7823
- localVarFormParams.append('postCode', postCode);
7824
- }
7825
- if (trunkId !== undefined) {
7826
- localVarFormParams.append('trunkId', trunkId);
7827
- }
7828
- if (tenantId !== undefined) {
7829
- localVarFormParams.append('tenantId', tenantId);
7830
- }
7831
- if (requestedPortDate !== undefined) {
7832
- localVarFormParams.append('requestedPortDate', requestedPortDate);
7833
- }
7834
- if (asap !== undefined) {
7835
- localVarFormParams.append('asap', String(asap));
7836
- }
7837
- if (comment !== undefined) {
7838
- localVarFormParams.append('comment', comment);
7839
- }
7840
- if (id2 !== undefined) {
7841
- localVarFormParams.append('id', id2);
7842
- }
7843
- if (customerName !== undefined) {
7844
- localVarFormParams.append('customerName', customerName);
7845
- }
7846
- if (portDate !== undefined) {
7847
- localVarFormParams.append('portDate', portDate);
7848
- }
7849
- if (numberRanges) {
7850
- localVarFormParams.append('numberRanges', numberRanges.join(base_1.COLLECTION_FORMATS.csv));
7851
- }
7852
- if (status !== undefined) {
7853
- localVarFormParams.append('status', status);
7854
- }
7855
- if (ticketId !== undefined) {
7856
- localVarFormParams.append('ticketId', ticketId);
7857
- }
7858
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
7859
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7860
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7861
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7862
- localVarRequestOptions.data = localVarFormParams;
7863
- return [2 /*return*/, {
7864
- url: (0, common_1.toPathString)(localVarUrlObj),
7865
- options: localVarRequestOptions,
7866
- }];
7867
- });
7868
- });
7869
- },
7870
- };
7871
- };
7872
- exports.NumberPortingApiAxiosParamCreator = NumberPortingApiAxiosParamCreator;
7873
- /**
7874
- * NumberPortingApi - functional programming interface
7875
- */
7876
- var NumberPortingApiFp = function (configuration) {
7877
- var localVarAxiosParamCreator = (0, exports.NumberPortingApiAxiosParamCreator)(configuration);
7878
- return {
7879
- /**
7880
- *
7881
- * @param {number} id Number Port ID
7882
- * @param {*} [options] Override http request option.
7883
- * @throws {RequiredError}
7884
- */
7885
- deleteGetAdminNumberPort: function (id, options) {
7886
- return __awaiter(this, void 0, void 0, function () {
7887
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7888
- var _a, _b, _c;
7889
- return __generator(this, function (_d) {
7890
- switch (_d.label) {
7891
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteGetAdminNumberPort(id, options)];
7892
- case 1:
7893
- localVarAxiosArgs = _d.sent();
7894
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7895
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.deleteGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7896
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7897
- }
7898
- });
7899
- });
7900
- },
7901
- /**
7902
- *
7903
- * @param {number} [pageSize] Number Of Results
7904
- * @param {number} [page] Page Number
7905
- * @param {string} [search] Search
7906
- * @param {*} [options] Override http request option.
7907
- * @throws {RequiredError}
7908
- */
7909
- getCreateNumberPort: function (pageSize, page, search, options) {
7910
- return __awaiter(this, void 0, void 0, function () {
7911
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7912
- var _a, _b, _c;
7913
- return __generator(this, function (_d) {
7914
- switch (_d.label) {
7915
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCreateNumberPort(pageSize, page, search, options)];
7916
- case 1:
7917
- localVarAxiosArgs = _d.sent();
7918
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7919
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7920
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7921
- }
7922
- });
7923
- });
7924
- },
7925
- /**
7926
- *
7927
- * @param {number} id Number Port ID
7928
- * @param {*} [options] Override http request option.
7929
- * @throws {RequiredError}
7930
- */
7931
- getGetAdminNumberPort: function (id, options) {
7932
- return __awaiter(this, void 0, void 0, function () {
7933
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7934
- var _a, _b, _c;
7935
- return __generator(this, function (_d) {
7936
- switch (_d.label) {
7937
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPort(id, options)];
7938
- case 1:
7939
- localVarAxiosArgs = _d.sent();
7940
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7941
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7942
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7943
- }
7944
- });
7945
- });
7946
- },
7947
- /**
7948
- *
7949
- * @param {number} [pageSize] Number Of Results
7950
- * @param {number} [page] Page Number
7951
- * @param {string} [search] Search
7952
- * @param {*} [options] Override http request option.
7953
- * @throws {RequiredError}
7954
- */
7955
- getGetAdminNumberPorts: function (pageSize, page, search, options) {
7956
- return __awaiter(this, void 0, void 0, function () {
7957
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7958
- var _a, _b, _c;
7959
- return __generator(this, function (_d) {
7960
- switch (_d.label) {
7961
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetAdminNumberPorts(pageSize, page, search, options)];
7962
- case 1:
7963
- localVarAxiosArgs = _d.sent();
7964
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7965
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getGetAdminNumberPorts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7966
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7967
- }
7968
- });
7969
- });
7970
- },
7971
- /**
7972
- *
7973
- * @param {number} id Number Port ID
7974
- * @param {*} [options] Override http request option.
7975
- * @throws {RequiredError}
7976
- */
7977
- getUpdateNumberPort: function (id, options) {
7978
- return __awaiter(this, void 0, void 0, function () {
7979
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7980
- var _a, _b, _c;
7981
- return __generator(this, function (_d) {
7982
- switch (_d.label) {
7983
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUpdateNumberPort(id, options)];
7984
- case 1:
7985
- localVarAxiosArgs = _d.sent();
7986
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7987
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.getUpdateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7988
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7989
- }
7990
- });
7991
- });
7992
- },
7993
- /**
7994
- *
7995
- * @param {string | null} [companyName] Company Name
7996
- * @param {string | null} [addressLine1] Address Line 1
7997
- * @param {string | null} [addressLine2] Address Line 2
7998
- * @param {string | null} [city] City
7999
- * @param {string | null} [postCode] Post Code
8000
- * @param {number | null} [trunkId] Trunk ID
8001
- * @param {string | null} [tenantId] Starter Bundle ID
8002
- * @param {string | null} [requestedPortDate] Requested Port Date
8003
- * @param {boolean | null} [asap] Port Date ASAP
8004
- * @param {string | null} [comment] Comment
8005
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8006
- * @param {File} [cloa] CLOA (only provide on submission)
8007
- * @param {*} [options] Override http request option.
8008
- * @throws {RequiredError}
8009
- */
8010
- postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
8011
- return __awaiter(this, void 0, void 0, function () {
8012
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8013
- var _a, _b, _c;
8014
- return __generator(this, function (_d) {
8015
- switch (_d.label) {
8016
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
8017
- case 1:
8018
- localVarAxiosArgs = _d.sent();
8019
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8020
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postCreateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8021
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8022
- }
8023
- });
8024
- });
8025
- },
8026
- /**
8027
- *
8028
- * @param {number} id Number Port ID
8029
- * @param {string | null} [companyName] Company Name
8030
- * @param {string | null} [addressLine1] Address Line 1
8031
- * @param {string | null} [addressLine2] Address Line 2
8032
- * @param {string | null} [city] City
8033
- * @param {string | null} [postCode] Post Code
8034
- * @param {number | null} [trunkId] Trunk ID
8035
- * @param {string | null} [tenantId] Starter Bundle ID
8036
- * @param {string | null} [requestedPortDate] Requested Port Date
8037
- * @param {boolean | null} [asap] Port Date ASAP
8038
- * @param {string | null} [comment] Comment
8039
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8040
- * @param {File} [cloa] CLOA (only provide on submission)
8041
- * @param {*} [options] Override http request option.
8042
- * @throws {RequiredError}
8043
- */
8044
- postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
8045
- return __awaiter(this, void 0, void 0, function () {
8046
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8047
- var _a, _b, _c;
8048
- return __generator(this, function (_d) {
8049
- switch (_d.label) {
8050
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
8051
- case 1:
8052
- localVarAxiosArgs = _d.sent();
8053
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8054
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postSubmitNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8055
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8056
- }
8057
- });
8058
- });
8059
- },
8060
- /**
8061
- *
8062
- * @param {number} id Number Port ID
8063
- * @param {string | null} [companyName] Company Name
8064
- * @param {string | null} [addressLine1] Address Line 1
8065
- * @param {string | null} [addressLine2] Address Line 2
8066
- * @param {string | null} [city] City
8067
- * @param {string | null} [postCode] Post Code
8068
- * @param {number | null} [trunkId] Trunk ID
8069
- * @param {string | null} [tenantId] Starter Bundle ID
8070
- * @param {string | null} [requestedPortDate] Requested Port Date
8071
- * @param {boolean | null} [asap] Port Date ASAP
8072
- * @param {string | null} [comment] Comment
8073
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8074
- * @param {File} [cloa] CLOA (only provide on submission)
8075
- * @param {*} [options] Override http request option.
8076
- * @throws {RequiredError}
8077
- */
8078
- postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
8079
- return __awaiter(this, void 0, void 0, function () {
8080
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8081
- var _a, _b, _c;
8082
- return __generator(this, function (_d) {
8083
- switch (_d.label) {
8084
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options)];
8085
- case 1:
8086
- localVarAxiosArgs = _d.sent();
8087
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8088
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.postUpdateNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8089
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8090
- }
8091
- });
8092
- });
8093
- },
8094
- /**
8095
- *
8096
- * @param {number} id Number Port ID
8097
- * @param {string | null} [companyName] Company Name
8098
- * @param {string | null} [addressLine1] Address Line 1
8099
- * @param {string | null} [addressLine2] Address Line 2
8100
- * @param {string | null} [city] City
8101
- * @param {string | null} [postCode] Post Code
8102
- * @param {number | null} [trunkId] Trunk ID
8103
- * @param {string | null} [tenantId] Starter Bundle ID
8104
- * @param {string | null} [requestedPortDate] Requested Port Date
8105
- * @param {boolean | null} [asap] Port Date ASAP
8106
- * @param {string | null} [comment] Comment
8107
- * @param {number} [id2] Number Port ID
8108
- * @param {string} [customerName] Customer Name
8109
- * @param {string} [portDate] Porting Date
8110
- * @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
8111
- * @param {number} [status] Status
8112
- * @param {number | null} [ticketId] Ticket ID
8113
- * @param {*} [options] Override http request option.
8114
- * @throws {RequiredError}
8115
- */
8116
- putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
8117
- return __awaiter(this, void 0, void 0, function () {
8118
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
8119
- var _a, _b, _c;
8120
- return __generator(this, function (_d) {
8121
- switch (_d.label) {
8122
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options)];
8123
- case 1:
8124
- localVarAxiosArgs = _d.sent();
8125
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8126
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NumberPortingApi.putGetAdminNumberPort']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8127
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
8128
- }
8129
- });
8130
- });
8131
- },
8132
- };
8133
- };
8134
- exports.NumberPortingApiFp = NumberPortingApiFp;
8135
- /**
8136
- * NumberPortingApi - factory interface
8137
- */
8138
- var NumberPortingApiFactory = function (configuration, basePath, axios) {
8139
- var localVarFp = (0, exports.NumberPortingApiFp)(configuration);
8140
- return {
8141
- /**
8142
- *
8143
- * @param {number} id Number Port ID
8144
- * @param {*} [options] Override http request option.
8145
- * @throws {RequiredError}
8146
- */
8147
- deleteGetAdminNumberPort: function (id, options) {
8148
- return localVarFp.deleteGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
8149
- },
7135
+ var localVarFp = (0, exports.Class3CXMultiTenantApiFp)(configuration);
7136
+ return {
8150
7137
  /**
8151
- *
8152
- * @param {number} [pageSize] Number Of Results
8153
- * @param {number} [page] Page Number
8154
- * @param {string} [search] Search
7138
+ * Delete 3CX Starter Bundle Tenant
7139
+ * @summary Delete 3CX MT Tenant
7140
+ * @param {string} reference Tenant Reference
8155
7141
  * @param {*} [options] Override http request option.
8156
7142
  * @throws {RequiredError}
8157
7143
  */
8158
- getCreateNumberPort: function (pageSize, page, search, options) {
8159
- return localVarFp.getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
7144
+ deleteGetTenant: function (reference, options) {
7145
+ return localVarFp.deleteGetTenant(reference, options).then(function (request) { return request(axios, basePath); });
8160
7146
  },
8161
7147
  /**
8162
- *
8163
- * @param {number} id Number Port ID
7148
+ * Get 3CX Starter Bundle Tenant
7149
+ * @summary Get 3CX MT Tenant
7150
+ * @param {string} reference Tenant Reference
8164
7151
  * @param {*} [options] Override http request option.
8165
7152
  * @throws {RequiredError}
8166
7153
  */
8167
- getGetAdminNumberPort: function (id, options) {
8168
- return localVarFp.getGetAdminNumberPort(id, options).then(function (request) { return request(axios, basePath); });
7154
+ getGetTenant: function (reference, options) {
7155
+ return localVarFp.getGetTenant(reference, options).then(function (request) { return request(axios, basePath); });
8169
7156
  },
8170
7157
  /**
8171
- *
7158
+ * Get 3CX Starter Bundle Tenants
7159
+ * @summary Get 3CX MT Tenants
8172
7160
  * @param {number} [pageSize] Number Of Results
8173
7161
  * @param {number} [page] Page Number
8174
7162
  * @param {string} [search] Search
7163
+ * @param {GetGetTenantsStatusEnum} [status] Status
8175
7164
  * @param {*} [options] Override http request option.
8176
7165
  * @throws {RequiredError}
8177
7166
  */
8178
- getGetAdminNumberPorts: function (pageSize, page, search, options) {
8179
- return localVarFp.getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(axios, basePath); });
8180
- },
8181
- /**
8182
- *
8183
- * @param {number} id Number Port ID
8184
- * @param {*} [options] Override http request option.
8185
- * @throws {RequiredError}
8186
- */
8187
- getUpdateNumberPort: function (id, options) {
8188
- return localVarFp.getUpdateNumberPort(id, options).then(function (request) { return request(axios, basePath); });
7167
+ getGetTenants: function (pageSize, page, search, status, options) {
7168
+ return localVarFp.getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(axios, basePath); });
8189
7169
  },
8190
7170
  /**
8191
- *
8192
- * @param {string | null} [companyName] Company Name
8193
- * @param {string | null} [addressLine1] Address Line 1
8194
- * @param {string | null} [addressLine2] Address Line 2
8195
- * @param {string | null} [city] City
8196
- * @param {string | null} [postCode] Post Code
8197
- * @param {number | null} [trunkId] Trunk ID
8198
- * @param {string | null} [tenantId] Starter Bundle ID
8199
- * @param {string | null} [requestedPortDate] Requested Port Date
8200
- * @param {boolean | null} [asap] Port Date ASAP
8201
- * @param {string | null} [comment] Comment
8202
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8203
- * @param {File} [cloa] CLOA (only provide on submission)
7171
+ * Add 3CX MT DDI
7172
+ * @summary Add 3CX MT DDI
7173
+ * @param {string} areacode Area Code
8204
7174
  * @param {*} [options] Override http request option.
8205
7175
  * @throws {RequiredError}
8206
7176
  */
8207
- postCreateNumberPort: function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
8208
- return localVarFp.postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
7177
+ postAddMtDdi: function (areacode, options) {
7178
+ return localVarFp.postAddMtDdi(areacode, options).then(function (request) { return request(axios, basePath); });
8209
7179
  },
8210
7180
  /**
8211
- *
8212
- * @param {number} id Number Port ID
8213
- * @param {string | null} [companyName] Company Name
8214
- * @param {string | null} [addressLine1] Address Line 1
8215
- * @param {string | null} [addressLine2] Address Line 2
8216
- * @param {string | null} [city] City
8217
- * @param {string | null} [postCode] Post Code
8218
- * @param {number | null} [trunkId] Trunk ID
8219
- * @param {string | null} [tenantId] Starter Bundle ID
8220
- * @param {string | null} [requestedPortDate] Requested Port Date
8221
- * @param {boolean | null} [asap] Port Date ASAP
8222
- * @param {string | null} [comment] Comment
8223
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8224
- * @param {File} [cloa] CLOA (only provide on submission)
7181
+ * Get 3CX MT New DDIs
7182
+ * @summary Get 3CX MT New DDIs
7183
+ * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
8225
7184
  * @param {*} [options] Override http request option.
8226
7185
  * @throws {RequiredError}
8227
7186
  */
8228
- postSubmitNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
8229
- return localVarFp.postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
7187
+ postGetMtNewDdis: function (multiTenantChangeResponseModel, options) {
7188
+ return localVarFp.postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
8230
7189
  },
8231
7190
  /**
8232
- *
8233
- * @param {number} id Number Port ID
8234
- * @param {string | null} [companyName] Company Name
8235
- * @param {string | null} [addressLine1] Address Line 1
8236
- * @param {string | null} [addressLine2] Address Line 2
8237
- * @param {string | null} [city] City
8238
- * @param {string | null} [postCode] Post Code
8239
- * @param {number | null} [trunkId] Trunk ID
8240
- * @param {string | null} [tenantId] Starter Bundle ID
8241
- * @param {string | null} [requestedPortDate] Requested Port Date
8242
- * @param {boolean | null} [asap] Port Date ASAP
8243
- * @param {string | null} [comment] Comment
8244
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8245
- * @param {File} [cloa] CLOA (only provide on submission)
7191
+ * Add 3CX Starter Bundle Tenant
7192
+ * @summary Add 3CX MT Tenant
7193
+ * @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
8246
7194
  * @param {*} [options] Override http request option.
8247
7195
  * @throws {RequiredError}
8248
7196
  */
8249
- postUpdateNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
8250
- return localVarFp.postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(axios, basePath); });
7197
+ postGetTenants: function (tcxMultiTenantModel, options) {
7198
+ return localVarFp.postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(axios, basePath); });
8251
7199
  },
8252
7200
  /**
8253
- *
8254
- * @param {number} id Number Port ID
8255
- * @param {string | null} [companyName] Company Name
8256
- * @param {string | null} [addressLine1] Address Line 1
8257
- * @param {string | null} [addressLine2] Address Line 2
8258
- * @param {string | null} [city] City
8259
- * @param {string | null} [postCode] Post Code
8260
- * @param {number | null} [trunkId] Trunk ID
8261
- * @param {string | null} [tenantId] Starter Bundle ID
8262
- * @param {string | null} [requestedPortDate] Requested Port Date
8263
- * @param {boolean | null} [asap] Port Date ASAP
8264
- * @param {string | null} [comment] Comment
8265
- * @param {number} [id2] Number Port ID
8266
- * @param {string} [customerName] Customer Name
8267
- * @param {string} [portDate] Porting Date
8268
- * @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
8269
- * @param {number} [status] Status
8270
- * @param {number | null} [ticketId] Ticket ID
7201
+ * Track 3CX MT Change
7202
+ * @summary Track 3CX MT Change
7203
+ * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
8271
7204
  * @param {*} [options] Override http request option.
8272
7205
  * @throws {RequiredError}
8273
7206
  */
8274
- putGetAdminNumberPort: function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
8275
- return localVarFp.putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(axios, basePath); });
7207
+ postTrackMtChange: function (multiTenantChangeResponseModel, options) {
7208
+ return localVarFp.postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(axios, basePath); });
8276
7209
  },
8277
7210
  };
8278
7211
  };
8279
- exports.NumberPortingApiFactory = NumberPortingApiFactory;
7212
+ exports.Class3CXMultiTenantApiFactory = Class3CXMultiTenantApiFactory;
8280
7213
  /**
8281
- * NumberPortingApi - object-oriented interface
7214
+ * Class3CXMultiTenantApi - object-oriented interface
7215
+ * @export
7216
+ * @class Class3CXMultiTenantApi
7217
+ * @extends {BaseAPI}
8282
7218
  */
8283
- var NumberPortingApi = /** @class */ (function (_super) {
8284
- __extends(NumberPortingApi, _super);
8285
- function NumberPortingApi() {
7219
+ var Class3CXMultiTenantApi = /** @class */ (function (_super) {
7220
+ __extends(Class3CXMultiTenantApi, _super);
7221
+ function Class3CXMultiTenantApi() {
8286
7222
  return _super !== null && _super.apply(this, arguments) || this;
8287
7223
  }
8288
7224
  /**
8289
- *
8290
- * @param {number} id Number Port ID
8291
- * @param {*} [options] Override http request option.
8292
- * @throws {RequiredError}
8293
- */
8294
- NumberPortingApi.prototype.deleteGetAdminNumberPort = function (id, options) {
8295
- var _this = this;
8296
- return (0, exports.NumberPortingApiFp)(this.configuration).deleteGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
8297
- };
8298
- /**
8299
- *
8300
- * @param {number} [pageSize] Number Of Results
8301
- * @param {number} [page] Page Number
8302
- * @param {string} [search] Search
7225
+ * Delete 3CX Starter Bundle Tenant
7226
+ * @summary Delete 3CX MT Tenant
7227
+ * @param {string} reference Tenant Reference
8303
7228
  * @param {*} [options] Override http request option.
8304
7229
  * @throws {RequiredError}
7230
+ * @memberof Class3CXMultiTenantApi
8305
7231
  */
8306
- NumberPortingApi.prototype.getCreateNumberPort = function (pageSize, page, search, options) {
7232
+ Class3CXMultiTenantApi.prototype.deleteGetTenant = function (reference, options) {
8307
7233
  var _this = this;
8308
- return (0, exports.NumberPortingApiFp)(this.configuration).getCreateNumberPort(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
7234
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).deleteGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
8309
7235
  };
8310
7236
  /**
8311
- *
8312
- * @param {number} id Number Port ID
7237
+ * Get 3CX Starter Bundle Tenant
7238
+ * @summary Get 3CX MT Tenant
7239
+ * @param {string} reference Tenant Reference
8313
7240
  * @param {*} [options] Override http request option.
8314
7241
  * @throws {RequiredError}
7242
+ * @memberof Class3CXMultiTenantApi
8315
7243
  */
8316
- NumberPortingApi.prototype.getGetAdminNumberPort = function (id, options) {
7244
+ Class3CXMultiTenantApi.prototype.getGetTenant = function (reference, options) {
8317
7245
  var _this = this;
8318
- return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
7246
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenant(reference, options).then(function (request) { return request(_this.axios, _this.basePath); });
8319
7247
  };
8320
7248
  /**
8321
- *
7249
+ * Get 3CX Starter Bundle Tenants
7250
+ * @summary Get 3CX MT Tenants
8322
7251
  * @param {number} [pageSize] Number Of Results
8323
7252
  * @param {number} [page] Page Number
8324
7253
  * @param {string} [search] Search
7254
+ * @param {GetGetTenantsStatusEnum} [status] Status
8325
7255
  * @param {*} [options] Override http request option.
8326
7256
  * @throws {RequiredError}
7257
+ * @memberof Class3CXMultiTenantApi
8327
7258
  */
8328
- NumberPortingApi.prototype.getGetAdminNumberPorts = function (pageSize, page, search, options) {
7259
+ Class3CXMultiTenantApi.prototype.getGetTenants = function (pageSize, page, search, status, options) {
8329
7260
  var _this = this;
8330
- return (0, exports.NumberPortingApiFp)(this.configuration).getGetAdminNumberPorts(pageSize, page, search, options).then(function (request) { return request(_this.axios, _this.basePath); });
7261
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).getGetTenants(pageSize, page, search, status, options).then(function (request) { return request(_this.axios, _this.basePath); });
8331
7262
  };
8332
7263
  /**
8333
- *
8334
- * @param {number} id Number Port ID
7264
+ * Add 3CX MT DDI
7265
+ * @summary Add 3CX MT DDI
7266
+ * @param {string} areacode Area Code
8335
7267
  * @param {*} [options] Override http request option.
8336
7268
  * @throws {RequiredError}
7269
+ * @memberof Class3CXMultiTenantApi
8337
7270
  */
8338
- NumberPortingApi.prototype.getUpdateNumberPort = function (id, options) {
7271
+ Class3CXMultiTenantApi.prototype.postAddMtDdi = function (areacode, options) {
8339
7272
  var _this = this;
8340
- return (0, exports.NumberPortingApiFp)(this.configuration).getUpdateNumberPort(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
7273
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postAddMtDdi(areacode, options).then(function (request) { return request(_this.axios, _this.basePath); });
8341
7274
  };
8342
7275
  /**
8343
- *
8344
- * @param {string | null} [companyName] Company Name
8345
- * @param {string | null} [addressLine1] Address Line 1
8346
- * @param {string | null} [addressLine2] Address Line 2
8347
- * @param {string | null} [city] City
8348
- * @param {string | null} [postCode] Post Code
8349
- * @param {number | null} [trunkId] Trunk ID
8350
- * @param {string | null} [tenantId] Starter Bundle ID
8351
- * @param {string | null} [requestedPortDate] Requested Port Date
8352
- * @param {boolean | null} [asap] Port Date ASAP
8353
- * @param {string | null} [comment] Comment
8354
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8355
- * @param {File} [cloa] CLOA (only provide on submission)
7276
+ * Get 3CX MT New DDIs
7277
+ * @summary Get 3CX MT New DDIs
7278
+ * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
8356
7279
  * @param {*} [options] Override http request option.
8357
7280
  * @throws {RequiredError}
7281
+ * @memberof Class3CXMultiTenantApi
8358
7282
  */
8359
- NumberPortingApi.prototype.postCreateNumberPort = function (companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
7283
+ Class3CXMultiTenantApi.prototype.postGetMtNewDdis = function (multiTenantChangeResponseModel, options) {
8360
7284
  var _this = this;
8361
- return (0, exports.NumberPortingApiFp)(this.configuration).postCreateNumberPort(companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
7285
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetMtNewDdis(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
8362
7286
  };
8363
7287
  /**
8364
- *
8365
- * @param {number} id Number Port ID
8366
- * @param {string | null} [companyName] Company Name
8367
- * @param {string | null} [addressLine1] Address Line 1
8368
- * @param {string | null} [addressLine2] Address Line 2
8369
- * @param {string | null} [city] City
8370
- * @param {string | null} [postCode] Post Code
8371
- * @param {number | null} [trunkId] Trunk ID
8372
- * @param {string | null} [tenantId] Starter Bundle ID
8373
- * @param {string | null} [requestedPortDate] Requested Port Date
8374
- * @param {boolean | null} [asap] Port Date ASAP
8375
- * @param {string | null} [comment] Comment
8376
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8377
- * @param {File} [cloa] CLOA (only provide on submission)
7288
+ * Add 3CX Starter Bundle Tenant
7289
+ * @summary Add 3CX MT Tenant
7290
+ * @param {TcxMultiTenantModel} [tcxMultiTenantModel] New 3CX Starter Bundle Request
8378
7291
  * @param {*} [options] Override http request option.
8379
7292
  * @throws {RequiredError}
7293
+ * @memberof Class3CXMultiTenantApi
8380
7294
  */
8381
- NumberPortingApi.prototype.postSubmitNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
7295
+ Class3CXMultiTenantApi.prototype.postGetTenants = function (tcxMultiTenantModel, options) {
8382
7296
  var _this = this;
8383
- return (0, exports.NumberPortingApiFp)(this.configuration).postSubmitNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
7297
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postGetTenants(tcxMultiTenantModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
8384
7298
  };
8385
7299
  /**
8386
- *
8387
- * @param {number} id Number Port ID
8388
- * @param {string | null} [companyName] Company Name
8389
- * @param {string | null} [addressLine1] Address Line 1
8390
- * @param {string | null} [addressLine2] Address Line 2
8391
- * @param {string | null} [city] City
8392
- * @param {string | null} [postCode] Post Code
8393
- * @param {number | null} [trunkId] Trunk ID
8394
- * @param {string | null} [tenantId] Starter Bundle ID
8395
- * @param {string | null} [requestedPortDate] Requested Port Date
8396
- * @param {boolean | null} [asap] Port Date ASAP
8397
- * @param {string | null} [comment] Comment
8398
- * @param {Array<NumberPortRangeRequestDTO>} [numberRanges] Number Ranges
8399
- * @param {File} [cloa] CLOA (only provide on submission)
7300
+ * Track 3CX MT Change
7301
+ * @summary Track 3CX MT Change
7302
+ * @param {MultiTenantChangeResponseModel} [multiTenantChangeResponseModel] Multi-Tenant Change Request
8400
7303
  * @param {*} [options] Override http request option.
8401
7304
  * @throws {RequiredError}
7305
+ * @memberof Class3CXMultiTenantApi
8402
7306
  */
8403
- NumberPortingApi.prototype.postUpdateNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options) {
7307
+ Class3CXMultiTenantApi.prototype.postTrackMtChange = function (multiTenantChangeResponseModel, options) {
8404
7308
  var _this = this;
8405
- return (0, exports.NumberPortingApiFp)(this.configuration).postUpdateNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, numberRanges, cloa, options).then(function (request) { return request(_this.axios, _this.basePath); });
7309
+ return (0, exports.Class3CXMultiTenantApiFp)(this.configuration).postTrackMtChange(multiTenantChangeResponseModel, options).then(function (request) { return request(_this.axios, _this.basePath); });
7310
+ };
7311
+ return Class3CXMultiTenantApi;
7312
+ }(base_1.BaseAPI));
7313
+ exports.Class3CXMultiTenantApi = Class3CXMultiTenantApi;
7314
+ /**
7315
+ * @export
7316
+ */
7317
+ exports.GetGetTenantsStatusEnum = {
7318
+ Completed: 'Completed',
7319
+ Outstanding: 'Outstanding',
7320
+ Offline: 'Offline',
7321
+ FailedOver: 'Failed Over'
7322
+ };
7323
+ /**
7324
+ * MyPBXToolsApi - axios parameter creator
7325
+ * @export
7326
+ */
7327
+ var MyPBXToolsApiAxiosParamCreator = function (configuration) {
7328
+ var _this = this;
7329
+ return {
7330
+ /**
7331
+ * Get 3CX Installation Details
7332
+ * @summary Fetch recording from a 3CX instance
7333
+ * @param {string} licenceKey Licence Key
7334
+ * @param {string} fileName File Name
7335
+ * @param {*} [options] Override http request option.
7336
+ * @throws {RequiredError}
7337
+ */
7338
+ getGetRecording: function (licenceKey_1, fileName_1) {
7339
+ var args_1 = [];
7340
+ for (var _i = 2; _i < arguments.length; _i++) {
7341
+ args_1[_i - 2] = arguments[_i];
7342
+ }
7343
+ return __awaiter(_this, __spreadArray([licenceKey_1, fileName_1], args_1, true), void 0, function (licenceKey, fileName, options) {
7344
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7345
+ if (options === void 0) { options = {}; }
7346
+ return __generator(this, function (_a) {
7347
+ // verify required parameter 'licenceKey' is not null or undefined
7348
+ (0, common_1.assertParamExists)('getGetRecording', 'licenceKey', licenceKey);
7349
+ // verify required parameter 'fileName' is not null or undefined
7350
+ (0, common_1.assertParamExists)('getGetRecording', 'fileName', fileName);
7351
+ localVarPath = "/mypbxtools/recordings";
7352
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7353
+ if (configuration) {
7354
+ baseOptions = configuration.baseOptions;
7355
+ }
7356
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7357
+ localVarHeaderParameter = {};
7358
+ localVarQueryParameter = {};
7359
+ if (licenceKey !== undefined) {
7360
+ localVarQueryParameter['licenceKey'] = licenceKey;
7361
+ }
7362
+ if (fileName !== undefined) {
7363
+ localVarQueryParameter['fileName'] = fileName;
7364
+ }
7365
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7366
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7367
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7368
+ return [2 /*return*/, {
7369
+ url: (0, common_1.toPathString)(localVarUrlObj),
7370
+ options: localVarRequestOptions,
7371
+ }];
7372
+ });
7373
+ });
7374
+ },
7375
+ };
7376
+ };
7377
+ exports.MyPBXToolsApiAxiosParamCreator = MyPBXToolsApiAxiosParamCreator;
7378
+ /**
7379
+ * MyPBXToolsApi - functional programming interface
7380
+ * @export
7381
+ */
7382
+ var MyPBXToolsApiFp = function (configuration) {
7383
+ var localVarAxiosParamCreator = (0, exports.MyPBXToolsApiAxiosParamCreator)(configuration);
7384
+ return {
7385
+ /**
7386
+ * Get 3CX Installation Details
7387
+ * @summary Fetch recording from a 3CX instance
7388
+ * @param {string} licenceKey Licence Key
7389
+ * @param {string} fileName File Name
7390
+ * @param {*} [options] Override http request option.
7391
+ * @throws {RequiredError}
7392
+ */
7393
+ getGetRecording: function (licenceKey, fileName, options) {
7394
+ return __awaiter(this, void 0, void 0, function () {
7395
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
7396
+ var _a, _b, _c;
7397
+ return __generator(this, function (_d) {
7398
+ switch (_d.label) {
7399
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetRecording(licenceKey, fileName, options)];
7400
+ case 1:
7401
+ localVarAxiosArgs = _d.sent();
7402
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
7403
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MyPBXToolsApi.getGetRecording']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
7404
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
7405
+ }
7406
+ });
7407
+ });
7408
+ },
7409
+ };
7410
+ };
7411
+ exports.MyPBXToolsApiFp = MyPBXToolsApiFp;
7412
+ /**
7413
+ * MyPBXToolsApi - factory interface
7414
+ * @export
7415
+ */
7416
+ var MyPBXToolsApiFactory = function (configuration, basePath, axios) {
7417
+ var localVarFp = (0, exports.MyPBXToolsApiFp)(configuration);
7418
+ return {
7419
+ /**
7420
+ * Get 3CX Installation Details
7421
+ * @summary Fetch recording from a 3CX instance
7422
+ * @param {string} licenceKey Licence Key
7423
+ * @param {string} fileName File Name
7424
+ * @param {*} [options] Override http request option.
7425
+ * @throws {RequiredError}
7426
+ */
7427
+ getGetRecording: function (licenceKey, fileName, options) {
7428
+ return localVarFp.getGetRecording(licenceKey, fileName, options).then(function (request) { return request(axios, basePath); });
7429
+ },
8406
7430
  };
7431
+ };
7432
+ exports.MyPBXToolsApiFactory = MyPBXToolsApiFactory;
7433
+ /**
7434
+ * MyPBXToolsApi - object-oriented interface
7435
+ * @export
7436
+ * @class MyPBXToolsApi
7437
+ * @extends {BaseAPI}
7438
+ */
7439
+ var MyPBXToolsApi = /** @class */ (function (_super) {
7440
+ __extends(MyPBXToolsApi, _super);
7441
+ function MyPBXToolsApi() {
7442
+ return _super !== null && _super.apply(this, arguments) || this;
7443
+ }
8407
7444
  /**
8408
- *
8409
- * @param {number} id Number Port ID
8410
- * @param {string | null} [companyName] Company Name
8411
- * @param {string | null} [addressLine1] Address Line 1
8412
- * @param {string | null} [addressLine2] Address Line 2
8413
- * @param {string | null} [city] City
8414
- * @param {string | null} [postCode] Post Code
8415
- * @param {number | null} [trunkId] Trunk ID
8416
- * @param {string | null} [tenantId] Starter Bundle ID
8417
- * @param {string | null} [requestedPortDate] Requested Port Date
8418
- * @param {boolean | null} [asap] Port Date ASAP
8419
- * @param {string | null} [comment] Comment
8420
- * @param {number} [id2] Number Port ID
8421
- * @param {string} [customerName] Customer Name
8422
- * @param {string} [portDate] Porting Date
8423
- * @param {Array<NumberPortRangeDTO>} [numberRanges] Number Ranges
8424
- * @param {number} [status] Status
8425
- * @param {number | null} [ticketId] Ticket ID
7445
+ * Get 3CX Installation Details
7446
+ * @summary Fetch recording from a 3CX instance
7447
+ * @param {string} licenceKey Licence Key
7448
+ * @param {string} fileName File Name
8426
7449
  * @param {*} [options] Override http request option.
8427
7450
  * @throws {RequiredError}
7451
+ * @memberof MyPBXToolsApi
8428
7452
  */
8429
- NumberPortingApi.prototype.putGetAdminNumberPort = function (id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options) {
7453
+ MyPBXToolsApi.prototype.getGetRecording = function (licenceKey, fileName, options) {
8430
7454
  var _this = this;
8431
- return (0, exports.NumberPortingApiFp)(this.configuration).putGetAdminNumberPort(id, companyName, addressLine1, addressLine2, city, postCode, trunkId, tenantId, requestedPortDate, asap, comment, id2, customerName, portDate, numberRanges, status, ticketId, options).then(function (request) { return request(_this.axios, _this.basePath); });
7455
+ return (0, exports.MyPBXToolsApiFp)(this.configuration).getGetRecording(licenceKey, fileName, options).then(function (request) { return request(_this.axios, _this.basePath); });
8432
7456
  };
8433
- return NumberPortingApi;
7457
+ return MyPBXToolsApi;
8434
7458
  }(base_1.BaseAPI));
8435
- exports.NumberPortingApi = NumberPortingApi;
7459
+ exports.MyPBXToolsApi = MyPBXToolsApi;
8436
7460
  /**
8437
7461
  * OAuth20Api - axios parameter creator
7462
+ * @export
8438
7463
  */
8439
7464
  var OAuth20ApiAxiosParamCreator = function (configuration) {
8440
7465
  var _this = this;
@@ -8730,6 +7755,7 @@ var OAuth20ApiAxiosParamCreator = function (configuration) {
8730
7755
  exports.OAuth20ApiAxiosParamCreator = OAuth20ApiAxiosParamCreator;
8731
7756
  /**
8732
7757
  * OAuth20Api - functional programming interface
7758
+ * @export
8733
7759
  */
8734
7760
  var OAuth20ApiFp = function (configuration) {
8735
7761
  var localVarAxiosParamCreator = (0, exports.OAuth20ApiAxiosParamCreator)(configuration);
@@ -8891,6 +7917,7 @@ var OAuth20ApiFp = function (configuration) {
8891
7917
  exports.OAuth20ApiFp = OAuth20ApiFp;
8892
7918
  /**
8893
7919
  * OAuth20Api - factory interface
7920
+ * @export
8894
7921
  */
8895
7922
  var OAuth20ApiFactory = function (configuration, basePath, axios) {
8896
7923
  var localVarFp = (0, exports.OAuth20ApiFp)(configuration);
@@ -8974,6 +8001,9 @@ var OAuth20ApiFactory = function (configuration, basePath, axios) {
8974
8001
  exports.OAuth20ApiFactory = OAuth20ApiFactory;
8975
8002
  /**
8976
8003
  * OAuth20Api - object-oriented interface
8004
+ * @export
8005
+ * @class OAuth20Api
8006
+ * @extends {BaseAPI}
8977
8007
  */
8978
8008
  var OAuth20Api = /** @class */ (function (_super) {
8979
8009
  __extends(OAuth20Api, _super);
@@ -8985,6 +8015,7 @@ var OAuth20Api = /** @class */ (function (_super) {
8985
8015
  * @summary Get MFA QR Code
8986
8016
  * @param {*} [options] Override http request option.
8987
8017
  * @throws {RequiredError}
8018
+ * @memberof OAuth20Api
8988
8019
  */
8989
8020
  OAuth20Api.prototype.getGetMfaQrCode = function (options) {
8990
8021
  var _this = this;
@@ -8995,6 +8026,7 @@ var OAuth20Api = /** @class */ (function (_super) {
8995
8026
  * @summary Get Scopes
8996
8027
  * @param {*} [options] Override http request option.
8997
8028
  * @throws {RequiredError}
8029
+ * @memberof OAuth20Api
8998
8030
  */
8999
8031
  OAuth20Api.prototype.getGetScopes = function (options) {
9000
8032
  var _this = this;
@@ -9017,6 +8049,7 @@ var OAuth20Api = /** @class */ (function (_super) {
9017
8049
  * @param {boolean | null} [endUser] End User (Only used in Token Exchange)
9018
8050
  * @param {*} [options] Override http request option.
9019
8051
  * @throws {RequiredError}
8052
+ * @memberof OAuth20Api
9020
8053
  */
9021
8054
  OAuth20Api.prototype.postAccessToken = function (clientId, clientSecret, grantType, scope, redirectUri, code, refreshToken, codeVerifier, token, tokenExchangeType, licenceKey, endUser, options) {
9022
8055
  var _this = this;
@@ -9034,6 +8067,7 @@ var OAuth20Api = /** @class */ (function (_super) {
9034
8067
  * @param {string} [codeChallengeMethod] OAuth 2.0 Code Challenge Method
9035
8068
  * @param {*} [options] Override http request option.
9036
8069
  * @throws {RequiredError}
8070
+ * @memberof OAuth20Api
9037
8071
  */
9038
8072
  OAuth20Api.prototype.postAuthorise = function (clientId, responseType, scope, redirectUri, state, codeChallenge, codeChallengeMethod, options) {
9039
8073
  var _this = this;
@@ -9044,6 +8078,7 @@ var OAuth20Api = /** @class */ (function (_super) {
9044
8078
  * @summary Get Token Identity
9045
8079
  * @param {*} [options] Override http request option.
9046
8080
  * @throws {RequiredError}
8081
+ * @memberof OAuth20Api
9047
8082
  */
9048
8083
  OAuth20Api.prototype.postGetIdentity = function (options) {
9049
8084
  var _this = this;
@@ -9055,6 +8090,7 @@ var OAuth20Api = /** @class */ (function (_super) {
9055
8090
  * @param {PortalLoginModel} [portalLoginModel] Login Credentials
9056
8091
  * @param {*} [options] Override http request option.
9057
8092
  * @throws {RequiredError}
8093
+ * @memberof OAuth20Api
9058
8094
  */
9059
8095
  OAuth20Api.prototype.postPortalLogin = function (portalLoginModel, options) {
9060
8096
  var _this = this;
@@ -9063,6 +8099,9 @@ var OAuth20Api = /** @class */ (function (_super) {
9063
8099
  return OAuth20Api;
9064
8100
  }(base_1.BaseAPI));
9065
8101
  exports.OAuth20Api = OAuth20Api;
8102
+ /**
8103
+ * @export
8104
+ */
9066
8105
  exports.PostAccessTokenGrantTypeEnum = {
9067
8106
  ClientCredentials: 'client_credentials',
9068
8107
  Code: 'code',
@@ -9072,6 +8111,9 @@ exports.PostAccessTokenGrantTypeEnum = {
9072
8111
  TokenExchange: 'token_exchange',
9073
8112
  Password: 'password'
9074
8113
  };
8114
+ /**
8115
+ * @export
8116
+ */
9075
8117
  exports.PostAccessTokenScopeEnum = {
9076
8118
  Star: '*',
9077
8119
  Fdps: 'fdps',
@@ -9080,8 +8122,6 @@ exports.PostAccessTokenScopeEnum = {
9080
8122
  TcxWizard: 'tcx_wizard',
9081
8123
  AccountsRead: 'accounts.read',
9082
8124
  AccountsWrite: 'accounts.write',
9083
- NumberPortingRead: 'number_porting.read',
9084
- NumberPortingWrite: 'number_porting.write',
9085
8125
  PricingRead: 'pricing.read',
9086
8126
  OrdersRead: 'orders.read',
9087
8127
  OrdersWrite: 'orders.write',
@@ -9100,10 +8140,16 @@ exports.PostAccessTokenScopeEnum = {
9100
8140
  TicketsRead: 'tickets.read',
9101
8141
  TicketsWrite: 'tickets.write'
9102
8142
  };
8143
+ /**
8144
+ * @export
8145
+ */
9103
8146
  exports.PostAccessTokenTokenExchangeTypeEnum = {
9104
8147
  TcxWizard: 'tcx_wizard',
9105
8148
  Portal: 'portal'
9106
8149
  };
8150
+ /**
8151
+ * @export
8152
+ */
9107
8153
  exports.PostAuthoriseScopeEnum = {
9108
8154
  Star: '*',
9109
8155
  Fdps: 'fdps',
@@ -9112,8 +8158,6 @@ exports.PostAuthoriseScopeEnum = {
9112
8158
  TcxWizard: 'tcx_wizard',
9113
8159
  AccountsRead: 'accounts.read',
9114
8160
  AccountsWrite: 'accounts.write',
9115
- NumberPortingRead: 'number_porting.read',
9116
- NumberPortingWrite: 'number_porting.write',
9117
8161
  PricingRead: 'pricing.read',
9118
8162
  OrdersRead: 'orders.read',
9119
8163
  OrdersWrite: 'orders.write',
@@ -9134,6 +8178,7 @@ exports.PostAuthoriseScopeEnum = {
9134
8178
  };
9135
8179
  /**
9136
8180
  * OrdersApi - axios parameter creator
8181
+ * @export
9137
8182
  */
9138
8183
  var OrdersApiAxiosParamCreator = function (configuration) {
9139
8184
  var _this = this;
@@ -9483,6 +8528,7 @@ var OrdersApiAxiosParamCreator = function (configuration) {
9483
8528
  exports.OrdersApiAxiosParamCreator = OrdersApiAxiosParamCreator;
9484
8529
  /**
9485
8530
  * OrdersApi - functional programming interface
8531
+ * @export
9486
8532
  */
9487
8533
  var OrdersApiFp = function (configuration) {
9488
8534
  var localVarAxiosParamCreator = (0, exports.OrdersApiAxiosParamCreator)(configuration);
@@ -9688,6 +8734,7 @@ var OrdersApiFp = function (configuration) {
9688
8734
  exports.OrdersApiFp = OrdersApiFp;
9689
8735
  /**
9690
8736
  * OrdersApi - factory interface
8737
+ * @export
9691
8738
  */
9692
8739
  var OrdersApiFactory = function (configuration, basePath, axios) {
9693
8740
  var localVarFp = (0, exports.OrdersApiFp)(configuration);
@@ -9789,6 +8836,9 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
9789
8836
  exports.OrdersApiFactory = OrdersApiFactory;
9790
8837
  /**
9791
8838
  * OrdersApi - object-oriented interface
8839
+ * @export
8840
+ * @class OrdersApi
8841
+ * @extends {BaseAPI}
9792
8842
  */
9793
8843
  var OrdersApi = /** @class */ (function (_super) {
9794
8844
  __extends(OrdersApi, _super);
@@ -9801,6 +8851,7 @@ var OrdersApi = /** @class */ (function (_super) {
9801
8851
  * @param {number} id Order ID
9802
8852
  * @param {*} [options] Override http request option.
9803
8853
  * @throws {RequiredError}
8854
+ * @memberof OrdersApi
9804
8855
  */
9805
8856
  OrdersApi.prototype.deleteUpdateOrder = function (id, options) {
9806
8857
  var _this = this;
@@ -9812,6 +8863,7 @@ var OrdersApi = /** @class */ (function (_super) {
9812
8863
  * @param {number} id Order ID
9813
8864
  * @param {*} [options] Override http request option.
9814
8865
  * @throws {RequiredError}
8866
+ * @memberof OrdersApi
9815
8867
  */
9816
8868
  OrdersApi.prototype.getGetAdminEditableOrder = function (id, options) {
9817
8869
  var _this = this;
@@ -9823,6 +8875,7 @@ var OrdersApi = /** @class */ (function (_super) {
9823
8875
  * @param {number} id Order ID
9824
8876
  * @param {*} [options] Override http request option.
9825
8877
  * @throws {RequiredError}
8878
+ * @memberof OrdersApi
9826
8879
  */
9827
8880
  OrdersApi.prototype.getGetEditableOrder = function (id, options) {
9828
8881
  var _this = this;
@@ -9840,6 +8893,7 @@ var OrdersApi = /** @class */ (function (_super) {
9840
8893
  * @param {number | null} [customerId] Customer ID
9841
8894
  * @param {*} [options] Override http request option.
9842
8895
  * @throws {RequiredError}
8896
+ * @memberof OrdersApi
9843
8897
  */
9844
8898
  OrdersApi.prototype.getGetOrders = function (pageSize, page, search, fulfillable, status, filter, customerId, options) {
9845
8899
  var _this = this;
@@ -9852,6 +8906,7 @@ var OrdersApi = /** @class */ (function (_super) {
9852
8906
  * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Admin Order Request
9853
8907
  * @param {*} [options] Override http request option.
9854
8908
  * @throws {RequiredError}
8909
+ * @memberof OrdersApi
9855
8910
  */
9856
8911
  OrdersApi.prototype.postCreateAdminOrder = function (readonly, adminOrderRequestDTO, options) {
9857
8912
  var _this = this;
@@ -9864,6 +8919,7 @@ var OrdersApi = /** @class */ (function (_super) {
9864
8919
  * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
9865
8920
  * @param {*} [options] Override http request option.
9866
8921
  * @throws {RequiredError}
8922
+ * @memberof OrdersApi
9867
8923
  */
9868
8924
  OrdersApi.prototype.postGetOrders = function (readonly, customerOrderRequestDTO, options) {
9869
8925
  var _this = this;
@@ -9877,6 +8933,7 @@ var OrdersApi = /** @class */ (function (_super) {
9877
8933
  * @param {AdminOrderRequestDTO} [adminOrderRequestDTO] Order Request
9878
8934
  * @param {*} [options] Override http request option.
9879
8935
  * @throws {RequiredError}
8936
+ * @memberof OrdersApi
9880
8937
  */
9881
8938
  OrdersApi.prototype.putUpdateAdminOrder = function (id, readonly, adminOrderRequestDTO, options) {
9882
8939
  var _this = this;
@@ -9890,6 +8947,7 @@ var OrdersApi = /** @class */ (function (_super) {
9890
8947
  * @param {CustomerOrderRequestDTO} [customerOrderRequestDTO] Order Request
9891
8948
  * @param {*} [options] Override http request option.
9892
8949
  * @throws {RequiredError}
8950
+ * @memberof OrdersApi
9893
8951
  */
9894
8952
  OrdersApi.prototype.putUpdateOrder = function (id, readonly, customerOrderRequestDTO, options) {
9895
8953
  var _this = this;
@@ -9898,12 +8956,18 @@ var OrdersApi = /** @class */ (function (_super) {
9898
8956
  return OrdersApi;
9899
8957
  }(base_1.BaseAPI));
9900
8958
  exports.OrdersApi = OrdersApi;
8959
+ /**
8960
+ * @export
8961
+ */
9901
8962
  exports.GetGetOrdersStatusEnum = {
9902
8963
  Paid: 'PAID',
9903
8964
  InvoicePaid: 'INVOICE_PAID',
9904
8965
  Unpaid: 'UNPAID',
9905
8966
  Quote: 'QUOTE'
9906
8967
  };
8968
+ /**
8969
+ * @export
8970
+ */
9907
8971
  exports.GetGetOrdersFilterEnum = {
9908
8972
  Outstanding: 'OUTSTANDING',
9909
8973
  Quotes: 'QUOTES',
@@ -9912,6 +8976,7 @@ exports.GetGetOrdersFilterEnum = {
9912
8976
  };
9913
8977
  /**
9914
8978
  * PricingApi - axios parameter creator
8979
+ * @export
9915
8980
  */
9916
8981
  var PricingApiAxiosParamCreator = function (configuration) {
9917
8982
  var _this = this;
@@ -10035,6 +9100,7 @@ var PricingApiAxiosParamCreator = function (configuration) {
10035
9100
  exports.PricingApiAxiosParamCreator = PricingApiAxiosParamCreator;
10036
9101
  /**
10037
9102
  * PricingApi - functional programming interface
9103
+ * @export
10038
9104
  */
10039
9105
  var PricingApiFp = function (configuration) {
10040
9106
  var localVarAxiosParamCreator = (0, exports.PricingApiAxiosParamCreator)(configuration);
@@ -10097,6 +9163,7 @@ var PricingApiFp = function (configuration) {
10097
9163
  exports.PricingApiFp = PricingApiFp;
10098
9164
  /**
10099
9165
  * PricingApi - factory interface
9166
+ * @export
10100
9167
  */
10101
9168
  var PricingApiFactory = function (configuration, basePath, axios) {
10102
9169
  var localVarFp = (0, exports.PricingApiFp)(configuration);
@@ -10133,6 +9200,9 @@ var PricingApiFactory = function (configuration, basePath, axios) {
10133
9200
  exports.PricingApiFactory = PricingApiFactory;
10134
9201
  /**
10135
9202
  * PricingApi - object-oriented interface
9203
+ * @export
9204
+ * @class PricingApi
9205
+ * @extends {BaseAPI}
10136
9206
  */
10137
9207
  var PricingApi = /** @class */ (function (_super) {
10138
9208
  __extends(PricingApi, _super);
@@ -10148,6 +9218,7 @@ var PricingApi = /** @class */ (function (_super) {
10148
9218
  * @param {string} [customerId] Customer ID
10149
9219
  * @param {*} [options] Override http request option.
10150
9220
  * @throws {RequiredError}
9221
+ * @memberof PricingApi
10151
9222
  */
10152
9223
  PricingApi.prototype.getGetPriceList = function (type, format, category, customerId, options) {
10153
9224
  var _this = this;
@@ -10163,6 +9234,7 @@ var PricingApi = /** @class */ (function (_super) {
10163
9234
  * @param {PostSendPriceListCategoryEnum} [category] Product Category
10164
9235
  * @param {*} [options] Override http request option.
10165
9236
  * @throws {RequiredError}
9237
+ * @memberof PricingApi
10166
9238
  */
10167
9239
  PricingApi.prototype.postSendPriceList = function (email, customerId, type, format, category, options) {
10168
9240
  var _this = this;
@@ -10171,6 +9243,9 @@ var PricingApi = /** @class */ (function (_super) {
10171
9243
  return PricingApi;
10172
9244
  }(base_1.BaseAPI));
10173
9245
  exports.PricingApi = PricingApi;
9246
+ /**
9247
+ * @export
9248
+ */
10174
9249
  exports.GetGetPriceListTypeEnum = {
10175
9250
  Products: 'Products',
10176
9251
  StockProducts: 'Stock Products',
@@ -10181,6 +9256,9 @@ exports.GetGetPriceListTypeEnum = {
10181
9256
  Sms: 'SMS',
10182
9257
  SipTrunks: 'SIP Trunks'
10183
9258
  };
9259
+ /**
9260
+ * @export
9261
+ */
10184
9262
  exports.GetGetPriceListFormatEnum = {
10185
9263
  Pdf: 'pdf',
10186
9264
  Json: 'json',
@@ -10188,6 +9266,9 @@ exports.GetGetPriceListFormatEnum = {
10188
9266
  Xml: 'xml',
10189
9267
  Html: 'html'
10190
9268
  };
9269
+ /**
9270
+ * @export
9271
+ */
10191
9272
  exports.GetGetPriceListCategoryEnum = {
10192
9273
  Yealink: 'Yealink',
10193
9274
  Mairdi: 'Mairdi',
@@ -10210,6 +9291,9 @@ exports.GetGetPriceListCategoryEnum = {
10210
9291
  FanvilAccessories: 'Fanvil Accessories',
10211
9292
  FanvilHotelPhones: 'Fanvil Hotel Phones'
10212
9293
  };
9294
+ /**
9295
+ * @export
9296
+ */
10213
9297
  exports.PostSendPriceListTypeEnum = {
10214
9298
  Products: 'Products',
10215
9299
  StockProducts: 'Stock Products',
@@ -10220,6 +9304,9 @@ exports.PostSendPriceListTypeEnum = {
10220
9304
  Sms: 'SMS',
10221
9305
  SipTrunks: 'SIP Trunks'
10222
9306
  };
9307
+ /**
9308
+ * @export
9309
+ */
10223
9310
  exports.PostSendPriceListFormatEnum = {
10224
9311
  Pdf: 'pdf',
10225
9312
  Json: 'json',
@@ -10227,6 +9314,9 @@ exports.PostSendPriceListFormatEnum = {
10227
9314
  Xml: 'xml',
10228
9315
  Html: 'html'
10229
9316
  };
9317
+ /**
9318
+ * @export
9319
+ */
10230
9320
  exports.PostSendPriceListCategoryEnum = {
10231
9321
  Yealink: 'Yealink',
10232
9322
  Mairdi: 'Mairdi',
@@ -10251,6 +9341,7 @@ exports.PostSendPriceListCategoryEnum = {
10251
9341
  };
10252
9342
  /**
10253
9343
  * ProductsApi - axios parameter creator
9344
+ * @export
10254
9345
  */
10255
9346
  var ProductsApiAxiosParamCreator = function (configuration) {
10256
9347
  var _this = this;
@@ -10600,6 +9691,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
10600
9691
  exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
10601
9692
  /**
10602
9693
  * ProductsApi - functional programming interface
9694
+ * @export
10603
9695
  */
10604
9696
  var ProductsApiFp = function (configuration) {
10605
9697
  var localVarAxiosParamCreator = (0, exports.ProductsApiAxiosParamCreator)(configuration);
@@ -10817,6 +9909,7 @@ var ProductsApiFp = function (configuration) {
10817
9909
  exports.ProductsApiFp = ProductsApiFp;
10818
9910
  /**
10819
9911
  * ProductsApi - factory interface
9912
+ * @export
10820
9913
  */
10821
9914
  var ProductsApiFactory = function (configuration, basePath, axios) {
10822
9915
  var localVarFp = (0, exports.ProductsApiFp)(configuration);
@@ -10917,6 +10010,9 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
10917
10010
  exports.ProductsApiFactory = ProductsApiFactory;
10918
10011
  /**
10919
10012
  * ProductsApi - object-oriented interface
10013
+ * @export
10014
+ * @class ProductsApi
10015
+ * @extends {BaseAPI}
10920
10016
  */
10921
10017
  var ProductsApi = /** @class */ (function (_super) {
10922
10018
  __extends(ProductsApi, _super);
@@ -10928,6 +10024,7 @@ var ProductsApi = /** @class */ (function (_super) {
10928
10024
  * @summary Get Attribute Sets
10929
10025
  * @param {*} [options] Override http request option.
10930
10026
  * @throws {RequiredError}
10027
+ * @memberof ProductsApi
10931
10028
  */
10932
10029
  ProductsApi.prototype.getGetAttributeSets = function (options) {
10933
10030
  var _this = this;
@@ -10938,6 +10035,7 @@ var ProductsApi = /** @class */ (function (_super) {
10938
10035
  * @summary Get Customer Price Lists
10939
10036
  * @param {*} [options] Override http request option.
10940
10037
  * @throws {RequiredError}
10038
+ * @memberof ProductsApi
10941
10039
  */
10942
10040
  ProductsApi.prototype.getGetCustomerPriceLists = function (options) {
10943
10041
  var _this = this;
@@ -10950,6 +10048,7 @@ var ProductsApi = /** @class */ (function (_super) {
10950
10048
  * @param {*} [options] Override http request option.
10951
10049
  * @deprecated
10952
10050
  * @throws {RequiredError}
10051
+ * @memberof ProductsApi
10953
10052
  */
10954
10053
  ProductsApi.prototype.getGetLegacyStockList = function (format, options) {
10955
10054
  var _this = this;
@@ -10960,6 +10059,7 @@ var ProductsApi = /** @class */ (function (_super) {
10960
10059
  * @summary Get Products
10961
10060
  * @param {*} [options] Override http request option.
10962
10061
  * @throws {RequiredError}
10062
+ * @memberof ProductsApi
10963
10063
  */
10964
10064
  ProductsApi.prototype.getGetProducts = function (options) {
10965
10065
  var _this = this;
@@ -10970,6 +10070,7 @@ var ProductsApi = /** @class */ (function (_super) {
10970
10070
  * @summary Get Current Stock & Pricing
10971
10071
  * @param {*} [options] Override http request option.
10972
10072
  * @throws {RequiredError}
10073
+ * @memberof ProductsApi
10973
10074
  */
10974
10075
  ProductsApi.prototype.getGetStockList = function (options) {
10975
10076
  var _this = this;
@@ -10980,6 +10081,7 @@ var ProductsApi = /** @class */ (function (_super) {
10980
10081
  * @summary Get 3CX Templates
10981
10082
  * @param {*} [options] Override http request option.
10982
10083
  * @throws {RequiredError}
10084
+ * @memberof ProductsApi
10983
10085
  */
10984
10086
  ProductsApi.prototype.getGetTcxTemplates = function (options) {
10985
10087
  var _this = this;
@@ -10993,6 +10095,7 @@ var ProductsApi = /** @class */ (function (_super) {
10993
10095
  * @param {string} [search] Search
10994
10096
  * @param {*} [options] Override http request option.
10995
10097
  * @throws {RequiredError}
10098
+ * @memberof ProductsApi
10996
10099
  */
10997
10100
  ProductsApi.prototype.getSearchProducts = function (pageSize, page, search, options) {
10998
10101
  var _this = this;
@@ -11005,6 +10108,7 @@ var ProductsApi = /** @class */ (function (_super) {
11005
10108
  * @param {PostGetProductRequest} postGetProductRequest Product search criteria
11006
10109
  * @param {*} [options] Override http request option.
11007
10110
  * @throws {RequiredError}
10111
+ * @memberof ProductsApi
11008
10112
  */
11009
10113
  ProductsApi.prototype.postGetProduct = function (sku, postGetProductRequest, options) {
11010
10114
  var _this = this;
@@ -11018,6 +10122,7 @@ var ProductsApi = /** @class */ (function (_super) {
11018
10122
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
11019
10123
  * @param {*} [options] Override http request option.
11020
10124
  * @throws {RequiredError}
10125
+ * @memberof ProductsApi
11021
10126
  */
11022
10127
  ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
11023
10128
  var _this = this;
@@ -11026,12 +10131,16 @@ var ProductsApi = /** @class */ (function (_super) {
11026
10131
  return ProductsApi;
11027
10132
  }(base_1.BaseAPI));
11028
10133
  exports.ProductsApi = ProductsApi;
10134
+ /**
10135
+ * @export
10136
+ */
11029
10137
  exports.GetGetLegacyStockListFormatEnum = {
11030
10138
  Xml: 'XML',
11031
10139
  Csv: 'CSV'
11032
10140
  };
11033
10141
  /**
11034
10142
  * ProvisioningApi - axios parameter creator
10143
+ * @export
11035
10144
  */
11036
10145
  var ProvisioningApiAxiosParamCreator = function (configuration) {
11037
10146
  var _this = this;
@@ -11311,6 +10420,7 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
11311
10420
  exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
11312
10421
  /**
11313
10422
  * ProvisioningApi - functional programming interface
10423
+ * @export
11314
10424
  */
11315
10425
  var ProvisioningApiFp = function (configuration) {
11316
10426
  var localVarAxiosParamCreator = (0, exports.ProvisioningApiAxiosParamCreator)(configuration);
@@ -11484,6 +10594,7 @@ var ProvisioningApiFp = function (configuration) {
11484
10594
  exports.ProvisioningApiFp = ProvisioningApiFp;
11485
10595
  /**
11486
10596
  * ProvisioningApi - factory interface
10597
+ * @export
11487
10598
  */
11488
10599
  var ProvisioningApiFactory = function (configuration, basePath, axios) {
11489
10600
  var localVarFp = (0, exports.ProvisioningApiFp)(configuration);
@@ -11566,6 +10677,9 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
11566
10677
  exports.ProvisioningApiFactory = ProvisioningApiFactory;
11567
10678
  /**
11568
10679
  * ProvisioningApi - object-oriented interface
10680
+ * @export
10681
+ * @class ProvisioningApi
10682
+ * @extends {BaseAPI}
11569
10683
  */
11570
10684
  var ProvisioningApi = /** @class */ (function (_super) {
11571
10685
  __extends(ProvisioningApi, _super);
@@ -11579,6 +10693,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11579
10693
  * @param {string} mac MAC Address
11580
10694
  * @param {*} [options] Override http request option.
11581
10695
  * @throws {RequiredError}
10696
+ * @memberof ProvisioningApi
11582
10697
  */
11583
10698
  ProvisioningApi.prototype.deleteAddFanvilMac = function (id, mac, options) {
11584
10699
  var _this = this;
@@ -11590,6 +10705,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11590
10705
  * @param {string} id Group ID
11591
10706
  * @param {*} [options] Override http request option.
11592
10707
  * @throws {RequiredError}
10708
+ * @memberof ProvisioningApi
11593
10709
  */
11594
10710
  ProvisioningApi.prototype.deleteDeleteFanvilGroup = function (id, options) {
11595
10711
  var _this = this;
@@ -11602,6 +10718,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11602
10718
  * @param {string} mac MAC Address
11603
10719
  * @param {*} [options] Override http request option.
11604
10720
  * @throws {RequiredError}
10721
+ * @memberof ProvisioningApi
11605
10722
  */
11606
10723
  ProvisioningApi.prototype.getGetFanvilEncryptionKey = function (id, mac, options) {
11607
10724
  var _this = this;
@@ -11613,6 +10730,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11613
10730
  * @param {string} id Group ID
11614
10731
  * @param {*} [options] Override http request option.
11615
10732
  * @throws {RequiredError}
10733
+ * @memberof ProvisioningApi
11616
10734
  */
11617
10735
  ProvisioningApi.prototype.getGetFanvilGroupMacs = function (id, options) {
11618
10736
  var _this = this;
@@ -11624,6 +10742,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11624
10742
  * @param {string} [id] Customer ID
11625
10743
  * @param {*} [options] Override http request option.
11626
10744
  * @throws {RequiredError}
10745
+ * @memberof ProvisioningApi
11627
10746
  */
11628
10747
  ProvisioningApi.prototype.getGetGroups = function (id, options) {
11629
10748
  var _this = this;
@@ -11635,6 +10754,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11635
10754
  * @param {ProvisioningRequestEntity} [provisioningRequestEntity] Provisioning Group Request
11636
10755
  * @param {*} [options] Override http request option.
11637
10756
  * @throws {RequiredError}
10757
+ * @memberof ProvisioningApi
11638
10758
  */
11639
10759
  ProvisioningApi.prototype.postAddFanvilGroup = function (provisioningRequestEntity, options) {
11640
10760
  var _this = this;
@@ -11647,6 +10767,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11647
10767
  * @param {string} mac MAC Address
11648
10768
  * @param {*} [options] Override http request option.
11649
10769
  * @throws {RequiredError}
10770
+ * @memberof ProvisioningApi
11650
10771
  */
11651
10772
  ProvisioningApi.prototype.postAddFanvilMac = function (id, mac, options) {
11652
10773
  var _this = this;
@@ -11657,6 +10778,7 @@ var ProvisioningApi = /** @class */ (function (_super) {
11657
10778
  exports.ProvisioningApi = ProvisioningApi;
11658
10779
  /**
11659
10780
  * SIPTrunksApi - axios parameter creator
10781
+ * @export
11660
10782
  */
11661
10783
  var SIPTrunksApiAxiosParamCreator = function (configuration) {
11662
10784
  var _this = this;
@@ -12540,6 +11662,7 @@ var SIPTrunksApiAxiosParamCreator = function (configuration) {
12540
11662
  exports.SIPTrunksApiAxiosParamCreator = SIPTrunksApiAxiosParamCreator;
12541
11663
  /**
12542
11664
  * SIPTrunksApi - functional programming interface
11665
+ * @export
12543
11666
  */
12544
11667
  var SIPTrunksApiFp = function (configuration) {
12545
11668
  var localVarAxiosParamCreator = (0, exports.SIPTrunksApiAxiosParamCreator)(configuration);
@@ -13068,6 +12191,7 @@ var SIPTrunksApiFp = function (configuration) {
13068
12191
  exports.SIPTrunksApiFp = SIPTrunksApiFp;
13069
12192
  /**
13070
12193
  * SIPTrunksApi - factory interface
12194
+ * @export
13071
12195
  */
13072
12196
  var SIPTrunksApiFactory = function (configuration, basePath, axios) {
13073
12197
  var localVarFp = (0, exports.SIPTrunksApiFp)(configuration);
@@ -13310,6 +12434,9 @@ var SIPTrunksApiFactory = function (configuration, basePath, axios) {
13310
12434
  exports.SIPTrunksApiFactory = SIPTrunksApiFactory;
13311
12435
  /**
13312
12436
  * SIPTrunksApi - object-oriented interface
12437
+ * @export
12438
+ * @class SIPTrunksApi
12439
+ * @extends {BaseAPI}
13313
12440
  */
13314
12441
  var SIPTrunksApi = /** @class */ (function (_super) {
13315
12442
  __extends(SIPTrunksApi, _super);
@@ -13322,6 +12449,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13322
12449
  * @param {number} id SIP Trunk ID
13323
12450
  * @param {*} [options] Override http request option.
13324
12451
  * @throws {RequiredError}
12452
+ * @memberof SIPTrunksApi
13325
12453
  */
13326
12454
  SIPTrunksApi.prototype.deleteGetSipTrunk = function (id, options) {
13327
12455
  var _this = this;
@@ -13333,6 +12461,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13333
12461
  * @param {number} id SIP Trunk ID
13334
12462
  * @param {*} [options] Override http request option.
13335
12463
  * @throws {RequiredError}
12464
+ * @memberof SIPTrunksApi
13336
12465
  */
13337
12466
  SIPTrunksApi.prototype.getCanDivert = function (id, options) {
13338
12467
  var _this = this;
@@ -13344,6 +12473,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13344
12473
  * @param {number} id SIP Trunk ID
13345
12474
  * @param {*} [options] Override http request option.
13346
12475
  * @throws {RequiredError}
12476
+ * @memberof SIPTrunksApi
13347
12477
  */
13348
12478
  SIPTrunksApi.prototype.getGetAddress = function (id, options) {
13349
12479
  var _this = this;
@@ -13354,6 +12484,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13354
12484
  * @summary Get UK National Area Codes
13355
12485
  * @param {*} [options] Override http request option.
13356
12486
  * @throws {RequiredError}
12487
+ * @memberof SIPTrunksApi
13357
12488
  */
13358
12489
  SIPTrunksApi.prototype.getGetAreaCodes = function (options) {
13359
12490
  var _this = this;
@@ -13365,6 +12496,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13365
12496
  * @param {number} id SIP Trunk ID
13366
12497
  * @param {*} [options] Override http request option.
13367
12498
  * @throws {RequiredError}
12499
+ * @memberof SIPTrunksApi
13368
12500
  */
13369
12501
  SIPTrunksApi.prototype.getGetCliFlexibility = function (id, options) {
13370
12502
  var _this = this;
@@ -13376,6 +12508,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13376
12508
  * @param {number} id SIP Trunk ID
13377
12509
  * @param {*} [options] Override http request option.
13378
12510
  * @throws {RequiredError}
12511
+ * @memberof SIPTrunksApi
13379
12512
  */
13380
12513
  SIPTrunksApi.prototype.getGetDdis = function (id, options) {
13381
12514
  var _this = this;
@@ -13388,6 +12521,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13388
12521
  * @param {boolean} [enabled] Enabled Diverts
13389
12522
  * @param {*} [options] Override http request option.
13390
12523
  * @throws {RequiredError}
12524
+ * @memberof SIPTrunksApi
13391
12525
  */
13392
12526
  SIPTrunksApi.prototype.getGetDiverts = function (id, enabled, options) {
13393
12527
  var _this = this;
@@ -13399,6 +12533,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13399
12533
  * @param {number} id SIP Trunk ID
13400
12534
  * @param {*} [options] Override http request option.
13401
12535
  * @throws {RequiredError}
12536
+ * @memberof SIPTrunksApi
13402
12537
  */
13403
12538
  SIPTrunksApi.prototype.getGetSipTrunk = function (id, options) {
13404
12539
  var _this = this;
@@ -13412,6 +12547,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13412
12547
  * @param {string} [search] Search
13413
12548
  * @param {*} [options] Override http request option.
13414
12549
  * @throws {RequiredError}
12550
+ * @memberof SIPTrunksApi
13415
12551
  */
13416
12552
  SIPTrunksApi.prototype.getGetSipTrunks = function (pageSize, page, search, options) {
13417
12553
  var _this = this;
@@ -13424,6 +12560,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13424
12560
  * @param {boolean} enabled Enabled
13425
12561
  * @param {*} [options] Override http request option.
13426
12562
  * @throws {RequiredError}
12563
+ * @memberof SIPTrunksApi
13427
12564
  */
13428
12565
  SIPTrunksApi.prototype.patchGetCliFlexibility = function (id, enabled, options) {
13429
12566
  var _this = this;
@@ -13435,6 +12572,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13435
12572
  * @param {number} id SIP Trunk ID
13436
12573
  * @param {*} [options] Override http request option.
13437
12574
  * @throws {RequiredError}
12575
+ * @memberof SIPTrunksApi
13438
12576
  */
13439
12577
  SIPTrunksApi.prototype.patchSetAsAvailable = function (id, options) {
13440
12578
  var _this = this;
@@ -13448,6 +12586,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13448
12586
  * @param {number} [billingCustomerId] Billing Customer ID
13449
12587
  * @param {*} [options] Override http request option.
13450
12588
  * @throws {RequiredError}
12589
+ * @memberof SIPTrunksApi
13451
12590
  */
13452
12591
  SIPTrunksApi.prototype.patchSetOwnership = function (id, ownerId, billingCustomerId, options) {
13453
12592
  var _this = this;
@@ -13460,6 +12599,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13460
12599
  * @param {number} channels SIP Channels
13461
12600
  * @param {*} [options] Override http request option.
13462
12601
  * @throws {RequiredError}
12602
+ * @memberof SIPTrunksApi
13463
12603
  */
13464
12604
  SIPTrunksApi.prototype.patchUpdateChannelCount = function (id, channels, options) {
13465
12605
  var _this = this;
@@ -13472,6 +12612,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13472
12612
  * @param {string} company Company Name
13473
12613
  * @param {*} [options] Override http request option.
13474
12614
  * @throws {RequiredError}
12615
+ * @memberof SIPTrunksApi
13475
12616
  */
13476
12617
  SIPTrunksApi.prototype.patchUpdateCompanyName = function (id, company, options) {
13477
12618
  var _this = this;
@@ -13484,6 +12625,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13484
12625
  * @param {string} number Main Trunk Number
13485
12626
  * @param {*} [options] Override http request option.
13486
12627
  * @throws {RequiredError}
12628
+ * @memberof SIPTrunksApi
13487
12629
  */
13488
12630
  SIPTrunksApi.prototype.patchUpdateMainTrunkNumber = function (id, number, options) {
13489
12631
  var _this = this;
@@ -13496,6 +12638,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13496
12638
  * @param {string} ipAddress PBX IP Address
13497
12639
  * @param {*} [options] Override http request option.
13498
12640
  * @throws {RequiredError}
12641
+ * @memberof SIPTrunksApi
13499
12642
  */
13500
12643
  SIPTrunksApi.prototype.patchUpdatePbxIPAddress = function (id, ipAddress, options) {
13501
12644
  var _this = this;
@@ -13508,6 +12651,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13508
12651
  * @param {DdiRangesRequestModel} [ddiRangesRequestModel] DDI Request
13509
12652
  * @param {*} [options] Override http request option.
13510
12653
  * @throws {RequiredError}
12654
+ * @memberof SIPTrunksApi
13511
12655
  */
13512
12656
  SIPTrunksApi.prototype.postGetDdis = function (id, ddiRangesRequestModel, options) {
13513
12657
  var _this = this;
@@ -13519,6 +12663,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13519
12663
  * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
13520
12664
  * @param {*} [options] Override http request option.
13521
12665
  * @throws {RequiredError}
12666
+ * @memberof SIPTrunksApi
13522
12667
  */
13523
12668
  SIPTrunksApi.prototype.postGetRequestedDdis = function (sipTrunkChangeResponseModel, options) {
13524
12669
  var _this = this;
@@ -13530,6 +12675,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13530
12675
  * @param {SipTrunkCreationRequestModel} [sipTrunkCreationRequestModel] New SIP Trunk Request
13531
12676
  * @param {*} [options] Override http request option.
13532
12677
  * @throws {RequiredError}
12678
+ * @memberof SIPTrunksApi
13533
12679
  */
13534
12680
  SIPTrunksApi.prototype.postGetSipTrunks = function (sipTrunkCreationRequestModel, options) {
13535
12681
  var _this = this;
@@ -13541,6 +12687,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13541
12687
  * @param {SipTrunkChangeResponseModel} [sipTrunkChangeResponseModel] Change Request
13542
12688
  * @param {*} [options] Override http request option.
13543
12689
  * @throws {RequiredError}
12690
+ * @memberof SIPTrunksApi
13544
12691
  */
13545
12692
  SIPTrunksApi.prototype.postTrackChange = function (sipTrunkChangeResponseModel, options) {
13546
12693
  var _this = this;
@@ -13553,6 +12700,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13553
12700
  * @param {AddressRequestModel} [addressRequestModel] Address Request
13554
12701
  * @param {*} [options] Override http request option.
13555
12702
  * @throws {RequiredError}
12703
+ * @memberof SIPTrunksApi
13556
12704
  */
13557
12705
  SIPTrunksApi.prototype.putGetAddress = function (id, addressRequestModel, options) {
13558
12706
  var _this = this;
@@ -13566,6 +12714,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13566
12714
  * @param {DivertRequestModel} [divertRequestModel] Divert Request
13567
12715
  * @param {*} [options] Override http request option.
13568
12716
  * @throws {RequiredError}
12717
+ * @memberof SIPTrunksApi
13569
12718
  */
13570
12719
  SIPTrunksApi.prototype.putGetDiverts = function (id, enabled, divertRequestModel, options) {
13571
12720
  var _this = this;
@@ -13576,6 +12725,7 @@ var SIPTrunksApi = /** @class */ (function (_super) {
13576
12725
  exports.SIPTrunksApi = SIPTrunksApi;
13577
12726
  /**
13578
12727
  * SMSApi - axios parameter creator
12728
+ * @export
13579
12729
  */
13580
12730
  var SMSApiAxiosParamCreator = function (configuration) {
13581
12731
  var _this = this;
@@ -13626,6 +12776,7 @@ var SMSApiAxiosParamCreator = function (configuration) {
13626
12776
  exports.SMSApiAxiosParamCreator = SMSApiAxiosParamCreator;
13627
12777
  /**
13628
12778
  * SMSApi - functional programming interface
12779
+ * @export
13629
12780
  */
13630
12781
  var SMSApiFp = function (configuration) {
13631
12782
  var localVarAxiosParamCreator = (0, exports.SMSApiAxiosParamCreator)(configuration);
@@ -13658,6 +12809,7 @@ var SMSApiFp = function (configuration) {
13658
12809
  exports.SMSApiFp = SMSApiFp;
13659
12810
  /**
13660
12811
  * SMSApi - factory interface
12812
+ * @export
13661
12813
  */
13662
12814
  var SMSApiFactory = function (configuration, basePath, axios) {
13663
12815
  var localVarFp = (0, exports.SMSApiFp)(configuration);
@@ -13677,6 +12829,9 @@ var SMSApiFactory = function (configuration, basePath, axios) {
13677
12829
  exports.SMSApiFactory = SMSApiFactory;
13678
12830
  /**
13679
12831
  * SMSApi - object-oriented interface
12832
+ * @export
12833
+ * @class SMSApi
12834
+ * @extends {BaseAPI}
13680
12835
  */
13681
12836
  var SMSApi = /** @class */ (function (_super) {
13682
12837
  __extends(SMSApi, _super);
@@ -13689,6 +12844,7 @@ var SMSApi = /** @class */ (function (_super) {
13689
12844
  * @param {SmsMessageModel} [smsMessageModel] SMS Message
13690
12845
  * @param {*} [options] Override http request option.
13691
12846
  * @throws {RequiredError}
12847
+ * @memberof SMSApi
13692
12848
  */
13693
12849
  SMSApi.prototype.postSendSms = function (authorization, smsMessageModel, options) {
13694
12850
  var _this = this;
@@ -13699,6 +12855,7 @@ var SMSApi = /** @class */ (function (_super) {
13699
12855
  exports.SMSApi = SMSApi;
13700
12856
  /**
13701
12857
  * ShippingApi - axios parameter creator
12858
+ * @export
13702
12859
  */
13703
12860
  var ShippingApiAxiosParamCreator = function (configuration) {
13704
12861
  var _this = this;
@@ -13786,6 +12943,7 @@ var ShippingApiAxiosParamCreator = function (configuration) {
13786
12943
  exports.ShippingApiAxiosParamCreator = ShippingApiAxiosParamCreator;
13787
12944
  /**
13788
12945
  * ShippingApi - functional programming interface
12946
+ * @export
13789
12947
  */
13790
12948
  var ShippingApiFp = function (configuration) {
13791
12949
  var localVarAxiosParamCreator = (0, exports.ShippingApiAxiosParamCreator)(configuration);
@@ -13842,6 +13000,7 @@ var ShippingApiFp = function (configuration) {
13842
13000
  exports.ShippingApiFp = ShippingApiFp;
13843
13001
  /**
13844
13002
  * ShippingApi - factory interface
13003
+ * @export
13845
13004
  */
13846
13005
  var ShippingApiFactory = function (configuration, basePath, axios) {
13847
13006
  var localVarFp = (0, exports.ShippingApiFp)(configuration);
@@ -13872,6 +13031,9 @@ var ShippingApiFactory = function (configuration, basePath, axios) {
13872
13031
  exports.ShippingApiFactory = ShippingApiFactory;
13873
13032
  /**
13874
13033
  * ShippingApi - object-oriented interface
13034
+ * @export
13035
+ * @class ShippingApi
13036
+ * @extends {BaseAPI}
13875
13037
  */
13876
13038
  var ShippingApi = /** @class */ (function (_super) {
13877
13039
  __extends(ShippingApi, _super);
@@ -13885,6 +13047,7 @@ var ShippingApi = /** @class */ (function (_super) {
13885
13047
  * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
13886
13048
  * @param {*} [options] Override http request option.
13887
13049
  * @throws {RequiredError}
13050
+ * @memberof ShippingApi
13888
13051
  */
13889
13052
  ShippingApi.prototype.postGetAdminShippingServices = function (customerId, shippingInformationDTO, options) {
13890
13053
  var _this = this;
@@ -13896,6 +13059,7 @@ var ShippingApi = /** @class */ (function (_super) {
13896
13059
  * @param {ShippingInformationDTO} [shippingInformationDTO] Shipping Information
13897
13060
  * @param {*} [options] Override http request option.
13898
13061
  * @throws {RequiredError}
13062
+ * @memberof ShippingApi
13899
13063
  */
13900
13064
  ShippingApi.prototype.postGetShippingServices = function (shippingInformationDTO, options) {
13901
13065
  var _this = this;
@@ -13906,6 +13070,7 @@ var ShippingApi = /** @class */ (function (_super) {
13906
13070
  exports.ShippingApi = ShippingApi;
13907
13071
  /**
13908
13072
  * StockManagementApi - axios parameter creator
13073
+ * @export
13909
13074
  */
13910
13075
  var StockManagementApiAxiosParamCreator = function (configuration) {
13911
13076
  var _this = this;
@@ -14870,6 +14035,7 @@ var StockManagementApiAxiosParamCreator = function (configuration) {
14870
14035
  exports.StockManagementApiAxiosParamCreator = StockManagementApiAxiosParamCreator;
14871
14036
  /**
14872
14037
  * StockManagementApi - functional programming interface
14038
+ * @export
14873
14039
  */
14874
14040
  var StockManagementApiFp = function (configuration) {
14875
14041
  var localVarAxiosParamCreator = (0, exports.StockManagementApiAxiosParamCreator)(configuration);
@@ -15448,6 +14614,7 @@ var StockManagementApiFp = function (configuration) {
15448
14614
  exports.StockManagementApiFp = StockManagementApiFp;
15449
14615
  /**
15450
14616
  * StockManagementApi - factory interface
14617
+ * @export
15451
14618
  */
15452
14619
  var StockManagementApiFactory = function (configuration, basePath, axios) {
15453
14620
  var localVarFp = (0, exports.StockManagementApiFp)(configuration);
@@ -15714,6 +14881,9 @@ var StockManagementApiFactory = function (configuration, basePath, axios) {
15714
14881
  exports.StockManagementApiFactory = StockManagementApiFactory;
15715
14882
  /**
15716
14883
  * StockManagementApi - object-oriented interface
14884
+ * @export
14885
+ * @class StockManagementApi
14886
+ * @extends {BaseAPI}
15717
14887
  */
15718
14888
  var StockManagementApi = /** @class */ (function (_super) {
15719
14889
  __extends(StockManagementApi, _super);
@@ -15726,6 +14896,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15726
14896
  * @param {number} id Stock Order ID
15727
14897
  * @param {*} [options] Override http request option.
15728
14898
  * @throws {RequiredError}
14899
+ * @memberof StockManagementApi
15729
14900
  */
15730
14901
  StockManagementApi.prototype.deleteDeleteStockOrder = function (id, options) {
15731
14902
  var _this = this;
@@ -15738,6 +14909,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15738
14909
  * @param {number} deductionId Stock Order Deduction ID
15739
14910
  * @param {*} [options] Override http request option.
15740
14911
  * @throws {RequiredError}
14912
+ * @memberof StockManagementApi
15741
14913
  */
15742
14914
  StockManagementApi.prototype.deleteDeleteStockOrderDeduction = function (orderId, deductionId, options) {
15743
14915
  var _this = this;
@@ -15750,6 +14922,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15750
14922
  * @param {number} itemId Stock Order Item ID
15751
14923
  * @param {*} [options] Override http request option.
15752
14924
  * @throws {RequiredError}
14925
+ * @memberof StockManagementApi
15753
14926
  */
15754
14927
  StockManagementApi.prototype.deleteDeleteStockOrderItem = function (orderId, itemId, options) {
15755
14928
  var _this = this;
@@ -15761,6 +14934,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15761
14934
  * @param {number} id Stock Product ID
15762
14935
  * @param {*} [options] Override http request option.
15763
14936
  * @throws {RequiredError}
14937
+ * @memberof StockManagementApi
15764
14938
  */
15765
14939
  StockManagementApi.prototype.deleteGetStockProduct = function (id, options) {
15766
14940
  var _this = this;
@@ -15772,6 +14946,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15772
14946
  * @param {number} id Stock Order ID
15773
14947
  * @param {*} [options] Override http request option.
15774
14948
  * @throws {RequiredError}
14949
+ * @memberof StockManagementApi
15775
14950
  */
15776
14951
  StockManagementApi.prototype.getDeleteStockOrder = function (id, options) {
15777
14952
  var _this = this;
@@ -15783,6 +14958,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15783
14958
  * @param {string} sku Product SKU
15784
14959
  * @param {*} [options] Override http request option.
15785
14960
  * @throws {RequiredError}
14961
+ * @memberof StockManagementApi
15786
14962
  */
15787
14963
  StockManagementApi.prototype.getGetProductDetails = function (sku, options) {
15788
14964
  var _this = this;
@@ -15794,6 +14970,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15794
14970
  * @param {number} id Stock Order ID
15795
14971
  * @param {*} [options] Override http request option.
15796
14972
  * @throws {RequiredError}
14973
+ * @memberof StockManagementApi
15797
14974
  */
15798
14975
  StockManagementApi.prototype.getGetStockOrderPurchaseOrder = function (id, options) {
15799
14976
  var _this = this;
@@ -15805,6 +14982,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15805
14982
  * @param {number} id Stock Order ID
15806
14983
  * @param {*} [options] Override http request option.
15807
14984
  * @throws {RequiredError}
14985
+ * @memberof StockManagementApi
15808
14986
  */
15809
14987
  StockManagementApi.prototype.getGetStockOrderSupplierEmail = function (id, options) {
15810
14988
  var _this = this;
@@ -15819,6 +14997,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15819
14997
  * @param {boolean} [outstanding] Outstanding Orders
15820
14998
  * @param {*} [options] Override http request option.
15821
14999
  * @throws {RequiredError}
15000
+ * @memberof StockManagementApi
15822
15001
  */
15823
15002
  StockManagementApi.prototype.getGetStockOrders = function (pageSize, page, search, outstanding, options) {
15824
15003
  var _this = this;
@@ -15830,6 +15009,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15830
15009
  * @param {number} id Stock Product ID
15831
15010
  * @param {*} [options] Override http request option.
15832
15011
  * @throws {RequiredError}
15012
+ * @memberof StockManagementApi
15833
15013
  */
15834
15014
  StockManagementApi.prototype.getGetStockProduct = function (id, options) {
15835
15015
  var _this = this;
@@ -15840,6 +15020,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15840
15020
  * @summary Get Stock Product Suppliers
15841
15021
  * @param {*} [options] Override http request option.
15842
15022
  * @throws {RequiredError}
15023
+ * @memberof StockManagementApi
15843
15024
  */
15844
15025
  StockManagementApi.prototype.getGetStockProductSuppliers = function (options) {
15845
15026
  var _this = this;
@@ -15853,6 +15034,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15853
15034
  * @param {string} [search] Search
15854
15035
  * @param {*} [options] Override http request option.
15855
15036
  * @throws {RequiredError}
15037
+ * @memberof StockManagementApi
15856
15038
  */
15857
15039
  StockManagementApi.prototype.getGetStockProducts = function (pageSize, page, search, options) {
15858
15040
  var _this = this;
@@ -15864,6 +15046,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15864
15046
  * @param {number} id Supplier ID
15865
15047
  * @param {*} [options] Override http request option.
15866
15048
  * @throws {RequiredError}
15049
+ * @memberof StockManagementApi
15867
15050
  */
15868
15051
  StockManagementApi.prototype.getGetStockSupplierProducts = function (id, options) {
15869
15052
  var _this = this;
@@ -15875,6 +15058,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15875
15058
  * @param {number} id Stock Order ID
15876
15059
  * @param {*} [options] Override http request option.
15877
15060
  * @throws {RequiredError}
15061
+ * @memberof StockManagementApi
15878
15062
  */
15879
15063
  StockManagementApi.prototype.getUploadStockOrderInvoice = function (id, options) {
15880
15064
  var _this = this;
@@ -15887,6 +15071,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15887
15071
  * @param {StockOrderModel} [stockOrderModel]
15888
15072
  * @param {*} [options] Override http request option.
15889
15073
  * @throws {RequiredError}
15074
+ * @memberof StockManagementApi
15890
15075
  */
15891
15076
  StockManagementApi.prototype.patchDeleteStockOrder = function (id, stockOrderModel, options) {
15892
15077
  var _this = this;
@@ -15900,6 +15085,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15900
15085
  * @param {StockOrderDeductionModel} [stockOrderDeductionModel]
15901
15086
  * @param {*} [options] Override http request option.
15902
15087
  * @throws {RequiredError}
15088
+ * @memberof StockManagementApi
15903
15089
  */
15904
15090
  StockManagementApi.prototype.patchDeleteStockOrderDeduction = function (orderId, deductionId, stockOrderDeductionModel, options) {
15905
15091
  var _this = this;
@@ -15913,6 +15099,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15913
15099
  * @param {StockOrderItemModel} [stockOrderItemModel]
15914
15100
  * @param {*} [options] Override http request option.
15915
15101
  * @throws {RequiredError}
15102
+ * @memberof StockManagementApi
15916
15103
  */
15917
15104
  StockManagementApi.prototype.patchDeleteStockOrderItem = function (orderId, itemId, stockOrderItemModel, options) {
15918
15105
  var _this = this;
@@ -15925,6 +15112,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15925
15112
  * @param {Array<StockOrderDeductionRequestModel>} [stockOrderDeductionRequestModel]
15926
15113
  * @param {*} [options] Override http request option.
15927
15114
  * @throws {RequiredError}
15115
+ * @memberof StockManagementApi
15928
15116
  */
15929
15117
  StockManagementApi.prototype.postAddStockOrderDeduction = function (id, stockOrderDeductionRequestModel, options) {
15930
15118
  var _this = this;
@@ -15937,6 +15125,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15937
15125
  * @param {Array<StockOrderItemRequestModel>} [stockOrderItemRequestModel]
15938
15126
  * @param {*} [options] Override http request option.
15939
15127
  * @throws {RequiredError}
15128
+ * @memberof StockManagementApi
15940
15129
  */
15941
15130
  StockManagementApi.prototype.postAddStockOrderItem = function (id, stockOrderItemRequestModel, options) {
15942
15131
  var _this = this;
@@ -15948,6 +15137,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15948
15137
  * @param {StockOrderRequestModel} [stockOrderRequestModel]
15949
15138
  * @param {*} [options] Override http request option.
15950
15139
  * @throws {RequiredError}
15140
+ * @memberof StockManagementApi
15951
15141
  */
15952
15142
  StockManagementApi.prototype.postGetStockOrders = function (stockOrderRequestModel, options) {
15953
15143
  var _this = this;
@@ -15959,6 +15149,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15959
15149
  * @param {StockProductModel} [stockProductModel] Stock Product
15960
15150
  * @param {*} [options] Override http request option.
15961
15151
  * @throws {RequiredError}
15152
+ * @memberof StockManagementApi
15962
15153
  */
15963
15154
  StockManagementApi.prototype.postGetStockProducts = function (stockProductModel, options) {
15964
15155
  var _this = this;
@@ -15971,6 +15162,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15971
15162
  * @param {File} invoice Supplier Invoice
15972
15163
  * @param {*} [options] Override http request option.
15973
15164
  * @throws {RequiredError}
15165
+ * @memberof StockManagementApi
15974
15166
  */
15975
15167
  StockManagementApi.prototype.postUploadStockOrderInvoice = function (id, invoice, options) {
15976
15168
  var _this = this;
@@ -15983,6 +15175,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15983
15175
  * @param {StockProductModel} [stockProductModel] Stock Product
15984
15176
  * @param {*} [options] Override http request option.
15985
15177
  * @throws {RequiredError}
15178
+ * @memberof StockManagementApi
15986
15179
  */
15987
15180
  StockManagementApi.prototype.putGetStockProduct = function (id, stockProductModel, options) {
15988
15181
  var _this = this;
@@ -15996,6 +15189,7 @@ var StockManagementApi = /** @class */ (function (_super) {
15996
15189
  * @param {number} received Quantity Received
15997
15190
  * @param {*} [options] Override http request option.
15998
15191
  * @throws {RequiredError}
15192
+ * @memberof StockManagementApi
15999
15193
  */
16000
15194
  StockManagementApi.prototype.putReceiveStockOrderItem = function (orderId, itemId, received, options) {
16001
15195
  var _this = this;
@@ -16006,6 +15200,7 @@ var StockManagementApi = /** @class */ (function (_super) {
16006
15200
  exports.StockManagementApi = StockManagementApi;
16007
15201
  /**
16008
15202
  * SystemApi - axios parameter creator
15203
+ * @export
16009
15204
  */
16010
15205
  var SystemApiAxiosParamCreator = function (configuration) {
16011
15206
  var _this = this;
@@ -16079,6 +15274,7 @@ var SystemApiAxiosParamCreator = function (configuration) {
16079
15274
  exports.SystemApiAxiosParamCreator = SystemApiAxiosParamCreator;
16080
15275
  /**
16081
15276
  * SystemApi - functional programming interface
15277
+ * @export
16082
15278
  */
16083
15279
  var SystemApiFp = function (configuration) {
16084
15280
  var localVarAxiosParamCreator = (0, exports.SystemApiAxiosParamCreator)(configuration);
@@ -16117,6 +15313,7 @@ var SystemApiFp = function (configuration) {
16117
15313
  exports.SystemApiFp = SystemApiFp;
16118
15314
  /**
16119
15315
  * SystemApi - factory interface
15316
+ * @export
16120
15317
  */
16121
15318
  var SystemApiFactory = function (configuration, basePath, axios) {
16122
15319
  var localVarFp = (0, exports.SystemApiFp)(configuration);
@@ -16142,6 +15339,9 @@ var SystemApiFactory = function (configuration, basePath, axios) {
16142
15339
  exports.SystemApiFactory = SystemApiFactory;
16143
15340
  /**
16144
15341
  * SystemApi - object-oriented interface
15342
+ * @export
15343
+ * @class SystemApi
15344
+ * @extends {BaseAPI}
16145
15345
  */
16146
15346
  var SystemApi = /** @class */ (function (_super) {
16147
15347
  __extends(SystemApi, _super);
@@ -16160,6 +15360,7 @@ var SystemApi = /** @class */ (function (_super) {
16160
15360
  * @param {number} [page] Page Number
16161
15361
  * @param {*} [options] Override http request option.
16162
15362
  * @throws {RequiredError}
15363
+ * @memberof SystemApi
16163
15364
  */
16164
15365
  SystemApi.prototype.getLogSearch = function (clientId, clientIp, responseCode, date, filterOutDomain, pageSize, page, options) {
16165
15366
  var _this = this;
@@ -16170,6 +15371,7 @@ var SystemApi = /** @class */ (function (_super) {
16170
15371
  exports.SystemApi = SystemApi;
16171
15372
  /**
16172
15373
  * TicketsApi - axios parameter creator
15374
+ * @export
16173
15375
  */
16174
15376
  var TicketsApiAxiosParamCreator = function (configuration) {
16175
15377
  var _this = this;
@@ -16393,6 +15595,7 @@ var TicketsApiAxiosParamCreator = function (configuration) {
16393
15595
  exports.TicketsApiAxiosParamCreator = TicketsApiAxiosParamCreator;
16394
15596
  /**
16395
15597
  * TicketsApi - functional programming interface
15598
+ * @export
16396
15599
  */
16397
15600
  var TicketsApiFp = function (configuration) {
16398
15601
  var localVarAxiosParamCreator = (0, exports.TicketsApiAxiosParamCreator)(configuration);
@@ -16518,6 +15721,7 @@ var TicketsApiFp = function (configuration) {
16518
15721
  exports.TicketsApiFp = TicketsApiFp;
16519
15722
  /**
16520
15723
  * TicketsApi - factory interface
15724
+ * @export
16521
15725
  */
16522
15726
  var TicketsApiFactory = function (configuration, basePath, axios) {
16523
15727
  var localVarFp = (0, exports.TicketsApiFp)(configuration);
@@ -16578,6 +15782,9 @@ var TicketsApiFactory = function (configuration, basePath, axios) {
16578
15782
  exports.TicketsApiFactory = TicketsApiFactory;
16579
15783
  /**
16580
15784
  * TicketsApi - object-oriented interface
15785
+ * @export
15786
+ * @class TicketsApi
15787
+ * @extends {BaseAPI}
16581
15788
  */
16582
15789
  var TicketsApi = /** @class */ (function (_super) {
16583
15790
  __extends(TicketsApi, _super);
@@ -16591,6 +15798,7 @@ var TicketsApi = /** @class */ (function (_super) {
16591
15798
  * @param {number} [page] Page Number
16592
15799
  * @param {*} [options] Override http request option.
16593
15800
  * @throws {RequiredError}
15801
+ * @memberof TicketsApi
16594
15802
  */
16595
15803
  TicketsApi.prototype.getCreateTicket = function (search, pageSize, page, options) {
16596
15804
  var _this = this;
@@ -16601,6 +15809,7 @@ var TicketsApi = /** @class */ (function (_super) {
16601
15809
  * @param {number} id Ticket ID
16602
15810
  * @param {*} [options] Override http request option.
16603
15811
  * @throws {RequiredError}
15812
+ * @memberof TicketsApi
16604
15813
  */
16605
15814
  TicketsApi.prototype.getGetTicket = function (id, options) {
16606
15815
  var _this = this;
@@ -16611,6 +15820,7 @@ var TicketsApi = /** @class */ (function (_super) {
16611
15820
  * @param {number} id Ticket ID
16612
15821
  * @param {*} [options] Override http request option.
16613
15822
  * @throws {RequiredError}
15823
+ * @memberof TicketsApi
16614
15824
  */
16615
15825
  TicketsApi.prototype.patchCloseTicket = function (id, options) {
16616
15826
  var _this = this;
@@ -16623,6 +15833,7 @@ var TicketsApi = /** @class */ (function (_super) {
16623
15833
  * @param {Array<File>} [attachments] Attachments (up to 20MB combined)
16624
15834
  * @param {*} [options] Override http request option.
16625
15835
  * @throws {RequiredError}
15836
+ * @memberof TicketsApi
16626
15837
  */
16627
15838
  TicketsApi.prototype.postCreateTicket = function (subject, message, attachments, options) {
16628
15839
  var _this = this;
@@ -16635,6 +15846,7 @@ var TicketsApi = /** @class */ (function (_super) {
16635
15846
  * @param {Array<File>} [attachments] Attachments (up to 20MB combined)
16636
15847
  * @param {*} [options] Override http request option.
16637
15848
  * @throws {RequiredError}
15849
+ * @memberof TicketsApi
16638
15850
  */
16639
15851
  TicketsApi.prototype.postTicketReply = function (id, body, attachments, options) {
16640
15852
  var _this = this;
@@ -16645,6 +15857,7 @@ var TicketsApi = /** @class */ (function (_super) {
16645
15857
  exports.TicketsApi = TicketsApi;
16646
15858
  /**
16647
15859
  * WebhooksApi - axios parameter creator
15860
+ * @export
16648
15861
  */
16649
15862
  var WebhooksApiAxiosParamCreator = function (configuration) {
16650
15863
  var _this = this;
@@ -16732,6 +15945,7 @@ var WebhooksApiAxiosParamCreator = function (configuration) {
16732
15945
  exports.WebhooksApiAxiosParamCreator = WebhooksApiAxiosParamCreator;
16733
15946
  /**
16734
15947
  * WebhooksApi - functional programming interface
15948
+ * @export
16735
15949
  */
16736
15950
  var WebhooksApiFp = function (configuration) {
16737
15951
  var localVarAxiosParamCreator = (0, exports.WebhooksApiAxiosParamCreator)(configuration);
@@ -16787,6 +16001,7 @@ var WebhooksApiFp = function (configuration) {
16787
16001
  exports.WebhooksApiFp = WebhooksApiFp;
16788
16002
  /**
16789
16003
  * WebhooksApi - factory interface
16004
+ * @export
16790
16005
  */
16791
16006
  var WebhooksApiFactory = function (configuration, basePath, axios) {
16792
16007
  var localVarFp = (0, exports.WebhooksApiFp)(configuration);
@@ -16816,6 +16031,9 @@ var WebhooksApiFactory = function (configuration, basePath, axios) {
16816
16031
  exports.WebhooksApiFactory = WebhooksApiFactory;
16817
16032
  /**
16818
16033
  * WebhooksApi - object-oriented interface
16034
+ * @export
16035
+ * @class WebhooksApi
16036
+ * @extends {BaseAPI}
16819
16037
  */
16820
16038
  var WebhooksApi = /** @class */ (function (_super) {
16821
16039
  __extends(WebhooksApi, _super);
@@ -16828,6 +16046,7 @@ var WebhooksApi = /** @class */ (function (_super) {
16828
16046
  * @param {string} authKey Webhook Authentication Key
16829
16047
  * @param {*} [options] Override http request option.
16830
16048
  * @throws {RequiredError}
16049
+ * @memberof WebhooksApi
16831
16050
  */
16832
16051
  WebhooksApi.prototype.deleteRevokeWebhook = function (authKey, options) {
16833
16052
  var _this = this;
@@ -16839,6 +16058,7 @@ var WebhooksApi = /** @class */ (function (_super) {
16839
16058
  * @param {PostAddWebhookWebhookUriEnum} webhookUri Webhook URI
16840
16059
  * @param {*} [options] Override http request option.
16841
16060
  * @throws {RequiredError}
16061
+ * @memberof WebhooksApi
16842
16062
  */
16843
16063
  WebhooksApi.prototype.postAddWebhook = function (webhookUri, options) {
16844
16064
  var _this = this;
@@ -16847,6 +16067,9 @@ var WebhooksApi = /** @class */ (function (_super) {
16847
16067
  return WebhooksApi;
16848
16068
  }(base_1.BaseAPI));
16849
16069
  exports.WebhooksApi = WebhooksApi;
16070
+ /**
16071
+ * @export
16072
+ */
16850
16073
  exports.PostAddWebhookWebhookUriEnum = {
16851
16074
  WebhookComposerInstall: '/webhook/composer/install',
16852
16075
  WebhookFreshdeskCreate: '/webhook/freshdesk/create',