@floristcloud/api-lib 1.0.2 → 1.0.3

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