yellowgrid-api-ts 3.2.217 → 3.2.218-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 (563) hide show
  1. package/.openapi-generator/FILES +343 -299
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +79 -1
  4. package/api.ts +3832 -58
  5. package/base.ts +2 -2
  6. package/common.ts +1 -1
  7. package/config.json +4 -3
  8. package/configuration.ts +1 -1
  9. package/dist/api.d.ts +2553 -202
  10. package/dist/api.js +5840 -2586
  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/GraphTypeEnum.d.ts +13 -0
  20. package/dist/models/GraphTypeEnum.js +15 -0
  21. package/dist/models/HostingPriceListEnum.d.ts +5 -0
  22. package/dist/models/HostingPriceListEnum.js +5 -0
  23. package/dist/models/ReportEnum.d.ts +53 -0
  24. package/dist/models/ReportEnum.js +55 -0
  25. package/dist/models/RmaStatusEnum.d.ts +28 -0
  26. package/dist/models/RmaStatusEnum.js +30 -0
  27. package/dist/models/StatusEnum.d.ts +18 -0
  28. package/dist/models/StatusEnum.js +20 -0
  29. package/dist/src/apis/AccountsApi.d.ts +258 -0
  30. package/dist/src/apis/AccountsApi.js +975 -0
  31. package/dist/src/apis/CRMApi.d.ts +26 -0
  32. package/dist/src/apis/CRMApi.js +122 -0
  33. package/dist/src/apis/Class3CXApi.d.ts +44 -0
  34. package/dist/src/apis/Class3CXApi.js +177 -0
  35. package/dist/src/apis/Class3CXInstallationWizardApi.d.ts +446 -0
  36. package/dist/src/apis/Class3CXInstallationWizardApi.js +1740 -0
  37. package/dist/src/apis/Class3CXInstallationsApi.d.ts +253 -0
  38. package/dist/src/apis/Class3CXInstallationsApi.js +806 -0
  39. package/dist/src/apis/Class3CXIntegrationsApi.d.ts +102 -0
  40. package/dist/src/apis/Class3CXIntegrationsApi.js +386 -0
  41. package/dist/src/apis/Class3CXMultiTenantApi.d.ts +122 -0
  42. package/dist/src/apis/Class3CXMultiTenantApi.js +431 -0
  43. package/dist/src/apis/MyPBXToolsApi.d.ts +32 -0
  44. package/dist/src/apis/MyPBXToolsApi.js +136 -0
  45. package/dist/src/apis/OAuth20Api.d.ts +185 -0
  46. package/dist/src/apis/OAuth20Api.js +507 -0
  47. package/dist/src/apis/OrdersApi.d.ts +154 -0
  48. package/dist/src/apis/OrdersApi.js +512 -0
  49. package/dist/src/apis/PricingApi.d.ts +154 -0
  50. package/dist/src/apis/PricingApi.js +308 -0
  51. package/dist/src/apis/ProductsApi.d.ts +135 -0
  52. package/dist/src/apis/ProductsApi.js +531 -0
  53. package/dist/src/apis/ProvisioningApi.d.ts +112 -0
  54. package/dist/src/apis/ProvisioningApi.js +427 -0
  55. package/dist/src/apis/SIPTrunksApi.d.ts +315 -0
  56. package/dist/src/apis/SIPTrunksApi.js +1197 -0
  57. package/dist/src/apis/SMSApi.d.ts +30 -0
  58. package/dist/src/apis/SMSApi.js +130 -0
  59. package/dist/src/apis/ServicesApi.d.ts +81 -0
  60. package/dist/src/apis/ServicesApi.js +386 -0
  61. package/dist/src/apis/ShippingApi.d.ts +45 -0
  62. package/dist/src/apis/ShippingApi.js +179 -0
  63. package/dist/src/apis/StockManagementApi.d.ts +345 -0
  64. package/dist/src/apis/StockManagementApi.js +1293 -0
  65. package/dist/src/apis/SystemApi.d.ts +37 -0
  66. package/dist/src/apis/SystemApi.js +146 -0
  67. package/dist/src/apis/TicketsApi.d.ts +79 -0
  68. package/dist/src/apis/TicketsApi.js +360 -0
  69. package/dist/src/apis/WebhooksApi.d.ts +56 -0
  70. package/dist/src/apis/WebhooksApi.js +189 -0
  71. package/dist/src/apis/index.d.ts +21 -0
  72. package/dist/src/apis/index.js +39 -0
  73. package/dist/src/index.d.ts +3 -0
  74. package/dist/src/index.js +21 -0
  75. package/dist/src/models/AbstractOrderRequestDTO.d.ts +71 -0
  76. package/dist/src/models/AbstractOrderRequestDTO.js +64 -0
  77. package/dist/src/models/AccountContactEntity.d.ts +104 -0
  78. package/dist/src/models/AccountContactEntity.js +73 -0
  79. package/dist/src/models/AccountContactModel.d.ts +104 -0
  80. package/dist/src/models/AccountContactModel.js +73 -0
  81. package/dist/src/models/AccountContactRequestModel.d.ts +80 -0
  82. package/dist/src/models/AccountContactRequestModel.js +65 -0
  83. package/dist/src/models/AccountDetailedSummaryDTO.d.ts +89 -0
  84. package/dist/src/models/AccountDetailedSummaryDTO.js +70 -0
  85. package/dist/src/models/AccountRequestModel.d.ts +128 -0
  86. package/dist/src/models/AccountRequestModel.js +81 -0
  87. package/dist/src/models/AccountSummaryDTO.d.ts +44 -0
  88. package/dist/src/models/AccountSummaryDTO.js +53 -0
  89. package/dist/src/models/AccountsResponseModel.d.ts +51 -0
  90. package/dist/src/models/AccountsResponseModel.js +56 -0
  91. package/dist/src/models/AddressModel.d.ts +110 -0
  92. package/dist/src/models/AddressModel.js +75 -0
  93. package/dist/src/models/AddressRequestModel.d.ts +50 -0
  94. package/dist/src/models/AddressRequestModel.js +55 -0
  95. package/dist/src/models/AdminOrderRequestDTO.d.ts +113 -0
  96. package/dist/src/models/AdminOrderRequestDTO.js +78 -0
  97. package/dist/src/models/AdminUserModel.d.ts +79 -0
  98. package/dist/src/models/AdminUserModel.js +72 -0
  99. package/dist/src/models/AgentHoursGraphModel.d.ts +51 -0
  100. package/dist/src/models/AgentHoursGraphModel.js +56 -0
  101. package/dist/src/models/AgentHoursGraphMonthModel.d.ts +38 -0
  102. package/dist/src/models/AgentHoursGraphMonthModel.js +51 -0
  103. package/dist/src/models/ApiLogEntity.d.ts +98 -0
  104. package/dist/src/models/ApiLogEntity.js +71 -0
  105. package/dist/src/models/AreaCodeModel.d.ts +38 -0
  106. package/dist/src/models/AreaCodeModel.js +51 -0
  107. package/dist/src/models/AttachmentModel.d.ts +56 -0
  108. package/dist/src/models/AttachmentModel.js +57 -0
  109. package/dist/src/models/AttributeSetEnum.d.ts +38 -0
  110. package/dist/src/models/AttributeSetEnum.js +51 -0
  111. package/dist/src/models/AuditLogEntity.d.ts +80 -0
  112. package/dist/src/models/AuditLogEntity.js +65 -0
  113. package/dist/src/models/AuthCodeResponseModel.d.ts +44 -0
  114. package/dist/src/models/AuthCodeResponseModel.js +53 -0
  115. package/dist/src/models/BasicItemDTO.d.ts +38 -0
  116. package/dist/src/models/BasicItemDTO.js +51 -0
  117. package/dist/src/models/BasicProductDTO.d.ts +38 -0
  118. package/dist/src/models/BasicProductDTO.js +51 -0
  119. package/dist/src/models/BatchEntity.d.ts +128 -0
  120. package/dist/src/models/BatchEntity.js +81 -0
  121. package/dist/src/models/CallBarringModel.d.ts +56 -0
  122. package/dist/src/models/CallBarringModel.js +57 -0
  123. package/dist/src/models/ClientDetailsModel.d.ts +68 -0
  124. package/dist/src/models/ClientDetailsModel.js +61 -0
  125. package/dist/src/models/ClientModel.d.ts +50 -0
  126. package/dist/src/models/ClientModel.js +55 -0
  127. package/dist/src/models/CompanyContractModel.d.ts +56 -0
  128. package/dist/src/models/CompanyContractModel.js +57 -0
  129. package/dist/src/models/ContactInfoModel.d.ts +56 -0
  130. package/dist/src/models/ContactInfoModel.js +57 -0
  131. package/dist/src/models/ConversationModel.d.ts +75 -0
  132. package/dist/src/models/ConversationModel.js +64 -0
  133. package/dist/src/models/CourierPriceEntity.d.ts +86 -0
  134. package/dist/src/models/CourierPriceEntity.js +67 -0
  135. package/dist/src/models/CreditAccountEntity.d.ts +152 -0
  136. package/dist/src/models/CreditAccountEntity.js +89 -0
  137. package/dist/src/models/CrmContactDTO.d.ts +68 -0
  138. package/dist/src/models/CrmContactDTO.js +61 -0
  139. package/dist/src/models/CustomerInformationModel.d.ts +68 -0
  140. package/dist/src/models/CustomerInformationModel.js +61 -0
  141. package/dist/src/models/CustomerItemRequestDTO.d.ts +81 -0
  142. package/dist/src/models/CustomerItemRequestDTO.js +66 -0
  143. package/dist/src/models/CustomerOrderRequestDTO.d.ts +71 -0
  144. package/dist/src/models/CustomerOrderRequestDTO.js +64 -0
  145. package/dist/src/models/CustomerPriceListEnum.d.ts +38 -0
  146. package/dist/src/models/CustomerPriceListEnum.js +51 -0
  147. package/dist/src/models/CustomerSummaryReportDTO.d.ts +65 -0
  148. package/dist/src/models/CustomerSummaryReportDTO.js +62 -0
  149. package/dist/src/models/DdiRangeRequestModel.d.ts +44 -0
  150. package/dist/src/models/DdiRangeRequestModel.js +53 -0
  151. package/dist/src/models/DdiRangesRequestModel.d.ts +33 -0
  152. package/dist/src/models/DdiRangesRequestModel.js +50 -0
  153. package/dist/src/models/DetailedItemRequestDTO.d.ts +99 -0
  154. package/dist/src/models/DetailedItemRequestDTO.js +72 -0
  155. package/dist/src/models/DetailedOrderRequestDTO.d.ts +71 -0
  156. package/dist/src/models/DetailedOrderRequestDTO.js +64 -0
  157. package/dist/src/models/DivertRequestModel.d.ts +38 -0
  158. package/dist/src/models/DivertRequestModel.js +51 -0
  159. package/dist/src/models/DivertResponseModel.d.ts +52 -0
  160. package/dist/src/models/DivertResponseModel.js +61 -0
  161. package/dist/src/models/EdTechProClientEntity.d.ts +56 -0
  162. package/dist/src/models/EdTechProClientEntity.js +57 -0
  163. package/dist/src/models/EdTechProSchoolModel.d.ts +104 -0
  164. package/dist/src/models/EdTechProSchoolModel.js +73 -0
  165. package/dist/src/models/EdTechProSchoolsModel.d.ts +51 -0
  166. package/dist/src/models/EdTechProSchoolsModel.js +56 -0
  167. package/dist/src/models/EdTechProSetupModel.d.ts +56 -0
  168. package/dist/src/models/EdTechProSetupModel.js +57 -0
  169. package/dist/src/models/EventDTO.d.ts +84 -0
  170. package/dist/src/models/EventDTO.js +73 -0
  171. package/dist/src/models/EventRequestDTO.d.ts +44 -0
  172. package/dist/src/models/EventRequestDTO.js +53 -0
  173. package/dist/src/models/EventSubscriptionModel.d.ts +38 -0
  174. package/dist/src/models/EventSubscriptionModel.js +51 -0
  175. package/dist/src/models/EventTypeEnum.d.ts +19 -0
  176. package/dist/src/models/EventTypeEnum.js +24 -0
  177. package/dist/src/models/EventUpdateDTO.d.ts +50 -0
  178. package/dist/src/models/EventUpdateDTO.js +55 -0
  179. package/dist/src/models/EventUpdateEntity.d.ts +56 -0
  180. package/dist/src/models/EventUpdateEntity.js +57 -0
  181. package/dist/src/models/EventUpdateRequestDTO.d.ts +44 -0
  182. package/dist/src/models/EventUpdateRequestDTO.js +53 -0
  183. package/dist/src/models/FraudManagementModel.d.ts +38 -0
  184. package/dist/src/models/FraudManagementModel.js +51 -0
  185. package/dist/src/models/FreshdeskCompanyTicketsModel.d.ts +51 -0
  186. package/dist/src/models/FreshdeskCompanyTicketsModel.js +56 -0
  187. package/dist/src/models/FreshdeskTicketEntity.d.ts +68 -0
  188. package/dist/src/models/FreshdeskTicketEntity.js +61 -0
  189. package/dist/src/models/FtpAccountsEntity.d.ts +56 -0
  190. package/dist/src/models/FtpAccountsEntity.js +57 -0
  191. package/dist/src/models/GenericFileModel.d.ts +44 -0
  192. package/dist/src/models/GenericFileModel.js +53 -0
  193. package/dist/src/models/GetGetPrice200Response.d.ts +32 -0
  194. package/dist/src/models/GetGetPrice200Response.js +49 -0
  195. package/dist/src/models/GetGetRecording200Response.d.ts +32 -0
  196. package/dist/src/models/GetGetRecording200Response.js +49 -0
  197. package/dist/src/models/HostingChangeResponseModel.d.ts +64 -0
  198. package/dist/src/models/HostingChangeResponseModel.js +65 -0
  199. package/dist/src/models/HostingRegionDTO.d.ts +59 -0
  200. package/dist/src/models/HostingRegionDTO.js +68 -0
  201. package/dist/src/models/InstanceAutoFailoverEntity.d.ts +56 -0
  202. package/dist/src/models/InstanceAutoFailoverEntity.js +57 -0
  203. package/dist/src/models/InstanceDeletionScheduleEntity.d.ts +50 -0
  204. package/dist/src/models/InstanceDeletionScheduleEntity.js +55 -0
  205. package/dist/src/models/InstanceEntity.d.ts +152 -0
  206. package/dist/src/models/InstanceEntity.js +89 -0
  207. package/dist/src/models/InstanceFailoverEntity.d.ts +92 -0
  208. package/dist/src/models/InstanceFailoverEntity.js +69 -0
  209. package/dist/src/models/InstanceMonitoringEntity.d.ts +44 -0
  210. package/dist/src/models/InstanceMonitoringEntity.js +53 -0
  211. package/dist/src/models/InstanceMonitoringLogEntity.d.ts +62 -0
  212. package/dist/src/models/InstanceMonitoringLogEntity.js +59 -0
  213. package/dist/src/models/InstanceScheduledTasksEntity.d.ts +62 -0
  214. package/dist/src/models/InstanceScheduledTasksEntity.js +59 -0
  215. package/dist/src/models/InstanceTcxDetailsEntity.d.ts +86 -0
  216. package/dist/src/models/InstanceTcxDetailsEntity.js +67 -0
  217. package/dist/src/models/InstanceUserCredentialsEntity.d.ts +56 -0
  218. package/dist/src/models/InstanceUserCredentialsEntity.js +57 -0
  219. package/dist/src/models/ItemDTO.d.ts +117 -0
  220. package/dist/src/models/ItemDTO.js +78 -0
  221. package/dist/src/models/ItemDiscountEntity.d.ts +77 -0
  222. package/dist/src/models/ItemDiscountEntity.js +70 -0
  223. package/dist/src/models/ItemEntity.d.ts +158 -0
  224. package/dist/src/models/ItemEntity.js +91 -0
  225. package/dist/src/models/LinkedOrderEntity.d.ts +38 -0
  226. package/dist/src/models/LinkedOrderEntity.js +51 -0
  227. package/dist/src/models/MFARequiredModel.d.ts +38 -0
  228. package/dist/src/models/MFARequiredModel.js +51 -0
  229. package/dist/src/models/MonthlyUsageModel.d.ts +38 -0
  230. package/dist/src/models/MonthlyUsageModel.js +51 -0
  231. package/dist/src/models/MultiTenantChangeResponseModel.d.ts +70 -0
  232. package/dist/src/models/MultiTenantChangeResponseModel.js +75 -0
  233. package/dist/src/models/NavigationModel.d.ts +50 -0
  234. package/dist/src/models/NavigationModel.js +55 -0
  235. package/dist/src/models/OfflineInstancesEntity.d.ts +56 -0
  236. package/dist/src/models/OfflineInstancesEntity.js +57 -0
  237. package/dist/src/models/OrderEntity.d.ts +374 -0
  238. package/dist/src/models/OrderEntity.js +163 -0
  239. package/dist/src/models/OrderRequestModel.d.ts +120 -0
  240. package/dist/src/models/OrderRequestModel.js +88 -0
  241. package/dist/src/models/OrderSummariesModel.d.ts +51 -0
  242. package/dist/src/models/OrderSummariesModel.js +56 -0
  243. package/dist/src/models/OrderSummaryDTO.d.ts +126 -0
  244. package/dist/src/models/OrderSummaryDTO.js +83 -0
  245. package/dist/src/models/OrderTotalModel.d.ts +111 -0
  246. package/dist/src/models/OrderTotalModel.js +100 -0
  247. package/dist/src/models/OrderedItemEntity.d.ts +110 -0
  248. package/dist/src/models/OrderedItemEntity.js +75 -0
  249. package/dist/src/models/PatchSetTcxWizardCnameRequest.d.ts +32 -0
  250. package/dist/src/models/PatchSetTcxWizardCnameRequest.js +49 -0
  251. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.d.ts +32 -0
  252. package/dist/src/models/PatchUpdateAccountContactPasswordRequest.js +49 -0
  253. package/dist/src/models/PortalAccountModel.d.ts +171 -0
  254. package/dist/src/models/PortalAccountModel.js +96 -0
  255. package/dist/src/models/PortalLoginModel.d.ts +68 -0
  256. package/dist/src/models/PortalLoginModel.js +61 -0
  257. package/dist/src/models/PostAddWebhook200Response.d.ts +32 -0
  258. package/dist/src/models/PostAddWebhook200Response.js +49 -0
  259. package/dist/src/models/PostGetClientCredentialsRequest.d.ts +32 -0
  260. package/dist/src/models/PostGetClientCredentialsRequest.js +49 -0
  261. package/dist/src/models/PostGetProductForCustomerRequest.d.ts +50 -0
  262. package/dist/src/models/PostGetProductForCustomerRequest.js +55 -0
  263. package/dist/src/models/PostGetProductRequest.d.ts +44 -0
  264. package/dist/src/models/PostGetProductRequest.js +53 -0
  265. package/dist/src/models/PriceListItemModel.d.ts +56 -0
  266. package/dist/src/models/PriceListItemModel.js +57 -0
  267. package/dist/src/models/PrizesEntity.d.ts +62 -0
  268. package/dist/src/models/PrizesEntity.js +59 -0
  269. package/dist/src/models/ProductPriceListItemModel.d.ts +62 -0
  270. package/dist/src/models/ProductPriceListItemModel.js +59 -0
  271. package/dist/src/models/ProductSearchResultsModel.d.ts +33 -0
  272. package/dist/src/models/ProductSearchResultsModel.js +50 -0
  273. package/dist/src/models/ProductSerialInfoModel.d.ts +50 -0
  274. package/dist/src/models/ProductSerialInfoModel.js +55 -0
  275. package/dist/src/models/ProductSummaryDTO.d.ts +81 -0
  276. package/dist/src/models/ProductSummaryDTO.js +66 -0
  277. package/dist/src/models/PromoCodesEntity.d.ts +98 -0
  278. package/dist/src/models/PromoCodesEntity.js +71 -0
  279. package/dist/src/models/PromoItemsEntity.d.ts +74 -0
  280. package/dist/src/models/PromoItemsEntity.js +63 -0
  281. package/dist/src/models/ProvisioningModel.d.ts +56 -0
  282. package/dist/src/models/ProvisioningModel.js +57 -0
  283. package/dist/src/models/ProvisioningRequestEntity.d.ts +44 -0
  284. package/dist/src/models/ProvisioningRequestEntity.js +53 -0
  285. package/dist/src/models/RecordingBackupAzureModel.d.ts +50 -0
  286. package/dist/src/models/RecordingBackupAzureModel.js +55 -0
  287. package/dist/src/models/RecordingsBackupInfoDTO.d.ts +40 -0
  288. package/dist/src/models/RecordingsBackupInfoDTO.js +53 -0
  289. package/dist/src/models/ResourceNotReadyException.d.ts +44 -0
  290. package/dist/src/models/ResourceNotReadyException.js +53 -0
  291. package/dist/src/models/RootAccessModel.d.ts +44 -0
  292. package/dist/src/models/RootAccessModel.js +53 -0
  293. package/dist/src/models/S3BucketEntity.d.ts +50 -0
  294. package/dist/src/models/S3BucketEntity.js +55 -0
  295. package/dist/src/models/ScannedItemModel.d.ts +56 -0
  296. package/dist/src/models/ScannedItemModel.js +57 -0
  297. package/dist/src/models/ScopeModel.d.ts +38 -0
  298. package/dist/src/models/ScopeModel.js +51 -0
  299. package/dist/src/models/ServiceEnum.d.ts +14 -0
  300. package/dist/src/models/ServiceEnum.js +19 -0
  301. package/dist/src/models/ServiceHealthDTO.d.ts +48 -0
  302. package/dist/src/models/ServiceHealthDTO.js +61 -0
  303. package/dist/src/models/ServiceHealthEnum.d.ts +19 -0
  304. package/dist/src/models/ServiceHealthEnum.js +24 -0
  305. package/dist/src/models/ServiceStatusDTO.d.ts +60 -0
  306. package/dist/src/models/ServiceStatusDTO.js +65 -0
  307. package/dist/src/models/ServiceStatusEnum.d.ts +19 -0
  308. package/dist/src/models/ServiceStatusEnum.js +24 -0
  309. package/dist/src/models/ShipmentAddressEntity.d.ts +92 -0
  310. package/dist/src/models/ShipmentAddressEntity.js +69 -0
  311. package/dist/src/models/ShipmentEntity.d.ts +98 -0
  312. package/dist/src/models/ShipmentEntity.js +71 -0
  313. package/dist/src/models/ShipmentItemEntity.d.ts +56 -0
  314. package/dist/src/models/ShipmentItemEntity.js +57 -0
  315. package/dist/src/models/ShippingConsignmentModel.d.ts +51 -0
  316. package/dist/src/models/ShippingConsignmentModel.js +56 -0
  317. package/dist/src/models/ShippingInformationDTO.d.ts +45 -0
  318. package/dist/src/models/ShippingInformationDTO.js +54 -0
  319. package/dist/src/models/ShippingServiceDTO.d.ts +47 -0
  320. package/dist/src/models/ShippingServiceDTO.js +60 -0
  321. package/dist/src/models/ShippingServiceModel.d.ts +71 -0
  322. package/dist/src/models/ShippingServiceModel.js +68 -0
  323. package/dist/src/models/ShippingServicesModel.d.ts +33 -0
  324. package/dist/src/models/ShippingServicesModel.js +50 -0
  325. package/dist/src/models/SipTrunkChangeResponseModel.d.ts +77 -0
  326. package/dist/src/models/SipTrunkChangeResponseModel.js +78 -0
  327. package/dist/src/models/SipTrunkCreationRequestModel.d.ts +66 -0
  328. package/dist/src/models/SipTrunkCreationRequestModel.js +63 -0
  329. package/dist/src/models/SipTrunkEntity.d.ts +98 -0
  330. package/dist/src/models/SipTrunkEntity.js +71 -0
  331. package/dist/src/models/SipTrunksResponseModel.d.ts +51 -0
  332. package/dist/src/models/SipTrunksResponseModel.js +56 -0
  333. package/dist/src/models/SmsAccountEntity.d.ts +68 -0
  334. package/dist/src/models/SmsAccountEntity.js +61 -0
  335. package/dist/src/models/SmsDataModel.d.ts +33 -0
  336. package/dist/src/models/SmsDataModel.js +50 -0
  337. package/dist/src/models/SmsMessageModel.d.ts +44 -0
  338. package/dist/src/models/SmsMessageModel.js +53 -0
  339. package/dist/src/models/SmsNumbersEntity.d.ts +38 -0
  340. package/dist/src/models/SmsNumbersEntity.js +51 -0
  341. package/dist/src/models/SmsPayloadModel.d.ts +45 -0
  342. package/dist/src/models/SmsPayloadModel.js +54 -0
  343. package/dist/src/models/SmsPhoneNumberModel.d.ts +53 -0
  344. package/dist/src/models/SmsPhoneNumberModel.js +66 -0
  345. package/dist/src/models/SmsResponseModel.d.ts +67 -0
  346. package/dist/src/models/SmsResponseModel.js +68 -0
  347. package/dist/src/models/SmsWhitelistEntity.d.ts +38 -0
  348. package/dist/src/models/SmsWhitelistEntity.js +51 -0
  349. package/dist/src/models/StockOrderCourierEntity.d.ts +50 -0
  350. package/dist/src/models/StockOrderCourierEntity.js +55 -0
  351. package/dist/src/models/StockOrderDeductionModel.d.ts +50 -0
  352. package/dist/src/models/StockOrderDeductionModel.js +55 -0
  353. package/dist/src/models/StockOrderDeductionRequestModel.d.ts +38 -0
  354. package/dist/src/models/StockOrderDeductionRequestModel.js +51 -0
  355. package/dist/src/models/StockOrderDeductionsEntity.d.ts +50 -0
  356. package/dist/src/models/StockOrderDeductionsEntity.js +55 -0
  357. package/dist/src/models/StockOrderEntity.d.ts +158 -0
  358. package/dist/src/models/StockOrderEntity.js +91 -0
  359. package/dist/src/models/StockOrderItemEntity.d.ts +68 -0
  360. package/dist/src/models/StockOrderItemEntity.js +61 -0
  361. package/dist/src/models/StockOrderItemModel.d.ts +80 -0
  362. package/dist/src/models/StockOrderItemModel.js +65 -0
  363. package/dist/src/models/StockOrderItemRequestModel.d.ts +50 -0
  364. package/dist/src/models/StockOrderItemRequestModel.js +55 -0
  365. package/dist/src/models/StockOrderModel.d.ts +137 -0
  366. package/dist/src/models/StockOrderModel.js +97 -0
  367. package/dist/src/models/StockOrderProductEntity.d.ts +62 -0
  368. package/dist/src/models/StockOrderProductEntity.js +59 -0
  369. package/dist/src/models/StockOrderRequestModel.d.ts +46 -0
  370. package/dist/src/models/StockOrderRequestModel.js +55 -0
  371. package/dist/src/models/StockOrderSupplierEntity.d.ts +80 -0
  372. package/dist/src/models/StockOrderSupplierEntity.js +65 -0
  373. package/dist/src/models/StockOrderSupplierModel.d.ts +80 -0
  374. package/dist/src/models/StockOrderSupplierModel.js +65 -0
  375. package/dist/src/models/StockOrdersModel.d.ts +51 -0
  376. package/dist/src/models/StockOrdersModel.js +56 -0
  377. package/dist/src/models/StockProductModel.d.ts +120 -0
  378. package/dist/src/models/StockProductModel.js +81 -0
  379. package/dist/src/models/StockProductPriceModel.d.ts +39 -0
  380. package/dist/src/models/StockProductPriceModel.js +52 -0
  381. package/dist/src/models/StockProductSummariesModel.d.ts +51 -0
  382. package/dist/src/models/StockProductSummariesModel.js +56 -0
  383. package/dist/src/models/StockProductSummaryModel.d.ts +69 -0
  384. package/dist/src/models/StockProductSummaryModel.js +62 -0
  385. package/dist/src/models/StockTransactionsEntity.d.ts +74 -0
  386. package/dist/src/models/StockTransactionsEntity.js +63 -0
  387. package/dist/src/models/SupplierEntity.d.ts +80 -0
  388. package/dist/src/models/SupplierEntity.js +65 -0
  389. package/dist/src/models/SupplierItemEntity.d.ts +74 -0
  390. package/dist/src/models/SupplierItemEntity.js +63 -0
  391. package/dist/src/models/TcxBackupEntity.d.ts +80 -0
  392. package/dist/src/models/TcxBackupEntity.js +65 -0
  393. package/dist/src/models/TcxBackupModel.d.ts +140 -0
  394. package/dist/src/models/TcxBackupModel.js +85 -0
  395. package/dist/src/models/TcxBillingEntity.d.ts +86 -0
  396. package/dist/src/models/TcxBillingEntity.js +67 -0
  397. package/dist/src/models/TcxBulkLicenceDetailsModel.d.ts +40 -0
  398. package/dist/src/models/TcxBulkLicenceDetailsModel.js +53 -0
  399. package/dist/src/models/TcxDeadLicenceEntity.d.ts +44 -0
  400. package/dist/src/models/TcxDeadLicenceEntity.js +53 -0
  401. package/dist/src/models/TcxExtsEntity.d.ts +74 -0
  402. package/dist/src/models/TcxExtsEntity.js +63 -0
  403. package/dist/src/models/TcxHostingPricingEntity.d.ts +74 -0
  404. package/dist/src/models/TcxHostingPricingEntity.js +63 -0
  405. package/dist/src/models/TcxInstallationDetailsModel.d.ts +106 -0
  406. package/dist/src/models/TcxInstallationDetailsModel.js +75 -0
  407. package/dist/src/models/TcxInstallationModel.d.ts +200 -0
  408. package/dist/src/models/TcxInstallationModel.js +105 -0
  409. package/dist/src/models/TcxInstallationsModel.d.ts +51 -0
  410. package/dist/src/models/TcxInstallationsModel.js +56 -0
  411. package/dist/src/models/TcxKeySummaryDTO.d.ts +56 -0
  412. package/dist/src/models/TcxKeySummaryDTO.js +57 -0
  413. package/dist/src/models/TcxKeysEntity.d.ts +62 -0
  414. package/dist/src/models/TcxKeysEntity.js +59 -0
  415. package/dist/src/models/TcxLicenceDetailsErrorModel.d.ts +50 -0
  416. package/dist/src/models/TcxLicenceDetailsErrorModel.js +55 -0
  417. package/dist/src/models/TcxLicenceDetailsModel.d.ts +92 -0
  418. package/dist/src/models/TcxLicenceDetailsModel.js +69 -0
  419. package/dist/src/models/TcxMacsEntity.d.ts +44 -0
  420. package/dist/src/models/TcxMacsEntity.js +53 -0
  421. package/dist/src/models/TcxMultiTenantModel.d.ts +118 -0
  422. package/dist/src/models/TcxMultiTenantModel.js +83 -0
  423. package/dist/src/models/TcxMultiTenantUserModel.d.ts +44 -0
  424. package/dist/src/models/TcxMultiTenantUserModel.js +53 -0
  425. package/dist/src/models/TcxMultiTenantsModel.d.ts +51 -0
  426. package/dist/src/models/TcxMultiTenantsModel.js +56 -0
  427. package/dist/src/models/TcxNumbersEntity.d.ts +44 -0
  428. package/dist/src/models/TcxNumbersEntity.js +53 -0
  429. package/dist/src/models/TcxOfficeHoursEntity.d.ts +116 -0
  430. package/dist/src/models/TcxOfficeHoursEntity.js +77 -0
  431. package/dist/src/models/TcxPhoneModel.d.ts +68 -0
  432. package/dist/src/models/TcxPhoneModel.js +61 -0
  433. package/dist/src/models/TcxPhonesEntity.d.ts +62 -0
  434. package/dist/src/models/TcxPhonesEntity.js +59 -0
  435. package/dist/src/models/TcxRemoteStorageModel.d.ts +50 -0
  436. package/dist/src/models/TcxRemoteStorageModel.js +55 -0
  437. package/dist/src/models/TcxSbcDTO.d.ts +62 -0
  438. package/dist/src/models/TcxSbcDTO.js +59 -0
  439. package/dist/src/models/TcxSbcEntity.d.ts +122 -0
  440. package/dist/src/models/TcxSbcEntity.js +79 -0
  441. package/dist/src/models/TcxSbcModel.d.ts +122 -0
  442. package/dist/src/models/TcxSbcModel.js +79 -0
  443. package/dist/src/models/TcxSetupEntity.d.ts +207 -0
  444. package/dist/src/models/TcxSetupEntity.js +123 -0
  445. package/dist/src/models/TcxSetupsModel.d.ts +51 -0
  446. package/dist/src/models/TcxSetupsModel.js +56 -0
  447. package/dist/src/models/TcxSipTrunksEntity.d.ts +104 -0
  448. package/dist/src/models/TcxSipTrunksEntity.js +73 -0
  449. package/dist/src/models/TcxTemplateXmlEnum.d.ts +38 -0
  450. package/dist/src/models/TcxTemplateXmlEnum.js +51 -0
  451. package/dist/src/models/TcxUsersEntity.d.ts +62 -0
  452. package/dist/src/models/TcxUsersEntity.js +59 -0
  453. package/dist/src/models/TcxWizardConfigModel.d.ts +39 -0
  454. package/dist/src/models/TcxWizardConfigModel.js +52 -0
  455. package/dist/src/models/TcxWizardModel.d.ts +150 -0
  456. package/dist/src/models/TcxWizardModel.js +114 -0
  457. package/dist/src/models/TechSupportCompanySummaryDTO.d.ts +57 -0
  458. package/dist/src/models/TechSupportCompanySummaryDTO.js +58 -0
  459. package/dist/src/models/TelephonySupportTicketModel.d.ts +94 -0
  460. package/dist/src/models/TelephonySupportTicketModel.js +71 -0
  461. package/dist/src/models/TicketSummaryModel.d.ts +74 -0
  462. package/dist/src/models/TicketSummaryModel.js +63 -0
  463. package/dist/src/models/TicketTimeDTO.d.ts +80 -0
  464. package/dist/src/models/TicketTimeDTO.js +65 -0
  465. package/dist/src/models/TokenResponseModel.d.ts +44 -0
  466. package/dist/src/models/TokenResponseModel.js +53 -0
  467. package/dist/src/models/UpdateTypeEnum.d.ts +19 -0
  468. package/dist/src/models/UpdateTypeEnum.js +24 -0
  469. package/dist/src/models/UpgradeOrderResponseModel.d.ts +38 -0
  470. package/dist/src/models/UpgradeOrderResponseModel.js +51 -0
  471. package/dist/src/models/UpgradeRequestModel.d.ts +66 -0
  472. package/dist/src/models/UpgradeRequestModel.js +70 -0
  473. package/dist/src/models/UserEntity.d.ts +98 -0
  474. package/dist/src/models/UserEntity.js +71 -0
  475. package/dist/src/models/XeroLogEntity.d.ts +86 -0
  476. package/dist/src/models/XeroLogEntity.js +67 -0
  477. package/dist/src/models/index.d.ts +196 -0
  478. package/dist/src/models/index.js +214 -0
  479. package/dist/src/runtime.d.ts +184 -0
  480. package/dist/src/runtime.js +564 -0
  481. package/docs/AccountsApi.md +104 -1
  482. package/docs/AddressDTO.md +6 -0
  483. package/docs/AdminCustomerRmasModel.md +27 -0
  484. package/docs/AdminRmaDTO.md +59 -0
  485. package/docs/AdminRmaItemDTO.md +39 -0
  486. package/docs/AdminRmaNoteDTO.md +27 -0
  487. package/docs/AdminRmaSummaryDTO.md +37 -0
  488. package/docs/AxisDataDTO.md +25 -0
  489. package/docs/BillingApi.md +1 -1
  490. package/docs/CRMApi.md +1 -1
  491. package/docs/Class3CXApi.md +1 -1
  492. package/docs/Class3CXInstallationWizardApi.md +1 -1
  493. package/docs/Class3CXInstallationsApi.md +1 -1
  494. package/docs/Class3CXIntegrationsApi.md +1 -1
  495. package/docs/Class3CXMultiTenantApi.md +1 -1
  496. package/docs/CreditNoteItemEntity.md +2 -0
  497. package/docs/CreditNoteItemModel.md +2 -0
  498. package/docs/CrmActivityDTO.md +2 -2
  499. package/docs/CustomerCoordinatesDTO.md +31 -0
  500. package/docs/CustomerRmasModel.md +27 -0
  501. package/docs/EmailRequestModel.md +21 -0
  502. package/docs/GraphDTO.md +33 -0
  503. package/docs/ItemResolutionRequestModel.md +21 -0
  504. package/docs/MacAddressRequestModel.md +21 -0
  505. package/docs/MiscApi.md +63 -0
  506. package/docs/MyPBXToolsApi.md +1 -1
  507. package/docs/NameRequestModel.md +21 -0
  508. package/docs/NoteRequestModel.md +21 -0
  509. package/docs/NumberPortingApi.md +1 -1
  510. package/docs/OAuth20Api.md +4 -4
  511. package/docs/OrdersApi.md +1 -1
  512. package/docs/PasswordSenderDTO.md +37 -0
  513. package/docs/PasswordSenderEntity.md +33 -0
  514. package/docs/PostGenerateReport200Response.md +36 -0
  515. package/docs/PricingApi.md +1 -1
  516. package/docs/ProductsApi.md +1 -1
  517. package/docs/ProspectsApi.md +1 -1
  518. package/docs/ProvisioningApi.md +1 -1
  519. package/docs/RMAApi.md +1526 -0
  520. package/docs/ReasonRequestModel.md +21 -0
  521. package/docs/ReportRequestDTO.md +37 -0
  522. package/docs/ReportsApi.md +107 -0
  523. package/docs/ResolutionRequestModel.md +21 -0
  524. package/docs/RmaCollectionDTO.md +27 -0
  525. package/docs/RmaCreditItemRequestDTO.md +25 -0
  526. package/docs/RmaDTO.md +43 -0
  527. package/docs/RmaItemDTO.md +33 -0
  528. package/docs/RmaItemRequestDTO.md +25 -0
  529. package/docs/RmaReplacementOrderItemDTO.md +23 -0
  530. package/docs/RmaReplacementOrderRequestDTO.md +21 -0
  531. package/docs/RmaRequestDTO.md +34 -0
  532. package/docs/RmaReturnDTO.md +31 -0
  533. package/docs/RmaSummaryDTO.md +29 -0
  534. package/docs/RmaSummaryItemDTO.md +23 -0
  535. package/docs/SIPTrunksApi.md +1 -1
  536. package/docs/SMSApi.md +1 -1
  537. package/docs/SerialNumberRequestModel.md +21 -0
  538. package/docs/SeriesDTO.md +27 -0
  539. package/docs/ServicesApi.md +1 -1
  540. package/docs/ShippingApi.md +1 -1
  541. package/docs/StockManagementApi.md +1 -1
  542. package/docs/StockReportItemModel.md +31 -0
  543. package/docs/StockReportModel.md +29 -0
  544. package/docs/SupplierItemModel.md +2 -0
  545. package/docs/SupplierItemsResultsDTO.md +21 -0
  546. package/docs/SupplierProductModel.md +25 -0
  547. package/docs/SupplierProductResultsModel.md +27 -0
  548. package/docs/SuppliersApi.md +230 -0
  549. package/docs/SystemApi.md +1 -1
  550. package/docs/TableDTO.md +25 -0
  551. package/docs/TableDataDTO.md +21 -0
  552. package/docs/TableRowDTO.md +21 -0
  553. package/docs/TcxInstallationModel.md +2 -0
  554. package/docs/TicketsApi.md +1 -1
  555. package/docs/WebhooksApi.md +1 -1
  556. package/getEnums.php +31 -31
  557. package/index.ts +1 -1
  558. package/models/GraphTypeEnum.ts +14 -0
  559. package/models/HostingPriceListEnum.ts +5 -0
  560. package/models/ReportEnum.ts +54 -0
  561. package/models/RmaStatusEnum.ts +29 -0
  562. package/openapitools.json +1 -1
  563. package/package.json +2 -2
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://api.local.yellowgrid.co.uk` For questions or technical support, please contact support@yellowgrid.co.uk.
6
6
  *
