@kernelminds/scailo-sdk 0.0.23 → 0.0.24

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 (263) hide show
  1. package/lib/cjs/permissions.js +135 -26
  2. package/lib/cjs/src/actions_codes.scailo_connect.js +23 -0
  3. package/lib/cjs/src/activities_groups.scailo_connect.js +23 -0
  4. package/lib/cjs/src/activities_statuses.scailo_connect.js +23 -0
  5. package/lib/cjs/src/activities_tags.scailo_connect.js +23 -0
  6. package/lib/cjs/src/bank_accounts.scailo_connect.js +23 -0
  7. package/lib/cjs/src/clients.scailo_connect.js +23 -0
  8. package/lib/cjs/src/currencies.scailo_connect.js +23 -0
  9. package/lib/cjs/src/departments.scailo_connect.js +23 -0
  10. package/lib/cjs/src/equations_families.scailo_connect.js +1 -1
  11. package/lib/cjs/src/equations_replaceables.scailo_connect.js +1 -1
  12. package/lib/cjs/src/equations_sales_bundles.scailo_connect.js +1 -1
  13. package/lib/cjs/src/equations_work_orders.scailo_connect.js +1 -1
  14. package/lib/cjs/src/forms_fields.scailo_connect.js +23 -0
  15. package/lib/cjs/src/forms_fields.scailo_pb.js +49 -0
  16. package/lib/cjs/src/forms_sections.scailo_connect.js +23 -0
  17. package/lib/cjs/src/forms_sections.scailo_pb.js +42 -0
  18. package/lib/cjs/src/inventory.scailo_connect.js +11 -0
  19. package/lib/cjs/src/inventory.scailo_pb.js +114 -1
  20. package/lib/cjs/src/inward_jobs.scailo_connect.js +2 -2
  21. package/lib/cjs/src/labels.scailo_connect.js +23 -0
  22. package/lib/cjs/src/ledgers.scailo_connect.js +23 -0
  23. package/lib/cjs/src/locations.scailo_connect.js +23 -0
  24. package/lib/cjs/src/outward_jobs.scailo_connect.js +2 -2
  25. package/lib/cjs/src/proforma_invoices.scailo_connect.js +1 -1
  26. package/lib/cjs/src/purchases_indents.scailo_connect.js +1 -1
  27. package/lib/cjs/src/purchases_orders.scailo_connect.js +1 -1
  28. package/lib/cjs/src/qc_groups.scailo_connect.js +79 -0
  29. package/lib/cjs/src/qc_groups.scailo_pb.js +336 -16
  30. package/lib/cjs/src/qc_params.scailo_connect.js +23 -0
  31. package/lib/cjs/src/qc_samples.scailo_pb.js +1 -1
  32. package/lib/cjs/src/sales_enquiries.scailo_connect.js +1 -1
  33. package/lib/cjs/src/sales_invoices.scailo_connect.js +1 -1
  34. package/lib/cjs/src/sales_orders.scailo_connect.js +1 -1
  35. package/lib/cjs/src/sales_quotations.scailo_connect.js +1 -1
  36. package/lib/cjs/src/storages.scailo_connect.js +23 -0
  37. package/lib/cjs/src/stores.scailo_connect.js +23 -0
  38. package/lib/cjs/src/tax_groups.scailo_connect.js +23 -0
  39. package/lib/cjs/src/tax_params.scailo_connect.js +23 -0
  40. package/lib/cjs/src/tax_params.scailo_pb.js +42 -0
  41. package/lib/cjs/src/teams.scailo_connect.js +23 -0
  42. package/lib/cjs/src/units_of_materials.scailo_connect.js +23 -0
  43. package/lib/cjs/src/users.scailo_connect.js +23 -0
  44. package/lib/cjs/src/vendors.scailo_connect.js +23 -0
  45. package/lib/cjs/types/permissions.d.ts +106 -0
  46. package/lib/cjs/types/permissions.d.ts.map +1 -1
  47. package/lib/cjs/types/src/actions_codes.scailo_connect.d.ts +24 -1
  48. package/lib/cjs/types/src/actions_codes.scailo_connect.d.ts.map +1 -1
  49. package/lib/cjs/types/src/activities_groups.scailo_connect.d.ts +24 -1
  50. package/lib/cjs/types/src/activities_groups.scailo_connect.d.ts.map +1 -1
  51. package/lib/cjs/types/src/activities_statuses.scailo_connect.d.ts +24 -1
  52. package/lib/cjs/types/src/activities_statuses.scailo_connect.d.ts.map +1 -1
  53. package/lib/cjs/types/src/activities_tags.scailo_connect.d.ts +24 -1
  54. package/lib/cjs/types/src/activities_tags.scailo_connect.d.ts.map +1 -1
  55. package/lib/cjs/types/src/bank_accounts.scailo_connect.d.ts +24 -1
  56. package/lib/cjs/types/src/bank_accounts.scailo_connect.d.ts.map +1 -1
  57. package/lib/cjs/types/src/clients.scailo_connect.d.ts +24 -1
  58. package/lib/cjs/types/src/clients.scailo_connect.d.ts.map +1 -1
  59. package/lib/cjs/types/src/currencies.scailo_connect.d.ts +24 -1
  60. package/lib/cjs/types/src/currencies.scailo_connect.d.ts.map +1 -1
  61. package/lib/cjs/types/src/departments.scailo_connect.d.ts +24 -1
  62. package/lib/cjs/types/src/departments.scailo_connect.d.ts.map +1 -1
  63. package/lib/cjs/types/src/equations_families.scailo_connect.d.ts +2 -2
  64. package/lib/cjs/types/src/equations_families.scailo_connect.d.ts.map +1 -1
  65. package/lib/cjs/types/src/equations_replaceables.scailo_connect.d.ts +2 -2
  66. package/lib/cjs/types/src/equations_replaceables.scailo_connect.d.ts.map +1 -1
  67. package/lib/cjs/types/src/equations_sales_bundles.scailo_connect.d.ts +2 -2
  68. package/lib/cjs/types/src/equations_sales_bundles.scailo_connect.d.ts.map +1 -1
  69. package/lib/cjs/types/src/equations_work_orders.scailo_connect.d.ts +2 -2
  70. package/lib/cjs/types/src/equations_work_orders.scailo_connect.d.ts.map +1 -1
  71. package/lib/cjs/types/src/forms_fields.scailo_connect.d.ts +24 -1
  72. package/lib/cjs/types/src/forms_fields.scailo_connect.d.ts.map +1 -1
  73. package/lib/cjs/types/src/forms_fields.scailo_pb.d.ts +43 -1
  74. package/lib/cjs/types/src/forms_fields.scailo_pb.d.ts.map +1 -1
  75. package/lib/cjs/types/src/forms_sections.scailo_connect.d.ts +24 -1
  76. package/lib/cjs/types/src/forms_sections.scailo_connect.d.ts.map +1 -1
  77. package/lib/cjs/types/src/forms_sections.scailo_pb.d.ts +37 -1
  78. package/lib/cjs/types/src/forms_sections.scailo_pb.d.ts.map +1 -1
  79. package/lib/cjs/types/src/inventory.scailo_connect.d.ts +12 -1
  80. package/lib/cjs/types/src/inventory.scailo_connect.d.ts.map +1 -1
  81. package/lib/cjs/types/src/inventory.scailo_pb.d.ts +88 -0
  82. package/lib/cjs/types/src/inventory.scailo_pb.d.ts.map +1 -1
  83. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts +3 -3
  84. package/lib/cjs/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  85. package/lib/cjs/types/src/labels.scailo_connect.d.ts +24 -1
  86. package/lib/cjs/types/src/labels.scailo_connect.d.ts.map +1 -1
  87. package/lib/cjs/types/src/ledgers.scailo_connect.d.ts +24 -1
  88. package/lib/cjs/types/src/ledgers.scailo_connect.d.ts.map +1 -1
  89. package/lib/cjs/types/src/locations.scailo_connect.d.ts +24 -1
  90. package/lib/cjs/types/src/locations.scailo_connect.d.ts.map +1 -1
  91. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts +3 -3
  92. package/lib/cjs/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  93. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts +2 -2
  94. package/lib/cjs/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  95. package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts +2 -2
  96. package/lib/cjs/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
  97. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts +2 -2
  98. package/lib/cjs/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  99. package/lib/cjs/types/src/qc_groups.scailo_connect.d.ts +81 -2
  100. package/lib/cjs/types/src/qc_groups.scailo_connect.d.ts.map +1 -1
  101. package/lib/cjs/types/src/qc_groups.scailo_pb.d.ts +260 -8
  102. package/lib/cjs/types/src/qc_groups.scailo_pb.d.ts.map +1 -1
  103. package/lib/cjs/types/src/qc_params.scailo_connect.d.ts +24 -1
  104. package/lib/cjs/types/src/qc_params.scailo_connect.d.ts.map +1 -1
  105. package/lib/cjs/types/src/qc_samples.scailo_pb.d.ts.map +1 -1
  106. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts +2 -2
  107. package/lib/cjs/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  108. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts +2 -2
  109. package/lib/cjs/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  110. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts +2 -2
  111. package/lib/cjs/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  112. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts +2 -2
  113. package/lib/cjs/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  114. package/lib/cjs/types/src/storages.scailo_connect.d.ts +24 -1
  115. package/lib/cjs/types/src/storages.scailo_connect.d.ts.map +1 -1
  116. package/lib/cjs/types/src/stores.scailo_connect.d.ts +24 -1
  117. package/lib/cjs/types/src/stores.scailo_connect.d.ts.map +1 -1
  118. package/lib/cjs/types/src/tax_groups.scailo_connect.d.ts +24 -1
  119. package/lib/cjs/types/src/tax_groups.scailo_connect.d.ts.map +1 -1
  120. package/lib/cjs/types/src/tax_params.scailo_connect.d.ts +24 -1
  121. package/lib/cjs/types/src/tax_params.scailo_connect.d.ts.map +1 -1
  122. package/lib/cjs/types/src/tax_params.scailo_pb.d.ts +37 -1
  123. package/lib/cjs/types/src/tax_params.scailo_pb.d.ts.map +1 -1
  124. package/lib/cjs/types/src/teams.scailo_connect.d.ts +24 -1
  125. package/lib/cjs/types/src/teams.scailo_connect.d.ts.map +1 -1
  126. package/lib/cjs/types/src/units_of_materials.scailo_connect.d.ts +24 -1
  127. package/lib/cjs/types/src/units_of_materials.scailo_connect.d.ts.map +1 -1
  128. package/lib/cjs/types/src/users.scailo_connect.d.ts +23 -0
  129. package/lib/cjs/types/src/users.scailo_connect.d.ts.map +1 -1
  130. package/lib/cjs/types/src/vendors.scailo_connect.d.ts +24 -1
  131. package/lib/cjs/types/src/vendors.scailo_connect.d.ts.map +1 -1
  132. package/lib/esm/permissions.js +135 -26
  133. package/lib/esm/src/actions_codes.scailo_connect.js +23 -0
  134. package/lib/esm/src/activities_groups.scailo_connect.js +23 -0
  135. package/lib/esm/src/activities_statuses.scailo_connect.js +23 -0
  136. package/lib/esm/src/activities_tags.scailo_connect.js +23 -0
  137. package/lib/esm/src/bank_accounts.scailo_connect.js +23 -0
  138. package/lib/esm/src/clients.scailo_connect.js +23 -0
  139. package/lib/esm/src/currencies.scailo_connect.js +23 -0
  140. package/lib/esm/src/departments.scailo_connect.js +23 -0
  141. package/lib/esm/src/equations_families.scailo_connect.js +1 -1
  142. package/lib/esm/src/equations_replaceables.scailo_connect.js +1 -1
  143. package/lib/esm/src/equations_sales_bundles.scailo_connect.js +1 -1
  144. package/lib/esm/src/equations_work_orders.scailo_connect.js +1 -1
  145. package/lib/esm/src/forms_fields.scailo_connect.js +23 -0
  146. package/lib/esm/src/forms_fields.scailo_pb.js +49 -0
  147. package/lib/esm/src/forms_sections.scailo_connect.js +23 -0
  148. package/lib/esm/src/forms_sections.scailo_pb.js +42 -0
  149. package/lib/esm/src/inventory.scailo_connect.js +11 -0
  150. package/lib/esm/src/inventory.scailo_pb.js +114 -1
  151. package/lib/esm/src/inward_jobs.scailo_connect.js +2 -2
  152. package/lib/esm/src/labels.scailo_connect.js +23 -0
  153. package/lib/esm/src/ledgers.scailo_connect.js +23 -0
  154. package/lib/esm/src/locations.scailo_connect.js +23 -0
  155. package/lib/esm/src/outward_jobs.scailo_connect.js +2 -2
  156. package/lib/esm/src/proforma_invoices.scailo_connect.js +1 -1
  157. package/lib/esm/src/purchases_indents.scailo_connect.js +1 -1
  158. package/lib/esm/src/purchases_orders.scailo_connect.js +1 -1
  159. package/lib/esm/src/qc_groups.scailo_connect.js +79 -0
  160. package/lib/esm/src/qc_groups.scailo_pb.js +336 -16
  161. package/lib/esm/src/qc_params.scailo_connect.js +23 -0
  162. package/lib/esm/src/qc_samples.scailo_pb.js +1 -1
  163. package/lib/esm/src/sales_enquiries.scailo_connect.js +1 -1
  164. package/lib/esm/src/sales_invoices.scailo_connect.js +1 -1
  165. package/lib/esm/src/sales_orders.scailo_connect.js +1 -1
  166. package/lib/esm/src/sales_quotations.scailo_connect.js +1 -1
  167. package/lib/esm/src/storages.scailo_connect.js +23 -0
  168. package/lib/esm/src/stores.scailo_connect.js +23 -0
  169. package/lib/esm/src/tax_groups.scailo_connect.js +23 -0
  170. package/lib/esm/src/tax_params.scailo_connect.js +23 -0
  171. package/lib/esm/src/tax_params.scailo_pb.js +42 -0
  172. package/lib/esm/src/teams.scailo_connect.js +23 -0
  173. package/lib/esm/src/units_of_materials.scailo_connect.js +23 -0
  174. package/lib/esm/src/users.scailo_connect.js +23 -0
  175. package/lib/esm/src/vendors.scailo_connect.js +23 -0
  176. package/lib/esm/types/permissions.d.ts +106 -0
  177. package/lib/esm/types/permissions.d.ts.map +1 -1
  178. package/lib/esm/types/src/actions_codes.scailo_connect.d.ts +24 -1
  179. package/lib/esm/types/src/actions_codes.scailo_connect.d.ts.map +1 -1
  180. package/lib/esm/types/src/activities_groups.scailo_connect.d.ts +24 -1
  181. package/lib/esm/types/src/activities_groups.scailo_connect.d.ts.map +1 -1
  182. package/lib/esm/types/src/activities_statuses.scailo_connect.d.ts +24 -1
  183. package/lib/esm/types/src/activities_statuses.scailo_connect.d.ts.map +1 -1
  184. package/lib/esm/types/src/activities_tags.scailo_connect.d.ts +24 -1
  185. package/lib/esm/types/src/activities_tags.scailo_connect.d.ts.map +1 -1
  186. package/lib/esm/types/src/bank_accounts.scailo_connect.d.ts +24 -1
  187. package/lib/esm/types/src/bank_accounts.scailo_connect.d.ts.map +1 -1
  188. package/lib/esm/types/src/clients.scailo_connect.d.ts +24 -1
  189. package/lib/esm/types/src/clients.scailo_connect.d.ts.map +1 -1
  190. package/lib/esm/types/src/currencies.scailo_connect.d.ts +24 -1
  191. package/lib/esm/types/src/currencies.scailo_connect.d.ts.map +1 -1
  192. package/lib/esm/types/src/departments.scailo_connect.d.ts +24 -1
  193. package/lib/esm/types/src/departments.scailo_connect.d.ts.map +1 -1
  194. package/lib/esm/types/src/equations_families.scailo_connect.d.ts +2 -2
  195. package/lib/esm/types/src/equations_families.scailo_connect.d.ts.map +1 -1
  196. package/lib/esm/types/src/equations_replaceables.scailo_connect.d.ts +2 -2
  197. package/lib/esm/types/src/equations_replaceables.scailo_connect.d.ts.map +1 -1
  198. package/lib/esm/types/src/equations_sales_bundles.scailo_connect.d.ts +2 -2
  199. package/lib/esm/types/src/equations_sales_bundles.scailo_connect.d.ts.map +1 -1
  200. package/lib/esm/types/src/equations_work_orders.scailo_connect.d.ts +2 -2
  201. package/lib/esm/types/src/equations_work_orders.scailo_connect.d.ts.map +1 -1
  202. package/lib/esm/types/src/forms_fields.scailo_connect.d.ts +24 -1
  203. package/lib/esm/types/src/forms_fields.scailo_connect.d.ts.map +1 -1
  204. package/lib/esm/types/src/forms_fields.scailo_pb.d.ts +43 -1
  205. package/lib/esm/types/src/forms_fields.scailo_pb.d.ts.map +1 -1
  206. package/lib/esm/types/src/forms_sections.scailo_connect.d.ts +24 -1
  207. package/lib/esm/types/src/forms_sections.scailo_connect.d.ts.map +1 -1
  208. package/lib/esm/types/src/forms_sections.scailo_pb.d.ts +37 -1
  209. package/lib/esm/types/src/forms_sections.scailo_pb.d.ts.map +1 -1
  210. package/lib/esm/types/src/inventory.scailo_connect.d.ts +12 -1
  211. package/lib/esm/types/src/inventory.scailo_connect.d.ts.map +1 -1
  212. package/lib/esm/types/src/inventory.scailo_pb.d.ts +88 -0
  213. package/lib/esm/types/src/inventory.scailo_pb.d.ts.map +1 -1
  214. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts +3 -3
  215. package/lib/esm/types/src/inward_jobs.scailo_connect.d.ts.map +1 -1
  216. package/lib/esm/types/src/labels.scailo_connect.d.ts +24 -1
  217. package/lib/esm/types/src/labels.scailo_connect.d.ts.map +1 -1
  218. package/lib/esm/types/src/ledgers.scailo_connect.d.ts +24 -1
  219. package/lib/esm/types/src/ledgers.scailo_connect.d.ts.map +1 -1
  220. package/lib/esm/types/src/locations.scailo_connect.d.ts +24 -1
  221. package/lib/esm/types/src/locations.scailo_connect.d.ts.map +1 -1
  222. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts +3 -3
  223. package/lib/esm/types/src/outward_jobs.scailo_connect.d.ts.map +1 -1
  224. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts +2 -2
  225. package/lib/esm/types/src/proforma_invoices.scailo_connect.d.ts.map +1 -1
  226. package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts +2 -2
  227. package/lib/esm/types/src/purchases_indents.scailo_connect.d.ts.map +1 -1
  228. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts +2 -2
  229. package/lib/esm/types/src/purchases_orders.scailo_connect.d.ts.map +1 -1
  230. package/lib/esm/types/src/qc_groups.scailo_connect.d.ts +81 -2
  231. package/lib/esm/types/src/qc_groups.scailo_connect.d.ts.map +1 -1
  232. package/lib/esm/types/src/qc_groups.scailo_pb.d.ts +260 -8
  233. package/lib/esm/types/src/qc_groups.scailo_pb.d.ts.map +1 -1
  234. package/lib/esm/types/src/qc_params.scailo_connect.d.ts +24 -1
  235. package/lib/esm/types/src/qc_params.scailo_connect.d.ts.map +1 -1
  236. package/lib/esm/types/src/qc_samples.scailo_pb.d.ts.map +1 -1
  237. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts +2 -2
  238. package/lib/esm/types/src/sales_enquiries.scailo_connect.d.ts.map +1 -1
  239. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts +2 -2
  240. package/lib/esm/types/src/sales_invoices.scailo_connect.d.ts.map +1 -1
  241. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts +2 -2
  242. package/lib/esm/types/src/sales_orders.scailo_connect.d.ts.map +1 -1
  243. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts +2 -2
  244. package/lib/esm/types/src/sales_quotations.scailo_connect.d.ts.map +1 -1
  245. package/lib/esm/types/src/storages.scailo_connect.d.ts +24 -1
  246. package/lib/esm/types/src/storages.scailo_connect.d.ts.map +1 -1
  247. package/lib/esm/types/src/stores.scailo_connect.d.ts +24 -1
  248. package/lib/esm/types/src/stores.scailo_connect.d.ts.map +1 -1
  249. package/lib/esm/types/src/tax_groups.scailo_connect.d.ts +24 -1
  250. package/lib/esm/types/src/tax_groups.scailo_connect.d.ts.map +1 -1
  251. package/lib/esm/types/src/tax_params.scailo_connect.d.ts +24 -1
  252. package/lib/esm/types/src/tax_params.scailo_connect.d.ts.map +1 -1
  253. package/lib/esm/types/src/tax_params.scailo_pb.d.ts +37 -1
  254. package/lib/esm/types/src/tax_params.scailo_pb.d.ts.map +1 -1
  255. package/lib/esm/types/src/teams.scailo_connect.d.ts +24 -1
  256. package/lib/esm/types/src/teams.scailo_connect.d.ts.map +1 -1
  257. package/lib/esm/types/src/units_of_materials.scailo_connect.d.ts +24 -1
  258. package/lib/esm/types/src/units_of_materials.scailo_connect.d.ts.map +1 -1
  259. package/lib/esm/types/src/users.scailo_connect.d.ts +23 -0
  260. package/lib/esm/types/src/users.scailo_connect.d.ts.map +1 -1
  261. package/lib/esm/types/src/vendors.scailo_connect.d.ts +24 -1
  262. package/lib/esm/types/src/vendors.scailo_connect.d.ts.map +1 -1
  263. 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.QCGroupsServiceSearchAllReq = exports.QCGroupsServiceCountReq = exports.QCGroupsServiceFilterReq = exports.QCGroupsServicePaginationResponse = exports.QCGroupsServicePaginationReq = exports.QCGroupItemHistoryRequest = exports.QCGroupsItemsList = exports.QCGroupsList = exports.QCGroupItem = exports.QCGroupsServiceItemUpdateRequest = exports.QCGroupsServiceItemCreateRequest = exports.QCGroup = exports.QCGroupsServiceUpdateRequest = exports.QCGroupsServiceCreateRequest = exports.QC_GROUP_SORT_KEY = exports.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE = void 0;
