@pksep/zod-shared 0.0.490

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 (863) hide show
  1. package/dist/action/dto/action-guard.dto.d.ts +15 -0
  2. package/dist/action/dto/action-guard.dto.js +9 -0
  3. package/dist/action/dto/actions-by-param.dto.d.ts +43 -0
  4. package/dist/action/dto/actions-by-param.dto.js +20 -0
  5. package/dist/action/enums/enums.d.ts +183 -0
  6. package/dist/action/enums/enums.js +130 -0
  7. package/dist/action/index.d.ts +7 -0
  8. package/dist/action/index.js +23 -0
  9. package/dist/action/interfaces/interface.d.ts +19 -0
  10. package/dist/action/interfaces/interface.js +2 -0
  11. package/dist/action/schemas/actions-chain.schema.d.ts +19 -0
  12. package/dist/action/schemas/actions-chain.schema.js +9 -0
  13. package/dist/action/schemas/actions.schema.d.ts +158 -0
  14. package/dist/action/schemas/actions.schema.js +39 -0
  15. package/dist/action/types/types.d.ts +4 -0
  16. package/dist/action/types/types.js +2 -0
  17. package/dist/assemble/dto/assemble-coming.dto.d.ts +35 -0
  18. package/dist/assemble/dto/assemble-coming.dto.js +22 -0
  19. package/dist/assemble/dto/assemble-db-request.dto.d.ts +66 -0
  20. package/dist/assemble/dto/assemble-db-request.dto.js +25 -0
  21. package/dist/assemble/dto/assemble-deep-deficit.dto.d.ts +16 -0
  22. package/dist/assemble/dto/assemble-deep-deficit.dto.js +10 -0
  23. package/dist/assemble/dto/assembly-paginate.dto.d.ts +31 -0
  24. package/dist/assemble/dto/assembly-paginate.dto.js +16 -0
  25. package/dist/assemble/dto/create-assemble-kit.dto.d.ts +24 -0
  26. package/dist/assemble/dto/create-assemble-kit.dto.js +12 -0
  27. package/dist/assemble/dto/create-assemble.dto.d.ts +24 -0
  28. package/dist/assemble/dto/create-assemble.dto.js +12 -0
  29. package/dist/assemble/dto/delete-actual-shipment.dto.d.ts +15 -0
  30. package/dist/assemble/dto/delete-actual-shipment.dto.js +9 -0
  31. package/dist/assemble/dto/delete-assemble.dto.d.ts +21 -0
  32. package/dist/assemble/dto/delete-assemble.dto.js +11 -0
  33. package/dist/assemble/dto/delete-shipment.dto.d.ts +12 -0
  34. package/dist/assemble/dto/delete-shipment.dto.js +8 -0
  35. package/dist/assemble/dto/get-assemble-by-id.dto.d.ts +18 -0
  36. package/dist/assemble/dto/get-assemble-by-id.dto.js +10 -0
  37. package/dist/assemble/dto/get-assemble-by-izd.dto.d.ts +18 -0
  38. package/dist/assemble/dto/get-assemble-by-izd.dto.js +11 -0
  39. package/dist/assemble/dto/get-assemble-operation-count.dto.d.ts +1503 -0
  40. package/dist/assemble/dto/get-assemble-operation-count.dto.js +9 -0
  41. package/dist/assemble/dto/get-assemble-operation-pagination.dto.d.ts +46 -0
  42. package/dist/assemble/dto/get-assemble-operation-pagination.dto.js +24 -0
  43. package/dist/assemble/dto/get-assemble-pagination-sclad.dto.d.ts +46 -0
  44. package/dist/assemble/dto/get-assemble-pagination-sclad.dto.js +24 -0
  45. package/dist/assemble/dto/get-assemble-pagination.dto.d.ts +55 -0
  46. package/dist/assemble/dto/get-assemble-pagination.dto.js +27 -0
  47. package/dist/assemble/dto/set-date-shipment.dto.d.ts +21 -0
  48. package/dist/assemble/dto/set-date-shipment.dto.js +11 -0
  49. package/dist/assemble/dto/update-assemble.dto.d.ts +15 -0
  50. package/dist/assemble/dto/update-assemble.dto.js +9 -0
  51. package/dist/assemble/enum/enum.d.ts +4 -0
  52. package/dist/assemble/enum/enum.js +8 -0
  53. package/dist/assemble/index.d.ts +21 -0
  54. package/dist/assemble/index.js +37 -0
  55. package/dist/assemble/interfaces/interfaces.d.ts +102 -0
  56. package/dist/assemble/interfaces/interfaces.js +2 -0
  57. package/dist/assemble/schemas/assemble-coming.schema.d.ts +1176 -0
  58. package/dist/assemble/schemas/assemble-coming.schema.js +21 -0
  59. package/dist/assemble/schemas/assemble.schema.d.ts +1138 -0
  60. package/dist/assemble/schemas/assemble.schema.js +32 -0
  61. package/dist/assemble-kit/dto/assemble-kit-paginate.dto.d.ts +46 -0
  62. package/dist/assemble-kit/dto/assemble-kit-paginate.dto.js +27 -0
  63. package/dist/assemble-kit/dto/update-assemble-kit.dto.d.ts +24 -0
  64. package/dist/assemble-kit/dto/update-assemble-kit.dto.js +16 -0
  65. package/dist/assemble-kit/index.d.ts +4 -0
  66. package/dist/assemble-kit/index.js +20 -0
  67. package/dist/assemble-kit/interfaces/interface.d.ts +4 -0
  68. package/dist/assemble-kit/interfaces/interface.js +2 -0
  69. package/dist/assemble-kit/schemas/assemble-kit.schema.d.ts +306 -0
  70. package/dist/assemble-kit/schemas/assemble-kit.schema.js +27 -0
  71. package/dist/avatar/index.d.ts +2 -0
  72. package/dist/avatar/index.js +18 -0
  73. package/dist/avatar/interfaces/interface.d.ts +6 -0
  74. package/dist/avatar/interfaces/interface.js +2 -0
  75. package/dist/avatar/schemas/avatarsSchema.d.ts +25 -0
  76. package/dist/avatar/schemas/avatarsSchema.js +12 -0
  77. package/dist/buyer/index.d.ts +4 -0
  78. package/dist/buyer/index.js +20 -0
  79. package/dist/buyer/interfaces/interface.d.ts +6 -0
  80. package/dist/buyer/interfaces/interface.js +2 -0
  81. package/dist/buyer/schemas/buyer-cbed.schema.d.ts +15 -0
  82. package/dist/buyer/schemas/buyer-cbed.schema.js +9 -0
  83. package/dist/buyer/schemas/buyer.schema.d.ts +36 -0
  84. package/dist/buyer/schemas/buyer.schema.js +16 -0
  85. package/dist/buyer/schemas/purchases.schema.d.ts +33 -0
  86. package/dist/buyer/schemas/purchases.schema.js +15 -0
  87. package/dist/cbed/dto/cbed-pagination.dto.d.ts +40 -0
  88. package/dist/cbed/dto/cbed-pagination.dto.js +20 -0
  89. package/dist/cbed/dto/check-designatiom.dto.d.ts +9 -0
  90. package/dist/cbed/dto/check-designatiom.dto.js +7 -0
  91. package/dist/cbed/dto/get-archive.dto.d.ts +9 -0
  92. package/dist/cbed/dto/get-archive.dto.js +7 -0
  93. package/dist/cbed/dto/get-deficit.dto.d.ts +25 -0
  94. package/dist/cbed/dto/get-deficit.dto.js +13 -0
  95. package/dist/cbed/dto/get-include.dto.d.ts +9 -0
  96. package/dist/cbed/dto/get-include.dto.js +7 -0
  97. package/dist/cbed/dto/get-one-cbed-dto.d.ts +16 -0
  98. package/dist/cbed/dto/get-one-cbed-dto.js +24 -0
  99. package/dist/cbed/dto/get-remains-cbed.dto.d.ts +16 -0
  100. package/dist/cbed/dto/get-remains-cbed.dto.js +9 -0
  101. package/dist/cbed/dto/recursive-childrens.dto.d.ts +45 -0
  102. package/dist/cbed/dto/recursive-childrens.dto.js +19 -0
  103. package/dist/cbed/dto/set-actual-shipment.dto.d.ts +18 -0
  104. package/dist/cbed/dto/set-actual-shipment.dto.js +10 -0
  105. package/dist/cbed/dto/up-create-cbed.dto.d.ts +55 -0
  106. package/dist/cbed/dto/up-create-cbed.dto.js +61 -0
  107. package/dist/cbed/index.d.ts +16 -0
  108. package/dist/cbed/index.js +32 -0
  109. package/dist/cbed/interfaces/interface.d.ts +3 -0
  110. package/dist/cbed/interfaces/interface.js +2 -0
  111. package/dist/cbed/schemas/cbed-detals.schema.d.ts +15 -0
  112. package/dist/cbed/schemas/cbed-detals.schema.js +9 -0
  113. package/dist/cbed/schemas/cbed-material.schema.d.ts +15 -0
  114. package/dist/cbed/schemas/cbed-material.schema.js +9 -0
  115. package/dist/cbed/schemas/cbed.schema.d.ts +115 -0
  116. package/dist/cbed/schemas/cbed.schema.js +40 -0
  117. package/dist/cbed/types/cbed-types.d.ts +9 -0
  118. package/dist/cbed/types/cbed-types.js +2 -0
  119. package/dist/cbed/types/cbed.d.ts +5 -0
  120. package/dist/cbed/types/cbed.js +2 -0
  121. package/dist/company/default-value/model.d.ts +7 -0
  122. package/dist/company/default-value/model.js +26 -0
  123. package/dist/company/dto/companies-pagination.dto.d.ts +52 -0
  124. package/dist/company/dto/companies-pagination.dto.js +21 -0
  125. package/dist/company/dto/create-company.dto.d.ts +72 -0
  126. package/dist/company/dto/create-company.dto.js +21 -0
  127. package/dist/company/dto/get-include.dto.d.ts +12 -0
  128. package/dist/company/dto/get-include.dto.js +8 -0
  129. package/dist/company/dto/update-company.dto.d.ts +75 -0
  130. package/dist/company/dto/update-company.dto.js +22 -0
  131. package/dist/company/enums/enums.d.ts +14 -0
  132. package/dist/company/enums/enums.js +19 -0
  133. package/dist/company/index.d.ts +9 -0
  134. package/dist/company/index.js +25 -0
  135. package/dist/company/interfaces/interface.d.ts +60 -0
  136. package/dist/company/interfaces/interface.js +12 -0
  137. package/dist/company/schemas/companies.schema.d.ts +78 -0
  138. package/dist/company/schemas/companies.schema.js +19 -0
  139. package/dist/company/type/type.d.ts +5 -0
  140. package/dist/company/type/type.js +2 -0
  141. package/dist/contact/default-value/model.d.ts +7 -0
  142. package/dist/contact/default-value/model.js +26 -0
  143. package/dist/contact/dto/contact-pagination.dto.d.ts +27 -0
  144. package/dist/contact/dto/contact-pagination.dto.js +14 -0
  145. package/dist/contact/dto/create-contact.dto.d.ts +48 -0
  146. package/dist/contact/dto/create-contact.dto.js +12 -0
  147. package/dist/contact/dto/get-include.dto.d.ts +12 -0
  148. package/dist/contact/dto/get-include.dto.js +8 -0
  149. package/dist/contact/dto/update-contact.dto.d.ts +51 -0
  150. package/dist/contact/dto/update-contact.dto.js +13 -0
  151. package/dist/contact/index.d.ts +7 -0
  152. package/dist/contact/index.js +23 -0
  153. package/dist/contact/interfaces/interface.d.ts +42 -0
  154. package/dist/contact/interfaces/interface.js +12 -0
  155. package/dist/contact/schemas/contact.schema.d.ts +51 -0
  156. package/dist/contact/schemas/contact.schema.js +16 -0
  157. package/dist/deficit/dto/create-deficite.dto.d.ts +15 -0
  158. package/dist/deficit/dto/create-deficite.dto.js +9 -0
  159. package/dist/deficit/dto/deficit-material.dto.d.ts +9 -0
  160. package/dist/deficit/dto/deficit-material.dto.js +7 -0
  161. package/dist/deficit/index.d.ts +4 -0
  162. package/dist/deficit/index.js +20 -0
  163. package/dist/deficit/interfaces/interface.d.ts +9 -0
  164. package/dist/deficit/interfaces/interface.js +2 -0
  165. package/dist/deficit/schemas/deficit.schema.d.ts +15 -0
  166. package/dist/deficit/schemas/deficit.schema.js +9 -0
  167. package/dist/deliveries/dto/all-delivery-pagination.dto.d.ts +19 -0
  168. package/dist/deliveries/dto/all-delivery-pagination.dto.js +11 -0
  169. package/dist/deliveries/dto/create-deliveries.dto.d.ts +104 -0
  170. package/dist/deliveries/dto/create-deliveries.dto.js +25 -0
  171. package/dist/deliveries/index.d.ts +8 -0
  172. package/dist/deliveries/index.js +24 -0
  173. package/dist/deliveries/schemas/deliveries-equipments.schema.d.ts +15 -0
  174. package/dist/deliveries/schemas/deliveries-equipments.schema.js +9 -0
  175. package/dist/deliveries/schemas/deliveries-instrument.schema.d.ts +15 -0
  176. package/dist/deliveries/schemas/deliveries-instrument.schema.js +9 -0
  177. package/dist/deliveries/schemas/deliveries-inventary.schema.d.ts +15 -0
  178. package/dist/deliveries/schemas/deliveries-inventary.schema.js +9 -0
  179. package/dist/deliveries/schemas/deliveries-material.schema.d.ts +15 -0
  180. package/dist/deliveries/schemas/deliveries-material.schema.js +9 -0
  181. package/dist/deliveries/schemas/deliveries-position.schema.d.ts +32 -0
  182. package/dist/deliveries/schemas/deliveries-position.schema.js +15 -0
  183. package/dist/deliveries/schemas/deliveries.schema.d.ts +64 -0
  184. package/dist/deliveries/schemas/deliveries.schema.js +21 -0
  185. package/dist/detal/default-values/default-values.d.ts +58 -0
  186. package/dist/detal/default-values/default-values.js +63 -0
  187. package/dist/detal/dto/add-file-to-detal.dto.d.ts +22 -0
  188. package/dist/detal/dto/add-file-to-detal.dto.js +9 -0
  189. package/dist/detal/dto/detal-pagination.dto.d.ts +34 -0
  190. package/dist/detal/dto/detal-pagination.dto.js +16 -0
  191. package/dist/detal/dto/get-archive.dto.d.ts +9 -0
  192. package/dist/detal/dto/get-archive.dto.js +7 -0
  193. package/dist/detal/dto/get-deficit.dto.d.ts +25 -0
  194. package/dist/detal/dto/get-deficit.dto.js +16 -0
  195. package/dist/detal/dto/get-detal-deficit-dto.d.ts +25 -0
  196. package/dist/detal/dto/get-detal-deficit-dto.js +13 -0
  197. package/dist/detal/dto/get-include-detal.dto.d.ts +9 -0
  198. package/dist/detal/dto/get-include-detal.dto.js +7 -0
  199. package/dist/detal/dto/get-one-detal-dto.d.ts +16 -0
  200. package/dist/detal/dto/get-one-detal-dto.js +17 -0
  201. package/dist/detal/dto/get-remains-detal.dto.d.ts +16 -0
  202. package/dist/detal/dto/get-remains-detal.dto.js +9 -0
  203. package/dist/detal/dto/set-actual-shipment.dto.d.ts +18 -0
  204. package/dist/detal/dto/set-actual-shipment.dto.js +10 -0
  205. package/dist/detal/dto/update-detal.dto.d.ts +56 -0
  206. package/dist/detal/dto/update-detal.dto.js +34 -0
  207. package/dist/detal/index.d.ts +16 -0
  208. package/dist/detal/index.js +32 -0
  209. package/dist/detal/interfaces/interface.d.ts +8 -0
  210. package/dist/detal/interfaces/interface.js +3 -0
  211. package/dist/detal/schemas/detal-deficit.schema.d.ts +1916 -0
  212. package/dist/detal/schemas/detal-deficit.schema.js +10 -0
  213. package/dist/detal/schemas/detal-material.schema.d.ts +15 -0
  214. package/dist/detal/schemas/detal-material.schema.js +9 -0
  215. package/dist/detal/schemas/detal.schema.d.ts +1740 -0
  216. package/dist/detal/schemas/detal.schema.js +53 -0
  217. package/dist/detal/types/detal.d.ts +15 -0
  218. package/dist/detal/types/detal.js +2 -0
  219. package/dist/document/dto/attach-document-to-entity.dto.d.ts +16 -0
  220. package/dist/document/dto/attach-document-to-entity.dto.js +10 -0
  221. package/dist/document/dto/change-type.dto.d.ts +12 -0
  222. package/dist/document/dto/change-type.dto.js +8 -0
  223. package/dist/document/dto/check-name-exist.d.ts +9 -0
  224. package/dist/document/dto/check-name-exist.js +7 -0
  225. package/dist/document/dto/create-arr-documents.dto.d.ts +9 -0
  226. package/dist/document/dto/create-arr-documents.dto.js +7 -0
  227. package/dist/document/dto/create-documents.dto.d.ts +24 -0
  228. package/dist/document/dto/create-documents.dto.js +12 -0
  229. package/dist/document/dto/query-pagination.dto.d.ts +16 -0
  230. package/dist/document/dto/query-pagination.dto.js +12 -0
  231. package/dist/document/dto/unpin-document.dto.d.ts +16 -0
  232. package/dist/document/dto/unpin-document.dto.js +10 -0
  233. package/dist/document/dto/update-document.dto.d.ts +27 -0
  234. package/dist/document/dto/update-document.dto.js +13 -0
  235. package/dist/document/index.d.ts +10 -0
  236. package/dist/document/index.js +26 -0
  237. package/dist/document/interfaces/interface.d.ts +13 -0
  238. package/dist/document/interfaces/interface.js +2 -0
  239. package/dist/document/schemas/documentsSchema.d.ts +79 -0
  240. package/dist/document/schemas/documentsSchema.js +17 -0
  241. package/dist/edizm/enum/enum.d.ts +15 -0
  242. package/dist/edizm/enum/enum.js +18 -0
  243. package/dist/edizm/index.d.ts +5 -0
  244. package/dist/edizm/index.js +21 -0
  245. package/dist/edizm/interfaces/interface.d.ts +8 -0
  246. package/dist/edizm/interfaces/interface.js +2 -0
  247. package/dist/edizm/schemas/edizm.schema.d.ts +18 -0
  248. package/dist/edizm/schemas/edizm.schema.js +9 -0
  249. package/dist/edizm/schemas/type-edizm.schema.d.ts +35 -0
  250. package/dist/edizm/schemas/type-edizm.schema.js +10 -0
  251. package/dist/edizm/schemas/unit-type-edizm.schema.d.ts +15 -0
  252. package/dist/edizm/schemas/unit-type-edizm.schema.js +9 -0
  253. package/dist/equipment/dto/check-name-unique.dto.d.ts +13 -0
  254. package/dist/equipment/dto/check-name-unique.dto.js +9 -0
  255. package/dist/equipment/dto/create-equipment.dto.d.ts +45 -0
  256. package/dist/equipment/dto/create-equipment.dto.js +20 -0
  257. package/dist/equipment/dto/create-equpment-type.dto.d.ts +12 -0
  258. package/dist/equipment/dto/create-equpment-type.dto.js +8 -0
  259. package/dist/equipment/dto/get-archive.dto.d.ts +9 -0
  260. package/dist/equipment/dto/get-archive.dto.js +7 -0
  261. package/dist/equipment/dto/get-instruments-pagination.dto.d.ts +27 -0
  262. package/dist/equipment/dto/get-instruments-pagination.dto.js +13 -0
  263. package/dist/equipment/dto/udate-equipment-type.dto.d.ts +12 -0
  264. package/dist/equipment/dto/udate-equipment-type.dto.js +8 -0
  265. package/dist/equipment/dto/update-equipment.dto.d.ts +48 -0
  266. package/dist/equipment/dto/update-equipment.dto.js +23 -0
  267. package/dist/equipment/index.d.ts +12 -0
  268. package/dist/equipment/index.js +28 -0
  269. package/dist/equipment/interfaces/interface.d.ts +9 -0
  270. package/dist/equipment/interfaces/interface.js +2 -0
  271. package/dist/equipment/schemas/equipment-pt.schema.d.ts +17 -0
  272. package/dist/equipment/schemas/equipment-pt.schema.js +8 -0
  273. package/dist/equipment/schemas/equipment.schema.d.ts +713 -0
  274. package/dist/equipment/schemas/equipment.schema.js +37 -0
  275. package/dist/equipment/schemas/euipment-type.schema.d.ts +3 -0
  276. package/dist/equipment/schemas/euipment-type.schema.js +12 -0
  277. package/dist/equipment/schemas/node_tpt_equipment.schema.d.ts +15 -0
  278. package/dist/equipment/schemas/node_tpt_equipment.schema.js +9 -0
  279. package/dist/expenditure/dto/get-expenditure.dto.d.ts +34 -0
  280. package/dist/expenditure/dto/get-expenditure.dto.js +12 -0
  281. package/dist/expenditure/dto/index.d.ts +1 -0
  282. package/dist/expenditure/dto/index.js +17 -0
  283. package/dist/expenditure/enum/enum.d.ts +4 -0
  284. package/dist/expenditure/enum/enum.js +8 -0
  285. package/dist/expenditure/index.d.ts +5 -0
  286. package/dist/expenditure/index.js +21 -0
  287. package/dist/expenditure/schema/expenditure-consumption.schema.d.ts +68 -0
  288. package/dist/expenditure/schema/expenditure-consumption.schema.js +10 -0
  289. package/dist/expenditure/schema/expenditure-position.schema.d.ts +25 -0
  290. package/dist/expenditure/schema/expenditure-position.schema.js +13 -0
  291. package/dist/expenditure/schema/expenditure.schema.d.ts +26 -0
  292. package/dist/expenditure/schema/expenditure.schema.js +11 -0
  293. package/dist/index.d.ts +40 -0
  294. package/dist/index.js +56 -0
  295. package/dist/instrument/dto/check-name-unique.dto.d.ts +13 -0
  296. package/dist/instrument/dto/check-name-unique.dto.js +9 -0
  297. package/dist/instrument/dto/create-instrument.dto.d.ts +13 -0
  298. package/dist/instrument/dto/create-instrument.dto.js +9 -0
  299. package/dist/instrument/dto/create-name-instrument.dto.d.ts +42 -0
  300. package/dist/instrument/dto/create-name-instrument.dto.js +19 -0
  301. package/dist/instrument/dto/create-pt-instrument.dto.d.ts +12 -0
  302. package/dist/instrument/dto/create-pt-instrument.dto.js +8 -0
  303. package/dist/instrument/dto/get-instruments-pagination.dto.d.ts +31 -0
  304. package/dist/instrument/dto/get-instruments-pagination.dto.js +15 -0
  305. package/dist/instrument/dto/update-instrument.dto.d.ts +16 -0
  306. package/dist/instrument/dto/update-instrument.dto.js +10 -0
  307. package/dist/instrument/dto/update-name-instrument.dto.d.ts +45 -0
  308. package/dist/instrument/dto/update-name-instrument.dto.js +20 -0
  309. package/dist/instrument/dto/update-pt.dto.d.ts +12 -0
  310. package/dist/instrument/dto/update-pt.dto.js +8 -0
  311. package/dist/instrument/index.d.ts +15 -0
  312. package/dist/instrument/index.js +31 -0
  313. package/dist/instrument/interfaces/interface.d.ts +12 -0
  314. package/dist/instrument/interfaces/interface.js +2 -0
  315. package/dist/instrument/schemas/instrument-equipment.schema.d.ts +18 -0
  316. package/dist/instrument/schemas/instrument-equipment.schema.js +11 -0
  317. package/dist/instrument/schemas/instrument-operation.schema.d.ts +18 -0
  318. package/dist/instrument/schemas/instrument-operation.schema.js +11 -0
  319. package/dist/instrument/schemas/instrument.schema.d.ts +3 -0
  320. package/dist/instrument/schemas/instrument.schema.js +14 -0
  321. package/dist/instrument/schemas/name-instrument.schema.d.ts +3 -0
  322. package/dist/instrument/schemas/name-instrument.schema.js +39 -0
  323. package/dist/instrument/schemas/node-pt-t-instrument.schema.d.ts +15 -0
  324. package/dist/instrument/schemas/node-pt-t-instrument.schema.js +9 -0
  325. package/dist/instrument/schemas/pt-instrument.schema.d.ts +18 -0
  326. package/dist/instrument/schemas/pt-instrument.schema.js +12 -0
  327. package/dist/inventary/dto/check-name-unique.dto.d.ts +13 -0
  328. package/dist/inventary/dto/check-name-unique.dto.js +9 -0
  329. package/dist/inventary/dto/create-inventary.dto.d.ts +48 -0
  330. package/dist/inventary/dto/create-inventary.dto.js +35 -0
  331. package/dist/inventary/dto/create-pt-inventary.dto.d.ts +12 -0
  332. package/dist/inventary/dto/create-pt-inventary.dto.js +8 -0
  333. package/dist/inventary/dto/get-inventary-pagination.dto.d.ts +27 -0
  334. package/dist/inventary/dto/get-inventary-pagination.dto.js +13 -0
  335. package/dist/inventary/dto/update-inventary.dto.d.ts +12 -0
  336. package/dist/inventary/dto/update-inventary.dto.js +8 -0
  337. package/dist/inventary/index.d.ts +8 -0
  338. package/dist/inventary/index.js +24 -0
  339. package/dist/inventary/schemas/inventary-pt.schema.d.ts +3 -0
  340. package/dist/inventary/schemas/inventary-pt.schema.js +12 -0
  341. package/dist/inventary/schemas/inventary-type.schema.d.ts +3 -0
  342. package/dist/inventary/schemas/inventary-type.schema.js +12 -0
  343. package/dist/inventary/schemas/inventary.schema.d.ts +3 -0
  344. package/dist/inventary/schemas/inventary.schema.js +32 -0
  345. package/dist/marks/dto/change-mark-quantity.dto.d.ts +86 -0
  346. package/dist/marks/dto/change-mark-quantity.dto.js +12 -0
  347. package/dist/marks/dto/create-mark.dto.d.ts +42 -0
  348. package/dist/marks/dto/create-mark.dto.js +18 -0
  349. package/dist/marks/dto/cut-marks.dto.d.ts +22 -0
  350. package/dist/marks/dto/cut-marks.dto.js +12 -0
  351. package/dist/marks/dto/get-mark-for-modal.dto.d.ts +19 -0
  352. package/dist/marks/dto/get-mark-for-modal.dto.js +11 -0
  353. package/dist/marks/dto/get-result-work.dto.d.ts +36 -0
  354. package/dist/marks/dto/get-result-work.dto.js +14 -0
  355. package/dist/marks/dto/update-mark.dto.d.ts +33 -0
  356. package/dist/marks/dto/update-mark.dto.js +21 -0
  357. package/dist/marks/enums/enum.d.ts +6 -0
  358. package/dist/marks/enums/enum.js +10 -0
  359. package/dist/marks/index.d.ts +10 -0
  360. package/dist/marks/index.js +26 -0
  361. package/dist/marks/interfaces/interface.d.ts +7 -0
  362. package/dist/marks/interfaces/interface.js +2 -0
  363. package/dist/marks/schemas/marks.schema.d.ts +88 -0
  364. package/dist/marks/schemas/marks.schema.js +29 -0
  365. package/dist/marks/type/type.d.ts +50 -0
  366. package/dist/marks/type/type.js +26 -0
  367. package/dist/material/dto/check-name-unique.dto.d.ts +13 -0
  368. package/dist/material/dto/check-name-unique.dto.js +9 -0
  369. package/dist/material/dto/create-material.dto.d.ts +599 -0
  370. package/dist/material/dto/create-material.dto.js +86 -0
  371. package/dist/material/dto/create-subtype-material.dto.d.ts +22 -0
  372. package/dist/material/dto/create-subtype-material.dto.js +12 -0
  373. package/dist/material/dto/get-material-paginate.dto.d.ts +27 -0
  374. package/dist/material/dto/get-material-paginate.dto.js +13 -0
  375. package/dist/material/dto/get-material-provider.dto.d.ts +21 -0
  376. package/dist/material/dto/get-material-provider.dto.js +11 -0
  377. package/dist/material/dto/get-one-material.dto.d.ts +12 -0
  378. package/dist/material/dto/get-one-material.dto.js +16 -0
  379. package/dist/material/dto/includes-material.dto.d.ts +12 -0
  380. package/dist/material/dto/includes-material.dto.js +8 -0
  381. package/dist/material/dto/material-include.dto.d.ts +12 -0
  382. package/dist/material/dto/material-include.dto.js +8 -0
  383. package/dist/material/dto/up-create-type-material.dto.d.ts +19 -0
  384. package/dist/material/dto/up-create-type-material.dto.js +11 -0
  385. package/dist/material/enum/enum.d.ts +4 -0
  386. package/dist/material/enum/enum.js +8 -0
  387. package/dist/material/index.d.ts +16 -0
  388. package/dist/material/index.js +32 -0
  389. package/dist/material/interfaces/interface.d.ts +22 -0
  390. package/dist/material/interfaces/interface.js +2 -0
  391. package/dist/material/schemas/mat-pod-mat.schema.d.ts +15 -0
  392. package/dist/material/schemas/mat-pod-mat.schema.js +9 -0
  393. package/dist/material/schemas/material-characteristics.schema.d.ts +230 -0
  394. package/dist/material/schemas/material-characteristics.schema.js +20 -0
  395. package/dist/material/schemas/material.schema.d.ts +560 -0
  396. package/dist/material/schemas/material.schema.js +26 -0
  397. package/dist/material/schemas/subtype-material.schema.d.ts +21 -0
  398. package/dist/material/schemas/subtype-material.schema.js +11 -0
  399. package/dist/material/schemas/type-material.schema.d.ts +423 -0
  400. package/dist/material/schemas/type-material.schema.js +26 -0
  401. package/dist/metaloworking/dto/create-metaloworking.dto.d.ts +21 -0
  402. package/dist/metaloworking/dto/create-metaloworking.dto.js +11 -0
  403. package/dist/metaloworking/dto/delete-metalloworking.dto.d.ts +21 -0
  404. package/dist/metaloworking/dto/delete-metalloworking.dto.js +11 -0
  405. package/dist/metaloworking/dto/delete-shipment.dto.d.ts +12 -0
  406. package/dist/metaloworking/dto/delete-shipment.dto.js +8 -0
  407. package/dist/metaloworking/dto/get-metallworking-operation-count.dto.d.ts +62 -0
  408. package/dist/metaloworking/dto/get-metallworking-operation-count.dto.js +9 -0
  409. package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.d.ts +43 -0
  410. package/dist/metaloworking/dto/get-metallworking-operation-pagination.dto.js +17 -0
  411. package/dist/metaloworking/dto/get-metallworking-pagination.dto.d.ts +46 -0
  412. package/dist/metaloworking/dto/get-metallworking-pagination.dto.js +19 -0
  413. package/dist/metaloworking/dto/get-result-work.dto.d.ts +16 -0
  414. package/dist/metaloworking/dto/get-result-work.dto.js +9 -0
  415. package/dist/metaloworking/dto/metaloworking-coming.dto.d.ts +35 -0
  416. package/dist/metaloworking/dto/metaloworking-coming.dto.js +18 -0
  417. package/dist/metaloworking/dto/set-date-shipment.dto.d.ts +18 -0
  418. package/dist/metaloworking/dto/set-date-shipment.dto.js +10 -0
  419. package/dist/metaloworking/dto/update-metalloworking.dto.d.ts +15 -0
  420. package/dist/metaloworking/dto/update-metalloworking.dto.js +9 -0
  421. package/dist/metaloworking/index.d.ts +13 -0
  422. package/dist/metaloworking/index.js +29 -0
  423. package/dist/metaloworking/schemas/metaloworking-by-operation.schema.d.ts +67 -0
  424. package/dist/metaloworking/schemas/metaloworking-by-operation.schema.js +22 -0
  425. package/dist/metaloworking/schemas/metaloworking-coming.schema.d.ts +68 -0
  426. package/dist/metaloworking/schemas/metaloworking-coming.schema.js +18 -0
  427. package/dist/metaloworking/schemas/metaloworking.schema.d.ts +42 -0
  428. package/dist/metaloworking/schemas/metaloworking.schema.js +15 -0
  429. package/dist/methods/methods.d.ts +1 -0
  430. package/dist/methods/methods.js +16 -0
  431. package/dist/movement-error/index.d.ts +1 -0
  432. package/dist/movement-error/index.js +17 -0
  433. package/dist/movement-error/schemas/movement-error.schema.d.ts +35 -0
  434. package/dist/movement-error/schemas/movement-error.schema.js +13 -0
  435. package/dist/movement-object/dto/create-moving.dto.d.ts +27 -0
  436. package/dist/movement-object/dto/create-moving.dto.js +14 -0
  437. package/dist/movement-object/index.d.ts +2 -0
  438. package/dist/movement-object/index.js +18 -0
  439. package/dist/movement-object/schemas/get-one-object-history.schema.d.ts +66 -0
  440. package/dist/movement-object/schemas/get-one-object-history.schema.js +25 -0
  441. package/dist/moving/index.d.ts +2 -0
  442. package/dist/moving/index.js +18 -0
  443. package/dist/moving/interfaces/interface.d.ts +3 -0
  444. package/dist/moving/interfaces/interface.js +2 -0
  445. package/dist/moving/schemas/moving.schema.d.ts +1308 -0
  446. package/dist/moving/schemas/moving.schema.js +18 -0
  447. package/dist/operations/dto/check-name-unique.dto.d.ts +9 -0
  448. package/dist/operations/dto/check-name-unique.dto.js +7 -0
  449. package/dist/operations/dto/create-type-operation.dto.d.ts +45 -0
  450. package/dist/operations/dto/create-type-operation.dto.js +19 -0
  451. package/dist/operations/dto/up-create-tech-process.dto.d.ts +27 -0
  452. package/dist/operations/dto/up-create-tech-process.dto.js +13 -0
  453. package/dist/operations/dto/update-create-operation.dto.d.ts +42 -0
  454. package/dist/operations/dto/update-create-operation.dto.js +18 -0
  455. package/dist/operations/dto/update-operation-tech.dto.d.ts +21 -0
  456. package/dist/operations/dto/update-operation-tech.dto.js +11 -0
  457. package/dist/operations/dto/update-type-operation.dto.d.ts +48 -0
  458. package/dist/operations/dto/update-type-operation.dto.js +20 -0
  459. package/dist/operations/index.d.ts +12 -0
  460. package/dist/operations/index.js +28 -0
  461. package/dist/operations/interfaces/interface.d.ts +57 -0
  462. package/dist/operations/interfaces/interface.js +13 -0
  463. package/dist/operations/schemas/operation-equipment.schema.d.ts +15 -0
  464. package/dist/operations/schemas/operation-equipment.schema.js +9 -0
  465. package/dist/operations/schemas/operation-material.schema.d.ts +15 -0
  466. package/dist/operations/schemas/operation-material.schema.js +9 -0
  467. package/dist/operations/schemas/operation.schema.d.ts +193 -0
  468. package/dist/operations/schemas/operation.schema.js +28 -0
  469. package/dist/operations/schemas/type-operation.schema.d.ts +36 -0
  470. package/dist/operations/schemas/type-operation.schema.js +15 -0
  471. package/dist/operations/schemas/type_oper_user.schema.d.ts +15 -0
  472. package/dist/operations/schemas/type_oper_user.schema.js +9 -0
  473. package/dist/product/dto/get-deficit.dto.d.ts +25 -0
  474. package/dist/product/dto/get-deficit.dto.js +13 -0
  475. package/dist/product/dto/get-include.dto.d.ts +9 -0
  476. package/dist/product/dto/get-include.dto.js +7 -0
  477. package/dist/product/dto/get-one-producct.dto.d.ts +13 -0
  478. package/dist/product/dto/get-one-producct.dto.js +9 -0
  479. package/dist/product/dto/get-remains-product.dto.d.ts +12 -0
  480. package/dist/product/dto/get-remains-product.dto.js +8 -0
  481. package/dist/product/dto/product-pagination.dto.d.ts +30 -0
  482. package/dist/product/dto/product-pagination.dto.js +14 -0
  483. package/dist/product/dto/recursive-childrens.dto.d.ts +51 -0
  484. package/dist/product/dto/recursive-childrens.dto.js +21 -0
  485. package/dist/product/dto/up-create-product.dto.d.ts +62 -0
  486. package/dist/product/dto/up-create-product.dto.js +25 -0
  487. package/dist/product/index.d.ts +16 -0
  488. package/dist/product/index.js +32 -0
  489. package/dist/product/interfaces/interface.d.ts +11 -0
  490. package/dist/product/interfaces/interface.js +2 -0
  491. package/dist/product/schemas/product-cbed.schema.d.ts +16 -0
  492. package/dist/product/schemas/product-cbed.schema.js +8 -0
  493. package/dist/product/schemas/product-deficit.schema.d.ts +265 -0
  494. package/dist/product/schemas/product-deficit.schema.js +10 -0
  495. package/dist/product/schemas/product-detal.schema.d.ts +16 -0
  496. package/dist/product/schemas/product-detal.schema.js +8 -0
  497. package/dist/product/schemas/product-material.schema.d.ts +16 -0
  498. package/dist/product/schemas/product-material.schema.js +8 -0
  499. package/dist/product/schemas/product-specification.schema.d.ts +19 -0
  500. package/dist/product/schemas/product-specification.schema.js +10 -0
  501. package/dist/product/schemas/product.schema.d.ts +106 -0
  502. package/dist/product/schemas/product.schema.js +38 -0
  503. package/dist/product/type/type.d.ts +12 -0
  504. package/dist/product/type/type.js +2 -0
  505. package/dist/product/types/product-types.d.ts +12 -0
  506. package/dist/product/types/product-types.js +2 -0
  507. package/dist/production-tasks/default-data/default-data.d.ts +2 -0
  508. package/dist/production-tasks/default-data/default-data.js +7 -0
  509. package/dist/production-tasks/dto/change-due-date.dto.d.ts +12 -0
  510. package/dist/production-tasks/dto/change-due-date.dto.js +8 -0
  511. package/dist/production-tasks/dto/create-operation-pos.dto.d.ts +82 -0
  512. package/dist/production-tasks/dto/create-operation-pos.dto.js +18 -0
  513. package/dist/production-tasks/dto/create-production-task.dto.d.ts +83 -0
  514. package/dist/production-tasks/dto/create-production-task.dto.js +23 -0
  515. package/dist/production-tasks/dto/cut-production-task.dto.d.ts +22 -0
  516. package/dist/production-tasks/dto/cut-production-task.dto.js +12 -0
  517. package/dist/production-tasks/dto/get-by-users.dto.d.ts +16 -0
  518. package/dist/production-tasks/dto/get-by-users.dto.js +10 -0
  519. package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.d.ts +49 -0
  520. package/dist/production-tasks/dto/get-deficits-detal-by-production-task.dto.js +21 -0
  521. package/dist/production-tasks/dto/get-production-task-by-equipment.dto.d.ts +15 -0
  522. package/dist/production-tasks/dto/get-production-task-by-equipment.dto.js +9 -0
  523. package/dist/production-tasks/dto/get-production-task-by-user.dto.d.ts +15 -0
  524. package/dist/production-tasks/dto/get-production-task-by-user.dto.js +9 -0
  525. package/dist/production-tasks/dto/get-production-task.dto.d.ts +26 -0
  526. package/dist/production-tasks/dto/get-production-task.dto.js +14 -0
  527. package/dist/production-tasks/dto/get-result-works.dto.d.ts +13 -0
  528. package/dist/production-tasks/dto/get-result-works.dto.js +8 -0
  529. package/dist/production-tasks/dto/get-taks-by-entity.dto.d.ts +13 -0
  530. package/dist/production-tasks/dto/get-taks-by-entity.dto.js +9 -0
  531. package/dist/production-tasks/dto/get-taks-by-toperation.dto.d.ts +16 -0
  532. package/dist/production-tasks/dto/get-taks-by-toperation.dto.js +13 -0
  533. package/dist/production-tasks/dto/get-toperations.dto.d.ts +13 -0
  534. package/dist/production-tasks/dto/get-toperations.dto.js +19 -0
  535. package/dist/production-tasks/dto/online-board-working.dto.d.ts +59 -0
  536. package/dist/production-tasks/dto/online-board-working.dto.js +28 -0
  537. package/dist/production-tasks/dto/percent-created.dto.d.ts +13 -0
  538. package/dist/production-tasks/dto/percent-created.dto.js +9 -0
  539. package/dist/production-tasks/dto/plan-production-task.dto.d.ts +56 -0
  540. package/dist/production-tasks/dto/plan-production-task.dto.js +30 -0
  541. package/dist/production-tasks/dto/set-start-time.dto.d.ts +12 -0
  542. package/dist/production-tasks/dto/set-start-time.dto.js +8 -0
  543. package/dist/production-tasks/dto/update-marks.dto.d.ts +37 -0
  544. package/dist/production-tasks/dto/update-marks.dto.js +9 -0
  545. package/dist/production-tasks/dto/update-position.dto.d.ts +21 -0
  546. package/dist/production-tasks/dto/update-position.dto.js +11 -0
  547. package/dist/production-tasks/dto/update-responsible.dto.d.ts +12 -0
  548. package/dist/production-tasks/dto/update-responsible.dto.js +8 -0
  549. package/dist/production-tasks/dto/update-status.dto.d.ts +13 -0
  550. package/dist/production-tasks/dto/update-status.dto.js +9 -0
  551. package/dist/production-tasks/dto/update.dto.d.ts +15 -0
  552. package/dist/production-tasks/dto/update.dto.js +9 -0
  553. package/dist/production-tasks/enums/production-tasks.d.ts +9 -0
  554. package/dist/production-tasks/enums/production-tasks.js +14 -0
  555. package/dist/production-tasks/index.d.ts +32 -0
  556. package/dist/production-tasks/index.js +48 -0
  557. package/dist/production-tasks/interfaces/online-board.d.ts +38 -0
  558. package/dist/production-tasks/interfaces/online-board.js +2 -0
  559. package/dist/production-tasks/interfaces/production-tasks.d.ts +146 -0
  560. package/dist/production-tasks/interfaces/production-tasks.js +2 -0
  561. package/dist/production-tasks/methods/methods.d.ts +3 -0
  562. package/dist/production-tasks/methods/methods.js +19 -0
  563. package/dist/production-tasks/schemas/production-operation-pos.schema.d.ts +142 -0
  564. package/dist/production-tasks/schemas/production-operation-pos.schema.js +35 -0
  565. package/dist/production-tasks/schemas/production-taks-assembly.schema.d.ts +16 -0
  566. package/dist/production-tasks/schemas/production-taks-assembly.schema.js +8 -0
  567. package/dist/production-tasks/schemas/production-taks-metalloworkig.schema.d.ts +16 -0
  568. package/dist/production-tasks/schemas/production-taks-metalloworkig.schema.js +8 -0
  569. package/dist/production-tasks/schemas/production-taks-start-time.schema.d.ts +16 -0
  570. package/dist/production-tasks/schemas/production-taks-start-time.schema.js +8 -0
  571. package/dist/production-tasks/schemas/production-task.schema.d.ts +36 -0
  572. package/dist/production-tasks/schemas/production-task.schema.js +16 -0
  573. package/dist/provider/dto/create-provider.dto.d.ts +46 -0
  574. package/dist/provider/dto/create-provider.dto.js +20 -0
  575. package/dist/provider/dto/provider-pagination.dto.d.ts +21 -0
  576. package/dist/provider/dto/provider-pagination.dto.js +11 -0
  577. package/dist/provider/index.d.ts +6 -0
  578. package/dist/provider/index.js +22 -0
  579. package/dist/provider/interfaces/interface.d.ts +3 -0
  580. package/dist/provider/interfaces/interface.js +2 -0
  581. package/dist/provider/schemas/provider.schema.d.ts +33 -0
  582. package/dist/provider/schemas/provider.schema.js +15 -0
  583. package/dist/provider/schemas/providers-equipment.schema.d.ts +16 -0
  584. package/dist/provider/schemas/providers-equipment.schema.js +8 -0
  585. package/dist/provider/schemas/providers-inventary.schema.d.ts +16 -0
  586. package/dist/provider/schemas/providers-inventary.schema.js +8 -0
  587. package/dist/rack/dto/create-rack.dto.d.ts +180 -0
  588. package/dist/rack/dto/create-rack.dto.js +16 -0
  589. package/dist/rack/dto/get-all-racks.dto.d.ts +9 -0
  590. package/dist/rack/dto/get-all-racks.dto.js +7 -0
  591. package/dist/rack/dto/update-cell.dto.d.ts +51 -0
  592. package/dist/rack/dto/update-cell.dto.js +35 -0
  593. package/dist/rack/dto/update-rack.dto.d.ts +183 -0
  594. package/dist/rack/dto/update-rack.dto.js +17 -0
  595. package/dist/rack/index.d.ts +7 -0
  596. package/dist/rack/index.js +23 -0
  597. package/dist/rack/interfaces/interface.d.ts +392 -0
  598. package/dist/rack/interfaces/interface.js +24 -0
  599. package/dist/rack/schemas/rack.schema.d.ts +186 -0
  600. package/dist/rack/schemas/rack.schema.js +12 -0
  601. package/dist/rack/types/types.d.ts +6 -0
  602. package/dist/rack/types/types.js +2 -0
  603. package/dist/role/default-value/index.d.ts +2 -0
  604. package/dist/role/default-value/index.js +417 -0
  605. package/dist/role/dto/check-name-unique.dto.d.ts +9 -0
  606. package/dist/role/dto/check-name-unique.dto.js +7 -0
  607. package/dist/role/dto/create-role.dto.d.ts +12 -0
  608. package/dist/role/dto/create-role.dto.js +12 -0
  609. package/dist/role/dto/update-assets.dto.d.ts +13 -0
  610. package/dist/role/dto/update-assets.dto.js +16 -0
  611. package/dist/role/dto/update-role.dto.d.ts +15 -0
  612. package/dist/role/dto/update-role.dto.js +9 -0
  613. package/dist/role/index.d.ts +8 -0
  614. package/dist/role/index.js +24 -0
  615. package/dist/role/interfaces/interface.d.ts +4 -0
  616. package/dist/role/interfaces/interface.js +2 -0
  617. package/dist/role/schemas/role.schema.d.ts +1233 -0
  618. package/dist/role/schemas/role.schema.js +12 -0
  619. package/dist/role/types/role.d.ts +44 -0
  620. package/dist/role/types/role.js +2 -0
  621. package/dist/sclad/dto/get-one-stock-order.dto.d.ts +15 -0
  622. package/dist/sclad/dto/get-one-stock-order.dto.js +13 -0
  623. package/dist/sclad/dto/get-remains.dto.d.ts +19 -0
  624. package/dist/sclad/dto/get-remains.dto.js +11 -0
  625. package/dist/sclad/dto/get-revision-history.dto.d.ts +19 -0
  626. package/dist/sclad/dto/get-revision-history.dto.js +11 -0
  627. package/dist/sclad/dto/need-by-parent.dto.d.ts +19 -0
  628. package/dist/sclad/dto/need-by-parent.dto.js +11 -0
  629. package/dist/sclad/dto/revision-update.dto.d.ts +19 -0
  630. package/dist/sclad/dto/revision-update.dto.js +11 -0
  631. package/dist/sclad/index.d.ts +9 -0
  632. package/dist/sclad/index.js +25 -0
  633. package/dist/sclad/interfaces/interface.d.ts +8 -0
  634. package/dist/sclad/interfaces/interface.js +2 -0
  635. package/dist/sclad/schemas/remain.schema.d.ts +48 -0
  636. package/dist/sclad/schemas/remain.schema.js +20 -0
  637. package/dist/sclad/schemas/remains.schema.d.ts +163 -0
  638. package/dist/sclad/schemas/remains.schema.js +24 -0
  639. package/dist/sclad/schemas/revision.schema.d.ts +58 -0
  640. package/dist/sclad/schemas/revision.schema.js +22 -0
  641. package/dist/settings/dto/create-edizm.dto.d.ts +15 -0
  642. package/dist/settings/dto/create-edizm.dto.js +9 -0
  643. package/dist/settings/dto/create-type-edizm.dto.d.ts +9 -0
  644. package/dist/settings/dto/create-type-edizm.dto.js +7 -0
  645. package/dist/settings/dto/delete-edizm.dto.d.ts +9 -0
  646. package/dist/settings/dto/delete-edizm.dto.js +7 -0
  647. package/dist/settings/dto/update-edizm.dto.d.ts +15 -0
  648. package/dist/settings/dto/update-edizm.dto.js +9 -0
  649. package/dist/settings/index.d.ts +8 -0
  650. package/dist/settings/index.js +24 -0
  651. package/dist/settings/interfaces/interface.d.ts +8 -0
  652. package/dist/settings/interfaces/interface.js +2 -0
  653. package/dist/settings/schemas/inaction.schema.d.ts +13 -0
  654. package/dist/settings/schemas/inaction.schema.js +7 -0
  655. package/dist/settings/schemas/norm-hours.schema.d.ts +13 -0
  656. package/dist/settings/schemas/norm-hours.schema.js +7 -0
  657. package/dist/settings/schemas/sebestoim.schema.d.ts +21 -0
  658. package/dist/settings/schemas/sebestoim.schema.js +11 -0
  659. package/dist/shipments/dto/change-date-urgency.dto.d.ts +12 -0
  660. package/dist/shipments/dto/change-date-urgency.dto.js +8 -0
  661. package/dist/shipments/dto/entity-filtering-by-shipment.dto.d.ts +16 -0
  662. package/dist/shipments/dto/entity-filtering-by-shipment.dto.js +10 -0
  663. package/dist/shipments/dto/format-list-shipment.dto.d.ts +28 -0
  664. package/dist/shipments/dto/format-list-shipment.dto.js +14 -0
  665. package/dist/shipments/dto/get-attributes.dto.d.ts +12 -0
  666. package/dist/shipments/dto/get-attributes.dto.js +8 -0
  667. package/dist/shipments/dto/sh-check-pagination.dto.d.ts +30 -0
  668. package/dist/shipments/dto/sh-check-pagination.dto.js +10 -0
  669. package/dist/shipments/dto/sh-check.dto.d.ts +48 -0
  670. package/dist/shipments/dto/sh-check.dto.js +20 -0
  671. package/dist/shipments/dto/sh-complit-update.dto.d.ts +28 -0
  672. package/dist/shipments/dto/sh-complit-update.dto.js +29 -0
  673. package/dist/shipments/dto/shipments-list-pagination-response.dto.d.ts +239 -0
  674. package/dist/shipments/dto/shipments-list-pagination-response.dto.js +6 -0
  675. package/dist/shipments/dto/shipments-list-pagination.dto.d.ts +18 -0
  676. package/dist/shipments/dto/shipments-list-pagination.dto.js +16 -0
  677. package/dist/shipments/dto/shipments-paginate.dto.d.ts +40 -0
  678. package/dist/shipments/dto/shipments-paginate.dto.js +19 -0
  679. package/dist/shipments/dto/up-create-shipments.dto.d.ts +12 -0
  680. package/dist/shipments/dto/up-create-shipments.dto.js +8 -0
  681. package/dist/shipments/index.d.ts +23 -0
  682. package/dist/shipments/index.js +39 -0
  683. package/dist/shipments/interface/interface.d.ts +12 -0
  684. package/dist/shipments/interface/interface.js +2 -0
  685. package/dist/shipments/schemas/sh-complit-user.schema.d.ts +15 -0
  686. package/dist/shipments/schemas/sh-complit-user.schema.js +9 -0
  687. package/dist/shipments/schemas/sh-complit.schema.d.ts +89 -0
  688. package/dist/shipments/schemas/sh-complit.schema.js +24 -0
  689. package/dist/shipments/schemas/shipment-list-item.schema.d.ts +164 -0
  690. package/dist/shipments/schemas/shipment-list-item.schema.js +44 -0
  691. package/dist/shipments/schemas/shipments-cbed.schema.d.ts +15 -0
  692. package/dist/shipments/schemas/shipments-cbed.schema.js +9 -0
  693. package/dist/shipments/schemas/shipments-detal.schema.d.ts +15 -0
  694. package/dist/shipments/schemas/shipments-detal.schema.js +9 -0
  695. package/dist/shipments/schemas/shipments-material.schema.d.ts +15 -0
  696. package/dist/shipments/schemas/shipments-material.schema.js +9 -0
  697. package/dist/shipments/schemas/shipments-sh-complit.schema.d.ts +15 -0
  698. package/dist/shipments/schemas/shipments-sh-complit.schema.js +9 -0
  699. package/dist/shipments/schemas/shipments.schema.d.ts +144 -0
  700. package/dist/shipments/schemas/shipments.schema.js +27 -0
  701. package/dist/shipments/schemas/shipped-shipments.schema.d.ts +18 -0
  702. package/dist/shipments/schemas/shipped-shipments.schema.js +10 -0
  703. package/dist/shipments/types/increment-shipments-kolvo.type.d.ts +132 -0
  704. package/dist/shipments/types/increment-shipments-kolvo.type.js +14 -0
  705. package/dist/shipments/types/types.d.ts +16 -0
  706. package/dist/shipments/types/types.js +14 -0
  707. package/dist/shipments/types/update-shipments-by-product.type.d.ts +126 -0
  708. package/dist/shipments/types/update-shipments-by-product.type.js +12 -0
  709. package/dist/specification/dto/specification-attributes.dto.d.ts +18 -0
  710. package/dist/specification/dto/specification-attributes.dto.js +10 -0
  711. package/dist/specification/index.d.ts +4 -0
  712. package/dist/specification/index.js +20 -0
  713. package/dist/specification/interface/interface.d.ts +11 -0
  714. package/dist/specification/interface/interface.js +2 -0
  715. package/dist/specification/schema/attributes.schema.d.ts +3305 -0
  716. package/dist/specification/schema/attributes.schema.js +12 -0
  717. package/dist/specification/type/type.d.ts +6 -0
  718. package/dist/specification/type/type.js +2 -0
  719. package/dist/stock-order/dto/all-stock-orders-pagination.dto.d.ts +28 -0
  720. package/dist/stock-order/dto/all-stock-orders-pagination.dto.js +14 -0
  721. package/dist/stock-order/dto/create-stock-order.dto.d.ts +47 -0
  722. package/dist/stock-order/dto/create-stock-order.dto.js +9 -0
  723. package/dist/stock-order/dto/get-sotck-order-pagination.dto.d.ts +19 -0
  724. package/dist/stock-order/dto/get-sotck-order-pagination.dto.js +11 -0
  725. package/dist/stock-order/dto/get-stock-order-pagination.dto.d.ts +30 -0
  726. package/dist/stock-order/dto/get-stock-order-pagination.dto.js +10 -0
  727. package/dist/stock-order/dto/update-stock-order-item.dto.d.ts +15 -0
  728. package/dist/stock-order/dto/update-stock-order-item.dto.js +9 -0
  729. package/dist/stock-order/dto/update-stock-order.dto.d.ts +9 -0
  730. package/dist/stock-order/dto/update-stock-order.dto.js +7 -0
  731. package/dist/stock-order/enums/enums.d.ts +5 -0
  732. package/dist/stock-order/enums/enums.js +9 -0
  733. package/dist/stock-order/index.d.ts +10 -0
  734. package/dist/stock-order/index.js +26 -0
  735. package/dist/stock-order/schemas/stock-order-item.schema.d.ts +49 -0
  736. package/dist/stock-order/schemas/stock-order-item.schema.js +18 -0
  737. package/dist/stock-order/schemas/stock-order.schema.d.ts +32 -0
  738. package/dist/stock-order/schemas/stock-order.schema.js +13 -0
  739. package/dist/stock-order/type/type.d.ts +27 -0
  740. package/dist/stock-order/type/type.js +14 -0
  741. package/dist/supply/index.d.ts +1 -0
  742. package/dist/supply/index.js +17 -0
  743. package/dist/supply/schemas/supply.schema.d.ts +20 -0
  744. package/dist/supply/schemas/supply.schema.js +9 -0
  745. package/dist/tech-process/dto/up-create-tech-process.dto.d.ts +25 -0
  746. package/dist/tech-process/dto/up-create-tech-process.dto.js +12 -0
  747. package/dist/tech-process/index.d.ts +2 -0
  748. package/dist/tech-process/index.js +18 -0
  749. package/dist/tech-process/schemas/tech-process.schema.d.ts +295 -0
  750. package/dist/tech-process/schemas/tech-process.schema.js +15 -0
  751. package/dist/thread/dto/add-thread.dto.d.ts +22 -0
  752. package/dist/thread/dto/add-thread.dto.js +12 -0
  753. package/dist/thread/dto/thread-entity.dto.d.ts +13 -0
  754. package/dist/thread/dto/thread-entity.dto.js +9 -0
  755. package/dist/thread/dto/thread-pagination.dto.d.ts +19 -0
  756. package/dist/thread/dto/thread-pagination.dto.js +11 -0
  757. package/dist/thread/dto/update-thread.dto.d.ts +9 -0
  758. package/dist/thread/dto/update-thread.dto.js +7 -0
  759. package/dist/thread/index.d.ts +6 -0
  760. package/dist/thread/index.js +22 -0
  761. package/dist/thread/schemas/thread-entity.schema.d.ts +19 -0
  762. package/dist/thread/schemas/thread-entity.schema.js +11 -0
  763. package/dist/thread/schemas/thread.schema.d.ts +3 -0
  764. package/dist/thread/schemas/thread.schema.js +12 -0
  765. package/dist/user/default-value/model.d.ts +7 -0
  766. package/dist/user/default-value/model.js +26 -0
  767. package/dist/user/dto/add-role.dto.d.ts +12 -0
  768. package/dist/user/dto/add-role.dto.js +18 -0
  769. package/dist/user/dto/auth-user.dto.d.ts +15 -0
  770. package/dist/user/dto/auth-user.dto.js +9 -0
  771. package/dist/user/dto/ban-user.dto.d.ts +12 -0
  772. package/dist/user/dto/ban-user.dto.js +18 -0
  773. package/dist/user/dto/create-user.dto.d.ts +72 -0
  774. package/dist/user/dto/create-user.dto.js +80 -0
  775. package/dist/user/dto/get-users.dto.d.ts +24 -0
  776. package/dist/user/dto/get-users.dto.js +44 -0
  777. package/dist/user/dto/tabel-unique.dto.d.ts +9 -0
  778. package/dist/user/dto/tabel-unique.dto.js +7 -0
  779. package/dist/user/enums.d.ts +7 -0
  780. package/dist/user/enums.js +11 -0
  781. package/dist/user/index.d.ts +10 -0
  782. package/dist/user/index.js +26 -0
  783. package/dist/user/interfaces/create-user.interface.d.ts +45 -0
  784. package/dist/user/interfaces/create-user.interface.js +18 -0
  785. package/dist/user/schemas/user.schema.d.ts +858 -0
  786. package/dist/user/schemas/user.schema.js +42 -0
  787. package/dist/utils/date.methods.d.ts +68 -0
  788. package/dist/utils/date.methods.js +141 -0
  789. package/dist/utils/default-value/default-value.d.ts +12 -0
  790. package/dist/utils/default-value/default-value.js +25 -0
  791. package/dist/utils/edizm.d.ts +40 -0
  792. package/dist/utils/edizm.js +125 -0
  793. package/dist/utils/enums.d.ts +332 -0
  794. package/dist/utils/enums.js +396 -0
  795. package/dist/utils/index.d.ts +27 -0
  796. package/dist/utils/index.js +43 -0
  797. package/dist/utils/interface/parent-type.interface.d.ts +7 -0
  798. package/dist/utils/interface/parent-type.interface.js +2 -0
  799. package/dist/utils/interface/response.d.ts +4 -0
  800. package/dist/utils/interface/response.js +2 -0
  801. package/dist/utils/interfaces.d.ts +3 -0
  802. package/dist/utils/interfaces.js +2 -0
  803. package/dist/utils/methods/compression.d.ts +12 -0
  804. package/dist/utils/methods/compression.js +54 -0
  805. package/dist/utils/methods/documents.d.ts +6 -0
  806. package/dist/utils/methods/documents.js +12 -0
  807. package/dist/utils/methods/operations.d.ts +28 -0
  808. package/dist/utils/methods/operations.js +97 -0
  809. package/dist/utils/methods/quantity.d.ts +6 -0
  810. package/dist/utils/methods/quantity.js +24 -0
  811. package/dist/utils/methods/sequelize.d.ts +19 -0
  812. package/dist/utils/methods/sequelize.js +23 -0
  813. package/dist/utils/methods/shipments.d.ts +23 -0
  814. package/dist/utils/methods/shipments.js +51 -0
  815. package/dist/utils/methods/snake-conversion.d.ts +19 -0
  816. package/dist/utils/methods/snake-conversion.js +51 -0
  817. package/dist/utils/methods/utils.d.ts +15 -0
  818. package/dist/utils/methods/utils.js +18 -0
  819. package/dist/utils/methods.d.ts +362 -0
  820. package/dist/utils/methods.js +1286 -0
  821. package/dist/utils/moving.d.ts +11 -0
  822. package/dist/utils/moving.js +30 -0
  823. package/dist/utils/operation.d.ts +64 -0
  824. package/dist/utils/operation.js +223 -0
  825. package/dist/utils/operations/opeartion.d.ts +15 -0
  826. package/dist/utils/operations/opeartion.js +32 -0
  827. package/dist/utils/promise-pool.d.ts +5 -0
  828. package/dist/utils/promise-pool.js +44 -0
  829. package/dist/utils/schemas/schema.d.ts +33 -0
  830. package/dist/utils/schemas/schema.js +16 -0
  831. package/dist/utils/templatesD3/block-templates.d.ts +32 -0
  832. package/dist/utils/templatesD3/block-templates.js +85 -0
  833. package/dist/utils/types/types.d.ts +114 -0
  834. package/dist/utils/types/types.js +2 -0
  835. package/dist/utils/types.d.ts +173 -0
  836. package/dist/utils/types.js +26 -0
  837. package/dist/utils/validation/transform.d.ts +7 -0
  838. package/dist/utils/validation/transform.js +19 -0
  839. package/dist/utils/workings.d.ts +49 -0
  840. package/dist/utils/workings.js +193 -0
  841. package/dist/utils/ws.d.ts +10 -0
  842. package/dist/utils/ws.js +21 -0
  843. package/dist/waybill/dto/create-waybill-product.dto.d.ts +66 -0
  844. package/dist/waybill/dto/create-waybill-product.dto.js +27 -0
  845. package/dist/waybill/dto/create-waybill.dto.d.ts +128 -0
  846. package/dist/waybill/dto/create-waybill.dto.js +15 -0
  847. package/dist/waybill/dto/update-waybill.dto.d.ts +19 -0
  848. package/dist/waybill/dto/update-waybill.dto.js +11 -0
  849. package/dist/waybill/enum/enum.d.ts +10 -0
  850. package/dist/waybill/enum/enum.js +14 -0
  851. package/dist/waybill/index.d.ts +9 -0
  852. package/dist/waybill/index.js +25 -0
  853. package/dist/waybill/interface/interface.d.ts +31 -0
  854. package/dist/waybill/interface/interface.js +2 -0
  855. package/dist/waybill/schemas/waybill-assembly.schema.d.ts +16 -0
  856. package/dist/waybill/schemas/waybill-assembly.schema.js +8 -0
  857. package/dist/waybill/schemas/waybill-metalloworking.schema.d.ts +16 -0
  858. package/dist/waybill/schemas/waybill-metalloworking.schema.js +8 -0
  859. package/dist/waybill/schemas/waybill-product.schema.d.ts +98 -0
  860. package/dist/waybill/schemas/waybill-product.schema.js +29 -0
  861. package/dist/waybill/schemas/waybill.schema.d.ts +39 -0
  862. package/dist/waybill/schemas/waybill.schema.js +14 -0
  863. package/package.json +38 -0
