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/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Yellowgrid
5
- * 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.
5
+ * 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.
6
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -1717,10 +1717,6 @@ export interface CrmActivityDTO {
1717
1717
  * Activity Description
1718
1718
  */
1719
1719
  'description'?: string;
1720
- /**
1721
- * Activity URL
1722
- */
1723
- 'url'?: string | null;
1724
1720
  /**
1725
1721
  * Activity User Name
1726
1722
  */
@@ -1729,6 +1725,10 @@ export interface CrmActivityDTO {
1729
1725
  * Activity Contact Name
1730
1726
  */
1731
1727
  'contact'?: string | null;
1728
+ /**
1729
+ * Activity Order ID
1730
+ */
1731
+ 'orderId'?: number | null;
1732
1732
  }
1733
1733
  /**
1734
1734
  * CRM Contact
@@ -2619,6 +2619,9 @@ export interface GenericFileModel {
2619
2619
  */
2620
2620
  'type'?: string;
2621
2621
  }
2622
+ export interface GetCheckMacExists200Response {
2623
+ 'found'?: boolean;
2624
+ }
2622
2625
  export interface GetGetPrice200Response {
2623
2626
  'price'?: number;
2624
2627
  }
@@ -3285,6 +3288,19 @@ export interface MFARequiredModel {
3285
3288
  */
3286
3289
  'png'?: string;
3287
3290
  }
3291
+ /**
3292
+ * MAC Address DTO
3293
+ */
3294
+ export interface MacAddressDTO {
3295
+ /**
3296
+ * Group ID
3297
+ */
3298
+ 'groupId'?: number;
3299
+ /**
3300
+ * MAC Address
3301
+ */
3302
+ 'macAddress'?: string;
3303
+ }
3288
3304
  /**
3289
3305
  * Monthly Contract Usage
3290
3306
  */
@@ -3568,6 +3584,31 @@ export interface OfflineInstancesEntity {
3568
3584
  */
3569
3585
  'alerted'?: number;
3570
3586
  }
3587
+ /**
3588
+ * Opayo Redirect
3589
+ */
3590
+ export interface OpayoRedirectDTO {
3591
+ /**
3592
+ * acsUrl
3593
+ */
3594
+ 'acsUrl'?: string | null;
3595
+ /**
3596
+ * paReq
3597
+ */
3598
+ 'paReq'?: string | null;
3599
+ /**
3600
+ * Transaction ID
3601
+ */
3602
+ 'transactionId'?: string | null;
3603
+ /**
3604
+ * dsTranId
3605
+ */
3606
+ 'dsTranId'?: string | null;
3607
+ /**
3608
+ * cReq
3609
+ */
3610
+ 'cReq'?: string | null;
3611
+ }
3571
3612
  /**
3572
3613
  * Legacy Portal Order
3573
3614
  */
@@ -4418,6 +4459,12 @@ export interface PatchUpdateAccountContactPasswordRequest {
4418
4459
  */
4419
4460
  'password'?: string;
4420
4461
  }
4462
+ export interface PatchUpdateAccountNameRequest {
4463
+ /**
4464
+ * Company Name
4465
+ */
4466
+ 'name'?: string;
4467
+ }
4421
4468
  export interface PatchUpdateAccountPhoneRequest {
4422
4469
  /**
4423
4470
  * Phone
@@ -4474,6 +4521,7 @@ export const PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
4474
4521
  _3: '3',
4475
4522
  _4: '4',
4476
4523
  _5: '5',
4524
+ _6: '6',
4477
4525
  } as const;
4478
4526
 
4479
4527
  export type PatchUpdateTcxHostingPriceListRequestPriceListEnum = typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum[keyof typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum];
@@ -4750,6 +4798,55 @@ export interface PrizesEntity {
4750
4798
  */
4751
4799
  'image'?: string;
4752
4800
  }
