yellowgrid-api-ts 3.2.188 → 3.2.189-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (512) hide show
  1. package/.openapi-generator/FILES +299 -295
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +10 -2
  4. package/api.ts +399 -60
  5. package/base.ts +2 -2
  6. package/common.ts +1 -1
  7. package/config.json +3 -3
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +242 -54
  10. package/dist/api.js +351 -21
  11. package/dist/base.d.ts +1 -1
  12. package/dist/base.js +2 -2
  13. package/dist/common.d.ts +1 -1
  14. package/dist/common.js +1 -1
  15. package/dist/configuration.d.ts +1 -1
  16. package/dist/configuration.js +1 -1
  17. package/dist/index.d.ts +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/models/HostingPriceListEnum.d.ts +5 -0
  20. package/dist/models/HostingPriceListEnum.js +5 -0
  21. package/dist/models/StatusEnum.d.ts +18 -0
  22. package/dist/models/StatusEnum.js +20 -0
  23. package/dist/src/apis/AccountsApi.d.ts +258 -0
  24. package/dist/src/apis/AccountsApi.js +975 -0
  25. package/dist/src/apis/CRMApi.d.ts +26 -0
  26. package/dist/src/apis/CRMApi.js +122 -0
  27. package/dist/src/apis/Class3CXApi.d.ts +44 -0
  28. package/dist/src/apis/Class3CXApi.js +177 -0
  29. package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +446 -0
  30. package/dist/src/apis/Class3CXInstallationWizardApi.js +1740 -0
  31. package/dist/src/apis/Class3CXInstallationsApi.d.ts +253 -0
  32. package/dist/src/apis/Class3CXInstallationsApi.js +806 -0
  33. package/dist/src/apis/Class3CXIntegrationsApi.d.ts +102 -0
  34. package/dist/src/apis/Class3CXIntegrationsApi.js +386 -0
  35. package/dist/src/apis/Class3CXMultiTenantApi.d.ts +122 -0
  36. package/dist/src/apis/Class3CXMultiTenantApi.js +431 -0
  37. package/dist/src/apis/MyPBXToolsApi.d.ts +32 -0
  38. package/dist/src/apis/MyPBXToolsApi.js +136 -0
  39. package/dist/src/apis/OAuth20Api.d.ts +185 -0
  40. package/dist/src/apis/OAuth20Api.js +507 -0
  41. package/dist/src/apis/OrdersApi.d.ts +154 -0
  42. package/dist/src/apis/OrdersApi.js +512 -0
  43. package/dist/src/apis/PricingApi.d.ts +154 -0
  44. package/dist/src/apis/PricingApi.js +308 -0
  45. package/dist/src/apis/ProductsApi.d.ts +135 -0
  46. package/dist/src/apis/ProductsApi.js +531 -0
  47. package/dist/src/apis/ProvisioningApi.d.ts +112 -0
  48. package/dist/src/apis/ProvisioningApi.js +427 -0
  49. package/dist/src/apis/SIPTrunksApi.d.ts +315 -0
  50. package/dist/src/apis/SIPTrunksApi.js +1197 -0
  51. package/dist/src/apis/SMSApi.d.ts +30 -0
  52. package/dist/src/apis/SMSApi.js +130 -0
  53. package/dist/src/apis/ServicesApi.d.ts +81 -0
  54. package/dist/src/apis/ServicesApi.js +386 -0
  55. package/dist/src/apis/ShippingApi.d.ts +45 -0
  56. package/dist/src/apis/ShippingApi.js +179 -0
  57. package/dist/src/apis/StockManagementApi.d.ts +345 -0
  58. package/dist/src/apis/StockManagementApi.js +1293 -0
  59. package/dist/src/apis/SystemApi.d.ts +37 -0
  60. package/dist/src/apis/SystemApi.js +146 -0
  61. package/dist/src/apis/TicketsApi.d.ts +79 -0
  62. package/dist/src/apis/TicketsApi.js +360 -0
  63. package/dist/src/apis/WebhooksApi.d.ts +56 -0
  64. package/dist/src/apis/WebhooksApi.js +189 -0
  65. package/dist/src/apis/index.d.ts +21 -0
  66. package/dist/src/apis/index.js +39 -0
  67. package/dist/src/index.d.ts +3 -0
  68. package/dist/src/index.js +21 -0
  69. package/dist/src/models/AbstractOrderRequestDTO.d.ts +71 -0
  70. package/dist/src/models/AbstractOrderRequestDTO.js +64 -0
  71. package/dist/src/models/AccountContactEntity.d.ts +104 -0
  72. package/dist/src/models/AccountContactEntity.js +73 -0
  73. package/dist/src/models/AccountContactModel.d.ts +104 -0
  74. package/dist/src/models/AccountContactModel.js +73 -0
  75. package/dist/src/models/AccountContactRequestModel.d.ts +80 -0
  76. package/dist/src/models/AccountContactRequestModel.js +65 -0
  77. package/dist/src/models/AccountDetailedSummaryDTO.d.ts +89 -0
  78. package/dist/src/models/AccountDetailedSummaryDTO.js +70 -0
  79. package/dist/src/models/AccountRequestModel.d.ts +128 -0
  80. package/dist/src/models/AccountRequestModel.js +81 -0
  81. package/dist/src/models/AccountSummaryDTO.d.ts +44 -0
  82. package/dist/src/models/AccountSummaryDTO.js +53 -0
  83. package/dist/src/models/AccountsResponseModel.d.ts +51 -0
  84. package/dist/src/models/AccountsResponseModel.js +56 -0
  85. package/dist/src/models/AddressModel.d.ts +110 -0
  86. package/dist/src/models/AddressModel.js +75 -0
  87. package/dist/src/models/AddressRequestModel.d.ts +50 -0
  88. package/dist/src/models/AddressRequestModel.js +55 -0
  89. package/dist/src/models/AdminOrderRequestDTO.d.ts +113 -0
  90. package/dist/src/models/AdminOrderRequestDTO.js +78 -0
  91. package/dist/src/models/AdminUserModel.d.ts +79 -0
  92. package/dist/src/models/AdminUserModel.js +72 -0
  93. package/dist/src/models/AgentHoursGraphModel.d.ts +51 -0
  94. package/dist/src/models/AgentHoursGraphModel.js +56 -0
  95. package/dist/src/models/AgentHoursGraphMonthModel.d.ts +38 -0
  96. package/dist/src/models/AgentHoursGraphMonthModel.js +51 -0
  97. package/dist/src/models/ApiLogEntity.d.ts +98 -0
  98. package/dist/src/models/ApiLogEntity.js +71 -0
  99. package/dist/src/models/AreaCodeModel.d.ts +38 -0
  100. package/dist/src/models/AreaCodeModel.js +51 -0
  101. package/dist/src/models/AttachmentModel.d.ts +56 -0
  102. package/dist/src/models/AttachmentModel.js +57 -0
  103. package/dist/src/models/AttributeSetEnum.d.ts +38 -0
  104. package/dist/src/models/AttributeSetEnum.js +51 -0
  105. package/dist/src/models/AuditLogEntity.d.ts +80 -0
  106. package/dist/src/models/AuditLogEntity.js +65 -0
  107. package/dist/src/models/AuthCodeResponseModel.d.ts +44 -0
  108. package/dist/src/models/AuthCodeResponseModel.js +53 -0
  109. package/dist/src/models/BasicItemDTO.d.ts +38 -0
  110. package/dist/src/models/BasicItemDTO.js +51 -0
  111. package/dist/src/models/BasicProductDTO.d.ts +38 -0
  112. package/dist/src/models/BasicProductDTO.js +51 -0
  113. package/dist/src/models/BatchEntity.d.ts +128 -0
  114. package/dist/src/models/BatchEntity.js +81 -0
  115. package/dist/src/models/CallBarringModel.d.ts +56 -0
  116. package/dist/src/models/CallBarringModel.js +57 -0
  117. package/dist/src/models/ClientDetailsModel.d.ts +68 -0
  118. package/dist/src/models/ClientDetailsModel.js +61 -0
  119. package/dist/src/models/ClientModel.d.ts +50 -0
  120. package/dist/src/models/ClientModel.js +55 -0
  121. package/dist/src/models/CompanyContractModel.d.ts +56 -0
  122. package/dist/src/models/CompanyContractModel.js +57 -0
  123. package/dist/src/models/ContactInfoModel.d.ts +56 -0
  124. package/dist/src/models/ContactInfoModel.js +57 -0
  125. package/dist/src/models/ConversationModel.d.ts +75 -0
  126. package/dist/src/models/ConversationModel.js +64 -0
  127. package/dist/src/models/CourierPriceEntity.d.ts +86 -0
  128. package/dist/src/models/CourierPriceEntity.js +67 -0
  129. package/dist/src/models/CreditAccountEntity.d.ts +152 -0
  130. package/dist/src/models/CreditAccountEntity.js +89 -0
  131. package/dist/src/models/CrmContactDTO.d.ts +68 -0
  132. package/dist/src/models/CrmContactDTO.js +61 -0
  133. package/dist/src/models/CustomerInformationModel.d.ts +68 -0
  134. package/dist/src/models/CustomerInformationModel.js +61 -0
  135. package/dist/src/models/CustomerItemRequestDTO.d.ts +81 -0
  136. package/dist/src/models/CustomerItemRequestDTO.js +66 -0
  137. package/dist/src/models/CustomerOrderRequestDTO.d.ts +71 -0
  138. package/dist/src/models/CustomerOrderRequestDTO.js +64 -0
  139. package/dist/src/models/CustomerPriceListEnum.d.ts +38 -0
  140. package/dist/src/models/CustomerPriceListEnum.js +51 -0
  141. package/dist/src/models/CustomerSummaryReportDTO.d.ts +65 -0
  142. package/dist/src/models/CustomerSummaryReportDTO.js +62 -0
  143. package/dist/src/models/DdiRangeRequestModel.d.ts +44 -0
  144. package/dist/src/models/DdiRangeRequestModel.js +53 -0
  145. package/dist/src/models/DdiRangesRequestModel.d.ts +33 -0
  146. package/dist/src/models/DdiRangesRequestModel.js +50 -0
  147. package/dist/src/models/DetailedItemRequestDTO.d.ts +99 -0
  148. package/dist/src/models/DetailedItemRequestDTO.js +72 -0
  149. package/dist/src/models/DetailedOrderRequestDTO.d.ts +71 -0
  150. package/dist/src/models/DetailedOrderRequestDTO.js +64 -0
  151. package/dist/src/models/DivertRequestModel.d.ts +38 -0
  152. package/dist/src/models/DivertRequestModel.js +51 -0
  153. package/dist/src/models/DivertResponseModel.d.ts +52 -0
  154. package/dist/src/models/DivertResponseModel.js +61 -0
  155. package/dist/src/models/EdTechProClientEntity.d.ts +56 -0
  156. package/dist/src/models/EdTechProClientEntity.js +57 -0
  157. package/dist/src/models/EdTechProSchoolModel.d.ts +104 -0
  158. package/dist/src/models/EdTechProSchoolModel.js +73 -0
  159. package/dist/src/models/EdTechProSchoolsModel.d.ts +51 -0
  160. package/dist/src/models/EdTechProSchoolsModel.js +56 -0
  161. package/dist/src/models/EdTechProSetupModel.d.ts +56 -0
  162. package/dist/src/models/EdTechProSetupModel.js +57 -0
  163. package/dist/src/models/EventDTO.d.ts +84 -0
  164. package/dist/src/models/EventDTO.js +73 -0
  165. package/dist/src/models/EventRequestDTO.d.ts +44 -0
  166. package/dist/src/models/EventRequestDTO.js +53 -0
  167. package/dist/src/models/EventSubscriptionModel.d.ts +38 -0
  168. package/dist/src/models/EventSubscriptionModel.js +51 -0
  169. package/dist/src/models/EventTypeEnum.d.ts +19 -0
  170. package/dist/src/models/EventTypeEnum.js +24 -0
  171. package/dist/src/models/EventUpdateDTO.d.ts +50 -0
  172. package/dist/src/models/EventUpdateDTO.js +55 -0
  173. package/dist/src/models/EventUpdateEntity.d.ts +56 -0
  174. package/dist/src/models/EventUpdateEntity.js +57 -0
  175. package/dist/src/models/EventUpdateRequestDTO.d.ts +44 -0
  176. package/dist/src/models/EventUpdateRequestDTO.js +53 -0
  177. package/dist/src/models/FraudManagementModel.d.ts +38 -0
  178. package/dist/src/models/FraudManagementModel.js +51 -0
  179. package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +51 -0
  180. package/dist/src/models/FreshdeskCompanyTicketsModel.js +56 -0
  181. package/dist/src/models/FreshdeskTicketEntity.d.ts +68 -0
  182. package/dist/src/models/FreshdeskTicketEntity.js +61 -0
  183. package/dist/src/models/FtpAccountsEntity.d.ts +56 -0
  184. package/dist/src/models/FtpAccountsEntity.js +57 -0
  185. package/dist/src/models/GenericFileModel.d.ts +44 -0
  186. package/dist/src/models/GenericFileModel.js +53 -0
  187. package/dist/src/models/GetGetPrice200Response.d.ts +32 -0
  188. package/dist/src/models/GetGetPrice200Response.js +49 -0
  189. package/dist/src/models/GetGetRecording200Response.d.ts +32 -0
  190. package/dist/src/models/GetGetRecording200Response.js +49 -0
  191. package/dist/src/models/HostingChangeResponseModel.d.ts +64 -0
  192. package/dist/src/models/HostingChangeResponseModel.js +65 -0
  193. package/dist/src/models/HostingRegionDTO.d.ts +59 -0
  194. package/dist/src/models/HostingRegionDTO.js +68 -0
  195. package/dist/src/models/InstanceAutoFailoverEntity.d.ts +56 -0
  196. package/dist/src/models/InstanceAutoFailoverEntity.js +57 -0
  197. package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +50 -0
  198. package/dist/src/models/InstanceDeletionScheduleEntity.js +55 -0
  199. package/dist/src/models/InstanceEntity.d.ts +152 -0
  200. package/dist/src/models/InstanceEntity.js +89 -0
  201. package/dist/src/models/InstanceFailoverEntity.d.ts +92 -0
  202. package/dist/src/models/InstanceFailoverEntity.js +69 -0
  203. package/dist/src/models/InstanceMonitoringEntity.d.ts +44 -0
  204. package/dist/src/models/InstanceMonitoringEntity.js +53 -0
  205. package/dist/src/models/InstanceMonitoringLogEntity.d.ts +62 -0
  206. package/dist/src/models/InstanceMonitoringLogEntity.js +59 -0
  207. package/dist/src/models/InstanceScheduledTasksEntity.d.ts +62 -0
  208. package/dist/src/models/InstanceScheduledTasksEntity.js +59 -0
  209. package/dist/src/models/InstanceTcxDetailsEntity.d.ts +86 -0
  210. package/dist/src/models/InstanceTcxDetailsEntity.js +67 -0
  211. package/dist/src/models/InstanceUserCredentialsEntity.d.ts +56 -0
  212. package/dist/src/models/InstanceUserCredentialsEntity.js +57 -0
  213. package/dist/src/models/ItemDTO.d.ts +117 -0
  214. package/dist/src/models/ItemDTO.js +78 -0
  215. package/dist/src/models/ItemDiscountEntity.d.ts +77 -0
  216. package/dist/src/models/ItemDiscountEntity.js +70 -0
  217. package/dist/src/models/ItemEntity.d.ts +158 -0
  218. package/dist/src/models/ItemEntity.js +91 -0
  219. package/dist/src/models/LinkedOrderEntity.d.ts +38 -0
  220. package/dist/src/models/LinkedOrderEntity.js +51 -0
  221. package/dist/src/models/MFARequiredModel.d.ts +38 -0
  222. package/dist/src/models/MFARequiredModel.js +51 -0
  223. package/dist/src/models/MonthlyUsageModel.d.ts +38 -0
  224. package/dist/src/models/MonthlyUsageModel.js +51 -0
  225. package/dist/src/models/MultiTenantChangeResponseModel.d.ts +70 -0
  226. package/dist/src/models/MultiTenantChangeResponseModel.js +75 -0
  227. package/dist/src/models/NavigationModel.d.ts +50 -0
  228. package/dist/src/models/NavigationModel.js +55 -0
  229. package/dist/src/models/OfflineInstancesEntity.d.ts +56 -0
  230. package/dist/src/models/OfflineInstancesEntity.js +57 -0
  231. package/dist/src/models/OrderEntity.d.ts +374 -0
  232. package/dist/src/models/OrderEntity.js +163 -0
  233. package/dist/src/models/OrderRequestModel.d.ts +120 -0
  234. package/dist/src/models/OrderRequestModel.js +88 -0
  235. package/dist/src/models/OrderSummariesModel.d.ts +51 -0
  236. package/dist/src/models/OrderSummariesModel.js +56 -0
  237. package/dist/src/models/OrderSummaryDTO.d.ts +126 -0
  238. package/dist/src/models/OrderSummaryDTO.js +83 -0
  239. package/dist/src/models/OrderTotalModel.d.ts +111 -0
  240. package/dist/src/models/OrderTotalModel.js +100 -0
  241. package/dist/src/models/OrderedItemEntity.d.ts +110 -0
  242. package/dist/src/models/OrderedItemEntity.js +75 -0
  243. package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +32 -0
  244. package/dist/src/models/PatchSetTcxWizardCnameRequest.js +49 -0
  245. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +32 -0
  246. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +49 -0
  247. package/dist/src/models/PortalAccountModel.d.ts +171 -0
  248. package/dist/src/models/PortalAccountModel.js +96 -0
  249. package/dist/src/models/PortalLoginModel.d.ts +68 -0
  250. package/dist/src/models/PortalLoginModel.js +61 -0
  251. package/dist/src/models/PostAddWebhook200Response.d.ts +32 -0
  252. package/dist/src/models/PostAddWebhook200Response.js +49 -0
  253. package/dist/src/models/PostGetClientCredentialsRequest.d.ts +32 -0
  254. package/dist/src/models/PostGetClientCredentialsRequest.js +49 -0
  255. package/dist/src/models/PostGetProductForCustomerRequest.d.ts +50 -0
  256. package/dist/src/models/PostGetProductForCustomerRequest.js +55 -0
  257. package/dist/src/models/PostGetProductRequest.d.ts +44 -0
  258. package/dist/src/models/PostGetProductRequest.js +53 -0
  259. package/dist/src/models/PriceListItemModel.d.ts +56 -0
  260. package/dist/src/models/PriceListItemModel.js +57 -0
  261. package/dist/src/models/PrizesEntity.d.ts +62 -0
  262. package/dist/src/models/PrizesEntity.js +59 -0
  263. package/dist/src/models/ProductPriceListItemModel.d.ts +62 -0
  264. package/dist/src/models/ProductPriceListItemModel.js +59 -0
  265. package/dist/src/models/ProductSearchResultsModel.d.ts +33 -0
  266. package/dist/src/models/ProductSearchResultsModel.js +50 -0
  267. package/dist/src/models/ProductSerialInfoModel.d.ts +50 -0
  268. package/dist/src/models/ProductSerialInfoModel.js +55 -0
  269. package/dist/src/models/ProductSummaryDTO.d.ts +81 -0
  270. package/dist/src/models/ProductSummaryDTO.js +66 -0
  271. package/dist/src/models/PromoCodesEntity.d.ts +98 -0
  272. package/dist/src/models/PromoCodesEntity.js +71 -0
  273. package/dist/src/models/PromoItemsEntity.d.ts +74 -0
  274. package/dist/src/models/PromoItemsEntity.js +63 -0
  275. package/dist/src/models/ProvisioningModel.d.ts +56 -0
  276. package/dist/src/models/ProvisioningModel.js +57 -0
  277. package/dist/src/models/ProvisioningRequestEntity.d.ts +44 -0
  278. package/dist/src/models/ProvisioningRequestEntity.js +53 -0
  279. package/dist/src/models/RecordingBackupAzureModel.d.ts +50 -0
  280. package/dist/src/models/RecordingBackupAzureModel.js +55 -0
  281. package/dist/src/models/RecordingsBackupInfoDTO.d.ts +40 -0
  282. package/dist/src/models/RecordingsBackupInfoDTO.js +53 -0
  283. package/dist/src/models/ResourceNotReadyException.d.ts +44 -0
  284. package/dist/src/models/ResourceNotReadyException.js +53 -0
  285. package/dist/src/models/RootAccessModel.d.ts +44 -0
  286. package/dist/src/models/RootAccessModel.js +53 -0
  287. package/dist/src/models/S3BucketEntity.d.ts +50 -0
  288. package/dist/src/models/S3BucketEntity.js +55 -0
  289. package/dist/src/models/ScannedItemModel.d.ts +56 -0
  290. package/dist/src/models/ScannedItemModel.js +57 -0
  291. package/dist/src/models/ScopeModel.d.ts +38 -0
  292. package/dist/src/models/ScopeModel.js +51 -0
  293. package/dist/src/models/ServiceEnum.d.ts +14 -0
  294. package/dist/src/models/ServiceEnum.js +19 -0
  295. package/dist/src/models/ServiceHealthDTO.d.ts +48 -0
  296. package/dist/src/models/ServiceHealthDTO.js +61 -0
  297. package/dist/src/models/ServiceHealthEnum.d.ts +19 -0
  298. package/dist/src/models/ServiceHealthEnum.js +24 -0
  299. package/dist/src/models/ServiceStatusDTO.d.ts +60 -0
  300. package/dist/src/models/ServiceStatusDTO.js +65 -0
  301. package/dist/src/models/ServiceStatusEnum.d.ts +19 -0
  302. package/dist/src/models/ServiceStatusEnum.js +24 -0
  303. package/dist/src/models/ShipmentAddressEntity.d.ts +92 -0
  304. package/dist/src/models/ShipmentAddressEntity.js +69 -0
  305. package/dist/src/models/ShipmentEntity.d.ts +98 -0
  306. package/dist/src/models/ShipmentEntity.js +71 -0
  307. package/dist/src/models/ShipmentItemEntity.d.ts +56 -0
  308. package/dist/src/models/ShipmentItemEntity.js +57 -0
  309. package/dist/src/models/ShippingConsignmentModel.d.ts +51 -0
  310. package/dist/src/models/ShippingConsignmentModel.js +56 -0
  311. package/dist/src/models/ShippingInformationDTO.d.ts +45 -0
  312. package/dist/src/models/ShippingInformationDTO.js +54 -0
  313. package/dist/src/models/ShippingServiceDTO.d.ts +47 -0
  314. package/dist/src/models/ShippingServiceDTO.js +60 -0
  315. package/dist/src/models/ShippingServiceModel.d.ts +71 -0
  316. package/dist/src/models/ShippingServiceModel.js +68 -0
  317. package/dist/src/models/ShippingServicesModel.d.ts +33 -0
  318. package/dist/src/models/ShippingServicesModel.js +50 -0
  319. package/dist/src/models/SipTrunkChangeResponseModel.d.ts +77 -0
  320. package/dist/src/models/SipTrunkChangeResponseModel.js +78 -0
  321. package/dist/src/models/SipTrunkCreationRequestModel.d.ts +66 -0
  322. package/dist/src/models/SipTrunkCreationRequestModel.js +63 -0
  323. package/dist/src/models/SipTrunkEntity.d.ts +98 -0
  324. package/dist/src/models/SipTrunkEntity.js +71 -0
  325. package/dist/src/models/SipTrunksResponseModel.d.ts +51 -0
  326. package/dist/src/models/SipTrunksResponseModel.js +56 -0
  327. package/dist/src/models/SmsAccountEntity.d.ts +68 -0
  328. package/dist/src/models/SmsAccountEntity.js +61 -0
  329. package/dist/src/models/SmsDataModel.d.ts +33 -0
  330. package/dist/src/models/SmsDataModel.js +50 -0
  331. package/dist/src/models/SmsMessageModel.d.ts +44 -0
  332. package/dist/src/models/SmsMessageModel.js +53 -0
  333. package/dist/src/models/SmsNumbersEntity.d.ts +38 -0
  334. package/dist/src/models/SmsNumbersEntity.js +51 -0
  335. package/dist/src/models/SmsPayloadModel.d.ts +45 -0
  336. package/dist/src/models/SmsPayloadModel.js +54 -0
  337. package/dist/src/models/SmsPhoneNumberModel.d.ts +53 -0
  338. package/dist/src/models/SmsPhoneNumberModel.js +66 -0
  339. package/dist/src/models/SmsResponseModel.d.ts +67 -0
  340. package/dist/src/models/SmsResponseModel.js +68 -0
  341. package/dist/src/models/SmsWhitelistEntity.d.ts +38 -0
  342. package/dist/src/models/SmsWhitelistEntity.js +51 -0
  343. package/dist/src/models/StockOrderCourierEntity.d.ts +50 -0
  344. package/dist/src/models/StockOrderCourierEntity.js +55 -0
  345. package/dist/src/models/StockOrderDeductionModel.d.ts +50 -0
  346. package/dist/src/models/StockOrderDeductionModel.js +55 -0
  347. package/dist/src/models/StockOrderDeductionRequestModel.d.ts +38 -0
  348. package/dist/src/models/StockOrderDeductionRequestModel.js +51 -0
  349. package/dist/src/models/StockOrderDeductionsEntity.d.ts +50 -0
  350. package/dist/src/models/StockOrderDeductionsEntity.js +55 -0
  351. package/dist/src/models/StockOrderEntity.d.ts +158 -0
  352. package/dist/src/models/StockOrderEntity.js +91 -0
  353. package/dist/src/models/StockOrderItemEntity.d.ts +68 -0
  354. package/dist/src/models/StockOrderItemEntity.js +61 -0
  355. package/dist/src/models/StockOrderItemModel.d.ts +80 -0
  356. package/dist/src/models/StockOrderItemModel.js +65 -0
  357. package/dist/src/models/StockOrderItemRequestModel.d.ts +50 -0
  358. package/dist/src/models/StockOrderItemRequestModel.js +55 -0
  359. package/dist/src/models/StockOrderModel.d.ts +137 -0
  360. package/dist/src/models/StockOrderModel.js +97 -0
  361. package/dist/src/models/StockOrderProductEntity.d.ts +62 -0
  362. package/dist/src/models/StockOrderProductEntity.js +59 -0
  363. package/dist/src/models/StockOrderRequestModel.d.ts +46 -0
  364. package/dist/src/models/StockOrderRequestModel.js +55 -0
  365. package/dist/src/models/StockOrderSupplierEntity.d.ts +80 -0
  366. package/dist/src/models/StockOrderSupplierEntity.js +65 -0
  367. package/dist/src/models/StockOrderSupplierModel.d.ts +80 -0
  368. package/dist/src/models/StockOrderSupplierModel.js +65 -0
  369. package/dist/src/models/StockOrdersModel.d.ts +51 -0
  370. package/dist/src/models/StockOrdersModel.js +56 -0
  371. package/dist/src/models/StockProductModel.d.ts +120 -0
  372. package/dist/src/models/StockProductModel.js +81 -0
  373. package/dist/src/models/StockProductPriceModel.d.ts +39 -0
  374. package/dist/src/models/StockProductPriceModel.js +52 -0
  375. package/dist/src/models/StockProductSummariesModel.d.ts +51 -0
  376. package/dist/src/models/StockProductSummariesModel.js +56 -0
  377. package/dist/src/models/StockProductSummaryModel.d.ts +69 -0
  378. package/dist/src/models/StockProductSummaryModel.js +62 -0
  379. package/dist/src/models/StockTransactionsEntity.d.ts +74 -0
  380. package/dist/src/models/StockTransactionsEntity.js +63 -0
  381. package/dist/src/models/SupplierEntity.d.ts +80 -0
  382. package/dist/src/models/SupplierEntity.js +65 -0
  383. package/dist/src/models/SupplierItemEntity.d.ts +74 -0
  384. package/dist/src/models/SupplierItemEntity.js +63 -0
  385. package/dist/src/models/TcxBackupEntity.d.ts +80 -0
  386. package/dist/src/models/TcxBackupEntity.js +65 -0
  387. package/dist/src/models/TcxBackupModel.d.ts +140 -0
  388. package/dist/src/models/TcxBackupModel.js +85 -0
  389. package/dist/src/models/TcxBillingEntity.d.ts +86 -0
  390. package/dist/src/models/TcxBillingEntity.js +67 -0
  391. package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +40 -0
  392. package/dist/src/models/TcxBulkLicenceDetailsModel.js +53 -0
  393. package/dist/src/models/TcxDeadLicenceEntity.d.ts +44 -0
  394. package/dist/src/models/TcxDeadLicenceEntity.js +53 -0
  395. package/dist/src/models/TcxExtsEntity.d.ts +74 -0
  396. package/dist/src/models/TcxExtsEntity.js +63 -0
  397. package/dist/src/models/TcxHostingPricingEntity.d.ts +74 -0
  398. package/dist/src/models/TcxHostingPricingEntity.js +63 -0
  399. package/dist/src/models/TcxInstallationDetailsModel.d.ts +106 -0
  400. package/dist/src/models/TcxInstallationDetailsModel.js +75 -0
  401. package/dist/src/models/TcxInstallationModel.d.ts +200 -0
  402. package/dist/src/models/TcxInstallationModel.js +105 -0
  403. package/dist/src/models/TcxInstallationsModel.d.ts +51 -0
  404. package/dist/src/models/TcxInstallationsModel.js +56 -0
  405. package/dist/src/models/TcxKeySummaryDTO.d.ts +56 -0
  406. package/dist/src/models/TcxKeySummaryDTO.js +57 -0
  407. package/dist/src/models/TcxKeysEntity.d.ts +62 -0
  408. package/dist/src/models/TcxKeysEntity.js +59 -0
  409. package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +50 -0
  410. package/dist/src/models/TcxLicenceDetailsErrorModel.js +55 -0
  411. package/dist/src/models/TcxLicenceDetailsModel.d.ts +92 -0
  412. package/dist/src/models/TcxLicenceDetailsModel.js +69 -0
  413. package/dist/src/models/TcxMacsEntity.d.ts +44 -0
  414. package/dist/src/models/TcxMacsEntity.js +53 -0
  415. package/dist/src/models/TcxMultiTenantModel.d.ts +118 -0
  416. package/dist/src/models/TcxMultiTenantModel.js +83 -0
  417. package/dist/src/models/TcxMultiTenantUserModel.d.ts +44 -0
  418. package/dist/src/models/TcxMultiTenantUserModel.js +53 -0
  419. package/dist/src/models/TcxMultiTenantsModel.d.ts +51 -0
  420. package/dist/src/models/TcxMultiTenantsModel.js +56 -0
  421. package/dist/src/models/TcxNumbersEntity.d.ts +44 -0
  422. package/dist/src/models/TcxNumbersEntity.js +53 -0
  423. package/dist/src/models/TcxOfficeHoursEntity.d.ts +116 -0
  424. package/dist/src/models/TcxOfficeHoursEntity.js +77 -0
  425. package/dist/src/models/TcxPhoneModel.d.ts +68 -0
  426. package/dist/src/models/TcxPhoneModel.js +61 -0
  427. package/dist/src/models/TcxPhonesEntity.d.ts +62 -0
  428. package/dist/src/models/TcxPhonesEntity.js +59 -0
  429. package/dist/src/models/TcxRemoteStorageModel.d.ts +50 -0
  430. package/dist/src/models/TcxRemoteStorageModel.js +55 -0
  431. package/dist/src/models/TcxSbcDTO.d.ts +62 -0
  432. package/dist/src/models/TcxSbcDTO.js +59 -0
  433. package/dist/src/models/TcxSbcEntity.d.ts +122 -0
  434. package/dist/src/models/TcxSbcEntity.js +79 -0
  435. package/dist/src/models/TcxSbcModel.d.ts +122 -0
  436. package/dist/src/models/TcxSbcModel.js +79 -0
  437. package/dist/src/models/TcxSetupEntity.d.ts +207 -0
  438. package/dist/src/models/TcxSetupEntity.js +123 -0
  439. package/dist/src/models/TcxSetupsModel.d.ts +51 -0
  440. package/dist/src/models/TcxSetupsModel.js +56 -0
  441. package/dist/src/models/TcxSipTrunksEntity.d.ts +104 -0
  442. package/dist/src/models/TcxSipTrunksEntity.js +73 -0
  443. package/dist/src/models/TcxTemplateXmlEnum.d.ts +38 -0
  444. package/dist/src/models/TcxTemplateXmlEnum.js +51 -0
  445. package/dist/src/models/TcxUsersEntity.d.ts +62 -0
  446. package/dist/src/models/TcxUsersEntity.js +59 -0
  447. package/dist/src/models/TcxWizardConfigModel.d.ts +39 -0
  448. package/dist/src/models/TcxWizardConfigModel.js +52 -0
  449. package/dist/src/models/TcxWizardModel.d.ts +150 -0
  450. package/dist/src/models/TcxWizardModel.js +114 -0
  451. package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +57 -0
  452. package/dist/src/models/TechSupportCompanySummaryDTO.js +58 -0
  453. package/dist/src/models/TelephonySupportTicketModel.d.ts +94 -0
  454. package/dist/src/models/TelephonySupportTicketModel.js +71 -0
  455. package/dist/src/models/TicketSummaryModel.d.ts +74 -0
  456. package/dist/src/models/TicketSummaryModel.js +63 -0
  457. package/dist/src/models/TicketTimeDTO.d.ts +80 -0
  458. package/dist/src/models/TicketTimeDTO.js +65 -0
  459. package/dist/src/models/TokenResponseModel.d.ts +44 -0
  460. package/dist/src/models/TokenResponseModel.js +53 -0
  461. package/dist/src/models/UpdateTypeEnum.d.ts +19 -0
  462. package/dist/src/models/UpdateTypeEnum.js +24 -0
  463. package/dist/src/models/UpgradeOrderResponseModel.d.ts +38 -0
  464. package/dist/src/models/UpgradeOrderResponseModel.js +51 -0
  465. package/dist/src/models/UpgradeRequestModel.d.ts +66 -0
  466. package/dist/src/models/UpgradeRequestModel.js +70 -0
  467. package/dist/src/models/UserEntity.d.ts +98 -0
  468. package/dist/src/models/UserEntity.js +71 -0
  469. package/dist/src/models/XeroLogEntity.d.ts +86 -0
  470. package/dist/src/models/XeroLogEntity.js +67 -0
  471. package/dist/src/models/index.d.ts +196 -0
  472. package/dist/src/models/index.js +214 -0
  473. package/dist/src/runtime.d.ts +184 -0
  474. package/dist/src/runtime.js +564 -0
  475. package/docs/AccountsApi.md +60 -1
  476. package/docs/BillingApi.md +1 -1
  477. package/docs/CRMApi.md +1 -1
  478. package/docs/Class3CXApi.md +1 -1
  479. package/docs/Class3CXInstallationWizardApi.md +1 -1
  480. package/docs/Class3CXInstallationsApi.md +1 -1
  481. package/docs/Class3CXIntegrationsApi.md +1 -1
  482. package/docs/Class3CXMultiTenantApi.md +1 -1
  483. package/docs/CrmActivityDTO.md +2 -2
  484. package/docs/GetCheckMacExists200Response.md +20 -0
  485. package/docs/MacAddressDTO.md +23 -0
  486. package/docs/MyPBXToolsApi.md +1 -1
  487. package/docs/NumberPortingApi.md +1 -1
  488. package/docs/OAuth20Api.md +1 -1
  489. package/docs/OpayoRedirectDTO.md +29 -0
  490. package/docs/OrdersApi.md +1 -1
  491. package/docs/PatchUpdateAccountNameRequest.md +20 -0
  492. package/docs/PricingApi.md +1 -1
  493. package/docs/ProductDetailedSummaryDTO.md +41 -0
  494. package/docs/ProductSummaryDTO.md +0 -2
  495. package/docs/ProductsApi.md +13 -7
  496. package/docs/ProspectsApi.md +1 -1
  497. package/docs/ProvisioningApi.md +167 -1
  498. package/docs/SIPTrunksApi.md +1 -1
  499. package/docs/SMSApi.md +1 -1
  500. package/docs/ServicesApi.md +1 -1
  501. package/docs/ShippingApi.md +1 -1
  502. package/docs/StockManagementApi.md +1 -1
  503. package/docs/SystemApi.md +1 -1
  504. package/docs/TcxInstallationModel.md +4 -0
  505. package/docs/TicketsApi.md +1 -1
  506. package/docs/WebhooksApi.md +1 -1
  507. package/getEnums.php +31 -31
  508. package/index.ts +1 -1
  509. package/models/HostingPriceListEnum.ts +5 -0
  510. package/openapitools.json +1 -1
  511. package/package.json +2 -2
  512. package/docs/TcxHostingPricingEntity.md +0 -35
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: `https://bitbucket.org` 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: `https://localhost` For questions or technical support, please contact support@yellowgrid.co.uk.
7
7
  *