@@ -0,0 +1,142 @@
1
+ import { z } from 'zod';
2
+ import { ModelAssemble } from '../../assemble';
3
+ import { ModelMetaloworking } from '../../metaloworking';
4
+ import { IEmployeePosition, IEquipmentPosition } from '../interfaces/production-tasks';
5
+ import { ModelProductionTask } from './production-task.schema';
6
+ import { ModelUser } from '../../user';
7
+ import { StockOrderType } from '../../utils';
8
+ export declare const UserProdactionTaskFilterSchema: z.ZodObject<{
9
+ userId: z.ZodNumber;
10
+ operationId: z.ZodNumber;
11
+ idx: z.ZodNumber;
12
+ }, "strip", z.ZodTypeAny, {
13
+ userId: number;
14
+ operationId: number;
15
+ idx: number;
16
+ }, {
17
+ userId: number;
18
+ operationId: number;
19
+ idx: number;
20
+ }>;
21
+ export declare const OperationPositionSchema: z.ZodObject<{
22
+ id: z.ZodNumber;
23
+ employeePositions: z.ZodArray<z.ZodType<IEmployeePosition, z.ZodTypeDef, IEmployeePosition>, "many">;
24
+ equipmentPositions: z.ZodArray<z.ZodType<IEquipmentPosition, z.ZodTypeDef, IEquipmentPosition>, "many">;
25
+ tOperationId: z.ZodNumber;
26
+ }, "strip", z.ZodTypeAny, {
27
+ id: number;
28
+ tOperationId: number;
29
+ employeePositions: IEmployeePosition[];
30
+ equipmentPositions: IEquipmentPosition[];
31
+ }, {
32
+ id: number;
33
+ tOperationId: number;
34
+ employeePositions: IEmployeePosition[];
35
+ equipmentPositions: IEquipmentPosition[];
36
+ }>;
37
+ export declare const ProductionOperationPosSchema: z.ZodObject<{
38
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ type: z.ZodNativeEnum<typeof StockOrderType>;
40
+ production_task_id: z.ZodNumber;
41
+ ass_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ metall_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ idx: z.ZodNumber;
44
+ quantity_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
46
+ user_filter: z.ZodDefault<z.ZodArray<z.ZodObject<{
47
+ userId: z.ZodNumber;
48
+ operationId: z.ZodNumber;
49
+ idx: z.ZodNumber;
50
+ }, "strip", z.ZodTypeAny, {
51
+ userId: number;
52
+ operationId: number;
53
+ idx: number;
54
+ }, {
55
+ userId: number;
56
+ operationId: number;
57
+ idx: number;
58
+ }>, "many">>;
59
+ responsible_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
+ quantity: z.ZodNumber;
61
+ global_index: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
62
+ create_time_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
63
+ ban: z.ZodDefault<z.ZodBoolean>;
64
+ operation_positions: z.ZodArray<z.ZodObject<{
65
+ id: z.ZodNumber;
66
+ employeePositions: z.ZodArray<z.ZodType<IEmployeePosition, z.ZodTypeDef, IEmployeePosition>, "many">;
67
+ equipmentPositions: z.ZodArray<z.ZodType<IEquipmentPosition, z.ZodTypeDef, IEquipmentPosition>, "many">;
68
+ tOperationId: z.ZodNumber;
69
+ }, "strip", z.ZodTypeAny, {
70
+ id: number;
71
+ tOperationId: number;
72
+ employeePositions: IEmployeePosition[];
73
+ equipmentPositions: IEquipmentPosition[];
74
+ }, {
75
+ id: number;
76
+ tOperationId: number;
77
+ employeePositions: IEmployeePosition[];
78
+ equipmentPositions: IEquipmentPosition[];
79
+ }>, "many">;
80
+ createdAt: z.ZodOptional<z.ZodDate>;
81
+ updatedAt: z.ZodOptional<z.ZodDate>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ type: StockOrderType;
84
+ ban: boolean;
85
+ quantity: number;
86
+ production_task_id: number;
87
+ idx: number;
88
+ user_filter: {
89
+ userId: number;
90
+ operationId: number;
91
+ idx: number;
92
+ }[];
93
+ operation_positions: {
94
+ id: number;
95
+ tOperationId: number;
96
+ employeePositions: IEmployeePosition[];
97
+ equipmentPositions: IEquipmentPosition[];
98
+ }[];
99
+ id?: number | null | undefined;
100
+ responsible_user_id?: number | null | undefined;
101
+ createdAt?: Date | undefined;
102
+ updatedAt?: Date | undefined;
103
+ ass_id?: number | null | undefined;
104
+ metall_id?: number | null | undefined;
105
+ quantity_max?: number | null | undefined;
106
+ start_time?: Date | null | undefined;
107
+ global_index?: number | null | undefined;
108
+ create_time_minutes?: number | null | undefined;
109
+ }, {
110
+ type: StockOrderType;
111
+ quantity: number;
112
+ production_task_id: number;
113
+ idx: number;
114
+ operation_positions: {
115
+ id: number;
116
+ tOperationId: number;
117
+ employeePositions: IEmployeePosition[];
118
+ equipmentPositions: IEquipmentPosition[];
119
+ }[];
120
+ ban?: boolean | undefined;
121
+ id?: number | null | undefined;
122
+ responsible_user_id?: number | null | undefined;
123
+ createdAt?: Date | undefined;
124
+ updatedAt?: Date | undefined;
125
+ ass_id?: number | null | undefined;
126
+ metall_id?: number | null | undefined;
127
+ quantity_max?: number | null | undefined;
128
+ start_time?: Date | null | undefined;
129
+ user_filter?: {
130
+ userId: number;
131
+ operationId: number;
132
+ idx: number;
133
+ }[] | undefined;
134
+ global_index?: number | null | undefined;
135
+ create_time_minutes?: number | null | undefined;
136
+ }>;
137
+ export type ModelProductionOperationPos = z.infer<typeof ProductionOperationPosSchema> & {
138
+ production_task?: ModelProductionTask;
139
+ assemble?: ModelAssemble;
140
+ metaloworking?: ModelMetaloworking;
141
+ responsible_user?: ModelUser;
142
+ };
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductionOperationPosSchema = exports.OperationPositionSchema = exports.UserProdactionTaskFilterSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ exports.UserProdactionTaskFilterSchema = zod_1.z.object({
7
+ userId: zod_1.z.number(),
8
+ operationId: zod_1.z.number(),
9
+ idx: zod_1.z.number()
10
+ });
11
+ exports.OperationPositionSchema = zod_1.z.object({
12
+ id: zod_1.z.number(),
13
+ employeePositions: zod_1.z.array(zod_1.z.custom()),
14
+ equipmentPositions: zod_1.z.array(zod_1.z.custom()),
15
+ tOperationId: zod_1.z.number()
16
+ });
17
+ exports.ProductionOperationPosSchema = zod_1.z.object({
18
+ id: zod_1.z.number().nullish(),
19
+ type: zod_1.z.nativeEnum(utils_1.StockOrderType),
20
+ production_task_id: zod_1.z.number(),
21
+ ass_id: zod_1.z.number().nullish(),
22
+ metall_id: zod_1.z.number().nullish(),
23
+ idx: zod_1.z.number(),
24
+ quantity_max: zod_1.z.number().nullish(),
25
+ start_time: zod_1.z.date().nullish(),
26
+ user_filter: zod_1.z.array(exports.UserProdactionTaskFilterSchema).default([]),
27
+ responsible_user_id: zod_1.z.number().nullish(),
28
+ quantity: zod_1.z.number(),
29
+ global_index: zod_1.z.number().nullish(),
30
+ create_time_minutes: zod_1.z.number().nullish(),
31
+ ban: zod_1.z.boolean().default(false),
32
+ operation_positions: zod_1.z.array(exports.OperationPositionSchema),
33
+ createdAt: zod_1.z.date().optional(),
34
+ updatedAt: zod_1.z.date().optional()
35
+ });
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ declare const ProductionTaskAssemblySchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ production_task_id: z.ZodNumber;
5
+ assembly_id: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ production_task_id: number;
8
+ assembly_id: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ production_task_id: number;
12
+ assembly_id: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelProductionTaskAssembly = z.infer<typeof ProductionTaskAssemblySchema>;
16
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const zod_1 = require("zod");
4
+ const ProductionTaskAssemblySchema = zod_1.z.object({
5
+ id: zod_1.z.number().nullish(),
6
+ production_task_id: zod_1.z.number().int().positive(),
7
+ assembly_id: zod_1.z.number().int().positive()
8
+ });
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ declare const ProductionTaskMetalloworkingSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ production_task_id: z.ZodNumber;
5
+ metalloworking_id: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ production_task_id: number;
8
+ metalloworking_id: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ production_task_id: number;
12
+ metalloworking_id: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelProductionTaskMetalloworking = z.infer<typeof ProductionTaskMetalloworkingSchema>;
16
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const zod_1 = require("zod");
4
+ const ProductionTaskMetalloworkingSchema = zod_1.z.object({
5
+ id: zod_1.z.number().nullish(),
6
+ production_task_id: zod_1.z.number().int().positive(),
7
+ metalloworking_id: zod_1.z.number().int().positive()
8
+ });
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ declare const StartTimeSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ user_id: z.ZodNumber;
5
+ time: z.ZodDate;
6
+ }, "strip", z.ZodTypeAny, {
7
+ user_id: number;
8
+ time: Date;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ user_id: number;
12
+ time: Date;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelStartTime = z.infer<typeof StartTimeSchema>;
16
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const zod_1 = require("zod");
4
+ const StartTimeSchema = zod_1.z.object({
5
+ id: zod_1.z.number().nullish(),
6
+ user_id: zod_1.z.number().int(),
7
+ time: zod_1.z.date()
8
+ });
@@ -0,0 +1,36 @@
1
+ import { z } from 'zod';
2
+ import { StockOrderType } from '../../utils';
3
+ import { StatusProductionTaskEnum } from '../enums/production-tasks';
4
+ import { IDescriptionFilters } from '../interfaces/production-tasks';
5
+ import { ModelAssemble } from '../../assemble';
6
+ import { ModelMetaloworking } from '../../metaloworking';
7
+ import { ModelMarks } from '../../marks';
8
+ import { ModelProductionOperationPos } from './production-operation-pos.schema';
9
+ export declare const ProductionTaskSchema: z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ due_data: z.ZodDate;
12
+ working_type: z.ZodNativeEnum<typeof StockOrderType>;
13
+ description: z.ZodOptional<z.ZodString>;
14
+ status: z.ZodDefault<z.ZodNativeEnum<typeof StatusProductionTaskEnum>>;
15
+ details_filters: z.ZodType<IDescriptionFilters, z.ZodTypeDef, IDescriptionFilters>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ status: StatusProductionTaskEnum;
18
+ due_data: Date;
19
+ working_type: StockOrderType;
20
+ details_filters: IDescriptionFilters;
21
+ description?: string | undefined;
22
+ id?: number | null | undefined;
23
+ }, {
24
+ due_data: Date;
25
+ working_type: StockOrderType;
26
+ details_filters: IDescriptionFilters;
27
+ status?: StatusProductionTaskEnum | undefined;
28
+ description?: string | undefined;
29
+ id?: number | null | undefined;
30
+ }>;
31
+ export type ModelProductionTask = z.infer<typeof ProductionTaskSchema> & {
32
+ ass?: ModelAssemble[];
33
+ metall?: ModelMetaloworking[];
34
+ marks?: ModelMarks[];
35
+ production_operation_pos?: ModelProductionOperationPos[];
36
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductionTaskSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ const production_tasks_1 = require("../enums/production-tasks");
7
+ exports.ProductionTaskSchema = zod_1.z.object({
8
+ id: zod_1.z.number().nullish(),
9
+ due_data: zod_1.z.date(),
10
+ working_type: zod_1.z.nativeEnum(utils_1.StockOrderType),
11
+ description: zod_1.z.string().optional(),
12
+ status: zod_1.z
13
+ .nativeEnum(production_tasks_1.StatusProductionTaskEnum)
14
+ .default(production_tasks_1.StatusProductionTaskEnum.active),
15
+ details_filters: zod_1.z.custom()
16
+ });
@@ -0,0 +1,46 @@
1
+ import { z } from 'zod';
2
+ import { EntityCommonSpecificationArray } from '../../utils';
3
+ export declare const CreateProviderDtoZod: z.ZodObject<{
4
+ id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5
+ name: z.ZodString;
6
+ inn: z.ZodString;
7
+ cpp: z.ZodString;
8
+ rekvisit: z.ZodString;
9
+ contacts: z.ZodString;
10
+ description: z.ZodString;
11
+ docs: z.ZodOptional<z.ZodString>;
12
+ materialList: z.ZodEffects<z.ZodDefault<z.ZodType<EntityCommonSpecificationArray, z.ZodTypeDef, EntityCommonSpecificationArray>>, EntityCommonSpecificationArray, unknown>;
13
+ toolListId: z.ZodOptional<z.ZodString>;
14
+ equipmentListId: z.ZodOptional<z.ZodString>;
15
+ attention: z.ZodEffects<z.ZodString, boolean, string>;
16
+ fileBase: z.ZodString;
17
+ }, "strip", z.ZodTypeAny, {
18
+ description: string;
19
+ name: string;
20
+ contacts: string;
21
+ inn: string;
22
+ cpp: string;
23
+ rekvisit: string;
24
+ attention: boolean;
25
+ fileBase: string;
26
+ materialList: EntityCommonSpecificationArray;
27
+ id?: string | null | undefined;
28
+ docs?: string | undefined;
29
+ toolListId?: string | undefined;
30
+ equipmentListId?: string | undefined;
31
+ }, {
32
+ description: string;
33
+ name: string;
34
+ contacts: string;
35
+ inn: string;
36
+ cpp: string;
37
+ rekvisit: string;
38
+ attention: string;
39
+ fileBase: string;
40
+ id?: string | null | undefined;
41
+ docs?: string | undefined;
42
+ materialList?: unknown;
43
+ toolListId?: string | undefined;
44
+ equipmentListId?: string | undefined;
45
+ }>;
46
+ export type CreateProviderDtoType = z.infer<typeof CreateProviderDtoZod>;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateProviderDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ exports.CreateProviderDtoZod = zod_1.z.object({
7
+ id: zod_1.z.string().optional().nullable(),
8
+ name: zod_1.z.string(),
9
+ inn: zod_1.z.string(),
10
+ cpp: zod_1.z.string(),
11
+ rekvisit: zod_1.z.string(),
12
+ contacts: zod_1.z.string(),
13
+ description: zod_1.z.string(),
14
+ docs: zod_1.z.string().optional(),
15
+ materialList: zod_1.z.preprocess(val => (0, utils_1.parseParamsOrBody)(val, []), zod_1.z.custom().default([])),
16
+ toolListId: zod_1.z.string().optional(),
17
+ equipmentListId: zod_1.z.string().optional(),
18
+ attention: zod_1.z.string().transform(val => val === 'true'),
19
+ fileBase: zod_1.z.string()
20
+ });
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ export declare const ProviderPaginationDtoZod: z.ZodObject<{
3
+ page: z.ZodDefault<z.ZodNumber>;
4
+ searchString: z.ZodDefault<z.ZodString>;
5
+ isSortedByAttention: z.ZodDefault<z.ZodBoolean>;
6
+ isSortedByDate: z.ZodDefault<z.ZodBoolean>;
7
+ materialProvidersIds: z.ZodDefault<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ page: number;
10
+ searchString: string;
11
+ isSortedByAttention: boolean;
12
+ isSortedByDate: boolean;
13
+ materialProvidersIds: string;
14
+ }, {
15
+ page?: number | undefined;
16
+ searchString?: string | undefined;
17
+ isSortedByAttention?: boolean | undefined;
18
+ isSortedByDate?: boolean | undefined;
19
+ materialProvidersIds?: string | undefined;
20
+ }>;
21
+ export type ProviderPaginationDtoType = z.infer<typeof ProviderPaginationDtoZod>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProviderPaginationDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.ProviderPaginationDtoZod = zod_1.z.object({
6
+ page: zod_1.z.number().default(1),
7
+ searchString: zod_1.z.string().default(''),
8
+ isSortedByAttention: zod_1.z.boolean().default(false),
9
+ isSortedByDate: zod_1.z.boolean().default(false),
10
+ materialProvidersIds: zod_1.z.string().default('')
11
+ });
@@ -0,0 +1,6 @@
1
+ export * from './schemas/provider.schema';
2
+ export * from './schemas/providers-equipment.schema';
3
+ export * from './schemas/providers-inventary.schema';
4
+ export * from './interfaces/interface';
5
+ export * from './dto/create-provider.dto';
6
+ export * from './dto/provider-pagination.dto';
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./schemas/provider.schema"), exports);
18
+ __exportStar(require("./schemas/providers-equipment.schema"), exports);
19
+ __exportStar(require("./schemas/providers-inventary.schema"), exports);
20
+ __exportStar(require("./interfaces/interface"), exports);
21
+ __exportStar(require("./dto/create-provider.dto"), exports);
22
+ __exportStar(require("./dto/provider-pagination.dto"), exports);
@@ -0,0 +1,3 @@
1
+ export interface IProvidersCreationAttrs {
2
+ name: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ export declare const ProvidersSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ name: z.ZodString;
5
+ inn: z.ZodOptional<z.ZodString>;
6
+ cpp: z.ZodOptional<z.ZodString>;
7
+ rekvisit: z.ZodOptional<z.ZodString>;
8
+ contacts: z.ZodOptional<z.ZodString>;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ ban: z.ZodDefault<z.ZodBoolean>;
11
+ attention: z.ZodDefault<z.ZodBoolean>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ ban: boolean;
14
+ name: string;
15
+ attention: boolean;
16
+ description?: string | undefined;
17
+ id?: number | null | undefined;
18
+ contacts?: string | undefined;
19
+ inn?: string | undefined;
20
+ cpp?: string | undefined;
21
+ rekvisit?: string | undefined;
22
+ }, {
23
+ name: string;
24
+ ban?: boolean | undefined;
25
+ description?: string | undefined;
26
+ id?: number | null | undefined;
27
+ contacts?: string | undefined;
28
+ inn?: string | undefined;
29
+ cpp?: string | undefined;
30
+ rekvisit?: string | undefined;
31
+ attention?: boolean | undefined;
32
+ }>;
33
+ export type ModelProviders = z.infer<typeof ProvidersSchema>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProvidersSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.ProvidersSchema = zod_1.z.object({
6
+ id: zod_1.z.number().nullish(),
7
+ name: zod_1.z.string().min(1, 'Name is required'),
8
+ inn: zod_1.z.string().optional(),
9
+ cpp: zod_1.z.string().optional(),
10
+ rekvisit: zod_1.z.string().optional(),
11
+ contacts: zod_1.z.string().optional(),
12
+ description: zod_1.z.string().optional(),
13
+ ban: zod_1.z.boolean().default(false),
14
+ attention: zod_1.z.boolean().default(false)
15
+ });
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ declare const ProvidersEquipmentSchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ providerId: z.ZodNumber;
5
+ equipmentsId: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ providerId: number;
8
+ equipmentsId: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ providerId: number;
12
+ equipmentsId: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelProvidersEquipment = z.infer<typeof ProvidersEquipmentSchema>;
16
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const zod_1 = require("zod");
4
+ const ProvidersEquipmentSchema = zod_1.z.object({
5
+ id: zod_1.z.number().nullish(),
6
+ providerId: zod_1.z.number().int().positive(),
7
+ equipmentsId: zod_1.z.number().int().positive()
8
+ });
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ declare const ProvidersInventarySchema: z.ZodObject<{
3
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4
+ provider_id: z.ZodNumber;
5
+ inventary_id: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ provider_id: number;
8
+ inventary_id: number;
9
+ id?: number | null | undefined;
10
+ }, {
11
+ provider_id: number;
12
+ inventary_id: number;
13
+ id?: number | null | undefined;
14
+ }>;
15
+ export type ModelProvidersInventary = z.infer<typeof ProvidersInventarySchema>;
16
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const zod_1 = require("zod");
4
+ const ProvidersInventarySchema = zod_1.z.object({
5
+ id: zod_1.z.number().nullish(),
6
+ provider_id: zod_1.z.number().int().positive(),
7
+ inventary_id: zod_1.z.number().int().positive()
8
+ });