4801
+ /**
4802
+ * Product Detailed Summary
4803
+ */
4804
+ export interface ProductDetailedSummaryDTO {
4805
+ /**
4806
+ * SKU
4807
+ */
4808
+ 'sku'?: string;
4809
+ /**
4810
+ * Title
4811
+ */
4812
+ 'title'?: string;
4813
+ /**
4814
+ * Stock Quantity
4815
+ */
4816
+ 'quantity'?: number | null;
4817
+ /**
4818
+ * Stock Product
4819
+ */
4820
+ 'stockProduct'?: boolean;
4821
+ /**
4822
+ * Price
4823
+ */
4824
+ 'price'?: number | null;
4825
+ /**
4826
+ * Carton Size
4827
+ */
4828
+ 'cartonSize'?: number | null;
4829
+ /**
4830
+ * RRP Price
4831
+ */
4832
+ 'rrp'?: number | null;
4833
+ /**
4834
+ * 3CX Licence Details
4835
+ */
4836
+ 'licenceDetails'?: TcxLicenceDetailsModel | null;
4837
+ /**
4838
+ * 3CX Hosting
4839
+ */
4840
+ 'hosting'?: boolean | null;
4841
+ /**
4842
+ * Due Date
4843
+ */
4844
+ 'dueDate'?: string | null;
4845
+ /**
4846
+ * On Order
4847
+ */
4848
+ 'onOrder'?: number | null;
4849
+ }
4753
4850
  /**
4754
4851
  * Product Price List Item
4755
4852
  */