8
8
  * The version of the OpenAPI document: 0
9
9
  *
@@ -302,6 +302,7 @@ exports.PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
302
302
  _3: '3',
303
303
  _4: '4',
304
304
  _5: '5',
305
+ _6: '6',
305
306
  };
306
307
  exports.ProspectDTOStatusEnum = {
307
308
  NoCallBackSet: 'No Call Back Set',
@@ -1413,6 +1414,45 @@ var AccountsApiAxiosParamCreator = function (configuration) {
1413
1414
  });
1414
1415
  });
1415
1416
  },
1417
+ /**
1418
+ * Set Account Name
1419
+ * @param {string} id Xero ID
1420
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
1421
+ * @param {*} [options] Override http request option.
1422
+ * @throws {RequiredError}
1423
+ */
1424
+ patchUpdateAccountName: function (id_1, patchUpdateAccountNameRequest_1) {
1425
+ var args_1 = [];
1426
+ for (var _i = 2; _i < arguments.length; _i++) {
1427
+ args_1[_i - 2] = arguments[_i];
1428
+ }
1429
+ return __awaiter(_this, __spreadArray([id_1, patchUpdateAccountNameRequest_1], args_1, true), void 0, function (id, patchUpdateAccountNameRequest, options) {
1430
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1431
+ if (options === void 0) { options = {}; }
1432
+ return __generator(this, function (_a) {
1433
+ // verify required parameter 'id' is not null or undefined
1434
+ (0, common_1.assertParamExists)('patchUpdateAccountName', 'id', id);
1435
+ localVarPath = "/admin/accounts/{id}/name"
1436
+ .replace('{id}', encodeURIComponent(String(id)));
1437
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1438
+ if (configuration) {
1439
+ baseOptions = configuration.baseOptions;
1440
+ }
1441
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
1442
+ localVarHeaderParameter = {};
1443
+ localVarQueryParameter = {};
1444
+ localVarHeaderParameter['Content-Type'] = 'application/json';
1445
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1446
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1447
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1448
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchUpdateAccountNameRequest, localVarRequestOptions, configuration);
1449
+ return [2 /*return*/, {
1450
+ url: (0, common_1.toPathString)(localVarUrlObj),
1451
+ options: localVarRequestOptions,
1452
+ }];
1453
+ });
1454
+ });
1455
+ },
1416
1456
  /**
1417
1457
  * Set Account Phone
1418
1458
  * @param {string} id Xero ID
@@ -2771,6 +2811,29 @@ var AccountsApiFp = function (configuration) {
2771
2811
  });
2772
2812
  });
2773
2813
  },
2814
+ /**
2815
+ * Set Account Name
2816
+ * @param {string} id Xero ID
2817
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
2818
+ * @param {*} [options] Override http request option.
2819
+ * @throws {RequiredError}
2820
+ */
2821
+ patchUpdateAccountName: function (id, patchUpdateAccountNameRequest, options) {
2822
+ return __awaiter(this, void 0, void 0, function () {
2823
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2824
+ var _a, _b, _c;
2825
+ return __generator(this, function (_d) {
2826
+ switch (_d.label) {
2827
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options)];
2828
+ case 1:
2829
+ localVarAxiosArgs = _d.sent();
2830
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2831
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.patchUpdateAccountName']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2832
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2833
+ }
2834
+ });
2835
+ });
2836
+ },
2774
2837
  /**
2775
2838
  * Set Account Phone
2776
2839
  * @param {string} id Xero ID
@@ -3485,6 +3548,16 @@ var AccountsApiFactory = function (configuration, basePath, axios) {
3485
3548
  patchUpdateAccountContactPassword: function (token, patchUpdateAccountContactPasswordRequest, options) {
3486
3549
  return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(axios, basePath); });
3487
3550
  },
3551
+ /**
3552
+ * Set Account Name
3553
+ * @param {string} id Xero ID
3554
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
3555
+ * @param {*} [options] Override http request option.
3556
+ * @throws {RequiredError}
3557
+ */
3558
+ patchUpdateAccountName: function (id, patchUpdateAccountNameRequest, options) {
3559
+ return localVarFp.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then(function (request) { return request(axios, basePath); });
3560
+ },
3488
3561
  /**
3489
3562
  * Set Account Phone
3490
3563
  * @param {string} id Xero ID
@@ -3966,6 +4039,17 @@ var AccountsApi = /** @class */ (function (_super) {
3966
4039
  var _this = this;
3967
4040
  return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
3968
4041
  };
4042
+ /**
4043
+ * Set Account Name
4044
+ * @param {string} id Xero ID
4045
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
4046
+ * @param {*} [options] Override http request option.
4047
+ * @throws {RequiredError}
4048
+ */
4049
+ AccountsApi.prototype.patchUpdateAccountName = function (id, patchUpdateAccountNameRequest, options) {
4050
+ var _this = this;
4051
+ return (0, exports.AccountsApiFp)(this.configuration).patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
4052
+ };
3969
4053
  /**
3970
4054
  * Set Account Phone
3971
4055
  * @param {string} id Xero ID
@@ -16914,15 +16998,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16914
16998
  * @summary Get Product
16915
16999
  * @param {string} sku Product SKU
16916
17000
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17001
+ * @param {number} [orderId] Order ID
16917
17002
  * @param {*} [options] Override http request option.
16918
17003
  * @throws {RequiredError}
16919
17004
  */
16920
- postGetProduct: function (sku_1, postGetProductForCustomerRequest_1) {
17005
+ postGetProduct: function (sku_1, postGetProductForCustomerRequest_1, orderId_1) {
16921
17006
  var args_1 = [];
16922
- for (var _i = 2; _i < arguments.length; _i++) {
16923
- args_1[_i - 2] = arguments[_i];
17007
+ for (var _i = 3; _i < arguments.length; _i++) {
17008
+ args_1[_i - 3] = arguments[_i];
16924
17009
  }
16925
- return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, options) {
17010
+ return __awaiter(_this, __spreadArray([sku_1, postGetProductForCustomerRequest_1, orderId_1], args_1, true), void 0, function (sku, postGetProductForCustomerRequest, orderId, options) {
16926
17011
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
16927
17012
  if (options === void 0) { options = {}; }
16928
17013
  return __generator(this, function (_a) {
@@ -16939,6 +17024,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16939
17024
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
16940
17025
  localVarHeaderParameter = {};
16941
17026
  localVarQueryParameter = {};
17027
+ if (orderId !== undefined) {
17028
+ localVarQueryParameter['orderId'] = orderId;
17029
+ }
16942
17030
  localVarHeaderParameter['Content-Type'] = 'application/json';
16943
17031
  localVarHeaderParameter['Accept'] = 'application/json';
16944
17032
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -16958,15 +17046,16 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16958
17046
  * @param {number} customerId Customer ID
16959
17047
  * @param {string} sku Product SKU
16960
17048
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17049
+ * @param {number} [orderId] Order ID
16961
17050
  * @param {*} [options] Override http request option.
16962
17051
  * @throws {RequiredError}
16963
17052
  */
16964
- postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1) {
17053
+ postGetProductForCustomer: function (customerId_1, sku_1, postGetProductForCustomerRequest_1, orderId_1) {
16965
17054
  var args_1 = [];
16966
- for (var _i = 3; _i < arguments.length; _i++) {
16967
- args_1[_i - 3] = arguments[_i];
17055
+ for (var _i = 4; _i < arguments.length; _i++) {
17056
+ args_1[_i - 4] = arguments[_i];
16968
17057
  }
16969
- return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, options) {
17058
+ return __awaiter(_this, __spreadArray([customerId_1, sku_1, postGetProductForCustomerRequest_1, orderId_1], args_1, true), void 0, function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
16970
17059
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
16971
17060
  if (options === void 0) { options = {}; }
16972
17061
  return __generator(this, function (_a) {
@@ -16988,6 +17077,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
16988
17077
  if (customerId !== undefined) {
16989
17078
  localVarQueryParameter['customerId'] = customerId;
16990
17079
  }
17080
+ if (orderId !== undefined) {
17081
+ localVarQueryParameter['orderId'] = orderId;
17082
+ }
16991
17083
  localVarHeaderParameter['Content-Type'] = 'application/json';
16992
17084
  localVarHeaderParameter['Accept'] = 'application/json';
16993
17085
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -17198,16 +17290,17 @@ var ProductsApiFp = function (configuration) {
17198
17290
  * @summary Get Product
17199
17291
  * @param {string} sku Product SKU
17200
17292
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17293
+ * @param {number} [orderId] Order ID
17201
17294
  * @param {*} [options] Override http request option.
17202
17295
  * @throws {RequiredError}
17203
17296
  */
17204
- postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
17297
+ postGetProduct: function (sku, postGetProductForCustomerRequest, orderId, options) {
17205
17298
  return __awaiter(this, void 0, void 0, function () {
17206
17299
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
17207
17300
  var _a, _b, _c;
17208
17301
  return __generator(this, function (_d) {
17209
17302
  switch (_d.label) {
17210
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options)];
17303
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options)];
17211
17304
  case 1:
17212
17305
  localVarAxiosArgs = _d.sent();
17213
17306
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -17223,16 +17316,17 @@ var ProductsApiFp = function (configuration) {
17223
17316
  * @param {number} customerId Customer ID
17224
17317
  * @param {string} sku Product SKU
17225
17318
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17319
+ * @param {number} [orderId] Order ID
17226
17320
  * @param {*} [options] Override http request option.
17227
17321
  * @throws {RequiredError}
17228
17322
  */
17229
- postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
17323
+ postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
17230
17324
  return __awaiter(this, void 0, void 0, function () {
17231
17325
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
17232
17326
  var _a, _b, _c;
17233
17327
  return __generator(this, function (_d) {
17234
17328
  switch (_d.label) {
17235
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options)];
17329
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options)];
17236
17330
  case 1:
17237
17331
  localVarAxiosArgs = _d.sent();
17238
17332
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -17335,11 +17429,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
17335
17429
  * @summary Get Product
17336
17430
  * @param {string} sku Product SKU
17337
17431
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17432
+ * @param {number} [orderId] Order ID
17338
17433
  * @param {*} [options] Override http request option.
17339
17434
  * @throws {RequiredError}
17340
17435
  */
17341
- postGetProduct: function (sku, postGetProductForCustomerRequest, options) {
17342
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
17436
+ postGetProduct: function (sku, postGetProductForCustomerRequest, orderId, options) {
17437
+ return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(axios, basePath); });
17343
17438
  },
17344
17439
  /**
17345
17440
  * Get Product For Customer
@@ -17347,11 +17442,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
17347
17442
  * @param {number} customerId Customer ID
17348
17443
  * @param {string} sku Product SKU
17349
17444
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17445
+ * @param {number} [orderId] Order ID
17350
17446
  * @param {*} [options] Override http request option.
17351
17447
  * @throws {RequiredError}
17352
17448
  */
17353
- postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, options) {
17354
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(axios, basePath); });
17449
+ postGetProductForCustomer: function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
17450
+ return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(axios, basePath); });
17355
17451
  },
17356
17452
  };
17357
17453
  };
@@ -17456,12 +17552,13 @@ var ProductsApi = /** @class */ (function (_super) {
17456
17552
  * @summary Get Product
17457
17553
  * @param {string} sku Product SKU
17458
17554
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17555
+ * @param {number} [orderId] Order ID
17459
17556
  * @param {*} [options] Override http request option.
17460
17557
  * @throws {RequiredError}
17461
17558
  */
17462
- ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, options) {
17559
+ ProductsApi.prototype.postGetProduct = function (sku, postGetProductForCustomerRequest, orderId, options) {
17463
17560
  var _this = this;
17464
- return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
17561
+ return (0, exports.ProductsApiFp)(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17465
17562
  };
17466
17563
  /**
17467
17564
  * Get Product For Customer
@@ -17469,12 +17566,13 @@ var ProductsApi = /** @class */ (function (_super) {
17469
17566
  * @param {number} customerId Customer ID
17470
17567
  * @param {string} sku Product SKU
17471
17568
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
17569
+ * @param {number} [orderId] Order ID
17472
17570
  * @param {*} [options] Override http request option.
17473
17571
  * @throws {RequiredError}
17474
17572
  */
17475
- ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, options) {
17573
+ ProductsApi.prototype.postGetProductForCustomer = function (customerId, sku, postGetProductForCustomerRequest, orderId, options) {
17476
17574
  var _this = this;
17477
- return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
17575
+ return (0, exports.ProductsApiFp)(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then(function (request) { return request(_this.axios, _this.basePath); });
17478
17576
  };
17479
17577
  return ProductsApi;
17480
17578
  }(base_1.BaseAPI));
@@ -17907,6 +18005,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17907
18005
  });
17908
18006
  });
17909
18007
  },
18008
+ /**
18009
+ * Delete a MAC address in FDPS
18010
+ * @param {string} mac MAC Address
18011
+ * @param {*} [options] Override http request option.
18012
+ * @throws {RequiredError}
18013
+ */
18014
+ deleteCheckMacExists: function (mac_1) {
18015
+ var args_1 = [];
18016
+ for (var _i = 1; _i < arguments.length; _i++) {
18017
+ args_1[_i - 1] = arguments[_i];
18018
+ }
18019
+ return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
18020
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18021
+ if (options === void 0) { options = {}; }
18022
+ return __generator(this, function (_a) {
18023
+ // verify required parameter 'mac' is not null or undefined
18024
+ (0, common_1.assertParamExists)('deleteCheckMacExists', 'mac', mac);
18025
+ localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
18026
+ .replace('{mac}', encodeURIComponent(String(mac)));
18027
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18028
+ if (configuration) {
18029
+ baseOptions = configuration.baseOptions;
18030
+ }
18031
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
18032
+ localVarHeaderParameter = {};
18033
+ localVarQueryParameter = {};
18034
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18035
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18036
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18037
+ return [2 /*return*/, {
18038
+ url: (0, common_1.toPathString)(localVarUrlObj),
18039
+ options: localVarRequestOptions,
18040
+ }];
18041
+ });
18042
+ });
18043
+ },
17910
18044
  /**
17911
18045
  * Delete a Fanvil provisioning group
17912
18046
  * @summary Delete group from DB and FDPS
@@ -17944,6 +18078,43 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
17944
18078
  });
17945
18079
  });
17946
18080
  },
18081
+ /**
18082
+ * Check if a MAC address exists in FDPS
18083
+ * @param {string} mac MAC Address
18084
+ * @param {*} [options] Override http request option.
18085
+ * @throws {RequiredError}
18086
+ */
18087
+ getCheckMacExists: function (mac_1) {
18088
+ var args_1 = [];
18089
+ for (var _i = 1; _i < arguments.length; _i++) {
18090
+ args_1[_i - 1] = arguments[_i];
18091
+ }
18092
+ return __awaiter(_this, __spreadArray([mac_1], args_1, true), void 0, function (mac, options) {
18093
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18094
+ if (options === void 0) { options = {}; }
18095
+ return __generator(this, function (_a) {
18096
+ // verify required parameter 'mac' is not null or undefined
18097
+ (0, common_1.assertParamExists)('getCheckMacExists', 'mac', mac);
18098
+ localVarPath = "/admin/provisioning/fanvil/macs/{mac}"
18099
+ .replace('{mac}', encodeURIComponent(String(mac)));
18100
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18101
+ if (configuration) {
18102
+ baseOptions = configuration.baseOptions;
18103
+ }
18104
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
18105
+ localVarHeaderParameter = {};
18106
+ localVarQueryParameter = {};
18107
+ localVarHeaderParameter['Accept'] = 'application/json';
18108
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18109
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18110
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18111
+ return [2 /*return*/, {
18112
+ url: (0, common_1.toPathString)(localVarUrlObj),
18113
+ options: localVarRequestOptions,
18114
+ }];
18115
+ });
18116
+ });
18117
+ },
17947
18118
  /**
17948
18119
  * Get group Fanvil encryption key
17949
18120
  * @summary Get group Fanvil encryption key
@@ -18140,6 +18311,42 @@ var ProvisioningApiAxiosParamCreator = function (configuration) {
18140
18311
  });
18141
18312
  });
18142
18313
  },
18314
+ /**
18315
+ * Create a MAC address in FDPS
18316
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18317
+ * @param {*} [options] Override http request option.
18318
+ * @throws {RequiredError}
18319
+ */
18320
+ postCreateMac: function (macAddressDTO_1) {
18321
+ var args_1 = [];
18322
+ for (var _i = 1; _i < arguments.length; _i++) {
18323
+ args_1[_i - 1] = arguments[_i];
18324
+ }
18325
+ return __awaiter(_this, __spreadArray([macAddressDTO_1], args_1, true), void 0, function (macAddressDTO, options) {
18326
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
18327
+ if (options === void 0) { options = {}; }
18328
+ return __generator(this, function (_a) {
18329
+ localVarPath = "/admin/provisioning/fanvil/macs";
18330
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
18331
+ if (configuration) {
18332
+ baseOptions = configuration.baseOptions;
18333
+ }
18334
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
18335
+ localVarHeaderParameter = {};
18336
+ localVarQueryParameter = {};
18337
+ localVarHeaderParameter['Content-Type'] = 'application/json';
18338
+ localVarHeaderParameter['Accept'] = 'application/json';
18339
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
18340
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18341
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
18342
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(macAddressDTO, localVarRequestOptions, configuration);
18343
+ return [2 /*return*/, {
18344
+ url: (0, common_1.toPathString)(localVarUrlObj),
18345
+ options: localVarRequestOptions,
18346
+ }];
18347
+ });
18348
+ });
18349
+ },
18143
18350
  };
18144
18351
  };
18145
18352
  exports.ProvisioningApiAxiosParamCreator = ProvisioningApiAxiosParamCreator;
@@ -18173,6 +18380,28 @@ var ProvisioningApiFp = function (configuration) {
18173
18380
  });
18174
18381
  });
18175
18382
  },
18383
+ /**
18384
+ * Delete a MAC address in FDPS
18385
+ * @param {string} mac MAC Address
18386
+ * @param {*} [options] Override http request option.
18387
+ * @throws {RequiredError}
18388
+ */
18389
+ deleteCheckMacExists: function (mac, options) {
18390
+ return __awaiter(this, void 0, void 0, function () {
18391
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18392
+ var _a, _b, _c;
18393
+ return __generator(this, function (_d) {
18394
+ switch (_d.label) {
18395
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteCheckMacExists(mac, options)];
18396
+ case 1:
18397
+ localVarAxiosArgs = _d.sent();
18398
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18399
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.deleteCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18400
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
18401
+ }
18402
+ });
18403
+ });
18404
+ },
18176
18405
  /**
18177
18406
  * Delete a Fanvil provisioning group
18178
18407
  * @summary Delete group from DB and FDPS
@@ -18196,6 +18425,28 @@ var ProvisioningApiFp = function (configuration) {
18196
18425
  });
18197
18426
  });
18198
18427
  },
18428
+ /**
18429
+ * Check if a MAC address exists in FDPS
18430
+ * @param {string} mac MAC Address
18431
+ * @param {*} [options] Override http request option.
18432
+ * @throws {RequiredError}
18433
+ */
18434
+ getCheckMacExists: function (mac, options) {
18435
+ return __awaiter(this, void 0, void 0, function () {
18436
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18437
+ var _a, _b, _c;
18438
+ return __generator(this, function (_d) {
18439
+ switch (_d.label) {
18440
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getCheckMacExists(mac, options)];
18441
+ case 1:
18442
+ localVarAxiosArgs = _d.sent();
18443
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18444
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.getCheckMacExists']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18445
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
18446
+ }
18447
+ });
18448
+ });
18449
+ },
18199
18450
  /**
18200
18451
  * Get group Fanvil encryption key
18201
18452
  * @summary Get group Fanvil encryption key
@@ -18313,6 +18564,28 @@ var ProvisioningApiFp = function (configuration) {
18313
18564
  });
18314
18565
  });
18315
18566
  },
18567
+ /**
18568
+ * Create a MAC address in FDPS
18569
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18570
+ * @param {*} [options] Override http request option.
18571
+ * @throws {RequiredError}
18572
+ */
18573
+ postCreateMac: function (macAddressDTO, options) {
18574
+ return __awaiter(this, void 0, void 0, function () {
18575
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
18576
+ var _a, _b, _c;
18577
+ return __generator(this, function (_d) {
18578
+ switch (_d.label) {
18579
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.postCreateMac(macAddressDTO, options)];
18580
+ case 1:
18581
+ localVarAxiosArgs = _d.sent();
18582
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
18583
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProvisioningApi.postCreateMac']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
18584
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
18585
+ }
18586
+ });
18587
+ });
18588
+ },
18316
18589
  };
