@floristcloud/api-lib 1.0.0

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 (1688) hide show
  1. package/build/commands/action-log/create-action-log.command.d.ts +1439 -0
  2. package/build/commands/action-log/create-action-log.command.js +15 -0
  3. package/build/commands/action-log/get-action-log-list-for-client.query.d.ts +1888 -0
  4. package/build/commands/action-log/get-action-log-list-for-client.query.js +34 -0
  5. package/build/commands/action-log/get-action-log-list.query.d.ts +1893 -0
  6. package/build/commands/action-log/get-action-log-list.query.js +35 -0
  7. package/build/commands/action-log/index.d.ts +3 -0
  8. package/build/commands/action-log/index.js +19 -0
  9. package/build/commands/auth/index.d.ts +7 -0
  10. package/build/commands/auth/index.js +23 -0
  11. package/build/commands/auth/login-user.command.d.ts +51 -0
  12. package/build/commands/auth/login-user.command.js +23 -0
  13. package/build/commands/auth/register-user.command.d.ts +41 -0
  14. package/build/commands/auth/register-user.command.js +21 -0
  15. package/build/commands/auth/reset-password-by-admin.command.d.ts +19 -0
  16. package/build/commands/auth/reset-password-by-admin.command.js +15 -0
  17. package/build/commands/auth/reset-password-by-security-code.command.d.ts +77 -0
  18. package/build/commands/auth/reset-password-by-security-code.command.js +21 -0
  19. package/build/commands/auth/reset-password-by-token.command.d.ts +97 -0
  20. package/build/commands/auth/reset-password-by-token.command.js +26 -0
  21. package/build/commands/auth/reset-password-by-user.command.d.ts +19 -0
  22. package/build/commands/auth/reset-password-by-user.command.js +15 -0
  23. package/build/commands/auth/restore-password-by-security-code.command.d.ts +39 -0
  24. package/build/commands/auth/restore-password-by-security-code.command.js +16 -0
  25. package/build/commands/branch/create-branch.command.d.ts +100 -0
  26. package/build/commands/branch/create-branch.command.js +23 -0
  27. package/build/commands/branch/delete-branch.command.d.ts +32 -0
  28. package/build/commands/branch/delete-branch.command.js +19 -0
  29. package/build/commands/branch/get-branch-list-all-by-client-uuid.query.d.ts +115 -0
  30. package/build/commands/branch/get-branch-list-all-by-client-uuid.query.js +15 -0
  31. package/build/commands/branch/get-branch-list.query.d.ts +124 -0
  32. package/build/commands/branch/get-branch-list.query.js +18 -0
  33. package/build/commands/branch/get-branch.query.d.ts +76 -0
  34. package/build/commands/branch/get-branch.query.js +15 -0
  35. package/build/commands/branch/index.d.ts +6 -0
  36. package/build/commands/branch/index.js +22 -0
  37. package/build/commands/branch/update-branch.command.d.ts +100 -0
  38. package/build/commands/branch/update-branch.command.js +23 -0
  39. package/build/commands/category/create-category.command.d.ts +84 -0
  40. package/build/commands/category/create-category.command.js +21 -0
  41. package/build/commands/category/delete-category.command.d.ts +32 -0
  42. package/build/commands/category/delete-category.command.js +19 -0
  43. package/build/commands/category/get-category-by-uuid.query.d.ts +126 -0
  44. package/build/commands/category/get-category-by-uuid.query.js +17 -0
  45. package/build/commands/category/get-category-list.query.d.ts +194 -0
  46. package/build/commands/category/get-category-list.query.js +30 -0
  47. package/build/commands/category/index.d.ts +5 -0
  48. package/build/commands/category/index.js +22 -0
  49. package/build/commands/category/update-category-command.d.ts +88 -0
  50. package/build/commands/category/update-category-command.js +23 -0
  51. package/build/commands/category/webshop/get-category-list-for-client.query.d.ts +118 -0
  52. package/build/commands/category/webshop/get-category-list-for-client.query.js +13 -0
  53. package/build/commands/category-alias/create-category-alias.command.d.ts +62 -0
  54. package/build/commands/category-alias/create-category-alias.command.js +17 -0
  55. package/build/commands/category-alias/delete-category-alias.command.d.ts +32 -0
  56. package/build/commands/category-alias/delete-category-alias.command.js +19 -0
  57. package/build/commands/category-alias/get-category-alias-by-uuid.query.d.ts +62 -0
  58. package/build/commands/category-alias/get-category-alias-by-uuid.query.js +17 -0
  59. package/build/commands/category-alias/get-category-alias-list-by-category-uuid.query.d.ts +58 -0
  60. package/build/commands/category-alias/get-category-alias-list-by-category-uuid.query.js +21 -0
  61. package/build/commands/category-alias/get-category-alias-list.query.d.ts +64 -0
  62. package/build/commands/category-alias/get-category-alias-list.query.js +23 -0
  63. package/build/commands/category-alias/index.d.ts +1 -0
  64. package/build/commands/category-alias/index.js +17 -0
  65. package/build/commands/category-alias/update-category-alias.command.d.ts +65 -0
  66. package/build/commands/category-alias/update-category-alias.command.js +18 -0
  67. package/build/commands/category-template/create-category-template.command.d.ts +116 -0
  68. package/build/commands/category-template/create-category-template.command.js +20 -0
  69. package/build/commands/category-template/get-category-template-by-uuid.query.d.ts +80 -0
  70. package/build/commands/category-template/get-category-template-by-uuid.query.js +13 -0
  71. package/build/commands/category-template/get-category-template-list.query.d.ts +80 -0
  72. package/build/commands/category-template/get-category-template-list.query.js +13 -0
  73. package/build/commands/category-template/index.d.ts +4 -0
  74. package/build/commands/category-template/index.js +20 -0
  75. package/build/commands/category-template/update-category-template.command.d.ts +116 -0
  76. package/build/commands/category-template/update-category-template.command.js +20 -0
  77. package/build/commands/client/attach-user-to-client.command.d.ts +152 -0
  78. package/build/commands/client/attach-user-to-client.command.js +17 -0
  79. package/build/commands/client/create-client.command.d.ts +202 -0
  80. package/build/commands/client/create-client.command.js +35 -0
  81. package/build/commands/client/delete-client.command.d.ts +32 -0
  82. package/build/commands/client/delete-client.command.js +19 -0
  83. package/build/commands/client/detach-user-from-client.command.d.ts +146 -0
  84. package/build/commands/client/detach-user-from-client.command.js +15 -0
  85. package/build/commands/client/get-client-calculate.query.d.ts +39 -0
  86. package/build/commands/client/get-client-calculate.query.js +17 -0
  87. package/build/commands/client/get-client-filters-values.query.d.ts +31 -0
  88. package/build/commands/client/get-client-filters-values.query.js +17 -0
  89. package/build/commands/client/get-client-list.query.d.ts +1257 -0
  90. package/build/commands/client/get-client-list.query.js +27 -0
  91. package/build/commands/client/get-client.query.d.ts +938 -0
  92. package/build/commands/client/get-client.query.js +15 -0
  93. package/build/commands/client/import-client.command.d.ts +75 -0
  94. package/build/commands/client/import-client.command.js +22 -0
  95. package/build/commands/client/index.d.ts +17 -0
  96. package/build/commands/client/index.js +35 -0
  97. package/build/commands/client/marking/create-client-marking.command.d.ts +37 -0
  98. package/build/commands/client/marking/create-client-marking.command.js +17 -0
  99. package/build/commands/client/marking/delete-client-marking.command.d.ts +31 -0
  100. package/build/commands/client/marking/delete-client-marking.command.js +15 -0
  101. package/build/commands/client/marking/get-client-marking-by-client-list.command.d.ts +22 -0
  102. package/build/commands/client/marking/get-client-marking-by-client-list.command.js +16 -0
  103. package/build/commands/client/marking/update-client-marking.command.d.ts +37 -0
  104. package/build/commands/client/marking/update-client-marking.command.js +17 -0
  105. package/build/commands/client/profile/create-client-individual-profile.command.d.ts +71 -0
  106. package/build/commands/client/profile/create-client-individual-profile.command.js +20 -0
  107. package/build/commands/client/profile/create-client-legal-profile.command.d.ts +162 -0
  108. package/build/commands/client/profile/create-client-legal-profile.command.js +19 -0
  109. package/build/commands/client/profile/delete-client-individual-profile.command.d.ts +26 -0
  110. package/build/commands/client/profile/delete-client-individual-profile.command.js +17 -0
  111. package/build/commands/client/profile/delete-client-legal-profile.command.d.ts +26 -0
  112. package/build/commands/client/profile/delete-client-legal-profile.command.js +17 -0
  113. package/build/commands/client/profile/get-client-individual-profile.query.d.ts +62 -0
  114. package/build/commands/client/profile/get-client-individual-profile.query.js +17 -0
  115. package/build/commands/client/profile/index.d.ts +7 -0
  116. package/build/commands/client/profile/index.js +23 -0
  117. package/build/commands/client/profile/update-client-individual-profile.command.d.ts +71 -0
  118. package/build/commands/client/profile/update-client-individual-profile.command.js +20 -0
  119. package/build/commands/client/profile/update-client-legal-profile.command.d.ts +162 -0
  120. package/build/commands/client/profile/update-client-legal-profile.command.js +19 -0
  121. package/build/commands/client/set-balance-calculate-client.command.d.ts +144 -0
  122. package/build/commands/client/set-balance-calculate-client.command.js +13 -0
  123. package/build/commands/client/update-client.command.d.ts +208 -0
  124. package/build/commands/client/update-client.command.js +37 -0
  125. package/build/commands/client/webshop/register-client-webshop.command.d.ts +168 -0
  126. package/build/commands/client/webshop/register-client-webshop.command.js +23 -0
  127. package/build/commands/client/webshop/update-client-for-client.command.d.ts +164 -0
  128. package/build/commands/client/webshop/update-client-for-client.command.js +21 -0
  129. package/build/commands/company/createCompany.command.d.ts +341 -0
  130. package/build/commands/company/createCompany.command.js +20 -0
  131. package/build/commands/company/createCompanyWithUser.command.d.ts +105 -0
  132. package/build/commands/company/createCompanyWithUser.command.js +27 -0
  133. package/build/commands/company/deleteCompany.command.d.ts +32 -0
  134. package/build/commands/company/deleteCompany.command.js +19 -0
  135. package/build/commands/company/getCompany.query.d.ts +62 -0
  136. package/build/commands/company/getCompany.query.js +17 -0
  137. package/build/commands/company/getCompanyList.query.d.ts +96 -0
  138. package/build/commands/company/getCompanyList.query.js +18 -0
  139. package/build/commands/company/index.d.ts +6 -0
  140. package/build/commands/company/index.js +22 -0
  141. package/build/commands/company/updateCompany.command.d.ts +62 -0
  142. package/build/commands/company/updateCompany.command.js +17 -0
  143. package/build/commands/consignment/create-consignment.command.d.ts +119 -0
  144. package/build/commands/consignment/create-consignment.command.js +25 -0
  145. package/build/commands/consignment/delete-consignment.command.d.ts +32 -0
  146. package/build/commands/consignment/delete-consignment.command.js +18 -0
  147. package/build/commands/consignment/export-consignment.command.d.ts +32 -0
  148. package/build/commands/consignment/export-consignment.command.js +18 -0
  149. package/build/commands/consignment/get-access-clients-consignment.query.d.ts +144 -0
  150. package/build/commands/consignment/get-access-clients-consignment.query.js +13 -0
  151. package/build/commands/consignment/get-client-uuids-consignment.query.d.ts +24 -0
  152. package/build/commands/consignment/get-client-uuids-consignment.query.js +14 -0
  153. package/build/commands/consignment/get-consignment-filters-values.query.d.ts +26 -0
  154. package/build/commands/consignment/get-consignment-filters-values.query.js +16 -0
  155. package/build/commands/consignment/get-consignment-list.query.d.ts +242 -0
  156. package/build/commands/consignment/get-consignment-list.query.js +42 -0
  157. package/build/commands/consignment/get-consignment.query.d.ts +159 -0
  158. package/build/commands/consignment/get-consignment.query.js +15 -0
  159. package/build/commands/consignment/import-consignment.command.d.ts +159 -0
  160. package/build/commands/consignment/import-consignment.command.js +38 -0
  161. package/build/commands/consignment/import-packing-consignment.command.d.ts +123 -0
  162. package/build/commands/consignment/import-packing-consignment.command.js +26 -0
  163. package/build/commands/consignment/index.d.ts +13 -0
  164. package/build/commands/consignment/index.js +29 -0
  165. package/build/commands/consignment/update-consignment.command.d.ts +119 -0
  166. package/build/commands/consignment/update-consignment.command.js +25 -0
  167. package/build/commands/consignment/upsert-access-clients-consignment.command.d.ts +300 -0
  168. package/build/commands/consignment/upsert-access-clients-consignment.command.js +23 -0
  169. package/build/commands/consignment/validate-consignment-distribution.query.d.ts +1997 -0
  170. package/build/commands/consignment/validate-consignment-distribution.query.js +15 -0
  171. package/build/commands/consignment-import-schema/create-consignment-import-scheme.command.d.ts +60 -0
  172. package/build/commands/consignment-import-schema/create-consignment-import-scheme.command.js +17 -0
  173. package/build/commands/consignment-import-schema/get-all-consignment-import-schema.query.d.ts +88 -0
  174. package/build/commands/consignment-import-schema/get-all-consignment-import-schema.query.js +15 -0
  175. package/build/commands/consignment-import-schema/get-cosignment-import-schema.query.d.ts +88 -0
  176. package/build/commands/consignment-import-schema/get-cosignment-import-schema.query.js +15 -0
  177. package/build/commands/consignment-import-schema/index.d.ts +2 -0
  178. package/build/commands/consignment-import-schema/index.js +18 -0
  179. package/build/commands/consignment-import-schema/update-consignment-import-schema.command.d.ts +47 -0
  180. package/build/commands/consignment-import-schema/update-consignment-import-schema.command.js +14 -0
  181. package/build/commands/delivery-route/attach-order-list-to-delivery-route.command.d.ts +32 -0
  182. package/build/commands/delivery-route/attach-order-list-to-delivery-route.command.js +16 -0
  183. package/build/commands/delivery-route/create-delivery-route.command.d.ts +84 -0
  184. package/build/commands/delivery-route/create-delivery-route.command.js +14 -0
  185. package/build/commands/delivery-route/delete-delivery-route.command.d.ts +24 -0
  186. package/build/commands/delivery-route/delete-delivery-route.command.js +14 -0
  187. package/build/commands/delivery-route/detach-order-list-to-delivery-route.command.d.ts +32 -0
  188. package/build/commands/delivery-route/detach-order-list-to-delivery-route.command.js +16 -0
  189. package/build/commands/delivery-route/get-delivery-route-list.query.d.ts +280 -0
  190. package/build/commands/delivery-route/get-delivery-route-list.query.js +25 -0
  191. package/build/commands/delivery-route/get-delivery-route.query.d.ts +190 -0
  192. package/build/commands/delivery-route/get-delivery-route.query.js +15 -0
  193. package/build/commands/delivery-route/index.d.ts +7 -0
  194. package/build/commands/delivery-route/index.js +23 -0
  195. package/build/commands/delivery-route/update-delivery-route.command.d.ts +87 -0
  196. package/build/commands/delivery-route/update-delivery-route.command.js +14 -0
  197. package/build/commands/discount-rules/create-discount-rules.command.d.ts +649 -0
  198. package/build/commands/discount-rules/create-discount-rules.command.js +17 -0
  199. package/build/commands/discount-rules/delete-discount-rules.command.d.ts +24 -0
  200. package/build/commands/discount-rules/delete-discount-rules.command.js +13 -0
  201. package/build/commands/discount-rules/get-discount-rules-all.query.d.ts +286 -0
  202. package/build/commands/discount-rules/get-discount-rules-all.query.js +20 -0
  203. package/build/commands/discount-rules/get-discount-rules-extended.query.d.ts +1213 -0
  204. package/build/commands/discount-rules/get-discount-rules-extended.query.js +13 -0
  205. package/build/commands/discount-rules/get-discount-rules-list.query.d.ts +391 -0
  206. package/build/commands/discount-rules/get-discount-rules-list.query.js +18 -0
  207. package/build/commands/discount-rules/get-discount-rules.query.d.ts +347 -0
  208. package/build/commands/discount-rules/get-discount-rules.query.js +13 -0
  209. package/build/commands/discount-rules/index.d.ts +9 -0
  210. package/build/commands/discount-rules/index.js +25 -0
  211. package/build/commands/discount-rules/split-quantity-discount-rules-for-client.query.d.ts +71 -0
  212. package/build/commands/discount-rules/split-quantity-discount-rules-for-client.query.js +15 -0
  213. package/build/commands/discount-rules/split-quantity-discount-rules.query.d.ts +73 -0
  214. package/build/commands/discount-rules/split-quantity-discount-rules.query.js +15 -0
  215. package/build/commands/discount-rules/update-discount-rules.command.d.ts +662 -0
  216. package/build/commands/discount-rules/update-discount-rules.command.js +17 -0
  217. package/build/commands/distribution/create-distribution.command.d.ts +72 -0
  218. package/build/commands/distribution/create-distribution.command.js +15 -0
  219. package/build/commands/distribution/index.d.ts +3 -0
  220. package/build/commands/distribution/index.js +19 -0
  221. package/build/commands/distribution/update-is-packed-distribution.command.d.ts +72 -0
  222. package/build/commands/distribution/update-is-packed-distribution.command.js +17 -0
  223. package/build/commands/distribution/validate-distribution-by-product.query.d.ts +36 -0
  224. package/build/commands/distribution/validate-distribution-by-product.query.js +15 -0
  225. package/build/commands/domain/create-domain.command.d.ts +60 -0
  226. package/build/commands/domain/create-domain.command.js +14 -0
  227. package/build/commands/domain/delete-domain.command.d.ts +24 -0
  228. package/build/commands/domain/delete-domain.command.js +13 -0
  229. package/build/commands/domain/get-domain-by-uuid.query.d.ts +49 -0
  230. package/build/commands/domain/get-domain-by-uuid.query.js +13 -0
  231. package/build/commands/domain/get-domain-list.query.d.ts +89 -0
  232. package/build/commands/domain/get-domain-list.query.js +18 -0
  233. package/build/commands/domain/index.d.ts +5 -0
  234. package/build/commands/domain/index.js +21 -0
  235. package/build/commands/domain/update-domain.command.d.ts +57 -0
  236. package/build/commands/domain/update-domain.command.js +14 -0
  237. package/build/commands/employee-schedule/create-employee-schedule.command.d.ts +92 -0
  238. package/build/commands/employee-schedule/create-employee-schedule.command.js +14 -0
  239. package/build/commands/employee-schedule/delete-employee-schedule.command.d.ts +24 -0
  240. package/build/commands/employee-schedule/delete-employee-schedule.command.js +13 -0
  241. package/build/commands/employee-schedule/get-employee-schedule-extended-list.query.d.ts +237 -0
  242. package/build/commands/employee-schedule/get-employee-schedule-extended-list.query.js +19 -0
  243. package/build/commands/employee-schedule/get-employee-schedule-list.query.d.ts +133 -0
  244. package/build/commands/employee-schedule/get-employee-schedule-list.query.js +38 -0
  245. package/build/commands/employee-schedule/index.d.ts +5 -0
  246. package/build/commands/employee-schedule/index.js +21 -0
  247. package/build/commands/employee-schedule/update-employee-schedule.command.d.ts +92 -0
  248. package/build/commands/employee-schedule/update-employee-schedule.command.js +14 -0
  249. package/build/commands/file/deleteFile.command.d.ts +32 -0
  250. package/build/commands/file/deleteFile.command.js +17 -0
  251. package/build/commands/file/index.d.ts +2 -0
  252. package/build/commands/file/index.js +18 -0
  253. package/build/commands/file/uploadFile.command.d.ts +11 -0
  254. package/build/commands/file/uploadFile.command.js +8 -0
  255. package/build/commands/index.d.ts +44 -0
  256. package/build/commands/index.js +60 -0
  257. package/build/commands/message/get-clients-messages-context-with-unread.query.d.ts +116 -0
  258. package/build/commands/message/get-clients-messages-context-with-unread.query.js +23 -0
  259. package/build/commands/message/get-context-unread-count.query.d.ts +39 -0
  260. package/build/commands/message/get-context-unread-count.query.js +21 -0
  261. package/build/commands/message/get-contexts-with-unread.query.d.ts +134 -0
  262. package/build/commands/message/get-contexts-with-unread.query.js +22 -0
  263. package/build/commands/message/index.d.ts +6 -0
  264. package/build/commands/message/index.js +22 -0
  265. package/build/commands/message/list-context-messages.query.d.ts +152 -0
  266. package/build/commands/message/list-context-messages.query.js +23 -0
  267. package/build/commands/message/mark-context-read.command.d.ts +39 -0
  268. package/build/commands/message/mark-context-read.command.js +21 -0
  269. package/build/commands/message/send-context-message.command.d.ts +95 -0
  270. package/build/commands/message/send-context-message.command.js +22 -0
  271. package/build/commands/money-account/create-money-account.command.d.ts +76 -0
  272. package/build/commands/money-account/create-money-account.command.js +18 -0
  273. package/build/commands/money-account/delete-money-account.command.d.ts +24 -0
  274. package/build/commands/money-account/delete-money-account.command.js +14 -0
  275. package/build/commands/money-account/get-money-account-by-criteria.query.d.ts +61 -0
  276. package/build/commands/money-account/get-money-account-by-criteria.query.js +15 -0
  277. package/build/commands/money-account/get-money-account-list.query.d.ts +103 -0
  278. package/build/commands/money-account/get-money-account-list.query.js +21 -0
  279. package/build/commands/money-account/get-money-account.query.d.ts +59 -0
  280. package/build/commands/money-account/get-money-account.query.js +13 -0
  281. package/build/commands/money-account/index.d.ts +6 -0
  282. package/build/commands/money-account/index.js +22 -0
  283. package/build/commands/money-account/update-money-account.command.d.ts +78 -0
  284. package/build/commands/money-account/update-money-account.command.js +19 -0
  285. package/build/commands/order/apply-order-discount.command.d.ts +32 -0
  286. package/build/commands/order/apply-order-discount.command.js +18 -0
  287. package/build/commands/order/copy-order.command.d.ts +159 -0
  288. package/build/commands/order/copy-order.command.js +13 -0
  289. package/build/commands/order/create-order.command.d.ts +228 -0
  290. package/build/commands/order/create-order.command.js +26 -0
  291. package/build/commands/order/delete-order.command.d.ts +24 -0
  292. package/build/commands/order/delete-order.command.js +14 -0
  293. package/build/commands/order/export-order-invoice.command.d.ts +14 -0
  294. package/build/commands/order/export-order-invoice.command.js +12 -0
  295. package/build/commands/order/get-order-list.query.d.ts +864 -0
  296. package/build/commands/order/get-order-list.query.js +49 -0
  297. package/build/commands/order/get-order.query.d.ts +578 -0
  298. package/build/commands/order/get-order.query.js +15 -0
  299. package/build/commands/order/group/deletet-group-order.command.d.ts +32 -0
  300. package/build/commands/order/group/deletet-group-order.command.js +18 -0
  301. package/build/commands/order/group/split-group-order.command.d.ts +167 -0
  302. package/build/commands/order/group/split-group-order.command.js +17 -0
  303. package/build/commands/order/group/update-group-order-status.command.d.ts +36 -0
  304. package/build/commands/order/group/update-group-order-status.command.js +20 -0
  305. package/build/commands/order/group/update-group-order-tag.command.d.ts +35 -0
  306. package/build/commands/order/group/update-group-order-tag.command.js +19 -0
  307. package/build/commands/order/group/update-group-order-type.command.d.ts +36 -0
  308. package/build/commands/order/group/update-group-order-type.command.js +20 -0
  309. package/build/commands/order/index.d.ts +20 -0
  310. package/build/commands/order/index.js +38 -0
  311. package/build/commands/order/send-order-invoice.command.d.ts +33 -0
  312. package/build/commands/order/send-order-invoice.command.js +19 -0
  313. package/build/commands/order/update-order.command.d.ts +198 -0
  314. package/build/commands/order/update-order.command.js +28 -0
  315. package/build/commands/order/webshop/create-cart.command.d.ts +153 -0
  316. package/build/commands/order/webshop/create-cart.command.js +15 -0
  317. package/build/commands/order/webshop/get-order-for-client.query.d.ts +498 -0
  318. package/build/commands/order/webshop/get-order-for-client.query.js +15 -0
  319. package/build/commands/order/webshop/get-order-list-for-client.query.d.ts +705 -0
  320. package/build/commands/order/webshop/get-order-list-for-client.query.js +53 -0
  321. package/build/commands/order/webshop/get-order-sales-by-month.query.d.ts +22 -0
  322. package/build/commands/order/webshop/get-order-sales-by-month.query.js +16 -0
  323. package/build/commands/order/webshop/update-cart.command.d.ts +185 -0
  324. package/build/commands/order/webshop/update-cart.command.js +27 -0
  325. package/build/commands/order/zeroing-receipt-delivery-order.command.d.ts +24 -0
  326. package/build/commands/order/zeroing-receipt-delivery-order.command.js +13 -0
  327. package/build/commands/order-delivery/create-order-delivery.command.d.ts +74 -0
  328. package/build/commands/order-delivery/create-order-delivery.command.js +21 -0
  329. package/build/commands/order-delivery/delete-order-delivery.command.d.ts +26 -0
  330. package/build/commands/order-delivery/delete-order-delivery.command.js +16 -0
  331. package/build/commands/order-delivery/index.d.ts +3 -0
  332. package/build/commands/order-delivery/index.js +19 -0
  333. package/build/commands/order-delivery/update-order-delivery.command.d.ts +78 -0
  334. package/build/commands/order-delivery/update-order-delivery.command.js +25 -0
  335. package/build/commands/order-product/create-order-product.command.d.ts +347 -0
  336. package/build/commands/order-product/create-order-product.command.js +22 -0
  337. package/build/commands/order-product/delete-order-product.command.d.ts +26 -0
  338. package/build/commands/order-product/delete-order-product.command.js +16 -0
  339. package/build/commands/order-product/get-order-product-list-all.query.d.ts +1378 -0
  340. package/build/commands/order-product/get-order-product-list-all.query.js +15 -0
  341. package/build/commands/order-product/get-order-product-list-for-distribute.query.d.ts +1162 -0
  342. package/build/commands/order-product/get-order-product-list-for-distribute.query.js +18 -0
  343. package/build/commands/order-product/get-order-product-list.query.d.ts +1390 -0
  344. package/build/commands/order-product/get-order-product-list.query.js +19 -0
  345. package/build/commands/order-product/get-order-product.query.d.ts +1077 -0
  346. package/build/commands/order-product/get-order-product.query.js +15 -0
  347. package/build/commands/order-product/group/delete-group-order-product.command.d.ts +32 -0
  348. package/build/commands/order-product/group/delete-group-order-product.command.js +18 -0
  349. package/build/commands/order-product/group/update-group-order-product-order.command.d.ts +56 -0
  350. package/build/commands/order-product/group/update-group-order-product-order.command.js +24 -0
  351. package/build/commands/order-product/group/update-group-order-product-tag.command.d.ts +35 -0
  352. package/build/commands/order-product/group/update-group-order-product-tag.command.js +19 -0
  353. package/build/commands/order-product/group/verify-group-order-product.command.d.ts +35 -0
  354. package/build/commands/order-product/group/verify-group-order-product.command.js +19 -0
  355. package/build/commands/order-product/group/zeroing-receipt-order-product.command.d.ts +32 -0
  356. package/build/commands/order-product/group/zeroing-receipt-order-product.command.js +17 -0
  357. package/build/commands/order-product/index.d.ts +15 -0
  358. package/build/commands/order-product/index.js +33 -0
  359. package/build/commands/order-product/update-order-product.command.d.ts +350 -0
  360. package/build/commands/order-product/update-order-product.command.js +23 -0
  361. package/build/commands/order-product/verify-order-product.command.d.ts +326 -0
  362. package/build/commands/order-product/verify-order-product.command.js +15 -0
  363. package/build/commands/order-product/webshop/create-order-product-for-client.command.d.ts +323 -0
  364. package/build/commands/order-product/webshop/create-order-product-for-client.command.js +18 -0
  365. package/build/commands/order-product/webshop/get-order-product-for-client-list.query.d.ts +670 -0
  366. package/build/commands/order-product/webshop/get-order-product-for-client-list.query.js +15 -0
  367. package/build/commands/order-product/webshop/update-order-product-for-client.command.d.ts +326 -0
  368. package/build/commands/order-product/webshop/update-order-product-for-client.command.js +19 -0
  369. package/build/commands/package/create-package.command.d.ts +96 -0
  370. package/build/commands/package/create-package.command.js +14 -0
  371. package/build/commands/package/delete-package.command.d.ts +26 -0
  372. package/build/commands/package/delete-package.command.js +16 -0
  373. package/build/commands/package/get-package-by-uuid.query.d.ts +71 -0
  374. package/build/commands/package/get-package-by-uuid.query.js +12 -0
  375. package/build/commands/package/get-package-filters-values.query.d.ts +99 -0
  376. package/build/commands/package/get-package-filters-values.query.js +27 -0
  377. package/build/commands/package/get-package-list.query.d.ts +753 -0
  378. package/build/commands/package/get-package-list.query.js +21 -0
  379. package/build/commands/package/index.d.ts +7 -0
  380. package/build/commands/package/index.js +23 -0
  381. package/build/commands/package/reorder-packages.command.d.ts +47 -0
  382. package/build/commands/package/reorder-packages.command.js +21 -0
  383. package/build/commands/package/update-package.command.d.ts +91 -0
  384. package/build/commands/package/update-package.command.js +14 -0
  385. package/build/commands/package/validate-product-package.query.d.ts +36 -0
  386. package/build/commands/package/validate-product-package.query.js +15 -0
  387. package/build/commands/pre-order/create-order-from-pre-order.command.d.ts +240 -0
  388. package/build/commands/pre-order/create-order-from-pre-order.command.js +20 -0
  389. package/build/commands/pre-order/create-pre-order.command.d.ts +79 -0
  390. package/build/commands/pre-order/create-pre-order.command.js +14 -0
  391. package/build/commands/pre-order/delete-pre-order.command.d.ts +24 -0
  392. package/build/commands/pre-order/delete-pre-order.command.js +13 -0
  393. package/build/commands/pre-order/get-pre-order-by-pre-order-collection-uuid.command.d.ts +56 -0
  394. package/build/commands/pre-order/get-pre-order-by-pre-order-collection-uuid.command.js +12 -0
  395. package/build/commands/pre-order/get-pre-order-list.query.d.ts +587 -0
  396. package/build/commands/pre-order/get-pre-order-list.query.js +25 -0
  397. package/build/commands/pre-order/get-pre-order.query.d.ts +415 -0
  398. package/build/commands/pre-order/get-pre-order.query.js +12 -0
  399. package/build/commands/pre-order/get-standing-order-import-template.command.d.ts +21 -0
  400. package/build/commands/pre-order/get-standing-order-import-template.command.js +13 -0
  401. package/build/commands/pre-order/group/analyze-copy-pre-orders.command.d.ts +4582 -0
  402. package/build/commands/pre-order/group/analyze-copy-pre-orders.command.js +23 -0
  403. package/build/commands/pre-order/group/analyze-create-orders-from-pre-orders.command.d.ts +3665 -0
  404. package/build/commands/pre-order/group/analyze-create-orders-from-pre-orders.command.js +41 -0
  405. package/build/commands/pre-order/group/analyze-create-pre-orders-from-standing-orders.command.d.ts +2784 -0
  406. package/build/commands/pre-order/group/analyze-create-pre-orders-from-standing-orders.command.js +38 -0
  407. package/build/commands/pre-order/group/group-copy-pre-orders-to-collection.command.d.ts +221 -0
  408. package/build/commands/pre-order/group/group-copy-pre-orders-to-collection.command.js +40 -0
  409. package/build/commands/pre-order/group/group-create-orders-from-pre-orders.command.d.ts +415 -0
  410. package/build/commands/pre-order/group/group-create-orders-from-pre-orders.command.js +38 -0
  411. package/build/commands/pre-order/group/group-create-pre-orders-from-standing-orders.command.d.ts +230 -0
  412. package/build/commands/pre-order/group/group-create-pre-orders-from-standing-orders.command.js +36 -0
  413. package/build/commands/pre-order/group/group-delete-pre-order.command.d.ts +32 -0
  414. package/build/commands/pre-order/group/group-delete-pre-order.command.js +18 -0
  415. package/build/commands/pre-order/group/group-update-pre-order.command.d.ts +65 -0
  416. package/build/commands/pre-order/group/group-update-pre-order.command.js +20 -0
  417. package/build/commands/pre-order/group/index.d.ts +9 -0
  418. package/build/commands/pre-order/group/index.js +25 -0
  419. package/build/commands/pre-order/import-standing-order.command.d.ts +132 -0
  420. package/build/commands/pre-order/import-standing-order.command.js +24 -0
  421. package/build/commands/pre-order/index.d.ts +12 -0
  422. package/build/commands/pre-order/index.js +28 -0
  423. package/build/commands/pre-order/update-pre-order.command.d.ts +79 -0
  424. package/build/commands/pre-order/update-pre-order.command.js +14 -0
  425. package/build/commands/pre-order/webshop/checkout-pre-order-webshop.command.d.ts +61 -0
  426. package/build/commands/pre-order/webshop/checkout-pre-order-webshop.command.js +15 -0
  427. package/build/commands/pre-order/webshop/create-pre-order-webshop.command.d.ts +73 -0
  428. package/build/commands/pre-order/webshop/create-pre-order-webshop.command.js +14 -0
  429. package/build/commands/pre-order/webshop/delete-pre-order-webshop.command.d.ts +24 -0
  430. package/build/commands/pre-order/webshop/delete-pre-order-webshop.command.js +13 -0
  431. package/build/commands/pre-order/webshop/get-pre-order-list-webshop.command.d.ts +569 -0
  432. package/build/commands/pre-order/webshop/get-pre-order-list-webshop.command.js +19 -0
  433. package/build/commands/pre-order/webshop/index.d.ts +5 -0
  434. package/build/commands/pre-order/webshop/index.js +21 -0
  435. package/build/commands/pre-order/webshop/update-pre-order-webshop.command.d.ts +70 -0
  436. package/build/commands/pre-order/webshop/update-pre-order-webshop.command.js +14 -0
  437. package/build/commands/pre-order-collection/copy-pre-order-collection.command.d.ts +59 -0
  438. package/build/commands/pre-order-collection/copy-pre-order-collection.command.js +13 -0
  439. package/build/commands/pre-order-collection/create-pre-order-collection.command.d.ts +85 -0
  440. package/build/commands/pre-order-collection/create-pre-order-collection.command.js +14 -0
  441. package/build/commands/pre-order-collection/delete-pre-order-collection.command.d.ts +24 -0
  442. package/build/commands/pre-order-collection/delete-pre-order-collection.command.js +14 -0
  443. package/build/commands/pre-order-collection/get-pre-order-collection-all.query.d.ts +59 -0
  444. package/build/commands/pre-order-collection/get-pre-order-collection-all.query.js +13 -0
  445. package/build/commands/pre-order-collection/get-pre-order-collection-list.query.d.ts +168 -0
  446. package/build/commands/pre-order-collection/get-pre-order-collection-list.query.js +23 -0
  447. package/build/commands/pre-order-collection/get-pre-order-collection.query.d.ts +99 -0
  448. package/build/commands/pre-order-collection/get-pre-order-collection.query.js +13 -0
  449. package/build/commands/pre-order-collection/index.d.ts +8 -0
  450. package/build/commands/pre-order-collection/index.js +24 -0
  451. package/build/commands/pre-order-collection/match-images-for-collection.command.d.ts +40 -0
  452. package/build/commands/pre-order-collection/match-images-for-collection.command.js +20 -0
  453. package/build/commands/pre-order-collection/update-pre-order-collection.command.d.ts +85 -0
  454. package/build/commands/pre-order-collection/update-pre-order-collection.command.js +14 -0
  455. package/build/commands/pre-order-collection/webshop/get-pre-order-collection-list-with-categories.query.d.ts +85 -0
  456. package/build/commands/pre-order-collection/webshop/get-pre-order-collection-list-with-categories.query.js +13 -0
  457. package/build/commands/pre-order-collection-item/create-group-pre-order-collection-item.command.d.ts +101 -0
  458. package/build/commands/pre-order-collection-item/create-group-pre-order-collection-item.command.js +16 -0
  459. package/build/commands/pre-order-collection-item/create-pre-order-collection-item.command.d.ts +236 -0
  460. package/build/commands/pre-order-collection-item/create-pre-order-collection-item.command.js +14 -0
  461. package/build/commands/pre-order-collection-item/delete-group-pre-order-collection-item.command.d.ts +37 -0
  462. package/build/commands/pre-order-collection-item/delete-group-pre-order-collection-item.command.js +19 -0
  463. package/build/commands/pre-order-collection-item/delete-pre-order-collection-item.command.d.ts +24 -0
  464. package/build/commands/pre-order-collection-item/delete-pre-order-collection-item.command.js +14 -0
  465. package/build/commands/pre-order-collection-item/execute-pre-order-collection-item-update.command.d.ts +226 -0
  466. package/build/commands/pre-order-collection-item/execute-pre-order-collection-item-update.command.js +50 -0
  467. package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-horizontal.query.d.ts +26 -0
  468. package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-horizontal.query.js +16 -0
  469. package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-vertical.query.d.ts +33 -0
  470. package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-vertical.query.js +19 -0
  471. package/build/commands/pre-order-collection-item/get-active-pre-order-collection-item-list.query.d.ts +693 -0
  472. package/build/commands/pre-order-collection-item/get-active-pre-order-collection-item-list.query.js +19 -0
  473. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-extended-with-clients-pre-order-product-list.query.d.ts +1031 -0
  474. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-extended-with-clients-pre-order-product-list.query.js +22 -0
  475. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values-for-client.query.d.ts +85 -0
  476. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values-for-client.query.js +26 -0
  477. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values.query.d.ts +77 -0
  478. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values.query.js +24 -0
  479. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-for-client.query.d.ts +760 -0
  480. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-for-client.query.js +24 -0
  481. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list.query.d.ts +708 -0
  482. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list.query.js +24 -0
  483. package/build/commands/pre-order-collection-item/get-pre-order-collection-item.query.d.ts +504 -0
  484. package/build/commands/pre-order-collection-item/get-pre-order-collection-item.query.js +13 -0
  485. package/build/commands/pre-order-collection-item/index.d.ts +23 -0
  486. package/build/commands/pre-order-collection-item/index.js +40 -0
  487. package/build/commands/pre-order-collection-item/multiplicity-option/create-pre-order-collection-item-multiplicity-option.command.d.ts +61 -0
  488. package/build/commands/pre-order-collection-item/multiplicity-option/create-pre-order-collection-item-multiplicity-option.command.js +20 -0
  489. package/build/commands/pre-order-collection-item/multiplicity-option/delete-pre-order-collection-item-multiplicity-option.command.d.ts +26 -0
  490. package/build/commands/pre-order-collection-item/multiplicity-option/delete-pre-order-collection-item-multiplicity-option.command.js +14 -0
  491. package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-option-titles.query.d.ts +16 -0
  492. package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-option-titles.query.js +14 -0
  493. package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-options.query.d.ts +68 -0
  494. package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-options.query.js +15 -0
  495. package/build/commands/pre-order-collection-item/multiplicity-option/reorder-pre-order-collection-item-multiplicity-options.command.d.ts +47 -0
  496. package/build/commands/pre-order-collection-item/multiplicity-option/reorder-pre-order-collection-item-multiplicity-options.command.js +21 -0
  497. package/build/commands/pre-order-collection-item/multiplicity-option/update-pre-order-collection-item-multiplicity-option.command.d.ts +61 -0
  498. package/build/commands/pre-order-collection-item/multiplicity-option/update-pre-order-collection-item-multiplicity-option.command.js +22 -0
  499. package/build/commands/pre-order-collection-item/update-group-pre-order-collection-item.command.d.ts +165 -0
  500. package/build/commands/pre-order-collection-item/update-group-pre-order-collection-item.command.js +20 -0
  501. package/build/commands/pre-order-collection-item/update-pre-order-collection-item-product-maching.command.d.ts +32 -0
  502. package/build/commands/pre-order-collection-item/update-pre-order-collection-item-product-maching.command.js +18 -0
  503. package/build/commands/pre-order-collection-item/update-pre-order-collection-item.command.d.ts +239 -0
  504. package/build/commands/pre-order-collection-item/update-pre-order-collection-item.command.js +14 -0
  505. package/build/commands/pre-order-product/create-manually-pre-order-product-for-standing-order.command.d.ts +234 -0
  506. package/build/commands/pre-order-product/create-manually-pre-order-product-for-standing-order.command.js +20 -0
  507. package/build/commands/pre-order-product/create-manually-pre-order-product.command.d.ts +262 -0
  508. package/build/commands/pre-order-product/create-manually-pre-order-product.command.js +23 -0
  509. package/build/commands/pre-order-product/create-pre-order-product-webshop.command.d.ts +214 -0
  510. package/build/commands/pre-order-product/create-pre-order-product-webshop.command.js +14 -0
  511. package/build/commands/pre-order-product/create-pre-order-product.command.d.ts +242 -0
  512. package/build/commands/pre-order-product/create-pre-order-product.command.js +14 -0
  513. package/build/commands/pre-order-product/delete-many-pre-order-product-by-pre-order-collection-item.command.d.ts +24 -0
  514. package/build/commands/pre-order-product/delete-many-pre-order-product-by-pre-order-collection-item.command.js +14 -0
  515. package/build/commands/pre-order-product/delete-pre-order-product-webshop.command.d.ts +24 -0
  516. package/build/commands/pre-order-product/delete-pre-order-product-webshop.command.js +14 -0
  517. package/build/commands/pre-order-product/delete-pre-order-product.command.d.ts +24 -0
  518. package/build/commands/pre-order-product/delete-pre-order-product.command.js +13 -0
  519. package/build/commands/pre-order-product/get-pre-order-product-extended-list.query.d.ts +1155 -0
  520. package/build/commands/pre-order-product/get-pre-order-product-extended-list.query.js +18 -0
  521. package/build/commands/pre-order-product/get-pre-order-product-list.query.d.ts +234 -0
  522. package/build/commands/pre-order-product/get-pre-order-product-list.query.js +18 -0
  523. package/build/commands/pre-order-product/get-pre-order-product.query.d.ts +891 -0
  524. package/build/commands/pre-order-product/get-pre-order-product.query.js +13 -0
  525. package/build/commands/pre-order-product/get-pre-order-products-by-pre-order-list.command.d.ts +899 -0
  526. package/build/commands/pre-order-product/get-pre-order-products-by-pre-order-list.command.js +17 -0
  527. package/build/commands/pre-order-product/get-pre-order-products-by-pre-order.command.d.ts +891 -0
  528. package/build/commands/pre-order-product/get-pre-order-products-by-pre-order.command.js +13 -0
  529. package/build/commands/pre-order-product/index.d.ts +15 -0
  530. package/build/commands/pre-order-product/index.js +31 -0
  531. package/build/commands/pre-order-product/purchase-many-pre-order-product-by-pre-order-collection-item.command.d.ts +39 -0
  532. package/build/commands/pre-order-product/purchase-many-pre-order-product-by-pre-order-collection-item.command.js +18 -0
  533. package/build/commands/pre-order-product/update-pre-order-product-webshop.command.d.ts +179 -0
  534. package/build/commands/pre-order-product/update-pre-order-product-webshop.command.js +14 -0
  535. package/build/commands/pre-order-product/update-pre-order-product.command.d.ts +242 -0
  536. package/build/commands/pre-order-product/update-pre-order-product.command.js +14 -0
  537. package/build/commands/product/create-product.command.d.ts +630 -0
  538. package/build/commands/product/create-product.command.js +40 -0
  539. package/build/commands/product/delete-product.command.d.ts +26 -0
  540. package/build/commands/product/delete-product.command.js +16 -0
  541. package/build/commands/product/generate-product-qr.query.d.ts +89 -0
  542. package/build/commands/product/generate-product-qr.query.js +27 -0
  543. package/build/commands/product/get-all-product-by-consignment.query.d.ts +445 -0
  544. package/build/commands/product/get-all-product-by-consignment.query.js +15 -0
  545. package/build/commands/product/get-product-list-filters-values.query.d.ts +102 -0
  546. package/build/commands/product/get-product-list-filters-values.query.js +38 -0
  547. package/build/commands/product/get-product-list.query.d.ts +784 -0
  548. package/build/commands/product/get-product-list.query.js +26 -0
  549. package/build/commands/product/get-product-quantity-calculate.query.d.ts +57 -0
  550. package/build/commands/product/get-product-quantity-calculate.query.js +25 -0
  551. package/build/commands/product/get-product.query.d.ts +555 -0
  552. package/build/commands/product/get-product.query.js +15 -0
  553. package/build/commands/product/get-products-unique.query.d.ts +614 -0
  554. package/build/commands/product/get-products-unique.query.js +22 -0
  555. package/build/commands/product/group/delete-group-product.command.d.ts +58 -0
  556. package/build/commands/product/group/delete-group-product.command.js +25 -0
  557. package/build/commands/product/group/index.d.ts +7 -0
  558. package/build/commands/product/group/index.js +23 -0
  559. package/build/commands/product/group/update-group-product-category.command.d.ts +35 -0
  560. package/build/commands/product/group/update-group-product-category.command.js +19 -0
  561. package/build/commands/product/group/update-group-product-consignment.command.d.ts +35 -0
  562. package/build/commands/product/group/update-group-product-consignment.command.js +19 -0
  563. package/build/commands/product/group/update-group-product-is-open-by-consignment.command.d.ts +32 -0
  564. package/build/commands/product/group/update-group-product-is-open-by-consignment.command.js +18 -0
  565. package/build/commands/product/group/update-group-product-is-open.command.d.ts +35 -0
  566. package/build/commands/product/group/update-group-product-is-open.command.js +19 -0
  567. package/build/commands/product/group/update-group-product-prices.command.d.ts +52 -0
  568. package/build/commands/product/group/update-group-product-prices.command.js +24 -0
  569. package/build/commands/product/group/update-group-product-update-batch.command.d.ts +141 -0
  570. package/build/commands/product/group/update-group-product-update-batch.command.js +43 -0
  571. package/build/commands/product/index.d.ts +19 -0
  572. package/build/commands/product/index.js +37 -0
  573. package/build/commands/product/multiplicity-option/create-product-multiplicity-option.command.d.ts +61 -0
  574. package/build/commands/product/multiplicity-option/create-product-multiplicity-option.command.js +20 -0
  575. package/build/commands/product/multiplicity-option/delete-product-multiplicity-option.command.d.ts +26 -0
  576. package/build/commands/product/multiplicity-option/delete-product-multiplicity-option.command.js +14 -0
  577. package/build/commands/product/multiplicity-option/get-product-multiplicity-option-titles.query.d.ts +16 -0
  578. package/build/commands/product/multiplicity-option/get-product-multiplicity-option-titles.query.js +14 -0
  579. package/build/commands/product/multiplicity-option/get-product-multiplicity-options.query.d.ts +68 -0
  580. package/build/commands/product/multiplicity-option/get-product-multiplicity-options.query.js +15 -0
  581. package/build/commands/product/multiplicity-option/reorder-product-multiplicity-options.command.d.ts +47 -0
  582. package/build/commands/product/multiplicity-option/reorder-product-multiplicity-options.command.js +21 -0
  583. package/build/commands/product/multiplicity-option/update-product-multiplicity-option.command.d.ts +61 -0
  584. package/build/commands/product/multiplicity-option/update-product-multiplicity-option.command.js +22 -0
  585. package/build/commands/product/update-product.command.d.ts +630 -0
  586. package/build/commands/product/update-product.command.js +40 -0
  587. package/build/commands/product/webshop/get-client-product-list-filters-values.query.d.ts +70 -0
  588. package/build/commands/product/webshop/get-client-product-list-filters-values.query.js +31 -0
  589. package/build/commands/product/webshop/get-product-for-client.query.d.ts +336 -0
  590. package/build/commands/product/webshop/get-product-for-client.query.js +15 -0
  591. package/build/commands/product/webshop/get-product-list-for-client.query.d.ts +484 -0
  592. package/build/commands/product/webshop/get-product-list-for-client.query.js +29 -0
  593. package/build/commands/product-configuration/create-product-configuration.command.d.ts +86 -0
  594. package/build/commands/product-configuration/create-product-configuration.command.js +14 -0
  595. package/build/commands/product-configuration/delete-product-configuration.command.d.ts +26 -0
  596. package/build/commands/product-configuration/delete-product-configuration.command.js +15 -0
  597. package/build/commands/product-configuration/get-product-configuration-list.query.d.ts +119 -0
  598. package/build/commands/product-configuration/get-product-configuration-list.query.js +28 -0
  599. package/build/commands/product-configuration/get-product-configuration.query.d.ts +61 -0
  600. package/build/commands/product-configuration/get-product-configuration.query.js +15 -0
  601. package/build/commands/product-configuration/index.d.ts +5 -0
  602. package/build/commands/product-configuration/index.js +21 -0
  603. package/build/commands/product-configuration/update-product-configuration.command.d.ts +82 -0
  604. package/build/commands/product-configuration/update-product-configuration.command.js +14 -0
  605. package/build/commands/product-image/alias/create-product-image-alias.command.d.ts +37 -0
  606. package/build/commands/product-image/alias/create-product-image-alias.command.js +17 -0
  607. package/build/commands/product-image/alias/delete-product-image-alias.command.d.ts +31 -0
  608. package/build/commands/product-image/alias/delete-product-image-alias.command.js +15 -0
  609. package/build/commands/product-image/alias/update-product-image-alias.command.d.ts +37 -0
  610. package/build/commands/product-image/alias/update-product-image-alias.command.js +17 -0
  611. package/build/commands/product-image/create-product-image.command.d.ts +113 -0
  612. package/build/commands/product-image/create-product-image.command.js +23 -0
  613. package/build/commands/product-image/delete-product-image.command.d.ts +84 -0
  614. package/build/commands/product-image/delete-product-image.command.js +13 -0
  615. package/build/commands/product-image/get-product-image-filter-values.query.d.ts +77 -0
  616. package/build/commands/product-image/get-product-image-filter-values.query.js +24 -0
  617. package/build/commands/product-image/get-product-image-list.query.d.ts +377 -0
  618. package/build/commands/product-image/get-product-image-list.query.js +29 -0
  619. package/build/commands/product-image/get-product-image.query.d.ts +255 -0
  620. package/build/commands/product-image/get-product-image.query.js +13 -0
  621. package/build/commands/product-image/group/delete-group-product-image.command.d.ts +32 -0
  622. package/build/commands/product-image/group/delete-group-product-image.command.js +18 -0
  623. package/build/commands/product-image/group/update-group-product-image.command.d.ts +80 -0
  624. package/build/commands/product-image/group/update-group-product-image.command.js +20 -0
  625. package/build/commands/product-image/index.d.ts +12 -0
  626. package/build/commands/product-image/index.js +28 -0
  627. package/build/commands/product-image/sync-product-image.command.d.ts +24 -0
  628. package/build/commands/product-image/sync-product-image.command.js +14 -0
  629. package/build/commands/product-image/update-product-image.command.d.ts +113 -0
  630. package/build/commands/product-image/update-product-image.command.js +23 -0
  631. package/build/commands/product-image-template/create-product-image-template.command.d.ts +90 -0
  632. package/build/commands/product-image-template/create-product-image-template.command.js +15 -0
  633. package/build/commands/product-image-template/delete-group-product-image-template.command.d.ts +32 -0
  634. package/build/commands/product-image-template/delete-group-product-image-template.command.js +17 -0
  635. package/build/commands/product-image-template/delete-product-image-template.command.d.ts +24 -0
  636. package/build/commands/product-image-template/delete-product-image-template.command.js +13 -0
  637. package/build/commands/product-image-template/get-product-image-template-list.query.d.ts +116 -0
  638. package/build/commands/product-image-template/get-product-image-template-list.query.js +20 -0
  639. package/build/commands/product-image-template/get-product-image-template.query.d.ts +64 -0
  640. package/build/commands/product-image-template/get-product-image-template.query.js +13 -0
  641. package/build/commands/product-image-template/index.d.ts +7 -0
  642. package/build/commands/product-image-template/index.js +23 -0
  643. package/build/commands/product-image-template/start-parsing-product-image-template.command.d.ts +24 -0
  644. package/build/commands/product-image-template/start-parsing-product-image-template.command.js +14 -0
  645. package/build/commands/product-image-template/update-product-image-template.command.d.ts +87 -0
  646. package/build/commands/product-image-template/update-product-image-template.command.js +15 -0
  647. package/build/commands/product-in-package/create-product-in-package.command.d.ts +94 -0
  648. package/build/commands/product-in-package/create-product-in-package.command.js +15 -0
  649. package/build/commands/product-in-package/delete-from-orders-by-package.command.d.ts +26 -0
  650. package/build/commands/product-in-package/delete-from-orders-by-package.command.js +16 -0
  651. package/build/commands/product-in-package/delete-product-in-package.command.d.ts +24 -0
  652. package/build/commands/product-in-package/delete-product-in-package.command.js +14 -0
  653. package/build/commands/product-in-package/get-product-in-package-by-uuid.query.d.ts +69 -0
  654. package/build/commands/product-in-package/get-product-in-package-by-uuid.query.js +13 -0
  655. package/build/commands/product-in-package/index.d.ts +5 -0
  656. package/build/commands/product-in-package/index.js +21 -0
  657. package/build/commands/product-in-package/update-product-in-package.command.d.ts +92 -0
  658. package/build/commands/product-in-package/update-product-in-package.command.js +15 -0
  659. package/build/commands/report/export-client-statement.query.d.ts +68 -0
  660. package/build/commands/report/export-client-statement.query.js +30 -0
  661. package/build/commands/report/export-inventory-movement.query.d.ts +124 -0
  662. package/build/commands/report/export-inventory-movement.query.js +52 -0
  663. package/build/commands/report/export-inventory-stock.query.d.ts +82 -0
  664. package/build/commands/report/export-inventory-stock.query.js +32 -0
  665. package/build/commands/report/export-inventory-turnover.query.d.ts +148 -0
  666. package/build/commands/report/export-inventory-turnover.query.js +56 -0
  667. package/build/commands/report/export-sales-by-client.query.d.ts +83 -0
  668. package/build/commands/report/export-sales-by-client.query.js +39 -0
  669. package/build/commands/report/export-sales-revenue.query.d.ts +64 -0
  670. package/build/commands/report/export-sales-revenue.query.js +36 -0
  671. package/build/commands/report/get-report-by-client-weeks.query.d.ts +81 -0
  672. package/build/commands/report/get-report-by-client-weeks.query.js +31 -0
  673. package/build/commands/report/get-report-for-period.query.d.ts +106 -0
  674. package/build/commands/report/get-report-for-period.query.js +44 -0
  675. package/build/commands/report/get-report-group-by-client.query.d.ts +146 -0
  676. package/build/commands/report/get-report-group-by-client.query.js +46 -0
  677. package/build/commands/report/get-report-group-by-position.query.d.ts +266 -0
  678. package/build/commands/report/get-report-group-by-position.query.js +68 -0
  679. package/build/commands/report/index.d.ts +10 -0
  680. package/build/commands/report/index.js +26 -0
  681. package/build/commands/settings/get-settings-for-admin.query.d.ts +352 -0
  682. package/build/commands/settings/get-settings-for-admin.query.js +13 -0
  683. package/build/commands/settings/get-settings.query.d.ts +312 -0
  684. package/build/commands/settings/get-settings.query.js +13 -0
  685. package/build/commands/settings/index.d.ts +3 -0
  686. package/build/commands/settings/index.js +19 -0
  687. package/build/commands/settings/update-settings.command.d.ts +486 -0
  688. package/build/commands/settings/update-settings.command.js +14 -0
  689. package/build/commands/transaction/create-transaction.command.d.ts +100 -0
  690. package/build/commands/transaction/create-transaction.command.js +24 -0
  691. package/build/commands/transaction/delete-transaction.command.d.ts +26 -0
  692. package/build/commands/transaction/delete-transaction.command.js +16 -0
  693. package/build/commands/transaction/export-transactions.command.d.ts +62 -0
  694. package/build/commands/transaction/export-transactions.command.js +36 -0
  695. package/build/commands/transaction/generate-check-transaction.command.d.ts +35 -0
  696. package/build/commands/transaction/generate-check-transaction.command.js +18 -0
  697. package/build/commands/transaction/generate-pre-payment-check.command.d.ts +35 -0
  698. package/build/commands/transaction/generate-pre-payment-check.command.js +18 -0
  699. package/build/commands/transaction/get-sum-transaction-by-money-account.query.d.ts +46 -0
  700. package/build/commands/transaction/get-sum-transaction-by-money-account.query.js +32 -0
  701. package/build/commands/transaction/get-transaction-list.query.d.ts +763 -0
  702. package/build/commands/transaction/get-transaction-list.query.js +38 -0
  703. package/build/commands/transaction/get-transaction-summary.query.d.ts +77 -0
  704. package/build/commands/transaction/get-transaction-summary.query.js +39 -0
  705. package/build/commands/transaction/get-transaction.query.d.ts +539 -0
  706. package/build/commands/transaction/get-transaction.query.js +15 -0
  707. package/build/commands/transaction/index.d.ts +11 -0
  708. package/build/commands/transaction/index.js +27 -0
  709. package/build/commands/transaction/update-transaction.command.d.ts +85 -0
  710. package/build/commands/transaction/update-transaction.command.js +19 -0
  711. package/build/commands/transaction/webshop/get-transaction-list-for-client.query.d.ts +742 -0
  712. package/build/commands/transaction/webshop/get-transaction-list-for-client.query.js +37 -0
  713. package/build/commands/type/create-type.command.d.ts +60 -0
  714. package/build/commands/type/create-type.command.js +18 -0
  715. package/build/commands/type/delete-type.command.d.ts +32 -0
  716. package/build/commands/type/delete-type.command.js +17 -0
  717. package/build/commands/type/get-type-by-criteria.query.d.ts +51 -0
  718. package/build/commands/type/get-type-by-criteria.query.js +15 -0
  719. package/build/commands/type/get-type-by-uuid.query.d.ts +57 -0
  720. package/build/commands/type/get-type-by-uuid.query.js +17 -0
  721. package/build/commands/type/get-type-list.query.d.ts +102 -0
  722. package/build/commands/type/get-type-list.query.js +24 -0
  723. package/build/commands/type/index.d.ts +8 -0
  724. package/build/commands/type/index.js +24 -0
  725. package/build/commands/type/update-type-rank-many.command.d.ts +72 -0
  726. package/build/commands/type/update-type-rank-many.command.js +22 -0
  727. package/build/commands/type/update-type-rank.command.d.ts +39 -0
  728. package/build/commands/type/update-type-rank.command.js +19 -0
  729. package/build/commands/type/update-type.command.d.ts +75 -0
  730. package/build/commands/type/update-type.command.js +18 -0
  731. package/build/commands/user/attachUserToCompany.command.d.ts +84 -0
  732. package/build/commands/user/attachUserToCompany.command.js +13 -0
  733. package/build/commands/user/create-user-global.command.d.ts +101 -0
  734. package/build/commands/user/create-user-global.command.js +28 -0
  735. package/build/commands/user/createUser.command.d.ts +107 -0
  736. package/build/commands/user/createUser.command.js +14 -0
  737. package/build/commands/user/createUserByClientId.command.d.ts +138 -0
  738. package/build/commands/user/createUserByClientId.command.js +29 -0
  739. package/build/commands/user/createUserForCompany.command.d.ts +105 -0
  740. package/build/commands/user/createUserForCompany.command.js +27 -0
  741. package/build/commands/user/generate-and-send-password-by-admin.command.d.ts +20 -0
  742. package/build/commands/user/generate-and-send-password-by-admin.command.js +16 -0
  743. package/build/commands/user/get-user-list.query.d.ts +149 -0
  744. package/build/commands/user/get-user-list.query.js +26 -0
  745. package/build/commands/user/getUser.command.d.ts +107 -0
  746. package/build/commands/user/getUser.command.js +14 -0
  747. package/build/commands/user/index.d.ts +10 -0
  748. package/build/commands/user/index.js +26 -0
  749. package/build/commands/user/update-password-by-user.command.d.ts +19 -0
  750. package/build/commands/user/update-password-by-user.command.js +15 -0
  751. package/build/commands/user/update-user.command.d.ts +98 -0
  752. package/build/commands/user/update-user.command.js +19 -0
  753. package/build/commands/user/updateRole.command.d.ts +106 -0
  754. package/build/commands/user/updateRole.command.js +18 -0
  755. package/build/commands/work-session/close-work-session-for-employee.command.d.ts +69 -0
  756. package/build/commands/work-session/close-work-session-for-employee.command.js +13 -0
  757. package/build/commands/work-session/create-many-work-session.command.d.ts +108 -0
  758. package/build/commands/work-session/create-many-work-session.command.js +17 -0
  759. package/build/commands/work-session/create-work-session-for-employee.command.d.ts +86 -0
  760. package/build/commands/work-session/create-work-session-for-employee.command.js +14 -0
  761. package/build/commands/work-session/delete-work-session.command.d.ts +24 -0
  762. package/build/commands/work-session/delete-work-session.command.js +13 -0
  763. package/build/commands/work-session/get-work-session-extended-list.query.d.ts +243 -0
  764. package/build/commands/work-session/get-work-session-extended-list.query.js +21 -0
  765. package/build/commands/work-session/index.d.ts +6 -0
  766. package/build/commands/work-session/index.js +22 -0
  767. package/build/commands/work-session/update-work-session.command.d.ts +86 -0
  768. package/build/commands/work-session/update-work-session.command.js +14 -0
  769. package/build/commands/wrire-off-archive/create-wrire-off-archive.command.d.ts +32 -0
  770. package/build/commands/wrire-off-archive/create-wrire-off-archive.command.js +20 -0
  771. package/build/commands/wrire-off-archive/index.d.ts +2 -0
  772. package/build/commands/wrire-off-archive/index.js +18 -0
  773. package/build/commands/wrire-off-archive/info-wrire-off-archive.command.d.ts +32 -0
  774. package/build/commands/wrire-off-archive/info-wrire-off-archive.command.js +20 -0
  775. package/build/commands/write-off/create-write-off-from-order.command.d.ts +1679 -0
  776. package/build/commands/write-off/create-write-off-from-order.command.js +21 -0
  777. package/build/commands/write-off/create-write-off-from-pending.command.d.ts +1674 -0
  778. package/build/commands/write-off/create-write-off-from-pending.command.js +20 -0
  779. package/build/commands/write-off/create-write-off-images.command.d.ts +52 -0
  780. package/build/commands/write-off/create-write-off-images.command.js +17 -0
  781. package/build/commands/write-off/create-write-off.command.d.ts +1676 -0
  782. package/build/commands/write-off/create-write-off.command.js +20 -0
  783. package/build/commands/write-off/delete-write-off-image.command.d.ts +26 -0
  784. package/build/commands/write-off/delete-write-off-image.command.js +15 -0
  785. package/build/commands/write-off/delete-write-off.command.d.ts +26 -0
  786. package/build/commands/write-off/delete-write-off.command.js +16 -0
  787. package/build/commands/write-off/get-write-off-list.query.d.ts +2144 -0
  788. package/build/commands/write-off/get-write-off-list.query.js +27 -0
  789. package/build/commands/write-off/get-write-off-reason-list.query.d.ts +22 -0
  790. package/build/commands/write-off/get-write-off-reason-list.query.js +16 -0
  791. package/build/commands/write-off/get-write-off-sum-by-order.query.d.ts +16 -0
  792. package/build/commands/write-off/get-write-off-sum-by-order.query.js +14 -0
  793. package/build/commands/write-off/get-write-off.query.d.ts +1659 -0
  794. package/build/commands/write-off/get-write-off.query.js +13 -0
  795. package/build/commands/write-off/index.d.ts +13 -0
  796. package/build/commands/write-off/index.js +29 -0
  797. package/build/commands/write-off/update-write-off-price.command.d.ts +1670 -0
  798. package/build/commands/write-off/update-write-off-price.command.js +18 -0
  799. package/build/commands/write-off/update-write-off-status.command.d.ts +1671 -0
  800. package/build/commands/write-off/update-write-off-status.command.js +19 -0
  801. package/build/commands/write-off/webshop/create-write-off-from-order-for-client.command.d.ts +1676 -0
  802. package/build/commands/write-off/webshop/create-write-off-from-order-for-client.command.js +20 -0
  803. package/build/commands/write-off/webshop/get-write-off-list-by-order.query.d.ts +1661 -0
  804. package/build/commands/write-off/webshop/get-write-off-list-by-order.query.js +15 -0
  805. package/build/commands/write-off/webshop/index.d.ts +2 -0
  806. package/build/commands/write-off/webshop/index.js +18 -0
  807. package/build/constant/error-i18n-key.d.ts +5 -0
  808. package/build/constant/error-i18n-key.js +7 -0
  809. package/build/constant/error.d.ts +2047 -0
  810. package/build/constant/error.js +730 -0
  811. package/build/constant/index.d.ts +2 -0
  812. package/build/constant/index.js +18 -0
  813. package/build/constant/verbose.d.ts +42 -0
  814. package/build/constant/verbose.js +22 -0
  815. package/build/enum/action-log-type.enum.d.ts +14 -0
  816. package/build/enum/action-log-type.enum.js +18 -0
  817. package/build/enum/category-status.enum.d.ts +4 -0
  818. package/build/enum/category-status.enum.js +8 -0
  819. package/build/enum/client-import-entity-property.enum.d.ts +30 -0
  820. package/build/enum/client-import-entity-property.enum.js +37 -0
  821. package/build/enum/client-legal-type.enum.d.ts +4 -0
  822. package/build/enum/client-legal-type.enum.js +8 -0
  823. package/build/enum/client-statement-type.enum.d.ts +5 -0
  824. package/build/enum/client-statement-type.enum.js +9 -0
  825. package/build/enum/client-status.enum.d.ts +5 -0
  826. package/build/enum/client-status.enum.js +9 -0
  827. package/build/enum/client-type.enum.d.ts +4 -0
  828. package/build/enum/client-type.enum.js +8 -0
  829. package/build/enum/companyStatus.enum.d.ts +5 -0
  830. package/build/enum/companyStatus.enum.js +9 -0
  831. package/build/enum/consignment-access-client-status.enum.d.ts +4 -0
  832. package/build/enum/consignment-access-client-status.enum.js +8 -0
  833. package/build/enum/consignment-distribution-validation-status.enum.d.ts +4 -0
  834. package/build/enum/consignment-distribution-validation-status.enum.js +8 -0
  835. package/build/enum/consignment-distribution-validation-type.enum.d.ts +4 -0
  836. package/build/enum/consignment-distribution-validation-type.enum.js +8 -0
  837. package/build/enum/consignment-import-errors.enum.d.ts +5 -0
  838. package/build/enum/consignment-import-errors.enum.js +9 -0
  839. package/build/enum/consignment-import-schema-relation-entity-property.enum.d.ts +30 -0
  840. package/build/enum/consignment-import-schema-relation-entity-property.enum.js +34 -0
  841. package/build/enum/consignment-status.enum.d.ts +5 -0
  842. package/build/enum/consignment-status.enum.js +9 -0
  843. package/build/enum/consignment-write-off-archives-status.enum.d.ts +5 -0
  844. package/build/enum/consignment-write-off-archives-status.enum.js +9 -0
  845. package/build/enum/context-message-context-type.enum.d.ts +5 -0
  846. package/build/enum/context-message-context-type.enum.js +9 -0
  847. package/build/enum/country-code.enum.d.ts +253 -0
  848. package/build/enum/country-code.enum.js +264 -0
  849. package/build/enum/delivery-route-status.enum.d.ts +5 -0
  850. package/build/enum/delivery-route-status.enum.js +9 -0
  851. package/build/enum/discount-price-routing.enum.d.ts +6 -0
  852. package/build/enum/discount-price-routing.enum.js +10 -0
  853. package/build/enum/discount-rules-apply-type.enum.d.ts +4 -0
  854. package/build/enum/discount-rules-apply-type.enum.js +8 -0
  855. package/build/enum/discount-rules-mode-type.enum.d.ts +4 -0
  856. package/build/enum/discount-rules-mode-type.enum.js +8 -0
  857. package/build/enum/discount-rules-status.enum.d.ts +4 -0
  858. package/build/enum/discount-rules-status.enum.js +8 -0
  859. package/build/enum/discount-rules-type.enum.d.ts +7 -0
  860. package/build/enum/discount-rules-type.enum.js +11 -0
  861. package/build/enum/image-type.enum.d.ts +4 -0
  862. package/build/enum/image-type.enum.js +8 -0
  863. package/build/enum/import-error-code.enum.d.ts +7 -0
  864. package/build/enum/import-error-code.enum.js +11 -0
  865. package/build/enum/index.d.ts +59 -0
  866. package/build/enum/index.js +75 -0
  867. package/build/enum/inventory-movement-type.enum.d.ts +6 -0
  868. package/build/enum/inventory-movement-type.enum.js +10 -0
  869. package/build/enum/language.enum.d.ts +4 -0
  870. package/build/enum/language.enum.js +8 -0
  871. package/build/enum/menu-items-url.enum.d.ts +11 -0
  872. package/build/enum/menu-items-url.enum.js +15 -0
  873. package/build/enum/money-account-status.enum.d.ts +4 -0
  874. package/build/enum/money-account-status.enum.js +8 -0
  875. package/build/enum/notification-channel.enum.d.ts +9 -0
  876. package/build/enum/notification-channel.enum.js +13 -0
  877. package/build/enum/notification-status.enum.d.ts +6 -0
  878. package/build/enum/notification-status.enum.js +10 -0
  879. package/build/enum/notification-type.enum.d.ts +6 -0
  880. package/build/enum/notification-type.enum.js +10 -0
  881. package/build/enum/order-active-status-list.d.ts +2 -0
  882. package/build/enum/order-active-status-list.js +13 -0
  883. package/build/enum/order-balance-status-list.d.ts +2 -0
  884. package/build/enum/order-balance-status-list.js +11 -0
  885. package/build/enum/order-by.enum.d.ts +4 -0
  886. package/build/enum/order-by.enum.js +8 -0
  887. package/build/enum/order-delivery-status.enum.d.ts +4 -0
  888. package/build/enum/order-delivery-status.enum.js +8 -0
  889. package/build/enum/order-distribute-status-list.d.ts +2 -0
  890. package/build/enum/order-distribute-status-list.js +10 -0
  891. package/build/enum/order-restricted-status-list.d.ts +2 -0
  892. package/build/enum/order-restricted-status-list.js +5 -0
  893. package/build/enum/order-status.enum.d.ts +13 -0
  894. package/build/enum/order-status.enum.js +17 -0
  895. package/build/enum/order-type.enum.d.ts +4 -0
  896. package/build/enum/order-type.enum.js +8 -0
  897. package/build/enum/order-webshop-available-status-list.d.ts +2 -0
  898. package/build/enum/order-webshop-available-status-list.js +15 -0
  899. package/build/enum/package-status.enum.d.ts +5 -0
  900. package/build/enum/package-status.enum.js +9 -0
  901. package/build/enum/package-type.enum.d.ts +32 -0
  902. package/build/enum/package-type.enum.js +36 -0
  903. package/build/enum/parse-status.enum.d.ts +5 -0
  904. package/build/enum/parse-status.enum.js +9 -0
  905. package/build/enum/position-report-type.enum.d.ts +4 -0
  906. package/build/enum/position-report-type.enum.js +8 -0
  907. package/build/enum/pre-order-aggregation-mode.enum.d.ts +5 -0
  908. package/build/enum/pre-order-aggregation-mode.enum.js +9 -0
  909. package/build/enum/pre-order-collection-item-import-entity-property.enum.d.ts +21 -0
  910. package/build/enum/pre-order-collection-item-import-entity-property.enum.js +29 -0
  911. package/build/enum/pre-order-collection-status.enum.d.ts +4 -0
  912. package/build/enum/pre-order-collection-status.enum.js +8 -0
  913. package/build/enum/pre-order-status.enum.d.ts +8 -0
  914. package/build/enum/pre-order-status.enum.js +12 -0
  915. package/build/enum/product-image-created-from.enum.d.ts +4 -0
  916. package/build/enum/product-image-created-from.enum.js +8 -0
  917. package/build/enum/product-image-order.enum.d.ts +4 -0
  918. package/build/enum/product-image-order.enum.js +8 -0
  919. package/build/enum/product-in-package-status.enum.d.ts +4 -0
  920. package/build/enum/product-in-package-status.enum.js +8 -0
  921. package/build/enum/report-period-type.enum.d.ts +5 -0
  922. package/build/enum/report-period-type.enum.js +9 -0
  923. package/build/enum/sales-unit.enum.d.ts +5 -0
  924. package/build/enum/sales-unit.enum.js +9 -0
  925. package/build/enum/security-code-status.enum.d.ts +7 -0
  926. package/build/enum/security-code-status.enum.js +11 -0
  927. package/build/enum/transaction-type-groups.d.ts +4 -0
  928. package/build/enum/transaction-type-groups.js +16 -0
  929. package/build/enum/transaction-type.enum.d.ts +6 -0
  930. package/build/enum/transaction-type.enum.js +10 -0
  931. package/build/enum/user-type.enum.d.ts +4 -0
  932. package/build/enum/user-type.enum.js +8 -0
  933. package/build/enum/userRole.enum.d.ts +12 -0
  934. package/build/enum/userRole.enum.js +17 -0
  935. package/build/enum/userStatus.enum.d.ts +5 -0
  936. package/build/enum/userStatus.enum.js +9 -0
  937. package/build/enum/webshop-main-display-mode.enum.d.ts +4 -0
  938. package/build/enum/webshop-main-display-mode.enum.js +8 -0
  939. package/build/enum/webshop-mode.enum.d.ts +4 -0
  940. package/build/enum/webshop-mode.enum.js +8 -0
  941. package/build/enum/write-off-status.enum.d.ts +5 -0
  942. package/build/enum/write-off-status.enum.js +9 -0
  943. package/build/helpers/date.helper.d.ts +3 -0
  944. package/build/helpers/date.helper.js +15 -0
  945. package/build/index.d.ts +5 -0
  946. package/build/index.js +21 -0
  947. package/build/schemas/action-log/action-log-payload.schema.d.ts +496 -0
  948. package/build/schemas/action-log/action-log-payload.schema.js +29 -0
  949. package/build/schemas/action-log/action-log.schema.d.ts +2439 -0
  950. package/build/schemas/action-log/action-log.schema.js +105 -0
  951. package/build/schemas/action-log/index.d.ts +14 -0
  952. package/build/schemas/action-log/index.js +30 -0
  953. package/build/schemas/action-log/order-create-action-log.schema.d.ts +53 -0
  954. package/build/schemas/action-log/order-create-action-log.schema.js +8 -0
  955. package/build/schemas/action-log/order-delete-action-log-payload.schema.d.ts +53 -0
  956. package/build/schemas/action-log/order-delete-action-log-payload.schema.js +8 -0
  957. package/build/schemas/action-log/order-info.schema.d.ts +29 -0
  958. package/build/schemas/action-log/order-info.schema.js +14 -0
  959. package/build/schemas/action-log/order-product-delete-action-log.schema.d.ts +63 -0
  960. package/build/schemas/action-log/order-product-delete-action-log.schema.js +8 -0
  961. package/build/schemas/action-log/order-product-info.schema.d.ts +35 -0
  962. package/build/schemas/action-log/order-product-info.schema.js +16 -0
  963. package/build/schemas/action-log/order-product-update-action-log.schema.d.ts +69 -0
  964. package/build/schemas/action-log/order-product-update-action-log.schema.js +10 -0
  965. package/build/schemas/action-log/order-update-action-log.schema.d.ts +12 -0
  966. package/build/schemas/action-log/order-update-action-log.schema.js +9 -0
  967. package/build/schemas/action-log/pre-order-create-action-log.schema.d.ts +38 -0
  968. package/build/schemas/action-log/pre-order-create-action-log.schema.js +8 -0
  969. package/build/schemas/action-log/pre-order-delete-action-log.schema.d.ts +38 -0
  970. package/build/schemas/action-log/pre-order-delete-action-log.schema.js +8 -0
  971. package/build/schemas/action-log/pre-order-info.schema.d.ts +20 -0
  972. package/build/schemas/action-log/pre-order-info.schema.js +11 -0
  973. package/build/schemas/action-log/pre-order-product-delete-action-log.schema.d.ts +48 -0
  974. package/build/schemas/action-log/pre-order-product-delete-action-log.schema.js +8 -0
  975. package/build/schemas/action-log/pre-order-product-info.schema.d.ts +26 -0
  976. package/build/schemas/action-log/pre-order-product-info.schema.js +13 -0
  977. package/build/schemas/action-log/pre-order-product-update-action-log.schema.d.ts +57 -0
  978. package/build/schemas/action-log/pre-order-product-update-action-log.schema.js +11 -0
  979. package/build/schemas/action-log/transaction-add-action-log.schema.d.ts +43 -0
  980. package/build/schemas/action-log/transaction-add-action-log.schema.js +8 -0
  981. package/build/schemas/action-log/transaction-delete-action-log.schema.d.ts +43 -0
  982. package/build/schemas/action-log/transaction-delete-action-log.schema.js +8 -0
  983. package/build/schemas/action-log/transaction-info.schema.d.ts +24 -0
  984. package/build/schemas/action-log/transaction-info.schema.js +13 -0
  985. package/build/schemas/branch/branch-list.schema.d.ts +71 -0
  986. package/build/schemas/branch/branch-list.schema.js +9 -0
  987. package/build/schemas/branch/branch.schema.d.ts +38 -0
  988. package/build/schemas/branch/branch.schema.js +17 -0
  989. package/build/schemas/category/category.schema.d.ts +102 -0
  990. package/build/schemas/category/category.schema.js +20 -0
  991. package/build/schemas/category-alias/category-alias.schema.d.ts +36 -0
  992. package/build/schemas/category-alias/category-alias.schema.js +17 -0
  993. package/build/schemas/category-template/category-template.schema.d.ts +55 -0
  994. package/build/schemas/category-template/category-template.schema.js +19 -0
  995. package/build/schemas/category-template/index.d.ts +1 -0
  996. package/build/schemas/category-template/index.js +17 -0
  997. package/build/schemas/client/client-individual-profile.schema.d.ts +26 -0
  998. package/build/schemas/client/client-individual-profile.schema.js +13 -0
  999. package/build/schemas/client/client-legal-profile.schema.d.ts +60 -0
  1000. package/build/schemas/client/client-legal-profile.schema.js +25 -0
  1001. package/build/schemas/client/client-marking.schema.d.ts +11 -0
  1002. package/build/schemas/client/client-marking.schema.js +8 -0
  1003. package/build/schemas/client/client.schema.d.ts +1665 -0
  1004. package/build/schemas/client/client.schema.js +51 -0
  1005. package/build/schemas/client/index.d.ts +4 -0
  1006. package/build/schemas/client/index.js +20 -0
  1007. package/build/schemas/company/company.schema.d.ts +27 -0
  1008. package/build/schemas/company/company.schema.js +14 -0
  1009. package/build/schemas/company/companyList.schema.d.ts +51 -0
  1010. package/build/schemas/company/companyList.schema.js +9 -0
  1011. package/build/schemas/consignment/consignment-distribution-validation.schema.d.ts +2487 -0
  1012. package/build/schemas/consignment/consignment-distribution-validation.schema.js +20 -0
  1013. package/build/schemas/consignment/consignment-list.schema.d.ts +133 -0
  1014. package/build/schemas/consignment/consignment-list.schema.js +9 -0
  1015. package/build/schemas/consignment/consignment.schema.d.ts +420 -0
  1016. package/build/schemas/consignment/consignment.schema.js +54 -0
  1017. package/build/schemas/consignment-import-schema/consignment-import-schema.scheme.d.ts +136 -0
  1018. package/build/schemas/consignment-import-schema/consignment-import-schema.scheme.js +32 -0
  1019. package/build/schemas/consignment-import-schema/index.d.ts +1 -0
  1020. package/build/schemas/consignment-import-schema/index.js +17 -0
  1021. package/build/schemas/consignment-import-schema-relation/consignment-import-schema-relation.schema.d.ts +21 -0
  1022. package/build/schemas/consignment-import-schema-relation/consignment-import-schema-relation.schema.js +12 -0
  1023. package/build/schemas/delete-data-response.schema.d.ts +8 -0
  1024. package/build/schemas/delete-data-response.schema.js +7 -0
  1025. package/build/schemas/delivery-route/delivery-route.schema.d.ts +193 -0
  1026. package/build/schemas/delivery-route/delivery-route.schema.js +48 -0
  1027. package/build/schemas/discount-rules/discount-rules.schema.d.ts +1794 -0
  1028. package/build/schemas/discount-rules/discount-rules.schema.js +108 -0
  1029. package/build/schemas/distribution/distribution.schema.d.ts +55 -0
  1030. package/build/schemas/distribution/distribution.schema.js +24 -0
  1031. package/build/schemas/distribution/validate-distribution-by-product.schema.d.ts +14 -0
  1032. package/build/schemas/distribution/validate-distribution-by-product.schema.js +9 -0
  1033. package/build/schemas/domain/domain.schema.d.ts +85 -0
  1034. package/build/schemas/domain/domain.schema.js +23 -0
  1035. package/build/schemas/employee-schedule/employee-schedule.schema.d.ts +399 -0
  1036. package/build/schemas/employee-schedule/employee-schedule.schema.js +42 -0
  1037. package/build/schemas/file/file.schema.d.ts +8 -0
  1038. package/build/schemas/file/file.schema.js +7 -0
  1039. package/build/schemas/file/index.d.ts +1 -0
  1040. package/build/schemas/file/index.js +17 -0
  1041. package/build/schemas/index.d.ts +53 -0
  1042. package/build/schemas/index.js +69 -0
  1043. package/build/schemas/message/client-inbox-item.schema.d.ts +32 -0
  1044. package/build/schemas/message/client-inbox-item.schema.js +15 -0
  1045. package/build/schemas/message/context-inbox.schema.d.ts +109 -0
  1046. package/build/schemas/message/context-inbox.schema.js +22 -0
  1047. package/build/schemas/message/context-message-list.schema.d.ts +80 -0
  1048. package/build/schemas/message/context-message-list.schema.js +12 -0
  1049. package/build/schemas/message/context-message.schema.d.ts +39 -0
  1050. package/build/schemas/message/context-message.schema.js +18 -0
  1051. package/build/schemas/message/index.d.ts +4 -0
  1052. package/build/schemas/message/index.js +20 -0
  1053. package/build/schemas/money-account/money-account.schema.d.ts +31 -0
  1054. package/build/schemas/money-account/money-account.schema.js +16 -0
  1055. package/build/schemas/order/order.schema.d.ts +884 -0
  1056. package/build/schemas/order/order.schema.js +57 -0
  1057. package/build/schemas/order-delivery/order-delivery.schema.d.ts +27 -0
  1058. package/build/schemas/order-delivery/order-delivery.schema.js +14 -0
  1059. package/build/schemas/order-product/order-product-list.schema.d.ts +1587 -0
  1060. package/build/schemas/order-product/order-product-list.schema.js +13 -0
  1061. package/build/schemas/order-product/order-product-multiplicity-optiom.schema.d.ts +17 -0
  1062. package/build/schemas/order-product/order-product-multiplicity-optiom.schema.js +10 -0
  1063. package/build/schemas/order-product/order-product.schema.d.ts +2173 -0
  1064. package/build/schemas/order-product/order-product.schema.js +51 -0
  1065. package/build/schemas/package/package.schema.d.ts +1111 -0
  1066. package/build/schemas/package/package.schema.js +93 -0
  1067. package/build/schemas/package/validate-package.schema.d.ts +14 -0
  1068. package/build/schemas/package/validate-package.schema.js +9 -0
  1069. package/build/schemas/pre-order/pre-order-copy.schema.d.ts +3083 -0
  1070. package/build/schemas/pre-order/pre-order-copy.schema.js +21 -0
  1071. package/build/schemas/pre-order/pre-order.schema.d.ts +1058 -0
  1072. package/build/schemas/pre-order/pre-order.schema.js +49 -0
  1073. package/build/schemas/pre-order-collection/pre-order-collection.schema.d.ts +277 -0
  1074. package/build/schemas/pre-order-collection/pre-order-collection.schema.js +53 -0
  1075. package/build/schemas/pre-order-collection-item/pre-order-collection-item-multiplicity-option.schema.d.ts +20 -0
  1076. package/build/schemas/pre-order-collection-item/pre-order-collection-item-multiplicity-option.schema.js +11 -0
  1077. package/build/schemas/pre-order-collection-item/pre-order-collection-item.schema.d.ts +2725 -0
  1078. package/build/schemas/pre-order-collection-item/pre-order-collection-item.schema.js +132 -0
  1079. package/build/schemas/pre-order-product/pre-order-product.schema.d.ts +2039 -0
  1080. package/build/schemas/pre-order-product/pre-order-product.schema.js +102 -0
  1081. package/build/schemas/product/product-list.schema.d.ts +885 -0
  1082. package/build/schemas/product/product-list.schema.js +13 -0
  1083. package/build/schemas/product/product-multiplicity-option.schema.d.ts +20 -0
  1084. package/build/schemas/product/product-multiplicity-option.schema.js +11 -0
  1085. package/build/schemas/product/product.schema.d.ts +1383 -0
  1086. package/build/schemas/product/product.schema.js +104 -0
  1087. package/build/schemas/product-configuration/product-configuration.schema.d.ts +78 -0
  1088. package/build/schemas/product-configuration/product-configuration.schema.js +32 -0
  1089. package/build/schemas/product-image/product-image-alias.schema.d.ts +11 -0
  1090. package/build/schemas/product-image/product-image-alias.schema.js +8 -0
  1091. package/build/schemas/product-image/product-image.schema.d.ts +240 -0
  1092. package/build/schemas/product-image/product-image.schema.js +32 -0
  1093. package/build/schemas/product-image-template/product-image-template.schema.d.ts +139 -0
  1094. package/build/schemas/product-image-template/product-image-template.schema.js +21 -0
  1095. package/build/schemas/product-in-package/product-in-package.schema.d.ts +86 -0
  1096. package/build/schemas/product-in-package/product-in-package.schema.js +30 -0
  1097. package/build/schemas/report/client-by-weeks.schema.d.ts +29 -0
  1098. package/build/schemas/report/client-by-weeks.schema.js +14 -0
  1099. package/build/schemas/report/client-statement.schema.d.ts +24 -0
  1100. package/build/schemas/report/client-statement.schema.js +13 -0
  1101. package/build/schemas/settings/settings.schema.d.ts +770 -0
  1102. package/build/schemas/settings/settings.schema.js +187 -0
  1103. package/build/schemas/transaction/transaction-list.schema.d.ts +1055 -0
  1104. package/build/schemas/transaction/transaction-list.schema.js +13 -0
  1105. package/build/schemas/transaction/transaction.schema.d.ts +763 -0
  1106. package/build/schemas/transaction/transaction.schema.js +31 -0
  1107. package/build/schemas/type/type.schema.d.ts +36 -0
  1108. package/build/schemas/type/type.schema.js +17 -0
  1109. package/build/schemas/type/typeList.schema.d.ts +14 -0
  1110. package/build/schemas/type/typeList.schema.js +9 -0
  1111. package/build/schemas/user/user.schema.d.ts +67 -0
  1112. package/build/schemas/user/user.schema.js +28 -0
  1113. package/build/schemas/work-session/work-session.schema.d.ts +344 -0
  1114. package/build/schemas/work-session/work-session.schema.js +41 -0
  1115. package/build/schemas/write-off/write-off-image.schema.d.ts +20 -0
  1116. package/build/schemas/write-off/write-off-image.schema.js +11 -0
  1117. package/build/schemas/write-off/write-off-list.schema.d.ts +1656 -0
  1118. package/build/schemas/write-off/write-off-list.schema.js +9 -0
  1119. package/build/schemas/write-off/write-off.schema.d.ts +1214 -0
  1120. package/build/schemas/write-off/write-off.schema.js +30 -0
  1121. package/build/types/client-import-data.type.d.ts +34 -0
  1122. package/build/types/client-import-data.type.js +3 -0
  1123. package/build/types/index.d.ts +1 -0
  1124. package/build/types/index.js +17 -0
  1125. package/commands/action-log/create-action-log.command.ts +17 -0
  1126. package/commands/action-log/get-action-log-list-for-client.query.ts +39 -0
  1127. package/commands/action-log/get-action-log-list.query.ts +40 -0
  1128. package/commands/action-log/index.ts +3 -0
  1129. package/commands/auth/index.ts +7 -0
  1130. package/commands/auth/login-user.command.ts +25 -0
  1131. package/commands/auth/register-user.command.ts +23 -0
  1132. package/commands/auth/reset-password-by-admin.command.ts +17 -0
  1133. package/commands/auth/reset-password-by-security-code.command.ts +23 -0
  1134. package/commands/auth/reset-password-by-token.command.ts +28 -0
  1135. package/commands/auth/reset-password-by-user.command.ts +17 -0
  1136. package/commands/auth/restore-password-by-security-code.command.ts +18 -0
  1137. package/commands/branch/create-branch.command.ts +25 -0
  1138. package/commands/branch/delete-branch.command.ts +21 -0
  1139. package/commands/branch/get-branch-list-all-by-client-uuid.query.ts +17 -0
  1140. package/commands/branch/get-branch-list.query.ts +20 -0
  1141. package/commands/branch/get-branch.query.ts +17 -0
  1142. package/commands/branch/index.ts +6 -0
  1143. package/commands/branch/update-branch.command.ts +25 -0
  1144. package/commands/category/create-category.command.ts +23 -0
  1145. package/commands/category/delete-category.command.ts +21 -0
  1146. package/commands/category/get-category-by-uuid.query.ts +19 -0
  1147. package/commands/category/get-category-list.query.ts +32 -0
  1148. package/commands/category/index.ts +6 -0
  1149. package/commands/category/update-category-command.ts +25 -0
  1150. package/commands/category/webshop/get-category-list-for-client.query.ts +12 -0
  1151. package/commands/category-alias/create-category-alias.command.ts +19 -0
  1152. package/commands/category-alias/delete-category-alias.command.ts +21 -0
  1153. package/commands/category-alias/get-category-alias-by-uuid.query.ts +19 -0
  1154. package/commands/category-alias/get-category-alias-list-by-category-uuid.query.ts +23 -0
  1155. package/commands/category-alias/get-category-alias-list.query.ts +25 -0
  1156. package/commands/category-alias/index.ts +1 -0
  1157. package/commands/category-alias/update-category-alias.command.ts +20 -0
  1158. package/commands/category-template/create-category-template.command.ts +22 -0
  1159. package/commands/category-template/get-category-template-by-uuid.query.ts +12 -0
  1160. package/commands/category-template/get-category-template-list.query.ts +12 -0
  1161. package/commands/category-template/index.ts +4 -0
  1162. package/commands/category-template/update-category-template.command.ts +22 -0
  1163. package/commands/client/attach-user-to-client.command.ts +19 -0
  1164. package/commands/client/create-client.command.ts +37 -0
  1165. package/commands/client/delete-client.command.ts +21 -0
  1166. package/commands/client/detach-user-from-client.command.ts +17 -0
  1167. package/commands/client/get-client-calculate.query.ts +16 -0
  1168. package/commands/client/get-client-filters-values.query.ts +19 -0
  1169. package/commands/client/get-client-list.query.ts +29 -0
  1170. package/commands/client/get-client.query.ts +17 -0
  1171. package/commands/client/import-client.command.ts +26 -0
  1172. package/commands/client/index.ts +19 -0
  1173. package/commands/client/marking/create-client-marking.command.ts +19 -0
  1174. package/commands/client/marking/delete-client-marking.command.ts +17 -0
  1175. package/commands/client/marking/get-client-marking-by-client-list.command.ts +18 -0
  1176. package/commands/client/marking/update-client-marking.command.ts +19 -0
  1177. package/commands/client/profile/create-client-individual-profile.command.ts +22 -0
  1178. package/commands/client/profile/create-client-legal-profile.command.ts +21 -0
  1179. package/commands/client/profile/delete-client-individual-profile.command.ts +20 -0
  1180. package/commands/client/profile/delete-client-legal-profile.command.ts +20 -0
  1181. package/commands/client/profile/get-client-individual-profile.query.ts +19 -0
  1182. package/commands/client/profile/index.ts +7 -0
  1183. package/commands/client/profile/update-client-individual-profile.command.ts +22 -0
  1184. package/commands/client/profile/update-client-legal-profile.command.ts +21 -0
  1185. package/commands/client/set-balance-calculate-client.command.ts +12 -0
  1186. package/commands/client/update-client.command.ts +39 -0
  1187. package/commands/client/webshop/register-client-webshop.command.ts +25 -0
  1188. package/commands/client/webshop/update-client-for-client.command.ts +23 -0
  1189. package/commands/company/createCompany.command.ts +22 -0
  1190. package/commands/company/createCompanyWithUser.command.ts +29 -0
  1191. package/commands/company/deleteCompany.command.ts +21 -0
  1192. package/commands/company/getCompany.query.ts +19 -0
  1193. package/commands/company/getCompanyList.query.ts +20 -0
  1194. package/commands/company/index.ts +6 -0
  1195. package/commands/company/updateCompany.command.ts +19 -0
  1196. package/commands/consignment/create-consignment.command.ts +27 -0
  1197. package/commands/consignment/delete-consignment.command.ts +20 -0
  1198. package/commands/consignment/export-consignment.command.ts +20 -0
  1199. package/commands/consignment/get-access-clients-consignment.query.ts +12 -0
  1200. package/commands/consignment/get-client-uuids-consignment.query.ts +13 -0
  1201. package/commands/consignment/get-consignment-filters-values.query.ts +18 -0
  1202. package/commands/consignment/get-consignment-list.query.ts +47 -0
  1203. package/commands/consignment/get-consignment.query.ts +17 -0
  1204. package/commands/consignment/import-consignment.command.ts +42 -0
  1205. package/commands/consignment/import-packing-consignment.command.ts +30 -0
  1206. package/commands/consignment/index.ts +13 -0
  1207. package/commands/consignment/update-consignment.command.ts +27 -0
  1208. package/commands/consignment/upsert-access-clients-consignment.command.ts +25 -0
  1209. package/commands/consignment/validate-consignment-distribution.query.ts +14 -0
  1210. package/commands/consignment-import-schema/create-consignment-import-scheme.command.ts +19 -0
  1211. package/commands/consignment-import-schema/get-all-consignment-import-schema.query.ts +17 -0
  1212. package/commands/consignment-import-schema/get-cosignment-import-schema.query.ts +17 -0
  1213. package/commands/consignment-import-schema/index.ts +2 -0
  1214. package/commands/consignment-import-schema/update-consignment-import-schema.command.ts +16 -0
  1215. package/commands/delivery-route/attach-order-list-to-delivery-route.command.ts +18 -0
  1216. package/commands/delivery-route/create-delivery-route.command.ts +15 -0
  1217. package/commands/delivery-route/delete-delivery-route.command.ts +13 -0
  1218. package/commands/delivery-route/detach-order-list-to-delivery-route.command.ts +18 -0
  1219. package/commands/delivery-route/get-delivery-route-list.query.ts +27 -0
  1220. package/commands/delivery-route/get-delivery-route.query.ts +17 -0
  1221. package/commands/delivery-route/index.ts +7 -0
  1222. package/commands/delivery-route/update-delivery-route.command.ts +15 -0
  1223. package/commands/discount-rules/create-discount-rules.command.ts +19 -0
  1224. package/commands/discount-rules/delete-discount-rules.command.ts +12 -0
  1225. package/commands/discount-rules/get-discount-rules-all.query.ts +22 -0
  1226. package/commands/discount-rules/get-discount-rules-extended.query.ts +12 -0
  1227. package/commands/discount-rules/get-discount-rules-list.query.ts +20 -0
  1228. package/commands/discount-rules/get-discount-rules.query.ts +12 -0
  1229. package/commands/discount-rules/index.ts +9 -0
  1230. package/commands/discount-rules/split-quantity-discount-rules-for-client.query.ts +17 -0
  1231. package/commands/discount-rules/split-quantity-discount-rules.query.ts +17 -0
  1232. package/commands/discount-rules/update-discount-rules.command.ts +19 -0
  1233. package/commands/distribution/create-distribution.command.ts +17 -0
  1234. package/commands/distribution/index.ts +3 -0
  1235. package/commands/distribution/update-is-packed-distribution.command.ts +19 -0
  1236. package/commands/distribution/validate-distribution-by-product.query.ts +17 -0
  1237. package/commands/domain/create-domain.command.ts +15 -0
  1238. package/commands/domain/delete-domain.command.ts +12 -0
  1239. package/commands/domain/get-domain-by-uuid.query.ts +12 -0
  1240. package/commands/domain/get-domain-list.query.ts +20 -0
  1241. package/commands/domain/index.ts +5 -0
  1242. package/commands/domain/update-domain.command.ts +15 -0
  1243. package/commands/employee-schedule/create-employee-schedule.command.ts +15 -0
  1244. package/commands/employee-schedule/delete-employee-schedule.command.ts +12 -0
  1245. package/commands/employee-schedule/get-employee-schedule-extended-list.query.ts +21 -0
  1246. package/commands/employee-schedule/get-employee-schedule-list.query.ts +43 -0
  1247. package/commands/employee-schedule/index.ts +5 -0
  1248. package/commands/employee-schedule/update-employee-schedule.command.ts +15 -0
  1249. package/commands/file/deleteFile.command.ts +19 -0
  1250. package/commands/file/index.ts +2 -0
  1251. package/commands/file/uploadFile.command.ts +7 -0
  1252. package/commands/index.ts +44 -0
  1253. package/commands/message/get-clients-messages-context-with-unread.query.ts +25 -0
  1254. package/commands/message/get-context-unread-count.query.ts +23 -0
  1255. package/commands/message/get-contexts-with-unread.query.ts +24 -0
  1256. package/commands/message/index.ts +6 -0
  1257. package/commands/message/list-context-messages.query.ts +25 -0
  1258. package/commands/message/mark-context-read.command.ts +23 -0
  1259. package/commands/message/send-context-message.command.ts +24 -0
  1260. package/commands/money-account/create-money-account.command.ts +20 -0
  1261. package/commands/money-account/delete-money-account.command.ts +13 -0
  1262. package/commands/money-account/get-money-account-by-criteria.query.ts +17 -0
  1263. package/commands/money-account/get-money-account-list.query.ts +23 -0
  1264. package/commands/money-account/get-money-account.query.ts +12 -0
  1265. package/commands/money-account/index.ts +6 -0
  1266. package/commands/money-account/update-money-account.command.ts +21 -0
  1267. package/commands/order/apply-order-discount.command.ts +20 -0
  1268. package/commands/order/copy-order.command.ts +12 -0
  1269. package/commands/order/create-order.command.ts +28 -0
  1270. package/commands/order/delete-order.command.ts +13 -0
  1271. package/commands/order/export-order-invoice.command.ts +11 -0
  1272. package/commands/order/get-order-list.query.ts +54 -0
  1273. package/commands/order/get-order.query.ts +17 -0
  1274. package/commands/order/group/deletet-group-order.command.ts +20 -0
  1275. package/commands/order/group/split-group-order.command.ts +19 -0
  1276. package/commands/order/group/update-group-order-status.command.ts +22 -0
  1277. package/commands/order/group/update-group-order-tag.command.ts +21 -0
  1278. package/commands/order/group/update-group-order-type.command.ts +22 -0
  1279. package/commands/order/index.ts +22 -0
  1280. package/commands/order/send-order-invoice.command.ts +21 -0
  1281. package/commands/order/update-order.command.ts +30 -0
  1282. package/commands/order/webshop/create-cart.command.ts +17 -0
  1283. package/commands/order/webshop/get-order-for-client.query.ts +17 -0
  1284. package/commands/order/webshop/get-order-list-for-client.query.ts +58 -0
  1285. package/commands/order/webshop/get-order-sales-by-month.query.ts +18 -0
  1286. package/commands/order/webshop/update-cart.command.ts +29 -0
  1287. package/commands/order/zeroing-receipt-delivery-order.command.ts +12 -0
  1288. package/commands/order-delivery/create-order-delivery.command.ts +23 -0
  1289. package/commands/order-delivery/delete-order-delivery.command.ts +18 -0
  1290. package/commands/order-delivery/index.ts +3 -0
  1291. package/commands/order-delivery/update-order-delivery.command.ts +27 -0
  1292. package/commands/order-product/create-order-product.command.ts +24 -0
  1293. package/commands/order-product/delete-order-product.command.ts +18 -0
  1294. package/commands/order-product/get-order-product-list-all.query.ts +17 -0
  1295. package/commands/order-product/get-order-product-list-for-distribute.query.ts +20 -0
  1296. package/commands/order-product/get-order-product-list.query.ts +21 -0
  1297. package/commands/order-product/get-order-product.query.ts +17 -0
  1298. package/commands/order-product/group/delete-group-order-product.command.ts +20 -0
  1299. package/commands/order-product/group/update-group-order-product-order.command.ts +28 -0
  1300. package/commands/order-product/group/update-group-order-product-tag.command.ts +21 -0
  1301. package/commands/order-product/group/verify-group-order-product.command.ts +21 -0
  1302. package/commands/order-product/group/zeroing-receipt-order-product.command.ts +19 -0
  1303. package/commands/order-product/index.ts +17 -0
  1304. package/commands/order-product/update-order-product.command.ts +25 -0
  1305. package/commands/order-product/verify-order-product.command.ts +17 -0
  1306. package/commands/order-product/webshop/create-order-product-for-client.command.ts +20 -0
  1307. package/commands/order-product/webshop/get-order-product-for-client-list.query.ts +17 -0
  1308. package/commands/order-product/webshop/update-order-product-for-client.command.ts +21 -0
  1309. package/commands/package/create-package.command.ts +15 -0
  1310. package/commands/package/delete-package.command.ts +18 -0
  1311. package/commands/package/get-package-by-uuid.query.ts +11 -0
  1312. package/commands/package/get-package-filters-values.query.ts +33 -0
  1313. package/commands/package/get-package-list.query.ts +23 -0
  1314. package/commands/package/index.ts +7 -0
  1315. package/commands/package/reorder-packages.command.ts +25 -0
  1316. package/commands/package/update-package.command.ts +15 -0
  1317. package/commands/package/validate-product-package.query.ts +17 -0
  1318. package/commands/pre-order/create-order-from-pre-order.command.ts +22 -0
  1319. package/commands/pre-order/create-pre-order.command.ts +15 -0
  1320. package/commands/pre-order/delete-pre-order.command.ts +12 -0
  1321. package/commands/pre-order/get-pre-order-by-pre-order-collection-uuid.command.ts +11 -0
  1322. package/commands/pre-order/get-pre-order-list.query.ts +27 -0
  1323. package/commands/pre-order/get-pre-order.query.ts +11 -0
  1324. package/commands/pre-order/get-standing-order-import-template.command.ts +12 -0
  1325. package/commands/pre-order/group/analyze-copy-pre-orders.command.ts +26 -0
  1326. package/commands/pre-order/group/analyze-create-orders-from-pre-orders.command.ts +57 -0
  1327. package/commands/pre-order/group/analyze-create-pre-orders-from-standing-orders.command.ts +54 -0
  1328. package/commands/pre-order/group/group-copy-pre-orders-to-collection.command.ts +46 -0
  1329. package/commands/pre-order/group/group-create-orders-from-pre-orders.command.ts +40 -0
  1330. package/commands/pre-order/group/group-create-pre-orders-from-standing-orders.command.ts +38 -0
  1331. package/commands/pre-order/group/group-delete-pre-order.command.ts +20 -0
  1332. package/commands/pre-order/group/group-update-pre-order.command.ts +22 -0
  1333. package/commands/pre-order/group/index.ts +9 -0
  1334. package/commands/pre-order/import-standing-order.command.ts +24 -0
  1335. package/commands/pre-order/index.ts +12 -0
  1336. package/commands/pre-order/update-pre-order.command.ts +15 -0
  1337. package/commands/pre-order/webshop/checkout-pre-order-webshop.command.ts +17 -0
  1338. package/commands/pre-order/webshop/create-pre-order-webshop.command.ts +15 -0
  1339. package/commands/pre-order/webshop/delete-pre-order-webshop.command.ts +12 -0
  1340. package/commands/pre-order/webshop/get-pre-order-list-webshop.command.ts +21 -0
  1341. package/commands/pre-order/webshop/index.ts +5 -0
  1342. package/commands/pre-order/webshop/update-pre-order-webshop.command.ts +15 -0
  1343. package/commands/pre-order-collection/copy-pre-order-collection.command.ts +12 -0
  1344. package/commands/pre-order-collection/create-pre-order-collection.command.ts +15 -0
  1345. package/commands/pre-order-collection/delete-pre-order-collection.command.ts +13 -0
  1346. package/commands/pre-order-collection/get-pre-order-collection-all.query.ts +12 -0
  1347. package/commands/pre-order-collection/get-pre-order-collection-list.query.ts +25 -0
  1348. package/commands/pre-order-collection/get-pre-order-collection.query.ts +12 -0
  1349. package/commands/pre-order-collection/index.ts +8 -0
  1350. package/commands/pre-order-collection/match-images-for-collection.command.ts +22 -0
  1351. package/commands/pre-order-collection/update-pre-order-collection.command.ts +15 -0
  1352. package/commands/pre-order-collection/webshop/get-pre-order-collection-list-with-categories.query.ts +12 -0
  1353. package/commands/pre-order-collection-item/create-group-pre-order-collection-item.command.ts +17 -0
  1354. package/commands/pre-order-collection-item/create-pre-order-collection-item.command.ts +15 -0
  1355. package/commands/pre-order-collection-item/delete-group-pre-order-collection-item.command.ts +21 -0
  1356. package/commands/pre-order-collection-item/delete-pre-order-collection-item.command.ts +13 -0
  1357. package/commands/pre-order-collection-item/execute-pre-order-collection-item-update.command.ts +56 -0
  1358. package/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-horizontal.query.ts +18 -0
  1359. package/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-vertical.query.ts +21 -0
  1360. package/commands/pre-order-collection-item/get-active-pre-order-collection-item-list.query.ts +21 -0
  1361. package/commands/pre-order-collection-item/get-pre-order-collection-item-extended-with-clients-pre-order-product-list.query.ts +24 -0
  1362. package/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values-for-client.query.ts +28 -0
  1363. package/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values.query.ts +26 -0
  1364. package/commands/pre-order-collection-item/get-pre-order-collection-item-list-for-client.query.ts +26 -0
  1365. package/commands/pre-order-collection-item/get-pre-order-collection-item-list.query.ts +26 -0
  1366. package/commands/pre-order-collection-item/get-pre-order-collection-item.query.ts +12 -0
  1367. package/commands/pre-order-collection-item/index.ts +24 -0
  1368. package/commands/pre-order-collection-item/multiplicity-option/create-pre-order-collection-item-multiplicity-option.command.ts +22 -0
  1369. package/commands/pre-order-collection-item/multiplicity-option/delete-pre-order-collection-item-multiplicity-option.command.ts +16 -0
  1370. package/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-option-titles.query.ts +16 -0
  1371. package/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-options.query.ts +17 -0
  1372. package/commands/pre-order-collection-item/multiplicity-option/reorder-pre-order-collection-item-multiplicity-options.command.ts +25 -0
  1373. package/commands/pre-order-collection-item/multiplicity-option/update-pre-order-collection-item-multiplicity-option.command.ts +24 -0
  1374. package/commands/pre-order-collection-item/update-group-pre-order-collection-item.command.ts +22 -0
  1375. package/commands/pre-order-collection-item/update-pre-order-collection-item-product-maching.command.ts +20 -0
  1376. package/commands/pre-order-collection-item/update-pre-order-collection-item.command.ts +15 -0
  1377. package/commands/pre-order-product/create-manually-pre-order-product-for-standing-order.command.ts +22 -0
  1378. package/commands/pre-order-product/create-manually-pre-order-product.command.ts +25 -0
  1379. package/commands/pre-order-product/create-pre-order-product-webshop.command.ts +15 -0
  1380. package/commands/pre-order-product/create-pre-order-product.command.ts +15 -0
  1381. package/commands/pre-order-product/delete-many-pre-order-product-by-pre-order-collection-item.command.ts +13 -0
  1382. package/commands/pre-order-product/delete-pre-order-product-webshop.command.ts +14 -0
  1383. package/commands/pre-order-product/delete-pre-order-product.command.ts +12 -0
  1384. package/commands/pre-order-product/get-pre-order-product-extended-list.query.ts +20 -0
  1385. package/commands/pre-order-product/get-pre-order-product-list.query.ts +20 -0
  1386. package/commands/pre-order-product/get-pre-order-product.query.ts +12 -0
  1387. package/commands/pre-order-product/get-pre-order-products-by-pre-order-list.command.ts +19 -0
  1388. package/commands/pre-order-product/get-pre-order-products-by-pre-order.command.ts +12 -0
  1389. package/commands/pre-order-product/index.ts +15 -0
  1390. package/commands/pre-order-product/purchase-many-pre-order-product-by-pre-order-collection-item.command.ts +20 -0
  1391. package/commands/pre-order-product/update-pre-order-product-webshop.command.ts +15 -0
  1392. package/commands/pre-order-product/update-pre-order-product.command.ts +15 -0
  1393. package/commands/product/create-product.command.ts +43 -0
  1394. package/commands/product/delete-product.command.ts +18 -0
  1395. package/commands/product/generate-product-qr.query.ts +31 -0
  1396. package/commands/product/get-all-product-by-consignment.query.ts +17 -0
  1397. package/commands/product/get-product-list-filters-values.query.ts +42 -0
  1398. package/commands/product/get-product-list.query.ts +28 -0
  1399. package/commands/product/get-product-quantity-calculate.query.ts +27 -0
  1400. package/commands/product/get-product.query.ts +17 -0
  1401. package/commands/product/get-products-unique.query.ts +24 -0
  1402. package/commands/product/group/delete-group-product.command.ts +27 -0
  1403. package/commands/product/group/index.ts +7 -0
  1404. package/commands/product/group/update-group-product-category.command.ts +21 -0
  1405. package/commands/product/group/update-group-product-consignment.command.ts +21 -0
  1406. package/commands/product/group/update-group-product-is-open-by-consignment.command.ts +20 -0
  1407. package/commands/product/group/update-group-product-is-open.command.ts +21 -0
  1408. package/commands/product/group/update-group-product-prices.command.ts +26 -0
  1409. package/commands/product/group/update-group-product-update-batch.command.ts +47 -0
  1410. package/commands/product/index.ts +21 -0
  1411. package/commands/product/multiplicity-option/create-product-multiplicity-option.command.ts +22 -0
  1412. package/commands/product/multiplicity-option/delete-product-multiplicity-option.command.ts +16 -0
  1413. package/commands/product/multiplicity-option/get-product-multiplicity-option-titles.query.ts +16 -0
  1414. package/commands/product/multiplicity-option/get-product-multiplicity-options.query.ts +17 -0
  1415. package/commands/product/multiplicity-option/reorder-product-multiplicity-options.command.ts +25 -0
  1416. package/commands/product/multiplicity-option/update-product-multiplicity-option.command.ts +24 -0
  1417. package/commands/product/update-product.command.ts +43 -0
  1418. package/commands/product/webshop/get-client-product-list-filters-values.query.ts +33 -0
  1419. package/commands/product/webshop/get-product-for-client.query.ts +17 -0
  1420. package/commands/product/webshop/get-product-list-for-client.query.ts +31 -0
  1421. package/commands/product-configuration/create-product-configuration.command.ts +15 -0
  1422. package/commands/product-configuration/delete-product-configuration.command.ts +17 -0
  1423. package/commands/product-configuration/get-product-configuration-list.query.ts +31 -0
  1424. package/commands/product-configuration/get-product-configuration.query.ts +17 -0
  1425. package/commands/product-configuration/index.ts +5 -0
  1426. package/commands/product-configuration/update-product-configuration.command.ts +15 -0
  1427. package/commands/product-image/alias/create-product-image-alias.command.ts +19 -0
  1428. package/commands/product-image/alias/delete-product-image-alias.command.ts +17 -0
  1429. package/commands/product-image/alias/update-product-image-alias.command.ts +19 -0
  1430. package/commands/product-image/create-product-image.command.ts +25 -0
  1431. package/commands/product-image/delete-product-image.command.ts +12 -0
  1432. package/commands/product-image/get-product-image-filter-values.query.ts +26 -0
  1433. package/commands/product-image/get-product-image-list.query.ts +31 -0
  1434. package/commands/product-image/get-product-image.query.ts +12 -0
  1435. package/commands/product-image/group/delete-group-product-image.command.ts +20 -0
  1436. package/commands/product-image/group/update-group-product-image.command.ts +22 -0
  1437. package/commands/product-image/index.ts +12 -0
  1438. package/commands/product-image/sync-product-image.command.ts +13 -0
  1439. package/commands/product-image/update-product-image.command.ts +25 -0
  1440. package/commands/product-image-template/create-product-image-template.command.ts +17 -0
  1441. package/commands/product-image-template/delete-group-product-image-template.command.ts +19 -0
  1442. package/commands/product-image-template/delete-product-image-template.command.ts +12 -0
  1443. package/commands/product-image-template/get-product-image-template-list.query.ts +22 -0
  1444. package/commands/product-image-template/get-product-image-template.query.ts +12 -0
  1445. package/commands/product-image-template/index.ts +7 -0
  1446. package/commands/product-image-template/start-parsing-product-image-template.command.ts +13 -0
  1447. package/commands/product-image-template/update-product-image-template.command.ts +17 -0
  1448. package/commands/product-in-package/create-product-in-package.command.ts +17 -0
  1449. package/commands/product-in-package/delete-from-orders-by-package.command.ts +18 -0
  1450. package/commands/product-in-package/delete-product-in-package.command.ts +13 -0
  1451. package/commands/product-in-package/get-product-in-package-by-uuid.query.ts +12 -0
  1452. package/commands/product-in-package/index.ts +5 -0
  1453. package/commands/product-in-package/update-product-in-package.command.ts +17 -0
  1454. package/commands/report/export-client-statement.query.ts +35 -0
  1455. package/commands/report/export-inventory-movement.query.ts +59 -0
  1456. package/commands/report/export-inventory-stock.query.ts +36 -0
  1457. package/commands/report/export-inventory-turnover.query.ts +63 -0
  1458. package/commands/report/export-sales-by-client.query.ts +46 -0
  1459. package/commands/report/export-sales-revenue.query.ts +43 -0
  1460. package/commands/report/get-report-by-client-weeks.query.ts +36 -0
  1461. package/commands/report/get-report-for-period.query.ts +49 -0
  1462. package/commands/report/get-report-group-by-client.query.ts +53 -0
  1463. package/commands/report/get-report-group-by-position.query.ts +77 -0
  1464. package/commands/report/index.ts +10 -0
  1465. package/commands/settings/get-settings-for-admin.query.ts +12 -0
  1466. package/commands/settings/get-settings.query.ts +12 -0
  1467. package/commands/settings/index.ts +3 -0
  1468. package/commands/settings/update-settings.command.ts +15 -0
  1469. package/commands/transaction/create-transaction.command.ts +26 -0
  1470. package/commands/transaction/delete-transaction.command.ts +18 -0
  1471. package/commands/transaction/export-transactions.command.ts +41 -0
  1472. package/commands/transaction/generate-check-transaction.command.ts +20 -0
  1473. package/commands/transaction/generate-pre-payment-check.command.ts +20 -0
  1474. package/commands/transaction/get-sum-transaction-by-money-account.query.ts +37 -0
  1475. package/commands/transaction/get-transaction-list.query.ts +43 -0
  1476. package/commands/transaction/get-transaction-summary.query.ts +44 -0
  1477. package/commands/transaction/get-transaction.query.ts +17 -0
  1478. package/commands/transaction/index.ts +11 -0
  1479. package/commands/transaction/update-transaction.command.ts +21 -0
  1480. package/commands/transaction/webshop/get-transaction-list-for-client.query.ts +42 -0
  1481. package/commands/type/create-type.command.ts +20 -0
  1482. package/commands/type/delete-type.command.ts +19 -0
  1483. package/commands/type/get-type-by-criteria.query.ts +17 -0
  1484. package/commands/type/get-type-by-uuid.query.ts +19 -0
  1485. package/commands/type/get-type-list.query.ts +27 -0
  1486. package/commands/type/index.ts +8 -0
  1487. package/commands/type/update-type-rank-many.command.ts +24 -0
  1488. package/commands/type/update-type-rank.command.ts +22 -0
  1489. package/commands/type/update-type.command.ts +20 -0
  1490. package/commands/user/attachUserToCompany.command.ts +12 -0
  1491. package/commands/user/create-user-global.command.ts +30 -0
  1492. package/commands/user/createUser.command.ts +15 -0
  1493. package/commands/user/createUserByClientId.command.ts +31 -0
  1494. package/commands/user/createUserForCompany.command.ts +32 -0
  1495. package/commands/user/generate-and-send-password-by-admin.command.ts +18 -0
  1496. package/commands/user/get-user-list.query.ts +28 -0
  1497. package/commands/user/getUser.command.ts +13 -0
  1498. package/commands/user/index.ts +10 -0
  1499. package/commands/user/update-password-by-user.command.ts +17 -0
  1500. package/commands/user/update-user.command.ts +21 -0
  1501. package/commands/user/updateRole.command.ts +20 -0
  1502. package/commands/work-session/close-work-session-for-employee.command.ts +12 -0
  1503. package/commands/work-session/create-many-work-session.command.ts +19 -0
  1504. package/commands/work-session/create-work-session-for-employee.command.ts +15 -0
  1505. package/commands/work-session/delete-work-session.command.ts +12 -0
  1506. package/commands/work-session/get-work-session-extended-list.query.ts +23 -0
  1507. package/commands/work-session/index.ts +6 -0
  1508. package/commands/work-session/update-work-session.command.ts +15 -0
  1509. package/commands/wrire-off-archive/create-wrire-off-archive.command.ts +22 -0
  1510. package/commands/wrire-off-archive/index.ts +2 -0
  1511. package/commands/wrire-off-archive/info-wrire-off-archive.command.ts +22 -0
  1512. package/commands/write-off/create-write-off-from-order.command.ts +23 -0
  1513. package/commands/write-off/create-write-off-from-pending.command.ts +22 -0
  1514. package/commands/write-off/create-write-off-images.command.ts +19 -0
  1515. package/commands/write-off/create-write-off.command.ts +22 -0
  1516. package/commands/write-off/delete-write-off-image.command.ts +17 -0
  1517. package/commands/write-off/delete-write-off.command.ts +18 -0
  1518. package/commands/write-off/get-write-off-list.query.ts +29 -0
  1519. package/commands/write-off/get-write-off-reason-list.query.ts +18 -0
  1520. package/commands/write-off/get-write-off-sum-by-order.query.ts +16 -0
  1521. package/commands/write-off/get-write-off.query.ts +12 -0
  1522. package/commands/write-off/index.ts +13 -0
  1523. package/commands/write-off/update-write-off-price.command.ts +20 -0
  1524. package/commands/write-off/update-write-off-status.command.ts +21 -0
  1525. package/commands/write-off/webshop/create-write-off-from-order-for-client.command.ts +22 -0
  1526. package/commands/write-off/webshop/get-write-off-list-by-order.query.ts +17 -0
  1527. package/commands/write-off/webshop/index.ts +2 -0
  1528. package/constant/error-i18n-key.ts +6 -0
  1529. package/constant/error.ts +775 -0
  1530. package/constant/index.ts +2 -0
  1531. package/constant/verbose.ts +20 -0
  1532. package/enum/action-log-type.enum.ts +14 -0
  1533. package/enum/category-status.enum.ts +4 -0
  1534. package/enum/client-import-entity-property.enum.ts +35 -0
  1535. package/enum/client-legal-type.enum.ts +4 -0
  1536. package/enum/client-statement-type.enum.ts +5 -0
  1537. package/enum/client-status.enum.ts +5 -0
  1538. package/enum/client-type.enum.ts +4 -0
  1539. package/enum/companyStatus.enum.ts +5 -0
  1540. package/enum/consignment-access-client-status.enum.ts +4 -0
  1541. package/enum/consignment-distribution-validation-status.enum.ts +4 -0
  1542. package/enum/consignment-distribution-validation-type.enum.ts +4 -0
  1543. package/enum/consignment-import-errors.enum.ts +5 -0
  1544. package/enum/consignment-import-schema-relation-entity-property.enum.ts +30 -0
  1545. package/enum/consignment-status.enum.ts +5 -0
  1546. package/enum/consignment-write-off-archives-status.enum.ts +5 -0
  1547. package/enum/context-message-context-type.enum.ts +5 -0
  1548. package/enum/country-code.enum.ts +260 -0
  1549. package/enum/delivery-route-status.enum.ts +5 -0
  1550. package/enum/discount-price-routing.enum.ts +6 -0
  1551. package/enum/discount-rules-apply-type.enum.ts +4 -0
  1552. package/enum/discount-rules-mode-type.enum.ts +4 -0
  1553. package/enum/discount-rules-status.enum.ts +4 -0
  1554. package/enum/discount-rules-type.enum.ts +7 -0
  1555. package/enum/image-type.enum.ts +4 -0
  1556. package/enum/import-error-code.enum.ts +7 -0
  1557. package/enum/index.ts +59 -0
  1558. package/enum/inventory-movement-type.enum.ts +6 -0
  1559. package/enum/language.enum.ts +4 -0
  1560. package/enum/menu-items-url.enum.ts +11 -0
  1561. package/enum/money-account-status.enum.ts +4 -0
  1562. package/enum/notification-channel.enum.ts +9 -0
  1563. package/enum/notification-status.enum.ts +6 -0
  1564. package/enum/notification-type.enum.ts +6 -0
  1565. package/enum/order-active-status-list.ts +11 -0
  1566. package/enum/order-balance-status-list.ts +9 -0
  1567. package/enum/order-by.enum.ts +4 -0
  1568. package/enum/order-delivery-status.enum.ts +4 -0
  1569. package/enum/order-distribute-status-list.ts +8 -0
  1570. package/enum/order-restricted-status-list.ts +3 -0
  1571. package/enum/order-status.enum.ts +13 -0
  1572. package/enum/order-type.enum.ts +4 -0
  1573. package/enum/order-webshop-available-status-list.ts +13 -0
  1574. package/enum/package-status.enum.ts +5 -0
  1575. package/enum/package-type.enum.ts +32 -0
  1576. package/enum/parse-status.enum.ts +5 -0
  1577. package/enum/position-report-type.enum.ts +4 -0
  1578. package/enum/pre-order-aggregation-mode.enum.ts +5 -0
  1579. package/enum/pre-order-collection-item-import-entity-property.enum.ts +27 -0
  1580. package/enum/pre-order-collection-status.enum.ts +4 -0
  1581. package/enum/pre-order-status.enum.ts +8 -0
  1582. package/enum/product-image-created-from.enum.ts +4 -0
  1583. package/enum/product-image-order.enum.ts +4 -0
  1584. package/enum/product-in-package-status.enum.ts +4 -0
  1585. package/enum/report-period-type.enum.ts +5 -0
  1586. package/enum/sales-unit.enum.ts +5 -0
  1587. package/enum/security-code-status.enum.ts +7 -0
  1588. package/enum/transaction-type-groups.ts +16 -0
  1589. package/enum/transaction-type.enum.ts +6 -0
  1590. package/enum/user-type.enum.ts +4 -0
  1591. package/enum/userRole.enum.ts +14 -0
  1592. package/enum/userStatus.enum.ts +5 -0
  1593. package/enum/webshop-main-display-mode.enum.ts +4 -0
  1594. package/enum/webshop-mode.enum.ts +4 -0
  1595. package/enum/write-off-status.enum.ts +5 -0
  1596. package/helpers/date.helper.ts +11 -0
  1597. package/index.ts +5 -0
  1598. package/package.json +20 -0
  1599. package/schemas/action-log/action-log-payload.schema.ts +27 -0
  1600. package/schemas/action-log/action-log.schema.ts +106 -0
  1601. package/schemas/action-log/index.ts +14 -0
  1602. package/schemas/action-log/order-create-action-log.schema.ts +6 -0
  1603. package/schemas/action-log/order-delete-action-log-payload.schema.ts +6 -0
  1604. package/schemas/action-log/order-info.schema.ts +12 -0
  1605. package/schemas/action-log/order-product-delete-action-log.schema.ts +6 -0
  1606. package/schemas/action-log/order-product-info.schema.ts +14 -0
  1607. package/schemas/action-log/order-product-update-action-log.schema.ts +8 -0
  1608. package/schemas/action-log/order-update-action-log.schema.ts +7 -0
  1609. package/schemas/action-log/pre-order-create-action-log.schema.ts +6 -0
  1610. package/schemas/action-log/pre-order-delete-action-log.schema.ts +6 -0
  1611. package/schemas/action-log/pre-order-info.schema.ts +9 -0
  1612. package/schemas/action-log/pre-order-product-delete-action-log.schema.ts +6 -0
  1613. package/schemas/action-log/pre-order-product-info.schema.ts +11 -0
  1614. package/schemas/action-log/pre-order-product-update-action-log.schema.ts +9 -0
  1615. package/schemas/action-log/transaction-add-action-log.schema.ts +6 -0
  1616. package/schemas/action-log/transaction-delete-action-log.schema.ts +6 -0
  1617. package/schemas/action-log/transaction-info.schema.ts +11 -0
  1618. package/schemas/branch/branch-list.schema.ts +7 -0
  1619. package/schemas/branch/branch.schema.ts +15 -0
  1620. package/schemas/category/category.schema.ts +19 -0
  1621. package/schemas/category-alias/category-alias.schema.ts +16 -0
  1622. package/schemas/category-template/category-template.schema.ts +18 -0
  1623. package/schemas/category-template/index.ts +1 -0
  1624. package/schemas/client/client-individual-profile.schema.ts +11 -0
  1625. package/schemas/client/client-legal-profile.schema.ts +23 -0
  1626. package/schemas/client/client-marking.schema.ts +6 -0
  1627. package/schemas/client/client.schema.ts +56 -0
  1628. package/schemas/client/index.ts +4 -0
  1629. package/schemas/company/company.schema.ts +12 -0
  1630. package/schemas/company/companyList.schema.ts +7 -0
  1631. package/schemas/consignment/consignment-distribution-validation.schema.ts +20 -0
  1632. package/schemas/consignment/consignment-list.schema.ts +7 -0
  1633. package/schemas/consignment/consignment.schema.ts +57 -0
  1634. package/schemas/consignment-import-schema/consignment-import-schema.scheme.ts +43 -0
  1635. package/schemas/consignment-import-schema/index.ts +1 -0
  1636. package/schemas/consignment-import-schema-relation/consignment-import-schema-relation.schema.ts +10 -0
  1637. package/schemas/delete-data-response.schema.ts +5 -0
  1638. package/schemas/delivery-route/delivery-route.schema.ts +51 -0
  1639. package/schemas/discount-rules/discount-rules.schema.ts +123 -0
  1640. package/schemas/distribution/distribution.schema.ts +24 -0
  1641. package/schemas/distribution/validate-distribution-by-product.schema.ts +7 -0
  1642. package/schemas/domain/domain.schema.ts +24 -0
  1643. package/schemas/employee-schedule/employee-schedule.schema.ts +45 -0
  1644. package/schemas/file/file.schema.ts +5 -0
  1645. package/schemas/file/index.ts +1 -0
  1646. package/schemas/index.ts +53 -0
  1647. package/schemas/message/client-inbox-item.schema.ts +13 -0
  1648. package/schemas/message/context-inbox.schema.ts +22 -0
  1649. package/schemas/message/context-message-list.schema.ts +10 -0
  1650. package/schemas/message/context-message.schema.ts +19 -0
  1651. package/schemas/message/index.ts +4 -0
  1652. package/schemas/money-account/money-account.schema.ts +14 -0
  1653. package/schemas/order/order.schema.ts +63 -0
  1654. package/schemas/order-delivery/order-delivery.schema.ts +12 -0
  1655. package/schemas/order-product/order-product-list.schema.ts +12 -0
  1656. package/schemas/order-product/order-product-multiplicity-optiom.schema.ts +8 -0
  1657. package/schemas/order-product/order-product.schema.ts +58 -0
  1658. package/schemas/package/package.schema.ts +101 -0
  1659. package/schemas/package/validate-package.schema.ts +7 -0
  1660. package/schemas/pre-order/pre-order-copy.schema.ts +21 -0
  1661. package/schemas/pre-order/pre-order.schema.ts +54 -0
  1662. package/schemas/pre-order-collection/pre-order-collection.schema.ts +60 -0
  1663. package/schemas/pre-order-collection-item/pre-order-collection-item-multiplicity-option.schema.ts +9 -0
  1664. package/schemas/pre-order-collection-item/pre-order-collection-item.schema.ts +138 -0
  1665. package/schemas/pre-order-product/pre-order-product.schema.ts +108 -0
  1666. package/schemas/product/product-list.schema.ts +12 -0
  1667. package/schemas/product/product-multiplicity-option.schema.ts +9 -0
  1668. package/schemas/product/product.schema.ts +118 -0
  1669. package/schemas/product-configuration/product-configuration.schema.ts +32 -0
  1670. package/schemas/product-image/product-image-alias.schema.ts +6 -0
  1671. package/schemas/product-image/product-image.schema.ts +32 -0
  1672. package/schemas/product-image-template/product-image-template.schema.ts +22 -0
  1673. package/schemas/product-in-package/product-in-package.schema.ts +30 -0
  1674. package/schemas/report/client-by-weeks.schema.ts +12 -0
  1675. package/schemas/report/client-statement.schema.ts +11 -0
  1676. package/schemas/settings/settings.schema.ts +193 -0
  1677. package/schemas/transaction/transaction-list.schema.ts +12 -0
  1678. package/schemas/transaction/transaction.schema.ts +35 -0
  1679. package/schemas/type/type.schema.ts +16 -0
  1680. package/schemas/type/typeList.schema.ts +7 -0
  1681. package/schemas/user/user.schema.ts +27 -0
  1682. package/schemas/work-session/work-session.schema.ts +44 -0
  1683. package/schemas/write-off/write-off-image.schema.ts +9 -0
  1684. package/schemas/write-off/write-off-list.schema.ts +7 -0
  1685. package/schemas/write-off/write-off.schema.ts +30 -0
  1686. package/tsconfig.json +103 -0
  1687. package/types/client-import-data.type.ts +38 -0
  1688. package/types/index.ts +1 -0