@@ -4829,10 +4926,6 @@ export interface ProductSummaryDTO {
4829
4926
  * Stock Product
4830
4927
  */
4831
4928
  'stockProduct'?: boolean;
4832
- /**
4833
- * Due Date
4834
- */
4835
- 'dueDate'?: string | null;
4836
4929
  /**
4837
4930
  * Price
4838
4931
  */
@@ -7303,43 +7396,6 @@ export interface TcxExtsEntity {
7303
7396
  */
7304
7397
  'recording'?: boolean;
7305
7398
  }
7306
- /**
7307
- * HostingPricingEntity
7308
- */
7309
- export interface TcxHostingPricingEntity {
7310
- /**
7311
- * id
7312
- */
7313
- 'id'?: number;
7314
- /**
7315
- * title
7316
- */
7317
- 'title'?: string;
7318
- /**
7319
- * perSc
7320
- */
7321
- 'perSc'?: number;
7322
- /**
7323
- * perMultiTenantSc
7324
- */
7325
- 'perMultiTenantSc'?: number;
7326
- /**
7327
- * flatRate
7328
- */
7329
- 'flatRate'?: number;
7330
- /**
7331
- * maxFlatRateSc
7332
- */
7333
- 'maxFlatRateSc'?: number;
7334
- /**
7335
- * highScThreshold
7336
- */
7337
- 'highScThreshold'?: number;
7338
- /**
7339
- * highScDiscount
7340
- */
7341
- 'highScDiscount'?: number;
7342
- }
7343
7399
  /**
7344
7400
  * 3CX Installation
7345
7401
  */
@@ -7460,6 +7516,14 @@ export interface TcxInstallationModel {
7460
7516
  * Auto Failover
7461
7517
  */
7462
7518
  'autoFailover'?: boolean;
7519
+ /**
7520
+ * Extensions in Use
7521
+ */
7522
+ 'extensions'?: number | null;
7523
+ /**
7524
+ * Max Allowed Extensions
7525
+ */
7526
+ 'maxExtensions'?: number | null;
7463
7527
  }
7464
7528
  /**
7465
7529
  * 3CX Installations
@@ -9522,6 +9586,41 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9522
9586
  options: localVarRequestOptions,
9523
9587
  };
9524
9588
  },
9589
+ /**
9590
+ * Set Account Name
9591
+ * @param {string} id Xero ID
9592
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
9593
+ * @param {*} [options] Override http request option.
9594
+ * @throws {RequiredError}
9595
+ */
9596
+ patchUpdateAccountName: async (id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9597
+ // verify required parameter 'id' is not null or undefined
9598
+ assertParamExists('patchUpdateAccountName', 'id', id)
9599
+ const localVarPath = `/admin/accounts/{id}/name`
9600
+ .replace('{id}', encodeURIComponent(String(id)));
9601
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9602
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9603
+ let baseOptions;
9604
+ if (configuration) {
9605
+ baseOptions = configuration.baseOptions;
9606
+ }
9607
+
9608
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
9609
+ const localVarHeaderParameter = {} as any;
9610
+ const localVarQueryParameter = {} as any;
9611
+
9612
+ localVarHeaderParameter['Content-Type'] = 'application/json';
9613
+
9614
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
9615
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9616
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9617
+ localVarRequestOptions.data = serializeDataIfNeeded(patchUpdateAccountNameRequest, localVarRequestOptions, configuration)
9618
+
9619
+ return {
9620
+ url: toPathString(localVarUrlObj),
9621
+ options: localVarRequestOptions,
9622
+ };
9623
+ },
9525
9624
  /**
9526
9625
  * Set Account Phone
9527
9626
  * @param {string} id Xero ID
@@ -10554,6 +10653,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10554
10653
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountContactPassword']?.[localVarOperationServerIndex]?.url;
10555
10654
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10556
10655
  },
10656
+ /**
10657
+ * Set Account Name
10658
+ * @param {string} id Xero ID
10659
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
10660
+ * @param {*} [options] Override http request option.
10661
+ * @throws {RequiredError}
10662
+ */
10663
+ async patchUpdateAccountName(id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
10664
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options);
10665
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10666
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.patchUpdateAccountName']?.[localVarOperationServerIndex]?.url;
10667
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10668
+ },
10557
10669
  /**
10558
10670
  * Set Account Phone
10559
10671
  * @param {string} id Xero ID
@@ -11068,6 +11180,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
11068
11180
  patchUpdateAccountContactPassword(token: string, patchUpdateAccountContactPasswordRequest?: PatchUpdateAccountContactPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
11069
11181
  return localVarFp.patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then((request) => request(axios, basePath));
11070
11182
  },
11183
+ /**
11184
+ * Set Account Name
11185
+ * @param {string} id Xero ID
11186
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
11187
+ * @param {*} [options] Override http request option.
11188
+ * @throws {RequiredError}
11189
+ */
11190
+ patchUpdateAccountName(id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
11191
+ return localVarFp.patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then((request) => request(axios, basePath));
11192
+ },
11071
11193
  /**
11072
11194
  * Set Account Phone
11073
11195
  * @param {string} id Xero ID
@@ -11545,6 +11667,17 @@ export class AccountsApi extends BaseAPI {
11545
11667
  return AccountsApiFp(this.configuration).patchUpdateAccountContactPassword(token, patchUpdateAccountContactPasswordRequest, options).then((request) => request(this.axios, this.basePath));
11546
11668
  }
11547
11669
 
11670
+ /**
11671
+ * Set Account Name
11672
+ * @param {string} id Xero ID
11673
+ * @param {PatchUpdateAccountNameRequest} [patchUpdateAccountNameRequest] Account Name Request
11674
+ * @param {*} [options] Override http request option.
11675
+ * @throws {RequiredError}
11676
+ */
11677
+ public patchUpdateAccountName(id: string, patchUpdateAccountNameRequest?: PatchUpdateAccountNameRequest, options?: RawAxiosRequestConfig) {
11678
+ return AccountsApiFp(this.configuration).patchUpdateAccountName(id, patchUpdateAccountNameRequest, options).then((request) => request(this.axios, this.basePath));
11679
+ }
11680
+
11548
11681
  /**
11549
11682
  * Set Account Phone
11550
11683
  * @param {string} id Xero ID
@@ -22727,10 +22860,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
22727
22860
  * @summary Get Product
22728
22861
  * @param {string} sku Product SKU
22729
22862
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
22863
+ * @param {number} [orderId] Order ID
22730
22864
  * @param {*} [options] Override http request option.
22731
22865
  * @throws {RequiredError}
22732
22866
  */