7
+ exports.QCGroupsServiceSearchAllReq = exports.QCGroupsServiceCountReq = exports.QCGroupsServiceFilterReq = exports.QCGroupsServicePaginationResponse = exports.QCGroupsServicePaginationReq = exports.QCGroupsServicePaginatedItemsResponse = exports.QCGroupItemsSearchRequest = exports.QCGroupItemHistoryRequest = exports.QCGroupsItemsList = exports.QCGroupsList = exports.QCGroupItem = exports.QCGroupsServiceItemUpdateRequest = exports.QCGroupsServiceItemCreateRequest = exports.QCGroup = exports.QCGroupsServiceUpdateRequest = exports.QCGroupsServiceCreateRequest = exports.QC_GROUP_SORT_KEY = exports.QC_GROUP_ITEM_STATUS = exports.QC_GROUP_ITEM_SORT_KEY = exports.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE = void 0;
8
8
  const protobuf_1 = require("@bufbuild/protobuf");
9
9
  const forms_fields_data_scailo_pb_js_1 = require("./forms_fields_data.scailo_pb.js");
10
10
  const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
@@ -16,37 +16,152 @@ const base_scailo_pb_js_1 = require("./base.scailo_pb.js");
16
16
  */
17
17
  var QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE;
18
18
  (function (QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE) {
19
+ /**
20
+ * Denotes that value type is disregarded. This is used only within search APIs
21
+ *
22
+ * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED = 0;
23
+ */
24
+ QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED"] = 0] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED";
19
25
  /**
20
26
  * Acceptable value type is an absolute number (with min and max defined in number_min_value and number_max_value)
21
27
  *
22
- * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED = 0;
28
+ * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE = 1;
23
29
  */
24
- QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED"] = 0] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED";
30
+ QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE"] = 1] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE";
25
31
  /**
26
32
  * Acceptable value type is a percentage
27
33
  *
28
- * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE = 1;
34
+ * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE = 2;
29
35
  */
30
- QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE"] = 1] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE";
36
+ QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE"] = 2] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE";
31
37
  /**
32
38
  * Acceptable value type is a textual input
33
39
  *
34
- * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT = 2;
40
+ * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT = 3;
35
41
  */
36
- QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT"] = 2] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT";
42
+ QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT"] = 3] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT";
37
43
  /**
38
44
  * Acceptable value type is a dropdown (from the values as defined in text_values)
39
45
  *
40
- * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN = 3;
46
+ * @generated from enum value: QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN = 4;
41
47
  */
42
- QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN"] = 3] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN";
48
+ QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE[QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE["QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN"] = 4] = "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN";
43
49
  })(QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE || (exports.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE = {}));