7
7
  * The version of the OpenAPI document: 0
8
8
  *
@@ -420,6 +420,10 @@ export interface AccountsResponseModel {
420
420
  * Address
421
421
  */
422
422
  export interface AddressDTO {
423
+ /**
424
+ * Company
425
+ */
426
+ 'company'?: string | null;
423
427
  /**
424
428
  * Address Line 1
425
429
  */
@@ -444,6 +448,14 @@ export interface AddressDTO {
444
448
  * Country
445
449
  */
446
450
  'iso'?: string;
451
+ /**
452
+ * Telephone
453
+ */
454
+ 'phone'?: string | null;
455
+ /**
456
+ * Name
457
+ */
458
+ 'name'?: string | null;
447
459
  }
448
460
  /**
449
461
  * Order Address
@@ -527,6 +539,27 @@ export interface AddressRequestModel {
527
539
  */
528
540
  'addressPostcode'?: string;
529
541
  }
542
+ /**
543
+ * Admin Customer RMA List Response
544
+ */
545
+ export interface AdminCustomerRmasModel {
546
+ /**
547
+ * Results
548
+ */
549
+ 'results'?: Array<AdminRmaSummaryDTO>;
550
+ /**
551
+ * Page
552
+ */
553
+ 'page'?: number;
554
+ /**
555
+ * Per Page
556
+ */
557
+ 'perPage'?: number;
558
+ /**
559
+ * Total Results
560
+ */
561
+ 'totalResults'?: number;
562
+ }
530
563
  /**
531
564
  * Admin Number Port Response
532
565
  */
@@ -686,6 +719,253 @@ export const AdminOrderRequestDTOPaymentMethodEnum = {
686
719
 
687
720
  export type AdminOrderRequestDTOPaymentMethodEnum = typeof AdminOrderRequestDTOPaymentMethodEnum[keyof typeof AdminOrderRequestDTOPaymentMethodEnum];
688
721
 
722
+ /**
723
+ * Admin RMA
724
+ */
725
+ export interface AdminRmaDTO {
726
+ /**
727
+ * RMA ID
728
+ */
729
+ 'id'?: number;
730
+ /**
731
+ * Contact Name
732
+ */
733
+ 'contactName'?: string;
734
+ /**
735
+ * Contact Email
736
+ */
737
+ 'contactEmail'?: string;
738
+ /**
739
+ * Associated Order ID
740
+ */
741
+ 'orderId'?: number;
742
+ /**
743
+ * RMA Reason
744
+ */
745
+ 'reason'?: AdminRmaDTOReasonEnum;
746
+ /**
747
+ * Fault Report
748
+ */
749
+ 'faultReport'?: string;
750
+ /**
751
+ * Ticket ID
752
+ */
753
+ 'ticketId'?: number;
754
+ /**
755
+ * RMA Resolution
756
+ */
757
+ 'resolution'?: AdminRmaDTOResolutionEnum;
758
+ /**
759
+ * RMA Status
760
+ */
761
+ 'status'?: AdminRmaDTOStatusEnum;
762
+ /**
763
+ * RMA Approval Status
764
+ */
765
+ 'approved'?: boolean;
766
+ /**
767
+ * RMA Return Address
768
+ */
769
+ 'address'?: AddressDTO | null;
770
+ /**
771
+ * Customer ID
772
+ */
773
+ 'customerId'?: number;
774
+ /**
775
+ * Customer Name
776
+ */
777
+ 'customerName'?: string;
778
+ /**
779
+ * Date Time
780
+ */
781
+ 'createdAt'?: string;
782
+ /**
783
+ * RMA Items
784
+ */
785
+ 'items'?: Array<AdminRmaItemDTO>;
786
+ /**
787
+ * RMA Notes
788
+ */
789
+ 'notes'?: Array<AdminRmaNoteDTO>;
790
+ /**
791
+ * Replacement Order
792
+ */
793
+ 'replacementOrders'?: Array<OrderSummaryDTO>;
794
+ /**
795
+ * Credit Notes
796
+ */
797
+ 'creditNotes'?: Array<CreditNoteDTO>;
798
+ /**
799
+ * Collection Tracking URL
800
+ */
801
+ 'collectionTrackingUrl'?: string | null;
802
+ /**
803
+ * Return Tracking URL
804
+ */
805
+ 'returnTrackingUrl'?: string | null;
806
+ }
807
+
808
+ export const AdminRmaDTOReasonEnum = {
809
+ NUMBER_1: 1,
810
+ NUMBER_2: 2,
811
+ NUMBER_3: 3,
812
+ NUMBER_4: 4,
813
+ } as const;
814
+
815
+ export type AdminRmaDTOReasonEnum = typeof AdminRmaDTOReasonEnum[keyof typeof AdminRmaDTOReasonEnum];
816
+ export const AdminRmaDTOResolutionEnum = {
817
+ NUMBER_1: 1,
818
+ NUMBER_2: 2,
819
+ NUMBER_3: 3,
820
+ } as const;
821
+
822
+ export type AdminRmaDTOResolutionEnum = typeof AdminRmaDTOResolutionEnum[keyof typeof AdminRmaDTOResolutionEnum];
823
+ export const AdminRmaDTOStatusEnum = {
824
+ NUMBER_1: 1,
825
+ NUMBER_2: 2,
826
+ NUMBER_3: 3,
827
+ NUMBER_4: 4,
828
+ NUMBER_5: 5,
829
+ } as const;
830
+
831
+ export type AdminRmaDTOStatusEnum = typeof AdminRmaDTOStatusEnum[keyof typeof AdminRmaDTOStatusEnum];
832
+
833
+ /**
834
+ * Admin RMA Item
835
+ */
836
+ export interface AdminRmaItemDTO {
837
+ /**
838
+ * RMA Item ID
839
+ */
840
+ 'id'?: number;
841
+ /**
842
+ * RMA Order Item ID
843
+ */
844
+ 'itemId'?: number;
845
+ /**
846
+ * RMA Item Name
847
+ */
848
+ 'itemName'?: string;
849
+ /**
850
+ * RMA Item MAC Address
851
+ */
852
+ 'macAddress'?: string;
853
+ /**
854
+ * RMA Item Serial Number
855
+ */
856
+ 'serialNumber'?: string;
857
+ /**
858
+ * RMA Item Received Status
859
+ */
860
+ 'received'?: boolean;
861
+ /**
862
+ * RMA Item Status
863
+ */
864
+ 'status'?: AdminRmaItemDTOStatusEnum;
865
+ /**
866
+ * RMA Item Note
867
+ */
868
+ 'note'?: string;
869
+ /**
870
+ * RMA Item Resolution
871
+ */
872
+ 'resolution'?: AdminRmaItemDTOResolutionEnum;
873
+ /**
874
+ * RMA Item Replacement SKU
875
+ */
876
+ 'replacementSku'?: string | null;
877
+ }
878
+
879
+ export const AdminRmaItemDTOStatusEnum = {
880
+ NUMBER_1: 1,
881
+ NUMBER_2: 2,
882
+ NUMBER_3: 3,
883
+ } as const;
884
+
885
+ export type AdminRmaItemDTOStatusEnum = typeof AdminRmaItemDTOStatusEnum[keyof typeof AdminRmaItemDTOStatusEnum];
886
+ export const AdminRmaItemDTOResolutionEnum = {
887
+ NUMBER_1: 1,
888
+ NUMBER_2: 2,
889
+ NUMBER_3: 3,
890
+ NUMBER_4: 4,
891
+ NUMBER_5: 5,
892
+ } as const;
893
+
894
+ export type AdminRmaItemDTOResolutionEnum = typeof AdminRmaItemDTOResolutionEnum[keyof typeof AdminRmaItemDTOResolutionEnum];
895
+
896
+ /**
897
+ * Admin RMA Note
898
+ */
899
+ export interface AdminRmaNoteDTO {
900
+ /**
901
+ * RMA Note ID
902
+ */
903
+ 'id'?: number;
904
+ /**
905
+ * Note Content
906
+ */
907
+ 'note'?: string;
908
+ /**
909
+ * Note Creator
910
+ */
911
+ 'createdBy'?: string;
912
+ /**
913
+ * Date Time
914
+ */
915
+ 'createdAt'?: string;
916
+ }
917
+ /**
918
+ * Admin RMA Summary
919
+ */
920
+ export interface AdminRmaSummaryDTO {
921
+ /**
922
+ * RMA ID
923
+ */
924
+ 'id'?: number;
925
+ /**
926
+ * Order ID
927
+ */
928
+ 'orderId'?: number;
929
+ /**
930
+ * Order Reference
931
+ */
932
+ 'orderReference'?: string;
933
+ /**
934
+ * RMA Status
935
+ */
936
+ 'status'?: AdminRmaSummaryDTOStatusEnum;
937
+ /**
938
+ * RMA Summary Items
939
+ */
940
+ 'items'?: Array<RmaSummaryItemDTO>;
941
+ /**
942
+ * RMA Customer ID
943
+ */
944
+ 'customerId'?: number;
945
+ /**
946
+ * RMA Customer Name
947
+ */
948
+ 'customerName'?: string;
949
+ /**
950
+ * RMA Ticket ID
951
+ */
952
+ 'ticketId'?: number;
953
+ /**
954
+ * Date Time
955
+ */
956
+ 'createdAt'?: string;
957
+ }
958
+
959
+ export const AdminRmaSummaryDTOStatusEnum = {
960
+ NUMBER_1: 1,
961
+ NUMBER_2: 2,
962
+ NUMBER_3: 3,
963
+ NUMBER_4: 4,
964
+ NUMBER_5: 5,
965
+ } as const;
966
+
967
+ export type AdminRmaSummaryDTOStatusEnum = typeof AdminRmaSummaryDTOStatusEnum[keyof typeof AdminRmaSummaryDTOStatusEnum];
968
+
689
969
  /**
690
970
  * Admin User
691
971
  */
@@ -977,12 +1257,16 @@ export const AuditLogEntityTypeEnum = {
977
1257
  NumberPortNotes: 'number_port_notes',
978
1258
  PopsOfflineInstances: 'pops_offline_instances',
979
1259
  PopsOrderedItems: 'pops_ordered_items',
1260
+ PopsPasswordSender: 'pops_password_sender',
980
1261
  PopsPrizes: 'pops_prizes',
981
1262
  PopsPrinters: 'pops_printers',
982
1263
  PopsPromoCodes: 'pops_promo_codes',
983
1264
  PopsPromoItems: 'pops_promo_items',
984
1265
  PopsProvisioning: 'pops_provisioning',
985
1266
  PopsProspectsV2: 'pops_prospects_v2',
1267
+ Rma: 'rma',
1268
+ RmaItems: 'rma_items',
1269
+ RmaNotes: 'rma_notes',
986
1270
  S3Buckets: 's3_buckets',
987
1271
  PopsShipmentAddress: 'pops_shipment_address',
988
1272
  PopsShipments: 'pops_shipments',
@@ -1042,6 +1326,33 @@ export interface AuthCodeResponseModel {
1042
1326
  */
1043
1327
  'redirect_uri'?: string | null;
1044
1328
  }
1329
+ /**
1330
+ * Graph Axis Data
1331
+ */
1332
+ export interface AxisDataDTO {
1333
+ /**
1334
+ * Type
1335
+ */
1336
+ 'type'?: AxisDataDTOTypeEnum;
1337
+ /**
1338
+ * Data
1339
+ */
1340
+ 'data'?: Array<string> | null;
1341
+ /**
1342
+ * Name
1343
+ */
1344
+ 'name'?: string | null;
1345
+ }
1346
+
1347
+ export const AxisDataDTOTypeEnum = {
1348
+ Value: 'value',
1349
+ Category: 'category',
1350
+ Time: 'time',
1351
+ Log: 'log',
1352
+ } as const;
1353
+
1354
+ export type AxisDataDTOTypeEnum = typeof AxisDataDTOTypeEnum[keyof typeof AxisDataDTOTypeEnum];
1355
+
1045
1356
  /**
1046
1357
  * Basic Order Item
1047
1358
  */
@@ -1612,6 +1923,10 @@ export interface CreditNoteItemEntity {
1612
1923
  * amount
1613
1924
  */
1614
1925
  'amount'?: number;
1926
+ /**
1927
+ * quantity
1928
+ */
1929
+ 'quantity'?: number;
1615
1930
  }
1616
1931
  /**
1617
1932
  * Credit Note Item
@@ -1637,6 +1952,10 @@ export interface CreditNoteItemModel {
1637
1952
  * amount
1638
1953
  */
1639
1954
  'amount'?: number;
1955
+ /**
1956
+ * quantity
1957
+ */
1958
+ 'quantity'?: number;
1640
1959
  }
1641
1960
  /**
1642
1961
  * Credit Note Model
@@ -1717,10 +2036,6 @@ export interface CrmActivityDTO {
1717
2036
  * Activity Description
1718
2037
  */
1719
2038
  'description'?: string;
1720
- /**
1721
- * Activity URL
1722
- */
1723
- 'url'?: string | null;
1724
2039
  /**
1725
2040
  * Activity User Name
1726
2041
  */
@@ -1729,6 +2044,10 @@ export interface CrmActivityDTO {
1729
2044
  * Activity Contact Name
1730
2045
  */
1731
2046
  'contact'?: string | null;
2047
+ /**
2048
+ * Activity Order ID
2049
+ */
2050
+ 'orderId'?: number | null;
1732
2051
  }
1733
2052
  /**
1734
2053
  * CRM Contact
@@ -1866,6 +2185,35 @@ export interface CrmNoteModel {
1866
2185
  */
1867
2186
  'callId'?: number;
1868
2187
  }
2188
+ /**
2189
+ * Customer Coordinates
2190
+ */
2191
+ export interface CustomerCoordinatesDTO {
2192
+ /**
2193
+ * ID
2194
+ */
2195
+ 'id'?: string;
2196
+ /**
2197
+ * Company
2198
+ */
2199
+ 'company'?: string;
2200
+ /**
2201
+ * 3CX Reseller ID
2202
+ */
2203
+ 'resellerId'?: string | null;
2204
+ /**
2205
+ * Post Code
2206
+ */
2207
+ 'postCode'?: string;
2208
+ /**
2209
+ * Latitude
2210
+ */
2211
+ 'latitude'?: string;
2212
+ /**
2213
+ * Longitude
2214
+ */
2215
+ 'longitude'?: string;
2216
+ }
1869
2217
  /**
1870
2218
  * SIP Trunk Customer
1871
2219
  */
@@ -2045,18 +2393,39 @@ export interface CustomerPriceListEnum {
2045
2393
  'name'?: string;
2046
2394
  }
2047
2395
  /**
2048
- * Customer Summary Report
2396
+ * Customer RMAs
2049
2397
  */
2050
- export interface CustomerSummaryReportDTO {
2398
+ export interface CustomerRmasModel {
2051
2399
  /**
2052
- * Company Name
2400
+ * Results
2053
2401
  */
2054
- 'companyName'?: string;
2055
- 'contract'?: CompanyContractModel;
2402
+ 'results'?: Array<RmaSummaryDTO>;
2056
2403
  /**
2057
- * Contract Use by Month
2404
+ * Page
2058
2405
  */
2059
- 'monthlyUsages'?: Array<MonthlyUsageModel>;
2406
+ 'page'?: number;
2407
+ /**
2408
+ * Per Page
2409
+ */
2410
+ 'perPage'?: number;
2411
+ /**
2412
+ * Total Results
2413
+ */
2414
+ 'totalResults'?: number;
2415
+ }
2416
+ /**
2417
+ * Customer Summary Report
2418
+ */
2419
+ export interface CustomerSummaryReportDTO {
2420
+ /**
2421
+ * Company Name
2422
+ */
2423
+ 'companyName'?: string;
2424
+ 'contract'?: CompanyContractModel;
2425
+ /**
2426
+ * Contract Use by Month
2427
+ */
2428
+ 'monthlyUsages'?: Array<MonthlyUsageModel>;
2060
2429
  /**
2061
2430
  * Time Entries
2062
2431
  */
@@ -2349,6 +2718,15 @@ export interface EdTechProSetupModel {
2349
2718
  */
2350
2719
  'installed'?: boolean;
2351
2720
  }
2721
+ /**
2722
+ * Email Request Model
2723
+ */
2724
+ export interface EmailRequestModel {
2725
+ /**
2726
+ * Email Address
2727
+ */
2728
+ 'email'?: string;
2729
+ }
2352
2730
  /**
2353
2731
  * Service Event DTO
2354
2732
  */
@@ -2628,6 +3006,76 @@ export interface GetGetPrice200Response {
2628
3006
  export interface GetGetRecording200Response {
2629
3007
  'recordingData'?: string;
2630
3008
  }
3009
+ /**
3010
+ * Graph
3011
+ */
3012
+ export interface GraphDTO {
3013
+ /**
3014
+ * Title
3015
+ */
3016
+ 'title'?: string;
3017
+ /**
3018
+ * X Axis
3019
+ */
3020
+ 'xAxis'?: Array<AxisDataDTO>;
3021
+ /**
3022
+ * Y Axis
3023
+ */
3024
+ 'yAxis'?: Array<AxisDataDTO>;
3025
+ /**
3026
+ * Legend
3027
+ */
3028
+ 'legend'?: Array<string>;
3029
+ /**
3030
+ * Series
3031
+ */
3032
+ 'series'?: Array<SeriesDTO>;
3033
+ /**
3034
+ * Currency
3035
+ */
3036
+ 'currency'?: GraphDTOCurrencyEnum | null;
3037
+ /**
3038
+ * Locale
3039
+ */
3040
+ 'locale'?: string;
3041
+ }
3042
+
3043
+ export const GraphDTOCurrencyEnum = {
3044
+ Eur: 'EUR',
3045
+ Usd: 'USD',
3046
+ Jpy: 'JPY',
3047
+ Bgn: 'BGN',
3048
+ Czk: 'CZK',
3049
+ Dkk: 'DKK',
3050
+ Gbp: 'GBP',
3051
+ Huf: 'HUF',
3052
+ Pln: 'PLN',
3053
+ Ron: 'RON',
3054
+ Sek: 'SEK',
3055
+ Chf: 'CHF',
3056
+ Isk: 'ISK',
3057
+ Nok: 'NOK',
3058
+ Try: 'TRY',
3059
+ Aud: 'AUD',
3060
+ Brl: 'BRL',
3061
+ Cad: 'CAD',
3062
+ Cny: 'CNY',
3063
+ Hkd: 'HKD',
3064
+ Idr: 'IDR',
3065
+ Ils: 'ILS',
3066
+ Inr: 'INR',
3067
+ Krw: 'KRW',
3068
+ Mxn: 'MXN',
3069
+ Myr: 'MYR',
3070
+ Nzd: 'NZD',
3071
+ Php: 'PHP',
3072
+ Sgd: 'SGD',
3073
+ Thb: 'THB',
3074
+ Zar: 'ZAR',
3075
+ } as const;
3076
+
3077
+ export type GraphDTOCurrencyEnum = typeof GraphDTOCurrencyEnum[keyof typeof GraphDTOCurrencyEnum];
3078
+
2631
3079
  /**
2632
3080
  * Change Response
2633
3081
  */
@@ -3262,6 +3710,26 @@ export interface ItemEntity {
3262
3710
  */
3263
3711
  'tcxSalesCode'?: string | null;
3264
3712
  }
3713
+ /**
3714
+ * RMA Item Status Request Model
3715
+ */
3716
+ export interface ItemResolutionRequestModel {
3717
+ /**
3718
+ * RMA Item Resolution
3719
+ */
3720
+ 'resolution'?: ItemResolutionRequestModelResolutionEnum;
3721
+ }
3722
+
3723
+ export const ItemResolutionRequestModelResolutionEnum = {
3724
+ NUMBER_1: 1,
3725
+ NUMBER_2: 2,
3726
+ NUMBER_3: 3,
3727
+ NUMBER_4: 4,
3728
+ NUMBER_5: 5,
3729
+ } as const;
3730
+
3731
+ export type ItemResolutionRequestModelResolutionEnum = typeof ItemResolutionRequestModelResolutionEnum[keyof typeof ItemResolutionRequestModelResolutionEnum];
3732
+
3265
3733
  /**
3266
3734
  * LinkedOrdersEntity
3267
3735
  */
@@ -3301,6 +3769,15 @@ export interface MacAddressDTO {
3301
3769
  */
3302
3770
  'macAddress'?: string;
3303
3771
  }
3772
+ /**
3773
+ * RMA Item MAC Address Request Model
3774
+ */
3775
+ export interface MacAddressRequestModel {
3776
+ /**
3777
+ * MAC Address
3778
+ */
3779
+ 'macAddress'?: string;
3780
+ }
3304
3781
  /**
3305
3782
  * Monthly Contract Usage
3306
3783
  */
@@ -3355,6 +3832,15 @@ export const MultiTenantChangeResponseModelTypeEnum = {
3355
3832
 
3356
3833
  export type MultiTenantChangeResponseModelTypeEnum = typeof MultiTenantChangeResponseModelTypeEnum[keyof typeof MultiTenantChangeResponseModelTypeEnum];
3357
3834
 
3835
+ /**
3836
+ * Name Request
3837
+ */
3838
+ export interface NameRequestModel {
3839
+ /**
3840
+ * Name
3841
+ */
3842
+ 'name'?: string;
3843
+ }
3358
3844
  /**
3359
3845
  * Navigation Endpoint
3360
3846
  */
@@ -3376,6 +3862,15 @@ export interface NavigationModel {
3376
3862
  */
3377
3863
  'openNewPage'?: boolean;
3378
3864
  }
3865
+ /**
3866
+ * Note Request
3867
+ */
3868
+ export interface NoteRequestModel {
3869
+ /**
3870
+ * Note
3871
+ */
3872
+ 'note'?: string;
3873
+ }
3379
3874
  export interface NumberPortAdminNoteBody {
3380
3875
  /**
3381
3876
  * Note
@@ -4441,6 +4936,89 @@ export interface PartnerDTO {
4441
4936
  */
4442
4937
  'customer'?: AccountSummaryDTO | null;
4443
4938
  }
4939
+ /**
4940
+ * Password Sender Request
4941
+ */
4942
+ export interface PasswordSenderDTO {
4943
+ /**
4944
+ * Username
4945
+ */
4946
+ 'username'?: string;
4947
+ /**
4948
+ * Password
4949
+ */
4950
+ 'password'?: string | null;
4951
+ /**
4952
+ * Expiry Interval
4953
+ */
4954
+ 'expiryInterval'?: number | null;
4955
+ /**
4956
+ * Interval Type
4957
+ */
4958
+ 'intervalType'?: PasswordSenderDTOIntervalTypeEnum | null;
4959
+ /**
4960
+ * Expiry
4961
+ */
4962
+ 'expiry'?: string | null;
4963
+ /**
4964
+ * Recipient
4965
+ */
4966
+ 'recipient'?: Array<string>;
4967
+ /**
4968
+ * URL
4969
+ */
4970
+ 'url'?: string | null;
4971
+ /**
4972
+ * Description
4973
+ */
4974
+ 'description'?: string | null;
4975
+ /**
4976
+ * Password URL
4977
+ */
4978
+ 'passwordUrl'?: string | null;
4979
+ }
4980
+
4981
+ export const PasswordSenderDTOIntervalTypeEnum = {
4982
+ Minute: 'Minute',
4983
+ Hour: 'Hour',
4984
+ Day: 'Day',
4985
+ } as const;
4986
+
4987
+ export type PasswordSenderDTOIntervalTypeEnum = typeof PasswordSenderDTOIntervalTypeEnum[keyof typeof PasswordSenderDTOIntervalTypeEnum];
4988
+
4989
+ /**
4990
+ * PasswordSenderEntity
4991
+ */
4992
+ export interface PasswordSenderEntity {
4993
+ /**
4994
+ * uniqueId
4995
+ */
4996
+ 'uniqueId'?: string;
4997
+ /**
4998
+ * url
4999
+ */
5000
+ 'url'?: string;
5001
+ /**
5002
+ * username
5003
+ */
5004
+ 'username'?: string;
5005
+ /**
5006
+ * password
5007
+ */
5008
+ 'password'?: string;
5009
+ /**
5010
+ * expiryTime
5011
+ */
5012
+ 'expiryTime'?: string;
5013
+ /**
5014
+ * emailRecipient
5015
+ */
5016
+ 'emailRecipient'?: string;
5017
+ /**
5018
+ * description
5019
+ */
5020
+ 'description'?: string;
5021
+ }
4444
5022
  export interface PatchUpdateAccountCnameRequest {
4445
5023
  /**
4446
5024
  * CNAME
@@ -4522,6 +5100,7 @@ export const PatchUpdateTcxHostingPriceListRequestPriceListEnum = {
4522
5100
  _4: '4',
4523
5101
  _5: '5',
4524
5102
  _6: '6',
5103
+ _7: '7',
4525
5104
  } as const;
4526
5105
 
4527
5106
  export type PatchUpdateTcxHostingPriceListRequestPriceListEnum = typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum[keyof typeof PatchUpdateTcxHostingPriceListRequestPriceListEnum];
@@ -4679,6 +5258,11 @@ export interface PostAddOrderNoteRequest {
4679
5258
  export interface PostAddWebhook200Response {
4680
5259
  'url'?: string;
4681
5260
  }
5261
+ /**
5262
+ * @type PostGenerateReport200Response
5263
+ */
5264
+ export type PostGenerateReport200Response = GraphDTO | TableDTO;
5265
+
4682
5266
  export interface PostGetClientCredentialsRequest {
4683
5267
  /**
4684
5268
  * OAuth 2.0 scopes
@@ -5207,6 +5791,25 @@ export interface PutTransferConnectionRequest {
5207
5791
  */
5208
5792
  'customerId'?: number;
5209
5793
  }
5794
+ /**
5795
+ * RMA Reason Request Model
5796
+ */
5797
+ export interface ReasonRequestModel {
5798
+ /**
5799
+ * RMA Reason
5800
+ */
5801
+ 'reason'?: ReasonRequestModelReasonEnum;
5802
+ }
5803
+
5804
+ export const ReasonRequestModelReasonEnum = {
5805
+ NUMBER_1: 1,
5806
+ NUMBER_2: 2,
5807
+ NUMBER_3: 3,
5808
+ NUMBER_4: 4,
5809
+ } as const;
5810
+
5811
+ export type ReasonRequestModelReasonEnum = typeof ReasonRequestModelReasonEnum[keyof typeof ReasonRequestModelReasonEnum];
5812
+
5210
5813
  /**
5211
5814
  * Azure Recordings Backup
5212
5815
  */
@@ -5266,6 +5869,87 @@ export interface RemoteStorageDTO {
5266
5869
  */
5267
5870
  'region'?: string;
5268
5871
  }
5872
+ /**
5873
+ * Report Request
5874
+ */
5875
+ export interface ReportRequestDTO {
5876
+ /**
5877
+ * Report
5878
+ */
5879
+ 'report'?: ReportRequestDTOReportEnum;
5880
+ /**
5881
+ * Start
5882
+ */
5883
+ 'start'?: string | null;
5884
+ /**
5885
+ * End
5886
+ */
5887
+ 'end'?: string | null;
5888
+ /**
5889
+ * Month
5890
+ */
5891
+ 'month'?: number | null;
5892
+ /**
5893
+ * Year
5894
+ */
5895
+ 'year'?: number | null;
5896
+ /**
5897
+ * SKU
5898
+ */
5899
+ 'sku'?: string | null;
5900
+ /**
5901
+ * Price
5902
+ */
5903
+ 'price'?: number | null;
5904
+ /**
5905
+ * Recipients
5906
+ */
5907
+ 'recipients'?: Array<string> | null;
5908
+ /**
5909
+ * Graph Type
5910
+ */
5911
+ 'graphType'?: ReportRequestDTOGraphTypeEnum | null;
5912
+ }
5913
+
5914
+ export const ReportRequestDTOReportEnum = {
5915
+ _1: '1',
5916
+ _2: '2',
5917
+ _3: '3',
5918
+ _4: '4',
5919
+ _5: '5',
5920
+ _6: '6',
5921
+ _7: '7',
5922
+ _8: '8',
5923
+ _9: '9',
5924
+ _10: '10',
5925
+ } as const;
5926
+
5927
+ export type ReportRequestDTOReportEnum = typeof ReportRequestDTOReportEnum[keyof typeof ReportRequestDTOReportEnum];
5928
+ export const ReportRequestDTOGraphTypeEnum = {
5929
+ StackedArea: 'stacked-area',
5930
+ Table: 'table',
5931
+ } as const;
5932
+
5933
+ export type ReportRequestDTOGraphTypeEnum = typeof ReportRequestDTOGraphTypeEnum[keyof typeof ReportRequestDTOGraphTypeEnum];
5934
+
5935
+ /**
5936
+ * RMA Resolution Request Model
5937
+ */
5938
+ export interface ResolutionRequestModel {
5939
+ /**
5940
+ * RMA Reason
5941
+ */
5942
+ 'resolution'?: ResolutionRequestModelResolutionEnum;
5943
+ }
5944
+
5945
+ export const ResolutionRequestModelResolutionEnum = {
5946
+ NUMBER_1: 1,
5947
+ NUMBER_2: 2,
5948
+ NUMBER_3: 3,
5949
+ } as const;
5950
+
5951
+ export type ResolutionRequestModelResolutionEnum = typeof ResolutionRequestModelResolutionEnum[keyof typeof ResolutionRequestModelResolutionEnum];
5952
+
5269
5953
  /**
5270
5954
  * Resource Not Ready
5271
5955
  */
@@ -5284,21 +5968,347 @@ export interface ResourceNotReadyException {
5284
5968
  'status'?: string;
5285
5969
  }
5286
5970
  /**
5287
- * Root Access Model
5971
+ * RMA Collection Request
5288
5972
  */
5289
- export interface RootAccessModel {
5973
+ export interface RmaCollectionDTO {
5974
+ 'address'?: AddressDTO;
5290
5975
  /**
5291
- * Username
5976
+ * Number of boxes
5292
5977
  */
5293
- 'username'?: string;
5978
+ 'boxes'?: number;
5294
5979
  /**
5295
- * Password
5980
+ * Date Time
5296
5981
  */
5297
- 'password'?: string;
5982
+ 'collectionTimeFrom'?: string;
5298
5983
  /**
5299
- * Expiry Date
5984
+ * Date Time
5300
5985
  */
5301
- 'expiryDate'?: string;
5986
+ 'collectionTimeTo'?: string;
5987
+ }
5988
+ /**
5989
+ * RMA Credit Request Item
5990
+ */
5991
+ export interface RmaCreditItemRequestDTO {
5992
+ /**
5993
+ * RMA Item ID
5994
+ */
5995
+ 'rmaItemId'?: number;
5996
+ /**
5997
+ * Refund Percentage
5998
+ */
5999
+ 'refundPercentage'?: RmaCreditItemRequestDTORefundPercentageEnum;
6000
+ /**
6001
+ * Return Item to Stock
6002
+ */
6003
+ 'returnStock'?: boolean;
6004
+ }
6005
+
6006
+ export const RmaCreditItemRequestDTORefundPercentageEnum = {
6007
+ NUMBER_100: 100,
6008
+ NUMBER_85: 85,
6009
+ } as const;
6010
+
6011
+ export type RmaCreditItemRequestDTORefundPercentageEnum = typeof RmaCreditItemRequestDTORefundPercentageEnum[keyof typeof RmaCreditItemRequestDTORefundPercentageEnum];
6012
+
6013
+ /**
6014
+ * RMA
6015
+ */
6016
+ export interface RmaDTO {
6017
+ /**
6018
+ * RMA ID
6019
+ */
6020
+ 'id'?: number;
6021
+ /**
6022
+ * Contact Name
6023
+ */
6024
+ 'contactName'?: string;
6025
+ /**
6026
+ * Contact Email
6027
+ */
6028
+ 'contactEmail'?: string;
6029
+ /**
6030
+ * Associated Order ID
6031
+ */
6032
+ 'orderId'?: number;
6033
+ /**
6034
+ * RMA Reason
6035
+ */
6036
+ 'reason'?: RmaDTOReasonEnum;
6037
+ /**
6038
+ * Fault Report
6039
+ */
6040
+ 'faultReport'?: string;
6041
+ /**
6042
+ * Ticket ID
6043
+ */
6044
+ 'ticketId'?: number;
6045
+ /**
6046
+ * RMA Resolution
6047
+ */
6048
+ 'resolution'?: RmaDTOResolutionEnum;
6049
+ /**
6050
+ * RMA Status
6051
+ */
6052
+ 'status'?: RmaDTOStatusEnum;
6053
+ /**
6054
+ * RMA Approval Status
6055
+ */
6056
+ 'approved'?: boolean;
6057
+ /**
6058
+ * RMA Return Address
6059
+ */
6060
+ 'address'?: AddressDTO | null;
6061
+ /**
6062
+ * RMA Items
6063
+ */
6064
+ 'items'?: Array<RmaItemDTO>;
6065
+ }
6066
+
6067
+ export const RmaDTOReasonEnum = {
6068
+ NUMBER_1: 1,
6069
+ NUMBER_2: 2,
6070
+ NUMBER_3: 3,
6071
+ NUMBER_4: 4,
6072
+ } as const;
6073
+
6074
+ export type RmaDTOReasonEnum = typeof RmaDTOReasonEnum[keyof typeof RmaDTOReasonEnum];
6075
+ export const RmaDTOResolutionEnum = {
6076
+ NUMBER_1: 1,
6077
+ NUMBER_2: 2,
6078
+ NUMBER_3: 3,
6079
+ } as const;
6080
+
6081
+ export type RmaDTOResolutionEnum = typeof RmaDTOResolutionEnum[keyof typeof RmaDTOResolutionEnum];
6082
+ export const RmaDTOStatusEnum = {
6083
+ NUMBER_1: 1,
6084
+ NUMBER_2: 2,
6085
+ NUMBER_3: 3,
6086
+ NUMBER_4: 4,
6087
+ NUMBER_5: 5,
6088
+ } as const;
6089
+
6090
+ export type RmaDTOStatusEnum = typeof RmaDTOStatusEnum[keyof typeof RmaDTOStatusEnum];
6091
+
6092
+ /**
6093
+ * RMA Item
6094
+ */
6095
+ export interface RmaItemDTO {
6096
+ /**
6097
+ * RMA Item ID
6098
+ */
6099
+ 'id'?: number;
6100
+ /**
6101
+ * RMA Order Item ID
6102
+ */
6103
+ 'itemId'?: number;
6104
+ /**
6105
+ * RMA Item Name
6106
+ */
6107
+ 'itemName'?: string;
6108
+ /**
6109
+ * RMA Item MAC Address
6110
+ */
6111
+ 'macAddress'?: string;
6112
+ /**
6113
+ * RMA Item Serial Number
6114
+ */
6115
+ 'serialNumber'?: string;
6116
+ /**
6117
+ * RMA Item Received Status
6118
+ */
6119
+ 'received'?: boolean;
6120
+ /**
6121
+ * RMA Item Status
6122
+ */
6123
+ 'status'?: RmaItemDTOStatusEnum;
6124
+ }
6125
+
6126
+ export const RmaItemDTOStatusEnum = {
6127
+ NUMBER_1: 1,
6128
+ NUMBER_2: 2,
6129
+ NUMBER_3: 3,
6130
+ } as const;
6131
+
6132
+ export type RmaItemDTOStatusEnum = typeof RmaItemDTOStatusEnum[keyof typeof RmaItemDTOStatusEnum];
6133
+
6134
+ /**
6135
+ * RMA Request Item
6136
+ */
6137
+ export interface RmaItemRequestDTO {
6138
+ /**
6139
+ * RMA Item ID
6140
+ */
6141
+ 'itemId'?: number;
6142
+ /**
6143
+ * RMA Item MAC Address
6144
+ */
6145
+ 'macAddress'?: string | null;
6146
+ /**
6147
+ * RMA Item Serial Number
6148
+ */
6149
+ 'serialNumber'?: string;
6150
+ }
6151
+ /**
6152
+ * RMA Replacement Order Item
6153
+ */
6154
+ export interface RmaReplacementOrderItemDTO {
6155
+ /**
6156
+ * Replaced RMA Item ID
6157
+ */
6158
+ 'id'?: string;
6159
+ /**
6160
+ * Replacement RMA Item SKU
6161
+ */
6162
+ 'sku'?: string;
6163
+ }
6164
+ /**
6165
+ * RMA Replacement Order Request
6166
+ */
6167
+ export interface RmaReplacementOrderRequestDTO {
6168
+ /**
6169
+ * RMA Replacement Order Items
6170
+ */
6171
+ 'items'?: Array<RmaReplacementOrderItemDTO>;
6172
+ }
6173
+ export interface RmaRequestDTO {
6174
+ /**
6175
+ * Contact Name
6176
+ */
6177
+ 'contactName'?: string;
6178
+ /**
6179
+ * Contact Email
6180
+ */
6181
+ 'contactEmail'?: string;
6182
+ /**
6183
+ * Associated Order ID
6184
+ */
6185
+ 'orderId'?: number;
6186
+ /**
6187
+ * RMA Reason
6188
+ */
6189
+ 'reason'?: RmaRequestDTOReasonEnum;
6190
+ /**
6191
+ * Fault Report
6192
+ */
6193
+ 'faultReport'?: string;
6194
+ /**
6195
+ * RMA Resolution
6196
+ */
6197
+ 'requestedResolution'?: RmaRequestDTORequestedResolutionEnum;
6198
+ /**
6199
+ * RMA Items
6200
+ */
6201
+ 'items'?: Array<RmaItemRequestDTO>;
6202
+ 'address'?: AddressDTO;
6203
+ }
6204
+
6205
+ export const RmaRequestDTOReasonEnum = {
6206
+ NUMBER_1: 1,
6207
+ NUMBER_2: 2,
6208
+ NUMBER_3: 3,
6209
+ NUMBER_4: 4,
6210
+ } as const;
6211
+
6212
+ export type RmaRequestDTOReasonEnum = typeof RmaRequestDTOReasonEnum[keyof typeof RmaRequestDTOReasonEnum];
6213
+ export const RmaRequestDTORequestedResolutionEnum = {
6214
+ NUMBER_1: 1,
6215
+ NUMBER_2: 2,
6216
+ NUMBER_3: 3,
6217
+ } as const;
6218
+
6219
+ export type RmaRequestDTORequestedResolutionEnum = typeof RmaRequestDTORequestedResolutionEnum[keyof typeof RmaRequestDTORequestedResolutionEnum];
6220
+
6221
+ /**
6222
+ * RMA Return Request
6223
+ */
6224
+ export interface RmaReturnDTO {
6225
+ 'address'?: AddressDTO;
6226
+ /**
6227
+ * RMA Item IDs
6228
+ */
6229
+ 'items'?: Array<number>;
6230
+ /**
6231
+ * Shipping Service Code
6232
+ */
6233
+ 'service'?: string;
6234
+ /**
6235
+ * Number of boxes to ship
6236
+ */
6237
+ 'boxes'?: number;
6238
+ /**
6239
+ * Contact Email
6240
+ */
6241
+ 'contactEmail'?: string;
6242
+ /**
6243
+ * Contact Telephone
6244
+ */
6245
+ 'contactTelephone'?: string;
6246
+ }
6247
+ /**
6248
+ * RMA Summary DTO
6249
+ */
6250
+ export interface RmaSummaryDTO {
6251
+ /**
6252
+ * RMA ID
6253
+ */
6254
+ 'id'?: number;
6255
+ /**
6256
+ * Order ID
6257
+ */
6258
+ 'orderId'?: number;
6259
+ /**
6260
+ * Order Reference
6261
+ */
6262
+ 'orderReference'?: string;
6263
+ /**
6264
+ * RMA Status
6265
+ */
6266
+ 'status'?: RmaSummaryDTOStatusEnum;
6267
+ /**
6268
+ * RMA Summary Items
6269
+ */
6270
+ 'items'?: Array<RmaSummaryItemDTO>;
6271
+ }
6272
+
6273
+ export const RmaSummaryDTOStatusEnum = {
6274
+ NUMBER_1: 1,
6275
+ NUMBER_2: 2,
6276
+ NUMBER_3: 3,
6277
+ NUMBER_4: 4,
6278
+ NUMBER_5: 5,
6279
+ } as const;
6280
+
6281
+ export type RmaSummaryDTOStatusEnum = typeof RmaSummaryDTOStatusEnum[keyof typeof RmaSummaryDTOStatusEnum];
6282
+
6283
+ /**
6284
+ * RMA Item Summary
6285
+ */
6286
+ export interface RmaSummaryItemDTO {
6287
+ /**
6288
+ * RMA Item Name
6289
+ */
6290
+ 'itemName'?: string;
6291
+ /**
6292
+ * RMA Item Quantity
6293
+ */
6294
+ 'quantity'?: number;
6295
+ }
6296
+ /**
6297
+ * Root Access Model
6298
+ */
6299
+ export interface RootAccessModel {
6300
+ /**
6301
+ * Username
6302
+ */
6303
+ 'username'?: string;
6304
+ /**
6305
+ * Password
6306
+ */
6307
+ 'password'?: string;
6308
+ /**
6309
+ * Expiry Date
6310
+ */
6311
+ 'expiryDate'?: string;
5302
6312
  }
5303
6313
  /**
5304
6314
  * S3 Bucket
@@ -5396,6 +6406,43 @@ export interface ScopeModel {
5396
6406
  */
5397
6407
  'description'?: string;
5398
6408
  }
6409
+ /**
6410
+ * Serial Number Request
6411
+ */
6412
+ export interface SerialNumberRequestModel {
6413
+ /**
6414
+ * Serial Number
6415
+ */
6416
+ 'serialNumber'?: string;
6417
+ }
6418
+ /**
6419
+ * Graph Series Data
6420
+ */
6421
+ export interface SeriesDTO {
6422
+ /**
6423
+ * Name
6424
+ */
6425
+ 'name'?: string;
6426
+ /**
6427
+ * Type
6428
+ */
6429
+ 'type'?: SeriesDTOTypeEnum;
6430
+ /**
6431
+ * Stack
6432
+ */
6433
+ 'stack'?: string | null;
6434
+ /**
6435
+ * Data
6436
+ */
6437
+ 'data'?: Array<string>;
6438
+ }
6439
+
6440
+ export const SeriesDTOTypeEnum = {
6441
+ Line: 'line',
6442
+ } as const;
6443
+
6444
+ export type SeriesDTOTypeEnum = typeof SeriesDTOTypeEnum[keyof typeof SeriesDTOTypeEnum];
6445
+
5399
6446
  /**
5400
6447
  * Service Health DTO
5401
6448
  */
@@ -6884,29 +7931,120 @@ export interface StockProductSummaryModel {
6884
7931
  'manufacturer'?: StockOrderSupplierModel;
6885
7932
  }
6886
7933
  /**
6887
- * StockTransactionsEntity
7934
+ * Stock Report Item
6888
7935
  */
6889
- export interface StockTransactionsEntity {
7936
+ export interface StockReportItemModel {
6890
7937
  /**
6891
- * id
7938
+ * Title
6892
7939
  */
6893
- 'id'?: number;
7940
+ 'title'?: string;
6894
7941
  /**
6895
- * sku
7942
+ * SKU
6896
7943
  */
6897
7944
  'sku'?: string;
6898
7945
  /**
6899
- * initialStock
7946
+ * In Stock
6900
7947
  */
6901
- 'initialStock'?: number;
7948
+ 'quantity'?: number;
6902
7949
  /**
6903
- * action
7950
+ * Currency
6904
7951
  */
6905
- 'action'?: string;
7952
+ 'currency'?: StockReportItemModelCurrencyEnum;
6906
7953
  /**
6907
- * quantity
7954
+ * Cost Price
6908
7955
  */
6909
- 'quantity'?: number;
7956
+ 'basePrice'?: number;
7957
+ /**
7958
+ * Line Total
7959
+ */
7960
+ 'totalValue'?: number;
7961
+ }
7962
+
7963
+ export const StockReportItemModelCurrencyEnum = {
7964
+ Eur: 'EUR',
7965
+ Usd: 'USD',
7966
+ Jpy: 'JPY',
7967
+ Bgn: 'BGN',
7968
+ Czk: 'CZK',
7969
+ Dkk: 'DKK',
7970
+ Gbp: 'GBP',
7971
+ Huf: 'HUF',
7972
+ Pln: 'PLN',
7973
+ Ron: 'RON',
7974
+ Sek: 'SEK',
7975
+ Chf: 'CHF',
7976
+ Isk: 'ISK',
7977
+ Nok: 'NOK',
7978
+ Try: 'TRY',
7979
+ Aud: 'AUD',
7980
+ Brl: 'BRL',
7981
+ Cad: 'CAD',
7982
+ Cny: 'CNY',
7983
+ Hkd: 'HKD',
7984
+ Idr: 'IDR',
7985
+ Ils: 'ILS',
7986
+ Inr: 'INR',
7987
+ Krw: 'KRW',
7988
+ Mxn: 'MXN',
7989
+ Myr: 'MYR',
7990
+ Nzd: 'NZD',
7991
+ Php: 'PHP',
7992
+ Sgd: 'SGD',
7993
+ Thb: 'THB',
7994
+ Zar: 'ZAR',
7995
+ } as const;
7996
+
7997
+ export type StockReportItemModelCurrencyEnum = typeof StockReportItemModelCurrencyEnum[keyof typeof StockReportItemModelCurrencyEnum];
7998
+
7999
+ /**
8000
+ * Stock Report
8001
+ */
8002
+ export interface StockReportModel {
8003
+ /**
8004
+ * Items
8005
+ */
8006
+ 'products'?: Array<StockReportItemModel>;
8007
+ /**
8008
+ * Units In Stock
8009
+ */
8010
+ 'unitsInStock'?: number;
8011
+ /**
8012
+ * Value Of USD Stock
8013
+ */
8014
+ 'usdStock'?: number;
8015
+ /**
8016
+ * Value Of GBP Stock
8017
+ */
8018
+ 'gbpStock'?: number;
8019
+ /**
8020
+ * Total value of stock in GBP
8021
+ */
8022
+ 'totalStockGbp'?: number;
8023
+ }
8024
+ /**
8025
+ * StockTransactionsEntity
8026
+ */
8027
+ export interface StockTransactionsEntity {
8028
+ /**
8029
+ * id
8030
+ */
8031
+ 'id'?: number;
8032
+ /**
8033
+ * sku
8034
+ */
8035
+ 'sku'?: string;
8036
+ /**
8037
+ * initialStock
8038
+ */
8039
+ 'initialStock'?: number;
8040
+ /**
8041
+ * action
8042
+ */
8043
+ 'action'?: string;
8044
+ /**
8045
+ * quantity
8046
+ */
8047
+ 'quantity'?: number;
6910
8048
  /**
6911
8049
  * currentStock
6912
8050
  */
@@ -7034,6 +8172,16 @@ export interface SupplierItemModel {
7034
8172
  * supplierSku
7035
8173
  */
7036
8174
  'supplierSku'?: string;
8175
+ 'supplier'?: SupplierModel;
8176
+ }
8177
+ /**
8178
+ * Supplier Item Results
8179
+ */
8180
+ export interface SupplierItemsResultsDTO {
8181
+ /**
8182
+ * Results
8183
+ */
8184
+ 'results'?: Array<SupplierItemModel>;
7037
8185
  }
7038
8186
  /**
7039
8187
  * Supplier
@@ -7076,6 +8224,44 @@ export interface SupplierModel {
7076
8224
  */
7077
8225
  'xeroAccountNumber'?: string;
7078
8226
  }
8227
+ /**
8228
+ * Supplier Product
8229
+ */
8230
+ export interface SupplierProductModel {
8231
+ /**
8232
+ * SKU
8233
+ */
8234
+ 'sku'?: string;
8235
+ /**
8236
+ * Description
8237
+ */
8238
+ 'description'?: string;
8239
+ /**
8240
+ * Items
8241
+ */
8242
+ 'items'?: Array<SupplierItemModel>;
8243
+ }
8244
+ /**
8245
+ * Supplier Product Results
8246
+ */
8247
+ export interface SupplierProductResultsModel {
8248
+ /**
8249
+ * Results
8250
+ */
8251
+ 'results'?: Array<SupplierProductModel>;
8252
+ /**
8253
+ * Page
8254
+ */
8255
+ 'page'?: number;
8256
+ /**
8257
+ * Per Page
8258
+ */
8259
+ 'perPage'?: number;
8260
+ /**
8261
+ * Total Results
8262
+ */
8263
+ 'totalResults'?: number;
8264
+ }
7079
8265
  /**
7080
8266
  * Telephony Support Ticket
7081
8267
  */
@@ -7125,6 +8311,29 @@ export interface SupportTicketModel {
7125
8311
  */
7126
8312
  'conversations'?: Array<ConversationModel>;
7127
8313
  }
8314
+ /**
8315
+ * Table
8316
+ */
8317
+ export interface TableDTO {
8318
+ /**
8319
+ * Title
8320
+ */
8321
+ 'title'?: string;
8322
+ 'headers'?: TableRowDTO;
8323
+ /**
8324
+ * Rows
8325
+ */
8326
+ 'rows'?: Array<TableRowDTO>;
8327
+ }
8328
+ /**
8329
+ * Table Data
8330
+ */
8331
+ export interface TableDataDTO {
8332
+ /**
8333
+ * Value
8334
+ */
8335
+ 'value'?: string;
8336
+ }
7128
8337
  /**
7129
8338
  * TableAttribsEntity
7130
8339
  */
@@ -7162,6 +8371,15 @@ export interface TableHistoryEntity {
7162
8371
  */
7163
8372
  'page'?: number;
7164
8373
  }
8374
+ /**
8375
+ * Table Row
8376
+ */
8377
+ export interface TableRowDTO {
8378
+ /**
8379
+ * Table Data
8380
+ */
8381
+ 'data'?: Array<TableDataDTO>;
8382
+ }
7165
8383
  /**
7166
8384
  * 3CX Wizard Restore From Backup
7167
8385
  */
@@ -7404,6 +8622,10 @@ export interface TcxInstallationModel {
7404
8622
  * Wizard ID
7405
8623
  */
7406
8624
  'wizardId'?: string;
8625
+ /**
8626
+ * Customer ID
8627
+ */
8628
+ 'customerId'?: number;
7407
8629
  /**
7408
8630
  * Instance ID
7409
8631
  */
@@ -9169,6 +10391,35 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9169
10391
  options: localVarRequestOptions,
9170
10392
  };
9171
10393
  },
10394
+ /**
10395
+ * Get Customer Map
10396
+ * @param {*} [options] Override http request option.
10397
+ * @throws {RequiredError}
10398
+ */
10399
+ getGetCustomerMap: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10400
+ const localVarPath = `/admin/accounts/customer/map`;
10401
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10402
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10403
+ let baseOptions;
10404
+ if (configuration) {
10405
+ baseOptions = configuration.baseOptions;
10406
+ }
10407
+
10408
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10409
+ const localVarHeaderParameter = {} as any;
10410
+ const localVarQueryParameter = {} as any;
10411
+
10412
+ localVarHeaderParameter['Accept'] = 'application/json';
10413
+
10414
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10415
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10416
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10417
+
10418
+ return {
10419
+ url: toPathString(localVarUrlObj),
10420
+ options: localVarRequestOptions,
10421
+ };
10422
+ },
9172
10423
  /**
9173
10424
  * Get Account Finance
9174
10425
  * @param {string} id Account Xero ID
@@ -9232,6 +10483,43 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
9232
10483
  options: localVarRequestOptions,
9233
10484
  };
9234
10485
  },
10486
+ /**
10487
+ * Download New Price List
10488
+ * @summary Download New Price List
10489
+ * @param {string} id Xero ID
10490
+ * @param {*} [options] Override http request option.
10491
+ * @throws {RequiredError}
10492
+ */
10493
+ getGetNewPriceList: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10494
+ // verify required parameter 'id' is not null or undefined
10495
+ assertParamExists('getGetNewPriceList', 'id', id)
10496
+ const localVarPath = `/admin/accounts/priceList/new`;
10497
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10498
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10499
+ let baseOptions;
10500
+ if (configuration) {
10501
+ baseOptions = configuration.baseOptions;
10502
+ }
10503
+
10504
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10505
+ const localVarHeaderParameter = {} as any;
10506
+ const localVarQueryParameter = {} as any;
10507
+
10508
+ if (id !== undefined) {
10509
+ localVarQueryParameter['id'] = id;
10510
+ }
10511
+
10512
+ localVarHeaderParameter['Accept'] = 'text/csv';
10513
+
10514
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10515
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10516
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10517
+
10518
+ return {
10519
+ url: toPathString(localVarUrlObj),
10520
+ options: localVarRequestOptions,
10521
+ };
10522
+ },
9235
10523
  /**
9236
10524
  * Get Account 3CX Details
9237
10525
  * @param {string} id Xero ID
@@ -10500,6 +11788,17 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10500
11788
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetCustomerKeys']?.[localVarOperationServerIndex]?.url;
10501
11789
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10502
11790
  },
11791
+ /**
11792
+ * Get Customer Map
11793
+ * @param {*} [options] Override http request option.
11794
+ * @throws {RequiredError}
11795
+ */
11796
+ async getGetCustomerMap(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerCoordinatesDTO>>> {
11797
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetCustomerMap(options);
11798
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11799
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetCustomerMap']?.[localVarOperationServerIndex]?.url;
11800
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11801
+ },
10503
11802
  /**
10504
11803
  * Get Account Finance
10505
11804
  * @param {string} id Account Xero ID
@@ -10524,6 +11823,19 @@ export const AccountsApiFp = function(configuration?: Configuration) {
10524
11823
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetLastAccount']?.[localVarOperationServerIndex]?.url;
10525
11824
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10526
11825
  },
11826
+ /**
11827
+ * Download New Price List
11828
+ * @summary Download New Price List
11829
+ * @param {string} id Xero ID
11830
+ * @param {*} [options] Override http request option.
11831
+ * @throws {RequiredError}
11832
+ */
11833
+ async getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
11834
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetNewPriceList(id, options);
11835
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11836
+ const localVarOperationServerBasePath = operationServerMap['AccountsApi.getGetNewPriceList']?.[localVarOperationServerIndex]?.url;
11837
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11838
+ },
10527
11839
  /**
10528
11840
  * Get Account 3CX Details
10529
11841
  * @param {string} id Xero ID
@@ -11063,6 +12375,14 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
11063
12375
  getGetCustomerKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<TcxKeySummaryDTO>> {
11064
12376
  return localVarFp.getGetCustomerKeys(options).then((request) => request(axios, basePath));
11065
12377
  },
12378
+ /**
12379
+ * Get Customer Map
12380
+ * @param {*} [options] Override http request option.
12381
+ * @throws {RequiredError}
12382
+ */
12383
+ getGetCustomerMap(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerCoordinatesDTO>> {
12384
+ return localVarFp.getGetCustomerMap(options).then((request) => request(axios, basePath));
12385
+ },
11066
12386
  /**
11067
12387
  * Get Account Finance
11068
12388
  * @param {string} id Account Xero ID
@@ -11081,6 +12401,16 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
11081
12401
  getGetLastAccount(options?: RawAxiosRequestConfig): AxiosPromise<AccountSummaryDTO> {
11082
12402
  return localVarFp.getGetLastAccount(options).then((request) => request(axios, basePath));
11083
12403
  },
12404
+ /**
12405
+ * Download New Price List
12406
+ * @summary Download New Price List
12407
+ * @param {string} id Xero ID
12408
+ * @param {*} [options] Override http request option.
12409
+ * @throws {RequiredError}
12410
+ */
12411
+ getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<string> {
12412
+ return localVarFp.getGetNewPriceList(id, options).then((request) => request(axios, basePath));
12413
+ },
11084
12414
  /**
11085
12415
  * Get Account 3CX Details
11086
12416
  * @param {string} id Xero ID
@@ -11538,6 +12868,15 @@ export class AccountsApi extends BaseAPI {
11538
12868
  return AccountsApiFp(this.configuration).getGetCustomerKeys(options).then((request) => request(this.axios, this.basePath));
11539
12869
  }
11540
12870
 
12871
+ /**
12872
+ * Get Customer Map
12873
+ * @param {*} [options] Override http request option.
12874
+ * @throws {RequiredError}
12875
+ */
12876
+ public getGetCustomerMap(options?: RawAxiosRequestConfig) {
12877
+ return AccountsApiFp(this.configuration).getGetCustomerMap(options).then((request) => request(this.axios, this.basePath));
12878
+ }
12879
+
11541
12880
  /**
11542
12881
  * Get Account Finance
11543
12882
  * @param {string} id Account Xero ID
@@ -11558,6 +12897,17 @@ export class AccountsApi extends BaseAPI {
11558
12897
  return AccountsApiFp(this.configuration).getGetLastAccount(options).then((request) => request(this.axios, this.basePath));
11559
12898
  }
11560
12899
 
12900
+ /**
12901
+ * Download New Price List
12902
+ * @summary Download New Price List
12903
+ * @param {string} id Xero ID
12904
+ * @param {*} [options] Override http request option.
12905
+ * @throws {RequiredError}
12906
+ */
12907
+ public getGetNewPriceList(id: string, options?: RawAxiosRequestConfig) {
12908
+ return AccountsApiFp(this.configuration).getGetNewPriceList(id, options).then((request) => request(this.axios, this.basePath));
12909
+ }
12910
+
11561
12911
  /**
11562
12912
  * Get Account 3CX Details
11563
12913
  * @param {string} id Xero ID
@@ -17832,24 +19182,18 @@ export type GetGetTenantsStatusEnum = typeof GetGetTenantsStatusEnum[keyof typeo
17832
19182
 
17833
19183
 
17834
19184
  /**
17835
- * MyPBXToolsApi - axios parameter creator
19185
+ * MiscApi - axios parameter creator
17836
19186
  */
17837
- export const MyPBXToolsApiAxiosParamCreator = function (configuration?: Configuration) {
19187
+ export const MiscApiAxiosParamCreator = function (configuration?: Configuration) {
17838
19188
  return {
17839
19189
  /**
17840
- * Get 3CX Installation Details
17841
- * @summary Fetch recording from a 3CX instance
17842
- * @param {string} licenceKey Licence Key
17843
- * @param {string} fileName File Name
19190
+ * Share Credentials
19191
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
17844
19192
  * @param {*} [options] Override http request option.
17845
19193
  * @throws {RequiredError}
17846
19194
  */
17847
- getGetRecording: async (licenceKey: string, fileName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17848
- // verify required parameter 'licenceKey' is not null or undefined
17849
- assertParamExists('getGetRecording', 'licenceKey', licenceKey)
17850
- // verify required parameter 'fileName' is not null or undefined
17851
- assertParamExists('getGetRecording', 'fileName', fileName)
17852
- const localVarPath = `/mypbxtools/recordings`;
19195
+ postSendPassword: async (passwordSenderDTO?: PasswordSenderDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19196
+ const localVarPath = `/admin/password/send`;
17853
19197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
17854
19198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17855
19199
  let baseOptions;
@@ -17857,15 +19201,117 @@ export const MyPBXToolsApiAxiosParamCreator = function (configuration?: Configur
17857
19201
  baseOptions = configuration.baseOptions;
17858
19202
  }
17859
19203
 
17860
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19204
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
17861
19205
  const localVarHeaderParameter = {} as any;
17862
19206
  const localVarQueryParameter = {} as any;
17863
19207
 
17864
- if (licenceKey !== undefined) {
17865
- localVarQueryParameter['licenceKey'] = licenceKey;
17866
- }
19208
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19209
+ localVarHeaderParameter['Accept'] = 'application/json';
17867
19210
 
17868
- if (fileName !== undefined) {
19211
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19212
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19213
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19214
+ localVarRequestOptions.data = serializeDataIfNeeded(passwordSenderDTO, localVarRequestOptions, configuration)
19215
+
19216
+ return {
19217
+ url: toPathString(localVarUrlObj),
19218
+ options: localVarRequestOptions,
19219
+ };
19220
+ },
19221
+ }
19222
+ };
19223
+
19224
+ /**
19225
+ * MiscApi - functional programming interface
19226
+ */
19227
+ export const MiscApiFp = function(configuration?: Configuration) {
19228
+ const localVarAxiosParamCreator = MiscApiAxiosParamCreator(configuration)
19229
+ return {
19230
+ /**
19231
+ * Share Credentials
19232
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
19233
+ * @param {*} [options] Override http request option.
19234
+ * @throws {RequiredError}
19235
+ */
19236
+ async postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasswordSenderDTO>> {
19237
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postSendPassword(passwordSenderDTO, options);
19238
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19239
+ const localVarOperationServerBasePath = operationServerMap['MiscApi.postSendPassword']?.[localVarOperationServerIndex]?.url;
19240
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19241
+ },
19242
+ }
19243
+ };
19244
+
19245
+ /**
19246
+ * MiscApi - factory interface
19247
+ */
19248
+ export const MiscApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
19249
+ const localVarFp = MiscApiFp(configuration)
19250
+ return {
19251
+ /**
19252
+ * Share Credentials
19253
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
19254
+ * @param {*} [options] Override http request option.
19255
+ * @throws {RequiredError}
19256
+ */
19257
+ postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): AxiosPromise<PasswordSenderDTO> {
19258
+ return localVarFp.postSendPassword(passwordSenderDTO, options).then((request) => request(axios, basePath));
19259
+ },
19260
+ };
19261
+ };
19262
+
19263
+ /**
19264
+ * MiscApi - object-oriented interface
19265
+ */
19266
+ export class MiscApi extends BaseAPI {
19267
+ /**
19268
+ * Share Credentials
19269
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
19270
+ * @param {*} [options] Override http request option.
19271
+ * @throws {RequiredError}
19272
+ */
19273
+ public postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig) {
19274
+ return MiscApiFp(this.configuration).postSendPassword(passwordSenderDTO, options).then((request) => request(this.axios, this.basePath));
19275
+ }
19276
+ }
19277
+
19278
+
19279
+
19280
+ /**
19281
+ * MyPBXToolsApi - axios parameter creator
19282
+ */
19283
+ export const MyPBXToolsApiAxiosParamCreator = function (configuration?: Configuration) {
19284
+ return {
19285
+ /**
19286
+ * Get 3CX Installation Details
19287
+ * @summary Fetch recording from a 3CX instance
19288
+ * @param {string} licenceKey Licence Key
19289
+ * @param {string} fileName File Name
19290
+ * @param {*} [options] Override http request option.
19291
+ * @throws {RequiredError}
19292
+ */
19293
+ getGetRecording: async (licenceKey: string, fileName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19294
+ // verify required parameter 'licenceKey' is not null or undefined
19295
+ assertParamExists('getGetRecording', 'licenceKey', licenceKey)
19296
+ // verify required parameter 'fileName' is not null or undefined
19297
+ assertParamExists('getGetRecording', 'fileName', fileName)
19298
+ const localVarPath = `/mypbxtools/recordings`;
19299
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19300
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19301
+ let baseOptions;
19302
+ if (configuration) {
19303
+ baseOptions = configuration.baseOptions;
19304
+ }
19305
+
19306
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
19307
+ const localVarHeaderParameter = {} as any;
19308
+ const localVarQueryParameter = {} as any;
19309
+
19310
+ if (licenceKey !== undefined) {
19311
+ localVarQueryParameter['licenceKey'] = licenceKey;
19312
+ }
19313
+
19314
+ if (fileName !== undefined) {
17869
19315
  localVarQueryParameter['fileName'] = fileName;
17870
19316
  }
17871
19317
 
@@ -19730,6 +21176,8 @@ export const PostAccessTokenScopeEnum = {
19730
21176
  ProductsRead: 'products.read',
19731
21177
  ProvisioningRead: 'provisioning.read',
19732
21178
  ProvisioningWrite: 'provisioning.write',
21179
+ RmaRead: 'rma.read',
21180
+ RmaWrite: 'rma.write',
19733
21181
  SmsRead: 'sms.read',
19734
21182
  SmsWrite: 'sms.write',
19735
21183
  TrunksRead: 'trunks.read',
@@ -19766,6 +21214,8 @@ export const PostAuthoriseScopeEnum = {
19766
21214
  ProductsRead: 'products.read',
19767
21215
  ProvisioningRead: 'provisioning.read',
19768
21216
  ProvisioningWrite: 'provisioning.write',
21217
+ RmaRead: 'rma.read',
21218
+ RmaWrite: 'rma.write',
19769
21219
  SmsRead: 'sms.read',
19770
21220
  SmsWrite: 'sms.write',
19771
21221
  TrunksRead: 'trunks.read',
@@ -24346,25 +25796,2028 @@ export class ProvisioningApi extends BaseAPI {
24346
25796
  }
24347
25797
 
24348
25798
  /**
24349
- * Add MAC address to DB and FDPS group
24350
- * @summary Add MAC address to DB and FDPS group
24351
- * @param {string} id Group ID
24352
- * @param {string} mac MAC Address
25799
+ * Add MAC address to DB and FDPS group
25800
+ * @summary Add MAC address to DB and FDPS group
25801
+ * @param {string} id Group ID
25802
+ * @param {string} mac MAC Address
25803
+ * @param {*} [options] Override http request option.
25804
+ * @throws {RequiredError}
25805
+ */
25806
+ public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
25807
+ return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
25808
+ }
25809
+
25810
+ /**
25811
+ * Create a MAC address in FDPS
25812
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
25813
+ * @param {*} [options] Override http request option.
25814
+ * @throws {RequiredError}
25815
+ */
25816
+ public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
25817
+ return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
25818
+ }
25819
+ }
25820
+
25821
+
25822
+
25823
+ /**
25824
+ * RMAApi - axios parameter creator
25825
+ */
25826
+ export const RMAApiAxiosParamCreator = function (configuration?: Configuration) {
25827
+ return {
25828
+ /**
25829
+ * Delete an RMA item
25830
+ * @param {number} id
25831
+ * @param {number} itemId
25832
+ * @param {*} [options] Override http request option.
25833
+ * @throws {RequiredError}
25834
+ */
25835
+ deleteDeleteRmaItem: async (id: number, itemId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25836
+ // verify required parameter 'id' is not null or undefined
25837
+ assertParamExists('deleteDeleteRmaItem', 'id', id)
25838
+ // verify required parameter 'itemId' is not null or undefined
25839
+ assertParamExists('deleteDeleteRmaItem', 'itemId', itemId)
25840
+ const localVarPath = `/admin/rma/{id}/items/{item_id}`
25841
+ .replace('{id}', encodeURIComponent(String(id)))
25842
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
25843
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25844
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25845
+ let baseOptions;
25846
+ if (configuration) {
25847
+ baseOptions = configuration.baseOptions;
25848
+ }
25849
+
25850
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
25851
+ const localVarHeaderParameter = {} as any;
25852
+ const localVarQueryParameter = {} as any;
25853
+
25854
+
25855
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25856
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25857
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25858
+
25859
+ return {
25860
+ url: toPathString(localVarUrlObj),
25861
+ options: localVarRequestOptions,
25862
+ };
25863
+ },
25864
+ /**
25865
+ * Delete an RMA
25866
+ * @param {number} id
25867
+ * @param {*} [options] Override http request option.
25868
+ * @throws {RequiredError}
25869
+ */
25870
+ deleteGetAdminRma: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25871
+ // verify required parameter 'id' is not null or undefined
25872
+ assertParamExists('deleteGetAdminRma', 'id', id)
25873
+ const localVarPath = `/admin/rma/{id}`
25874
+ .replace('{id}', encodeURIComponent(String(id)));
25875
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25876
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25877
+ let baseOptions;
25878
+ if (configuration) {
25879
+ baseOptions = configuration.baseOptions;
25880
+ }
25881
+
25882
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
25883
+ const localVarHeaderParameter = {} as any;
25884
+ const localVarQueryParameter = {} as any;
25885
+
25886
+
25887
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25888
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25889
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25890
+
25891
+ return {
25892
+ url: toPathString(localVarUrlObj),
25893
+ options: localVarRequestOptions,
25894
+ };
25895
+ },
25896
+ /**
25897
+ * Get Customer RMAs
25898
+ * @param {number} [pageSize] Number Of Results
25899
+ * @param {number} [page] Page Number
25900
+ * @param {string} [search] Search
25901
+ * @param {*} [options] Override http request option.
25902
+ * @throws {RequiredError}
25903
+ */
25904
+ getCreateRma: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25905
+ const localVarPath = `/rma`;
25906
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25907
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25908
+ let baseOptions;
25909
+ if (configuration) {
25910
+ baseOptions = configuration.baseOptions;
25911
+ }
25912
+
25913
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25914
+ const localVarHeaderParameter = {} as any;
25915
+ const localVarQueryParameter = {} as any;
25916
+
25917
+ if (pageSize !== undefined) {
25918
+ localVarQueryParameter['pageSize'] = pageSize;
25919
+ }
25920
+
25921
+ if (page !== undefined) {
25922
+ localVarQueryParameter['page'] = page;
25923
+ }
25924
+
25925
+ if (search !== undefined) {
25926
+ localVarQueryParameter['search'] = search;
25927
+ }
25928
+
25929
+ localVarHeaderParameter['Accept'] = 'application/json';
25930
+
25931
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25932
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25933
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25934
+
25935
+ return {
25936
+ url: toPathString(localVarUrlObj),
25937
+ options: localVarRequestOptions,
25938
+ };
25939
+ },
25940
+ /**
25941
+ * Get Admin RMA by ID
25942
+ * @param {number} id
25943
+ * @param {*} [options] Override http request option.
25944
+ * @throws {RequiredError}
25945
+ */
25946
+ getGetAdminRma: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25947
+ // verify required parameter 'id' is not null or undefined
25948
+ assertParamExists('getGetAdminRma', 'id', id)
25949
+ const localVarPath = `/admin/rma/{id}`
25950
+ .replace('{id}', encodeURIComponent(String(id)));
25951
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25952
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25953
+ let baseOptions;
25954
+ if (configuration) {
25955
+ baseOptions = configuration.baseOptions;
25956
+ }
25957
+
25958
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25959
+ const localVarHeaderParameter = {} as any;
25960
+ const localVarQueryParameter = {} as any;
25961
+
25962
+ localVarHeaderParameter['Accept'] = 'application/json';
25963
+
25964
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25965
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25966
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25967
+
25968
+ return {
25969
+ url: toPathString(localVarUrlObj),
25970
+ options: localVarRequestOptions,
25971
+ };
25972
+ },
25973
+ /**
25974
+ * Get Admin RMAs
25975
+ * @param {number} [pageSize] Number Of Results
25976
+ * @param {number} [page] Page Number
25977
+ * @param {string} [search] Search
25978
+ * @param {*} [options] Override http request option.
25979
+ * @throws {RequiredError}
25980
+ */
25981
+ getGetAdminRmas: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25982
+ const localVarPath = `/admin/rma`;
25983
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25984
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25985
+ let baseOptions;
25986
+ if (configuration) {
25987
+ baseOptions = configuration.baseOptions;
25988
+ }
25989
+
25990
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
25991
+ const localVarHeaderParameter = {} as any;
25992
+ const localVarQueryParameter = {} as any;
25993
+
25994
+ if (pageSize !== undefined) {
25995
+ localVarQueryParameter['pageSize'] = pageSize;
25996
+ }
25997
+
25998
+ if (page !== undefined) {
25999
+ localVarQueryParameter['page'] = page;
26000
+ }
26001
+
26002
+ if (search !== undefined) {
26003
+ localVarQueryParameter['search'] = search;
26004
+ }
26005
+
26006
+ localVarHeaderParameter['Accept'] = 'application/json';
26007
+
26008
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26009
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26010
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26011
+
26012
+ return {
26013
+ url: toPathString(localVarUrlObj),
26014
+ options: localVarRequestOptions,
26015
+ };
26016
+ },
26017
+ /**
26018
+ * Get RMA by ID
26019
+ * @param {number} id RMA ID
26020
+ * @param {*} [options] Override http request option.
26021
+ * @throws {RequiredError}
26022
+ */
26023
+ getGetRma: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26024
+ // verify required parameter 'id' is not null or undefined
26025
+ assertParamExists('getGetRma', 'id', id)
26026
+ const localVarPath = `/rma/{id}`
26027
+ .replace('{id}', encodeURIComponent(String(id)));
26028
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26029
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26030
+ let baseOptions;
26031
+ if (configuration) {
26032
+ baseOptions = configuration.baseOptions;
26033
+ }
26034
+
26035
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
26036
+ const localVarHeaderParameter = {} as any;
26037
+ const localVarQueryParameter = {} as any;
26038
+
26039
+ localVarHeaderParameter['Accept'] = 'application/json';
26040
+
26041
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26042
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26043
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26044
+
26045
+ return {
26046
+ url: toPathString(localVarUrlObj),
26047
+ options: localVarRequestOptions,
26048
+ };
26049
+ },
26050
+ /**
26051
+ * Approve an RMA
26052
+ * @param {number} id
26053
+ * @param {*} [options] Override http request option.
26054
+ * @throws {RequiredError}
26055
+ */
26056
+ patchApproveRma: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26057
+ // verify required parameter 'id' is not null or undefined
26058
+ assertParamExists('patchApproveRma', 'id', id)
26059
+ const localVarPath = `/admin/rma/{id}/approve`
26060
+ .replace('{id}', encodeURIComponent(String(id)));
26061
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26062
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26063
+ let baseOptions;
26064
+ if (configuration) {
26065
+ baseOptions = configuration.baseOptions;
26066
+ }
26067
+
26068
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26069
+ const localVarHeaderParameter = {} as any;
26070
+ const localVarQueryParameter = {} as any;
26071
+
26072
+
26073
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26074
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26075
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26076
+
26077
+ return {
26078
+ url: toPathString(localVarUrlObj),
26079
+ options: localVarRequestOptions,
26080
+ };
26081
+ },
26082
+ /**
26083
+ * Mark RMA item as binned
26084
+ * @param {number} id
26085
+ * @param {number} itemId
26086
+ * @param {*} [options] Override http request option.
26087
+ * @throws {RequiredError}
26088
+ */
26089
+ patchMarkRmaItemAsBinned: async (id: number, itemId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26090
+ // verify required parameter 'id' is not null or undefined
26091
+ assertParamExists('patchMarkRmaItemAsBinned', 'id', id)
26092
+ // verify required parameter 'itemId' is not null or undefined
26093
+ assertParamExists('patchMarkRmaItemAsBinned', 'itemId', itemId)
26094
+ const localVarPath = `/admin/rma/{id}/items/{item_id}/bin`
26095
+ .replace('{id}', encodeURIComponent(String(id)))
26096
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
26097
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26098
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26099
+ let baseOptions;
26100
+ if (configuration) {
26101
+ baseOptions = configuration.baseOptions;
26102
+ }
26103
+
26104
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26105
+ const localVarHeaderParameter = {} as any;
26106
+ const localVarQueryParameter = {} as any;
26107
+
26108
+
26109
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26110
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26111
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26112
+
26113
+ return {
26114
+ url: toPathString(localVarUrlObj),
26115
+ options: localVarRequestOptions,
26116
+ };
26117
+ },
26118
+ /**
26119
+ * Mark RMA item as received
26120
+ * @param {number} id
26121
+ * @param {number} itemId
26122
+ * @param {*} [options] Override http request option.
26123
+ * @throws {RequiredError}
26124
+ */
26125
+ patchMarkRmaItemAsReceived: async (id: number, itemId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26126
+ // verify required parameter 'id' is not null or undefined
26127
+ assertParamExists('patchMarkRmaItemAsReceived', 'id', id)
26128
+ // verify required parameter 'itemId' is not null or undefined
26129
+ assertParamExists('patchMarkRmaItemAsReceived', 'itemId', itemId)
26130
+ const localVarPath = `/admin/rma/{id}/items/{item_id}/received`
26131
+ .replace('{id}', encodeURIComponent(String(id)))
26132
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
26133
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26134
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26135
+ let baseOptions;
26136
+ if (configuration) {
26137
+ baseOptions = configuration.baseOptions;
26138
+ }
26139
+
26140
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26141
+ const localVarHeaderParameter = {} as any;
26142
+ const localVarQueryParameter = {} as any;
26143
+
26144
+
26145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26147
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26148
+
26149
+ return {
26150
+ url: toPathString(localVarUrlObj),
26151
+ options: localVarRequestOptions,
26152
+ };
26153
+ },
26154
+ /**
26155
+ * Mark RMA item as unresolved
26156
+ * @param {number} id
26157
+ * @param {number} itemId
26158
+ * @param {*} [options] Override http request option.
26159
+ * @throws {RequiredError}
26160
+ */
26161
+ patchMarkRmaItemAsUnresolved: async (id: number, itemId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26162
+ // verify required parameter 'id' is not null or undefined
26163
+ assertParamExists('patchMarkRmaItemAsUnresolved', 'id', id)
26164
+ // verify required parameter 'itemId' is not null or undefined
26165
+ assertParamExists('patchMarkRmaItemAsUnresolved', 'itemId', itemId)
26166
+ const localVarPath = `/admin/rma/{id}/items/{item_id}/unresolved`
26167
+ .replace('{id}', encodeURIComponent(String(id)))
26168
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
26169
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26170
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26171
+ let baseOptions;
26172
+ if (configuration) {
26173
+ baseOptions = configuration.baseOptions;
26174
+ }
26175
+
26176
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26177
+ const localVarHeaderParameter = {} as any;
26178
+ const localVarQueryParameter = {} as any;
26179
+
26180
+
26181
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26182
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26183
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26184
+
26185
+ return {
26186
+ url: toPathString(localVarUrlObj),
26187
+ options: localVarRequestOptions,
26188
+ };
26189
+ },
26190
+ /**
26191
+ * Reject an RMA
26192
+ * @param {number} id
26193
+ * @param {NoteRequestModel} [noteRequestModel] RMA Rejection Request
26194
+ * @param {*} [options] Override http request option.
26195
+ * @throws {RequiredError}
26196
+ */
26197
+ patchRejectRma: async (id: number, noteRequestModel?: NoteRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26198
+ // verify required parameter 'id' is not null or undefined
26199
+ assertParamExists('patchRejectRma', 'id', id)
26200
+ const localVarPath = `/admin/rma/{id}/reject`
26201
+ .replace('{id}', encodeURIComponent(String(id)));
26202
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26203
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26204
+ let baseOptions;
26205
+ if (configuration) {
26206
+ baseOptions = configuration.baseOptions;
26207
+ }
26208
+
26209
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26210
+ const localVarHeaderParameter = {} as any;
26211
+ const localVarQueryParameter = {} as any;
26212
+
26213
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26214
+
26215
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26216
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26217
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26218
+ localVarRequestOptions.data = serializeDataIfNeeded(noteRequestModel, localVarRequestOptions, configuration)
26219
+
26220
+ return {
26221
+ url: toPathString(localVarUrlObj),
26222
+ options: localVarRequestOptions,
26223
+ };
26224
+ },
26225
+ /**
26226
+ * Resolve an RMA
26227
+ * @param {number} id
26228
+ * @param {*} [options] Override http request option.
26229
+ * @throws {RequiredError}
26230
+ */
26231
+ patchResolveRma: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26232
+ // verify required parameter 'id' is not null or undefined
26233
+ assertParamExists('patchResolveRma', 'id', id)
26234
+ const localVarPath = `/admin/rma/{id}/resolve`
26235
+ .replace('{id}', encodeURIComponent(String(id)));
26236
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26237
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26238
+ let baseOptions;
26239
+ if (configuration) {
26240
+ baseOptions = configuration.baseOptions;
26241
+ }
26242
+
26243
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26244
+ const localVarHeaderParameter = {} as any;
26245
+ const localVarQueryParameter = {} as any;
26246
+
26247
+
26248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26250
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26251
+
26252
+ return {
26253
+ url: toPathString(localVarUrlObj),
26254
+ options: localVarRequestOptions,
26255
+ };
26256
+ },
26257
+ /**
26258
+ * Update contact name for an rma
26259
+ * @param {number} id
26260
+ * @param {EmailRequestModel} [emailRequestModel] Email Request
26261
+ * @param {*} [options] Override http request option.
26262
+ * @throws {RequiredError}
26263
+ */
26264
+ patchUpdateRmaContactEmail: async (id: number, emailRequestModel?: EmailRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26265
+ // verify required parameter 'id' is not null or undefined
26266
+ assertParamExists('patchUpdateRmaContactEmail', 'id', id)
26267
+ const localVarPath = `/admin/rma/{id}/contactEmail`
26268
+ .replace('{id}', encodeURIComponent(String(id)));
26269
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26270
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26271
+ let baseOptions;
26272
+ if (configuration) {
26273
+ baseOptions = configuration.baseOptions;
26274
+ }
26275
+
26276
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26277
+ const localVarHeaderParameter = {} as any;
26278
+ const localVarQueryParameter = {} as any;
26279
+
26280
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26281
+
26282
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26283
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26284
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26285
+ localVarRequestOptions.data = serializeDataIfNeeded(emailRequestModel, localVarRequestOptions, configuration)
26286
+
26287
+ return {
26288
+ url: toPathString(localVarUrlObj),
26289
+ options: localVarRequestOptions,
26290
+ };
26291
+ },
26292
+ /**
26293
+ * Update contact name for an rma
26294
+ * @param {number} id
26295
+ * @param {NameRequestModel} [nameRequestModel] Name Request
26296
+ * @param {*} [options] Override http request option.
26297
+ * @throws {RequiredError}
26298
+ */
26299
+ patchUpdateRmaContactName: async (id: number, nameRequestModel?: NameRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26300
+ // verify required parameter 'id' is not null or undefined
26301
+ assertParamExists('patchUpdateRmaContactName', 'id', id)
26302
+ const localVarPath = `/admin/rma/{id}/contactName`
26303
+ .replace('{id}', encodeURIComponent(String(id)));
26304
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26305
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26306
+ let baseOptions;
26307
+ if (configuration) {
26308
+ baseOptions = configuration.baseOptions;
26309
+ }
26310
+
26311
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26312
+ const localVarHeaderParameter = {} as any;
26313
+ const localVarQueryParameter = {} as any;
26314
+
26315
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26316
+
26317
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26318
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26319
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26320
+ localVarRequestOptions.data = serializeDataIfNeeded(nameRequestModel, localVarRequestOptions, configuration)
26321
+
26322
+ return {
26323
+ url: toPathString(localVarUrlObj),
26324
+ options: localVarRequestOptions,
26325
+ };
26326
+ },
26327
+ /**
26328
+ * Update RMA item MAC address
26329
+ * @param {number} id
26330
+ * @param {number} itemId
26331
+ * @param {MacAddressRequestModel} [macAddressRequestModel] Update RMA item MAC address request
26332
+ * @param {*} [options] Override http request option.
26333
+ * @throws {RequiredError}
26334
+ */
26335
+ patchUpdateRmaItemMacAddress: async (id: number, itemId: number, macAddressRequestModel?: MacAddressRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26336
+ // verify required parameter 'id' is not null or undefined
26337
+ assertParamExists('patchUpdateRmaItemMacAddress', 'id', id)
26338
+ // verify required parameter 'itemId' is not null or undefined
26339
+ assertParamExists('patchUpdateRmaItemMacAddress', 'itemId', itemId)
26340
+ const localVarPath = `/admin/rma/{id}/items/{item_id}/mac`
26341
+ .replace('{id}', encodeURIComponent(String(id)))
26342
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
26343
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26344
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26345
+ let baseOptions;
26346
+ if (configuration) {
26347
+ baseOptions = configuration.baseOptions;
26348
+ }
26349
+
26350
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26351
+ const localVarHeaderParameter = {} as any;
26352
+ const localVarQueryParameter = {} as any;
26353
+
26354
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26355
+
26356
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26357
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26358
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26359
+ localVarRequestOptions.data = serializeDataIfNeeded(macAddressRequestModel, localVarRequestOptions, configuration)
26360
+
26361
+ return {
26362
+ url: toPathString(localVarUrlObj),
26363
+ options: localVarRequestOptions,
26364
+ };
26365
+ },
26366
+ /**
26367
+ * Update RMA item note
26368
+ * @param {number} id
26369
+ * @param {number} itemId
26370
+ * @param {NoteRequestModel} [noteRequestModel] Update RMA item note request
26371
+ * @param {*} [options] Override http request option.
26372
+ * @throws {RequiredError}
26373
+ */
26374
+ patchUpdateRmaItemNote: async (id: number, itemId: number, noteRequestModel?: NoteRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26375
+ // verify required parameter 'id' is not null or undefined
26376
+ assertParamExists('patchUpdateRmaItemNote', 'id', id)
26377
+ // verify required parameter 'itemId' is not null or undefined
26378
+ assertParamExists('patchUpdateRmaItemNote', 'itemId', itemId)
26379
+ const localVarPath = `/admin/rma/{id}/items/{item_id}/note`
26380
+ .replace('{id}', encodeURIComponent(String(id)))
26381
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
26382
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26383
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26384
+ let baseOptions;
26385
+ if (configuration) {
26386
+ baseOptions = configuration.baseOptions;
26387
+ }
26388
+
26389
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26390
+ const localVarHeaderParameter = {} as any;
26391
+ const localVarQueryParameter = {} as any;
26392
+
26393
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26394
+
26395
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26396
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26397
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26398
+ localVarRequestOptions.data = serializeDataIfNeeded(noteRequestModel, localVarRequestOptions, configuration)
26399
+
26400
+ return {
26401
+ url: toPathString(localVarUrlObj),
26402
+ options: localVarRequestOptions,
26403
+ };
26404
+ },
26405
+ /**
26406
+ * Update RMA item serial number
26407
+ * @param {number} id
26408
+ * @param {number} itemId
26409
+ * @param {SerialNumberRequestModel} [serialNumberRequestModel] Update RMA item serial number request
26410
+ * @param {*} [options] Override http request option.
26411
+ * @throws {RequiredError}
26412
+ */
26413
+ patchUpdateRmaItemSerialNumber: async (id: number, itemId: number, serialNumberRequestModel?: SerialNumberRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26414
+ // verify required parameter 'id' is not null or undefined
26415
+ assertParamExists('patchUpdateRmaItemSerialNumber', 'id', id)
26416
+ // verify required parameter 'itemId' is not null or undefined
26417
+ assertParamExists('patchUpdateRmaItemSerialNumber', 'itemId', itemId)
26418
+ const localVarPath = `/admin/rma/{id}/items/{item_id}/serial`
26419
+ .replace('{id}', encodeURIComponent(String(id)))
26420
+ .replace('{item_id}', encodeURIComponent(String(itemId)));
26421
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26422
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26423
+ let baseOptions;
26424
+ if (configuration) {
26425
+ baseOptions = configuration.baseOptions;
26426
+ }
26427
+
26428
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26429
+ const localVarHeaderParameter = {} as any;
26430
+ const localVarQueryParameter = {} as any;
26431
+
26432
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26433
+
26434
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26435
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26436
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26437
+ localVarRequestOptions.data = serializeDataIfNeeded(serialNumberRequestModel, localVarRequestOptions, configuration)
26438
+
26439
+ return {
26440
+ url: toPathString(localVarUrlObj),
26441
+ options: localVarRequestOptions,
26442
+ };
26443
+ },
26444
+ /**
26445
+ * Update RMA reason
26446
+ * @param {number} id
26447
+ * @param {ReasonRequestModel} [reasonRequestModel] Update RMA Reason Request
26448
+ * @param {*} [options] Override http request option.
26449
+ * @throws {RequiredError}
26450
+ */
26451
+ patchUpdateRmaReason: async (id: number, reasonRequestModel?: ReasonRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26452
+ // verify required parameter 'id' is not null or undefined
26453
+ assertParamExists('patchUpdateRmaReason', 'id', id)
26454
+ const localVarPath = `/admin/rma/{id}/reason`
26455
+ .replace('{id}', encodeURIComponent(String(id)));
26456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26457
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26458
+ let baseOptions;
26459
+ if (configuration) {
26460
+ baseOptions = configuration.baseOptions;
26461
+ }
26462
+
26463
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26464
+ const localVarHeaderParameter = {} as any;
26465
+ const localVarQueryParameter = {} as any;
26466
+
26467
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26468
+
26469
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26470
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26471
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26472
+ localVarRequestOptions.data = serializeDataIfNeeded(reasonRequestModel, localVarRequestOptions, configuration)
26473
+
26474
+ return {
26475
+ url: toPathString(localVarUrlObj),
26476
+ options: localVarRequestOptions,
26477
+ };
26478
+ },
26479
+ /**
26480
+ * Update RMA resolution
26481
+ * @param {number} id
26482
+ * @param {ResolutionRequestModel} [resolutionRequestModel] Update RMA Resolution Request
26483
+ * @param {*} [options] Override http request option.
26484
+ * @throws {RequiredError}
26485
+ */
26486
+ patchUpdateRmaResolution: async (id: number, resolutionRequestModel?: ResolutionRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26487
+ // verify required parameter 'id' is not null or undefined
26488
+ assertParamExists('patchUpdateRmaResolution', 'id', id)
26489
+ const localVarPath = `/admin/rma/{id}/resolution`
26490
+ .replace('{id}', encodeURIComponent(String(id)));
26491
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26492
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26493
+ let baseOptions;
26494
+ if (configuration) {
26495
+ baseOptions = configuration.baseOptions;
26496
+ }
26497
+
26498
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26499
+ const localVarHeaderParameter = {} as any;
26500
+ const localVarQueryParameter = {} as any;
26501
+
26502
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26503
+
26504
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26505
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26506
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26507
+ localVarRequestOptions.data = serializeDataIfNeeded(resolutionRequestModel, localVarRequestOptions, configuration)
26508
+
26509
+ return {
26510
+ url: toPathString(localVarUrlObj),
26511
+ options: localVarRequestOptions,
26512
+ };
26513
+ },
26514
+ /**
26515
+ * Update RMA return address
26516
+ * @param {number} id
26517
+ * @param {AddressDTO} [addressDTO] Update RMA return address
26518
+ * @param {*} [options] Override http request option.
26519
+ * @throws {RequiredError}
26520
+ */
26521
+ patchUpdateRmaReturnAddress: async (id: number, addressDTO?: AddressDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26522
+ // verify required parameter 'id' is not null or undefined
26523
+ assertParamExists('patchUpdateRmaReturnAddress', 'id', id)
26524
+ const localVarPath = `/admin/rma/{id}/address`
26525
+ .replace('{id}', encodeURIComponent(String(id)));
26526
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26527
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26528
+ let baseOptions;
26529
+ if (configuration) {
26530
+ baseOptions = configuration.baseOptions;
26531
+ }
26532
+
26533
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
26534
+ const localVarHeaderParameter = {} as any;
26535
+ const localVarQueryParameter = {} as any;
26536
+
26537
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26538
+
26539
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26541
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26542
+ localVarRequestOptions.data = serializeDataIfNeeded(addressDTO, localVarRequestOptions, configuration)
26543
+
26544
+ return {
26545
+ url: toPathString(localVarUrlObj),
26546
+ options: localVarRequestOptions,
26547
+ };
26548
+ },
26549
+ /**
26550
+ * Create a replacement order for an RMA
26551
+ * @param {number} id
26552
+ * @param {RmaReplacementOrderRequestDTO} [rmaReplacementOrderRequestDTO] RMA Replacement Order Request
26553
+ * @param {*} [options] Override http request option.
26554
+ * @throws {RequiredError}
26555
+ */
26556
+ postCreateReplacementOrder: async (id: number, rmaReplacementOrderRequestDTO?: RmaReplacementOrderRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26557
+ // verify required parameter 'id' is not null or undefined
26558
+ assertParamExists('postCreateReplacementOrder', 'id', id)
26559
+ const localVarPath = `/admin/rma/{id}/replacement_order`
26560
+ .replace('{id}', encodeURIComponent(String(id)));
26561
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26562
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26563
+ let baseOptions;
26564
+ if (configuration) {
26565
+ baseOptions = configuration.baseOptions;
26566
+ }
26567
+
26568
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26569
+ const localVarHeaderParameter = {} as any;
26570
+ const localVarQueryParameter = {} as any;
26571
+
26572
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26573
+ localVarHeaderParameter['Accept'] = 'application/json';
26574
+
26575
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26576
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26577
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26578
+ localVarRequestOptions.data = serializeDataIfNeeded(rmaReplacementOrderRequestDTO, localVarRequestOptions, configuration)
26579
+
26580
+ return {
26581
+ url: toPathString(localVarUrlObj),
26582
+ options: localVarRequestOptions,
26583
+ };
26584
+ },
26585
+ /**
26586
+ * Create an RMA
26587
+ * @param {RmaRequestDTO} [rmaRequestDTO] RMA Request
26588
+ * @param {*} [options] Override http request option.
26589
+ * @throws {RequiredError}
26590
+ */
26591
+ postCreateRma: async (rmaRequestDTO?: RmaRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26592
+ const localVarPath = `/rma`;
26593
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26594
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26595
+ let baseOptions;
26596
+ if (configuration) {
26597
+ baseOptions = configuration.baseOptions;
26598
+ }
26599
+
26600
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26601
+ const localVarHeaderParameter = {} as any;
26602
+ const localVarQueryParameter = {} as any;
26603
+
26604
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26605
+ localVarHeaderParameter['Accept'] = 'application/json';
26606
+
26607
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26608
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26609
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26610
+ localVarRequestOptions.data = serializeDataIfNeeded(rmaRequestDTO, localVarRequestOptions, configuration)
26611
+
26612
+ return {
26613
+ url: toPathString(localVarUrlObj),
26614
+ options: localVarRequestOptions,
26615
+ };
26616
+ },
26617
+ /**
26618
+ * Create a collection for an RMA
26619
+ * @param {number} id
26620
+ * @param {RmaCollectionDTO} [rmaCollectionDTO] RMA Collection Request
26621
+ * @param {*} [options] Override http request option.
26622
+ * @throws {RequiredError}
26623
+ */
26624
+ postCreateRmaCollection: async (id: number, rmaCollectionDTO?: RmaCollectionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26625
+ // verify required parameter 'id' is not null or undefined
26626
+ assertParamExists('postCreateRmaCollection', 'id', id)
26627
+ const localVarPath = `/admin/rma/{id}/collection`
26628
+ .replace('{id}', encodeURIComponent(String(id)));
26629
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26630
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26631
+ let baseOptions;
26632
+ if (configuration) {
26633
+ baseOptions = configuration.baseOptions;
26634
+ }
26635
+
26636
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26637
+ const localVarHeaderParameter = {} as any;
26638
+ const localVarQueryParameter = {} as any;
26639
+
26640
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26641
+ localVarHeaderParameter['Accept'] = 'application/json';
26642
+
26643
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26644
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26645
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26646
+ localVarRequestOptions.data = serializeDataIfNeeded(rmaCollectionDTO, localVarRequestOptions, configuration)
26647
+
26648
+ return {
26649
+ url: toPathString(localVarUrlObj),
26650
+ options: localVarRequestOptions,
26651
+ };
26652
+ },
26653
+ /**
26654
+ * Create a credit note for an RMA
26655
+ * @param {number} id
26656
+ * @param {Array<RmaCreditItemRequestDTO>} [rmaCreditItemRequestDTO] RMA Items to be credited
26657
+ * @param {*} [options] Override http request option.
26658
+ * @throws {RequiredError}
26659
+ */
26660
+ postCreateRmaCreditNote: async (id: number, rmaCreditItemRequestDTO?: Array<RmaCreditItemRequestDTO>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26661
+ // verify required parameter 'id' is not null or undefined
26662
+ assertParamExists('postCreateRmaCreditNote', 'id', id)
26663
+ const localVarPath = `/admin/rma/{id}/credit`
26664
+ .replace('{id}', encodeURIComponent(String(id)));
26665
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26666
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26667
+ let baseOptions;
26668
+ if (configuration) {
26669
+ baseOptions = configuration.baseOptions;
26670
+ }
26671
+
26672
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26673
+ const localVarHeaderParameter = {} as any;
26674
+ const localVarQueryParameter = {} as any;
26675
+
26676
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26677
+ localVarHeaderParameter['Accept'] = 'application/json';
26678
+
26679
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26680
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26681
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26682
+ localVarRequestOptions.data = serializeDataIfNeeded(rmaCreditItemRequestDTO, localVarRequestOptions, configuration)
26683
+
26684
+ return {
26685
+ url: toPathString(localVarUrlObj),
26686
+ options: localVarRequestOptions,
26687
+ };
26688
+ },
26689
+ /**
26690
+ * Create an RMA note
26691
+ * @param {number} id
26692
+ * @param {NoteRequestModel} [noteRequestModel] RMA Note Request
26693
+ * @param {*} [options] Override http request option.
26694
+ * @throws {RequiredError}
26695
+ */
26696
+ postCreateRmaNote: async (id: number, noteRequestModel?: NoteRequestModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26697
+ // verify required parameter 'id' is not null or undefined
26698
+ assertParamExists('postCreateRmaNote', 'id', id)
26699
+ const localVarPath = `/admin/rma/{id}/notes`
26700
+ .replace('{id}', encodeURIComponent(String(id)));
26701
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26702
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26703
+ let baseOptions;
26704
+ if (configuration) {
26705
+ baseOptions = configuration.baseOptions;
26706
+ }
26707
+
26708
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26709
+ const localVarHeaderParameter = {} as any;
26710
+ const localVarQueryParameter = {} as any;
26711
+
26712
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26713
+
26714
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26715
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26716
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26717
+ localVarRequestOptions.data = serializeDataIfNeeded(noteRequestModel, localVarRequestOptions, configuration)
26718
+
26719
+ return {
26720
+ url: toPathString(localVarUrlObj),
26721
+ options: localVarRequestOptions,
26722
+ };
26723
+ },
26724
+ /**
26725
+ * Create a collection for an RMA
26726
+ * @param {number} id
26727
+ * @param {RmaReturnDTO} [rmaReturnDTO] RMA Return Request
26728
+ * @param {*} [options] Override http request option.
26729
+ * @throws {RequiredError}
26730
+ */
26731
+ postCreateRmaReturn: async (id: number, rmaReturnDTO?: RmaReturnDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26732
+ // verify required parameter 'id' is not null or undefined
26733
+ assertParamExists('postCreateRmaReturn', 'id', id)
26734
+ const localVarPath = `/admin/rma/{id}/return`
26735
+ .replace('{id}', encodeURIComponent(String(id)));
26736
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26737
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
26738
+ let baseOptions;
26739
+ if (configuration) {
26740
+ baseOptions = configuration.baseOptions;
26741
+ }
26742
+
26743
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
26744
+ const localVarHeaderParameter = {} as any;
26745
+ const localVarQueryParameter = {} as any;
26746
+
26747
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26748
+ localVarHeaderParameter['Accept'] = 'application/json';
26749
+
26750
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
26751
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26752
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
26753
+ localVarRequestOptions.data = serializeDataIfNeeded(rmaReturnDTO, localVarRequestOptions, configuration)
26754
+
26755
+ return {
26756
+ url: toPathString(localVarUrlObj),
26757
+ options: localVarRequestOptions,
26758
+ };
26759
+ },
26760
+ }
26761
+ };
26762
+
26763
+ /**
26764
+ * RMAApi - functional programming interface
26765
+ */
26766
+ export const RMAApiFp = function(configuration?: Configuration) {
26767
+ const localVarAxiosParamCreator = RMAApiAxiosParamCreator(configuration)
26768
+ return {
26769
+ /**
26770
+ * Delete an RMA item
26771
+ * @param {number} id
26772
+ * @param {number} itemId
26773
+ * @param {*} [options] Override http request option.
26774
+ * @throws {RequiredError}
26775
+ */
26776
+ async deleteDeleteRmaItem(id: number, itemId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26777
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteDeleteRmaItem(id, itemId, options);
26778
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26779
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.deleteDeleteRmaItem']?.[localVarOperationServerIndex]?.url;
26780
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26781
+ },
26782
+ /**
26783
+ * Delete an RMA
26784
+ * @param {number} id
26785
+ * @param {*} [options] Override http request option.
26786
+ * @throws {RequiredError}
26787
+ */
26788
+ async deleteGetAdminRma(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteGetAdminRma(id, options);
26790
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26791
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.deleteGetAdminRma']?.[localVarOperationServerIndex]?.url;
26792
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26793
+ },
26794
+ /**
26795
+ * Get Customer RMAs
26796
+ * @param {number} [pageSize] Number Of Results
26797
+ * @param {number} [page] Page Number
26798
+ * @param {string} [search] Search
26799
+ * @param {*} [options] Override http request option.
26800
+ * @throws {RequiredError}
26801
+ */
26802
+ async getCreateRma(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomerRmasModel>> {
26803
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCreateRma(pageSize, page, search, options);
26804
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26805
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.getCreateRma']?.[localVarOperationServerIndex]?.url;
26806
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26807
+ },
26808
+ /**
26809
+ * Get Admin RMA by ID
26810
+ * @param {number} id
26811
+ * @param {*} [options] Override http request option.
26812
+ * @throws {RequiredError}
26813
+ */
26814
+ async getGetAdminRma(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaDTO>> {
26815
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminRma(id, options);
26816
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26817
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.getGetAdminRma']?.[localVarOperationServerIndex]?.url;
26818
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26819
+ },
26820
+ /**
26821
+ * Get Admin RMAs
26822
+ * @param {number} [pageSize] Number Of Results
26823
+ * @param {number} [page] Page Number
26824
+ * @param {string} [search] Search
26825
+ * @param {*} [options] Override http request option.
26826
+ * @throws {RequiredError}
26827
+ */
26828
+ async getGetAdminRmas(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminCustomerRmasModel>> {
26829
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetAdminRmas(pageSize, page, search, options);
26830
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26831
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.getGetAdminRmas']?.[localVarOperationServerIndex]?.url;
26832
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26833
+ },
26834
+ /**
26835
+ * Get RMA by ID
26836
+ * @param {number} id RMA ID
26837
+ * @param {*} [options] Override http request option.
26838
+ * @throws {RequiredError}
26839
+ */
26840
+ async getGetRma(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RmaDTO>> {
26841
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetRma(id, options);
26842
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26843
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.getGetRma']?.[localVarOperationServerIndex]?.url;
26844
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26845
+ },
26846
+ /**
26847
+ * Approve an RMA
26848
+ * @param {number} id
26849
+ * @param {*} [options] Override http request option.
26850
+ * @throws {RequiredError}
26851
+ */
26852
+ async patchApproveRma(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26853
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchApproveRma(id, options);
26854
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26855
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchApproveRma']?.[localVarOperationServerIndex]?.url;
26856
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26857
+ },
26858
+ /**
26859
+ * Mark RMA item as binned
26860
+ * @param {number} id
26861
+ * @param {number} itemId
26862
+ * @param {*} [options] Override http request option.
26863
+ * @throws {RequiredError}
26864
+ */
26865
+ async patchMarkRmaItemAsBinned(id: number, itemId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchMarkRmaItemAsBinned(id, itemId, options);
26867
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26868
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchMarkRmaItemAsBinned']?.[localVarOperationServerIndex]?.url;
26869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26870
+ },
26871
+ /**
26872
+ * Mark RMA item as received
26873
+ * @param {number} id
26874
+ * @param {number} itemId
26875
+ * @param {*} [options] Override http request option.
26876
+ * @throws {RequiredError}
26877
+ */
26878
+ async patchMarkRmaItemAsReceived(id: number, itemId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26879
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchMarkRmaItemAsReceived(id, itemId, options);
26880
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26881
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchMarkRmaItemAsReceived']?.[localVarOperationServerIndex]?.url;
26882
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26883
+ },
26884
+ /**
26885
+ * Mark RMA item as unresolved
26886
+ * @param {number} id
26887
+ * @param {number} itemId
26888
+ * @param {*} [options] Override http request option.
26889
+ * @throws {RequiredError}
26890
+ */
26891
+ async patchMarkRmaItemAsUnresolved(id: number, itemId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchMarkRmaItemAsUnresolved(id, itemId, options);
26893
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26894
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchMarkRmaItemAsUnresolved']?.[localVarOperationServerIndex]?.url;
26895
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26896
+ },
26897
+ /**
26898
+ * Reject an RMA
26899
+ * @param {number} id
26900
+ * @param {NoteRequestModel} [noteRequestModel] RMA Rejection Request
26901
+ * @param {*} [options] Override http request option.
26902
+ * @throws {RequiredError}
26903
+ */
26904
+ async patchRejectRma(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26905
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchRejectRma(id, noteRequestModel, options);
26906
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26907
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchRejectRma']?.[localVarOperationServerIndex]?.url;
26908
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26909
+ },
26910
+ /**
26911
+ * Resolve an RMA
26912
+ * @param {number} id
26913
+ * @param {*} [options] Override http request option.
26914
+ * @throws {RequiredError}
26915
+ */
26916
+ async patchResolveRma(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26917
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchResolveRma(id, options);
26918
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26919
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchResolveRma']?.[localVarOperationServerIndex]?.url;
26920
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26921
+ },
26922
+ /**
26923
+ * Update contact name for an rma
26924
+ * @param {number} id
26925
+ * @param {EmailRequestModel} [emailRequestModel] Email Request
26926
+ * @param {*} [options] Override http request option.
26927
+ * @throws {RequiredError}
26928
+ */
26929
+ async patchUpdateRmaContactEmail(id: number, emailRequestModel?: EmailRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26930
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaContactEmail(id, emailRequestModel, options);
26931
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26932
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaContactEmail']?.[localVarOperationServerIndex]?.url;
26933
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26934
+ },
26935
+ /**
26936
+ * Update contact name for an rma
26937
+ * @param {number} id
26938
+ * @param {NameRequestModel} [nameRequestModel] Name Request
26939
+ * @param {*} [options] Override http request option.
26940
+ * @throws {RequiredError}
26941
+ */
26942
+ async patchUpdateRmaContactName(id: number, nameRequestModel?: NameRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26943
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaContactName(id, nameRequestModel, options);
26944
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26945
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaContactName']?.[localVarOperationServerIndex]?.url;
26946
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26947
+ },
26948
+ /**
26949
+ * Update RMA item MAC address
26950
+ * @param {number} id
26951
+ * @param {number} itemId
26952
+ * @param {MacAddressRequestModel} [macAddressRequestModel] Update RMA item MAC address request
26953
+ * @param {*} [options] Override http request option.
26954
+ * @throws {RequiredError}
26955
+ */
26956
+ async patchUpdateRmaItemMacAddress(id: number, itemId: number, macAddressRequestModel?: MacAddressRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaItemMacAddress(id, itemId, macAddressRequestModel, options);
26958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26959
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaItemMacAddress']?.[localVarOperationServerIndex]?.url;
26960
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26961
+ },
26962
+ /**
26963
+ * Update RMA item note
26964
+ * @param {number} id
26965
+ * @param {number} itemId
26966
+ * @param {NoteRequestModel} [noteRequestModel] Update RMA item note request
26967
+ * @param {*} [options] Override http request option.
26968
+ * @throws {RequiredError}
26969
+ */
26970
+ async patchUpdateRmaItemNote(id: number, itemId: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26971
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaItemNote(id, itemId, noteRequestModel, options);
26972
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26973
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaItemNote']?.[localVarOperationServerIndex]?.url;
26974
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26975
+ },
26976
+ /**
26977
+ * Update RMA item serial number
26978
+ * @param {number} id
26979
+ * @param {number} itemId
26980
+ * @param {SerialNumberRequestModel} [serialNumberRequestModel] Update RMA item serial number request
26981
+ * @param {*} [options] Override http request option.
26982
+ * @throws {RequiredError}
26983
+ */
26984
+ async patchUpdateRmaItemSerialNumber(id: number, itemId: number, serialNumberRequestModel?: SerialNumberRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26985
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaItemSerialNumber(id, itemId, serialNumberRequestModel, options);
26986
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26987
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaItemSerialNumber']?.[localVarOperationServerIndex]?.url;
26988
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26989
+ },
26990
+ /**
26991
+ * Update RMA reason
26992
+ * @param {number} id
26993
+ * @param {ReasonRequestModel} [reasonRequestModel] Update RMA Reason Request
26994
+ * @param {*} [options] Override http request option.
26995
+ * @throws {RequiredError}
26996
+ */
26997
+ async patchUpdateRmaReason(id: number, reasonRequestModel?: ReasonRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
26998
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaReason(id, reasonRequestModel, options);
26999
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27000
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaReason']?.[localVarOperationServerIndex]?.url;
27001
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27002
+ },
27003
+ /**
27004
+ * Update RMA resolution
27005
+ * @param {number} id
27006
+ * @param {ResolutionRequestModel} [resolutionRequestModel] Update RMA Resolution Request
27007
+ * @param {*} [options] Override http request option.
27008
+ * @throws {RequiredError}
27009
+ */
27010
+ async patchUpdateRmaResolution(id: number, resolutionRequestModel?: ResolutionRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27011
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaResolution(id, resolutionRequestModel, options);
27012
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27013
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaResolution']?.[localVarOperationServerIndex]?.url;
27014
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27015
+ },
27016
+ /**
27017
+ * Update RMA return address
27018
+ * @param {number} id
27019
+ * @param {AddressDTO} [addressDTO] Update RMA return address
27020
+ * @param {*} [options] Override http request option.
27021
+ * @throws {RequiredError}
27022
+ */
27023
+ async patchUpdateRmaReturnAddress(id: number, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27024
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchUpdateRmaReturnAddress(id, addressDTO, options);
27025
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27026
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.patchUpdateRmaReturnAddress']?.[localVarOperationServerIndex]?.url;
27027
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27028
+ },
27029
+ /**
27030
+ * Create a replacement order for an RMA
27031
+ * @param {number} id
27032
+ * @param {RmaReplacementOrderRequestDTO} [rmaReplacementOrderRequestDTO] RMA Replacement Order Request
27033
+ * @param {*} [options] Override http request option.
27034
+ * @throws {RequiredError}
27035
+ */
27036
+ async postCreateReplacementOrder(id: number, rmaReplacementOrderRequestDTO?: RmaReplacementOrderRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaDTO>> {
27037
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateReplacementOrder(id, rmaReplacementOrderRequestDTO, options);
27038
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27039
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateReplacementOrder']?.[localVarOperationServerIndex]?.url;
27040
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27041
+ },
27042
+ /**
27043
+ * Create an RMA
27044
+ * @param {RmaRequestDTO} [rmaRequestDTO] RMA Request
27045
+ * @param {*} [options] Override http request option.
27046
+ * @throws {RequiredError}
27047
+ */
27048
+ async postCreateRma(rmaRequestDTO?: RmaRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RmaDTO>> {
27049
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateRma(rmaRequestDTO, options);
27050
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27051
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateRma']?.[localVarOperationServerIndex]?.url;
27052
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27053
+ },
27054
+ /**
27055
+ * Create a collection for an RMA
27056
+ * @param {number} id
27057
+ * @param {RmaCollectionDTO} [rmaCollectionDTO] RMA Collection Request
27058
+ * @param {*} [options] Override http request option.
27059
+ * @throws {RequiredError}
27060
+ */
27061
+ async postCreateRmaCollection(id: number, rmaCollectionDTO?: RmaCollectionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaDTO>> {
27062
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateRmaCollection(id, rmaCollectionDTO, options);
27063
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27064
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateRmaCollection']?.[localVarOperationServerIndex]?.url;
27065
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27066
+ },
27067
+ /**
27068
+ * Create a credit note for an RMA
27069
+ * @param {number} id
27070
+ * @param {Array<RmaCreditItemRequestDTO>} [rmaCreditItemRequestDTO] RMA Items to be credited
27071
+ * @param {*} [options] Override http request option.
27072
+ * @throws {RequiredError}
27073
+ */
27074
+ async postCreateRmaCreditNote(id: number, rmaCreditItemRequestDTO?: Array<RmaCreditItemRequestDTO>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaDTO>> {
27075
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateRmaCreditNote(id, rmaCreditItemRequestDTO, options);
27076
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27077
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateRmaCreditNote']?.[localVarOperationServerIndex]?.url;
27078
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27079
+ },
27080
+ /**
27081
+ * Create an RMA note
27082
+ * @param {number} id
27083
+ * @param {NoteRequestModel} [noteRequestModel] RMA Note Request
27084
+ * @param {*} [options] Override http request option.
27085
+ * @throws {RequiredError}
27086
+ */
27087
+ async postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
27088
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateRmaNote(id, noteRequestModel, options);
27089
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27090
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateRmaNote']?.[localVarOperationServerIndex]?.url;
27091
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27092
+ },
27093
+ /**
27094
+ * Create a collection for an RMA
27095
+ * @param {number} id
27096
+ * @param {RmaReturnDTO} [rmaReturnDTO] RMA Return Request
27097
+ * @param {*} [options] Override http request option.
27098
+ * @throws {RequiredError}
27099
+ */
27100
+ async postCreateRmaReturn(id: number, rmaReturnDTO?: RmaReturnDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminRmaDTO>> {
27101
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateRmaReturn(id, rmaReturnDTO, options);
27102
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27103
+ const localVarOperationServerBasePath = operationServerMap['RMAApi.postCreateRmaReturn']?.[localVarOperationServerIndex]?.url;
27104
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27105
+ },
27106
+ }
27107
+ };
27108
+
27109
+ /**
27110
+ * RMAApi - factory interface
27111
+ */
27112
+ export const RMAApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
27113
+ const localVarFp = RMAApiFp(configuration)
27114
+ return {
27115
+ /**
27116
+ * Delete an RMA item
27117
+ * @param {number} id
27118
+ * @param {number} itemId
27119
+ * @param {*} [options] Override http request option.
27120
+ * @throws {RequiredError}
27121
+ */
27122
+ deleteDeleteRmaItem(id: number, itemId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27123
+ return localVarFp.deleteDeleteRmaItem(id, itemId, options).then((request) => request(axios, basePath));
27124
+ },
27125
+ /**
27126
+ * Delete an RMA
27127
+ * @param {number} id
27128
+ * @param {*} [options] Override http request option.
27129
+ * @throws {RequiredError}
27130
+ */
27131
+ deleteGetAdminRma(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27132
+ return localVarFp.deleteGetAdminRma(id, options).then((request) => request(axios, basePath));
27133
+ },
27134
+ /**
27135
+ * Get Customer RMAs
27136
+ * @param {number} [pageSize] Number Of Results
27137
+ * @param {number} [page] Page Number
27138
+ * @param {string} [search] Search
27139
+ * @param {*} [options] Override http request option.
27140
+ * @throws {RequiredError}
27141
+ */
27142
+ getCreateRma(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<CustomerRmasModel> {
27143
+ return localVarFp.getCreateRma(pageSize, page, search, options).then((request) => request(axios, basePath));
27144
+ },
27145
+ /**
27146
+ * Get Admin RMA by ID
27147
+ * @param {number} id
27148
+ * @param {*} [options] Override http request option.
27149
+ * @throws {RequiredError}
27150
+ */
27151
+ getGetAdminRma(id: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaDTO> {
27152
+ return localVarFp.getGetAdminRma(id, options).then((request) => request(axios, basePath));
27153
+ },
27154
+ /**
27155
+ * Get Admin RMAs
27156
+ * @param {number} [pageSize] Number Of Results
27157
+ * @param {number} [page] Page Number
27158
+ * @param {string} [search] Search
27159
+ * @param {*} [options] Override http request option.
27160
+ * @throws {RequiredError}
27161
+ */
27162
+ getGetAdminRmas(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminCustomerRmasModel> {
27163
+ return localVarFp.getGetAdminRmas(pageSize, page, search, options).then((request) => request(axios, basePath));
27164
+ },
27165
+ /**
27166
+ * Get RMA by ID
27167
+ * @param {number} id RMA ID
27168
+ * @param {*} [options] Override http request option.
27169
+ * @throws {RequiredError}
27170
+ */
27171
+ getGetRma(id: number, options?: RawAxiosRequestConfig): AxiosPromise<RmaDTO> {
27172
+ return localVarFp.getGetRma(id, options).then((request) => request(axios, basePath));
27173
+ },
27174
+ /**
27175
+ * Approve an RMA
27176
+ * @param {number} id
27177
+ * @param {*} [options] Override http request option.
27178
+ * @throws {RequiredError}
27179
+ */
27180
+ patchApproveRma(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27181
+ return localVarFp.patchApproveRma(id, options).then((request) => request(axios, basePath));
27182
+ },
27183
+ /**
27184
+ * Mark RMA item as binned
27185
+ * @param {number} id
27186
+ * @param {number} itemId
27187
+ * @param {*} [options] Override http request option.
27188
+ * @throws {RequiredError}
27189
+ */
27190
+ patchMarkRmaItemAsBinned(id: number, itemId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27191
+ return localVarFp.patchMarkRmaItemAsBinned(id, itemId, options).then((request) => request(axios, basePath));
27192
+ },
27193
+ /**
27194
+ * Mark RMA item as received
27195
+ * @param {number} id
27196
+ * @param {number} itemId
27197
+ * @param {*} [options] Override http request option.
27198
+ * @throws {RequiredError}
27199
+ */
27200
+ patchMarkRmaItemAsReceived(id: number, itemId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27201
+ return localVarFp.patchMarkRmaItemAsReceived(id, itemId, options).then((request) => request(axios, basePath));
27202
+ },
27203
+ /**
27204
+ * Mark RMA item as unresolved
27205
+ * @param {number} id
27206
+ * @param {number} itemId
27207
+ * @param {*} [options] Override http request option.
27208
+ * @throws {RequiredError}
27209
+ */
27210
+ patchMarkRmaItemAsUnresolved(id: number, itemId: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27211
+ return localVarFp.patchMarkRmaItemAsUnresolved(id, itemId, options).then((request) => request(axios, basePath));
27212
+ },
27213
+ /**
27214
+ * Reject an RMA
27215
+ * @param {number} id
27216
+ * @param {NoteRequestModel} [noteRequestModel] RMA Rejection Request
27217
+ * @param {*} [options] Override http request option.
27218
+ * @throws {RequiredError}
27219
+ */
27220
+ patchRejectRma(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27221
+ return localVarFp.patchRejectRma(id, noteRequestModel, options).then((request) => request(axios, basePath));
27222
+ },
27223
+ /**
27224
+ * Resolve an RMA
27225
+ * @param {number} id
27226
+ * @param {*} [options] Override http request option.
27227
+ * @throws {RequiredError}
27228
+ */
27229
+ patchResolveRma(id: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27230
+ return localVarFp.patchResolveRma(id, options).then((request) => request(axios, basePath));
27231
+ },
27232
+ /**
27233
+ * Update contact name for an rma
27234
+ * @param {number} id
27235
+ * @param {EmailRequestModel} [emailRequestModel] Email Request
27236
+ * @param {*} [options] Override http request option.
27237
+ * @throws {RequiredError}
27238
+ */
27239
+ patchUpdateRmaContactEmail(id: number, emailRequestModel?: EmailRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27240
+ return localVarFp.patchUpdateRmaContactEmail(id, emailRequestModel, options).then((request) => request(axios, basePath));
27241
+ },
27242
+ /**
27243
+ * Update contact name for an rma
27244
+ * @param {number} id
27245
+ * @param {NameRequestModel} [nameRequestModel] Name Request
27246
+ * @param {*} [options] Override http request option.
27247
+ * @throws {RequiredError}
27248
+ */
27249
+ patchUpdateRmaContactName(id: number, nameRequestModel?: NameRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27250
+ return localVarFp.patchUpdateRmaContactName(id, nameRequestModel, options).then((request) => request(axios, basePath));
27251
+ },
27252
+ /**
27253
+ * Update RMA item MAC address
27254
+ * @param {number} id
27255
+ * @param {number} itemId
27256
+ * @param {MacAddressRequestModel} [macAddressRequestModel] Update RMA item MAC address request
27257
+ * @param {*} [options] Override http request option.
27258
+ * @throws {RequiredError}
27259
+ */
27260
+ patchUpdateRmaItemMacAddress(id: number, itemId: number, macAddressRequestModel?: MacAddressRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27261
+ return localVarFp.patchUpdateRmaItemMacAddress(id, itemId, macAddressRequestModel, options).then((request) => request(axios, basePath));
27262
+ },
27263
+ /**
27264
+ * Update RMA item note
27265
+ * @param {number} id
27266
+ * @param {number} itemId
27267
+ * @param {NoteRequestModel} [noteRequestModel] Update RMA item note request
27268
+ * @param {*} [options] Override http request option.
27269
+ * @throws {RequiredError}
27270
+ */
27271
+ patchUpdateRmaItemNote(id: number, itemId: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27272
+ return localVarFp.patchUpdateRmaItemNote(id, itemId, noteRequestModel, options).then((request) => request(axios, basePath));
27273
+ },
27274
+ /**
27275
+ * Update RMA item serial number
27276
+ * @param {number} id
27277
+ * @param {number} itemId
27278
+ * @param {SerialNumberRequestModel} [serialNumberRequestModel] Update RMA item serial number request
27279
+ * @param {*} [options] Override http request option.
27280
+ * @throws {RequiredError}
27281
+ */
27282
+ patchUpdateRmaItemSerialNumber(id: number, itemId: number, serialNumberRequestModel?: SerialNumberRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27283
+ return localVarFp.patchUpdateRmaItemSerialNumber(id, itemId, serialNumberRequestModel, options).then((request) => request(axios, basePath));
27284
+ },
27285
+ /**
27286
+ * Update RMA reason
27287
+ * @param {number} id
27288
+ * @param {ReasonRequestModel} [reasonRequestModel] Update RMA Reason Request
27289
+ * @param {*} [options] Override http request option.
27290
+ * @throws {RequiredError}
27291
+ */
27292
+ patchUpdateRmaReason(id: number, reasonRequestModel?: ReasonRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27293
+ return localVarFp.patchUpdateRmaReason(id, reasonRequestModel, options).then((request) => request(axios, basePath));
27294
+ },
27295
+ /**
27296
+ * Update RMA resolution
27297
+ * @param {number} id
27298
+ * @param {ResolutionRequestModel} [resolutionRequestModel] Update RMA Resolution Request
27299
+ * @param {*} [options] Override http request option.
27300
+ * @throws {RequiredError}
27301
+ */
27302
+ patchUpdateRmaResolution(id: number, resolutionRequestModel?: ResolutionRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27303
+ return localVarFp.patchUpdateRmaResolution(id, resolutionRequestModel, options).then((request) => request(axios, basePath));
27304
+ },
27305
+ /**
27306
+ * Update RMA return address
27307
+ * @param {number} id
27308
+ * @param {AddressDTO} [addressDTO] Update RMA return address
27309
+ * @param {*} [options] Override http request option.
27310
+ * @throws {RequiredError}
27311
+ */
27312
+ patchUpdateRmaReturnAddress(id: number, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27313
+ return localVarFp.patchUpdateRmaReturnAddress(id, addressDTO, options).then((request) => request(axios, basePath));
27314
+ },
27315
+ /**
27316
+ * Create a replacement order for an RMA
27317
+ * @param {number} id
27318
+ * @param {RmaReplacementOrderRequestDTO} [rmaReplacementOrderRequestDTO] RMA Replacement Order Request
27319
+ * @param {*} [options] Override http request option.
27320
+ * @throws {RequiredError}
27321
+ */
27322
+ postCreateReplacementOrder(id: number, rmaReplacementOrderRequestDTO?: RmaReplacementOrderRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaDTO> {
27323
+ return localVarFp.postCreateReplacementOrder(id, rmaReplacementOrderRequestDTO, options).then((request) => request(axios, basePath));
27324
+ },
27325
+ /**
27326
+ * Create an RMA
27327
+ * @param {RmaRequestDTO} [rmaRequestDTO] RMA Request
27328
+ * @param {*} [options] Override http request option.
27329
+ * @throws {RequiredError}
27330
+ */
27331
+ postCreateRma(rmaRequestDTO?: RmaRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<RmaDTO> {
27332
+ return localVarFp.postCreateRma(rmaRequestDTO, options).then((request) => request(axios, basePath));
27333
+ },
27334
+ /**
27335
+ * Create a collection for an RMA
27336
+ * @param {number} id
27337
+ * @param {RmaCollectionDTO} [rmaCollectionDTO] RMA Collection Request
27338
+ * @param {*} [options] Override http request option.
27339
+ * @throws {RequiredError}
27340
+ */
27341
+ postCreateRmaCollection(id: number, rmaCollectionDTO?: RmaCollectionDTO, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaDTO> {
27342
+ return localVarFp.postCreateRmaCollection(id, rmaCollectionDTO, options).then((request) => request(axios, basePath));
27343
+ },
27344
+ /**
27345
+ * Create a credit note for an RMA
27346
+ * @param {number} id
27347
+ * @param {Array<RmaCreditItemRequestDTO>} [rmaCreditItemRequestDTO] RMA Items to be credited
27348
+ * @param {*} [options] Override http request option.
27349
+ * @throws {RequiredError}
27350
+ */
27351
+ postCreateRmaCreditNote(id: number, rmaCreditItemRequestDTO?: Array<RmaCreditItemRequestDTO>, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaDTO> {
27352
+ return localVarFp.postCreateRmaCreditNote(id, rmaCreditItemRequestDTO, options).then((request) => request(axios, basePath));
27353
+ },
27354
+ /**
27355
+ * Create an RMA note
27356
+ * @param {number} id
27357
+ * @param {NoteRequestModel} [noteRequestModel] RMA Note Request
27358
+ * @param {*} [options] Override http request option.
27359
+ * @throws {RequiredError}
27360
+ */
27361
+ postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig): AxiosPromise<void> {
27362
+ return localVarFp.postCreateRmaNote(id, noteRequestModel, options).then((request) => request(axios, basePath));
27363
+ },
27364
+ /**
27365
+ * Create a collection for an RMA
27366
+ * @param {number} id
27367
+ * @param {RmaReturnDTO} [rmaReturnDTO] RMA Return Request
27368
+ * @param {*} [options] Override http request option.
27369
+ * @throws {RequiredError}
27370
+ */
27371
+ postCreateRmaReturn(id: number, rmaReturnDTO?: RmaReturnDTO, options?: RawAxiosRequestConfig): AxiosPromise<AdminRmaDTO> {
27372
+ return localVarFp.postCreateRmaReturn(id, rmaReturnDTO, options).then((request) => request(axios, basePath));
27373
+ },
27374
+ };
27375
+ };
27376
+
27377
+ /**
27378
+ * RMAApi - object-oriented interface
27379
+ */
27380
+ export class RMAApi extends BaseAPI {
27381
+ /**
27382
+ * Delete an RMA item
27383
+ * @param {number} id
27384
+ * @param {number} itemId
27385
+ * @param {*} [options] Override http request option.
27386
+ * @throws {RequiredError}
27387
+ */
27388
+ public deleteDeleteRmaItem(id: number, itemId: number, options?: RawAxiosRequestConfig) {
27389
+ return RMAApiFp(this.configuration).deleteDeleteRmaItem(id, itemId, options).then((request) => request(this.axios, this.basePath));
27390
+ }
27391
+
27392
+ /**
27393
+ * Delete an RMA
27394
+ * @param {number} id
27395
+ * @param {*} [options] Override http request option.
27396
+ * @throws {RequiredError}
27397
+ */
27398
+ public deleteGetAdminRma(id: number, options?: RawAxiosRequestConfig) {
27399
+ return RMAApiFp(this.configuration).deleteGetAdminRma(id, options).then((request) => request(this.axios, this.basePath));
27400
+ }
27401
+
27402
+ /**
27403
+ * Get Customer RMAs
27404
+ * @param {number} [pageSize] Number Of Results
27405
+ * @param {number} [page] Page Number
27406
+ * @param {string} [search] Search
27407
+ * @param {*} [options] Override http request option.
27408
+ * @throws {RequiredError}
27409
+ */
27410
+ public getCreateRma(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
27411
+ return RMAApiFp(this.configuration).getCreateRma(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
27412
+ }
27413
+
27414
+ /**
27415
+ * Get Admin RMA by ID
27416
+ * @param {number} id
27417
+ * @param {*} [options] Override http request option.
27418
+ * @throws {RequiredError}
27419
+ */
27420
+ public getGetAdminRma(id: number, options?: RawAxiosRequestConfig) {
27421
+ return RMAApiFp(this.configuration).getGetAdminRma(id, options).then((request) => request(this.axios, this.basePath));
27422
+ }
27423
+
27424
+ /**
27425
+ * Get Admin RMAs
27426
+ * @param {number} [pageSize] Number Of Results
27427
+ * @param {number} [page] Page Number
27428
+ * @param {string} [search] Search
27429
+ * @param {*} [options] Override http request option.
27430
+ * @throws {RequiredError}
27431
+ */
27432
+ public getGetAdminRmas(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
27433
+ return RMAApiFp(this.configuration).getGetAdminRmas(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
27434
+ }
27435
+
27436
+ /**
27437
+ * Get RMA by ID
27438
+ * @param {number} id RMA ID
27439
+ * @param {*} [options] Override http request option.
27440
+ * @throws {RequiredError}
27441
+ */
27442
+ public getGetRma(id: number, options?: RawAxiosRequestConfig) {
27443
+ return RMAApiFp(this.configuration).getGetRma(id, options).then((request) => request(this.axios, this.basePath));
27444
+ }
27445
+
27446
+ /**
27447
+ * Approve an RMA
27448
+ * @param {number} id
27449
+ * @param {*} [options] Override http request option.
27450
+ * @throws {RequiredError}
27451
+ */
27452
+ public patchApproveRma(id: number, options?: RawAxiosRequestConfig) {
27453
+ return RMAApiFp(this.configuration).patchApproveRma(id, options).then((request) => request(this.axios, this.basePath));
27454
+ }
27455
+
27456
+ /**
27457
+ * Mark RMA item as binned
27458
+ * @param {number} id
27459
+ * @param {number} itemId
27460
+ * @param {*} [options] Override http request option.
27461
+ * @throws {RequiredError}
27462
+ */
27463
+ public patchMarkRmaItemAsBinned(id: number, itemId: number, options?: RawAxiosRequestConfig) {
27464
+ return RMAApiFp(this.configuration).patchMarkRmaItemAsBinned(id, itemId, options).then((request) => request(this.axios, this.basePath));
27465
+ }
27466
+
27467
+ /**
27468
+ * Mark RMA item as received
27469
+ * @param {number} id
27470
+ * @param {number} itemId
27471
+ * @param {*} [options] Override http request option.
27472
+ * @throws {RequiredError}
27473
+ */
27474
+ public patchMarkRmaItemAsReceived(id: number, itemId: number, options?: RawAxiosRequestConfig) {
27475
+ return RMAApiFp(this.configuration).patchMarkRmaItemAsReceived(id, itemId, options).then((request) => request(this.axios, this.basePath));
27476
+ }
27477
+
27478
+ /**
27479
+ * Mark RMA item as unresolved
27480
+ * @param {number} id
27481
+ * @param {number} itemId
27482
+ * @param {*} [options] Override http request option.
27483
+ * @throws {RequiredError}
27484
+ */
27485
+ public patchMarkRmaItemAsUnresolved(id: number, itemId: number, options?: RawAxiosRequestConfig) {
27486
+ return RMAApiFp(this.configuration).patchMarkRmaItemAsUnresolved(id, itemId, options).then((request) => request(this.axios, this.basePath));
27487
+ }
27488
+
27489
+ /**
27490
+ * Reject an RMA
27491
+ * @param {number} id
27492
+ * @param {NoteRequestModel} [noteRequestModel] RMA Rejection Request
27493
+ * @param {*} [options] Override http request option.
27494
+ * @throws {RequiredError}
27495
+ */
27496
+ public patchRejectRma(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig) {
27497
+ return RMAApiFp(this.configuration).patchRejectRma(id, noteRequestModel, options).then((request) => request(this.axios, this.basePath));
27498
+ }
27499
+
27500
+ /**
27501
+ * Resolve an RMA
27502
+ * @param {number} id
27503
+ * @param {*} [options] Override http request option.
27504
+ * @throws {RequiredError}
27505
+ */
27506
+ public patchResolveRma(id: number, options?: RawAxiosRequestConfig) {
27507
+ return RMAApiFp(this.configuration).patchResolveRma(id, options).then((request) => request(this.axios, this.basePath));
27508
+ }
27509
+
27510
+ /**
27511
+ * Update contact name for an rma
27512
+ * @param {number} id
27513
+ * @param {EmailRequestModel} [emailRequestModel] Email Request
27514
+ * @param {*} [options] Override http request option.
27515
+ * @throws {RequiredError}
27516
+ */
27517
+ public patchUpdateRmaContactEmail(id: number, emailRequestModel?: EmailRequestModel, options?: RawAxiosRequestConfig) {
27518
+ return RMAApiFp(this.configuration).patchUpdateRmaContactEmail(id, emailRequestModel, options).then((request) => request(this.axios, this.basePath));
27519
+ }
27520
+
27521
+ /**
27522
+ * Update contact name for an rma
27523
+ * @param {number} id
27524
+ * @param {NameRequestModel} [nameRequestModel] Name Request
27525
+ * @param {*} [options] Override http request option.
27526
+ * @throws {RequiredError}
27527
+ */
27528
+ public patchUpdateRmaContactName(id: number, nameRequestModel?: NameRequestModel, options?: RawAxiosRequestConfig) {
27529
+ return RMAApiFp(this.configuration).patchUpdateRmaContactName(id, nameRequestModel, options).then((request) => request(this.axios, this.basePath));
27530
+ }
27531
+
27532
+ /**
27533
+ * Update RMA item MAC address
27534
+ * @param {number} id
27535
+ * @param {number} itemId
27536
+ * @param {MacAddressRequestModel} [macAddressRequestModel] Update RMA item MAC address request
27537
+ * @param {*} [options] Override http request option.
27538
+ * @throws {RequiredError}
27539
+ */
27540
+ public patchUpdateRmaItemMacAddress(id: number, itemId: number, macAddressRequestModel?: MacAddressRequestModel, options?: RawAxiosRequestConfig) {
27541
+ return RMAApiFp(this.configuration).patchUpdateRmaItemMacAddress(id, itemId, macAddressRequestModel, options).then((request) => request(this.axios, this.basePath));
27542
+ }
27543
+
27544
+ /**
27545
+ * Update RMA item note
27546
+ * @param {number} id
27547
+ * @param {number} itemId
27548
+ * @param {NoteRequestModel} [noteRequestModel] Update RMA item note request
27549
+ * @param {*} [options] Override http request option.
27550
+ * @throws {RequiredError}
27551
+ */
27552
+ public patchUpdateRmaItemNote(id: number, itemId: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig) {
27553
+ return RMAApiFp(this.configuration).patchUpdateRmaItemNote(id, itemId, noteRequestModel, options).then((request) => request(this.axios, this.basePath));
27554
+ }
27555
+
27556
+ /**
27557
+ * Update RMA item serial number
27558
+ * @param {number} id
27559
+ * @param {number} itemId
27560
+ * @param {SerialNumberRequestModel} [serialNumberRequestModel] Update RMA item serial number request
27561
+ * @param {*} [options] Override http request option.
27562
+ * @throws {RequiredError}
27563
+ */
27564
+ public patchUpdateRmaItemSerialNumber(id: number, itemId: number, serialNumberRequestModel?: SerialNumberRequestModel, options?: RawAxiosRequestConfig) {
27565
+ return RMAApiFp(this.configuration).patchUpdateRmaItemSerialNumber(id, itemId, serialNumberRequestModel, options).then((request) => request(this.axios, this.basePath));
27566
+ }
27567
+
27568
+ /**
27569
+ * Update RMA reason
27570
+ * @param {number} id
27571
+ * @param {ReasonRequestModel} [reasonRequestModel] Update RMA Reason Request
27572
+ * @param {*} [options] Override http request option.
27573
+ * @throws {RequiredError}
27574
+ */
27575
+ public patchUpdateRmaReason(id: number, reasonRequestModel?: ReasonRequestModel, options?: RawAxiosRequestConfig) {
27576
+ return RMAApiFp(this.configuration).patchUpdateRmaReason(id, reasonRequestModel, options).then((request) => request(this.axios, this.basePath));
27577
+ }
27578
+
27579
+ /**
27580
+ * Update RMA resolution
27581
+ * @param {number} id
27582
+ * @param {ResolutionRequestModel} [resolutionRequestModel] Update RMA Resolution Request
27583
+ * @param {*} [options] Override http request option.
27584
+ * @throws {RequiredError}
27585
+ */
27586
+ public patchUpdateRmaResolution(id: number, resolutionRequestModel?: ResolutionRequestModel, options?: RawAxiosRequestConfig) {
27587
+ return RMAApiFp(this.configuration).patchUpdateRmaResolution(id, resolutionRequestModel, options).then((request) => request(this.axios, this.basePath));
27588
+ }
27589
+
27590
+ /**
27591
+ * Update RMA return address
27592
+ * @param {number} id
27593
+ * @param {AddressDTO} [addressDTO] Update RMA return address
27594
+ * @param {*} [options] Override http request option.
27595
+ * @throws {RequiredError}
27596
+ */
27597
+ public patchUpdateRmaReturnAddress(id: number, addressDTO?: AddressDTO, options?: RawAxiosRequestConfig) {
27598
+ return RMAApiFp(this.configuration).patchUpdateRmaReturnAddress(id, addressDTO, options).then((request) => request(this.axios, this.basePath));
27599
+ }
27600
+
27601
+ /**
27602
+ * Create a replacement order for an RMA
27603
+ * @param {number} id
27604
+ * @param {RmaReplacementOrderRequestDTO} [rmaReplacementOrderRequestDTO] RMA Replacement Order Request
27605
+ * @param {*} [options] Override http request option.
27606
+ * @throws {RequiredError}
27607
+ */
27608
+ public postCreateReplacementOrder(id: number, rmaReplacementOrderRequestDTO?: RmaReplacementOrderRequestDTO, options?: RawAxiosRequestConfig) {
27609
+ return RMAApiFp(this.configuration).postCreateReplacementOrder(id, rmaReplacementOrderRequestDTO, options).then((request) => request(this.axios, this.basePath));
27610
+ }
27611
+
27612
+ /**
27613
+ * Create an RMA
27614
+ * @param {RmaRequestDTO} [rmaRequestDTO] RMA Request
27615
+ * @param {*} [options] Override http request option.
27616
+ * @throws {RequiredError}
27617
+ */
27618
+ public postCreateRma(rmaRequestDTO?: RmaRequestDTO, options?: RawAxiosRequestConfig) {
27619
+ return RMAApiFp(this.configuration).postCreateRma(rmaRequestDTO, options).then((request) => request(this.axios, this.basePath));
27620
+ }
27621
+
27622
+ /**
27623
+ * Create a collection for an RMA
27624
+ * @param {number} id
27625
+ * @param {RmaCollectionDTO} [rmaCollectionDTO] RMA Collection Request
27626
+ * @param {*} [options] Override http request option.
27627
+ * @throws {RequiredError}
27628
+ */
27629
+ public postCreateRmaCollection(id: number, rmaCollectionDTO?: RmaCollectionDTO, options?: RawAxiosRequestConfig) {
27630
+ return RMAApiFp(this.configuration).postCreateRmaCollection(id, rmaCollectionDTO, options).then((request) => request(this.axios, this.basePath));
27631
+ }
27632
+
27633
+ /**
27634
+ * Create a credit note for an RMA
27635
+ * @param {number} id
27636
+ * @param {Array<RmaCreditItemRequestDTO>} [rmaCreditItemRequestDTO] RMA Items to be credited
27637
+ * @param {*} [options] Override http request option.
27638
+ * @throws {RequiredError}
27639
+ */
27640
+ public postCreateRmaCreditNote(id: number, rmaCreditItemRequestDTO?: Array<RmaCreditItemRequestDTO>, options?: RawAxiosRequestConfig) {
27641
+ return RMAApiFp(this.configuration).postCreateRmaCreditNote(id, rmaCreditItemRequestDTO, options).then((request) => request(this.axios, this.basePath));
27642
+ }
27643
+
27644
+ /**
27645
+ * Create an RMA note
27646
+ * @param {number} id
27647
+ * @param {NoteRequestModel} [noteRequestModel] RMA Note Request
27648
+ * @param {*} [options] Override http request option.
27649
+ * @throws {RequiredError}
27650
+ */
27651
+ public postCreateRmaNote(id: number, noteRequestModel?: NoteRequestModel, options?: RawAxiosRequestConfig) {
27652
+ return RMAApiFp(this.configuration).postCreateRmaNote(id, noteRequestModel, options).then((request) => request(this.axios, this.basePath));
27653
+ }
27654
+
27655
+ /**
27656
+ * Create a collection for an RMA
27657
+ * @param {number} id
27658
+ * @param {RmaReturnDTO} [rmaReturnDTO] RMA Return Request
27659
+ * @param {*} [options] Override http request option.
27660
+ * @throws {RequiredError}
27661
+ */
27662
+ public postCreateRmaReturn(id: number, rmaReturnDTO?: RmaReturnDTO, options?: RawAxiosRequestConfig) {
27663
+ return RMAApiFp(this.configuration).postCreateRmaReturn(id, rmaReturnDTO, options).then((request) => request(this.axios, this.basePath));
27664
+ }
27665
+ }
27666
+
27667
+
27668
+
27669
+ /**
27670
+ * ReportsApi - axios parameter creator
27671
+ */
27672
+ export const ReportsApiAxiosParamCreator = function (configuration?: Configuration) {
27673
+ return {
27674
+ /**
27675
+ *
27676
+ * @param {*} [options] Override http request option.
27677
+ * @throws {RequiredError}
27678
+ */
27679
+ getGetStockReport: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27680
+ const localVarPath = `/reports/stock`;
27681
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27682
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27683
+ let baseOptions;
27684
+ if (configuration) {
27685
+ baseOptions = configuration.baseOptions;
27686
+ }
27687
+
27688
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
27689
+ const localVarHeaderParameter = {} as any;
27690
+ const localVarQueryParameter = {} as any;
27691
+
27692
+ localVarHeaderParameter['Accept'] = 'application/json';
27693
+
27694
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27695
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27696
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27697
+
27698
+ return {
27699
+ url: toPathString(localVarUrlObj),
27700
+ options: localVarRequestOptions,
27701
+ };
27702
+ },
27703
+ /**
27704
+ * Generate Reports
27705
+ * @summary Generate Reports
27706
+ * @param {ReportRequestDTO} [reportRequestDTO] Report Request
27707
+ * @param {*} [options] Override http request option.
27708
+ * @throws {RequiredError}
27709
+ */
27710
+ postGenerateReport: async (reportRequestDTO?: ReportRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27711
+ const localVarPath = `/reports`;
27712
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27713
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27714
+ let baseOptions;
27715
+ if (configuration) {
27716
+ baseOptions = configuration.baseOptions;
27717
+ }
27718
+
27719
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
27720
+ const localVarHeaderParameter = {} as any;
27721
+ const localVarQueryParameter = {} as any;
27722
+
27723
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27724
+ localVarHeaderParameter['Accept'] = 'application/json';
27725
+
27726
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27727
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27728
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
27729
+ localVarRequestOptions.data = serializeDataIfNeeded(reportRequestDTO, localVarRequestOptions, configuration)
27730
+
27731
+ return {
27732
+ url: toPathString(localVarUrlObj),
27733
+ options: localVarRequestOptions,
27734
+ };
27735
+ },
27736
+ }
27737
+ };
27738
+
27739
+ /**
27740
+ * ReportsApi - functional programming interface
27741
+ */
27742
+ export const ReportsApiFp = function(configuration?: Configuration) {
27743
+ const localVarAxiosParamCreator = ReportsApiAxiosParamCreator(configuration)
27744
+ return {
27745
+ /**
27746
+ *
27747
+ * @param {*} [options] Override http request option.
27748
+ * @throws {RequiredError}
27749
+ */
27750
+ async getGetStockReport(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StockReportModel>> {
27751
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetStockReport(options);
27752
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27753
+ const localVarOperationServerBasePath = operationServerMap['ReportsApi.getGetStockReport']?.[localVarOperationServerIndex]?.url;
27754
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27755
+ },
27756
+ /**
27757
+ * Generate Reports
27758
+ * @summary Generate Reports
27759
+ * @param {ReportRequestDTO} [reportRequestDTO] Report Request
27760
+ * @param {*} [options] Override http request option.
27761
+ * @throws {RequiredError}
27762
+ */
27763
+ async postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostGenerateReport200Response>> {
27764
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postGenerateReport(reportRequestDTO, options);
27765
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27766
+ const localVarOperationServerBasePath = operationServerMap['ReportsApi.postGenerateReport']?.[localVarOperationServerIndex]?.url;
27767
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27768
+ },
27769
+ }
27770
+ };
27771
+
27772
+ /**
27773
+ * ReportsApi - factory interface
27774
+ */
27775
+ export const ReportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
27776
+ const localVarFp = ReportsApiFp(configuration)
27777
+ return {
27778
+ /**
27779
+ *
27780
+ * @param {*} [options] Override http request option.
27781
+ * @throws {RequiredError}
27782
+ */
27783
+ getGetStockReport(options?: RawAxiosRequestConfig): AxiosPromise<StockReportModel> {
27784
+ return localVarFp.getGetStockReport(options).then((request) => request(axios, basePath));
27785
+ },
27786
+ /**
27787
+ * Generate Reports
27788
+ * @summary Generate Reports
27789
+ * @param {ReportRequestDTO} [reportRequestDTO] Report Request
27790
+ * @param {*} [options] Override http request option.
27791
+ * @throws {RequiredError}
27792
+ */
27793
+ postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<PostGenerateReport200Response> {
27794
+ return localVarFp.postGenerateReport(reportRequestDTO, options).then((request) => request(axios, basePath));
27795
+ },
27796
+ };
27797
+ };
27798
+
27799
+ /**
27800
+ * ReportsApi - object-oriented interface
27801
+ */
27802
+ export class ReportsApi extends BaseAPI {
27803
+ /**
27804
+ *
24353
27805
  * @param {*} [options] Override http request option.
24354
27806
  * @throws {RequiredError}
24355
27807
  */
24356
- public postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig) {
24357
- return ProvisioningApiFp(this.configuration).postAddFanvilMac(id, mac, options).then((request) => request(this.axios, this.basePath));
27808
+ public getGetStockReport(options?: RawAxiosRequestConfig) {
27809
+ return ReportsApiFp(this.configuration).getGetStockReport(options).then((request) => request(this.axios, this.basePath));
24358
27810
  }
24359
27811
 
24360
27812
  /**
24361
- * Create a MAC address in FDPS
24362
- * @param {MacAddressDTO} [macAddressDTO] Mac Address
27813
+ * Generate Reports
27814
+ * @summary Generate Reports
27815
+ * @param {ReportRequestDTO} [reportRequestDTO] Report Request
24363
27816
  * @param {*} [options] Override http request option.
24364
27817
  * @throws {RequiredError}
24365
27818
  */
24366
- public postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) {
24367
- return ProvisioningApiFp(this.configuration).postCreateMac(macAddressDTO, options).then((request) => request(this.axios, this.basePath));
27819
+ public postGenerateReport(reportRequestDTO?: ReportRequestDTO, options?: RawAxiosRequestConfig) {
27820
+ return ReportsApiFp(this.configuration).postGenerateReport(reportRequestDTO, options).then((request) => request(this.axios, this.basePath));
24368
27821
  }
24369
27822
  }
24370
27823
 
@@ -28701,6 +32154,327 @@ export class StockManagementApi extends BaseAPI {
28701
32154
 
28702
32155
 
28703
32156
 
32157
+ /**
32158
+ * SuppliersApi - axios parameter creator
32159
+ */
32160
+ export const SuppliersApiAxiosParamCreator = function (configuration?: Configuration) {
32161
+ return {
32162
+ /**
32163
+ * Get Supplier Item
32164
+ * @summary Get Supplier Item
32165
+ * @param {string} id ID (SKU)
32166
+ * @param {*} [options] Override http request option.
32167
+ * @throws {RequiredError}
32168
+ */
32169
+ getGetSupplierItem: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32170
+ // verify required parameter 'id' is not null or undefined
32171
+ assertParamExists('getGetSupplierItem', 'id', id)
32172
+ const localVarPath = `/suppliers/items/{id}`
32173
+ .replace('{id}', encodeURIComponent(String(id)));
32174
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32175
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32176
+ let baseOptions;
32177
+ if (configuration) {
32178
+ baseOptions = configuration.baseOptions;
32179
+ }
32180
+
32181
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32182
+ const localVarHeaderParameter = {} as any;
32183
+ const localVarQueryParameter = {} as any;
32184
+
32185
+ localVarHeaderParameter['Accept'] = 'application/json';
32186
+
32187
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32188
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32189
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32190
+
32191
+ return {
32192
+ url: toPathString(localVarUrlObj),
32193
+ options: localVarRequestOptions,
32194
+ };
32195
+ },
32196
+ /**
32197
+ * Get Supplier Items
32198
+ * @summary Get Supplier Items
32199
+ * @param {number} [pageSize] Number Of Results
32200
+ * @param {number} [page] Page Number
32201
+ * @param {string} [search] Search
32202
+ * @param {*} [options] Override http request option.
32203
+ * @throws {RequiredError}
32204
+ */
32205
+ getGetSupplierItems: async (pageSize?: number, page?: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32206
+ const localVarPath = `/suppliers/items`;
32207
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32208
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32209
+ let baseOptions;
32210
+ if (configuration) {
32211
+ baseOptions = configuration.baseOptions;
32212
+ }
32213
+
32214
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32215
+ const localVarHeaderParameter = {} as any;
32216
+ const localVarQueryParameter = {} as any;
32217
+
32218
+ if (pageSize !== undefined) {
32219
+ localVarQueryParameter['pageSize'] = pageSize;
32220
+ }
32221
+
32222
+ if (page !== undefined) {
32223
+ localVarQueryParameter['page'] = page;
32224
+ }
32225
+
32226
+ if (search !== undefined) {
32227
+ localVarQueryParameter['search'] = search;
32228
+ }
32229
+
32230
+ localVarHeaderParameter['Accept'] = 'application/json';
32231
+
32232
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32233
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32234
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32235
+
32236
+ return {
32237
+ url: toPathString(localVarUrlObj),
32238
+ options: localVarRequestOptions,
32239
+ };
32240
+ },
32241
+ /**
32242
+ * Get Suppliers
32243
+ * @summary Get Suppliers
32244
+ * @param {*} [options] Override http request option.
32245
+ * @throws {RequiredError}
32246
+ */
32247
+ getGetSuppliers: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32248
+ const localVarPath = `/suppliers`;
32249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32250
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32251
+ let baseOptions;
32252
+ if (configuration) {
32253
+ baseOptions = configuration.baseOptions;
32254
+ }
32255
+
32256
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
32257
+ const localVarHeaderParameter = {} as any;
32258
+ const localVarQueryParameter = {} as any;
32259
+
32260
+ localVarHeaderParameter['Accept'] = 'application/json';
32261
+
32262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32264
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32265
+
32266
+ return {
32267
+ url: toPathString(localVarUrlObj),
32268
+ options: localVarRequestOptions,
32269
+ };
32270
+ },
32271
+ /**
32272
+ * Update Supplier Product
32273
+ * @summary Update Supplier Product
32274
+ * @param {string} id ID (SKU)
32275
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
32276
+ * @param {*} [options] Override http request option.
32277
+ * @throws {RequiredError}
32278
+ */
32279
+ putGetSupplierItem: async (id: string, supplierProductModel?: SupplierProductModel, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32280
+ // verify required parameter 'id' is not null or undefined
32281
+ assertParamExists('putGetSupplierItem', 'id', id)
32282
+ const localVarPath = `/suppliers/items/{id}`
32283
+ .replace('{id}', encodeURIComponent(String(id)));
32284
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32285
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32286
+ let baseOptions;
32287
+ if (configuration) {
32288
+ baseOptions = configuration.baseOptions;
32289
+ }
32290
+
32291
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
32292
+ const localVarHeaderParameter = {} as any;
32293
+ const localVarQueryParameter = {} as any;
32294
+
32295
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32296
+ localVarHeaderParameter['Accept'] = 'application/json';
32297
+
32298
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32299
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32300
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32301
+ localVarRequestOptions.data = serializeDataIfNeeded(supplierProductModel, localVarRequestOptions, configuration)
32302
+
32303
+ return {
32304
+ url: toPathString(localVarUrlObj),
32305
+ options: localVarRequestOptions,
32306
+ };
32307
+ },
32308
+ }
32309
+ };
32310
+
32311
+ /**
32312
+ * SuppliersApi - functional programming interface
32313
+ */
32314
+ export const SuppliersApiFp = function(configuration?: Configuration) {
32315
+ const localVarAxiosParamCreator = SuppliersApiAxiosParamCreator(configuration)
32316
+ return {
32317
+ /**
32318
+ * Get Supplier Item
32319
+ * @summary Get Supplier Item
32320
+ * @param {string} id ID (SKU)
32321
+ * @param {*} [options] Override http request option.
32322
+ * @throws {RequiredError}
32323
+ */
32324
+ async getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductModel>> {
32325
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetSupplierItem(id, options);
32326
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32327
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.getGetSupplierItem']?.[localVarOperationServerIndex]?.url;
32328
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32329
+ },
32330
+ /**
32331
+ * Get Supplier Items
32332
+ * @summary Get Supplier Items
32333
+ * @param {number} [pageSize] Number Of Results
32334
+ * @param {number} [page] Page Number
32335
+ * @param {string} [search] Search
32336
+ * @param {*} [options] Override http request option.
32337
+ * @throws {RequiredError}
32338
+ */
32339
+ async getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductResultsModel>> {
32340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetSupplierItems(pageSize, page, search, options);
32341
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32342
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.getGetSupplierItems']?.[localVarOperationServerIndex]?.url;
32343
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32344
+ },
32345
+ /**
32346
+ * Get Suppliers
32347
+ * @summary Get Suppliers
32348
+ * @param {*} [options] Override http request option.
32349
+ * @throws {RequiredError}
32350
+ */
32351
+ async getGetSuppliers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SupplierModel>>> {
32352
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetSuppliers(options);
32353
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32354
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.getGetSuppliers']?.[localVarOperationServerIndex]?.url;
32355
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32356
+ },
32357
+ /**
32358
+ * Update Supplier Product
32359
+ * @summary Update Supplier Product
32360
+ * @param {string} id ID (SKU)
32361
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
32362
+ * @param {*} [options] Override http request option.
32363
+ * @throws {RequiredError}
32364
+ */
32365
+ async putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SupplierProductModel>> {
32366
+ const localVarAxiosArgs = await localVarAxiosParamCreator.putGetSupplierItem(id, supplierProductModel, options);
32367
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32368
+ const localVarOperationServerBasePath = operationServerMap['SuppliersApi.putGetSupplierItem']?.[localVarOperationServerIndex]?.url;
32369
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32370
+ },
32371
+ }
32372
+ };
32373
+
32374
+ /**
32375
+ * SuppliersApi - factory interface
32376
+ */
32377
+ export const SuppliersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32378
+ const localVarFp = SuppliersApiFp(configuration)
32379
+ return {
32380
+ /**
32381
+ * Get Supplier Item
32382
+ * @summary Get Supplier Item
32383
+ * @param {string} id ID (SKU)
32384
+ * @param {*} [options] Override http request option.
32385
+ * @throws {RequiredError}
32386
+ */
32387
+ getGetSupplierItem(id: string, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductModel> {
32388
+ return localVarFp.getGetSupplierItem(id, options).then((request) => request(axios, basePath));
32389
+ },
32390
+ /**
32391
+ * Get Supplier Items
32392
+ * @summary Get Supplier Items
32393
+ * @param {number} [pageSize] Number Of Results
32394
+ * @param {number} [page] Page Number
32395
+ * @param {string} [search] Search
32396
+ * @param {*} [options] Override http request option.
32397
+ * @throws {RequiredError}
32398
+ */
32399
+ getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductResultsModel> {
32400
+ return localVarFp.getGetSupplierItems(pageSize, page, search, options).then((request) => request(axios, basePath));
32401
+ },
32402
+ /**
32403
+ * Get Suppliers
32404
+ * @summary Get Suppliers
32405
+ * @param {*} [options] Override http request option.
32406
+ * @throws {RequiredError}
32407
+ */
32408
+ getGetSuppliers(options?: RawAxiosRequestConfig): AxiosPromise<Array<SupplierModel>> {
32409
+ return localVarFp.getGetSuppliers(options).then((request) => request(axios, basePath));
32410
+ },
32411
+ /**
32412
+ * Update Supplier Product
32413
+ * @summary Update Supplier Product
32414
+ * @param {string} id ID (SKU)
32415
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
32416
+ * @param {*} [options] Override http request option.
32417
+ * @throws {RequiredError}
32418
+ */
32419
+ putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig): AxiosPromise<SupplierProductModel> {
32420
+ return localVarFp.putGetSupplierItem(id, supplierProductModel, options).then((request) => request(axios, basePath));
32421
+ },
32422
+ };
32423
+ };
32424
+
32425
+ /**
32426
+ * SuppliersApi - object-oriented interface
32427
+ */
32428
+ export class SuppliersApi extends BaseAPI {
32429
+ /**
32430
+ * Get Supplier Item
32431
+ * @summary Get Supplier Item
32432
+ * @param {string} id ID (SKU)
32433
+ * @param {*} [options] Override http request option.
32434
+ * @throws {RequiredError}
32435
+ */
32436
+ public getGetSupplierItem(id: string, options?: RawAxiosRequestConfig) {
32437
+ return SuppliersApiFp(this.configuration).getGetSupplierItem(id, options).then((request) => request(this.axios, this.basePath));
32438
+ }
32439
+
32440
+ /**
32441
+ * Get Supplier Items
32442
+ * @summary Get Supplier Items
32443
+ * @param {number} [pageSize] Number Of Results
32444
+ * @param {number} [page] Page Number
32445
+ * @param {string} [search] Search
32446
+ * @param {*} [options] Override http request option.
32447
+ * @throws {RequiredError}
32448
+ */
32449
+ public getGetSupplierItems(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) {
32450
+ return SuppliersApiFp(this.configuration).getGetSupplierItems(pageSize, page, search, options).then((request) => request(this.axios, this.basePath));
32451
+ }
32452
+
32453
+ /**
32454
+ * Get Suppliers
32455
+ * @summary Get Suppliers
32456
+ * @param {*} [options] Override http request option.
32457
+ * @throws {RequiredError}
32458
+ */
32459
+ public getGetSuppliers(options?: RawAxiosRequestConfig) {
32460
+ return SuppliersApiFp(this.configuration).getGetSuppliers(options).then((request) => request(this.axios, this.basePath));
32461
+ }
32462
+
32463
+ /**
32464
+ * Update Supplier Product
32465
+ * @summary Update Supplier Product
32466
+ * @param {string} id ID (SKU)
32467
+ * @param {SupplierProductModel} [supplierProductModel] Supplier Product
32468
+ * @param {*} [options] Override http request option.
32469
+ * @throws {RequiredError}
32470
+ */
32471
+ public putGetSupplierItem(id: string, supplierProductModel?: SupplierProductModel, options?: RawAxiosRequestConfig) {
32472
+ return SuppliersApiFp(this.configuration).putGetSupplierItem(id, supplierProductModel, options).then((request) => request(this.axios, this.basePath));
32473
+ }
32474
+ }
32475
+
32476
+
32477
+
28704
32478
  /**
28705
32479
  * SystemApi - axios parameter creator
28706
32480
  */