22733
- postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22867
+ postGetProduct: async (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22734
22868
  // verify required parameter 'sku' is not null or undefined
22735
22869
  assertParamExists('postGetProduct', 'sku', sku)
22736
22870
  // verify required parameter 'postGetProductForCustomerRequest' is not null or undefined
@@ -22748,6 +22882,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
22748
22882
  const localVarHeaderParameter = {} as any;
22749
22883
  const localVarQueryParameter = {} as any;
22750
22884
 
22885
+ if (orderId !== undefined) {
22886
+ localVarQueryParameter['orderId'] = orderId;
22887
+ }
22888
+
22751
22889
  localVarHeaderParameter['Content-Type'] = 'application/json';
22752
22890
  localVarHeaderParameter['Accept'] = 'application/json';
22753
22891
 
@@ -22767,10 +22905,11 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
22767
22905
  * @param {number} customerId Customer ID
22768
22906
  * @param {string} sku Product SKU
22769
22907
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
22908
+ * @param {number} [orderId] Order ID
22770
22909
  * @param {*} [options] Override http request option.
22771
22910
  * @throws {RequiredError}
22772
22911
  */
22773
- postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22912
+ postGetProductForCustomer: async (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22774
22913
  // verify required parameter 'customerId' is not null or undefined
22775
22914
  assertParamExists('postGetProductForCustomer', 'customerId', customerId)
22776
22915
  // verify required parameter 'sku' is not null or undefined
@@ -22794,6 +22933,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
22794
22933
  localVarQueryParameter['customerId'] = customerId;
22795
22934
  }
22796
22935
 
22936
+ if (orderId !== undefined) {
22937
+ localVarQueryParameter['orderId'] = orderId;
22938
+ }
22939
+
22797
22940
  localVarHeaderParameter['Content-Type'] = 'application/json';
22798
22941
  localVarHeaderParameter['Accept'] = 'application/json';
22799
22942
 
@@ -22924,11 +23067,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
22924
23067
  * @summary Get Product
22925
23068
  * @param {string} sku Product SKU
22926
23069
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
23070
+ * @param {number} [orderId] Order ID
22927
23071
  * @param {*} [options] Override http request option.
22928
23072
  * @throws {RequiredError}
22929
23073
  */
22930
- async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
22931
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, options);
23074
+ async postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductDetailedSummaryDTO>> {
23075
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options);
22932
23076
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22933
23077
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProduct']?.[localVarOperationServerIndex]?.url;
22934
23078
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -22939,11 +23083,12 @@ export const ProductsApiFp = function(configuration?: Configuration) {
22939
23083
  * @param {number} customerId Customer ID
22940
23084
  * @param {string} sku Product SKU
22941
23085
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
23086
+ * @param {number} [orderId] Order ID
22942
23087
  * @param {*} [options] Override http request option.
22943
23088
  * @throws {RequiredError}
22944
23089
  */
22945
- async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>> {
22946
- const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options);
23090
+ async postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductDetailedSummaryDTO>> {
23091
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options);
22947
23092
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22948
23093
  const localVarOperationServerBasePath = operationServerMap['ProductsApi.postGetProductForCustomer']?.[localVarOperationServerIndex]?.url;
22949
23094
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -23041,11 +23186,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
23041
23186
  * @summary Get Product
23042
23187
  * @param {string} sku Product SKU
23043
23188
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
23189
+ * @param {number} [orderId] Order ID
23044
23190
  * @param {*} [options] Override http request option.
23045
23191
  * @throws {RequiredError}
23046
23192
  */
23047
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
23048
- return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
23193
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductDetailedSummaryDTO> {
23194
+ return localVarFp.postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(axios, basePath));
23049
23195
  },
23050
23196
  /**
23051
23197
  * Get Product For Customer
@@ -23053,11 +23199,12 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
23053
23199
  * @param {number} customerId Customer ID
23054
23200
  * @param {string} sku Product SKU
23055
23201
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
23202
+ * @param {number} [orderId] Order ID
23056
23203
  * @param {*} [options] Override http request option.
23057
23204
  * @throws {RequiredError}
23058
23205
  */
23059
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO> {
23060
- return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(axios, basePath));
23206
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductDetailedSummaryDTO> {
23207
+ return localVarFp.postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(axios, basePath));
23061
23208
  },