18317
18590
  };
18318
18591
  exports.ProvisioningApiFp = ProvisioningApiFp;
@@ -18333,6 +18606,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
18333
18606
  deleteAddFanvilMac: function (id, mac, options) {
18334
18607
  return localVarFp.deleteAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
18335
18608
  },
18609
+ /**
18610
+ * Delete a MAC address in FDPS
18611
+ * @param {string} mac MAC Address
18612
+ * @param {*} [options] Override http request option.
18613
+ * @throws {RequiredError}
18614
+ */
18615
+ deleteCheckMacExists: function (mac, options) {
18616
+ return localVarFp.deleteCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
18617
+ },
18336
18618
  /**
18337
18619
  * Delete a Fanvil provisioning group
18338
18620
  * @summary Delete group from DB and FDPS
@@ -18343,6 +18625,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
18343
18625
  deleteDeleteFanvilGroup: function (id, options) {
18344
18626
  return localVarFp.deleteDeleteFanvilGroup(id, options).then(function (request) { return request(axios, basePath); });
18345
18627
  },
18628
+ /**
18629
+ * Check if a MAC address exists in FDPS
18630
+ * @param {string} mac MAC Address
18631
+ * @param {*} [options] Override http request option.
18632
+ * @throws {RequiredError}
18633
+ */
18634
+ getCheckMacExists: function (mac, options) {
18635
+ return localVarFp.getCheckMacExists(mac, options).then(function (request) { return request(axios, basePath); });
18636
+ },
18346
18637
  /**
18347
18638
  * Get group Fanvil encryption key
18348
18639
  * @summary Get group Fanvil encryption key
@@ -18395,6 +18686,15 @@ var ProvisioningApiFactory = function (configuration, basePath, axios) {
18395
18686
  postAddFanvilMac: function (id, mac, options) {
18396
18687
  return localVarFp.postAddFanvilMac(id, mac, options).then(function (request) { return request(axios, basePath); });
18397
18688
  },
18689
+ /**
18690
+ * Create a MAC address in FDPS
18691
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18692
+ * @param {*} [options] Override http request option.
18693
+ * @throws {RequiredError}
18694
+ */
18695
+ postCreateMac: function (macAddressDTO, options) {
18696
+ return localVarFp.postCreateMac(macAddressDTO, options).then(function (request) { return request(axios, basePath); });
18697
+ },
18398
18698
  };
