@kernelminds/scailo-sdk 0.0.101 → 0.0.103

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 (343) hide show
  1. package/lib/cjs/permissions.js +100 -64
  2. package/lib/cjs/src/absences.scailo_connect.js +14 -3
  3. package/lib/cjs/src/asset_indents.scailo_connect.js +35 -1
  4. package/lib/cjs/src/attendances.scailo_connect.js +14 -3
  5. package/lib/cjs/src/components.scailo_connect.js +12 -0
  6. package/lib/cjs/src/credit_notes.scailo_connect.js +23 -1
  7. package/lib/cjs/src/debit_notes.scailo_connect.js +23 -1
  8. package/lib/cjs/src/equations_families.scailo_connect.js +37 -4
  9. package/lib/cjs/src/equations_replaceables.scailo_connect.js +37 -4
  10. package/lib/cjs/src/equations_sales_bundles.scailo_connect.js +37 -4
  11. package/lib/cjs/src/equations_work_orders.scailo_connect.js +37 -4
  12. package/lib/cjs/src/equipments.scailo_connect.js +12 -0
  13. package/lib/cjs/src/expenses.scailo_connect.js +35 -1
  14. package/lib/cjs/src/feedstocks.scailo_connect.js +12 -0
  15. package/lib/cjs/src/goals.scailo_connect.js +23 -1
  16. package/lib/cjs/src/goods_dispatches.scailo_connect.js +23 -1
  17. package/lib/cjs/src/goods_receipts.scailo_connect.js +23 -1
  18. package/lib/cjs/src/infrastructures.scailo_connect.js +12 -0
  19. package/lib/cjs/src/inventory.scailo_connect.js +44 -0
  20. package/lib/cjs/src/inventory.scailo_pb.js +810 -1
  21. package/lib/cjs/src/inward_jobs_free_issue_materials.scailo_connect.js +35 -1
  22. package/lib/cjs/src/inward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
  23. package/lib/cjs/src/magic_links.scailo_pb.js +252 -0
  24. package/lib/cjs/src/merchandises.scailo_connect.js +12 -0
  25. package/lib/cjs/src/on_duties.scailo_connect.js +14 -3
  26. package/lib/cjs/src/outward_jobs_free_issue_materials.scailo_connect.js +35 -1
  27. package/lib/cjs/src/outward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
  28. package/lib/cjs/src/payroll_groups.scailo_connect.js +23 -1
  29. package/lib/cjs/src/production_indents.scailo_connect.js +35 -1
  30. package/lib/cjs/src/production_plans.scailo_connect.js +35 -1
  31. package/lib/cjs/src/products.scailo_connect.js +12 -0
  32. package/lib/cjs/src/proforma_invoices.scailo_connect.js +23 -1
  33. package/lib/cjs/src/purchases_enquiries.scailo_connect.js +35 -1
  34. package/lib/cjs/src/purchases_indents.scailo_connect.js +35 -1
  35. package/lib/cjs/src/purchases_orders.scailo_connect.js +23 -1
  36. package/lib/cjs/src/purchases_payments.scailo_connect.js +14 -3
  37. package/lib/cjs/src/purchases_returns.scailo_connect.js +23 -1
  38. package/lib/cjs/src/qc_groups.scailo_connect.js +23 -1
  39. package/lib/cjs/src/qc_samples.scailo_connect.js +12 -0
  40. package/lib/cjs/src/quotations_requests.scailo_connect.js +35 -1
  41. package/lib/cjs/src/quotations_responses.scailo_connect.js +23 -0
  42. package/lib/cjs/src/replaceable_indents.scailo_connect.js +35 -1
  43. package/lib/cjs/src/sales_enquiries.scailo_connect.js +23 -1
  44. package/lib/cjs/src/sales_invoices.scailo_connect.js +23 -1
  45. package/lib/cjs/src/sales_orders.scailo_connect.js +23 -1
  46. package/lib/cjs/src/sales_quotations.scailo_connect.js +23 -1
  47. package/lib/cjs/src/sales_receipts.scailo_connect.js +14 -3
  48. package/lib/cjs/src/sales_returns.scailo_connect.js +23 -1
  49. package/lib/cjs/src/skills_groups.scailo_connect.js +23 -1
  50. package/lib/cjs/src/stock_audits.scailo_connect.js +35 -1
  51. package/lib/cjs/src/stock_issuances.scailo_connect.js +35 -1
  52. package/lib/cjs/src/stock_returns.scailo_connect.js +35 -1
  53. package/lib/cjs/src/supply_offers.scailo_connect.js +35 -1
  54. package/lib/cjs/src/vendor_invoices.scailo_connect.js +23 -1
  55. package/lib/cjs/src/vendors.scailo_connect.js +35 -1
  56. package/lib/cjs/src/visitations.scailo_connect.js +14 -3
  57. package/lib/cjs/src/work_orders.scailo_connect.js +35 -1
  58. package/lib/cjs/types/permissions.d.ts +180 -0
  59. package/lib/cjs/types/permissions.d.ts.map +1 -1
  60. package/lib/cjs/types/src/absences.scailo_connect.d.ts +14 -3
  61. package/lib/cjs/types/src/absences.scailo_connect.d.ts.map +1 -1
  62. package/lib/cjs/types/src/asset_indents.scailo_connect.d.ts +36 -2
  63. package/lib/cjs/types/src/asset_indents.scailo_connect.d.ts.map +1 -1
  64. package/lib/cjs/types/src/attendances.scailo_connect.d.ts +14 -3
  65. package/lib/cjs/types/src/attendances.scailo_connect.d.ts.map +1 -1
  66. package/lib/cjs/types/src/components.scailo_connect.d.ts +12 -0
  67. package/lib/cjs/types/src/components.scailo_connect.d.ts.map +1 -1
  68. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts +24 -2
  69. package/lib/cjs/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  70. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts +24 -2
  71. package/lib/cjs/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  72. package/lib/cjs/types/src/equations_families.scailo_connect.d.ts +38 -5
  73. package/lib/cjs/types/src/equations_families.scailo_connect.d.ts.map +1 -1
  74. package/lib/cjs/types/src/equations_replaceables.scailo_connect.d.ts +38 -5
  75. package/lib/cjs/types/src/equations_replaceables.scailo_connect.d.ts.map +1 -1
  76. package/lib/cjs/types/src/equations_sales_bundles.scailo_connect.d.ts +38 -5
  77. package/lib/cjs/types/src/equations_sales_bundles.scailo_connect.d.ts.map +1 -1
  78. package/lib/cjs/types/src/equations_work_orders.scailo_connect.d.ts +38 -5
  79. package/lib/cjs/types/src/equations_work_orders.scailo_connect.d.ts.map +1 -1
  80. package/lib/cjs/types/src/equipments.scailo_connect.d.ts +12 -0
  81. package/lib/cjs/types/src/equipments.scailo_connect.d.ts.map +1 -1
  82. package/lib/cjs/types/src/expenses.scailo_connect.d.ts +36 -2
  83. package/lib/cjs/types/src/expenses.scailo_connect.d.ts.map +1 -1
  84. package/lib/cjs/types/src/feedstocks.scailo_connect.d.ts +12 -0
  85. package/lib/cjs/types/src/feedstocks.scailo_connect.d.ts.map +1 -1
  86. package/lib/cjs/types/src/goals.scailo_connect.d.ts +24 -2
  87. package/lib/cjs/types/src/goals.scailo_connect.d.ts.map +1 -1
  88. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts +24 -2
  89. package/lib/cjs/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  90. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts +24 -2
  91. package/lib/cjs/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  92. package/lib/cjs/types/src/infrastructures.scailo_connect.d.ts +12 -0
  93. package/lib/cjs/types/src/infrastructures.scailo_connect.d.ts.map +1 -1
  94. package/lib/cjs/types/src/inventory.scailo_connect.d.ts +45 -1
  95. package/lib/cjs/types/src/inventory.scailo_connect.d.ts.map +1 -1
  96. package/lib/cjs/types/src/inventory.scailo_pb.d.ts +590 -0
  97. package/lib/cjs/types/src/inventory.scailo_pb.d.ts.map +1 -1
  98. package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
  99. package/lib/cjs/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  100. package/lib/cjs/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
  101. package/lib/cjs/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
  102. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts +217 -1
  103. package/lib/cjs/types/src/magic_links.scailo_pb.d.ts.map +1 -1
  104. package/lib/cjs/types/src/merchandises.scailo_connect.d.ts +12 -0
  105. package/lib/cjs/types/src/merchandises.scailo_connect.d.ts.map +1 -1
  106. package/lib/cjs/types/src/on_duties.scailo_connect.d.ts +14 -3
  107. package/lib/cjs/types/src/on_duties.scailo_connect.d.ts.map +1 -1
  108. package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
  109. package/lib/cjs/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  110. package/lib/cjs/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
  111. package/lib/cjs/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
  112. package/lib/cjs/types/src/payroll_groups.scailo_connect.d.ts +24 -2
  113. package/lib/cjs/types/src/payroll_groups.scailo_connect.d.ts.map +1 -1
  114. package/lib/cjs/types/src/production_indents.scailo_connect.d.ts +36 -2
  115. package/lib/cjs/types/src/production_indents.scailo_connect.d.ts.map +1 -1
  116. package/lib/cjs/types/src/production_plans.scailo_connect.d.ts +36 -2
  117. package/lib/cjs/types/src/production_plans.scailo_connect.d.ts.map +1 -1
  118. package/lib/cjs/types/src/products.scailo_connect.d.ts +12 -0
  119. package/lib/cjs/types/src/products.scailo_connect.d.ts.map +1 -1
  120. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +24 -2
  121. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  122. package/lib/cjs/types/src/purchases_enquiries.scailo_connect.d.ts +36 -2
  123. package/lib/cjs/types/src/purchases_enquiries.scailo_connect.d.ts.map +1 -1
  124. package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts +36 -2
  125. package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
  126. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +24 -2
  127. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  128. package/lib/cjs/types/src/purchases_payments.scailo_connect.d.ts +14 -3
  129. package/lib/cjs/types/src/purchases_payments.scailo_connect.d.ts.map +1 -1
  130. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts +24 -2
  131. package/lib/cjs/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  132. package/lib/cjs/types/src/qc_groups.scailo_connect.d.ts +24 -2
  133. package/lib/cjs/types/src/qc_groups.scailo_connect.d.ts.map +1 -1
  134. package/lib/cjs/types/src/qc_samples.scailo_connect.d.ts +12 -0
  135. package/lib/cjs/types/src/qc_samples.scailo_connect.d.ts.map +1 -1
  136. package/lib/cjs/types/src/quotations_requests.scailo_connect.d.ts +36 -2
  137. package/lib/cjs/types/src/quotations_requests.scailo_connect.d.ts.map +1 -1
  138. package/lib/cjs/types/src/quotations_responses.scailo_connect.d.ts +24 -1
  139. package/lib/cjs/types/src/quotations_responses.scailo_connect.d.ts.map +1 -1
  140. package/lib/cjs/types/src/replaceable_indents.scailo_connect.d.ts +36 -2
  141. package/lib/cjs/types/src/replaceable_indents.scailo_connect.d.ts.map +1 -1
  142. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +24 -2
  143. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  144. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +24 -2
  145. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  146. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +24 -2
  147. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  148. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +24 -2
  149. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  150. package/lib/cjs/types/src/sales_receipts.scailo_connect.d.ts +14 -3
  151. package/lib/cjs/types/src/sales_receipts.scailo_connect.d.ts.map +1 -1
  152. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts +24 -2
  153. package/lib/cjs/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  154. package/lib/cjs/types/src/skills_groups.scailo_connect.d.ts +24 -2
  155. package/lib/cjs/types/src/skills_groups.scailo_connect.d.ts.map +1 -1
  156. package/lib/cjs/types/src/stock_audits.scailo_connect.d.ts +36 -2
  157. package/lib/cjs/types/src/stock_audits.scailo_connect.d.ts.map +1 -1
  158. package/lib/cjs/types/src/stock_issuances.scailo_connect.d.ts +36 -2
  159. package/lib/cjs/types/src/stock_issuances.scailo_connect.d.ts.map +1 -1
  160. package/lib/cjs/types/src/stock_returns.scailo_connect.d.ts +36 -2
  161. package/lib/cjs/types/src/stock_returns.scailo_connect.d.ts.map +1 -1
  162. package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts +36 -2
  163. package/lib/cjs/types/src/supply_offers.scailo_connect.d.ts.map +1 -1
  164. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts +24 -2
  165. package/lib/cjs/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  166. package/lib/cjs/types/src/vendors.scailo_connect.d.ts +36 -2
  167. package/lib/cjs/types/src/vendors.scailo_connect.d.ts.map +1 -1
  168. package/lib/cjs/types/src/visitations.scailo_connect.d.ts +14 -3
  169. package/lib/cjs/types/src/visitations.scailo_connect.d.ts.map +1 -1
  170. package/lib/cjs/types/src/work_orders.scailo_connect.d.ts +36 -2
  171. package/lib/cjs/types/src/work_orders.scailo_connect.d.ts.map +1 -1
  172. package/lib/esm/permissions.js +100 -64
  173. package/lib/esm/src/absences.scailo_connect.js +14 -3
  174. package/lib/esm/src/asset_indents.scailo_connect.js +35 -1
  175. package/lib/esm/src/attendances.scailo_connect.js +14 -3
  176. package/lib/esm/src/components.scailo_connect.js +12 -0
  177. package/lib/esm/src/credit_notes.scailo_connect.js +23 -1
  178. package/lib/esm/src/debit_notes.scailo_connect.js +23 -1
  179. package/lib/esm/src/equations_families.scailo_connect.js +37 -4
  180. package/lib/esm/src/equations_replaceables.scailo_connect.js +37 -4
  181. package/lib/esm/src/equations_sales_bundles.scailo_connect.js +37 -4
  182. package/lib/esm/src/equations_work_orders.scailo_connect.js +37 -4
  183. package/lib/esm/src/equipments.scailo_connect.js +12 -0
  184. package/lib/esm/src/expenses.scailo_connect.js +35 -1
  185. package/lib/esm/src/feedstocks.scailo_connect.js +12 -0
  186. package/lib/esm/src/goals.scailo_connect.js +23 -1
  187. package/lib/esm/src/goods_dispatches.scailo_connect.js +23 -1
  188. package/lib/esm/src/goods_receipts.scailo_connect.js +23 -1
  189. package/lib/esm/src/infrastructures.scailo_connect.js +12 -0
  190. package/lib/esm/src/inventory.scailo_connect.js +44 -0
  191. package/lib/esm/src/inventory.scailo_pb.js +816 -1
  192. package/lib/esm/src/inward_jobs_free_issue_materials.scailo_connect.js +35 -1
  193. package/lib/esm/src/inward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
  194. package/lib/esm/src/magic_links.scailo_pb.js +252 -0
  195. package/lib/esm/src/merchandises.scailo_connect.js +12 -0
  196. package/lib/esm/src/on_duties.scailo_connect.js +14 -3
  197. package/lib/esm/src/outward_jobs_free_issue_materials.scailo_connect.js +35 -1
  198. package/lib/esm/src/outward_jobs_free_issue_materials_returns.scailo_connect.js +35 -1
  199. package/lib/esm/src/payroll_groups.scailo_connect.js +23 -1
  200. package/lib/esm/src/production_indents.scailo_connect.js +35 -1
  201. package/lib/esm/src/production_plans.scailo_connect.js +35 -1
  202. package/lib/esm/src/products.scailo_connect.js +12 -0
  203. package/lib/esm/src/proforma_invoices.scailo_connect.js +23 -1
  204. package/lib/esm/src/purchases_enquiries.scailo_connect.js +35 -1
  205. package/lib/esm/src/purchases_indents.scailo_connect.js +35 -1
  206. package/lib/esm/src/purchases_orders.scailo_connect.js +23 -1
  207. package/lib/esm/src/purchases_payments.scailo_connect.js +14 -3
  208. package/lib/esm/src/purchases_returns.scailo_connect.js +23 -1
  209. package/lib/esm/src/qc_groups.scailo_connect.js +23 -1
  210. package/lib/esm/src/qc_samples.scailo_connect.js +12 -0
  211. package/lib/esm/src/quotations_requests.scailo_connect.js +35 -1
  212. package/lib/esm/src/quotations_responses.scailo_connect.js +23 -0
  213. package/lib/esm/src/replaceable_indents.scailo_connect.js +35 -1
  214. package/lib/esm/src/sales_enquiries.scailo_connect.js +23 -1
  215. package/lib/esm/src/sales_invoices.scailo_connect.js +23 -1
  216. package/lib/esm/src/sales_orders.scailo_connect.js +23 -1
  217. package/lib/esm/src/sales_quotations.scailo_connect.js +23 -1
  218. package/lib/esm/src/sales_receipts.scailo_connect.js +14 -3
  219. package/lib/esm/src/sales_returns.scailo_connect.js +23 -1
  220. package/lib/esm/src/skills_groups.scailo_connect.js +23 -1
  221. package/lib/esm/src/stock_audits.scailo_connect.js +35 -1
  222. package/lib/esm/src/stock_issuances.scailo_connect.js +35 -1
  223. package/lib/esm/src/stock_returns.scailo_connect.js +35 -1
  224. package/lib/esm/src/supply_offers.scailo_connect.js +35 -1
  225. package/lib/esm/src/vendor_invoices.scailo_connect.js +23 -1
  226. package/lib/esm/src/vendors.scailo_connect.js +35 -1
  227. package/lib/esm/src/visitations.scailo_connect.js +14 -3
  228. package/lib/esm/src/work_orders.scailo_connect.js +35 -1
  229. package/lib/esm/types/permissions.d.ts +180 -0
  230. package/lib/esm/types/permissions.d.ts.map +1 -1
  231. package/lib/esm/types/src/absences.scailo_connect.d.ts +14 -3
  232. package/lib/esm/types/src/absences.scailo_connect.d.ts.map +1 -1
  233. package/lib/esm/types/src/asset_indents.scailo_connect.d.ts +36 -2
  234. package/lib/esm/types/src/asset_indents.scailo_connect.d.ts.map +1 -1
  235. package/lib/esm/types/src/attendances.scailo_connect.d.ts +14 -3
  236. package/lib/esm/types/src/attendances.scailo_connect.d.ts.map +1 -1
  237. package/lib/esm/types/src/components.scailo_connect.d.ts +12 -0
  238. package/lib/esm/types/src/components.scailo_connect.d.ts.map +1 -1
  239. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts +24 -2
  240. package/lib/esm/types/src/credit_notes.scailo_connect.d.ts.map +1 -1
  241. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts +24 -2
  242. package/lib/esm/types/src/debit_notes.scailo_connect.d.ts.map +1 -1
  243. package/lib/esm/types/src/equations_families.scailo_connect.d.ts +38 -5
  244. package/lib/esm/types/src/equations_families.scailo_connect.d.ts.map +1 -1
  245. package/lib/esm/types/src/equations_replaceables.scailo_connect.d.ts +38 -5
  246. package/lib/esm/types/src/equations_replaceables.scailo_connect.d.ts.map +1 -1
  247. package/lib/esm/types/src/equations_sales_bundles.scailo_connect.d.ts +38 -5
  248. package/lib/esm/types/src/equations_sales_bundles.scailo_connect.d.ts.map +1 -1
  249. package/lib/esm/types/src/equations_work_orders.scailo_connect.d.ts +38 -5
  250. package/lib/esm/types/src/equations_work_orders.scailo_connect.d.ts.map +1 -1
  251. package/lib/esm/types/src/equipments.scailo_connect.d.ts +12 -0
  252. package/lib/esm/types/src/equipments.scailo_connect.d.ts.map +1 -1
  253. package/lib/esm/types/src/expenses.scailo_connect.d.ts +36 -2
  254. package/lib/esm/types/src/expenses.scailo_connect.d.ts.map +1 -1
  255. package/lib/esm/types/src/feedstocks.scailo_connect.d.ts +12 -0
  256. package/lib/esm/types/src/feedstocks.scailo_connect.d.ts.map +1 -1
  257. package/lib/esm/types/src/goals.scailo_connect.d.ts +24 -2
  258. package/lib/esm/types/src/goals.scailo_connect.d.ts.map +1 -1
  259. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts +24 -2
  260. package/lib/esm/types/src/goods_dispatches.scailo_connect.d.ts.map +1 -1
  261. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts +24 -2
  262. package/lib/esm/types/src/goods_receipts.scailo_connect.d.ts.map +1 -1
  263. package/lib/esm/types/src/infrastructures.scailo_connect.d.ts +12 -0
  264. package/lib/esm/types/src/infrastructures.scailo_connect.d.ts.map +1 -1
  265. package/lib/esm/types/src/inventory.scailo_connect.d.ts +45 -1
  266. package/lib/esm/types/src/inventory.scailo_connect.d.ts.map +1 -1
  267. package/lib/esm/types/src/inventory.scailo_pb.d.ts +590 -0
  268. package/lib/esm/types/src/inventory.scailo_pb.d.ts.map +1 -1
  269. package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
  270. package/lib/esm/types/src/inward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  271. package/lib/esm/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
  272. package/lib/esm/types/src/inward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
  273. package/lib/esm/types/src/magic_links.scailo_pb.d.ts +217 -1
  274. package/lib/esm/types/src/magic_links.scailo_pb.d.ts.map +1 -1
  275. package/lib/esm/types/src/merchandises.scailo_connect.d.ts +12 -0
  276. package/lib/esm/types/src/merchandises.scailo_connect.d.ts.map +1 -1
  277. package/lib/esm/types/src/on_duties.scailo_connect.d.ts +14 -3
  278. package/lib/esm/types/src/on_duties.scailo_connect.d.ts.map +1 -1
  279. package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts +36 -2
  280. package/lib/esm/types/src/outward_jobs_free_issue_materials.scailo_connect.d.ts.map +1 -1
  281. package/lib/esm/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts +36 -2
  282. package/lib/esm/types/src/outward_jobs_free_issue_materials_returns.scailo_connect.d.ts.map +1 -1
  283. package/lib/esm/types/src/payroll_groups.scailo_connect.d.ts +24 -2
  284. package/lib/esm/types/src/payroll_groups.scailo_connect.d.ts.map +1 -1
  285. package/lib/esm/types/src/production_indents.scailo_connect.d.ts +36 -2
  286. package/lib/esm/types/src/production_indents.scailo_connect.d.ts.map +1 -1
  287. package/lib/esm/types/src/production_plans.scailo_connect.d.ts +36 -2
  288. package/lib/esm/types/src/production_plans.scailo_connect.d.ts.map +1 -1
  289. package/lib/esm/types/src/products.scailo_connect.d.ts +12 -0
  290. package/lib/esm/types/src/products.scailo_connect.d.ts.map +1 -1
  291. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +24 -2
  292. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  293. package/lib/esm/types/src/purchases_enquiries.scailo_connect.d.ts +36 -2
  294. package/lib/esm/types/src/purchases_enquiries.scailo_connect.d.ts.map +1 -1
  295. package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts +36 -2
  296. package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
  297. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +24 -2
  298. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  299. package/lib/esm/types/src/purchases_payments.scailo_connect.d.ts +14 -3
  300. package/lib/esm/types/src/purchases_payments.scailo_connect.d.ts.map +1 -1
  301. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts +24 -2
  302. package/lib/esm/types/src/purchases_returns.scailo_connect.d.ts.map +1 -1
  303. package/lib/esm/types/src/qc_groups.scailo_connect.d.ts +24 -2
  304. package/lib/esm/types/src/qc_groups.scailo_connect.d.ts.map +1 -1
  305. package/lib/esm/types/src/qc_samples.scailo_connect.d.ts +12 -0
  306. package/lib/esm/types/src/qc_samples.scailo_connect.d.ts.map +1 -1
  307. package/lib/esm/types/src/quotations_requests.scailo_connect.d.ts +36 -2
  308. package/lib/esm/types/src/quotations_requests.scailo_connect.d.ts.map +1 -1
  309. package/lib/esm/types/src/quotations_responses.scailo_connect.d.ts +24 -1
  310. package/lib/esm/types/src/quotations_responses.scailo_connect.d.ts.map +1 -1
  311. package/lib/esm/types/src/replaceable_indents.scailo_connect.d.ts +36 -2
  312. package/lib/esm/types/src/replaceable_indents.scailo_connect.d.ts.map +1 -1
  313. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +24 -2
  314. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  315. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +24 -2
  316. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  317. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +24 -2
  318. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  319. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +24 -2
  320. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  321. package/lib/esm/types/src/sales_receipts.scailo_connect.d.ts +14 -3
  322. package/lib/esm/types/src/sales_receipts.scailo_connect.d.ts.map +1 -1
  323. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts +24 -2
  324. package/lib/esm/types/src/sales_returns.scailo_connect.d.ts.map +1 -1
  325. package/lib/esm/types/src/skills_groups.scailo_connect.d.ts +24 -2
  326. package/lib/esm/types/src/skills_groups.scailo_connect.d.ts.map +1 -1
  327. package/lib/esm/types/src/stock_audits.scailo_connect.d.ts +36 -2
  328. package/lib/esm/types/src/stock_audits.scailo_connect.d.ts.map +1 -1
  329. package/lib/esm/types/src/stock_issuances.scailo_connect.d.ts +36 -2
  330. package/lib/esm/types/src/stock_issuances.scailo_connect.d.ts.map +1 -1
  331. package/lib/esm/types/src/stock_returns.scailo_connect.d.ts +36 -2
  332. package/lib/esm/types/src/stock_returns.scailo_connect.d.ts.map +1 -1
  333. package/lib/esm/types/src/supply_offers.scailo_connect.d.ts +36 -2
  334. package/lib/esm/types/src/supply_offers.scailo_connect.d.ts.map +1 -1
  335. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts +24 -2
  336. package/lib/esm/types/src/vendor_invoices.scailo_connect.d.ts.map +1 -1
  337. package/lib/esm/types/src/vendors.scailo_connect.d.ts +36 -2
  338. package/lib/esm/types/src/vendors.scailo_connect.d.ts.map +1 -1
  339. package/lib/esm/types/src/visitations.scailo_connect.d.ts +14 -3
  340. package/lib/esm/types/src/visitations.scailo_connect.d.ts.map +1 -1
  341. package/lib/esm/types/src/work_orders.scailo_connect.d.ts +36 -2
  342. package/lib/esm/types/src/work_orders.scailo_connect.d.ts.map +1 -1
  343. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  /* eslint-disable */