23062
23209
  };
23063
23210
  };
@@ -23158,11 +23305,12 @@ export class ProductsApi extends BaseAPI {
23158
23305
  * @summary Get Product
23159
23306
  * @param {string} sku Product SKU
23160
23307
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
23308
+ * @param {number} [orderId] Order ID
23161
23309
  * @param {*} [options] Override http request option.
23162
23310
  * @throws {RequiredError}
23163
23311
  */
23164
- public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
23165
- return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
23312
+ public postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) {
23313
+ return ProductsApiFp(this.configuration).postGetProduct(sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(this.axios, this.basePath));
23166
23314
  }
23167
23315
 
23168
23316
  /**
@@ -23171,11 +23319,12 @@ export class ProductsApi extends BaseAPI {
23171
23319
  * @param {number} customerId Customer ID
23172
23320
  * @param {string} sku Product SKU
23173
23321
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
23322
+ * @param {number} [orderId] Order ID
23174
23323
  * @param {*} [options] Override http request option.
23175
23324
  * @throws {RequiredError}
23176
23325
  */
23177
- public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) {
23178
- return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, options).then((request) => request(this.axios, this.basePath));
23326
+ public postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) {
23327
+ return ProductsApiFp(this.configuration).postGetProductForCustomer(customerId, sku, postGetProductForCustomerRequest, orderId, options).then((request) => request(this.axios, this.basePath));
23179
23328
  }
23180
23329
  }
23181
23330
 
@@ -23537,6 +23686,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
23537
23686
  const localVarQueryParameter = {} as any;
23538
23687
 
23539
23688
 
23689
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23690
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23691
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23692
+
23693
+ return {
23694
+ url: toPathString(localVarUrlObj),
23695
+ options: localVarRequestOptions,
23696
+ };
23697
+ },
23698
+ /**
23699
+ * Delete a MAC address in FDPS
23700
+ * @param {string} mac MAC Address
23701
+ * @param {*} [options] Override http request option.
23702
+ * @throws {RequiredError}
23703
+ */
23704
+ deleteCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23705
+ // verify required parameter 'mac' is not null or undefined
23706
+ assertParamExists('deleteCheckMacExists', 'mac', mac)
23707
+ const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
23708
+ .replace('{mac}', encodeURIComponent(String(mac)));
23709
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23710
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23711
+ let baseOptions;
23712
+ if (configuration) {
23713
+ baseOptions = configuration.baseOptions;
23714
+ }
23715
+
23716
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
23717
+ const localVarHeaderParameter = {} as any;
23718
+ const localVarQueryParameter = {} as any;
23719
+
23720
+
23540
23721
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23541
23722
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23542
23723
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23570,6 +23751,39 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
23570
23751
  const localVarQueryParameter = {} as any;
23571
23752
 
23572
23753
 
