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