@axelor/aos-mobile-stock 0.0.1

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 (373) hide show
  1. package/README.md +44 -0
  2. package/lib/api/customer-delivery-api.d.ts +16 -0
  3. package/lib/api/customer-delivery-api.js +122 -0
  4. package/lib/api/customer-delivery-api.js.map +1 -0
  5. package/lib/api/customer-delivery-line-api.d.ts +9 -0
  6. package/lib/api/customer-delivery-line-api.js +65 -0
  7. package/lib/api/customer-delivery-line-api.js.map +1 -0
  8. package/lib/api/index.d.ts +18 -0
  9. package/lib/api/index.js +36 -0
  10. package/lib/api/index.js.map +1 -0
  11. package/lib/api/internal-move-api.d.ts +20 -0
  12. package/lib/api/internal-move-api.js +112 -0
  13. package/lib/api/internal-move-api.js.map +1 -0
  14. package/lib/api/internal-move-line-api.d.ts +4 -0
  15. package/lib/api/internal-move-line-api.js +53 -0
  16. package/lib/api/internal-move-line-api.js.map +1 -0
  17. package/lib/api/inventory-api.d.ts +18 -0
  18. package/lib/api/inventory-api.js +121 -0
  19. package/lib/api/inventory-api.js.map +1 -0
  20. package/lib/api/inventory-line-api.d.ts +18 -0
  21. package/lib/api/inventory-line-api.js +76 -0
  22. package/lib/api/inventory-line-api.js.map +1 -0
  23. package/lib/api/partner-api.d.ts +8 -0
  24. package/lib/api/partner-api.js +155 -0
  25. package/lib/api/partner-api.js.map +1 -0
  26. package/lib/api/product-api.d.ts +26 -0
  27. package/lib/api/product-api.js +189 -0
  28. package/lib/api/product-api.js.map +1 -0
  29. package/lib/api/stock-correction-api.d.ts +17 -0
  30. package/lib/api/stock-correction-api.js +73 -0
  31. package/lib/api/stock-correction-api.js.map +1 -0
  32. package/lib/api/stock-correction-reason-api.d.ts +1 -0
  33. package/lib/api/stock-correction-reason-api.js +24 -0
  34. package/lib/api/stock-correction-reason-api.js.map +1 -0
  35. package/lib/api/stock-location-api.d.ts +7 -0
  36. package/lib/api/stock-location-api.js +121 -0
  37. package/lib/api/stock-location-api.js.map +1 -0
  38. package/lib/api/stock-location-line-api.d.ts +6 -0
  39. package/lib/api/stock-location-line-api.js +114 -0
  40. package/lib/api/stock-location-line-api.js.map +1 -0
  41. package/lib/api/supplier-arrival-api.d.ts +17 -0
  42. package/lib/api/supplier-arrival-api.js +121 -0
  43. package/lib/api/supplier-arrival-api.js.map +1 -0
  44. package/lib/api/supplier-arrival-line-api.d.ts +10 -0
  45. package/lib/api/supplier-arrival-line-api.js +67 -0
  46. package/lib/api/supplier-arrival-line-api.js.map +1 -0
  47. package/lib/api/supplier-catalog-api.d.ts +4 -0
  48. package/lib/api/supplier-catalog-api.js +49 -0
  49. package/lib/api/supplier-catalog-api.js.map +1 -0
  50. package/lib/api/supplychain-config-api.d.ts +1 -0
  51. package/lib/api/supplychain-config-api.js +24 -0
  52. package/lib/api/supplychain-config-api.js.map +1 -0
  53. package/lib/api/tracking-number-api.d.ts +16 -0
  54. package/lib/api/tracking-number-api.js +107 -0
  55. package/lib/api/tracking-number-api.js.map +1 -0
  56. package/lib/api/unit-api.d.ts +1 -0
  57. package/lib/api/unit-api.js +22 -0
  58. package/lib/api/unit-api.js.map +1 -0
  59. package/lib/components/index.d.ts +2 -0
  60. package/lib/components/index.js +20 -0
  61. package/lib/components/index.js.map +1 -0
  62. package/lib/components/molecules/CarrierCard/CarrierCard.d.ts +6 -0
  63. package/lib/components/molecules/CarrierCard/CarrierCard.js +46 -0
  64. package/lib/components/molecules/CarrierCard/CarrierCard.js.map +1 -0
  65. package/lib/components/molecules/LocationsMoveCard/LocationsMoveCard.d.ts +14 -0
  66. package/lib/components/molecules/LocationsMoveCard/LocationsMoveCard.js +82 -0
  67. package/lib/components/molecules/LocationsMoveCard/LocationsMoveCard.js.map +1 -0
  68. package/lib/components/molecules/ProductCardDetails/ProductCardDetails.d.ts +7 -0
  69. package/lib/components/molecules/ProductCardDetails/ProductCardDetails.js +42 -0
  70. package/lib/components/molecules/ProductCardDetails/ProductCardDetails.js.map +1 -0
  71. package/lib/components/molecules/StockCorrectionCard/StockCorrectionCard.d.ts +10 -0
  72. package/lib/components/molecules/StockCorrectionCard/StockCorrectionCard.js +75 -0
  73. package/lib/components/molecules/StockCorrectionCard/StockCorrectionCard.js.map +1 -0
  74. package/lib/components/molecules/index.d.ts +4 -0
  75. package/lib/components/molecules/index.js +22 -0
  76. package/lib/components/molecules/index.js.map +1 -0
  77. package/lib/components/organisms/CardStockIndicator/CardStockIndicator.d.ts +6 -0
  78. package/lib/components/organisms/CardStockIndicator/CardStockIndicator.js +72 -0
  79. package/lib/components/organisms/CardStockIndicator/CardStockIndicator.js.map +1 -0
  80. package/lib/components/organisms/CustomerDeliveryCard/CustomerDeliveryCard.d.ts +12 -0
  81. package/lib/components/organisms/CustomerDeliveryCard/CustomerDeliveryCard.js +94 -0
  82. package/lib/components/organisms/CustomerDeliveryCard/CustomerDeliveryCard.js.map +1 -0
  83. package/lib/components/organisms/CustomerDeliveryLineCard/CustomerDeliveryLineCard.d.ts +14 -0
  84. package/lib/components/organisms/CustomerDeliveryLineCard/CustomerDeliveryLineCard.js +81 -0
  85. package/lib/components/organisms/CustomerDeliveryLineCard/CustomerDeliveryLineCard.js.map +1 -0
  86. package/lib/components/organisms/DescriptionCard/DescriptionCard.d.ts +7 -0
  87. package/lib/components/organisms/DescriptionCard/DescriptionCard.js +42 -0
  88. package/lib/components/organisms/DescriptionCard/DescriptionCard.js.map +1 -0
  89. package/lib/components/organisms/InternalMoveCard/InternalMoveCard.d.ts +13 -0
  90. package/lib/components/organisms/InternalMoveCard/InternalMoveCard.js +94 -0
  91. package/lib/components/organisms/InternalMoveCard/InternalMoveCard.js.map +1 -0
  92. package/lib/components/organisms/InternalMoveLineCard/InternalMoveLineCard.d.ts +13 -0
  93. package/lib/components/organisms/InternalMoveLineCard/InternalMoveLineCard.js +101 -0
  94. package/lib/components/organisms/InternalMoveLineCard/InternalMoveLineCard.js.map +1 -0
  95. package/lib/components/organisms/InventoryCard/InventoryCard.d.ts +10 -0
  96. package/lib/components/organisms/InventoryCard/InventoryCard.js +88 -0
  97. package/lib/components/organisms/InventoryCard/InventoryCard.js.map +1 -0
  98. package/lib/components/organisms/InventoryHeader/InventoryHeader.d.ts +8 -0
  99. package/lib/components/organisms/InventoryHeader/InventoryHeader.js +77 -0
  100. package/lib/components/organisms/InventoryHeader/InventoryHeader.js.map +1 -0
  101. package/lib/components/organisms/InventoryLineCard/InventoryLineCard.d.ts +14 -0
  102. package/lib/components/organisms/InventoryLineCard/InventoryLineCard.js +72 -0
  103. package/lib/components/organisms/InventoryLineCard/InventoryLineCard.js.map +1 -0
  104. package/lib/components/organisms/ProductCard/ProductCard.d.ts +10 -0
  105. package/lib/components/organisms/ProductCard/ProductCard.js +77 -0
  106. package/lib/components/organisms/ProductCard/ProductCard.js.map +1 -0
  107. package/lib/components/organisms/ProductCardInfo/ProductCardInfo.d.ts +10 -0
  108. package/lib/components/organisms/ProductCardInfo/ProductCardInfo.js +74 -0
  109. package/lib/components/organisms/ProductCardInfo/ProductCardInfo.js.map +1 -0
  110. package/lib/components/organisms/ProductCharacteristics/ProductCharacteristics.d.ts +13 -0
  111. package/lib/components/organisms/ProductCharacteristics/ProductCharacteristics.js +79 -0
  112. package/lib/components/organisms/ProductCharacteristics/ProductCharacteristics.js.map +1 -0
  113. package/lib/components/organisms/ProductStockLocationCard/ProductStockLocationCard.d.ts +10 -0
  114. package/lib/components/organisms/ProductStockLocationCard/ProductStockLocationCard.js +89 -0
  115. package/lib/components/organisms/ProductStockLocationCard/ProductStockLocationCard.js.map +1 -0
  116. package/lib/components/organisms/ProductVariantCard/ProductVariantCard.d.ts +19 -0
  117. package/lib/components/organisms/ProductVariantCard/ProductVariantCard.js +128 -0
  118. package/lib/components/organisms/ProductVariantCard/ProductVariantCard.js.map +1 -0
  119. package/lib/components/organisms/QuantityCard/QuantityCard.d.ts +12 -0
  120. package/lib/components/organisms/QuantityCard/QuantityCard.js +98 -0
  121. package/lib/components/organisms/QuantityCard/QuantityCard.js.map +1 -0
  122. package/lib/components/organisms/SmallPropertyCard/SmallPropertyCard.d.ts +9 -0
  123. package/lib/components/organisms/SmallPropertyCard/SmallPropertyCard.js +63 -0
  124. package/lib/components/organisms/SmallPropertyCard/SmallPropertyCard.js.map +1 -0
  125. package/lib/components/organisms/StockMoveHeader/StockMoveHeader.d.ts +9 -0
  126. package/lib/components/organisms/StockMoveHeader/StockMoveHeader.js +71 -0
  127. package/lib/components/organisms/StockMoveHeader/StockMoveHeader.js.map +1 -0
  128. package/lib/components/organisms/SupplierArrivalCard/SupplierArrivalCard.d.ts +11 -0
  129. package/lib/components/organisms/SupplierArrivalCard/SupplierArrivalCard.js +93 -0
  130. package/lib/components/organisms/SupplierArrivalCard/SupplierArrivalCard.js.map +1 -0
  131. package/lib/components/organisms/SupplierArrivalLineCard/SupplierArrivalLineCard.d.ts +13 -0
  132. package/lib/components/organisms/SupplierArrivalLineCard/SupplierArrivalLineCard.js +78 -0
  133. package/lib/components/organisms/SupplierArrivalLineCard/SupplierArrivalLineCard.js.map +1 -0
  134. package/lib/components/organisms/index.d.ts +19 -0
  135. package/lib/components/organisms/index.js +37 -0
  136. package/lib/components/organisms/index.js.map +1 -0
  137. package/lib/features/asyncFunctions-index.d.ts +21 -0
  138. package/lib/features/asyncFunctions-index.js +39 -0
  139. package/lib/features/asyncFunctions-index.js.map +1 -0
  140. package/lib/features/customerDeliveryLineSlice.d.ts +27 -0
  141. package/lib/features/customerDeliveryLineSlice.js +88 -0
  142. package/lib/features/customerDeliveryLineSlice.js.map +1 -0
  143. package/lib/features/customerDeliverySlice.d.ts +38 -0
  144. package/lib/features/customerDeliverySlice.js +102 -0
  145. package/lib/features/customerDeliverySlice.js.map +1 -0
  146. package/lib/features/index.d.ts +21 -0
  147. package/lib/features/index.js +39 -0
  148. package/lib/features/index.js.map +1 -0
  149. package/lib/features/internalMoveLineSlice.d.ts +16 -0
  150. package/lib/features/internalMoveLineSlice.js +71 -0
  151. package/lib/features/internalMoveLineSlice.js.map +1 -0
  152. package/lib/features/internalMoveSlice.d.ts +38 -0
  153. package/lib/features/internalMoveSlice.js +105 -0
  154. package/lib/features/internalMoveSlice.js.map +1 -0
  155. package/lib/features/inventoryLineSlice.d.ts +38 -0
  156. package/lib/features/inventoryLineSlice.js +105 -0
  157. package/lib/features/inventoryLineSlice.js.map +1 -0
  158. package/lib/features/inventorySlice.d.ts +47 -0
  159. package/lib/features/inventorySlice.js +129 -0
  160. package/lib/features/inventorySlice.js.map +1 -0
  161. package/lib/features/partnerSlice.d.ts +25 -0
  162. package/lib/features/partnerSlice.js +65 -0
  163. package/lib/features/partnerSlice.js.map +1 -0
  164. package/lib/features/productIndicatorsSlice.d.ts +37 -0
  165. package/lib/features/productIndicatorsSlice.js +101 -0
  166. package/lib/features/productIndicatorsSlice.js.map +1 -0
  167. package/lib/features/productSlice.d.ts +39 -0
  168. package/lib/features/productSlice.js +105 -0
  169. package/lib/features/productSlice.js.map +1 -0
  170. package/lib/features/productVariantSlice.d.ts +27 -0
  171. package/lib/features/productVariantSlice.js +98 -0
  172. package/lib/features/productVariantSlice.js.map +1 -0
  173. package/lib/features/racksListSlice.d.ts +14 -0
  174. package/lib/features/racksListSlice.js +63 -0
  175. package/lib/features/racksListSlice.js.map +1 -0
  176. package/lib/features/stockAppConfigSlice.d.ts +14 -0
  177. package/lib/features/stockAppConfigSlice.js +49 -0
  178. package/lib/features/stockAppConfigSlice.js.map +1 -0
  179. package/lib/features/stockCorrectionReasonSlice.d.ts +14 -0
  180. package/lib/features/stockCorrectionReasonSlice.js +48 -0
  181. package/lib/features/stockCorrectionReasonSlice.js.map +1 -0
  182. package/lib/features/stockCorrectionSlice.d.ts +38 -0
  183. package/lib/features/stockCorrectionSlice.js +105 -0
  184. package/lib/features/stockCorrectionSlice.js.map +1 -0
  185. package/lib/features/stockLocationLineSlice.d.ts +16 -0
  186. package/lib/features/stockLocationLineSlice.js +71 -0
  187. package/lib/features/stockLocationLineSlice.js.map +1 -0
  188. package/lib/features/stockLocationSlice.d.ts +25 -0
  189. package/lib/features/stockLocationSlice.js +65 -0
  190. package/lib/features/stockLocationSlice.js.map +1 -0
  191. package/lib/features/supplierArrivalLineSlice.d.ts +27 -0
  192. package/lib/features/supplierArrivalLineSlice.js +88 -0
  193. package/lib/features/supplierArrivalLineSlice.js.map +1 -0
  194. package/lib/features/supplierArrivalSlice.d.ts +38 -0
  195. package/lib/features/supplierArrivalSlice.js +105 -0
  196. package/lib/features/supplierArrivalSlice.js.map +1 -0
  197. package/lib/features/supplierCatalogSlice.d.ts +14 -0
  198. package/lib/features/supplierCatalogSlice.js +48 -0
  199. package/lib/features/supplierCatalogSlice.js.map +1 -0
  200. package/lib/features/trackingNumberSlice.d.ts +35 -0
  201. package/lib/features/trackingNumberSlice.js +96 -0
  202. package/lib/features/trackingNumberSlice.js.map +1 -0
  203. package/lib/features/unitSlice.d.ts +14 -0
  204. package/lib/features/unitSlice.js +48 -0
  205. package/lib/features/unitSlice.js.map +1 -0
  206. package/lib/i18n/en.json +103 -0
  207. package/lib/i18n/fr.json +103 -0
  208. package/lib/index.d.ts +14 -0
  209. package/lib/index.js +97 -0
  210. package/lib/index.js.map +1 -0
  211. package/lib/screens/auth/UserScreen.d.ts +4 -0
  212. package/lib/screens/auth/UserScreen.js +54 -0
  213. package/lib/screens/auth/UserScreen.js.map +1 -0
  214. package/lib/screens/customerDeliveries/CustomerDeliveryDetailScreen.d.ts +5 -0
  215. package/lib/screens/customerDeliveries/CustomerDeliveryDetailScreen.js +149 -0
  216. package/lib/screens/customerDeliveries/CustomerDeliveryDetailScreen.js.map +1 -0
  217. package/lib/screens/customerDeliveries/CustomerDeliveryLineDetailScreen.d.ts +5 -0
  218. package/lib/screens/customerDeliveries/CustomerDeliveryLineDetailScreen.js +140 -0
  219. package/lib/screens/customerDeliveries/CustomerDeliveryLineDetailScreen.js.map +1 -0
  220. package/lib/screens/customerDeliveries/CustomerDeliveryLineListScreen.d.ts +5 -0
  221. package/lib/screens/customerDeliveries/CustomerDeliveryLineListScreen.js +116 -0
  222. package/lib/screens/customerDeliveries/CustomerDeliveryLineListScreen.js.map +1 -0
  223. package/lib/screens/customerDeliveries/CustomerDeliveryListScreen.d.ts +4 -0
  224. package/lib/screens/customerDeliveries/CustomerDeliveryListScreen.js +130 -0
  225. package/lib/screens/customerDeliveries/CustomerDeliveryListScreen.js.map +1 -0
  226. package/lib/screens/customerDeliveries/CustomerDeliverySelectProductScreen.d.ts +5 -0
  227. package/lib/screens/customerDeliveries/CustomerDeliverySelectProductScreen.js +76 -0
  228. package/lib/screens/customerDeliveries/CustomerDeliverySelectProductScreen.js.map +1 -0
  229. package/lib/screens/customerDeliveries/CustomerDeliverySelectTrackingScreen.d.ts +5 -0
  230. package/lib/screens/customerDeliveries/CustomerDeliverySelectTrackingScreen.js +79 -0
  231. package/lib/screens/customerDeliveries/CustomerDeliverySelectTrackingScreen.js.map +1 -0
  232. package/lib/screens/customerDeliveries/index.d.ts +66 -0
  233. package/lib/screens/customerDeliveries/index.js +68 -0
  234. package/lib/screens/customerDeliveries/index.js.map +1 -0
  235. package/lib/screens/internalMoves/InternalMoveDetailsGeneralScreen.d.ts +5 -0
  236. package/lib/screens/internalMoves/InternalMoveDetailsGeneralScreen.js +102 -0
  237. package/lib/screens/internalMoves/InternalMoveDetailsGeneralScreen.js.map +1 -0
  238. package/lib/screens/internalMoves/InternalMoveLineDetailsScreen.d.ts +5 -0
  239. package/lib/screens/internalMoves/InternalMoveLineDetailsScreen.js +296 -0
  240. package/lib/screens/internalMoves/InternalMoveLineDetailsScreen.js.map +1 -0
  241. package/lib/screens/internalMoves/InternalMoveLineListScreen.d.ts +5 -0
  242. package/lib/screens/internalMoves/InternalMoveLineListScreen.js +107 -0
  243. package/lib/screens/internalMoves/InternalMoveLineListScreen.js.map +1 -0
  244. package/lib/screens/internalMoves/InternalMoveListScreen.d.ts +4 -0
  245. package/lib/screens/internalMoves/InternalMoveListScreen.js +162 -0
  246. package/lib/screens/internalMoves/InternalMoveListScreen.js.map +1 -0
  247. package/lib/screens/internalMoves/InternalMoveSelectFromLocationScreen.d.ts +5 -0
  248. package/lib/screens/internalMoves/InternalMoveSelectFromLocationScreen.js +48 -0
  249. package/lib/screens/internalMoves/InternalMoveSelectFromLocationScreen.js.map +1 -0
  250. package/lib/screens/internalMoves/InternalMoveSelectProductScreen.d.ts +5 -0
  251. package/lib/screens/internalMoves/InternalMoveSelectProductScreen.js +98 -0
  252. package/lib/screens/internalMoves/InternalMoveSelectProductScreen.js.map +1 -0
  253. package/lib/screens/internalMoves/InternalMoveSelectToLocationScreen.d.ts +5 -0
  254. package/lib/screens/internalMoves/InternalMoveSelectToLocationScreen.js +53 -0
  255. package/lib/screens/internalMoves/InternalMoveSelectToLocationScreen.js.map +1 -0
  256. package/lib/screens/internalMoves/InternalMoveSelectTrackingScreen.d.ts +5 -0
  257. package/lib/screens/internalMoves/InternalMoveSelectTrackingScreen.js +101 -0
  258. package/lib/screens/internalMoves/InternalMoveSelectTrackingScreen.js.map +1 -0
  259. package/lib/screens/internalMoves/index.d.ts +78 -0
  260. package/lib/screens/internalMoves/index.js +78 -0
  261. package/lib/screens/internalMoves/index.js.map +1 -0
  262. package/lib/screens/inventories/InventoryLineDetailsScreen.d.ts +5 -0
  263. package/lib/screens/inventories/InventoryLineDetailsScreen.js +98 -0
  264. package/lib/screens/inventories/InventoryLineDetailsScreen.js.map +1 -0
  265. package/lib/screens/inventories/InventoryLineListScreen.d.ts +5 -0
  266. package/lib/screens/inventories/InventoryLineListScreen.js +122 -0
  267. package/lib/screens/inventories/InventoryLineListScreen.js.map +1 -0
  268. package/lib/screens/inventories/InventoryListScreen.d.ts +4 -0
  269. package/lib/screens/inventories/InventoryListScreen.js +148 -0
  270. package/lib/screens/inventories/InventoryListScreen.js.map +1 -0
  271. package/lib/screens/inventories/InventoryPlannedDetailsScreen.d.ts +5 -0
  272. package/lib/screens/inventories/InventoryPlannedDetailsScreen.js +81 -0
  273. package/lib/screens/inventories/InventoryPlannedDetailsScreen.js.map +1 -0
  274. package/lib/screens/inventories/InventorySelectProductScreen.d.ts +5 -0
  275. package/lib/screens/inventories/InventorySelectProductScreen.js +83 -0
  276. package/lib/screens/inventories/InventorySelectProductScreen.js.map +1 -0
  277. package/lib/screens/inventories/InventorySelectTrackingScreen.d.ts +5 -0
  278. package/lib/screens/inventories/InventorySelectTrackingScreen.js +81 -0
  279. package/lib/screens/inventories/InventorySelectTrackingScreen.js.map +1 -0
  280. package/lib/screens/inventories/InventoryStartedDetailsScreen.d.ts +5 -0
  281. package/lib/screens/inventories/InventoryStartedDetailsScreen.js +110 -0
  282. package/lib/screens/inventories/InventoryStartedDetailsScreen.js.map +1 -0
  283. package/lib/screens/inventories/index.d.ts +77 -0
  284. package/lib/screens/inventories/index.js +76 -0
  285. package/lib/screens/inventories/index.js.map +1 -0
  286. package/lib/screens/products/ProductDetailsScreen.d.ts +5 -0
  287. package/lib/screens/products/ProductDetailsScreen.js +135 -0
  288. package/lib/screens/products/ProductDetailsScreen.js.map +1 -0
  289. package/lib/screens/products/ProductImageScreen.d.ts +4 -0
  290. package/lib/screens/products/ProductImageScreen.js +62 -0
  291. package/lib/screens/products/ProductImageScreen.js.map +1 -0
  292. package/lib/screens/products/ProductListScreen.d.ts +4 -0
  293. package/lib/screens/products/ProductListScreen.js +72 -0
  294. package/lib/screens/products/ProductListScreen.js.map +1 -0
  295. package/lib/screens/products/ProductListVariantScreen.d.ts +5 -0
  296. package/lib/screens/products/ProductListVariantScreen.js +66 -0
  297. package/lib/screens/products/ProductListVariantScreen.js.map +1 -0
  298. package/lib/screens/products/ProductStockDetailsScreen.d.ts +5 -0
  299. package/lib/screens/products/ProductStockDetailsScreen.js +201 -0
  300. package/lib/screens/products/ProductStockDetailsScreen.js.map +1 -0
  301. package/lib/screens/products/ProductStockLocationDetailsScreen.d.ts +4 -0
  302. package/lib/screens/products/ProductStockLocationDetailsScreen.js +110 -0
  303. package/lib/screens/products/ProductStockLocationDetailsScreen.js.map +1 -0
  304. package/lib/screens/products/index.d.ts +46 -0
  305. package/lib/screens/products/index.js +56 -0
  306. package/lib/screens/products/index.js.map +1 -0
  307. package/lib/screens/stockCorrections/StockCorrectionDetailsScreen.d.ts +5 -0
  308. package/lib/screens/stockCorrections/StockCorrectionDetailsScreen.js +271 -0
  309. package/lib/screens/stockCorrections/StockCorrectionDetailsScreen.js.map +1 -0
  310. package/lib/screens/stockCorrections/StockCorrectionListScreen.d.ts +4 -0
  311. package/lib/screens/stockCorrections/StockCorrectionListScreen.js +140 -0
  312. package/lib/screens/stockCorrections/StockCorrectionListScreen.js.map +1 -0
  313. package/lib/screens/stockCorrections/StockCorrectionNewLocationScreen.d.ts +5 -0
  314. package/lib/screens/stockCorrections/StockCorrectionNewLocationScreen.js +48 -0
  315. package/lib/screens/stockCorrections/StockCorrectionNewLocationScreen.js.map +1 -0
  316. package/lib/screens/stockCorrections/StockCorrectionNewProductScreen.d.ts +5 -0
  317. package/lib/screens/stockCorrections/StockCorrectionNewProductScreen.js +55 -0
  318. package/lib/screens/stockCorrections/StockCorrectionNewProductScreen.js.map +1 -0
  319. package/lib/screens/stockCorrections/StockCorrectionNewTrackingScreen.d.ts +5 -0
  320. package/lib/screens/stockCorrections/StockCorrectionNewTrackingScreen.js +54 -0
  321. package/lib/screens/stockCorrections/StockCorrectionNewTrackingScreen.js.map +1 -0
  322. package/lib/screens/stockCorrections/index.d.ts +40 -0
  323. package/lib/screens/stockCorrections/index.js +51 -0
  324. package/lib/screens/stockCorrections/index.js.map +1 -0
  325. package/lib/screens/supplierArrivals/SupplierArrivalAddTrackingScreen.d.ts +5 -0
  326. package/lib/screens/supplierArrivals/SupplierArrivalAddTrackingScreen.js +87 -0
  327. package/lib/screens/supplierArrivals/SupplierArrivalAddTrackingScreen.js.map +1 -0
  328. package/lib/screens/supplierArrivals/SupplierArrivalDetailsScreen.d.ts +5 -0
  329. package/lib/screens/supplierArrivals/SupplierArrivalDetailsScreen.js +120 -0
  330. package/lib/screens/supplierArrivals/SupplierArrivalDetailsScreen.js.map +1 -0
  331. package/lib/screens/supplierArrivals/SupplierArrivalLineDetailScreen.d.ts +5 -0
  332. package/lib/screens/supplierArrivals/SupplierArrivalLineDetailScreen.js +167 -0
  333. package/lib/screens/supplierArrivals/SupplierArrivalLineDetailScreen.js.map +1 -0
  334. package/lib/screens/supplierArrivals/SupplierArrivalLineListScreen.d.ts +5 -0
  335. package/lib/screens/supplierArrivals/SupplierArrivalLineListScreen.js +107 -0
  336. package/lib/screens/supplierArrivals/SupplierArrivalLineListScreen.js.map +1 -0
  337. package/lib/screens/supplierArrivals/SupplierArrivalListScreen.d.ts +4 -0
  338. package/lib/screens/supplierArrivals/SupplierArrivalListScreen.js +126 -0
  339. package/lib/screens/supplierArrivals/SupplierArrivalListScreen.js.map +1 -0
  340. package/lib/screens/supplierArrivals/SupplierArrivalSelectProductScreen.d.ts +5 -0
  341. package/lib/screens/supplierArrivals/SupplierArrivalSelectProductScreen.js +79 -0
  342. package/lib/screens/supplierArrivals/SupplierArrivalSelectProductScreen.js.map +1 -0
  343. package/lib/screens/supplierArrivals/SupplierArrivalSelectTrackingScreen.d.ts +5 -0
  344. package/lib/screens/supplierArrivals/SupplierArrivalSelectTrackingScreen.js +106 -0
  345. package/lib/screens/supplierArrivals/SupplierArrivalSelectTrackingScreen.js.map +1 -0
  346. package/lib/screens/supplierArrivals/index.d.ts +77 -0
  347. package/lib/screens/supplierArrivals/index.js +76 -0
  348. package/lib/screens/supplierArrivals/index.js.map +1 -0
  349. package/lib/types/index.d.ts +5 -0
  350. package/lib/types/index.js +23 -0
  351. package/lib/types/index.js.map +1 -0
  352. package/lib/types/inventory.d.ts +16 -0
  353. package/lib/types/inventory.js +88 -0
  354. package/lib/types/inventory.js.map +1 -0
  355. package/lib/types/product.d.ts +16 -0
  356. package/lib/types/product.js +62 -0
  357. package/lib/types/product.js.map +1 -0
  358. package/lib/types/stock-corrrection.d.ts +11 -0
  359. package/lib/types/stock-corrrection.js +47 -0
  360. package/lib/types/stock-corrrection.js.map +1 -0
  361. package/lib/types/stock-location.d.ts +8 -0
  362. package/lib/types/stock-location.js +26 -0
  363. package/lib/types/stock-location.js.map +1 -0
  364. package/lib/types/stock-move.d.ts +36 -0
  365. package/lib/types/stock-move.js +124 -0
  366. package/lib/types/stock-move.js.map +1 -0
  367. package/lib/utils/displayers.d.ts +4 -0
  368. package/lib/utils/displayers.js +22 -0
  369. package/lib/utils/displayers.js.map +1 -0
  370. package/lib/utils/filters.d.ts +6 -0
  371. package/lib/utils/filters.js +77 -0
  372. package/lib/utils/filters.js.map +1 -0
  373. package/package.json +48 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-api.js","sourceRoot":"","sources":["../../src/api/inventory-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAE3C,MAAM,eAAe,GAAG;IACtB,IAAI;IACJ,eAAe;IACf,SAAS;IACT,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,WAAW;IACX,mBAAmB;IACnB,iBAAiB;IACjB,aAAa;IACb,YAAY;IACZ,cAAc;IACd,SAAS;IACT,aAAa;IACb,SAAS;IACT,UAAU;IACV,QAAQ;IACR,iBAAiB;IACjB,eAAe;CAChB,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB,cAAc;IACd,cAAc;IACd,mBAAmB;IACnB,cAAc;CACf,CAAC;AAEF,MAAM,oBAAoB,GAAG,WAAW,CAAC,EAAE;IACzC,MAAM,QAAQ,GAAG,EAAE,CAAC;IACpB,QAAQ,CAAC,IAAI,CACX;QACE,SAAS,EAAE,cAAc;QACzB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,SAAS,CAAC,MAAM,CAAC,KAAK;KAC9B,EACD;QACE,SAAS,EAAE,cAAc;QACzB,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,SAAS,CAAC,M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,UAAU,qBAAqB,CAAC,EAC1C,WAAW,EACX,OAAO,EACP,MAAM,EACN,MAAM,GAAG,IAAI,GACd;IACC,OAAO,gBAAgB,CAAC,GAAG,CAAC;QAC1B,GAAG,EAAE,mCAAmC,WAAW,EAAE;QACrD,IAAI,EACF,MAAM,IAAI,IAAI;YACZ,CAAC,CAAC;gBACE,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,MAAM;gBACd,MAAM,EAAE,MAAM;aACf;YACH,CAAC,CAAC;gBACE,OAAO,EAAE,OAAO;gBAChB,MAAM,EAAE,MAAM;aACf;KACR,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,18 @@
