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