23754
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23755
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23756
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23757
+
23758
+ return {
23759
+ url: toPathString(localVarUrlObj),
23760
+ options: localVarRequestOptions,
23761
+ };
23762
+ },
23763
+ /**
23764
+ * Check if a MAC address exists in FDPS
23765
+ * @param {string} mac MAC Address
23766
+ * @param {*} [options] Override http request option.
23767
+ * @throws {RequiredError}
23768
+ */
23769
+ getCheckMacExists: async (mac: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23770
+ // verify required parameter 'mac' is not null or undefined
23771
+ assertParamExists('getCheckMacExists', 'mac', mac)
23772
+ const localVarPath = `/admin/provisioning/fanvil/macs/{mac}`
23773
+ .replace('{mac}', encodeURIComponent(String(mac)));
23774
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23775
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23776
+ let baseOptions;
23777
+ if (configuration) {
23778
+ baseOptions = configuration.baseOptions;
23779
+ }
23780
+
23781
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23782
+ const localVarHeaderParameter = {} as any;
23783
+ const localVarQueryParameter = {} as any;
23784
+
23785
+ localVarHeaderParameter['Accept'] = 'application/json';
23786
+
23573
23787
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23574
23788
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23575
23789
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23751,6 +23965,38 @@ export const ProvisioningApiAxiosParamCreator = function (configuration?: Config
23751
23965
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23752
23966
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23753
23967
 
23968
+ return {
23969
+ url: toPathString(localVarUrlObj),
23970
+ options: localVarRequestOptions,
23971
+ };
23972
+ },
23973
+ /**
23974
+ * Create a MAC address in FDPS
23975
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
23976
+ * @param {*} [options] Override http request option.
23977
+ * @throws {RequiredError}
23978
+ */
23979
+ postCreateMac: async (macAddressDTO?: MacAddressDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23980
+ const localVarPath = `/admin/provisioning/fanvil/macs`;
23981
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23982
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23983
+ let baseOptions;
23984
+ if (configuration) {
23985
+ baseOptions = configuration.baseOptions;
23986
+ }
23987
+
23988
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23989
+ const localVarHeaderParameter = {} as any;
23990
+ const localVarQueryParameter = {} as any;
23991
+
23992
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23993
+ localVarHeaderParameter['Accept'] = 'application/json';
23994
+
23995
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23996
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23997
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23998
+ localVarRequestOptions.data = serializeDataIfNeeded(macAddressDTO, localVarRequestOptions, configuration)
23999
+
23754
24000
  return {
23755
24001
  url: toPathString(localVarUrlObj),
23756
24002
  options: localVarRequestOptions,
@@ -23779,6 +24025,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
23779
24025
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteAddFanvilMac']?.[localVarOperationServerIndex]?.url;
23780
24026
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23781
24027
  },
24028
+ /**
24029
+ * Delete a MAC address in FDPS
24030
+ * @param {string} mac MAC Address
24031
+ * @param {*} [options] Override http request option.
24032
+ * @throws {RequiredError}
24033
+ */
24034
+ async deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
24035
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCheckMacExists(mac, options);
24036
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24037
+ const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteCheckMacExists']?.[localVarOperationServerIndex]?.url;
24038
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24039
+ },
23782
24040
  /**
23783
24041
  * Delete a Fanvil provisioning group
23784
24042
  * @summary Delete group from DB and FDPS
@@ -23792,6 +24050,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
23792
24050
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.deleteDeleteFanvilGroup']?.[localVarOperationServerIndex]?.url;
23793
24051
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23794
24052
  },
24053
+ /**
24054
+ * Check if a MAC address exists in FDPS
24055
+ * @param {string} mac MAC Address
24056
+ * @param {*} [options] Override http request option.
24057
+ * @throws {RequiredError}
24058
+ */
24059
+ async getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCheckMacExists200Response>> {
24060
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCheckMacExists(mac, options);
24061
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24062
+ const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.getCheckMacExists']?.[localVarOperationServerIndex]?.url;
24063
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24064
+ },
23795
24065
  /**
23796
24066
  * Get group Fanvil encryption key
23797
24067
  * @summary Get group Fanvil encryption key
@@ -23859,6 +24129,18 @@ export const ProvisioningApiFp = function(configuration?: Configuration) {
23859
24129
  const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postAddFanvilMac']?.[localVarOperationServerIndex]?.url;
23860
24130
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23861
24131
  },
24132
+ /**
24133
+ * Create a MAC address in FDPS
24134
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
24135
+ * @param {*} [options] Override http request option.
24136
+ * @throws {RequiredError}
24137
+ */
24138
+ async postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>> {
24139
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateMac(macAddressDTO, options);
24140
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24141
+ const localVarOperationServerBasePath = operationServerMap['ProvisioningApi.postCreateMac']?.[localVarOperationServerIndex]?.url;
24142
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24143
+ },
23862
24144
  }
23863
24145
  };
23864
24146
 
@@ -23879,6 +24161,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
23879
24161
  deleteAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23880
24162
  return localVarFp.deleteAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
23881
24163
  },