44
50
  // Retrieve enum metadata with: proto3.getEnumType(QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE)
45
51
  protobuf_1.proto3.util.setEnumType(QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE, "Scailo.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE", [
46
- { no: 0, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED" },
47
- { no: 1, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE" },
48
- { no: 2, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT" },
49
- { no: 3, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN" },
52
+ { no: 0, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED" },
53
+ { no: 1, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE" },
54
+ { no: 2, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_PERCENTAGE" },
55
+ { no: 3, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_INPUT" },
56
+ { no: 4, name: "QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_TEXT_DROPDOWN" },
57
+ ]);
58
+ /**
59
+ *
60
+ * Describes the available sort keys
61
+ *
62
+ * @generated from enum Scailo.QC_GROUP_ITEM_SORT_KEY
63
+ */
64
+ var QC_GROUP_ITEM_SORT_KEY;
65
+ (function (QC_GROUP_ITEM_SORT_KEY) {
66
+ /**
67
+ * Fetch ordered results by id
68
+ *
69
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_ID_UNSPECIFIED = 0;
70
+ */
71
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_ID_UNSPECIFIED"] = 0] = "QC_GROUP_ITEM_SORT_KEY_ID_UNSPECIFIED";
72
+ /**
73
+ * Fetch ordered results by the creation timestamp
74
+ *
75
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_CREATED_AT = 1;
76
+ */
77
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_CREATED_AT"] = 1] = "QC_GROUP_ITEM_SORT_KEY_CREATED_AT";
78
+ /**
79
+ * Fetch ordered results by the modified timestamp
80
+ *
81
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_MODIFIED_AT = 2;
82
+ */
83
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_MODIFIED_AT"] = 2] = "QC_GROUP_ITEM_SORT_KEY_MODIFIED_AT";
84
+ /**
85
+ * Fetch ordered results by the approved on timestamp
86
+ *
87
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_APPROVED_ON = 3;
88
+ */
89
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_APPROVED_ON"] = 3] = "QC_GROUP_ITEM_SORT_KEY_APPROVED_ON";
90
+ /**
91
+ * Fetch ordered results by the approved by field
92
+ *
93
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_APPROVED_BY = 4;
94
+ */
95
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_APPROVED_BY"] = 4] = "QC_GROUP_ITEM_SORT_KEY_APPROVED_BY";
96
+ /**
97
+ * Fetch ordered results by the approver's role ID
98
+ *
99
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_APPROVER_ROLE_ID = 5;
100
+ */
101
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_APPROVER_ROLE_ID"] = 5] = "QC_GROUP_ITEM_SORT_KEY_APPROVER_ROLE_ID";
102
+ /**
103
+ * Fetch ordered results by the qc group ID
104
+ *
105
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_QC_GROUP_ID = 10;
106
+ */
107
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_QC_GROUP_ID"] = 10] = "QC_GROUP_ITEM_SORT_KEY_QC_GROUP_ID";
108
+ /**
109
+ * Fetch ordered results by the qc param ID
110
+ *
111
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_QC_PARAM_ID = 11;
112
+ */
113
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_QC_PARAM_ID"] = 11] = "QC_GROUP_ITEM_SORT_KEY_QC_PARAM_ID";
114
+ /**
115
+ * Fetch ordered results by the unit of material ID
116
+ *
117
+ * @generated from enum value: QC_GROUP_ITEM_SORT_KEY_UOM_ID = 12;
118
+ */
119
+ QC_GROUP_ITEM_SORT_KEY[QC_GROUP_ITEM_SORT_KEY["QC_GROUP_ITEM_SORT_KEY_UOM_ID"] = 12] = "QC_GROUP_ITEM_SORT_KEY_UOM_ID";
120
+ })(QC_GROUP_ITEM_SORT_KEY || (exports.QC_GROUP_ITEM_SORT_KEY = QC_GROUP_ITEM_SORT_KEY = {}));
121
+ // Retrieve enum metadata with: proto3.getEnumType(QC_GROUP_ITEM_SORT_KEY)
122
+ protobuf_1.proto3.util.setEnumType(QC_GROUP_ITEM_SORT_KEY, "Scailo.QC_GROUP_ITEM_SORT_KEY", [
123
+ { no: 0, name: "QC_GROUP_ITEM_SORT_KEY_ID_UNSPECIFIED" },
124
+ { no: 1, name: "QC_GROUP_ITEM_SORT_KEY_CREATED_AT" },
125
+ { no: 2, name: "QC_GROUP_ITEM_SORT_KEY_MODIFIED_AT" },
126
+ { no: 3, name: "QC_GROUP_ITEM_SORT_KEY_APPROVED_ON" },
127
+ { no: 4, name: "QC_GROUP_ITEM_SORT_KEY_APPROVED_BY" },
128
+ { no: 5, name: "QC_GROUP_ITEM_SORT_KEY_APPROVER_ROLE_ID" },
129
+ { no: 10, name: "QC_GROUP_ITEM_SORT_KEY_QC_GROUP_ID" },
130
+ { no: 11, name: "QC_GROUP_ITEM_SORT_KEY_QC_PARAM_ID" },
131
+ { no: 12, name: "QC_GROUP_ITEM_SORT_KEY_UOM_ID" },
132
+ ]);
133
+ /**
134
+ *
135
+ * Describes the applicable statuses of qc group items
136
+ *
137
+ * @generated from enum Scailo.QC_GROUP_ITEM_STATUS
138
+ */
139
+ var QC_GROUP_ITEM_STATUS;
140
+ (function (QC_GROUP_ITEM_STATUS) {
141
+ /**
142
+ * Denotes that status be disregarded. This is used only within search APIs
143
+ *
144
+ * @generated from enum value: QC_GROUP_ITEM_STATUS_ANY_UNSPECIFIED = 0;
145
+ */
146
+ QC_GROUP_ITEM_STATUS[QC_GROUP_ITEM_STATUS["QC_GROUP_ITEM_STATUS_ANY_UNSPECIFIED"] = 0] = "QC_GROUP_ITEM_STATUS_ANY_UNSPECIFIED";
147
+ /**
148
+ * Denotes that the qc group items must have been approved
149
+ *
150
+ * @generated from enum value: QC_GROUP_ITEM_STATUS_APPROVED = 1;
151
+ */
152
+ QC_GROUP_ITEM_STATUS[QC_GROUP_ITEM_STATUS["QC_GROUP_ITEM_STATUS_APPROVED"] = 1] = "QC_GROUP_ITEM_STATUS_APPROVED";
153
+ /**
154
+ * Denotes that the qc group items must be waiting for approval
155
+ *
156
+ * @generated from enum value: QC_GROUP_ITEM_STATUS_UNAPPROVED = 2;
157
+ */
158
+ QC_GROUP_ITEM_STATUS[QC_GROUP_ITEM_STATUS["QC_GROUP_ITEM_STATUS_UNAPPROVED"] = 2] = "QC_GROUP_ITEM_STATUS_UNAPPROVED";
159
+ })(QC_GROUP_ITEM_STATUS || (exports.QC_GROUP_ITEM_STATUS = QC_GROUP_ITEM_STATUS = {}));
160
+ // Retrieve enum metadata with: proto3.getEnumType(QC_GROUP_ITEM_STATUS)
161
+ protobuf_1.proto3.util.setEnumType(QC_GROUP_ITEM_STATUS, "Scailo.QC_GROUP_ITEM_STATUS", [
162
+ { no: 0, name: "QC_GROUP_ITEM_STATUS_ANY_UNSPECIFIED" },
163
+ { no: 1, name: "QC_GROUP_ITEM_STATUS_APPROVED" },
164
+ { no: 2, name: "QC_GROUP_ITEM_STATUS_UNAPPROVED" },
50
165
  ]);
51
166
  /**
52
167
  *
@@ -424,7 +539,7 @@ class QCGroupsServiceItemCreateRequest extends protobuf_1.Message {
424
539
  *
425
540
  * @generated from field: Scailo.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE acceptable_value_type = 20;
426
541
  */
427
- this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED;
542
+ this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED;
428
543
  /**
429
544
  * The acceptable value (in cents) in case the acceptable value type is number-absolute or number-percentage
430
545
  *
@@ -532,7 +647,7 @@ class QCGroupsServiceItemUpdateRequest extends protobuf_1.Message {
532
647
  *
533
648
  * @generated from field: Scailo.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE acceptable_value_type = 20;
534
649
  */
535
- this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED;
650
+ this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED;
536
651
  /**
537
652
  * The acceptable value (in cents) in case the acceptable value type is number-absolute or number-percentage
538
653
  *
@@ -662,7 +777,7 @@ class QCGroupItem extends protobuf_1.Message {
662
777
  *
663
778
  * @generated from field: Scailo.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE acceptable_value_type = 20;
664
779
  */
665
- this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED;
780
+ this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED;
666
781
  /**
667
782
  * The acceptable value (in cents) in case the acceptable value type is number-absolute or number-percentage
668
783
  *
@@ -857,6 +972,211 @@ QCGroupItemHistoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
857
972
  { no: 10, name: "qc_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
858
973
  { no: 11, name: "qc_param_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
859
974
  ]);
975
+ /**
976
+ *
977
+ * Describes the request payload to retrieve approved or unapproved items.
978
+ *
979
+ * @generated from message Scailo.QCGroupItemsSearchRequest
980
+ */
981
+ class QCGroupItemsSearchRequest extends protobuf_1.Message {
982
+ constructor(data) {
983
+ super();
984
+ /**
985
+ * If true, then returns only active records. If false, then returns only inactive records
986
+ *
987
+ * @generated from field: Scailo.BOOL_FILTER is_active = 1;
988
+ */
989
+ this.isActive = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
990
+ /**
991
+ * The number of records that need to be sent in the response. Returns all records if it is set to -1
992
+ *
993
+ * @generated from field: int64 count = 2;
994
+ */
995
+ this.count = protobuf_1.protoInt64.zero;
996
+ /**
997
+ * The number that need to be offset by before fetching the records
998
+ *
999
+ * @generated from field: uint64 offset = 3;
1000
+ */
1001
+ this.offset = protobuf_1.protoInt64.zero;
1002
+ /**
1003
+ * The sort order that is to be used to fetch the pagination response
1004
+ *
1005
+ * @generated from field: Scailo.SORT_ORDER sort_order = 4;
1006
+ */
1007
+ this.sortOrder = base_scailo_pb_js_1.SORT_ORDER.ASCENDING_UNSPECIFIED;
1008
+ /**
1009
+ * The sort key that is to be used to fetch the pagination response
1010
+ *
1011
+ * @generated from field: Scailo.QC_GROUP_ITEM_SORT_KEY sort_key = 5;
1012
+ */
1013
+ this.sortKey = QC_GROUP_ITEM_SORT_KEY.QC_GROUP_ITEM_SORT_KEY_ID_UNSPECIFIED;
1014
+ /**
1015
+ * The entity UUID that is to be used to filter records
1016
+ *
1017
+ * @generated from field: string entity_uuid = 6;
1018
+ */
1019
+ this.entityUuid = "";
1020
+ /**
1021
+ * The status of the items
1022
+ *
1023
+ * @generated from field: Scailo.QC_GROUP_ITEM_STATUS status = 7;
1024
+ */
1025
+ this.status = QC_GROUP_ITEM_STATUS.QC_GROUP_ITEM_STATUS_ANY_UNSPECIFIED;
1026
+ /**
1027
+ * The start range of approved timestamp
1028
+ *
1029
+ * @generated from field: uint64 approved_on_start = 10;
1030
+ */
1031
+ this.approvedOnStart = protobuf_1.protoInt64.zero;
1032
+ /**
1033
+ * The end range of approved timestamp
1034
+ *
1035
+ * @generated from field: uint64 approved_on_end = 11;
1036
+ */
1037
+ this.approvedOnEnd = protobuf_1.protoInt64.zero;
1038
+ /**
1039
+ * The ID of the approver
1040
+ *
1041
+ * @generated from field: uint64 approved_by_user_id = 12;
1042
+ */
1043
+ this.approvedByUserId = protobuf_1.protoInt64.zero;
1044
+ /**
1045
+ * The role ID of the approver
1046
+ *
1047
+ * @generated from field: uint64 approver_role_id = 13;
1048
+ */
1049
+ this.approverRoleId = protobuf_1.protoInt64.zero;
1050
+ /**
1051
+ * The ID of the qc group
1052
+ *
1053
+ * @generated from field: uint64 qc_group_id = 20;
1054
+ */
1055
+ this.qcGroupId = protobuf_1.protoInt64.zero;
1056
+ /**
1057
+ * The ID of the qc param
1058
+ *
1059
+ * @generated from field: uint64 qc_param_id = 21;
1060
+ */
1061
+ this.qcParamId = protobuf_1.protoInt64.zero;
1062
+ /**
1063
+ * The ID of the unit of material
1064
+ *
1065
+ * @generated from field: uint64 uom_id = 22;
1066
+ */
1067
+ this.uomId = protobuf_1.protoInt64.zero;
1068
+ /**
1069
+ * Denotes if this parameter is internal or not (if set to true, then this value will be hidden. If set to false, then this value will be printed)
1070
+ *
1071
+ * @generated from field: Scailo.BOOL_FILTER is_internal = 29;
1072
+ */
1073
+ this.isInternal = base_scailo_pb_js_1.BOOL_FILTER.BOOL_FILTER_ANY_UNSPECIFIED;
1074
+ /**
1075
+ * The acceptable value type of the item
1076
+ *
1077
+ * @generated from field: Scailo.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE acceptable_value_type = 30;
1078
+ */
1079
+ this.acceptableValueType = QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED;
1080
+ /**
1081
+ * Describes the key with which the search operation needs to be performed
1082
+ *
1083
+ * @generated from field: string search_key = 40;
1084
+ */
1085
+ this.searchKey = "";
1086
+ protobuf_1.proto3.util.initPartial(data, this);
1087
+ }
1088
+ static fromBinary(bytes, options) {
1089
+ return new QCGroupItemsSearchRequest().fromBinary(bytes, options);
1090
+ }
1091
+ static fromJson(jsonValue, options) {
1092
+ return new QCGroupItemsSearchRequest().fromJson(jsonValue, options);
1093
+ }
1094
+ static fromJsonString(jsonString, options) {
1095
+ return new QCGroupItemsSearchRequest().fromJsonString(jsonString, options);
1096
+ }
1097
+ static equals(a, b) {
1098
+ return protobuf_1.proto3.util.equals(QCGroupItemsSearchRequest, a, b);
1099
+ }
1100
+ }
1101
+ exports.QCGroupItemsSearchRequest = QCGroupItemsSearchRequest;
1102
+ QCGroupItemsSearchRequest.runtime = protobuf_1.proto3;
1103
+ QCGroupItemsSearchRequest.typeName = "Scailo.QCGroupItemsSearchRequest";
1104
+ QCGroupItemsSearchRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
1105
+ { no: 1, name: "is_active", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
1106
+ { no: 2, name: "count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1107
+ { no: 3, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1108
+ { no: 4, name: "sort_order", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.SORT_ORDER) },
1109
+ { no: 5, name: "sort_key", kind: "enum", T: protobuf_1.proto3.getEnumType(QC_GROUP_ITEM_SORT_KEY) },
1110
+ { no: 6, name: "entity_uuid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1111
+ { no: 7, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(QC_GROUP_ITEM_STATUS) },
1112
+ { no: 10, name: "approved_on_start", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1113
+ { no: 11, name: "approved_on_end", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1114
+ { no: 12, name: "approved_by_user_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1115
+ { no: 13, name: "approver_role_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1116
+ { no: 20, name: "qc_group_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1117
+ { no: 21, name: "qc_param_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1118
+ { no: 22, name: "uom_id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1119
+ { no: 29, name: "is_internal", kind: "enum", T: protobuf_1.proto3.getEnumType(base_scailo_pb_js_1.BOOL_FILTER) },
1120
+ { no: 30, name: "acceptable_value_type", kind: "enum", T: protobuf_1.proto3.getEnumType(QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE) },
1121
+ { no: 40, name: "search_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1122
+ ]);
1123
+ /**
1124
+ *
1125
+ * Describes the response to a pagination items request
1126
+ *
1127
+ * @generated from message Scailo.QCGroupsServicePaginatedItemsResponse
1128
+ */
1129
+ class QCGroupsServicePaginatedItemsResponse extends protobuf_1.Message {
1130
+ constructor(data) {
1131
+ super();
1132
+ /**
1133
+ * The number of records in this payload
1134
+ *
1135
+ * @generated from field: uint64 count = 1;
1136
+ */
1137
+ this.count = protobuf_1.protoInt64.zero;
1138
+ /**
1139
+ * The number that has been offset before fetching the records. This is the same value that has been sent as part of the pagination request
1140
+ *
1141
+ * @generated from field: uint64 offset = 2;
1142
+ */
1143
+ this.offset = protobuf_1.protoInt64.zero;
1144
+ /**
1145
+ * The total number of records that are available
1146
+ *
1147
+ * @generated from field: uint64 total = 3;
1148
+ */
1149
+ this.total = protobuf_1.protoInt64.zero;
1150
+ /**
1151
+ * The list of records
1152
+ *
1153
+ * @generated from field: repeated Scailo.QCGroupItem payload = 4;
1154
+ */
1155
+ this.payload = [];
1156
+ protobuf_1.proto3.util.initPartial(data, this);
1157
+ }
1158
+ static fromBinary(bytes, options) {
1159
+ return new QCGroupsServicePaginatedItemsResponse().fromBinary(bytes, options);
1160
+ }
1161
+ static fromJson(jsonValue, options) {
1162
+ return new QCGroupsServicePaginatedItemsResponse().fromJson(jsonValue, options);
1163
+ }
1164
+ static fromJsonString(jsonString, options) {
1165
+ return new QCGroupsServicePaginatedItemsResponse().fromJsonString(jsonString, options);
1166
+ }
1167
+ static equals(a, b) {
1168
+ return protobuf_1.proto3.util.equals(QCGroupsServicePaginatedItemsResponse, a, b);
1169
+ }
1170
+ }
1171
+ exports.QCGroupsServicePaginatedItemsResponse = QCGroupsServicePaginatedItemsResponse;
1172
+ QCGroupsServicePaginatedItemsResponse.runtime = protobuf_1.proto3;
1173
+ QCGroupsServicePaginatedItemsResponse.typeName = "Scailo.QCGroupsServicePaginatedItemsResponse";
1174
+ QCGroupsServicePaginatedItemsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
1175
+ { no: 1, name: "count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1176
+ { no: 2, name: "offset", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1177
+ { no: 3, name: "total", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1178
+ { no: 4, name: "payload", kind: "message", T: QCGroupItem, repeated: true },
1179
+ ]);
860
1180
  /**
861
1181
  *
862
1182
  * Describes a pagination request to retrieve records
@@ -262,5 +262,28 @@ exports.QCParamsService = {
262
262
  O: base_scailo_pb_js_1.CountResponse,
263
263
  kind: protobuf_1.MethodKind.Unary,
264
264
  },
265
+ /**
266
+ * CSV operations
267
+ * Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
268
+ *
269
+ * @generated from rpc Scailo.QCParamsService.DownloadAsCSV
270
+ */
271
+ downloadAsCSV: {
272
+ name: "DownloadAsCSV",
273
+ I: qc_params_scailo_pb_js_1.QCParamsServiceFilterReq,
274
+ O: base_scailo_pb_js_1.StandardFile,
275
+ kind: protobuf_1.MethodKind.Unary,
276
+ },
277
+ /**
278
+ * Import records using a CSV file (duplicate codes will be skipped)
279
+ *
280
+ * @generated from rpc Scailo.QCParamsService.Import
281
+ */
282
+ import: {
283
+ name: "Import",
284
+ I: base_scailo_pb_js_1.StandardFile,
285
+ O: base_scailo_pb_js_1.IdentifierUUIDsList,
286
+ kind: protobuf_1.MethodKind.Unary,
287
+ },
265
288
  }
266
289
  };
@@ -1501,7 +1501,7 @@ class QCSampleParameter extends protobuf_1.Message {
1501
1501
  *
1502
1502
  * @generated from field: Scailo.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE acceptable_value_type = 20;
1503
1503
  */
1504
- this.acceptableValueType = qc_groups_scailo_pb_js_1.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_NUMBER_ABSOLUTE_UNSPECIFIED;
1504
+ this.acceptableValueType = qc_groups_scailo_pb_js_1.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE.QC_GROUP_ITEM_ACCEPTABLE_VALUE_TYPE_ANY_UNSPECIFIED;
1505
1505
  /**
1506
1506
  * The acceptable value (in cents) in case the acceptable value type is number-absolute or number-percentage
1507
1507
  *
@@ -355,7 +355,7 @@ exports.SalesEnquiriesService = {
355
355
  */
356
356
  uploadSalesEnquiryItems: {
357
357
  name: "UploadSalesEnquiryItems",
358
- I: base_scailo_pb_js_1.IdentifierWithFile,
358
+ I: base_scailo_pb_js_1.IdentifierUUIDWithFile,
359
359
  O: base_scailo_pb_js_1.IdentifiersList,
360
360
  kind: protobuf_1.MethodKind.Unary,
361
361
  },
@@ -367,7 +367,7 @@ exports.SalesInvoicesService = {
367
367
  */
368
368
  uploadSalesInvoiceItems: {
369
369
  name: "UploadSalesInvoiceItems",
370
- I: base_scailo_pb_js_1.IdentifierWithFile,
370
+ I: base_scailo_pb_js_1.IdentifierUUIDWithFile,
371
371
  O: base_scailo_pb_js_1.IdentifiersList,
372
372
  kind: protobuf_1.MethodKind.Unary,
373
373
  },
@@ -378,7 +378,7 @@ exports.SalesOrdersService = {
378
378
  */
379
379
  uploadSalesOrderItems: {
380
380
  name: "UploadSalesOrderItems",
381
- I: base_scailo_pb_js_1.IdentifierWithFile,
381
+ I: base_scailo_pb_js_1.IdentifierUUIDWithFile,
382
382
  O: base_scailo_pb_js_1.IdentifiersList,
383
383
  kind: protobuf_1.MethodKind.Unary,
384
384
  },
@@ -378,7 +378,7 @@ exports.SalesQuotationsService = {
378
378
  */
379
379
  uploadSalesQuotationItems: {
380
380
  name: "UploadSalesQuotationItems",
381
- I: base_scailo_pb_js_1.IdentifierWithFile,
381
+ I: base_scailo_pb_js_1.IdentifierUUIDWithFile,
382
382
  O: base_scailo_pb_js_1.IdentifiersList,
383
383
  kind: protobuf_1.MethodKind.Unary,
384
384
  },
@@ -240,5 +240,28 @@ exports.StoragesService = {
240
240
  O: base_scailo_pb_js_1.CountResponse,
241
241
  kind: protobuf_1.MethodKind.Unary,
242
242
  },
243
+ /**
244
+ * CSV operations
245
+ * Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
246
+ *
247
+ * @generated from rpc Scailo.StoragesService.DownloadAsCSV
248
+ */
249
+ downloadAsCSV: {
250
+ name: "DownloadAsCSV",
251
+ I: storages_scailo_pb_js_1.StoragesServiceFilterReq,
252
+ O: base_scailo_pb_js_1.StandardFile,
253
+ kind: protobuf_1.MethodKind.Unary,
254
+ },
255
+ /**
256
+ * Import records using a CSV file (duplicate codes will be skipped)
257
+ *
258
+ * @generated from rpc Scailo.StoragesService.Import
259
+ */
260
+ import: {
261
+ name: "Import",
262
+ I: base_scailo_pb_js_1.StandardFile,
263
+ O: base_scailo_pb_js_1.IdentifierUUIDsList,
264
+ kind: protobuf_1.MethodKind.Unary,
265
+ },
243
266
  }
244
267
  };
@@ -240,5 +240,28 @@ exports.StoresService = {
240
240
  O: base_scailo_pb_js_1.CountResponse,
241
241
  kind: protobuf_1.MethodKind.Unary,
242
242
  },
243
+ /**
244
+ * CSV operations
245
+ * Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
246
+ *
247
+ * @generated from rpc Scailo.StoresService.DownloadAsCSV
248
+ */
249
+ downloadAsCSV: {
250
+ name: "DownloadAsCSV",
251
+ I: stores_scailo_pb_js_1.StoresServiceFilterReq,
252
+ O: base_scailo_pb_js_1.StandardFile,
253
+ kind: protobuf_1.MethodKind.Unary,
254
+ },
255
+ /**
256
+ * Import records using a CSV file (duplicate codes will be skipped)
257
+ *
258
+ * @generated from rpc Scailo.StoresService.Import
259
+ */
260
+ import: {
261
+ name: "Import",
262
+ I: base_scailo_pb_js_1.StandardFile,
263
+ O: base_scailo_pb_js_1.IdentifierUUIDsList,
264
+ kind: protobuf_1.MethodKind.Unary,
265
+ },
243
266
  }
244
267
  };
@@ -339,5 +339,28 @@ exports.TaxGroupsService = {
339
339
  O: base_scailo_pb_js_1.CountResponse,
340
340
  kind: protobuf_1.MethodKind.Unary,
341
341
  },
342
+ /**
343
+ * CSV operations
344
+ * Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
345
+ *
346
+ * @generated from rpc Scailo.TaxGroupsService.DownloadAsCSV
347
+ */
348
+ downloadAsCSV: {
349
+ name: "DownloadAsCSV",
350
+ I: tax_groups_scailo_pb_js_1.TaxGroupsServiceFilterReq,
351
+ O: base_scailo_pb_js_1.StandardFile,
352
+ kind: protobuf_1.MethodKind.Unary,
353
+ },
354
+ /**
355
+ * Import records using a CSV file (duplicate codes will be skipped)
356
+ *
357
+ * @generated from rpc Scailo.TaxGroupsService.Import
358
+ */
359
+ import: {
360
+ name: "Import",
361
+ I: base_scailo_pb_js_1.StandardFile,
362
+ O: base_scailo_pb_js_1.IdentifierUUIDsList,
363
+ kind: protobuf_1.MethodKind.Unary,
364
+ },
342
365
  }
343
366
  };
@@ -240,5 +240,28 @@ exports.TaxParamsService = {
240
240
  O: base_scailo_pb_js_1.CountResponse,
241
241
  kind: protobuf_1.MethodKind.Unary,
242
242
  },
243
+ /**
244
+ * CSV operations
245
+ * Download the CSV file that consists of the list of records according to the given filter request. The same file could also be used as a template for uploading records
246
+ *
247
+ * @generated from rpc Scailo.TaxParamsService.DownloadAsCSV
248
+ */
249
+ downloadAsCSV: {
250
+ name: "DownloadAsCSV",
251
+ I: tax_params_scailo_pb_js_1.TaxParamsServiceFilterReq,
252
+ O: base_scailo_pb_js_1.StandardFile,
253
+ kind: protobuf_1.MethodKind.Unary,
254
+ },
255
+ /**
256
+ * Import records using a CSV file (duplicate codes will be skipped)
257
+ *
258
+ * @generated from rpc Scailo.TaxParamsService.Import
259
+ */
260
+ import: {
261
+ name: "Import",
262
+ I: base_scailo_pb_js_1.StandardFile,
263
+ O: base_scailo_pb_js_1.IdentifierUUIDsList,
264
+ kind: protobuf_1.MethodKind.Unary,
265
+ },
243
266
  }
244
267
  };