5
5
  // @ts-nocheck
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.ConsolidatedInventoryStatistics = exports.FilterReturnableInventoryForIdentifierUUID = exports.FilterReturnableInventoryReq = exports.SearchReturnableInventoryForIdentifierUUID = exports.SearchReturnableInventoryReq = exports.ReturnableInventorySearchReq = exports.InventoryServiceFamilyQuantityReq = exports.InventoryHashSearchReq = exports.IssuableInventorySearchReq = exports.InventoryCodeMap = exports.GenericInventoryList = exports.GenericInventory = exports.GENERIC_INVENTORY_REF_FROM = void 0;
7
+ exports.InventoryDemand = exports.InventoryDemandMap = exports.InventoryDetailedDemand = exports.InventoryOrderedStatistics = exports.InventoryIndentedStatistics = exports.InventoryWorkInProgressStatistics = exports.AbridgedPurchaseReturnItem = exports.AbridgedGoodsReceiptItem = exports.AbridgedPurchaseOrderItem = exports.AbridgedPurchaseIndentItem = exports.AbridgedInventoryItem = exports.AbridgedProductionPlanItem = exports.ConsolidatedInventoryStatistics = exports.FilterReturnableInventoryForIdentifierUUID = exports.FilterReturnableInventoryReq = exports.SearchReturnableInventoryForIdentifierUUID = exports.SearchReturnableInventoryReq = exports.ReturnableInventorySearchReq = exports.InventoryServiceFamilyQuantityReq = exports.InventoryHashSearchReq = exports.IssuableInventorySearchReq = exports.InventoryCodeMap = exports.GenericInventoryList = exports.GenericInventory = exports.INVENTORY_NODE_ORIGIN_TYPE = exports.GENERIC_INVENTORY_REF_FROM = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
10
10
  const families_scailo_pb_js_1 = require("./families.scailo_pb.js");