@@ -0,0 +1,1794 @@
1
+ import { z } from 'zod';
2
+ import { DiscountRulesTypeEnum, DiscountRulesApplyTypeEnum, DiscountRulesStatusEnum, DiscountRulesModeTypeEnum } from '../../enum';
3
+ export declare const discountRulesModeSchema: z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
4
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
5
+ discountValue: z.ZodNumber;
6
+ }, "strip", z.ZodTypeAny, {
7
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
8
+ discountValue: number;
9
+ }, {
10
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
11
+ discountValue: number;
12
+ }>, z.ZodObject<{
13
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
14
+ discountValue: z.ZodNumber;
15
+ }, "strip", z.ZodTypeAny, {
16
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
17
+ discountValue: number;
18
+ }, {
19
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
20
+ discountValue: number;
21
+ }>]>;
22
+ export declare const DiscountRulesTypeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
23
+ type: z.ZodLiteral<DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
24
+ data: z.ZodObject<{
25
+ discountPercent: z.ZodNumber;
26
+ }, "strip", z.ZodTypeAny, {
27
+ discountPercent: number;
28
+ }, {
29
+ discountPercent: number;
30
+ }>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
33
+ data: {
34
+ discountPercent: number;
35
+ };
36
+ }, {
37
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
38
+ data: {
39
+ discountPercent: number;
40
+ };
41
+ }>, z.ZodObject<{
42
+ type: z.ZodLiteral<DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
43
+ data: z.ZodObject<{
44
+ range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
45
+ discountPercent: z.ZodNumber;
46
+ }, "strip", z.ZodTypeAny, {
47
+ discountPercent: number;
48
+ range: number[];
49
+ }, {
50
+ discountPercent: number;
51
+ range: number[];
52
+ }>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
55
+ data: {
56
+ discountPercent: number;
57
+ range: number[];
58
+ };
59
+ }, {
60
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
61
+ data: {
62
+ discountPercent: number;
63
+ range: number[];
64
+ };
65
+ }>, z.ZodObject<{
66
+ type: z.ZodLiteral<DiscountRulesTypeEnum.QUANTITY_BASED>;
67
+ data: z.ZodIntersection<z.ZodObject<{
68
+ multipleQuantity: z.ZodNumber;
69
+ }, "strip", z.ZodTypeAny, {
70
+ multipleQuantity: number;
71
+ }, {
72
+ multipleQuantity: number;
73
+ }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
74
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
75
+ discountValue: z.ZodNumber;
76
+ }, "strip", z.ZodTypeAny, {
77
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
78
+ discountValue: number;
79
+ }, {
80
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
81
+ discountValue: number;
82
+ }>, z.ZodObject<{
83
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
84
+ discountValue: z.ZodNumber;
85
+ }, "strip", z.ZodTypeAny, {
86
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
87
+ discountValue: number;
88
+ }, {
89
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
90
+ discountValue: number;
91
+ }>]>>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
94
+ data: ({
95
+ multipleQuantity: number;
96
+ } & {
97
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
98
+ discountValue: number;
99
+ }) | ({
100
+ multipleQuantity: number;
101
+ } & {
102
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
103
+ discountValue: number;
104
+ });
105
+ }, {
106
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
107
+ data: ({
108
+ multipleQuantity: number;
109
+ } & {
110
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
111
+ discountValue: number;
112
+ }) | ({
113
+ multipleQuantity: number;
114
+ } & {
115
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
116
+ discountValue: number;
117
+ });
118
+ }>, z.ZodObject<{
119
+ type: z.ZodLiteral<DiscountRulesTypeEnum.ITEM_DISCOUNT>;
120
+ data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
121
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
122
+ discountValue: z.ZodNumber;
123
+ }, "strip", z.ZodTypeAny, {
124
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
125
+ discountValue: number;
126
+ }, {
127
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
128
+ discountValue: number;
129
+ }>, z.ZodObject<{
130
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
131
+ discountValue: z.ZodNumber;
132
+ }, "strip", z.ZodTypeAny, {
133
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
134
+ discountValue: number;
135
+ }, {
136
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
137
+ discountValue: number;
138
+ }>]>>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
141
+ data: ({} & {
142
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
143
+ discountValue: number;
144
+ }) | ({} & {
145
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
146
+ discountValue: number;
147
+ });
148
+ }, {
149
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
150
+ data: ({} & {
151
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
152
+ discountValue: number;
153
+ }) | ({} & {
154
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
155
+ discountValue: number;
156
+ });
157
+ }>, z.ZodObject<{
158
+ type: z.ZodLiteral<DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
159
+ data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
162
+ data: {};
163
+ }, {
164
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
165
+ data?: {} | undefined;
166
+ }>]>;
167
+ export declare const DiscountRulesBaseSchema: z.ZodObject<{
168
+ uuid: z.ZodString;
169
+ companyUUID: z.ZodString;
170
+ type: z.ZodNativeEnum<typeof DiscountRulesTypeEnum>;
171
+ defaultApplyProduct: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
172
+ defaultApplyClient: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
173
+ status: z.ZodNativeEnum<typeof DiscountRulesStatusEnum>;
174
+ createdAt: z.ZodDate;
175
+ updatedAt: z.ZodDate;
176
+ }, "strip", z.ZodTypeAny, {
177
+ type: DiscountRulesTypeEnum;
178
+ status: DiscountRulesStatusEnum;
179
+ uuid: string;
180
+ createdAt: Date;
181
+ updatedAt: Date;
182
+ companyUUID: string;
183
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
184
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
185
+ }, {
186
+ type: DiscountRulesTypeEnum;
187
+ status: DiscountRulesStatusEnum;
188
+ uuid: string;
189
+ createdAt: Date;
190
+ updatedAt: Date;
191
+ companyUUID: string;
192
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
193
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
194
+ }>;
195
+ export declare const DiscountRulesSchema: z.ZodIntersection<z.ZodObject<{
196
+ uuid: z.ZodString;
197
+ companyUUID: z.ZodString;
198
+ type: z.ZodNativeEnum<typeof DiscountRulesTypeEnum>;
199
+ defaultApplyProduct: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
200
+ defaultApplyClient: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
201
+ status: z.ZodNativeEnum<typeof DiscountRulesStatusEnum>;
202
+ createdAt: z.ZodDate;
203
+ updatedAt: z.ZodDate;
204
+ }, "strip", z.ZodTypeAny, {
205
+ type: DiscountRulesTypeEnum;
206
+ status: DiscountRulesStatusEnum;
207
+ uuid: string;
208
+ createdAt: Date;
209
+ updatedAt: Date;
210
+ companyUUID: string;
211
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
212
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
213
+ }, {
214
+ type: DiscountRulesTypeEnum;
215
+ status: DiscountRulesStatusEnum;
216
+ uuid: string;
217
+ createdAt: Date;
218
+ updatedAt: Date;
219
+ companyUUID: string;
220
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
221
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
222
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
223
+ type: z.ZodLiteral<DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
224
+ data: z.ZodObject<{
225
+ discountPercent: z.ZodNumber;
226
+ }, "strip", z.ZodTypeAny, {
227
+ discountPercent: number;
228
+ }, {
229
+ discountPercent: number;
230
+ }>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
233
+ data: {
234
+ discountPercent: number;
235
+ };
236
+ }, {
237
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
238
+ data: {
239
+ discountPercent: number;
240
+ };
241
+ }>, z.ZodObject<{
242
+ type: z.ZodLiteral<DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
243
+ data: z.ZodObject<{
244
+ range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
245
+ discountPercent: z.ZodNumber;
246
+ }, "strip", z.ZodTypeAny, {
247
+ discountPercent: number;
248
+ range: number[];
249
+ }, {
250
+ discountPercent: number;
251
+ range: number[];
252
+ }>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
255
+ data: {
256
+ discountPercent: number;
257
+ range: number[];
258
+ };
259
+ }, {
260
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
261
+ data: {
262
+ discountPercent: number;
263
+ range: number[];
264
+ };
265
+ }>, z.ZodObject<{
266
+ type: z.ZodLiteral<DiscountRulesTypeEnum.QUANTITY_BASED>;
267
+ data: z.ZodIntersection<z.ZodObject<{
268
+ multipleQuantity: z.ZodNumber;
269
+ }, "strip", z.ZodTypeAny, {
270
+ multipleQuantity: number;
271
+ }, {
272
+ multipleQuantity: number;
273
+ }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
274
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
275
+ discountValue: z.ZodNumber;
276
+ }, "strip", z.ZodTypeAny, {
277
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
278
+ discountValue: number;
279
+ }, {
280
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
281
+ discountValue: number;
282
+ }>, z.ZodObject<{
283
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
284
+ discountValue: z.ZodNumber;
285
+ }, "strip", z.ZodTypeAny, {
286
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
287
+ discountValue: number;
288
+ }, {
289
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
290
+ discountValue: number;
291
+ }>]>>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
294
+ data: ({
295
+ multipleQuantity: number;
296
+ } & {
297
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
298
+ discountValue: number;
299
+ }) | ({
300
+ multipleQuantity: number;
301
+ } & {
302
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
303
+ discountValue: number;
304
+ });
305
+ }, {
306
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
307
+ data: ({
308
+ multipleQuantity: number;
309
+ } & {
310
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
311
+ discountValue: number;
312
+ }) | ({
313
+ multipleQuantity: number;
314
+ } & {
315
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
316
+ discountValue: number;
317
+ });
318
+ }>, z.ZodObject<{
319
+ type: z.ZodLiteral<DiscountRulesTypeEnum.ITEM_DISCOUNT>;
320
+ data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
321
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
322
+ discountValue: z.ZodNumber;
323
+ }, "strip", z.ZodTypeAny, {
324
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
325
+ discountValue: number;
326
+ }, {
327
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
328
+ discountValue: number;
329
+ }>, z.ZodObject<{
330
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
331
+ discountValue: z.ZodNumber;
332
+ }, "strip", z.ZodTypeAny, {
333
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
334
+ discountValue: number;
335
+ }, {
336
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
337
+ discountValue: number;
338
+ }>]>>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
341
+ data: ({} & {
342
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
343
+ discountValue: number;
344
+ }) | ({} & {
345
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
346
+ discountValue: number;
347
+ });
348
+ }, {
349
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
350
+ data: ({} & {
351
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
352
+ discountValue: number;
353
+ }) | ({} & {
354
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
355
+ discountValue: number;
356
+ });
357
+ }>, z.ZodObject<{
358
+ type: z.ZodLiteral<DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
359
+ data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
362
+ data: {};
363
+ }, {
364
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
365
+ data?: {} | undefined;
366
+ }>]>>;
367
+ export declare const CreateDiscountRulesSchema: z.ZodIntersection<z.ZodObject<{
368
+ type: z.ZodNativeEnum<typeof DiscountRulesTypeEnum>;
369
+ defaultApplyProduct: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
370
+ defaultApplyClient: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
371
+ clientsUUID: z.ZodArray<z.ZodString, "many">;
372
+ productsUUID: z.ZodArray<z.ZodString, "many">;
373
+ }, "strip", z.ZodTypeAny, {
374
+ type: DiscountRulesTypeEnum;
375
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
376
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
377
+ clientsUUID: string[];
378
+ productsUUID: string[];
379
+ }, {
380
+ type: DiscountRulesTypeEnum;
381
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
382
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
383
+ clientsUUID: string[];
384
+ productsUUID: string[];
385
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
386
+ type: z.ZodLiteral<DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
387
+ data: z.ZodObject<{
388
+ discountPercent: z.ZodNumber;
389
+ }, "strip", z.ZodTypeAny, {
390
+ discountPercent: number;
391
+ }, {
392
+ discountPercent: number;
393
+ }>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
396
+ data: {
397
+ discountPercent: number;
398
+ };
399
+ }, {
400
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
401
+ data: {
402
+ discountPercent: number;
403
+ };
404
+ }>, z.ZodObject<{
405
+ type: z.ZodLiteral<DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
406
+ data: z.ZodObject<{
407
+ range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
408
+ discountPercent: z.ZodNumber;
409
+ }, "strip", z.ZodTypeAny, {
410
+ discountPercent: number;
411
+ range: number[];
412
+ }, {
413
+ discountPercent: number;
414
+ range: number[];
415
+ }>;
416
+ }, "strip", z.ZodTypeAny, {
417
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
418
+ data: {
419
+ discountPercent: number;
420
+ range: number[];
421
+ };
422
+ }, {
423
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
424
+ data: {
425
+ discountPercent: number;
426
+ range: number[];
427
+ };
428
+ }>, z.ZodObject<{
429
+ type: z.ZodLiteral<DiscountRulesTypeEnum.QUANTITY_BASED>;
430
+ data: z.ZodIntersection<z.ZodObject<{
431
+ multipleQuantity: z.ZodNumber;
432
+ }, "strip", z.ZodTypeAny, {
433
+ multipleQuantity: number;
434
+ }, {
435
+ multipleQuantity: number;
436
+ }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
437
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
438
+ discountValue: z.ZodNumber;
439
+ }, "strip", z.ZodTypeAny, {
440
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
441
+ discountValue: number;
442
+ }, {
443
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
444
+ discountValue: number;
445
+ }>, z.ZodObject<{
446
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
447
+ discountValue: z.ZodNumber;
448
+ }, "strip", z.ZodTypeAny, {
449
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
450
+ discountValue: number;
451
+ }, {
452
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
453
+ discountValue: number;
454
+ }>]>>;
455
+ }, "strip", z.ZodTypeAny, {
456
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
457
+ data: ({
458
+ multipleQuantity: number;
459
+ } & {
460
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
461
+ discountValue: number;
462
+ }) | ({
463
+ multipleQuantity: number;
464
+ } & {
465
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
466
+ discountValue: number;
467
+ });
468
+ }, {
469
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
470
+ data: ({
471
+ multipleQuantity: number;
472
+ } & {
473
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
474
+ discountValue: number;
475
+ }) | ({
476
+ multipleQuantity: number;
477
+ } & {
478
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
479
+ discountValue: number;
480
+ });
481
+ }>, z.ZodObject<{
482
+ type: z.ZodLiteral<DiscountRulesTypeEnum.ITEM_DISCOUNT>;
483
+ data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
484
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
485
+ discountValue: z.ZodNumber;
486
+ }, "strip", z.ZodTypeAny, {
487
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
488
+ discountValue: number;
489
+ }, {
490
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
491
+ discountValue: number;
492
+ }>, z.ZodObject<{
493
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
494
+ discountValue: z.ZodNumber;
495
+ }, "strip", z.ZodTypeAny, {
496
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
497
+ discountValue: number;
498
+ }, {
499
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
500
+ discountValue: number;
501
+ }>]>>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
504
+ data: ({} & {
505
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
506
+ discountValue: number;
507
+ }) | ({} & {
508
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
509
+ discountValue: number;
510
+ });
511
+ }, {
512
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
513
+ data: ({} & {
514
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
515
+ discountValue: number;
516
+ }) | ({} & {
517
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
518
+ discountValue: number;
519
+ });
520
+ }>, z.ZodObject<{
521
+ type: z.ZodLiteral<DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
522
+ data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
523
+ }, "strip", z.ZodTypeAny, {
524
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
525
+ data: {};
526
+ }, {
527
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
528
+ data?: {} | undefined;
529
+ }>]>>;
530
+ export declare const UpdateDiscountRulesSchema: z.ZodIntersection<z.ZodObject<{
531
+ type: z.ZodOptional<z.ZodNativeEnum<typeof DiscountRulesTypeEnum>>;
532
+ status: z.ZodOptional<z.ZodNativeEnum<typeof DiscountRulesStatusEnum>>;
533
+ defaultApplyProduct: z.ZodOptional<z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>>;
534
+ defaultApplyClient: z.ZodOptional<z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>>;
535
+ clientsUUID: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
536
+ productsUUID: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ type?: DiscountRulesTypeEnum | undefined;
539
+ status?: DiscountRulesStatusEnum | undefined;
540
+ defaultApplyProduct?: DiscountRulesApplyTypeEnum | undefined;
541
+ defaultApplyClient?: DiscountRulesApplyTypeEnum | undefined;
542
+ clientsUUID?: string[] | undefined;
543
+ productsUUID?: string[] | undefined;
544
+ }, {
545
+ type?: DiscountRulesTypeEnum | undefined;
546
+ status?: DiscountRulesStatusEnum | undefined;
547
+ defaultApplyProduct?: DiscountRulesApplyTypeEnum | undefined;
548
+ defaultApplyClient?: DiscountRulesApplyTypeEnum | undefined;
549
+ clientsUUID?: string[] | undefined;
550
+ productsUUID?: string[] | undefined;
551
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
552
+ type: z.ZodLiteral<DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
553
+ data: z.ZodObject<{
554
+ discountPercent: z.ZodNumber;
555
+ }, "strip", z.ZodTypeAny, {
556
+ discountPercent: number;
557
+ }, {
558
+ discountPercent: number;
559
+ }>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
562
+ data: {
563
+ discountPercent: number;
564
+ };
565
+ }, {
566
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
567
+ data: {
568
+ discountPercent: number;
569
+ };
570
+ }>, z.ZodObject<{
571
+ type: z.ZodLiteral<DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
572
+ data: z.ZodObject<{
573
+ range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
574
+ discountPercent: z.ZodNumber;
575
+ }, "strip", z.ZodTypeAny, {
576
+ discountPercent: number;
577
+ range: number[];
578
+ }, {
579
+ discountPercent: number;
580
+ range: number[];
581
+ }>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
584
+ data: {
585
+ discountPercent: number;
586
+ range: number[];
587
+ };
588
+ }, {
589
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
590
+ data: {
591
+ discountPercent: number;
592
+ range: number[];
593
+ };
594
+ }>, z.ZodObject<{
595
+ type: z.ZodLiteral<DiscountRulesTypeEnum.QUANTITY_BASED>;
596
+ data: z.ZodIntersection<z.ZodObject<{
597
+ multipleQuantity: z.ZodNumber;
598
+ }, "strip", z.ZodTypeAny, {
599
+ multipleQuantity: number;
600
+ }, {
601
+ multipleQuantity: number;
602
+ }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
603
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
604
+ discountValue: z.ZodNumber;
605
+ }, "strip", z.ZodTypeAny, {
606
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
607
+ discountValue: number;
608
+ }, {
609
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
610
+ discountValue: number;
611
+ }>, z.ZodObject<{
612
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
613
+ discountValue: z.ZodNumber;
614
+ }, "strip", z.ZodTypeAny, {
615
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
616
+ discountValue: number;
617
+ }, {
618
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
619
+ discountValue: number;
620
+ }>]>>;
621
+ }, "strip", z.ZodTypeAny, {
622
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
623
+ data: ({
624
+ multipleQuantity: number;
625
+ } & {
626
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
627
+ discountValue: number;
628
+ }) | ({
629
+ multipleQuantity: number;
630
+ } & {
631
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
632
+ discountValue: number;
633
+ });
634
+ }, {
635
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
636
+ data: ({
637
+ multipleQuantity: number;
638
+ } & {
639
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
640
+ discountValue: number;
641
+ }) | ({
642
+ multipleQuantity: number;
643
+ } & {
644
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
645
+ discountValue: number;
646
+ });
647
+ }>, z.ZodObject<{
648
+ type: z.ZodLiteral<DiscountRulesTypeEnum.ITEM_DISCOUNT>;
649
+ data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
650
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
651
+ discountValue: z.ZodNumber;
652
+ }, "strip", z.ZodTypeAny, {
653
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
654
+ discountValue: number;
655
+ }, {
656
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
657
+ discountValue: number;
658
+ }>, z.ZodObject<{
659
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
660
+ discountValue: z.ZodNumber;
661
+ }, "strip", z.ZodTypeAny, {
662
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
663
+ discountValue: number;
664
+ }, {
665
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
666
+ discountValue: number;
667
+ }>]>>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
670
+ data: ({} & {
671
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
672
+ discountValue: number;
673
+ }) | ({} & {
674
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
675
+ discountValue: number;
676
+ });
677
+ }, {
678
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
679
+ data: ({} & {
680
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
681
+ discountValue: number;
682
+ }) | ({} & {
683
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
684
+ discountValue: number;
685
+ });
686
+ }>, z.ZodObject<{
687
+ type: z.ZodLiteral<DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
688
+ data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
691
+ data: {};
692
+ }, {
693
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
694
+ data?: {} | undefined;
695
+ }>]>>;
696
+ export declare const DiscountRulesListSchema: z.ZodObject<{
697
+ list: z.ZodArray<z.ZodIntersection<z.ZodObject<{
698
+ uuid: z.ZodString;
699
+ companyUUID: z.ZodString;
700
+ type: z.ZodNativeEnum<typeof DiscountRulesTypeEnum>;
701
+ defaultApplyProduct: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
702
+ defaultApplyClient: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
703
+ status: z.ZodNativeEnum<typeof DiscountRulesStatusEnum>;
704
+ createdAt: z.ZodDate;
705
+ updatedAt: z.ZodDate;
706
+ }, "strip", z.ZodTypeAny, {
707
+ type: DiscountRulesTypeEnum;
708
+ status: DiscountRulesStatusEnum;
709
+ uuid: string;
710
+ createdAt: Date;
711
+ updatedAt: Date;
712
+ companyUUID: string;
713
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
714
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
715
+ }, {
716
+ type: DiscountRulesTypeEnum;
717
+ status: DiscountRulesStatusEnum;
718
+ uuid: string;
719
+ createdAt: Date;
720
+ updatedAt: Date;
721
+ companyUUID: string;
722
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
723
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
724
+ }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
725
+ type: z.ZodLiteral<DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
726
+ data: z.ZodObject<{
727
+ discountPercent: z.ZodNumber;
728
+ }, "strip", z.ZodTypeAny, {
729
+ discountPercent: number;
730
+ }, {
731
+ discountPercent: number;
732
+ }>;
733
+ }, "strip", z.ZodTypeAny, {
734
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
735
+ data: {
736
+ discountPercent: number;
737
+ };
738
+ }, {
739
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
740
+ data: {
741
+ discountPercent: number;
742
+ };
743
+ }>, z.ZodObject<{
744
+ type: z.ZodLiteral<DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
745
+ data: z.ZodObject<{
746
+ range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
747
+ discountPercent: z.ZodNumber;
748
+ }, "strip", z.ZodTypeAny, {
749
+ discountPercent: number;
750
+ range: number[];
751
+ }, {
752
+ discountPercent: number;
753
+ range: number[];
754
+ }>;
755
+ }, "strip", z.ZodTypeAny, {
756
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
757
+ data: {
758
+ discountPercent: number;
759
+ range: number[];
760
+ };
761
+ }, {
762
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
763
+ data: {
764
+ discountPercent: number;
765
+ range: number[];
766
+ };
767
+ }>, z.ZodObject<{
768
+ type: z.ZodLiteral<DiscountRulesTypeEnum.QUANTITY_BASED>;
769
+ data: z.ZodIntersection<z.ZodObject<{
770
+ multipleQuantity: z.ZodNumber;
771
+ }, "strip", z.ZodTypeAny, {
772
+ multipleQuantity: number;
773
+ }, {
774
+ multipleQuantity: number;
775
+ }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
776
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
777
+ discountValue: z.ZodNumber;
778
+ }, "strip", z.ZodTypeAny, {
779
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
780
+ discountValue: number;
781
+ }, {
782
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
783
+ discountValue: number;
784
+ }>, z.ZodObject<{
785
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
786
+ discountValue: z.ZodNumber;
787
+ }, "strip", z.ZodTypeAny, {
788
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
789
+ discountValue: number;
790
+ }, {
791
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
792
+ discountValue: number;
793
+ }>]>>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
796
+ data: ({
797
+ multipleQuantity: number;
798
+ } & {
799
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
800
+ discountValue: number;
801
+ }) | ({
802
+ multipleQuantity: number;
803
+ } & {
804
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
805
+ discountValue: number;
806
+ });
807
+ }, {
808
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
809
+ data: ({
810
+ multipleQuantity: number;
811
+ } & {
812
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
813
+ discountValue: number;
814
+ }) | ({
815
+ multipleQuantity: number;
816
+ } & {
817
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
818
+ discountValue: number;
819
+ });
820
+ }>, z.ZodObject<{
821
+ type: z.ZodLiteral<DiscountRulesTypeEnum.ITEM_DISCOUNT>;
822
+ data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
823
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
824
+ discountValue: z.ZodNumber;
825
+ }, "strip", z.ZodTypeAny, {
826
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
827
+ discountValue: number;
828
+ }, {
829
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
830
+ discountValue: number;
831
+ }>, z.ZodObject<{
832
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
833
+ discountValue: z.ZodNumber;
834
+ }, "strip", z.ZodTypeAny, {
835
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
836
+ discountValue: number;
837
+ }, {
838
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
839
+ discountValue: number;
840
+ }>]>>;
841
+ }, "strip", z.ZodTypeAny, {
842
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
843
+ data: ({} & {
844
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
845
+ discountValue: number;
846
+ }) | ({} & {
847
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
848
+ discountValue: number;
849
+ });
850
+ }, {
851
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
852
+ data: ({} & {
853
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
854
+ discountValue: number;
855
+ }) | ({} & {
856
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
857
+ discountValue: number;
858
+ });
859
+ }>, z.ZodObject<{
860
+ type: z.ZodLiteral<DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
861
+ data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
864
+ data: {};
865
+ }, {
866
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
867
+ data?: {} | undefined;
868
+ }>]>>, "many">;
869
+ total: z.ZodNumber;
870
+ }, "strip", z.ZodTypeAny, {
871
+ total: number;
872
+ list: ({
873
+ type: DiscountRulesTypeEnum;
874
+ status: DiscountRulesStatusEnum;
875
+ uuid: string;
876
+ createdAt: Date;
877
+ updatedAt: Date;
878
+ companyUUID: string;
879
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
880
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
881
+ } & ({
882
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
883
+ data: {
884
+ discountPercent: number;
885
+ };
886
+ } | {
887
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
888
+ data: {
889
+ discountPercent: number;
890
+ range: number[];
891
+ };
892
+ } | {
893
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
894
+ data: ({
895
+ multipleQuantity: number;
896
+ } & {
897
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
898
+ discountValue: number;
899
+ }) | ({
900
+ multipleQuantity: number;
901
+ } & {
902
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
903
+ discountValue: number;
904
+ });
905
+ } | {
906
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
907
+ data: ({} & {
908
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
909
+ discountValue: number;
910
+ }) | ({} & {
911
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
912
+ discountValue: number;
913
+ });
914
+ } | {
915
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
916
+ data: {};
917
+ }))[];
918
+ }, {
919
+ total: number;
920
+ list: ({
921
+ type: DiscountRulesTypeEnum;
922
+ status: DiscountRulesStatusEnum;
923
+ uuid: string;
924
+ createdAt: Date;
925
+ updatedAt: Date;
926
+ companyUUID: string;
927
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
928
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
929
+ } & ({
930
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
931
+ data: {
932
+ discountPercent: number;
933
+ };
934
+ } | {
935
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
936
+ data: {
937
+ discountPercent: number;
938
+ range: number[];
939
+ };
940
+ } | {
941
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
942
+ data: ({
943
+ multipleQuantity: number;
944
+ } & {
945
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
946
+ discountValue: number;
947
+ }) | ({
948
+ multipleQuantity: number;
949
+ } & {
950
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
951
+ discountValue: number;
952
+ });
953
+ } | {
954
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
955
+ data: ({} & {
956
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
957
+ discountValue: number;
958
+ }) | ({} & {
959
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
960
+ discountValue: number;
961
+ });
962
+ } | {
963
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
964
+ data?: {} | undefined;
965
+ }))[];
966
+ }>;
967
+ export declare const DiscountRulesBaseExtendedSchema: z.ZodLazy<z.ZodObject<{
968
+ type: z.ZodNativeEnum<typeof DiscountRulesTypeEnum>;
969
+ status: z.ZodNativeEnum<typeof DiscountRulesStatusEnum>;
970
+ uuid: z.ZodString;
971
+ createdAt: z.ZodDate;
972
+ updatedAt: z.ZodDate;
973
+ companyUUID: z.ZodString;
974
+ defaultApplyProduct: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
975
+ defaultApplyClient: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
976
+ clients: z.ZodArray<z.ZodObject<{
977
+ uuid: z.ZodString;
978
+ name: z.ZodString;
979
+ contactName: z.ZodNullable<z.ZodString>;
980
+ phone: z.ZodNullable<z.ZodString>;
981
+ email: z.ZodNullable<z.ZodString>;
982
+ status: z.ZodNativeEnum<typeof import("../../enum/client-status.enum").ClientStatusEnum>;
983
+ isCommon: z.ZodBoolean;
984
+ contractNumber: z.ZodNullable<z.ZodString>;
985
+ contractDate: z.ZodNullable<z.ZodDate>;
986
+ address: z.ZodNullable<z.ZodString>;
987
+ city: z.ZodNullable<z.ZodString>;
988
+ code: z.ZodNullable<z.ZodString>;
989
+ group: z.ZodNullable<z.ZodString>;
990
+ marking: z.ZodNullable<z.ZodString>;
991
+ alwaysRequiresDelivery: z.ZodBoolean;
992
+ additionalPhone: z.ZodNullable<z.ZodString>;
993
+ comment: z.ZodNullable<z.ZodString>;
994
+ balance: z.ZodNumber;
995
+ deletedAt: z.ZodNullable<z.ZodDate>;
996
+ createdAt: z.ZodDate;
997
+ updatedAt: z.ZodDate;
998
+ companyUUID: z.ZodString;
999
+ clientType: z.ZodNativeEnum<typeof import("../../enum/client-type.enum").ClientTypeEnum>;
1000
+ responsibleUserUUID: z.ZodNullable<z.ZodString>;
1001
+ responsibleSince: z.ZodNullable<z.ZodDate>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ email: string | null;
1004
+ phone: string | null;
1005
+ name: string;
1006
+ code: string | null;
1007
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1008
+ uuid: string;
1009
+ contactName: string | null;
1010
+ address: string | null;
1011
+ city: string | null;
1012
+ createdAt: Date;
1013
+ updatedAt: Date;
1014
+ deletedAt: Date | null;
1015
+ companyUUID: string;
1016
+ isCommon: boolean;
1017
+ contractNumber: string | null;
1018
+ contractDate: Date | null;
1019
+ group: string | null;
1020
+ marking: string | null;
1021
+ alwaysRequiresDelivery: boolean;
1022
+ additionalPhone: string | null;
1023
+ comment: string | null;
1024
+ balance: number;
1025
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1026
+ responsibleUserUUID: string | null;
1027
+ responsibleSince: Date | null;
1028
+ }, {
1029
+ email: string | null;
1030
+ phone: string | null;
1031
+ name: string;
1032
+ code: string | null;
1033
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1034
+ uuid: string;
1035
+ contactName: string | null;
1036
+ address: string | null;
1037
+ city: string | null;
1038
+ createdAt: Date;
1039
+ updatedAt: Date;
1040
+ deletedAt: Date | null;
1041
+ companyUUID: string;
1042
+ isCommon: boolean;
1043
+ contractNumber: string | null;
1044
+ contractDate: Date | null;
1045
+ group: string | null;
1046
+ marking: string | null;
1047
+ alwaysRequiresDelivery: boolean;
1048
+ additionalPhone: string | null;
1049
+ comment: string | null;
1050
+ balance: number;
1051
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1052
+ responsibleUserUUID: string | null;
1053
+ responsibleSince: Date | null;
1054
+ }>, "many">;
1055
+ products: z.ZodArray<z.ZodObject<{
1056
+ uuid: z.ZodString;
1057
+ dataSyncId: z.ZodNullable<z.ZodString>;
1058
+ consignmentUUID: z.ZodString;
1059
+ categoryUUID: z.ZodNullable<z.ZodString>;
1060
+ name: z.ZodString;
1061
+ balance: z.ZodNumber;
1062
+ quantity: z.ZodNumber;
1063
+ price: z.ZodNumber;
1064
+ costPrice: z.ZodNumber;
1065
+ multiplicity: z.ZodNumber;
1066
+ isOpen: z.ZodBoolean;
1067
+ article: z.ZodNullable<z.ZodString>;
1068
+ vbn: z.ZodNullable<z.ZodString>;
1069
+ barcode: z.ZodNullable<z.ZodString>;
1070
+ color: z.ZodNullable<z.ZodString>;
1071
+ size: z.ZodNullable<z.ZodString>;
1072
+ size2: z.ZodNullable<z.ZodString>;
1073
+ size3: z.ZodNullable<z.ZodString>;
1074
+ invoicePrice: z.ZodNullable<z.ZodNumber>;
1075
+ invoiceNumber: z.ZodNullable<z.ZodString>;
1076
+ imageUUID: z.ZodNullable<z.ZodString>;
1077
+ country: z.ZodNullable<z.ZodString>;
1078
+ description: z.ZodNullable<z.ZodString>;
1079
+ quality: z.ZodNullable<z.ZodString>;
1080
+ grower: z.ZodNullable<z.ZodString>;
1081
+ vat: z.ZodNullable<z.ZodNumber>;
1082
+ createdAt: z.ZodDate;
1083
+ updatedAt: z.ZodDate;
1084
+ deletedAt: z.ZodNullable<z.ZodDate>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ name: string;
1087
+ uuid: string;
1088
+ country: string | null;
1089
+ createdAt: Date;
1090
+ updatedAt: Date;
1091
+ deletedAt: Date | null;
1092
+ multiplicity: number;
1093
+ categoryUUID: string | null;
1094
+ color: string | null;
1095
+ vbn: string | null;
1096
+ grower: string | null;
1097
+ description: string | null;
1098
+ balance: number;
1099
+ dataSyncId: string | null;
1100
+ consignmentUUID: string;
1101
+ quantity: number;
1102
+ price: number;
1103
+ costPrice: number;
1104
+ isOpen: boolean;
1105
+ article: string | null;
1106
+ barcode: string | null;
1107
+ size: string | null;
1108
+ size2: string | null;
1109
+ size3: string | null;
1110
+ invoicePrice: number | null;
1111
+ invoiceNumber: string | null;
1112
+ imageUUID: string | null;
1113
+ quality: string | null;
1114
+ vat: number | null;
1115
+ }, {
1116
+ name: string;
1117
+ uuid: string;
1118
+ country: string | null;
1119
+ createdAt: Date;
1120
+ updatedAt: Date;
1121
+ deletedAt: Date | null;
1122
+ multiplicity: number;
1123
+ categoryUUID: string | null;
1124
+ color: string | null;
1125
+ vbn: string | null;
1126
+ grower: string | null;
1127
+ description: string | null;
1128
+ balance: number;
1129
+ dataSyncId: string | null;
1130
+ consignmentUUID: string;
1131
+ quantity: number;
1132
+ price: number;
1133
+ costPrice: number;
1134
+ isOpen: boolean;
1135
+ article: string | null;
1136
+ barcode: string | null;
1137
+ size: string | null;
1138
+ size2: string | null;
1139
+ size3: string | null;
1140
+ invoicePrice: number | null;
1141
+ invoiceNumber: string | null;
1142
+ imageUUID: string | null;
1143
+ quality: string | null;
1144
+ vat: number | null;
1145
+ }>, "many">;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ type: DiscountRulesTypeEnum;
1148
+ status: DiscountRulesStatusEnum;
1149
+ uuid: string;
1150
+ createdAt: Date;
1151
+ updatedAt: Date;
1152
+ companyUUID: string;
1153
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
1154
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
1155
+ clients: {
1156
+ email: string | null;
1157
+ phone: string | null;
1158
+ name: string;
1159
+ code: string | null;
1160
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1161
+ uuid: string;
1162
+ contactName: string | null;
1163
+ address: string | null;
1164
+ city: string | null;
1165
+ createdAt: Date;
1166
+ updatedAt: Date;
1167
+ deletedAt: Date | null;
1168
+ companyUUID: string;
1169
+ isCommon: boolean;
1170
+ contractNumber: string | null;
1171
+ contractDate: Date | null;
1172
+ group: string | null;
1173
+ marking: string | null;
1174
+ alwaysRequiresDelivery: boolean;
1175
+ additionalPhone: string | null;
1176
+ comment: string | null;
1177
+ balance: number;
1178
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1179
+ responsibleUserUUID: string | null;
1180
+ responsibleSince: Date | null;
1181
+ }[];
1182
+ products: {
1183
+ name: string;
1184
+ uuid: string;
1185
+ country: string | null;
1186
+ createdAt: Date;
1187
+ updatedAt: Date;
1188
+ deletedAt: Date | null;
1189
+ multiplicity: number;
1190
+ categoryUUID: string | null;
1191
+ color: string | null;
1192
+ vbn: string | null;
1193
+ grower: string | null;
1194
+ description: string | null;
1195
+ balance: number;
1196
+ dataSyncId: string | null;
1197
+ consignmentUUID: string;
1198
+ quantity: number;
1199
+ price: number;
1200
+ costPrice: number;
1201
+ isOpen: boolean;
1202
+ article: string | null;
1203
+ barcode: string | null;
1204
+ size: string | null;
1205
+ size2: string | null;
1206
+ size3: string | null;
1207
+ invoicePrice: number | null;
1208
+ invoiceNumber: string | null;
1209
+ imageUUID: string | null;
1210
+ quality: string | null;
1211
+ vat: number | null;
1212
+ }[];
1213
+ }, {
1214
+ type: DiscountRulesTypeEnum;
1215
+ status: DiscountRulesStatusEnum;
1216
+ uuid: string;
1217
+ createdAt: Date;
1218
+ updatedAt: Date;
1219
+ companyUUID: string;
1220
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
1221
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
1222
+ clients: {
1223
+ email: string | null;
1224
+ phone: string | null;
1225
+ name: string;
1226
+ code: string | null;
1227
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1228
+ uuid: string;
1229
+ contactName: string | null;
1230
+ address: string | null;
1231
+ city: string | null;
1232
+ createdAt: Date;
1233
+ updatedAt: Date;
1234
+ deletedAt: Date | null;
1235
+ companyUUID: string;
1236
+ isCommon: boolean;
1237
+ contractNumber: string | null;
1238
+ contractDate: Date | null;
1239
+ group: string | null;
1240
+ marking: string | null;
1241
+ alwaysRequiresDelivery: boolean;
1242
+ additionalPhone: string | null;
1243
+ comment: string | null;
1244
+ balance: number;
1245
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1246
+ responsibleUserUUID: string | null;
1247
+ responsibleSince: Date | null;
1248
+ }[];
1249
+ products: {
1250
+ name: string;
1251
+ uuid: string;
1252
+ country: string | null;
1253
+ createdAt: Date;
1254
+ updatedAt: Date;
1255
+ deletedAt: Date | null;
1256
+ multiplicity: number;
1257
+ categoryUUID: string | null;
1258
+ color: string | null;
1259
+ vbn: string | null;
1260
+ grower: string | null;
1261
+ description: string | null;
1262
+ balance: number;
1263
+ dataSyncId: string | null;
1264
+ consignmentUUID: string;
1265
+ quantity: number;
1266
+ price: number;
1267
+ costPrice: number;
1268
+ isOpen: boolean;
1269
+ article: string | null;
1270
+ barcode: string | null;
1271
+ size: string | null;
1272
+ size2: string | null;
1273
+ size3: string | null;
1274
+ invoicePrice: number | null;
1275
+ invoiceNumber: string | null;
1276
+ imageUUID: string | null;
1277
+ quality: string | null;
1278
+ vat: number | null;
1279
+ }[];
1280
+ }>>;
1281
+ export declare const DiscountRulesSplitQuantitySchema: z.ZodObject<{
1282
+ productUUID: z.ZodString;
1283
+ quantity: z.ZodNumber;
1284
+ clientUUID: z.ZodString;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ quantity: number;
1287
+ productUUID: string;
1288
+ clientUUID: string;
1289
+ }, {
1290
+ quantity: number;
1291
+ productUUID: string;
1292
+ clientUUID: string;
1293
+ }>;
1294
+ export declare const DiscountRulesSplitQuantityResponseSchema: z.ZodObject<{
1295
+ split: z.ZodNullable<z.ZodArray<z.ZodObject<{
1296
+ productUUID: z.ZodString;
1297
+ quantity: z.ZodNumber;
1298
+ withDiscount: z.ZodBoolean;
1299
+ price: z.ZodNumber;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ quantity: number;
1302
+ price: number;
1303
+ productUUID: string;
1304
+ withDiscount: boolean;
1305
+ }, {
1306
+ quantity: number;
1307
+ price: number;
1308
+ productUUID: string;
1309
+ withDiscount: boolean;
1310
+ }>, "many">>;
1311
+ }, "strip", z.ZodTypeAny, {
1312
+ split: {
1313
+ quantity: number;
1314
+ price: number;
1315
+ productUUID: string;
1316
+ withDiscount: boolean;
1317
+ }[] | null;
1318
+ }, {
1319
+ split: {
1320
+ quantity: number;
1321
+ price: number;
1322
+ productUUID: string;
1323
+ withDiscount: boolean;
1324
+ }[] | null;
1325
+ }>;
1326
+ export declare const DiscountRulesSplitQuantityForClientSchema: z.ZodObject<Omit<{
1327
+ productUUID: z.ZodString;
1328
+ quantity: z.ZodNumber;
1329
+ clientUUID: z.ZodString;
1330
+ }, "clientUUID">, "strip", z.ZodTypeAny, {
1331
+ quantity: number;
1332
+ productUUID: string;
1333
+ }, {
1334
+ quantity: number;
1335
+ productUUID: string;
1336
+ }>;
1337
+ export declare const DiscountRulesExtendedSchema: z.ZodIntersection<z.ZodLazy<z.ZodObject<{
1338
+ type: z.ZodNativeEnum<typeof DiscountRulesTypeEnum>;
1339
+ status: z.ZodNativeEnum<typeof DiscountRulesStatusEnum>;
1340
+ uuid: z.ZodString;
1341
+ createdAt: z.ZodDate;
1342
+ updatedAt: z.ZodDate;
1343
+ companyUUID: z.ZodString;
1344
+ defaultApplyProduct: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
1345
+ defaultApplyClient: z.ZodNativeEnum<typeof DiscountRulesApplyTypeEnum>;
1346
+ clients: z.ZodArray<z.ZodObject<{
1347
+ uuid: z.ZodString;
1348
+ name: z.ZodString;
1349
+ contactName: z.ZodNullable<z.ZodString>;
1350
+ phone: z.ZodNullable<z.ZodString>;
1351
+ email: z.ZodNullable<z.ZodString>;
1352
+ status: z.ZodNativeEnum<typeof import("../../enum/client-status.enum").ClientStatusEnum>;
1353
+ isCommon: z.ZodBoolean;
1354
+ contractNumber: z.ZodNullable<z.ZodString>;
1355
+ contractDate: z.ZodNullable<z.ZodDate>;
1356
+ address: z.ZodNullable<z.ZodString>;
1357
+ city: z.ZodNullable<z.ZodString>;
1358
+ code: z.ZodNullable<z.ZodString>;
1359
+ group: z.ZodNullable<z.ZodString>;
1360
+ marking: z.ZodNullable<z.ZodString>;
1361
+ alwaysRequiresDelivery: z.ZodBoolean;
1362
+ additionalPhone: z.ZodNullable<z.ZodString>;
1363
+ comment: z.ZodNullable<z.ZodString>;
1364
+ balance: z.ZodNumber;
1365
+ deletedAt: z.ZodNullable<z.ZodDate>;
1366
+ createdAt: z.ZodDate;
1367
+ updatedAt: z.ZodDate;
1368
+ companyUUID: z.ZodString;
1369
+ clientType: z.ZodNativeEnum<typeof import("../../enum/client-type.enum").ClientTypeEnum>;
1370
+ responsibleUserUUID: z.ZodNullable<z.ZodString>;
1371
+ responsibleSince: z.ZodNullable<z.ZodDate>;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ email: string | null;
1374
+ phone: string | null;
1375
+ name: string;
1376
+ code: string | null;
1377
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1378
+ uuid: string;
1379
+ contactName: string | null;
1380
+ address: string | null;
1381
+ city: string | null;
1382
+ createdAt: Date;
1383
+ updatedAt: Date;
1384
+ deletedAt: Date | null;
1385
+ companyUUID: string;
1386
+ isCommon: boolean;
1387
+ contractNumber: string | null;
1388
+ contractDate: Date | null;
1389
+ group: string | null;
1390
+ marking: string | null;
1391
+ alwaysRequiresDelivery: boolean;
1392
+ additionalPhone: string | null;
1393
+ comment: string | null;
1394
+ balance: number;
1395
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1396
+ responsibleUserUUID: string | null;
1397
+ responsibleSince: Date | null;
1398
+ }, {
1399
+ email: string | null;
1400
+ phone: string | null;
1401
+ name: string;
1402
+ code: string | null;
1403
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1404
+ uuid: string;
1405
+ contactName: string | null;
1406
+ address: string | null;
1407
+ city: string | null;
1408
+ createdAt: Date;
1409
+ updatedAt: Date;
1410
+ deletedAt: Date | null;
1411
+ companyUUID: string;
1412
+ isCommon: boolean;
1413
+ contractNumber: string | null;
1414
+ contractDate: Date | null;
1415
+ group: string | null;
1416
+ marking: string | null;
1417
+ alwaysRequiresDelivery: boolean;
1418
+ additionalPhone: string | null;
1419
+ comment: string | null;
1420
+ balance: number;
1421
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1422
+ responsibleUserUUID: string | null;
1423
+ responsibleSince: Date | null;
1424
+ }>, "many">;
1425
+ products: z.ZodArray<z.ZodObject<{
1426
+ uuid: z.ZodString;
1427
+ dataSyncId: z.ZodNullable<z.ZodString>;
1428
+ consignmentUUID: z.ZodString;
1429
+ categoryUUID: z.ZodNullable<z.ZodString>;
1430
+ name: z.ZodString;
1431
+ balance: z.ZodNumber;
1432
+ quantity: z.ZodNumber;
1433
+ price: z.ZodNumber;
1434
+ costPrice: z.ZodNumber;
1435
+ multiplicity: z.ZodNumber;
1436
+ isOpen: z.ZodBoolean;
1437
+ article: z.ZodNullable<z.ZodString>;
1438
+ vbn: z.ZodNullable<z.ZodString>;
1439
+ barcode: z.ZodNullable<z.ZodString>;
1440
+ color: z.ZodNullable<z.ZodString>;
1441
+ size: z.ZodNullable<z.ZodString>;
1442
+ size2: z.ZodNullable<z.ZodString>;
1443
+ size3: z.ZodNullable<z.ZodString>;
1444
+ invoicePrice: z.ZodNullable<z.ZodNumber>;
1445
+ invoiceNumber: z.ZodNullable<z.ZodString>;
1446
+ imageUUID: z.ZodNullable<z.ZodString>;
1447
+ country: z.ZodNullable<z.ZodString>;
1448
+ description: z.ZodNullable<z.ZodString>;
1449
+ quality: z.ZodNullable<z.ZodString>;
1450
+ grower: z.ZodNullable<z.ZodString>;
1451
+ vat: z.ZodNullable<z.ZodNumber>;
1452
+ createdAt: z.ZodDate;
1453
+ updatedAt: z.ZodDate;
1454
+ deletedAt: z.ZodNullable<z.ZodDate>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ name: string;
1457
+ uuid: string;
1458
+ country: string | null;
1459
+ createdAt: Date;
1460
+ updatedAt: Date;
1461
+ deletedAt: Date | null;
1462
+ multiplicity: number;
1463
+ categoryUUID: string | null;
1464
+ color: string | null;
1465
+ vbn: string | null;
1466
+ grower: string | null;
1467
+ description: string | null;
1468
+ balance: number;
1469
+ dataSyncId: string | null;
1470
+ consignmentUUID: string;
1471
+ quantity: number;
1472
+ price: number;
1473
+ costPrice: number;
1474
+ isOpen: boolean;
1475
+ article: string | null;
1476
+ barcode: string | null;
1477
+ size: string | null;
1478
+ size2: string | null;
1479
+ size3: string | null;
1480
+ invoicePrice: number | null;
1481
+ invoiceNumber: string | null;
1482
+ imageUUID: string | null;
1483
+ quality: string | null;
1484
+ vat: number | null;
1485
+ }, {
1486
+ name: string;
1487
+ uuid: string;
1488
+ country: string | null;
1489
+ createdAt: Date;
1490
+ updatedAt: Date;
1491
+ deletedAt: Date | null;
1492
+ multiplicity: number;
1493
+ categoryUUID: string | null;
1494
+ color: string | null;
1495
+ vbn: string | null;
1496
+ grower: string | null;
1497
+ description: string | null;
1498
+ balance: number;
1499
+ dataSyncId: string | null;
1500
+ consignmentUUID: string;
1501
+ quantity: number;
1502
+ price: number;
1503
+ costPrice: number;
1504
+ isOpen: boolean;
1505
+ article: string | null;
1506
+ barcode: string | null;
1507
+ size: string | null;
1508
+ size2: string | null;
1509
+ size3: string | null;
1510
+ invoicePrice: number | null;
1511
+ invoiceNumber: string | null;
1512
+ imageUUID: string | null;
1513
+ quality: string | null;
1514
+ vat: number | null;
1515
+ }>, "many">;
1516
+ }, "strip", z.ZodTypeAny, {
1517
+ type: DiscountRulesTypeEnum;
1518
+ status: DiscountRulesStatusEnum;
1519
+ uuid: string;
1520
+ createdAt: Date;
1521
+ updatedAt: Date;
1522
+ companyUUID: string;
1523
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
1524
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
1525
+ clients: {
1526
+ email: string | null;
1527
+ phone: string | null;
1528
+ name: string;
1529
+ code: string | null;
1530
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1531
+ uuid: string;
1532
+ contactName: string | null;
1533
+ address: string | null;
1534
+ city: string | null;
1535
+ createdAt: Date;
1536
+ updatedAt: Date;
1537
+ deletedAt: Date | null;
1538
+ companyUUID: string;
1539
+ isCommon: boolean;
1540
+ contractNumber: string | null;
1541
+ contractDate: Date | null;
1542
+ group: string | null;
1543
+ marking: string | null;
1544
+ alwaysRequiresDelivery: boolean;
1545
+ additionalPhone: string | null;
1546
+ comment: string | null;
1547
+ balance: number;
1548
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1549
+ responsibleUserUUID: string | null;
1550
+ responsibleSince: Date | null;
1551
+ }[];
1552
+ products: {
1553
+ name: string;
1554
+ uuid: string;
1555
+ country: string | null;
1556
+ createdAt: Date;
1557
+ updatedAt: Date;
1558
+ deletedAt: Date | null;
1559
+ multiplicity: number;
1560
+ categoryUUID: string | null;
1561
+ color: string | null;
1562
+ vbn: string | null;
1563
+ grower: string | null;
1564
+ description: string | null;
1565
+ balance: number;
1566
+ dataSyncId: string | null;
1567
+ consignmentUUID: string;
1568
+ quantity: number;
1569
+ price: number;
1570
+ costPrice: number;
1571
+ isOpen: boolean;
1572
+ article: string | null;
1573
+ barcode: string | null;
1574
+ size: string | null;
1575
+ size2: string | null;
1576
+ size3: string | null;
1577
+ invoicePrice: number | null;
1578
+ invoiceNumber: string | null;
1579
+ imageUUID: string | null;
1580
+ quality: string | null;
1581
+ vat: number | null;
1582
+ }[];
1583
+ }, {
1584
+ type: DiscountRulesTypeEnum;
1585
+ status: DiscountRulesStatusEnum;
1586
+ uuid: string;
1587
+ createdAt: Date;
1588
+ updatedAt: Date;
1589
+ companyUUID: string;
1590
+ defaultApplyProduct: DiscountRulesApplyTypeEnum;
1591
+ defaultApplyClient: DiscountRulesApplyTypeEnum;
1592
+ clients: {
1593
+ email: string | null;
1594
+ phone: string | null;
1595
+ name: string;
1596
+ code: string | null;
1597
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
1598
+ uuid: string;
1599
+ contactName: string | null;
1600
+ address: string | null;
1601
+ city: string | null;
1602
+ createdAt: Date;
1603
+ updatedAt: Date;
1604
+ deletedAt: Date | null;
1605
+ companyUUID: string;
1606
+ isCommon: boolean;
1607
+ contractNumber: string | null;
1608
+ contractDate: Date | null;
1609
+ group: string | null;
1610
+ marking: string | null;
1611
+ alwaysRequiresDelivery: boolean;
1612
+ additionalPhone: string | null;
1613
+ comment: string | null;
1614
+ balance: number;
1615
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
1616
+ responsibleUserUUID: string | null;
1617
+ responsibleSince: Date | null;
1618
+ }[];
1619
+ products: {
1620
+ name: string;
1621
+ uuid: string;
1622
+ country: string | null;
1623
+ createdAt: Date;
1624
+ updatedAt: Date;
1625
+ deletedAt: Date | null;
1626
+ multiplicity: number;
1627
+ categoryUUID: string | null;
1628
+ color: string | null;
1629
+ vbn: string | null;
1630
+ grower: string | null;
1631
+ description: string | null;
1632
+ balance: number;
1633
+ dataSyncId: string | null;
1634
+ consignmentUUID: string;
1635
+ quantity: number;
1636
+ price: number;
1637
+ costPrice: number;
1638
+ isOpen: boolean;
1639
+ article: string | null;
1640
+ barcode: string | null;
1641
+ size: string | null;
1642
+ size2: string | null;
1643
+ size3: string | null;
1644
+ invoicePrice: number | null;
1645
+ invoiceNumber: string | null;
1646
+ imageUUID: string | null;
1647
+ quality: string | null;
1648
+ vat: number | null;
1649
+ }[];
1650
+ }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1651
+ type: z.ZodLiteral<DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
1652
+ data: z.ZodObject<{
1653
+ discountPercent: z.ZodNumber;
1654
+ }, "strip", z.ZodTypeAny, {
1655
+ discountPercent: number;
1656
+ }, {
1657
+ discountPercent: number;
1658
+ }>;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
1661
+ data: {
1662
+ discountPercent: number;
1663
+ };
1664
+ }, {
1665
+ type: DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
1666
+ data: {
1667
+ discountPercent: number;
1668
+ };
1669
+ }>, z.ZodObject<{
1670
+ type: z.ZodLiteral<DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
1671
+ data: z.ZodObject<{
1672
+ range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
1673
+ discountPercent: z.ZodNumber;
1674
+ }, "strip", z.ZodTypeAny, {
1675
+ discountPercent: number;
1676
+ range: number[];
1677
+ }, {
1678
+ discountPercent: number;
1679
+ range: number[];
1680
+ }>;
1681
+ }, "strip", z.ZodTypeAny, {
1682
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
1683
+ data: {
1684
+ discountPercent: number;
1685
+ range: number[];
1686
+ };
1687
+ }, {
1688
+ type: DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
1689
+ data: {
1690
+ discountPercent: number;
1691
+ range: number[];
1692
+ };
1693
+ }>, z.ZodObject<{
1694
+ type: z.ZodLiteral<DiscountRulesTypeEnum.QUANTITY_BASED>;
1695
+ data: z.ZodIntersection<z.ZodObject<{
1696
+ multipleQuantity: z.ZodNumber;
1697
+ }, "strip", z.ZodTypeAny, {
1698
+ multipleQuantity: number;
1699
+ }, {
1700
+ multipleQuantity: number;
1701
+ }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
1702
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
1703
+ discountValue: z.ZodNumber;
1704
+ }, "strip", z.ZodTypeAny, {
1705
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1706
+ discountValue: number;
1707
+ }, {
1708
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1709
+ discountValue: number;
1710
+ }>, z.ZodObject<{
1711
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
1712
+ discountValue: z.ZodNumber;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1715
+ discountValue: number;
1716
+ }, {
1717
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1718
+ discountValue: number;
1719
+ }>]>>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
1722
+ data: ({
1723
+ multipleQuantity: number;
1724
+ } & {
1725
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1726
+ discountValue: number;
1727
+ }) | ({
1728
+ multipleQuantity: number;
1729
+ } & {
1730
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1731
+ discountValue: number;
1732
+ });
1733
+ }, {
1734
+ type: DiscountRulesTypeEnum.QUANTITY_BASED;
1735
+ data: ({
1736
+ multipleQuantity: number;
1737
+ } & {
1738
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1739
+ discountValue: number;
1740
+ }) | ({
1741
+ multipleQuantity: number;
1742
+ } & {
1743
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1744
+ discountValue: number;
1745
+ });
1746
+ }>, z.ZodObject<{
1747
+ type: z.ZodLiteral<DiscountRulesTypeEnum.ITEM_DISCOUNT>;
1748
+ data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
1749
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.PERCENT>;
1750
+ discountValue: z.ZodNumber;
1751
+ }, "strip", z.ZodTypeAny, {
1752
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1753
+ discountValue: number;
1754
+ }, {
1755
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1756
+ discountValue: number;
1757
+ }>, z.ZodObject<{
1758
+ typeDiscount: z.ZodLiteral<DiscountRulesModeTypeEnum.FIXED>;
1759
+ discountValue: z.ZodNumber;
1760
+ }, "strip", z.ZodTypeAny, {
1761
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1762
+ discountValue: number;
1763
+ }, {
1764
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1765
+ discountValue: number;
1766
+ }>]>>;
1767
+ }, "strip", z.ZodTypeAny, {
1768
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
1769
+ data: ({} & {
1770
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1771
+ discountValue: number;
1772
+ }) | ({} & {
1773
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1774
+ discountValue: number;
1775
+ });
1776
+ }, {
1777
+ type: DiscountRulesTypeEnum.ITEM_DISCOUNT;
1778
+ data: ({} & {
1779
+ typeDiscount: DiscountRulesModeTypeEnum.PERCENT;
1780
+ discountValue: number;
1781
+ }) | ({} & {
1782
+ typeDiscount: DiscountRulesModeTypeEnum.FIXED;
1783
+ discountValue: number;
1784
+ });
1785
+ }>, z.ZodObject<{
1786
+ type: z.ZodLiteral<DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
1787
+ data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
1788
+ }, "strip", z.ZodTypeAny, {
1789
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
1790
+ data: {};
1791
+ }, {
1792
+ type: DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
1793
+ data?: {} | undefined;
1794
+ }>]>>;