1
+ export function searchInventoryLines({ inventoryId, page }: {
2
+ inventoryId: any;
3
+ page?: number;
4
+ }): Promise<any>;
5
+ export function updateInventoryLineDetails({ inventoryLineId, version, realQty, description, }: {
6
+ inventoryLineId: any;
7
+ version: any;
8
+ realQty: any;
9
+ description?: any;
10
+ }): Promise<any>;
11
+ export function createInventoryLine({ inventoryId, inventoryVersion, productId, trackingNumberId, rack, realQty, }: {
12
+ inventoryId: any;
13
+ inventoryVersion: any;
14
+ productId: any;
15
+ trackingNumberId?: any;
16
+ rack?: any;
17
+ realQty: any;
18
+ }): Promise<any>;
@@ -0,0 +1,76 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2023 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { axiosApiProvider } from '@axelor/aos-mobile-core';
19
+ const inventoryLineFields = [
20
+ 'id',
21
+ 'product',
22
+ 'currentQty',
23
+ 'realQty',
24
+ 'unit',
25
+ 'rack',
26
+ 'trackingNumber',
27
+ 'description',
28
+ ];
29
+ export async function searchInventoryLines({ inventoryId, page = 0 }) {
30
+ return axiosApiProvider.post({
31
+ url: '/ws/rest/com.axelor.apps.stock.db.InventoryLine/search',
32
+ data: {
33
+ data: {
34
+ criteria: [
35
+ {
36
+ operator: 'and',
37
+ criteria: [
38
+ {
39
+ fieldName: 'inventory.id',
40
+ operator: '=',
41
+ value: inventoryId,
42
+ },
43
+ ],
44
+ },
45
+ ],
46
+ },
47
+ fields: inventoryLineFields,
48
+ limit: 10,
49
+ offset: 10 * page,
50
+ },
51
+ });
52
+ }
53
+ export async function updateInventoryLineDetails({ inventoryLineId, version, realQty, description = null, }) {
54
+ return axiosApiProvider.put({
55
+ url: `/ws/aos/inventory-line/${inventoryLineId}`,
56
+ data: {
57
+ version: version,
58
+ realQty: realQty,
59
+ description: description,
60
+ },
61
+ });
62
+ }
63
+ export async function createInventoryLine({ inventoryId, inventoryVersion, productId, trackingNumberId = null, rack = null, realQty, }) {
64
+ return axiosApiProvider.post({
65
+ url: '/ws/aos/inventory-line/',
66
+ data: {
67
+ inventoryId: inventoryId,
68
+ inventoryVersion: inventoryVersion,
69
+ productId: productId,
70
+ trackingNumberId: trackingNumberId,
71
+ rack: rack,
72
+ realQty: realQty,
73
+ },
74
+ });
75
+ }
76
+ //# sourceMappingURL=inventory-line-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory-line-api.js","sourceRoot":"","sources":["../../src/api/inventory-line-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAEzD,MAAM,mBAAmB,GAAG;IAC1B,IAAI;IACJ,SAAS;IACT,YAAY;IACZ,SAAS;IACT,MAAM;IACN,MAAM;IACN,gBAAgB;IAChB,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}
@@ -0,0 +1,8 @@
1
+ export function searchSuppliersFilter({ searchValue, page }: {
2
+ searchValue: any;
3
+ page?: number;
4
+ }): Promise<any>;
5
+ export function searchClientsFilter({ searchValue, page }: {
6
+ searchValue: any;
7
+ page?: number;
8
+ }): Promise<any>;
@@ -0,0 +1,155 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2023 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { axiosApiProvider } from '@axelor/aos-mobile-core';
19
+ const partnerFields = [
20
+ 'id',
21
+ 'partnerSeq',
22
+ 'fullName',
23
+ 'name',
24
+ 'firstName',
25
+ 'simpleFullName',
26
+ ];
27
+ export async function searchSuppliersFilter({ searchValue, page = 0 }) {
28
+ return axiosApiProvider.post({
29
+ url: '/ws/rest/com.axelor.apps.base.db.Partner/search',
30
+ data: {
31
+ data: {
32
+ criteria: [
33
+ {
34
+ operator: 'and',
35
+ criteria: [
36
+ {
37
+ fieldName: 'isContact',
38
+ operator: '=',
39
+ value: false,
40
+ },
41
+ {
42
+ fieldName: 'isSupplier',
43
+ operator: '=',
44
+ value: true,
45
+ },
46
+ {
47
+ operator: 'or',
48
+ criteria: [
49
+ {
50
+ fieldName: 'fullName',
51
+ operator: 'like',
52
+ value: searchValue,
53
+ },
54
+ {
55
+ fieldName: 'partnerSeq',
56
+ operator: 'like',
57
+ value: searchValue,
58
+ },
59
+ {
60
+ fieldName: 'name',
61
+ operator: 'like',
62
+ value: searchValue,
63
+ },
64
+ {
65
+ fieldName: 'firstName',
66
+ operator: 'like',
67
+ value: searchValue,
68
+ },
69
+ {
70
+ fieldName: 'simpleFullName',
71
+ operator: 'like',
72
+ value: searchValue,
73
+ },
74
+ ],
75
+ },
76
+ ],
77
+ },
78
+ ],
79
+ },
80
+ fields: partnerFields,
81
+ limit: 10,
82
+ offset: 10 * page,
83
+ },
84
+ });
85
+ }
86
+ export async function searchClientsFilter({ searchValue, page = 0 }) {
87
+ return axiosApiProvider.post({
88
+ url: '/ws/rest/com.axelor.apps.base.db.Partner/search',
89
+ data: {
90
+ data: {
91
+ criteria: [
92
+ {
93
+ operator: 'and',
94
+ criteria: [
95
+ {
96
+ fieldName: 'isContact',
97
+ operator: '=',
98
+ value: false,
99
+ },
100
+ {
101
+ operator: 'or',
102
+ criteria: [
103
+ {
104
+ fieldName: 'isCustomer',
105
+ operator: '=',
106
+ value: true,
107
+ },
108
+ {
109
+ fieldName: 'isProspect',
110
+ operator: '=',
111
+ value: true,
112
+ },
113
+ ],
114
+ },
115
+ {
116
+ operator: 'or',
117
+ criteria: [
118
+ {
119
+ fieldName: 'fullName',
120
+ operator: 'like',
121
+ value: searchValue,
122
+ },
123
+ {
124
+ fieldName: 'partnerSeq',
125
+ operator: 'like',
126
+ value: searchValue,
127
+ },
128
+ {
129
+ fieldName: 'name',
130
+ operator: 'like',
131
+ value: searchValue,
132
+ },
133
+ {
134
+ fieldName: 'firstName',
135
+ operator: 'like',
136
+ value: searchValue,
137
+ },
138
+ {
139
+ fieldName: 'simpleFullName',
140
+ operator: 'like',
141
+ value: searchValue,
142
+ },
143
+ ],
144
+ },
145
+ ],
146
+ },
147
+ ],
148
+ },
149
+ fields: partnerFields,
150
+ limit: 10,
151
+ offset: 10 * page,
152
+ },
153
+ });
154
+ }
155
+ //# sourceMappingURL=partner-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partner-api.js","sourceRoot":"","sources":["../../src/api/partner-api.js"],"names":[],"mappings":"AAAA;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,IAAI;SAClB;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,26 @@
1
+ export function searchProductsFilter({ searchValue, page }: {
2
+ searchValue: any;
3
+ page?: number;
4
+ }): Promise<any>;
5
+ export function searchProductWithId(productId: any): Promise<any>;
6
+ export function searchProductBySerialNumber(serialNumber: any): Promise<any>;
7
+ export function updateLocker({ productId, stockLocationId, newLocker, version, }: {
8
+ productId: any;
9
+ stockLocationId: any;
10
+ newLocker: any;
11
+ version: any;
12
+ }): Promise<any>;
13
+ export function fetchVariants({ productVariantParentId, page }: {
14
+ productVariantParentId: any;
15
+ page?: number;
16
+ }): Promise<any>;
17
+ export function getProductStockIndicators({ productId, companyId, stockLocationId, version, }: {
18
+ productId: any;
19
+ companyId: any;
20
+ stockLocationId: any;
21
+ version: any;
22
+ }): Promise<any>;
23
+ export function fetchVariantAttributes({ productVariantId, version }: {
24
+ productVariantId: any;
25
+ version: any;
26
+ }): Promise<any>;
@@ -0,0 +1,189 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2023 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { axiosApiProvider, getApiResponseData, getFirstData, } from '@axelor/aos-mobile-core';
19
+ const productFields = [
20
+ 'name',
21
+ 'code',
22
+ 'fullName',
23
+ 'picture',
24
+ 'trackingNumberConfiguration',
25
+ 'unit',
26
+ 'salesUnit',
27
+ 'purchasesUnit',
28
+ 'length',
29
+ 'height',
30
+ 'width',
31
+ 'lengthUnit',
32
+ 'description',
33
+ 'netMass',
34
+ 'grossMass',
35
+ 'massUnit',
36
+ 'productCategory',
37
+ 'procurementMethodSelect',
38
+ 'isUnrenewed',
39
+ 'isPrototype',
40
+ 'picture',
41
+ 'serialNumber',
42
+ 'trackingNumberConfiguration',
43
+ 'parentProduct',
44
+ 'productVariant',
45
+ ];
46
+ const sortByFields = ['name'];
47
+ const createProductCriteria = searchValue => {
48
+ let criterias = [];
49
+ criterias.push({
50
+ fieldName: 'isModel',
51
+ operator: '=',
52
+ value: false,
53
+ }, {
54
+ fieldName: 'productTypeSelect',
55
+ operator: '=',
56
+ value: 'storable',
57
+ }, {
58
+ fieldName: 'stockManaged',
59
+ operator: '=',
60
+ value: true,
61
+ }, {
62
+ fieldName: 'dtype',
63
+ operator: '=',
64
+ value: 'Product',
65
+ });
66
+ if (searchValue != null) {
67
+ criterias.push({
68
+ operator: 'or',
69
+ criteria: [
70
+ {
71
+ fieldName: 'name',
72
+ operator: 'like',
73
+ value: searchValue,
74
+ },
75
+ {
76
+ fieldName: 'code',
77
+ operator: 'like',
78
+ value: searchValue,
79
+ },
80
+ {
81
+ fieldName: 'serialNumber',
82
+ operator: 'like',
83
+ value: searchValue,
84
+ },
85
+ ],
86
+ });
87
+ }
88
+ return criterias;
89
+ };
90
+ export async function searchProductsFilter({ searchValue, page = 0 }) {
91
+ return axiosApiProvider.post({
92
+ url: '/ws/rest/com.axelor.apps.base.db.Product/search',
93
+ data: {
94
+ data: {
95
+ criteria: [
96
+ {
97
+ operator: 'and',
98
+ criteria: createProductCriteria(searchValue),
99
+ },
100
+ ],
101
+ },
102
+ fields: productFields,
103
+ sortBy: sortByFields,
104
+ limit: 10,
105
+ offset: 10 * page,
106
+ },
107
+ });
108
+ }
109
+ export async function searchProductWithId(productId) {
110
+ return axiosApiProvider.post({
111
+ url: `/ws/rest/com.axelor.apps.base.db.Product/${productId}/fetch`,
112
+ data: {
113
+ fields: productFields,
114
+ },
115
+ });
116
+ }
117
+ export function searchProductBySerialNumber(serialNumber) {
118
+ return axiosApiProvider
119
+ .post({
120
+ url: '/ws/rest/com.axelor.apps.base.db.Product/search',
121
+ data: {
122
+ data: {
123
+ criteria: [
124
+ {
125
+ fieldName: 'serialNumber',
126
+ operator: '=',
127
+ value: serialNumber,
128
+ },
129
+ ],
130
+ },
131
+ fields: productFields,
132
+ limit: 1,
133
+ offset: 0,
134
+ },
135
+ })
136
+ .then(getApiResponseData)
137
+ .then(getFirstData);
138
+ }
139
+ export async function updateLocker({ productId, stockLocationId, newLocker, version, }) {
140
+ return axiosApiProvider.put({
141
+ url: `/ws/aos/stock-product/modify-locker/${productId}`,
142
+ data: {
143
+ stockLocationId: stockLocationId,
144
+ newLocker: newLocker,
145
+ version: version,
146
+ },
147
+ });
148
+ }
149
+ export async function fetchVariants({ productVariantParentId, page = 0 }) {
150
+ return axiosApiProvider.post({
151
+ url: '/ws/rest/com.axelor.apps.base.db.Product/search',
152
+ data: {
153
+ data: {
154
+ criteria: [
155
+ {
156
+ operator: 'and',
157
+ criteria: [
158
+ {
159
+ fieldName: 'parentProduct.id',
160
+ operator: '=',
161
+ value: productVariantParentId,
162
+ },
163
+ ],
164
+ },
165
+ ],
166
+ },
167
+ fields: productFields,
168
+ limit: 10,
169
+ offset: 10 * page,
170
+ },
171
+ });
172
+ }
173
+ export async function getProductStockIndicators({ productId, companyId, stockLocationId, version, }) {
174
+ return axiosApiProvider.post({
175
+ url: `/ws/aos/stock-product/fetch-product-with-stock/${productId}`,
176
+ data: {
177
+ companyId: companyId,
178
+ stockLocationId: stockLocationId,
179
+ version: version,
180
+ },
181
+ });
182
+ }
183
+ export async function fetchVariantAttributes({ productVariantId, version }) {
184
+ return axiosApiProvider.post({
185
+ url: `/ws/aos/stock-product/get-variant-attributes/${productVariantId}`,
186
+ data: { version: version },
187
+ });
188
+ }
189
+ //# sourceMappingURL=product-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-api.js","sourceRoot":"","sources":["../../src/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,gBAAgB,EAAE;QACvE,IAAI,EAAE,EAAC,OAAO,EAAE,OAAO,EAAC;KACzB,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,17 @@
1
+ export function searchStockCorrection({ page }: {
2
+ page?: number;
3
+ }): Promise<any>;
4
+ export function createStockCorrection({ productId, stockLocationId, reasonId, trackingNumberId, status, realQty, }: {
5
+ productId: any;
6
+ stockLocationId: any;
7
+ reasonId: any;
8
+ trackingNumberId: any;
9
+ status: any;
10
+ realQty: any;
11
+ }): Promise<any>;
12
+ export function updateStockCorrection({ stockCorrectionId, version, realQty, status, }: {
13
+ stockCorrectionId: any;
14
+ version: any;
15
+ realQty: any;
16
+ status: any;
17
+ }): Promise<any>;
@@ -0,0 +1,73 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2023 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { axiosApiProvider } from '@axelor/aos-mobile-core';
19
+ const stockCorrectionFields = [
20
+ 'statusSelect',
21
+ 'product',
22
+ 'stockLocation',
23
+ 'createdOn',
24
+ 'validationDateT',
25
+ 'trackingNumber',
26
+ 'realQty',
27
+ 'baseQty',
28
+ 'stockCorrectionReason',
29
+ ];
30
+ const sortByFields = ['statusSelect', '-validationDateT', 'createdOn'];
31
+ export async function searchStockCorrection({ page = 0 }) {
32
+ return axiosApiProvider.post({
33
+ url: '/ws/rest/com.axelor.apps.stock.db.StockCorrection/search',
34
+ data: {
35
+ data: {
36
+ criteria: [
37
+ {
38
+ operator: 'and',
39
+ criteria: [],
40
+ },
41
+ ],
42
+ },
43
+ fields: stockCorrectionFields,
44
+ sortBy: sortByFields,
45
+ limit: 10,
46
+ offset: 10 * page,
47
+ },
48
+ });
49
+ }
50
+ export async function createStockCorrection({ productId, stockLocationId, reasonId, trackingNumberId, status, realQty, }) {
51
+ return axiosApiProvider.post({
52
+ url: 'ws/aos/stock-correction/',
53
+ data: {
54
+ productId: productId,
55
+ stockLocationId: stockLocationId,
56
+ reasonId: reasonId,
57
+ trackingNumberId: trackingNumberId,
58
+ status: status,
59
+ realQty: realQty,
60
+ },
61
+ });
62
+ }
63
+ export async function updateStockCorrection({ stockCorrectionId, version, realQty, status, }) {
64
+ return axiosApiProvider.put({
65
+ url: `/ws/aos/stock-correction/${stockCorrectionId}`,
66
+ data: {
67
+ version: version,
68
+ realQty: realQty,
69
+ status: status,
70
+ },
71
+ });
72
+ }
73
+ //# sourceMappingURL=stock-correction-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stock-correction-api.js","sourceRoot":"","sources":["../../src/api/stock-correction-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAEzD,MAAM,qBAAqB,GAAG;IAC5B,cAAc;IACd,SAAS;IACT,eAAe;IACf,WAAW;IACX,iBAAiB;IACjB,gBAAgB;IAChB,SAAS;IACT,SAAS;IACT,uBAAuB;CACxB,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,cAAc,EAAE,kBAAkB,EAAE,WAAW,CAAC,CAAC;AAEvE,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,EAAC,IAAI,GAAG,CAAC,EAAC;IACpD,OAAO,gBAAgB,CAAC,IAAI,CAAC;QAC3B,GAAG,EAAE,0DAA0D;QAC/D,IAAI,EAAE;YACJ,IAAI,EAAE;gBACJ,QAAQ,EAAE;oBACR;wBACE,QAAQ,EAAE,KAAK;wBACf,QAAQ,EAAE,EAAE;qBACb;iBACF;aACF;YACD,MAAM,EAAE,qBAAqB;YAC7B,MAAM,EAAE,YAAY;YACpB,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE,GAAG,IAAI;SAClB;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,EAC1C,SAAS,EACT,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,MAAM,EACN,OAAO,GACR;IACC,OAAO,gBAAgB,CAAC,IAAI,CAAC;QAC3B,GAAG,EAAE,0BAA0B;QAC/B,IAAI,EAAE;YACJ,SAAS,EAAE,SAAS;YACpB,eAAe,EAAE,eAAe;YAChC,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,gBAAgB;YAClC,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,OAAO;SACjB;KACF,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,EAC1C,iBAAiB,EACjB,OAAO,EACP,OAAO,EACP,MAAM,GACP;IACC,OAAO,gBAAgB,CAAC,GAAG,CAAC;QAC1B,GAAG,EAAE,4BAA4B,iBAAiB,EAAE;QACpD,IAAI,EAAE;YACJ,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,OAAO;YAChB,MAAM,EAAE,MAAM;SACf;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1 @@
1
+ export function searchStockCorrectionReason(): Promise<any>;
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Axelor Business Solutions
3
+ *
4
+ * Copyright (C) 2023 Axelor (<http://axelor.com>).
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU Affero General Public License, version 3,
8
+ * as published by the Free Software Foundation.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU Affero General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Affero General Public License
16
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ */
18
+ import { axiosApiProvider } from '@axelor/aos-mobile-core';
19
+ export async function searchStockCorrectionReason() {
20
+ return axiosApiProvider.get({
21
+ url: '/ws/rest/com.axelor.apps.stock.db.StockCorrectionReason',
22
+ });
23
+ }
24
+ //# sourceMappingURL=stock-correction-reason-api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stock-correction-reason-api.js","sourceRoot":"","sources":["../../src/api/stock-correction-reason-api.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AAEzD,MAAM,CAAC,KAAK,UAAU,2BAA2B;IAC/C,OAAO,gBAAgB,CAAC,GAAG,CAAC;QAC1B,GAAG,EAAE,yDAAyD;KAC/D,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,7 @@
1
+ export function searchStockLocationsFilter({ searchValue, companyId, defaultStockLocation, page, }: {
2
+ searchValue?: any;
3
+ companyId?: any;
4
+ defaultStockLocation?: any;
5
+ page?: number;
6
+ }): Promise<any>;
7
+ export function searchStockLocationBySerialNumber(serialNumber: any): Promise<any>;