@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,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssembleSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ const shipments_1 = require("../../shipments");
7
+ const assemble_kit_1 = require("../../assemble-kit");
8
+ const production_tasks_1 = require("../../production-tasks");
9
+ const waybill_1 = require("../../waybill");
10
+ const tech_process_1 = require("../../tech-process");
11
+ exports.AssembleSchema = zod_1.z.object({
12
+ id: zod_1.z.number().int(),
13
+ ban: zod_1.z.boolean().default(false),
14
+ type_izd: zod_1.z.string(),
15
+ number_order: zod_1.z.string(),
16
+ kolvo_create: zod_1.z.number().int().default(0),
17
+ kolvo_shipments: zod_1.z.number().int().default(0),
18
+ submitted: zod_1.z.number().int().min(0),
19
+ collected: zod_1.z.number().int().min(0),
20
+ description: zod_1.z.string().optional(),
21
+ status: zod_1.z.nativeEnum(utils_1.StatusScladWorking),
22
+ cbed_id: zod_1.z.number().int().optional(),
23
+ product_id: zod_1.z.number().int().optional(),
24
+ shipment_id: zod_1.z.number().int().nullish(),
25
+ shipment: shipments_1.ShipmentsSchema.nullish().optional(),
26
+ tech_process: tech_process_1.TechProcessSchema.nullish().optional(),
27
+ precentCreated: zod_1.z.string().optional(),
28
+ timeComplite: zod_1.z.number().optional(),
29
+ assembly_kits: zod_1.z.array(assemble_kit_1.AssembleKitSchema).nullish().optional(),
30
+ production_task: zod_1.z.array(production_tasks_1.ProductionTaskSchema).nullish().optional(),
31
+ waybills: zod_1.z.array(waybill_1.WaybillSchema).nullish().optional()
32
+ });
@@ -0,0 +1,46 @@
1
+ import { z } from 'zod';
2
+ import { Neo4jEntityTypes } from '../../utils';
3
+ export declare const AssembleKitPaginateDtoZod: z.ZodObject<{
4
+ offset: z.ZodNumber;
5
+ currentPage: z.ZodNumber;
6
+ status: z.ZodString;
7
+ searchStr: z.ZodString;
8
+ childId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
9
+ childType: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<typeof Neo4jEntityTypes>, z.ZodNull, z.ZodUndefined, z.ZodString]>>;
10
+ sortKitCount: z.ZodString;
11
+ responsibleId: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
12
+ assemblyId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ cbedsIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
14
+ shipmentId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ productIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
16
+ isShowDeactivate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ status: string;
19
+ responsibleId: number | null;
20
+ isShowDeactivate: boolean;
21
+ productIds: number[];
22
+ searchStr: string;
23
+ offset: number;
24
+ currentPage: number;
25
+ sortKitCount: string;
26
+ cbedsIds: number[];
27
+ shipmentId?: number | null | undefined;
28
+ childId?: number | null | undefined;
29
+ childType?: string | null | undefined;
30
+ assemblyId?: number | null | undefined;
31
+ }, {
32
+ status: string;
33
+ searchStr: string;
34
+ offset: number;
35
+ currentPage: number;
36
+ sortKitCount: string;
37
+ responsibleId?: number | null | undefined;
38
+ isShowDeactivate?: boolean | undefined;
39
+ productIds?: number[] | undefined;
40
+ shipmentId?: number | null | undefined;
41
+ childId?: number | null | undefined;
42
+ childType?: string | null | undefined;
43
+ assemblyId?: number | null | undefined;
44
+ cbedsIds?: number[] | undefined;
45
+ }>;
46
+ export type AssembleKitPaginateDtoZodType = z.infer<typeof AssembleKitPaginateDtoZod>;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssembleKitPaginateDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ const utils_1 = require("../../utils");
6
+ exports.AssembleKitPaginateDtoZod = zod_1.z.object({
7
+ offset: zod_1.z.number().int(),
8
+ currentPage: zod_1.z.number().int(),
9
+ status: zod_1.z.string(),
10
+ searchStr: zod_1.z.string(),
11
+ childId: zod_1.z.number().optional().nullable(),
12
+ childType: zod_1.z
13
+ .union([
14
+ zod_1.z.nativeEnum(utils_1.Neo4jEntityTypes),
15
+ zod_1.z.null(),
16
+ zod_1.z.undefined(),
17
+ zod_1.z.string()
18
+ ])
19
+ .optional(),
20
+ sortKitCount: zod_1.z.string(),
21
+ responsibleId: zod_1.z.number().int().nullable().optional().default(null),
22
+ assemblyId: zod_1.z.number().int().nullable().optional(),
23
+ cbedsIds: zod_1.z.array(zod_1.z.number()).optional().default([]),
24
+ shipmentId: zod_1.z.number().int().nullable().optional(),
25
+ productIds: zod_1.z.array(zod_1.z.number()).optional().default([]),
26
+ isShowDeactivate: zod_1.z.boolean().optional().default(false)
27
+ });
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export declare const UpdateAssembleKitDtoZod: z.ZodObject<{
3
+ idKit: z.ZodEffects<z.ZodString, number, string>;
4
+ description: z.ZodString;
5
+ receivingUserId: z.ZodEffects<z.ZodString, number, string>;
6
+ docs: z.ZodAny;
7
+ addedQuantity: z.ZodEffects<z.ZodString, number, string>;
8
+ actionSendlerId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, number | null, string>>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ description: string;
11
+ idKit: number;
12
+ receivingUserId: number;
13
+ addedQuantity: number;
14
+ docs?: any;
15
+ actionSendlerId?: number | null | undefined;
16
+ }, {
17
+ description: string;
18
+ idKit: string;
19
+ receivingUserId: string;
20
+ addedQuantity: string;
21
+ docs?: any;
22
+ actionSendlerId?: string | null | undefined;
23
+ }>;
24
+ export type UpdateAssembleKitDtoZodType = z.infer<typeof UpdateAssembleKitDtoZod>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAssembleKitDtoZod = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.UpdateAssembleKitDtoZod = zod_1.z.object({
6
+ idKit: zod_1.z.string().transform(val => Number(val)),
7
+ description: zod_1.z.string(),
8
+ receivingUserId: zod_1.z.string().transform(val => Number(val)),
9
+ docs: zod_1.z.any(),
10
+ addedQuantity: zod_1.z.string().transform(val => Number(val)),
11
+ actionSendlerId: zod_1.z
12
+ .string()
13
+ .transform(val => Number(val) || null)
14
+ .nullable()
15
+ .optional()
16
+ });
@@ -0,0 +1,4 @@
1
+ export * from './schemas/assemble-kit.schema';
2
+ export * from './dto/assemble-kit-paginate.dto';
3
+ export * from './dto/update-assemble-kit.dto';
4
+ export * from './interfaces/interface';
@@ -0,0 +1,20 @@
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/assemble-kit.schema"), exports);
18
+ __exportStar(require("./dto/assemble-kit-paginate.dto"), exports);
19
+ __exportStar(require("./dto/update-assemble-kit.dto"), exports);
20
+ __exportStar(require("./interfaces/interface"), exports);
@@ -0,0 +1,4 @@
1
+ export interface IUpdateAssembleKitResponsible {
2
+ user_id: number;
3
+ id: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,306 @@
1
+ import { z } from 'zod';
2
+ import { StatusAssembleKit } from '../../utils';
3
+ import { ModelUser } from '../../user';
4
+ import { ModelAssemble } from '../../assemble/schemas/assemble.schema';
5
+ import { ModelMarks } from '../../marks';
6
+ export declare const AssembleKitSchema: z.ZodObject<{
7
+ id: z.ZodNumber;
8
+ createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodString]>>;
9
+ ban: z.ZodDefault<z.ZodBoolean>;
10
+ number_order: z.ZodOptional<z.ZodString>;
11
+ type_izd: z.ZodString;
12
+ date_to_work: z.ZodOptional<z.ZodString>;
13
+ kolvo_collected: z.ZodDefault<z.ZodNumber>;
14
+ kolvo_submitted: z.ZodDefault<z.ZodNumber>;
15
+ quantity_received: z.ZodDefault<z.ZodNumber>;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ status: z.ZodNativeEnum<typeof StatusAssembleKit>;
18
+ responsible_id: z.ZodNullable<z.ZodNumber>;
19
+ receiving_user_id: z.ZodNullable<z.ZodNumber>;
20
+ assemble_id: z.ZodNullable<z.ZodNumber>;
21
+ documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ name: z.ZodString;
24
+ path: z.ZodString;
25
+ type: z.ZodOptional<z.ZodString>;
26
+ description: z.ZodOptional<z.ZodString>;
27
+ version: z.ZodDefault<z.ZodNumber>;
28
+ ban: z.ZodDefault<z.ZodBoolean>;
29
+ ava: z.ZodDefault<z.ZodBoolean>;
30
+ sync_s3: z.ZodDefault<z.ZodBoolean>;
31
+ hash: z.ZodOptional<z.ZodString>;
32
+ responsible_user_id: z.ZodNullable<z.ZodNumber>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ path: string;
35
+ ban: boolean;
36
+ name: string;
37
+ version: number;
38
+ ava: boolean;
39
+ sync_s3: boolean;
40
+ responsible_user_id: number | null;
41
+ type?: string | undefined;
42
+ description?: string | undefined;
43
+ id?: number | null | undefined;
44
+ hash?: string | undefined;
45
+ }, {
46
+ path: string;
47
+ name: string;
48
+ responsible_user_id: number | null;
49
+ type?: string | undefined;
50
+ ban?: boolean | undefined;
51
+ description?: string | undefined;
52
+ id?: number | null | undefined;
53
+ version?: number | undefined;
54
+ ava?: boolean | undefined;
55
+ sync_s3?: boolean | undefined;
56
+ hash?: string | undefined;
57
+ }>, "many">>;
58
+ shipments: z.ZodOptional<z.ZodArray<z.ZodObject<{
59
+ id: z.ZodNumber;
60
+ ban: z.ZodDefault<z.ZodBoolean>;
61
+ date_order: z.ZodDate;
62
+ date_shipments: z.ZodDate;
63
+ date_by_urgency: z.ZodDate;
64
+ number_order: z.ZodString;
65
+ kol: z.ZodNumber;
66
+ bron: z.ZodDefault<z.ZodBoolean>;
67
+ is_custom_product: z.ZodDefault<z.ZodBoolean>;
68
+ base: z.ZodString;
69
+ description: z.ZodString;
70
+ productId: z.ZodNumber;
71
+ buyerId: z.ZodNumber;
72
+ company_id: z.ZodOptional<z.ZodNumber>;
73
+ buyer: z.ZodOptional<z.ZodObject<{
74
+ id: z.ZodNumber;
75
+ name: z.ZodString;
76
+ ban: z.ZodDefault<z.ZodBoolean>;
77
+ inn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ cpp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ rekvisit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
+ contacts: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
+ attention: z.ZodDefault<z.ZodBoolean>;
83
+ purchasesId: z.ZodOptional<z.ZodNumber>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ ban: boolean;
86
+ id: number;
87
+ name: string;
88
+ attention: boolean;
89
+ description?: string | null | undefined;
90
+ contacts?: string | null | undefined;
91
+ inn?: string | null | undefined;
92
+ cpp?: string | null | undefined;
93
+ rekvisit?: string | null | undefined;
94
+ purchasesId?: number | undefined;
95
+ }, {
96
+ id: number;
97
+ name: string;
98
+ ban?: boolean | undefined;
99
+ description?: string | null | undefined;
100
+ contacts?: string | null | undefined;
101
+ inn?: string | null | undefined;
102
+ cpp?: string | null | undefined;
103
+ rekvisit?: string | null | undefined;
104
+ attention?: boolean | undefined;
105
+ purchasesId?: number | undefined;
106
+ }>>;
107
+ status: z.ZodDefault<z.ZodString>;
108
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
+ product: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
110
+ manager_id: z.ZodNumber;
111
+ }, "strip", z.ZodTypeAny, {
112
+ status: string;
113
+ ban: boolean;
114
+ description: string;
115
+ id: number;
116
+ number_order: string;
117
+ kol: number;
118
+ base: string;
119
+ date_shipments: Date;
120
+ productId: number;
121
+ date_order: Date;
122
+ date_by_urgency: Date;
123
+ bron: boolean;
124
+ is_custom_product: boolean;
125
+ buyerId: number;
126
+ manager_id: number;
127
+ product?: any;
128
+ buyer?: {
129
+ ban: boolean;
130
+ id: number;
131
+ name: string;
132
+ attention: boolean;
133
+ description?: string | null | undefined;
134
+ contacts?: string | null | undefined;
135
+ inn?: string | null | undefined;
136
+ cpp?: string | null | undefined;
137
+ rekvisit?: string | null | undefined;
138
+ purchasesId?: number | undefined;
139
+ } | undefined;
140
+ company_id?: number | undefined;
141
+ parent_id?: number | null | undefined;
142
+ }, {
143
+ description: string;
144
+ id: number;
145
+ number_order: string;
146
+ kol: number;
147
+ base: string;
148
+ date_shipments: Date;
149
+ productId: number;
150
+ date_order: Date;
151
+ date_by_urgency: Date;
152
+ buyerId: number;
153
+ manager_id: number;
154
+ status?: string | undefined;
155
+ ban?: boolean | undefined;
156
+ product?: any;
157
+ buyer?: {
158
+ id: number;
159
+ name: string;
160
+ ban?: boolean | undefined;
161
+ description?: string | null | undefined;
162
+ contacts?: string | null | undefined;
163
+ inn?: string | null | undefined;
164
+ cpp?: string | null | undefined;
165
+ rekvisit?: string | null | undefined;
166
+ attention?: boolean | undefined;
167
+ purchasesId?: number | undefined;
168
+ } | undefined;
169
+ company_id?: number | undefined;
170
+ bron?: boolean | undefined;
171
+ is_custom_product?: boolean | undefined;
172
+ parent_id?: number | null | undefined;
173
+ }>, "many">>;
174
+ mark_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
175
+ actual_spetificatoin: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>;
176
+ }, "strip", z.ZodTypeAny, {
177
+ status: StatusAssembleKit;
178
+ ban: boolean;
179
+ id: number;
180
+ responsible_id: number | null;
181
+ assemble_id: number | null;
182
+ type_izd: string;
183
+ kolvo_collected: number;
184
+ kolvo_submitted: number;
185
+ quantity_received: number;
186
+ receiving_user_id: number | null;
187
+ actual_spetificatoin: boolean | null;
188
+ description?: string | undefined;
189
+ number_order?: string | undefined;
190
+ documents?: {
191
+ path: string;
192
+ ban: boolean;
193
+ name: string;
194
+ version: number;
195
+ ava: boolean;
196
+ sync_s3: boolean;
197
+ responsible_user_id: number | null;
198
+ type?: string | undefined;
199
+ description?: string | undefined;
200
+ id?: number | null | undefined;
201
+ hash?: string | undefined;
202
+ }[] | undefined;
203
+ shipments?: {
204
+ status: string;
205
+ ban: boolean;
206
+ description: string;
207
+ id: number;
208
+ number_order: string;
209
+ kol: number;
210
+ base: string;
211
+ date_shipments: Date;
212
+ productId: number;
213
+ date_order: Date;
214
+ date_by_urgency: Date;
215
+ bron: boolean;
216
+ is_custom_product: boolean;
217
+ buyerId: number;
218
+ manager_id: number;
219
+ product?: any;
220
+ buyer?: {
221
+ ban: boolean;
222
+ id: number;
223
+ name: string;
224
+ attention: boolean;
225
+ description?: string | null | undefined;
226
+ contacts?: string | null | undefined;
227
+ inn?: string | null | undefined;
228
+ cpp?: string | null | undefined;
229
+ rekvisit?: string | null | undefined;
230
+ purchasesId?: number | undefined;
231
+ } | undefined;
232
+ company_id?: number | undefined;
233
+ parent_id?: number | null | undefined;
234
+ }[] | undefined;
235
+ createdAt?: string | Date | undefined;
236
+ mark_id?: number | null | undefined;
237
+ date_to_work?: string | undefined;
238
+ }, {
239
+ status: StatusAssembleKit;
240
+ id: number;
241
+ responsible_id: number | null;
242
+ assemble_id: number | null;
243
+ type_izd: string;
244
+ receiving_user_id: number | null;
245
+ ban?: boolean | undefined;
246
+ description?: string | undefined;
247
+ number_order?: string | undefined;
248
+ documents?: {
249
+ path: string;
250
+ name: string;
251
+ responsible_user_id: number | null;
252
+ type?: string | undefined;
253
+ ban?: boolean | undefined;
254
+ description?: string | undefined;
255
+ id?: number | null | undefined;
256
+ version?: number | undefined;
257
+ ava?: boolean | undefined;
258
+ sync_s3?: boolean | undefined;
259
+ hash?: string | undefined;
260
+ }[] | undefined;
261
+ shipments?: {
262
+ description: string;
263
+ id: number;
264
+ number_order: string;
265
+ kol: number;
266
+ base: string;
267
+ date_shipments: Date;
268
+ productId: number;
269
+ date_order: Date;
270
+ date_by_urgency: Date;
271
+ buyerId: number;
272
+ manager_id: number;
273
+ status?: string | undefined;
274
+ ban?: boolean | undefined;
275
+ product?: any;
276
+ buyer?: {
277
+ id: number;
278
+ name: string;
279
+ ban?: boolean | undefined;
280
+ description?: string | null | undefined;
281
+ contacts?: string | null | undefined;
282
+ inn?: string | null | undefined;
283
+ cpp?: string | null | undefined;
284
+ rekvisit?: string | null | undefined;
285
+ attention?: boolean | undefined;
286
+ purchasesId?: number | undefined;
287
+ } | undefined;
288
+ company_id?: number | undefined;
289
+ bron?: boolean | undefined;
290
+ is_custom_product?: boolean | undefined;
291
+ parent_id?: number | null | undefined;
292
+ }[] | undefined;
293
+ createdAt?: string | Date | undefined;
294
+ mark_id?: number | null | undefined;
295
+ date_to_work?: string | undefined;
296
+ kolvo_collected?: number | undefined;
297
+ kolvo_submitted?: number | undefined;
298
+ quantity_received?: number | undefined;
299
+ actual_spetificatoin?: boolean | null | undefined;
300
+ }>;
301
+ export type ModelAssembleKit = z.infer<typeof AssembleKitSchema> & {
302
+ user_responsible?: ModelUser;
303
+ receiving_user?: ModelUser;
304
+ assemble?: ModelAssemble;
305
+ mark?: ModelMarks;
306
+ };
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssembleKitSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const shipments_1 = require("../../shipments");
6
+ const document_1 = require("../../document");
7
+ const utils_1 = require("../../utils");
8
+ exports.AssembleKitSchema = zod_1.z.object({
9
+ id: zod_1.z.number().int().positive(),
10
+ createdAt: zod_1.z.union([zod_1.z.date(), zod_1.z.string()]).optional(),
11
+ ban: zod_1.z.boolean().default(false),
12
+ number_order: zod_1.z.string().optional(),
13
+ type_izd: zod_1.z.string(),
14
+ date_to_work: zod_1.z.string().optional(),
15
+ kolvo_collected: zod_1.z.number().int().nonnegative().default(0),
16
+ kolvo_submitted: zod_1.z.number().int().nonnegative().default(0),
17
+ quantity_received: zod_1.z.number().int().nonnegative().default(0),
18
+ description: zod_1.z.string().optional(),
19
+ status: zod_1.z.nativeEnum(utils_1.StatusAssembleKit),
20
+ responsible_id: zod_1.z.number().int().positive().nullable(),
21
+ receiving_user_id: zod_1.z.number().int().positive().nullable(),
22
+ assemble_id: zod_1.z.number().int().positive().nullable(),
23
+ documents: zod_1.z.array(document_1.DocumentsSchema).optional(),
24
+ shipments: zod_1.z.array(shipments_1.ShipmentsSchema).optional(),
25
+ mark_id: zod_1.z.number().nullish(),
26
+ actual_spetificatoin: zod_1.z.boolean().nullish().default(true)
27
+ });
@@ -0,0 +1,2 @@
1
+ export * from './schemas/avatarsSchema';
2
+ export * from './interfaces/interface';
@@ -0,0 +1,18 @@
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/avatarsSchema"), exports);
18
+ __exportStar(require("./interfaces/interface"), exports);
@@ -0,0 +1,6 @@
1
+ export interface IAvatarsCreationAttrs {
2
+ title: string;
3
+ content: string;
4
+ userId: number;
5
+ image: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ import { ModelUser } from '../../user';
3
+ export declare const AvatarsSchema: z.ZodObject<{
4
+ id: z.ZodNumber;
5
+ title: z.ZodString;
6
+ content: z.ZodString;
7
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ userId: z.ZodNumber;
9
+ author: z.ZodOptional<z.ZodType<ModelUser, z.ZodTypeDef, ModelUser>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ userId: number;
12
+ id: number;
13
+ title: string;
14
+ content: string;
15
+ image?: string | null | undefined;
16
+ author?: ModelUser | undefined;
17
+ }, {
18
+ userId: number;
19
+ id: number;
20
+ title: string;
21
+ content: string;
22
+ image?: string | null | undefined;
23
+ author?: ModelUser | undefined;
24
+ }>;
25
+ export type ModelAvatar = z.infer<typeof AvatarsSchema>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AvatarsSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.AvatarsSchema = zod_1.z.object({
6
+ id: zod_1.z.number().int().positive(),
7
+ title: zod_1.z.string().nonempty(),
8
+ content: zod_1.z.string().nonempty(),
9
+ image: zod_1.z.string().nullish(),
10
+ userId: zod_1.z.number().int().positive(),
11
+ author: zod_1.z.custom().optional()
12
+ });
@@ -0,0 +1,4 @@
1
+ export * from './schemas/buyer.schema';
2
+ export * from './schemas/buyer-cbed.schema';
3
+ export * from './schemas/purchases.schema';
4
+ export * from './interfaces/interface';
@@ -0,0 +1,20 @@
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/buyer.schema"), exports);
18
+ __exportStar(require("./schemas/buyer-cbed.schema"), exports);
19
+ __exportStar(require("./schemas/purchases.schema"), exports);
20
+ __exportStar(require("./interfaces/interface"), exports);
@@ -0,0 +1,6 @@
1
+ export interface IBuyerCreationAttrs {
2
+ name: string;
3
+ }
4
+ export interface IPurchasesCreationAttrs {
5
+ name: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const BuyerCbedSchema: z.ZodObject<{
3
+ id: z.ZodNumber;
4
+ cbed_id: z.ZodNumber;
5
+ buyer_id: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ id: number;
8
+ cbed_id: number;
9
+ buyer_id: number;
10
+ }, {
11
+ id: number;
12
+ cbed_id: number;
13
+ buyer_id: number;
14
+ }>;
15
+ export type ModelBuyerCbed = z.infer<typeof BuyerCbedSchema>;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BuyerCbedSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.BuyerCbedSchema = zod_1.z.object({
6
+ id: zod_1.z.number().int(),
7
+ cbed_id: zod_1.z.number().int(),
8
+ buyer_id: zod_1.z.number().int()
9
+ });