@@ -62,6 +62,144 @@ protobuf_1.proto3.util.setEnumType(GENERIC_INVENTORY_REF_FROM, "Scailo.GENERIC_I
62
62
  { no: 4, name: "GENERIC_INVENTORY_REF_FROM_OUTWARD_JOB_FREE_ISSUE_MATERIAL" },
63
63
  { no: 5, name: "GENERIC_INVENTORY_REF_FROM_PRODUCTION_PLAN" },
64
64
  ]);
65
+ /**
66
+ *
67
+ * Describes the available types of inventory node origins
68
+ *
69
+ * @generated from enum Scailo.INVENTORY_NODE_ORIGIN_TYPE
70
+ */
71
+ var INVENTORY_NODE_ORIGIN_TYPE;
72
+ (function (INVENTORY_NODE_ORIGIN_TYPE) {
73
+ /**
74
+ * Use this only in filter and search queries
75
+ *
76
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED = 0;
77
+ */
78
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED"] = 0] = "INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED";
79
+ /**
80
+ * Denotes that the origin is from a sales order
81
+ *
82
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER = 10;
83
+ */
84
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER"] = 10] = "INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER";
85
+ /**
86
+ * Denotes that the origin is from a sales return
87
+ *
88
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN = 20;
89
+ */
90
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN"] = 20] = "INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN";
91
+ /**
92
+ * Denotes that the origin is from a production plan
93
+ *
94
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN = 30;
95
+ */
96
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN"] = 30] = "INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN";
97
+ /**
98
+ * Denotes that the origin is from a work order equation
99
+ *
100
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION = 40;
101
+ */
102
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION"] = 40] = "INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION";
103
+ /**
104
+ * Denotes that the origin from minimum stock
105
+ *
106
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK = 50;
107
+ */
108
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK"] = 50] = "INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK";
109
+ /**
110
+ * Denotes that the origin is from a goods dispatch
111
+ *
112
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH = 60;
113
+ */
114
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH"] = 60] = "INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH";
115
+ /**
116
+ * Denotes that the origin is from a stock issuance
117
+ *
118
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE = 70;
119
+ */
120
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE"] = 70] = "INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE";
121
+ /**
122
+ * Denotes that the origin is from a family equation
123
+ *
124
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION = 80;
125
+ */
126
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION"] = 80] = "INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION";
127
+ /**
128
+ * Denotes that the origin is from work in progress
129
+ *
130
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS = 90;
131
+ */
132
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS"] = 90] = "INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS";
133
+ /**
134
+ * Denotes that the origin is from net indented
135
+ *
136
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED = 100;
137
+ */
138
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED"] = 100] = "INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED";
139
+ /**
140
+ * Dentoes that the origin is from net ordered
141
+ *
142
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED = 110;
143
+ */
144
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED"] = 110] = "INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED";
145
+ /**
146
+ * Denotes that the origin is from iqc
147
+ *
148
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_QC = 120;
149
+ */
150
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_QC"] = 120] = "INVENTORY_NODE_ORIGIN_TYPE_QC";
151
+ /**
152
+ * Denotes that the origin is from rejected
153
+ *
154
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_REJECTED = 130;
155
+ */
156
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_REJECTED"] = 130] = "INVENTORY_NODE_ORIGIN_TYPE_REJECTED";
157
+ /**
158
+ * Denotes that the origin is from returnable
159
+ *
160
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE = 140;
161
+ */
162
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE"] = 140] = "INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE";
163
+ /**
164
+ * Denotes that the origin is from rework
165
+ *
166
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_REWORK = 150;
167
+ */
168
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_REWORK"] = 150] = "INVENTORY_NODE_ORIGIN_TYPE_REWORK";
169
+ /**
170
+ * Denotes that the origin is from scrap
171
+ *
172
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_SCRAP = 160;
173
+ */
174
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_SCRAP"] = 160] = "INVENTORY_NODE_ORIGIN_TYPE_SCRAP";
175
+ /**
176
+ * Denotes that the origin is from store
177
+ *
178
+ * @generated from enum value: INVENTORY_NODE_ORIGIN_TYPE_STORE = 170;
179
+ */
180
+ INVENTORY_NODE_ORIGIN_TYPE[INVENTORY_NODE_ORIGIN_TYPE["INVENTORY_NODE_ORIGIN_TYPE_STORE"] = 170] = "INVENTORY_NODE_ORIGIN_TYPE_STORE";
181
+ })(INVENTORY_NODE_ORIGIN_TYPE || (exports.INVENTORY_NODE_ORIGIN_TYPE = INVENTORY_NODE_ORIGIN_TYPE = {}));
182
+ // Retrieve enum metadata with: proto3.getEnumType(INVENTORY_NODE_ORIGIN_TYPE)
183
+ protobuf_1.proto3.util.setEnumType(INVENTORY_NODE_ORIGIN_TYPE, "Scailo.INVENTORY_NODE_ORIGIN_TYPE", [
184
+ { no: 0, name: "INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED" },
185
+ { no: 10, name: "INVENTORY_NODE_ORIGIN_TYPE_SALES_ORDER" },
186
+ { no: 20, name: "INVENTORY_NODE_ORIGIN_TYPE_SALES_RETURN" },
187
+ { no: 30, name: "INVENTORY_NODE_ORIGIN_TYPE_PRODUCTION_PLAN" },
188
+ { no: 40, name: "INVENTORY_NODE_ORIGIN_TYPE_WORK_ORDER_EQUATION" },
189
+ { no: 50, name: "INVENTORY_NODE_ORIGIN_TYPE_MIN_STOCK" },
190
+ { no: 60, name: "INVENTORY_NODE_ORIGIN_TYPE_GOODS_DISPATCH" },
191
+ { no: 70, name: "INVENTORY_NODE_ORIGIN_TYPE_STOCK_ISSUANCE" },
192
+ { no: 80, name: "INVENTORY_NODE_ORIGIN_TYPE_FAMILY_EQUATION" },
193
+ { no: 90, name: "INVENTORY_NODE_ORIGIN_TYPE_WORK_IN_PROGRESS" },
194
+ { no: 100, name: "INVENTORY_NODE_ORIGIN_TYPE_NET_INDENTED" },
195
+ { no: 110, name: "INVENTORY_NODE_ORIGIN_TYPE_NET_ORDERED" },
196
+ { no: 120, name: "INVENTORY_NODE_ORIGIN_TYPE_QC" },
197
+ { no: 130, name: "INVENTORY_NODE_ORIGIN_TYPE_REJECTED" },
198
+ { no: 140, name: "INVENTORY_NODE_ORIGIN_TYPE_RETURNABLE" },
199
+ { no: 150, name: "INVENTORY_NODE_ORIGIN_TYPE_REWORK" },
200
+ { no: 160, name: "INVENTORY_NODE_ORIGIN_TYPE_SCRAP" },
201
+ { no: 170, name: "INVENTORY_NODE_ORIGIN_TYPE_STORE" },
202
+ ]);
65
203
  /**
66
204
  *
67
205
  * Describes the parameters that are present in a generic inventory payload, which is an abstraction over every inventory item that consists of the common parameters
@@ -1152,3 +1290,680 @@ class ConsolidatedInventoryStatistics extends protobuf_1.Message {
1152
1290
  }
1153
1291
  }
1154
1292
  exports.ConsolidatedInventoryStatistics = ConsolidatedInventoryStatistics;
1293
+ /**
1294
+ *
1295
+ * Describes the abridged version of each production plan item
1296
+ *
1297
+ * @generated from message Scailo.AbridgedProductionPlanItem
1298
+ */
1299
+ class AbridgedProductionPlanItem extends protobuf_1.Message {
1300
+ /**
1301
+ * Stores the production plan ID
1302
+ *
1303
+ * @generated from field: uint64 production_plan_id = 10;
1304
+ */
1305
+ productionPlanId = protobuf_1.protoInt64.zero;
1306
+ /**
1307
+ * Stores the family ID
1308
+ *
1309
+ * @generated from field: uint64 family_id = 20;
1310
+ */
1311
+ familyId = protobuf_1.protoInt64.zero;
1312
+ /**
1313
+ * The quantity being manufactured (in cents)
1314
+ *
1315
+ * @generated from field: int64 quantity = 30;
1316
+ */
1317
+ quantity = protobuf_1.protoInt64.zero;
1318
+ constructor(data) {
1319
+ super();
1320
+ protobuf_1.proto3.util.initPartial(data, this);
1321
+ }
1322
+ static runtime = protobuf_1.proto3;
1323
+ static typeName = "Scailo.AbridgedProductionPlanItem";
1324
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1325
+ { no: 10, name: "production_plan_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1326
+ { no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1327
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1328
+ ]);
1329
+ static fromBinary(bytes, options) {
1330
+ return new AbridgedProductionPlanItem().fromBinary(bytes, options);
1331
+ }
1332
+ static fromJson(jsonValue, options) {
1333
+ return new AbridgedProductionPlanItem().fromJson(jsonValue, options);
1334
+ }
1335
+ static fromJsonString(jsonString, options) {
1336
+ return new AbridgedProductionPlanItem().fromJsonString(jsonString, options);
1337
+ }
1338
+ static equals(a, b) {
1339
+ return protobuf_1.proto3.util.equals(AbridgedProductionPlanItem, a, b);
1340
+ }
1341
+ }
1342
+ exports.AbridgedProductionPlanItem = AbridgedProductionPlanItem;
1343
+ /**
1344
+ *
1345
+ * Describes the abridged version of each inventory item
1346
+ *
1347
+ * @generated from message Scailo.AbridgedInventoryItem
1348
+ */
1349
+ class AbridgedInventoryItem extends protobuf_1.Message {
1350
+ /**
1351
+ * Stores the ID of the associated family
1352
+ *
1353
+ * @generated from field: uint64 family_id = 10;
1354
+ */
1355
+ familyId = protobuf_1.protoInt64.zero;
1356
+ /**
1357
+ * The computed hash of the inventory item
1358
+ *
1359
+ * @generated from field: string hash = 20;
1360
+ */
1361
+ hash = "";
1362
+ /**
1363
+ * Stores the quantity (in cents)
1364
+ *
1365
+ * @generated from field: int64 quantity = 30;
1366
+ */
1367
+ quantity = protobuf_1.protoInt64.zero;
1368
+ constructor(data) {
1369
+ super();
1370
+ protobuf_1.proto3.util.initPartial(data, this);
1371
+ }
1372
+ static runtime = protobuf_1.proto3;
1373
+ static typeName = "Scailo.AbridgedInventoryItem";
1374
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1375
+ { no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1376
+ { no: 20, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1377
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1378
+ ]);
1379
+ static fromBinary(bytes, options) {
1380
+ return new AbridgedInventoryItem().fromBinary(bytes, options);
1381
+ }
1382
+ static fromJson(jsonValue, options) {
1383
+ return new AbridgedInventoryItem().fromJson(jsonValue, options);
1384
+ }
1385
+ static fromJsonString(jsonString, options) {
1386
+ return new AbridgedInventoryItem().fromJsonString(jsonString, options);
1387
+ }
1388
+ static equals(a, b) {
1389
+ return protobuf_1.proto3.util.equals(AbridgedInventoryItem, a, b);
1390
+ }
1391
+ }
1392
+ exports.AbridgedInventoryItem = AbridgedInventoryItem;
1393
+ /**
1394
+ *
1395
+ * Describes the abridged version of each purchase indent item
1396
+ *
1397
+ * @generated from message Scailo.AbridgedPurchaseIndentItem
1398
+ */
1399
+ class AbridgedPurchaseIndentItem extends protobuf_1.Message {
1400
+ /**
1401
+ * Stores the purchase indent ID
1402
+ *
1403
+ * @generated from field: uint64 purchase_indent_id = 10;
1404
+ */
1405
+ purchaseIndentId = protobuf_1.protoInt64.zero;
1406
+ /**
1407
+ * Stores the family ID
1408
+ *
1409
+ * @generated from field: uint64 family_id = 20;
1410
+ */
1411
+ familyId = protobuf_1.protoInt64.zero;
1412
+ /**
1413
+ * The quantity of the item (in cents)
1414
+ *
1415
+ * @generated from field: int64 quantity = 30;
1416
+ */
1417
+ quantity = protobuf_1.protoInt64.zero;
1418
+ constructor(data) {
1419
+ super();
1420
+ protobuf_1.proto3.util.initPartial(data, this);
1421
+ }
1422
+ static runtime = protobuf_1.proto3;
1423
+ static typeName = "Scailo.AbridgedPurchaseIndentItem";
1424
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1425
+ { no: 10, name: "purchase_indent_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1426
+ { no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1427
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1428
+ ]);
1429
+ static fromBinary(bytes, options) {
1430
+ return new AbridgedPurchaseIndentItem().fromBinary(bytes, options);
1431
+ }
1432
+ static fromJson(jsonValue, options) {
1433
+ return new AbridgedPurchaseIndentItem().fromJson(jsonValue, options);
1434
+ }
1435
+ static fromJsonString(jsonString, options) {
1436
+ return new AbridgedPurchaseIndentItem().fromJsonString(jsonString, options);
1437
+ }
1438
+ static equals(a, b) {
1439
+ return protobuf_1.proto3.util.equals(AbridgedPurchaseIndentItem, a, b);
1440
+ }
1441
+ }
1442
+ exports.AbridgedPurchaseIndentItem = AbridgedPurchaseIndentItem;
1443
+ /**
1444
+ *
1445
+ * Describes the abridged version of each purchase order item
1446
+ *
1447
+ * @generated from message Scailo.AbridgedPurchaseOrderItem
1448
+ */
1449
+ class AbridgedPurchaseOrderItem extends protobuf_1.Message {
1450
+ /**
1451
+ * Stores the purchase order ID
1452
+ *
1453
+ * @generated from field: uint64 purchase_order_id = 10;
1454
+ */
1455
+ purchaseOrderId = protobuf_1.protoInt64.zero;
1456
+ /**
1457
+ * Stores the family ID
1458
+ *
1459
+ * @generated from field: uint64 family_id = 20;
1460
+ */
1461
+ familyId = protobuf_1.protoInt64.zero;
1462
+ /**
1463
+ * The quantity of the item (in cents)
1464
+ *
1465
+ * @generated from field: int64 quantity = 30;
1466
+ */
1467
+ quantity = protobuf_1.protoInt64.zero;
1468
+ constructor(data) {
1469
+ super();
1470
+ protobuf_1.proto3.util.initPartial(data, this);
1471
+ }
1472
+ static runtime = protobuf_1.proto3;
1473
+ static typeName = "Scailo.AbridgedPurchaseOrderItem";
1474
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1475
+ { no: 10, name: "purchase_order_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1476
+ { no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1477
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1478
+ ]);
1479
+ static fromBinary(bytes, options) {
1480
+ return new AbridgedPurchaseOrderItem().fromBinary(bytes, options);
1481
+ }
1482
+ static fromJson(jsonValue, options) {
1483
+ return new AbridgedPurchaseOrderItem().fromJson(jsonValue, options);
1484
+ }
1485
+ static fromJsonString(jsonString, options) {
1486
+ return new AbridgedPurchaseOrderItem().fromJsonString(jsonString, options);
1487
+ }
1488
+ static equals(a, b) {
1489
+ return protobuf_1.proto3.util.equals(AbridgedPurchaseOrderItem, a, b);
1490
+ }
1491
+ }
1492
+ exports.AbridgedPurchaseOrderItem = AbridgedPurchaseOrderItem;
1493
+ /**
1494
+ *
1495
+ * Describes the abridged version of each goods receipt item
1496
+ *
1497
+ * @generated from message Scailo.AbridgedGoodsReceiptItem
1498
+ */
1499
+ class AbridgedGoodsReceiptItem extends protobuf_1.Message {
1500
+ /**
1501
+ * Stores the goods receipt ID
1502
+ *
1503
+ * @generated from field: uint64 goods_receipt_id = 10;
1504
+ */
1505
+ goodsReceiptId = protobuf_1.protoInt64.zero;
1506
+ /**
1507
+ * Stores the family ID
1508
+ *
1509
+ * @generated from field: uint64 family_id = 20;
1510
+ */
1511
+ familyId = protobuf_1.protoInt64.zero;
1512
+ /**
1513
+ * The quantity of the item (in cents)
1514
+ *
1515
+ * @generated from field: int64 quantity = 30;
1516
+ */
1517
+ quantity = protobuf_1.protoInt64.zero;
1518
+ constructor(data) {
1519
+ super();
1520
+ protobuf_1.proto3.util.initPartial(data, this);
1521
+ }
1522
+ static runtime = protobuf_1.proto3;
1523
+ static typeName = "Scailo.AbridgedGoodsReceiptItem";
1524
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1525
+ { no: 10, name: "goods_receipt_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1526
+ { no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1527
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1528
+ ]);
1529
+ static fromBinary(bytes, options) {
1530
+ return new AbridgedGoodsReceiptItem().fromBinary(bytes, options);
1531
+ }
1532
+ static fromJson(jsonValue, options) {
1533
+ return new AbridgedGoodsReceiptItem().fromJson(jsonValue, options);
1534
+ }
1535
+ static fromJsonString(jsonString, options) {
1536
+ return new AbridgedGoodsReceiptItem().fromJsonString(jsonString, options);
1537
+ }
1538
+ static equals(a, b) {
1539
+ return protobuf_1.proto3.util.equals(AbridgedGoodsReceiptItem, a, b);
1540
+ }
1541
+ }
1542
+ exports.AbridgedGoodsReceiptItem = AbridgedGoodsReceiptItem;
1543
+ /**
1544
+ *
1545
+ * Describes the abridged version of each purchase return item
1546
+ *
1547
+ * @generated from message Scailo.AbridgedPurchaseReturnItem
1548
+ */
1549
+ class AbridgedPurchaseReturnItem extends protobuf_1.Message {
1550
+ /**
1551
+ * Stores the purchase return ID
1552
+ *
1553
+ * @generated from field: uint64 purchase_return_id = 10;
1554
+ */
1555
+ purchaseReturnId = protobuf_1.protoInt64.zero;
1556
+ /**
1557
+ * Stores the family ID
1558
+ *
1559
+ * @generated from field: uint64 family_id = 20;
1560
+ */
1561
+ familyId = protobuf_1.protoInt64.zero;
1562
+ /**
1563
+ * The quantity of the item (in cents)
1564
+ *
1565
+ * @generated from field: int64 quantity = 30;
1566
+ */
1567
+ quantity = protobuf_1.protoInt64.zero;
1568
+ constructor(data) {
1569
+ super();
1570
+ protobuf_1.proto3.util.initPartial(data, this);
1571
+ }
1572
+ static runtime = protobuf_1.proto3;
1573
+ static typeName = "Scailo.AbridgedPurchaseReturnItem";
1574
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1575
+ { no: 10, name: "purchase_return_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1576
+ { no: 20, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1577
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1578
+ ]);
1579
+ static fromBinary(bytes, options) {
1580
+ return new AbridgedPurchaseReturnItem().fromBinary(bytes, options);
1581
+ }
1582
+ static fromJson(jsonValue, options) {
1583
+ return new AbridgedPurchaseReturnItem().fromJson(jsonValue, options);
1584
+ }
1585
+ static fromJsonString(jsonString, options) {
1586
+ return new AbridgedPurchaseReturnItem().fromJsonString(jsonString, options);
1587
+ }
1588
+ static equals(a, b) {
1589
+ return protobuf_1.proto3.util.equals(AbridgedPurchaseReturnItem, a, b);
1590
+ }
1591
+ }
1592
+ exports.AbridgedPurchaseReturnItem = AbridgedPurchaseReturnItem;
1593
+ /**
1594
+ *
1595
+ * Describes the message consisting of the work in progress inventory statistics for the given family ID
1596
+ *
1597
+ * @generated from message Scailo.InventoryWorkInProgressStatistics
1598
+ */
1599
+ class InventoryWorkInProgressStatistics extends protobuf_1.Message {
1600
+ /**
1601
+ * List of abridged production plan items
1602
+ *
1603
+ * @generated from field: repeated Scailo.AbridgedProductionPlanItem production_plans = 10;
1604
+ */
1605
+ productionPlans = [];
1606
+ /**
1607
+ * List of abridged inventory items
1608
+ *
1609
+ * @generated from field: repeated Scailo.AbridgedInventoryItem inventory_items = 20;
1610
+ */
1611
+ inventoryItems = [];
1612
+ constructor(data) {
1613
+ super();
1614
+ protobuf_1.proto3.util.initPartial(data, this);
1615
+ }
1616
+ static runtime = protobuf_1.proto3;
1617
+ static typeName = "Scailo.InventoryWorkInProgressStatistics";
1618
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1619
+ { no: 10, name: "production_plans", kind: "message", T: AbridgedProductionPlanItem, repeated: true },
1620
+ { no: 20, name: "inventory_items", kind: "message", T: AbridgedInventoryItem, repeated: true },
1621
+ ]);
1622
+ static fromBinary(bytes, options) {
1623
+ return new InventoryWorkInProgressStatistics().fromBinary(bytes, options);
1624
+ }
1625
+ static fromJson(jsonValue, options) {
1626
+ return new InventoryWorkInProgressStatistics().fromJson(jsonValue, options);
1627
+ }
1628
+ static fromJsonString(jsonString, options) {
1629
+ return new InventoryWorkInProgressStatistics().fromJsonString(jsonString, options);
1630
+ }
1631
+ static equals(a, b) {
1632
+ return protobuf_1.proto3.util.equals(InventoryWorkInProgressStatistics, a, b);
1633
+ }
1634
+ }
1635
+ exports.InventoryWorkInProgressStatistics = InventoryWorkInProgressStatistics;
1636
+ /**
1637
+ *
1638
+ * Describes the message consisting of the indented inventory statistics for the given family ID
1639
+ *
1640
+ * @generated from message Scailo.InventoryIndentedStatistics
1641
+ */
1642
+ class InventoryIndentedStatistics extends protobuf_1.Message {
1643
+ /**
1644
+ * List of abridged purchase indent items
1645
+ *
1646
+ * @generated from field: repeated Scailo.AbridgedPurchaseIndentItem purchase_indents = 10;
1647
+ */
1648
+ purchaseIndents = [];
1649
+ /**
1650
+ * List of abridged purchase order items
1651
+ *
1652
+ * @generated from field: repeated Scailo.AbridgedPurchaseOrderItem purchase_orders = 20;
1653
+ */
1654
+ purchaseOrders = [];
1655
+ constructor(data) {
1656
+ super();
1657
+ protobuf_1.proto3.util.initPartial(data, this);
1658
+ }
1659
+ static runtime = protobuf_1.proto3;
1660
+ static typeName = "Scailo.InventoryIndentedStatistics";
1661
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1662
+ { no: 10, name: "purchase_indents", kind: "message", T: AbridgedPurchaseIndentItem, repeated: true },
1663
+ { no: 20, name: "purchase_orders", kind: "message", T: AbridgedPurchaseOrderItem, repeated: true },
1664
+ ]);
1665
+ static fromBinary(bytes, options) {
1666
+ return new InventoryIndentedStatistics().fromBinary(bytes, options);
1667
+ }
1668
+ static fromJson(jsonValue, options) {
1669
+ return new InventoryIndentedStatistics().fromJson(jsonValue, options);
1670
+ }
1671
+ static fromJsonString(jsonString, options) {
1672
+ return new InventoryIndentedStatistics().fromJsonString(jsonString, options);
1673
+ }
1674
+ static equals(a, b) {
1675
+ return protobuf_1.proto3.util.equals(InventoryIndentedStatistics, a, b);
1676
+ }
1677
+ }
1678
+ exports.InventoryIndentedStatistics = InventoryIndentedStatistics;
1679
+ /**
1680
+ *
1681
+ * Describes the message consisting of the ordered inventory statistics for the given family ID
1682
+ *
1683
+ * @generated from message Scailo.InventoryOrderedStatistics
1684
+ */
1685
+ class InventoryOrderedStatistics extends protobuf_1.Message {
1686
+ /**
1687
+ * List of abridged purchase order items
1688
+ *
1689
+ * @generated from field: repeated Scailo.AbridgedPurchaseOrderItem purchase_orders = 10;
1690
+ */
1691
+ purchaseOrders = [];
1692
+ /**
1693
+ * List of abridged goods receipt items
1694
+ *
1695
+ * @generated from field: repeated Scailo.AbridgedGoodsReceiptItem goods_receipts = 20;
1696
+ */
1697
+ goodsReceipts = [];
1698
+ /**
1699
+ * List of abridged purchase return items
1700
+ *
1701
+ * @generated from field: repeated Scailo.AbridgedPurchaseReturnItem purchase_returns = 30;
1702
+ */
1703
+ purchaseReturns = [];
1704
+ constructor(data) {
1705
+ super();
1706
+ protobuf_1.proto3.util.initPartial(data, this);
1707
+ }
1708
+ static runtime = protobuf_1.proto3;
1709
+ static typeName = "Scailo.InventoryOrderedStatistics";
1710
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1711
+ { no: 10, name: "purchase_orders", kind: "message", T: AbridgedPurchaseOrderItem, repeated: true },
1712
+ { no: 20, name: "goods_receipts", kind: "message", T: AbridgedGoodsReceiptItem, repeated: true },
1713
+ { no: 30, name: "purchase_returns", kind: "message", T: AbridgedPurchaseReturnItem, repeated: true },
1714
+ ]);
1715
+ static fromBinary(bytes, options) {
1716
+ return new InventoryOrderedStatistics().fromBinary(bytes, options);
1717
+ }
1718
+ static fromJson(jsonValue, options) {
1719
+ return new InventoryOrderedStatistics().fromJson(jsonValue, options);
1720
+ }
1721
+ static fromJsonString(jsonString, options) {
1722
+ return new InventoryOrderedStatistics().fromJsonString(jsonString, options);
1723
+ }
1724
+ static equals(a, b) {
1725
+ return protobuf_1.proto3.util.equals(InventoryOrderedStatistics, a, b);
1726
+ }
1727
+ }
1728
+ exports.InventoryOrderedStatistics = InventoryOrderedStatistics;
1729
+ /**
1730
+ *
1731
+ * Describes the message consisting of the detailed demand statistics for the given family ID
1732
+ *
1733
+ * @generated from message Scailo.InventoryDetailedDemand
1734
+ */
1735
+ class InventoryDetailedDemand extends protobuf_1.Message {
1736
+ /**
1737
+ * ID of the resource
1738
+ *
1739
+ * @generated from field: uint64 id = 1;
1740
+ */
1741
+ id = protobuf_1.protoInt64.zero;
1742
+ /**
1743
+ * UUID of the resource
1744
+ *
1745
+ * @generated from field: string uuid = 2;
1746
+ */
1747
+ uuid = "";
1748
+ /**
1749
+ * Stores the family ID
1750
+ *
1751
+ * @generated from field: uint64 family_id = 10;
1752
+ */
1753
+ familyId = protobuf_1.protoInt64.zero;
1754
+ /**
1755
+ * The base demand quantity of the item (in cents)
1756
+ *
1757
+ * @generated from field: int64 base_demand_quantity = 20;
1758
+ */
1759
+ baseDemandQuantity = protobuf_1.protoInt64.zero;
1760
+ /**
1761
+ * The adjusted demand quantity of the item (in cents)
1762
+ *
1763
+ * @generated from field: int64 adjusted_demand_quantity = 30;
1764
+ */
1765
+ adjustedDemandQuantity = protobuf_1.protoInt64.zero;
1766
+ /**
1767
+ * The required quantity of the item (in cents)
1768
+ *
1769
+ * @generated from field: int64 required_quantity = 40;
1770
+ */
1771
+ requiredQuantity = protobuf_1.protoInt64.zero;
1772
+ /**
1773
+ * The map of the demand
1774
+ *
1775
+ * @generated from field: Scailo.InventoryDemandMap demand_map = 50;
1776
+ */
1777
+ demandMap;
1778
+ /**
1779
+ * Represents if the resource is active
1780
+ *
1781
+ * @generated from field: bool is_active = 60;
1782
+ */
1783
+ isActive = false;
1784
+ /**
1785
+ * Stores the timestamp of when the resource was created
1786
+ *
1787
+ * @generated from field: uint64 created_at = 70;
1788
+ */
1789
+ createdAt = protobuf_1.protoInt64.zero;
1790
+ constructor(data) {
1791
+ super();
1792
+ protobuf_1.proto3.util.initPartial(data, this);
1793
+ }
1794
+ static runtime = protobuf_1.proto3;
1795
+ static typeName = "Scailo.InventoryDetailedDemand";
1796
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1797
+ { no: 1, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1798
+ { no: 2, name: "uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1799
+ { no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1800
+ { no: 20, name: "base_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1801
+ { no: 30, name: "adjusted_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1802
+ { no: 40, name: "required_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1803
+ { no: 50, name: "demand_map", kind: "message", T: InventoryDemandMap },
1804
+ { no: 60, name: "is_active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1805
+ { no: 70, name: "created_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1806
+ ]);
1807
+ static fromBinary(bytes, options) {
1808
+ return new InventoryDetailedDemand().fromBinary(bytes, options);
1809
+ }
1810
+ static fromJson(jsonValue, options) {
1811
+ return new InventoryDetailedDemand().fromJson(jsonValue, options);
1812
+ }
1813
+ static fromJsonString(jsonString, options) {
1814
+ return new InventoryDetailedDemand().fromJsonString(jsonString, options);
1815
+ }
1816
+ static equals(a, b) {
1817
+ return protobuf_1.proto3.util.equals(InventoryDetailedDemand, a, b);
1818
+ }
1819
+ }
1820
+ exports.InventoryDetailedDemand = InventoryDetailedDemand;
1821
+ /**
1822
+ *
1823
+ * Describes the message consisting of the demand map
1824
+ *
1825
+ * @generated from message Scailo.InventoryDemandMap
1826
+ */
1827
+ class InventoryDemandMap extends protobuf_1.Message {
1828
+ /**
1829
+ * Stores the family ID
1830
+ *
1831
+ * @generated from field: uint64 family_id = 10;
1832
+ */
1833
+ familyId = protobuf_1.protoInt64.zero;
1834
+ /**
1835
+ * The base demand list
1836
+ *
1837
+ * @generated from field: repeated Scailo.InventoryDemand base_demand_list = 20;
1838
+ */
1839
+ baseDemandList = [];
1840
+ /**
1841
+ * The adjusted demand list
1842
+ *
1843
+ * @generated from field: repeated Scailo.InventoryDemand adjusted_demand_list = 30;
1844
+ */
1845
+ adjustedDemandList = [];
1846
+ /**
1847
+ * The quantity of the base demand (in cents)
1848
+ *
1849
+ * @generated from field: int64 base_demand_quantity = 40;
1850
+ */
1851
+ baseDemandQuantity = protobuf_1.protoInt64.zero;
1852
+ /**
1853
+ * The quantity of the adjusted demand (in cents)
1854
+ *
1855
+ * @generated from field: int64 adjusted_demand_quantity = 50;
1856
+ */
1857
+ adjustedDemandQuantity = protobuf_1.protoInt64.zero;
1858
+ /**
1859
+ * The required quantity of the item (in cents)
1860
+ *
1861
+ * @generated from field: int64 required_quantity = 60;
1862
+ */
1863
+ requiredQuantity = protobuf_1.protoInt64.zero;
1864
+ /**
1865
+ * Stores if the item has been evaluated
1866
+ *
1867
+ * @generated from field: bool is_evaluated = 70;
1868
+ */
1869
+ isEvaluated = false;
1870
+ constructor(data) {
1871
+ super();
1872
+ protobuf_1.proto3.util.initPartial(data, this);
1873
+ }
1874
+ static runtime = protobuf_1.proto3;
1875
+ static typeName = "Scailo.InventoryDemandMap";
1876
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1877
+ { no: 10, name: "family_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1878
+ { no: 20, name: "base_demand_list", kind: "message", T: InventoryDemand, repeated: true },
1879
+ { no: 30, name: "adjusted_demand_list", kind: "message", T: InventoryDemand, repeated: true },
1880
+ { no: 40, name: "base_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1881
+ { no: 50, name: "adjusted_demand_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1882
+ { no: 60, name: "required_quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1883
+ { no: 70, name: "is_evaluated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1884
+ ]);
1885
+ static fromBinary(bytes, options) {
1886
+ return new InventoryDemandMap().fromBinary(bytes, options);
1887
+ }
1888
+ static fromJson(jsonValue, options) {
1889
+ return new InventoryDemandMap().fromJson(jsonValue, options);
1890
+ }
1891
+ static fromJsonString(jsonString, options) {
1892
+ return new InventoryDemandMap().fromJsonString(jsonString, options);
1893
+ }
1894
+ static equals(a, b) {
1895
+ return protobuf_1.proto3.util.equals(InventoryDemandMap, a, b);
1896
+ }
1897
+ }
1898
+ exports.InventoryDemandMap = InventoryDemandMap;
1899
+ /**
1900
+ *
1901
+ * Describes the message consisting of the demand
1902
+ *
1903
+ * @generated from message Scailo.InventoryDemand
1904
+ */
1905
+ class InventoryDemand extends protobuf_1.Message {
1906
+ /**
1907
+ * The type of the origin
1908
+ *
1909
+ * @generated from field: Scailo.INVENTORY_NODE_ORIGIN_TYPE origin_type = 10;
1910
+ */
1911
+ originType = INVENTORY_NODE_ORIGIN_TYPE.INVENTORY_NODE_ORIGIN_TYPE_ANY_UNSPECIFIED;
1912
+ /**
1913
+ * The ID of the origin
1914
+ *
1915
+ * @generated from field: int64 origin_id = 20;
1916
+ */
1917
+ originId = protobuf_1.protoInt64.zero;
1918
+ /**
1919
+ * The quantity in the origin
1920
+ *
1921
+ * @generated from field: int64 quantity = 30;
1922
+ */
1923
+ quantity = protobuf_1.protoInt64.zero;
1924
+ /**
1925
+ * The multiplier that needs to be applied
1926
+ *
1927
+ * @generated from field: int64 multiplier = 40;
1928
+ */
1929
+ multiplier = protobuf_1.protoInt64.zero;
1930
+ /**
1931
+ * The computed total
1932
+ *
1933
+ * @generated from field: int64 total = 50;
1934
+ */
1935
+ total = protobuf_1.protoInt64.zero;
1936
+ /**
1937
+ * Stores if the quantity is positive
1938
+ *
1939
+ * @generated from field: bool is_positive_quantity = 60;
1940
+ */
1941
+ isPositiveQuantity = false;
1942
+ constructor(data) {
1943
+ super();
1944
+ protobuf_1.proto3.util.initPartial(data, this);
1945
+ }
1946
+ static runtime = protobuf_1.proto3;
1947
+ static typeName = "Scailo.InventoryDemand";
1948
+ static fields = protobuf_1.proto3.util.newFieldList(() => [
1949
+ { no: 10, name: "origin_type", kind: "enum", T: protobuf_1.proto3.getEnumType(INVENTORY_NODE_ORIGIN_TYPE) },
1950
+ { no: 20, name: "origin_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1951
+ { no: 30, name: "quantity", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1952
+ { no: 40, name: "multiplier", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1953
+ { no: 50, name: "total", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1954
+ { no: 60, name: "is_positive_quantity", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1955
+ ]);
1956
+ static fromBinary(bytes, options) {
1957
+ return new InventoryDemand().fromBinary(bytes, options);
1958
+ }
1959
+ static fromJson(jsonValue, options) {
1960
+ return new InventoryDemand().fromJson(jsonValue, options);
1961
+ }
1962
+ static fromJsonString(jsonString, options) {
1963
+ return new InventoryDemand().fromJsonString(jsonString, options);
1964
+ }
1965
+ static equals(a, b) {
1966
+ return protobuf_1.proto3.util.equals(InventoryDemand, a, b);
1967
+ }
1968
+ }
1969
+ exports.InventoryDemand = InventoryDemand;