24164
+ /**
24165
+ * Delete a MAC address in FDPS
24166
+ * @param {string} mac MAC Address
24167
+ * @param {*} [options] Override http request option.
24168
+ * @throws {RequiredError}
24169
+ */
24170
+ deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
24171
+ return localVarFp.deleteCheckMacExists(mac, options).then((request) => request(axios, basePath));
24172
+ },
23882
24173
  /**
23883
24174
  * Delete a Fanvil provisioning group
23884
24175
  * @summary Delete group from DB and FDPS
@@ -23889,6 +24180,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
23889
24180
  deleteDeleteFanvilGroup(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23890
24181
  return localVarFp.deleteDeleteFanvilGroup(id, options).then((request) => request(axios, basePath));
23891
24182
  },
24183
+ /**
24184
+ * Check if a MAC address exists in FDPS
24185
+ * @param {string} mac MAC Address
24186
+ * @param {*} [options] Override http request option.
24187
+ * @throws {RequiredError}
24188
+ */
24189
+ getCheckMacExists(mac: string, options?: RawAxiosRequestConfig): AxiosPromise<GetCheckMacExists200Response> {
24190
+ return localVarFp.getCheckMacExists(mac, options).then((request) => request(axios, basePath));
24191
+ },
23892
24192
  /**
23893
24193
  * Get group Fanvil encryption key
23894
24194
  * @summary Get group Fanvil encryption key
@@ -23941,6 +24241,15 @@ export const ProvisioningApiFactory = function (configuration?: Configuration, b
23941
24241
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23942
24242
  return localVarFp.postAddFanvilMac(id, mac, options).then((request) => request(axios, basePath));
23943
24243
  },
24244
+ /**
24245
+ * Create a MAC address in FDPS
24246
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
24247
+ * @param {*} [options] Override http request option.
24248
+ * @throws {RequiredError}
24249
+ */
24250
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO> {
24251
+ return localVarFp.postCreateMac(macAddressDTO, options).then((request) => request(axios, basePath));
24252
+ },
23944
24253
  };
23945
24254
  };
23946
24255
 
@@ -23960,6 +24269,16 @@ export class ProvisioningApi extends BaseAPI {
23960
24269
  return ProvisioningApiFp(this.configuration).deleteAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
23961
24270
  }
23962
24271
 
24272
+ /**
24273
+ * Delete a MAC address in FDPS
24274
+ * @param {string} mac MAC Address
24275
+ * @param {*} [options] Override http request option.
24276
+ * @throws {RequiredError}
24277
+ */
24278
+ public deleteCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
24279
+ return ProvisioningApiFp(this.configuration).deleteCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
24280
+ }
24281
+
23963
24282
  /**
23964
24283
  * Delete a Fanvil provisioning group
23965
24284
  * @summary Delete group from DB and FDPS
@@ -23971,6 +24290,16 @@ export class ProvisioningApi extends BaseAPI {
23971
24290
  return ProvisioningApiFp(this.configuration).deleteDeleteFanvilGroup(id, options).then((request) => request(this.axios, this.basePath));
23972
24291
  }
23973
24292
 
24293
+ /**
24294
+ * Check if a MAC address exists in FDPS
24295
+ * @param {string} mac MAC Address
24296
+ * @param {*} [options] Override http request option.
24297
+ * @throws {RequiredError}
24298
+ */
24299
+ public getCheckMacExists(mac: string, options?: RawAxiosRequestConfig) {
24300
+ return ProvisioningApiFp(this.configuration).getCheckMacExists(mac, options).then((request) => request(this.axios, this.basePath));
24301
+ }
24302
+
23974
24303
  /**
23975
24304
  * Get group Fanvil encryption key
23976
24305
  * @summary Get group Fanvil encryption key
@@ -24027,6 +24356,16 @@ export class ProvisioningApi extends BaseAPI {
24027
24356
  public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
24028
24357
  return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
24029
24358
  }
24359
+
24360
+ /**
24361
+ * Create a MAC address in FDPS
24362
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
24363
+ * @param {*} [options] Override http request option.
24364
+ * @throws {RequiredError}
24365
+ */
24366
+ public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
24367
+ return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
24368
+ }
24030
24369
  }
24031
24370
 
24032
24371