18399
18699
  };
18400
18700
  exports.ProvisioningApiFactory = ProvisioningApiFactory;
@@ -18418,6 +18718,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
18418
18718
  var _this = this;
18419
18719
  return (0, exports.ProvisioningApiFp)(this.configuration).deleteAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18420
18720
  };
18721
+ /**
18722
+ * Delete a MAC address in FDPS
18723
+ * @param {string} mac MAC Address
18724
+ * @param {*} [options] Override http request option.
18725
+ * @throws {RequiredError}
18726
+ */
18727
+ ProvisioningApi.prototype.deleteCheckMacExists = function (mac, options) {
18728
+ var _this = this;
18729
+ return (0, exports.ProvisioningApiFp)(this.configuration).deleteCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18730
+ };
18421
18731
  /**
18422
18732
  * Delete a Fanvil provisioning group
18423
18733
  * @summary Delete group from DB and FDPS
@@ -18429,6 +18739,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
18429
18739
  var _this = this;
18430
18740
  return (0, exports.ProvisioningApiFp)(this.configuration).deleteDeleteFanvilGroup(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
18431
18741
  };
18742
+ /**
18743
+ * Check if a MAC address exists in FDPS
18744
+ * @param {string} mac MAC Address
18745
+ * @param {*} [options] Override http request option.
18746
+ * @throws {RequiredError}
18747
+ */
18748
+ ProvisioningApi.prototype.getCheckMacExists = function (mac, options) {
18749
+ var _this = this;
18750
+ return (0, exports.ProvisioningApiFp)(this.configuration).getCheckMacExists(mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18751
+ };
18432
18752
  /**
18433
18753
  * Get group Fanvil encryption key
18434
18754
  * @summary Get group Fanvil encryption key
@@ -18486,6 +18806,16 @@ var ProvisioningApi = /** @class */ (function (_super) {
18486
18806
  var _this = this;
18487
18807
  return (0, exports.ProvisioningApiFp)(this.configuration).postAddFanvilMac(id, mac, options).then(function (request) { return request(_this.axios, _this.basePath); });
18488
18808
  };
18809
+ /**
18810
+ * Create a MAC address in FDPS
18811
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
18812
+ * @param {*} [options] Override http request option.
18813
+ * @throws {RequiredError}
18814
+ */
18815
+ ProvisioningApi.prototype.postCreateMac = function (macAddressDTO, options) {
18816
+ var _this = this;
18817
+ return (0, exports.ProvisioningApiFp)(this.configuration).postCreateMac(macAddressDTO, options).then(function (request) { return request(_this.axios, _this.basePath); });
18818
+ };
18489
18819
  return ProvisioningApi;
18490
18820
  }(base_1.BaseAPI));
