@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,884 @@
1
+ import { z } from 'zod';
2
+ import { OrderStatusEnum, OrderTypeEnum } from '../../enum';
3
+ export declare const OrderSchema: z.ZodObject<{
4
+ uuid: z.ZodString;
5
+ orderNumber: z.ZodNumber;
6
+ clientUUID: z.ZodString;
7
+ branchUUID: z.ZodNullable<z.ZodString>;
8
+ creatorUserUUID: z.ZodString;
9
+ isSync: z.ZodBoolean;
10
+ totalCost: z.ZodNumber;
11
+ subtotal: z.ZodNumber;
12
+ deliveryCost: z.ZodNumber;
13
+ deliveryCheckAmount: z.ZodNumber;
14
+ deliveryVatAmount: z.ZodNumber;
15
+ deliveryVat: z.ZodNullable<z.ZodNumber>;
16
+ vatAmount: z.ZodNumber;
17
+ discountAmount: z.ZodNumber;
18
+ discount: z.ZodNullable<z.ZodNumber>;
19
+ status: z.ZodNativeEnum<typeof OrderStatusEnum>;
20
+ type: z.ZodNativeEnum<typeof OrderTypeEnum>;
21
+ isPaid: z.ZodBoolean;
22
+ comment: z.ZodNullable<z.ZodString>;
23
+ clientComment: z.ZodNullable<z.ZodString>;
24
+ tag: z.ZodNullable<z.ZodString>;
25
+ totalQuantity: z.ZodNumber;
26
+ totalProductNumber: z.ZodNumber;
27
+ invoiceSendAt: z.ZodNullable<z.ZodDate>;
28
+ deliveryRouteUUID: z.ZodNullable<z.ZodString>;
29
+ createdAt: z.ZodDate;
30
+ updatedAt: z.ZodDate;
31
+ deletedAt: z.ZodNullable<z.ZodDate>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: OrderTypeEnum;
34
+ status: OrderStatusEnum;
35
+ uuid: string;
36
+ createdAt: Date;
37
+ updatedAt: Date;
38
+ deletedAt: Date | null;
39
+ comment: string | null;
40
+ clientUUID: string;
41
+ orderNumber: number;
42
+ totalCost: number;
43
+ branchUUID: string | null;
44
+ creatorUserUUID: string;
45
+ isSync: boolean;
46
+ subtotal: number;
47
+ deliveryCost: number;
48
+ deliveryCheckAmount: number;
49
+ deliveryVatAmount: number;
50
+ deliveryVat: number | null;
51
+ vatAmount: number;
52
+ discountAmount: number;
53
+ discount: number | null;
54
+ isPaid: boolean;
55
+ clientComment: string | null;
56
+ tag: string | null;
57
+ totalQuantity: number;
58
+ totalProductNumber: number;
59
+ invoiceSendAt: Date | null;
60
+ deliveryRouteUUID: string | null;
61
+ }, {
62
+ type: OrderTypeEnum;
63
+ status: OrderStatusEnum;
64
+ uuid: string;
65
+ createdAt: Date;
66
+ updatedAt: Date;
67
+ deletedAt: Date | null;
68
+ comment: string | null;
69
+ clientUUID: string;
70
+ orderNumber: number;
71
+ totalCost: number;
72
+ branchUUID: string | null;
73
+ creatorUserUUID: string;
74
+ isSync: boolean;
75
+ subtotal: number;
76
+ deliveryCost: number;
77
+ deliveryCheckAmount: number;
78
+ deliveryVatAmount: number;
79
+ deliveryVat: number | null;
80
+ vatAmount: number;
81
+ discountAmount: number;
82
+ discount: number | null;
83
+ isPaid: boolean;
84
+ clientComment: string | null;
85
+ tag: string | null;
86
+ totalQuantity: number;
87
+ totalProductNumber: number;
88
+ invoiceSendAt: Date | null;
89
+ deliveryRouteUUID: string | null;
90
+ }>;
91
+ export declare const OrderForClientSchema: z.ZodObject<Omit<{
92
+ uuid: z.ZodString;
93
+ orderNumber: z.ZodNumber;
94
+ clientUUID: z.ZodString;
95
+ branchUUID: z.ZodNullable<z.ZodString>;
96
+ creatorUserUUID: z.ZodString;
97
+ isSync: z.ZodBoolean;
98
+ totalCost: z.ZodNumber;
99
+ subtotal: z.ZodNumber;
100
+ deliveryCost: z.ZodNumber;
101
+ deliveryCheckAmount: z.ZodNumber;
102
+ deliveryVatAmount: z.ZodNumber;
103
+ deliveryVat: z.ZodNullable<z.ZodNumber>;
104
+ vatAmount: z.ZodNumber;
105
+ discountAmount: z.ZodNumber;
106
+ discount: z.ZodNullable<z.ZodNumber>;
107
+ status: z.ZodNativeEnum<typeof OrderStatusEnum>;
108
+ type: z.ZodNativeEnum<typeof OrderTypeEnum>;
109
+ isPaid: z.ZodBoolean;
110
+ comment: z.ZodNullable<z.ZodString>;
111
+ clientComment: z.ZodNullable<z.ZodString>;
112
+ tag: z.ZodNullable<z.ZodString>;
113
+ totalQuantity: z.ZodNumber;
114
+ totalProductNumber: z.ZodNumber;
115
+ invoiceSendAt: z.ZodNullable<z.ZodDate>;
116
+ deliveryRouteUUID: z.ZodNullable<z.ZodString>;
117
+ createdAt: z.ZodDate;
118
+ updatedAt: z.ZodDate;
119
+ deletedAt: z.ZodNullable<z.ZodDate>;
120
+ }, "comment" | "tag">, "strip", z.ZodTypeAny, {
121
+ type: OrderTypeEnum;
122
+ status: OrderStatusEnum;
123
+ uuid: string;
124
+ createdAt: Date;
125
+ updatedAt: Date;
126
+ deletedAt: Date | null;
127
+ clientUUID: string;
128
+ orderNumber: number;
129
+ totalCost: number;
130
+ branchUUID: string | null;
131
+ creatorUserUUID: string;
132
+ isSync: boolean;
133
+ subtotal: number;
134
+ deliveryCost: number;
135
+ deliveryCheckAmount: number;
136
+ deliveryVatAmount: number;
137
+ deliveryVat: number | null;
138
+ vatAmount: number;
139
+ discountAmount: number;
140
+ discount: number | null;
141
+ isPaid: boolean;
142
+ clientComment: string | null;
143
+ totalQuantity: number;
144
+ totalProductNumber: number;
145
+ invoiceSendAt: Date | null;
146
+ deliveryRouteUUID: string | null;
147
+ }, {
148
+ type: OrderTypeEnum;
149
+ status: OrderStatusEnum;
150
+ uuid: string;
151
+ createdAt: Date;
152
+ updatedAt: Date;
153
+ deletedAt: Date | null;
154
+ clientUUID: string;
155
+ orderNumber: number;
156
+ totalCost: number;
157
+ branchUUID: string | null;
158
+ creatorUserUUID: string;
159
+ isSync: boolean;
160
+ subtotal: number;
161
+ deliveryCost: number;
162
+ deliveryCheckAmount: number;
163
+ deliveryVatAmount: number;
164
+ deliveryVat: number | null;
165
+ vatAmount: number;
166
+ discountAmount: number;
167
+ discount: number | null;
168
+ isPaid: boolean;
169
+ clientComment: string | null;
170
+ totalQuantity: number;
171
+ totalProductNumber: number;
172
+ invoiceSendAt: Date | null;
173
+ deliveryRouteUUID: string | null;
174
+ }>;
175
+ export declare const OrderExtendedSchema: z.ZodObject<{
176
+ type: z.ZodNativeEnum<typeof OrderTypeEnum>;
177
+ status: z.ZodNativeEnum<typeof OrderStatusEnum>;
178
+ uuid: z.ZodString;
179
+ createdAt: z.ZodDate;
180
+ updatedAt: z.ZodDate;
181
+ deletedAt: z.ZodNullable<z.ZodDate>;
182
+ comment: z.ZodNullable<z.ZodString>;
183
+ clientUUID: z.ZodString;
184
+ orderNumber: z.ZodNumber;
185
+ totalCost: z.ZodNumber;
186
+ branchUUID: z.ZodNullable<z.ZodString>;
187
+ creatorUserUUID: z.ZodString;
188
+ isSync: z.ZodBoolean;
189
+ subtotal: z.ZodNumber;
190
+ deliveryCost: z.ZodNumber;
191
+ deliveryCheckAmount: z.ZodNumber;
192
+ deliveryVatAmount: z.ZodNumber;
193
+ deliveryVat: z.ZodNullable<z.ZodNumber>;
194
+ vatAmount: z.ZodNumber;
195
+ discountAmount: z.ZodNumber;
196
+ discount: z.ZodNullable<z.ZodNumber>;
197
+ isPaid: z.ZodBoolean;
198
+ clientComment: z.ZodNullable<z.ZodString>;
199
+ tag: z.ZodNullable<z.ZodString>;
200
+ totalQuantity: z.ZodNumber;
201
+ totalProductNumber: z.ZodNumber;
202
+ invoiceSendAt: z.ZodNullable<z.ZodDate>;
203
+ deliveryRouteUUID: z.ZodNullable<z.ZodString>;
204
+ client: z.ZodObject<{
205
+ uuid: z.ZodString;
206
+ name: z.ZodString;
207
+ contactName: z.ZodNullable<z.ZodString>;
208
+ phone: z.ZodNullable<z.ZodString>;
209
+ email: z.ZodNullable<z.ZodString>;
210
+ status: z.ZodNativeEnum<typeof import("../../enum/client-status.enum").ClientStatusEnum>;
211
+ isCommon: z.ZodBoolean;
212
+ contractNumber: z.ZodNullable<z.ZodString>;
213
+ contractDate: z.ZodNullable<z.ZodDate>;
214
+ address: z.ZodNullable<z.ZodString>;
215
+ city: z.ZodNullable<z.ZodString>;
216
+ code: z.ZodNullable<z.ZodString>;
217
+ group: z.ZodNullable<z.ZodString>;
218
+ marking: z.ZodNullable<z.ZodString>;
219
+ alwaysRequiresDelivery: z.ZodBoolean;
220
+ additionalPhone: z.ZodNullable<z.ZodString>;
221
+ comment: z.ZodNullable<z.ZodString>;
222
+ balance: z.ZodNumber;
223
+ deletedAt: z.ZodNullable<z.ZodDate>;
224
+ createdAt: z.ZodDate;
225
+ updatedAt: z.ZodDate;
226
+ companyUUID: z.ZodString;
227
+ clientType: z.ZodNativeEnum<typeof import("../../enum/client-type.enum").ClientTypeEnum>;
228
+ responsibleUserUUID: z.ZodNullable<z.ZodString>;
229
+ responsibleSince: z.ZodNullable<z.ZodDate>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ email: string | null;
232
+ phone: string | null;
233
+ name: string;
234
+ code: string | null;
235
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
236
+ uuid: string;
237
+ contactName: string | null;
238
+ address: string | null;
239
+ city: string | null;
240
+ createdAt: Date;
241
+ updatedAt: Date;
242
+ deletedAt: Date | null;
243
+ companyUUID: string;
244
+ isCommon: boolean;
245
+ contractNumber: string | null;
246
+ contractDate: Date | null;
247
+ group: string | null;
248
+ marking: string | null;
249
+ alwaysRequiresDelivery: boolean;
250
+ additionalPhone: string | null;
251
+ comment: string | null;
252
+ balance: number;
253
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
254
+ responsibleUserUUID: string | null;
255
+ responsibleSince: Date | null;
256
+ }, {
257
+ email: string | null;
258
+ phone: string | null;
259
+ name: string;
260
+ code: string | null;
261
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
262
+ uuid: string;
263
+ contactName: string | null;
264
+ address: string | null;
265
+ city: string | null;
266
+ createdAt: Date;
267
+ updatedAt: Date;
268
+ deletedAt: Date | null;
269
+ companyUUID: string;
270
+ isCommon: boolean;
271
+ contractNumber: string | null;
272
+ contractDate: Date | null;
273
+ group: string | null;
274
+ marking: string | null;
275
+ alwaysRequiresDelivery: boolean;
276
+ additionalPhone: string | null;
277
+ comment: string | null;
278
+ balance: number;
279
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
280
+ responsibleUserUUID: string | null;
281
+ responsibleSince: Date | null;
282
+ }>;
283
+ branch: z.ZodNullable<z.ZodObject<{
284
+ uuid: z.ZodString;
285
+ name: z.ZodString;
286
+ contactName: z.ZodNullable<z.ZodString>;
287
+ contactPhone: z.ZodNullable<z.ZodString>;
288
+ address: z.ZodNullable<z.ZodString>;
289
+ city: z.ZodNullable<z.ZodString>;
290
+ region: z.ZodNullable<z.ZodString>;
291
+ country: z.ZodNullable<z.ZodString>;
292
+ clientId: z.ZodString;
293
+ createdAt: z.ZodDate;
294
+ updatedAt: z.ZodDate;
295
+ }, "strip", z.ZodTypeAny, {
296
+ name: string;
297
+ uuid: string;
298
+ contactName: string | null;
299
+ contactPhone: string | null;
300
+ address: string | null;
301
+ city: string | null;
302
+ region: string | null;
303
+ country: string | null;
304
+ clientId: string;
305
+ createdAt: Date;
306
+ updatedAt: Date;
307
+ }, {
308
+ name: string;
309
+ uuid: string;
310
+ contactName: string | null;
311
+ contactPhone: string | null;
312
+ address: string | null;
313
+ city: string | null;
314
+ region: string | null;
315
+ country: string | null;
316
+ clientId: string;
317
+ createdAt: Date;
318
+ updatedAt: Date;
319
+ }>>;
320
+ delivery: z.ZodNullable<z.ZodObject<{
321
+ uuid: z.ZodString;
322
+ city: z.ZodNullable<z.ZodString>;
323
+ deliveryDate: z.ZodNullable<z.ZodDate>;
324
+ address: z.ZodNullable<z.ZodString>;
325
+ time: z.ZodNullable<z.ZodString>;
326
+ comment: z.ZodNullable<z.ZodString>;
327
+ orderDeliveryStatus: z.ZodNativeEnum<typeof import("../../enum").OrderDeliveryStatusEnum>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ uuid: string;
330
+ address: string | null;
331
+ city: string | null;
332
+ deliveryDate: Date | null;
333
+ comment: string | null;
334
+ time: string | null;
335
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
336
+ }, {
337
+ uuid: string;
338
+ address: string | null;
339
+ city: string | null;
340
+ deliveryDate: Date | null;
341
+ comment: string | null;
342
+ time: string | null;
343
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
344
+ }>>;
345
+ consignmentDeliveryDates: z.ZodArray<z.ZodUnion<[z.ZodDate, z.ZodLiteral<"in-stock">]>, "many">;
346
+ deliveryRoute: z.ZodOptional<z.ZodNullable<z.ZodObject<{
347
+ uuid: z.ZodString;
348
+ routeName: z.ZodNullable<z.ZodString>;
349
+ driverName: z.ZodNullable<z.ZodString>;
350
+ driverPhone: z.ZodNullable<z.ZodString>;
351
+ comment: z.ZodNullable<z.ZodString>;
352
+ status: z.ZodNativeEnum<typeof import("../../enum").DeliveryRouteStatusEnum>;
353
+ date: z.ZodDate;
354
+ createdAt: z.ZodDate;
355
+ updatedAt: z.ZodDate;
356
+ }, "strip", z.ZodTypeAny, {
357
+ status: import("../../enum").DeliveryRouteStatusEnum;
358
+ date: Date;
359
+ uuid: string;
360
+ createdAt: Date;
361
+ updatedAt: Date;
362
+ comment: string | null;
363
+ routeName: string | null;
364
+ driverName: string | null;
365
+ driverPhone: string | null;
366
+ }, {
367
+ status: import("../../enum").DeliveryRouteStatusEnum;
368
+ date: Date;
369
+ uuid: string;
370
+ createdAt: Date;
371
+ updatedAt: Date;
372
+ comment: string | null;
373
+ routeName: string | null;
374
+ driverName: string | null;
375
+ driverPhone: string | null;
376
+ }>>>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ type: OrderTypeEnum;
379
+ status: OrderStatusEnum;
380
+ uuid: string;
381
+ createdAt: Date;
382
+ updatedAt: Date;
383
+ deletedAt: Date | null;
384
+ comment: string | null;
385
+ clientUUID: string;
386
+ orderNumber: number;
387
+ totalCost: number;
388
+ branchUUID: string | null;
389
+ creatorUserUUID: string;
390
+ isSync: boolean;
391
+ subtotal: number;
392
+ deliveryCost: number;
393
+ deliveryCheckAmount: number;
394
+ deliveryVatAmount: number;
395
+ deliveryVat: number | null;
396
+ vatAmount: number;
397
+ discountAmount: number;
398
+ discount: number | null;
399
+ isPaid: boolean;
400
+ clientComment: string | null;
401
+ tag: string | null;
402
+ totalQuantity: number;
403
+ totalProductNumber: number;
404
+ invoiceSendAt: Date | null;
405
+ deliveryRouteUUID: string | null;
406
+ client: {
407
+ email: string | null;
408
+ phone: string | null;
409
+ name: string;
410
+ code: string | null;
411
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
412
+ uuid: string;
413
+ contactName: string | null;
414
+ address: string | null;
415
+ city: string | null;
416
+ createdAt: Date;
417
+ updatedAt: Date;
418
+ deletedAt: Date | null;
419
+ companyUUID: string;
420
+ isCommon: boolean;
421
+ contractNumber: string | null;
422
+ contractDate: Date | null;
423
+ group: string | null;
424
+ marking: string | null;
425
+ alwaysRequiresDelivery: boolean;
426
+ additionalPhone: string | null;
427
+ comment: string | null;
428
+ balance: number;
429
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
430
+ responsibleUserUUID: string | null;
431
+ responsibleSince: Date | null;
432
+ };
433
+ branch: {
434
+ name: string;
435
+ uuid: string;
436
+ contactName: string | null;
437
+ contactPhone: string | null;
438
+ address: string | null;
439
+ city: string | null;
440
+ region: string | null;
441
+ country: string | null;
442
+ clientId: string;
443
+ createdAt: Date;
444
+ updatedAt: Date;
445
+ } | null;
446
+ delivery: {
447
+ uuid: string;
448
+ address: string | null;
449
+ city: string | null;
450
+ deliveryDate: Date | null;
451
+ comment: string | null;
452
+ time: string | null;
453
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
454
+ } | null;
455
+ consignmentDeliveryDates: (Date | "in-stock")[];
456
+ deliveryRoute?: {
457
+ status: import("../../enum").DeliveryRouteStatusEnum;
458
+ date: Date;
459
+ uuid: string;
460
+ createdAt: Date;
461
+ updatedAt: Date;
462
+ comment: string | null;
463
+ routeName: string | null;
464
+ driverName: string | null;
465
+ driverPhone: string | null;
466
+ } | null | undefined;
467
+ }, {
468
+ type: OrderTypeEnum;
469
+ status: OrderStatusEnum;
470
+ uuid: string;
471
+ createdAt: Date;
472
+ updatedAt: Date;
473
+ deletedAt: Date | null;
474
+ comment: string | null;
475
+ clientUUID: string;
476
+ orderNumber: number;
477
+ totalCost: number;
478
+ branchUUID: string | null;
479
+ creatorUserUUID: string;
480
+ isSync: boolean;
481
+ subtotal: number;
482
+ deliveryCost: number;
483
+ deliveryCheckAmount: number;
484
+ deliveryVatAmount: number;
485
+ deliveryVat: number | null;
486
+ vatAmount: number;
487
+ discountAmount: number;
488
+ discount: number | null;
489
+ isPaid: boolean;
490
+ clientComment: string | null;
491
+ tag: string | null;
492
+ totalQuantity: number;
493
+ totalProductNumber: number;
494
+ invoiceSendAt: Date | null;
495
+ deliveryRouteUUID: string | null;
496
+ client: {
497
+ email: string | null;
498
+ phone: string | null;
499
+ name: string;
500
+ code: string | null;
501
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
502
+ uuid: string;
503
+ contactName: string | null;
504
+ address: string | null;
505
+ city: string | null;
506
+ createdAt: Date;
507
+ updatedAt: Date;
508
+ deletedAt: Date | null;
509
+ companyUUID: string;
510
+ isCommon: boolean;
511
+ contractNumber: string | null;
512
+ contractDate: Date | null;
513
+ group: string | null;
514
+ marking: string | null;
515
+ alwaysRequiresDelivery: boolean;
516
+ additionalPhone: string | null;
517
+ comment: string | null;
518
+ balance: number;
519
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
520
+ responsibleUserUUID: string | null;
521
+ responsibleSince: Date | null;
522
+ };
523
+ branch: {
524
+ name: string;
525
+ uuid: string;
526
+ contactName: string | null;
527
+ contactPhone: string | null;
528
+ address: string | null;
529
+ city: string | null;
530
+ region: string | null;
531
+ country: string | null;
532
+ clientId: string;
533
+ createdAt: Date;
534
+ updatedAt: Date;
535
+ } | null;
536
+ delivery: {
537
+ uuid: string;
538
+ address: string | null;
539
+ city: string | null;
540
+ deliveryDate: Date | null;
541
+ comment: string | null;
542
+ time: string | null;
543
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
544
+ } | null;
545
+ consignmentDeliveryDates: (Date | "in-stock")[];
546
+ deliveryRoute?: {
547
+ status: import("../../enum").DeliveryRouteStatusEnum;
548
+ date: Date;
549
+ uuid: string;
550
+ createdAt: Date;
551
+ updatedAt: Date;
552
+ comment: string | null;
553
+ routeName: string | null;
554
+ driverName: string | null;
555
+ driverPhone: string | null;
556
+ } | null | undefined;
557
+ }>;
558
+ export declare const OrderExtendedForClientSchema: z.ZodObject<{
559
+ type: z.ZodNativeEnum<typeof OrderTypeEnum>;
560
+ status: z.ZodNativeEnum<typeof OrderStatusEnum>;
561
+ uuid: z.ZodString;
562
+ createdAt: z.ZodDate;
563
+ updatedAt: z.ZodDate;
564
+ deletedAt: z.ZodNullable<z.ZodDate>;
565
+ clientUUID: z.ZodString;
566
+ orderNumber: z.ZodNumber;
567
+ totalCost: z.ZodNumber;
568
+ branchUUID: z.ZodNullable<z.ZodString>;
569
+ creatorUserUUID: z.ZodString;
570
+ isSync: z.ZodBoolean;
571
+ subtotal: z.ZodNumber;
572
+ deliveryCost: z.ZodNumber;
573
+ deliveryCheckAmount: z.ZodNumber;
574
+ deliveryVatAmount: z.ZodNumber;
575
+ deliveryVat: z.ZodNullable<z.ZodNumber>;
576
+ vatAmount: z.ZodNumber;
577
+ discountAmount: z.ZodNumber;
578
+ discount: z.ZodNullable<z.ZodNumber>;
579
+ isPaid: z.ZodBoolean;
580
+ clientComment: z.ZodNullable<z.ZodString>;
581
+ totalQuantity: z.ZodNumber;
582
+ totalProductNumber: z.ZodNumber;
583
+ invoiceSendAt: z.ZodNullable<z.ZodDate>;
584
+ deliveryRouteUUID: z.ZodNullable<z.ZodString>;
585
+ client: z.ZodObject<{
586
+ uuid: z.ZodString;
587
+ name: z.ZodString;
588
+ contactName: z.ZodNullable<z.ZodString>;
589
+ phone: z.ZodNullable<z.ZodString>;
590
+ email: z.ZodNullable<z.ZodString>;
591
+ status: z.ZodNativeEnum<typeof import("../../enum/client-status.enum").ClientStatusEnum>;
592
+ isCommon: z.ZodBoolean;
593
+ contractNumber: z.ZodNullable<z.ZodString>;
594
+ contractDate: z.ZodNullable<z.ZodDate>;
595
+ address: z.ZodNullable<z.ZodString>;
596
+ city: z.ZodNullable<z.ZodString>;
597
+ code: z.ZodNullable<z.ZodString>;
598
+ group: z.ZodNullable<z.ZodString>;
599
+ marking: z.ZodNullable<z.ZodString>;
600
+ alwaysRequiresDelivery: z.ZodBoolean;
601
+ additionalPhone: z.ZodNullable<z.ZodString>;
602
+ comment: z.ZodNullable<z.ZodString>;
603
+ balance: z.ZodNumber;
604
+ deletedAt: z.ZodNullable<z.ZodDate>;
605
+ createdAt: z.ZodDate;
606
+ updatedAt: z.ZodDate;
607
+ companyUUID: z.ZodString;
608
+ clientType: z.ZodNativeEnum<typeof import("../../enum/client-type.enum").ClientTypeEnum>;
609
+ responsibleUserUUID: z.ZodNullable<z.ZodString>;
610
+ responsibleSince: z.ZodNullable<z.ZodDate>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ email: string | null;
613
+ phone: string | null;
614
+ name: string;
615
+ code: string | null;
616
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
617
+ uuid: string;
618
+ contactName: string | null;
619
+ address: string | null;
620
+ city: string | null;
621
+ createdAt: Date;
622
+ updatedAt: Date;
623
+ deletedAt: Date | null;
624
+ companyUUID: string;
625
+ isCommon: boolean;
626
+ contractNumber: string | null;
627
+ contractDate: Date | null;
628
+ group: string | null;
629
+ marking: string | null;
630
+ alwaysRequiresDelivery: boolean;
631
+ additionalPhone: string | null;
632
+ comment: string | null;
633
+ balance: number;
634
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
635
+ responsibleUserUUID: string | null;
636
+ responsibleSince: Date | null;
637
+ }, {
638
+ email: string | null;
639
+ phone: string | null;
640
+ name: string;
641
+ code: string | null;
642
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
643
+ uuid: string;
644
+ contactName: string | null;
645
+ address: string | null;
646
+ city: string | null;
647
+ createdAt: Date;
648
+ updatedAt: Date;
649
+ deletedAt: Date | null;
650
+ companyUUID: string;
651
+ isCommon: boolean;
652
+ contractNumber: string | null;
653
+ contractDate: Date | null;
654
+ group: string | null;
655
+ marking: string | null;
656
+ alwaysRequiresDelivery: boolean;
657
+ additionalPhone: string | null;
658
+ comment: string | null;
659
+ balance: number;
660
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
661
+ responsibleUserUUID: string | null;
662
+ responsibleSince: Date | null;
663
+ }>;
664
+ branch: z.ZodNullable<z.ZodObject<{
665
+ uuid: z.ZodString;
666
+ name: z.ZodString;
667
+ contactName: z.ZodNullable<z.ZodString>;
668
+ contactPhone: z.ZodNullable<z.ZodString>;
669
+ address: z.ZodNullable<z.ZodString>;
670
+ city: z.ZodNullable<z.ZodString>;
671
+ region: z.ZodNullable<z.ZodString>;
672
+ country: z.ZodNullable<z.ZodString>;
673
+ clientId: z.ZodString;
674
+ createdAt: z.ZodDate;
675
+ updatedAt: z.ZodDate;
676
+ }, "strip", z.ZodTypeAny, {
677
+ name: string;
678
+ uuid: string;
679
+ contactName: string | null;
680
+ contactPhone: string | null;
681
+ address: string | null;
682
+ city: string | null;
683
+ region: string | null;
684
+ country: string | null;
685
+ clientId: string;
686
+ createdAt: Date;
687
+ updatedAt: Date;
688
+ }, {
689
+ name: string;
690
+ uuid: string;
691
+ contactName: string | null;
692
+ contactPhone: string | null;
693
+ address: string | null;
694
+ city: string | null;
695
+ region: string | null;
696
+ country: string | null;
697
+ clientId: string;
698
+ createdAt: Date;
699
+ updatedAt: Date;
700
+ }>>;
701
+ delivery: z.ZodNullable<z.ZodObject<{
702
+ uuid: z.ZodString;
703
+ city: z.ZodNullable<z.ZodString>;
704
+ deliveryDate: z.ZodNullable<z.ZodDate>;
705
+ address: z.ZodNullable<z.ZodString>;
706
+ time: z.ZodNullable<z.ZodString>;
707
+ comment: z.ZodNullable<z.ZodString>;
708
+ orderDeliveryStatus: z.ZodNativeEnum<typeof import("../../enum").OrderDeliveryStatusEnum>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ uuid: string;
711
+ address: string | null;
712
+ city: string | null;
713
+ deliveryDate: Date | null;
714
+ comment: string | null;
715
+ time: string | null;
716
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
717
+ }, {
718
+ uuid: string;
719
+ address: string | null;
720
+ city: string | null;
721
+ deliveryDate: Date | null;
722
+ comment: string | null;
723
+ time: string | null;
724
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
725
+ }>>;
726
+ writeOffSum: z.ZodNullable<z.ZodNumber>;
727
+ consignmentDeliveryDates: z.ZodArray<z.ZodUnion<[z.ZodDate, z.ZodLiteral<"in-stock">]>, "many">;
728
+ }, "strip", z.ZodTypeAny, {
729
+ type: OrderTypeEnum;
730
+ status: OrderStatusEnum;
731
+ uuid: string;
732
+ createdAt: Date;
733
+ updatedAt: Date;
734
+ deletedAt: Date | null;
735
+ clientUUID: string;
736
+ orderNumber: number;
737
+ totalCost: number;
738
+ branchUUID: string | null;
739
+ creatorUserUUID: string;
740
+ isSync: boolean;
741
+ subtotal: number;
742
+ deliveryCost: number;
743
+ deliveryCheckAmount: number;
744
+ deliveryVatAmount: number;
745
+ deliveryVat: number | null;
746
+ vatAmount: number;
747
+ discountAmount: number;
748
+ discount: number | null;
749
+ isPaid: boolean;
750
+ clientComment: string | null;
751
+ totalQuantity: number;
752
+ totalProductNumber: number;
753
+ invoiceSendAt: Date | null;
754
+ deliveryRouteUUID: string | null;
755
+ client: {
756
+ email: string | null;
757
+ phone: string | null;
758
+ name: string;
759
+ code: string | null;
760
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
761
+ uuid: string;
762
+ contactName: string | null;
763
+ address: string | null;
764
+ city: string | null;
765
+ createdAt: Date;
766
+ updatedAt: Date;
767
+ deletedAt: Date | null;
768
+ companyUUID: string;
769
+ isCommon: boolean;
770
+ contractNumber: string | null;
771
+ contractDate: Date | null;
772
+ group: string | null;
773
+ marking: string | null;
774
+ alwaysRequiresDelivery: boolean;
775
+ additionalPhone: string | null;
776
+ comment: string | null;
777
+ balance: number;
778
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
779
+ responsibleUserUUID: string | null;
780
+ responsibleSince: Date | null;
781
+ };
782
+ branch: {
783
+ name: string;
784
+ uuid: string;
785
+ contactName: string | null;
786
+ contactPhone: string | null;
787
+ address: string | null;
788
+ city: string | null;
789
+ region: string | null;
790
+ country: string | null;
791
+ clientId: string;
792
+ createdAt: Date;
793
+ updatedAt: Date;
794
+ } | null;
795
+ delivery: {
796
+ uuid: string;
797
+ address: string | null;
798
+ city: string | null;
799
+ deliveryDate: Date | null;
800
+ comment: string | null;
801
+ time: string | null;
802
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
803
+ } | null;
804
+ consignmentDeliveryDates: (Date | "in-stock")[];
805
+ writeOffSum: number | null;
806
+ }, {
807
+ type: OrderTypeEnum;
808
+ status: OrderStatusEnum;
809
+ uuid: string;
810
+ createdAt: Date;
811
+ updatedAt: Date;
812
+ deletedAt: Date | null;
813
+ clientUUID: string;
814
+ orderNumber: number;
815
+ totalCost: number;
816
+ branchUUID: string | null;
817
+ creatorUserUUID: string;
818
+ isSync: boolean;
819
+ subtotal: number;
820
+ deliveryCost: number;
821
+ deliveryCheckAmount: number;
822
+ deliveryVatAmount: number;
823
+ deliveryVat: number | null;
824
+ vatAmount: number;
825
+ discountAmount: number;
826
+ discount: number | null;
827
+ isPaid: boolean;
828
+ clientComment: string | null;
829
+ totalQuantity: number;
830
+ totalProductNumber: number;
831
+ invoiceSendAt: Date | null;
832
+ deliveryRouteUUID: string | null;
833
+ client: {
834
+ email: string | null;
835
+ phone: string | null;
836
+ name: string;
837
+ code: string | null;
838
+ status: import("../../enum/client-status.enum").ClientStatusEnum;
839
+ uuid: string;
840
+ contactName: string | null;
841
+ address: string | null;
842
+ city: string | null;
843
+ createdAt: Date;
844
+ updatedAt: Date;
845
+ deletedAt: Date | null;
846
+ companyUUID: string;
847
+ isCommon: boolean;
848
+ contractNumber: string | null;
849
+ contractDate: Date | null;
850
+ group: string | null;
851
+ marking: string | null;
852
+ alwaysRequiresDelivery: boolean;
853
+ additionalPhone: string | null;
854
+ comment: string | null;
855
+ balance: number;
856
+ clientType: import("../../enum/client-type.enum").ClientTypeEnum;
857
+ responsibleUserUUID: string | null;
858
+ responsibleSince: Date | null;
859
+ };
860
+ branch: {
861
+ name: string;
862
+ uuid: string;
863
+ contactName: string | null;
864
+ contactPhone: string | null;
865
+ address: string | null;
866
+ city: string | null;
867
+ region: string | null;
868
+ country: string | null;
869
+ clientId: string;
870
+ createdAt: Date;
871
+ updatedAt: Date;
872
+ } | null;
873
+ delivery: {
874
+ uuid: string;
875
+ address: string | null;
876
+ city: string | null;
877
+ deliveryDate: Date | null;
878
+ comment: string | null;
879
+ time: string | null;
880
+ orderDeliveryStatus: import("../../enum").OrderDeliveryStatusEnum;
881
+ } | null;
882
+ consignmentDeliveryDates: (Date | "in-stock")[];
883
+ writeOffSum: number | null;
884
+ }>;