18491
18821
  exports.ProvisioningApi = ProvisioningApi;
package/dist/base.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Yellowgrid
3
- * 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: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
3
+ * 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: `https://localhost` For questions or technical support, please contact support@yellowgrid.co.uk.
4
4
  *
5
5
  * The version of the OpenAPI document: 0
6
6
  *
package/dist/base.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: `https://bitbucket.org` 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: `https://localhost` For questions or technical support, please contact support@yellowgrid.co.uk.
7
7
  *
8
8
  * The version of the OpenAPI document: 0
9
9
  *
@@ -30,7 +30,7 @@ var __extends = (this && this.__extends) || (function () {
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
31
  exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
32
32
  var axios_1 = require("axios");
33
- exports.BASE_PATH = "https://bitbucket.org".replace(/\/+$/, "");
33
+ exports.BASE_PATH = "https://localhost".replace(/\/+$/, "");
34
34
  exports.COLLECTION_FORMATS = {
35
35
  csv: ",",
36
36
  ssv: " ",
package/dist/common.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Yellowgrid
3
- * 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: `https://bitbucket.org` For questions or technical support, please contact support@yellowgrid.co.uk.
3
+ * 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: `https://localhost` For questions or technical support, please contact support@yellowgrid.co.uk.
4
4
  *
5
5
  * The version of the OpenAPI document: 0
6
6
  *