@floristcloud/api-lib 1.0.1 → 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 +10 -7
  572. package/schemas/write-off/write-off-image.schema.ts +1 -1
  573. package/tsconfig.json +3 -3
@@ -0,0 +1,2439 @@
1
+ import { z } from 'zod';
2
+ import { ActionLogTypeEnum } from '../../enum';
3
+ export declare const ActionLogSchema: z.ZodDiscriminatedUnion<"actionType", [z.ZodObject<{
4
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_ORDER>;
5
+ payload: z.ZodObject<{
6
+ order: z.ZodObject<{
7
+ orderUUID: z.ZodString;
8
+ orderId: z.ZodNumber;
9
+ clientUUID: z.ZodString;
10
+ clientName: z.ZodString;
11
+ createdAt: z.ZodDate;
12
+ totalCost: z.ZodNumber;
13
+ deliveryAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ deliveryCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ createdAt: Date;
17
+ clientUUID: string;
18
+ totalCost: number;
19
+ clientName: string;
20
+ orderUUID: string;
21
+ orderId: number;
22
+ deliveryAddress?: string | null | undefined;
23
+ deliveryCost?: number | null | undefined;
24
+ }, {
25
+ createdAt: Date;
26
+ clientUUID: string;
27
+ totalCost: number;
28
+ clientName: string;
29
+ orderUUID: string;
30
+ orderId: number;
31
+ deliveryAddress?: string | null | undefined;
32
+ deliveryCost?: number | null | undefined;
33
+ }>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ order: {
36
+ createdAt: Date;
37
+ clientUUID: string;
38
+ totalCost: number;
39
+ clientName: string;
40
+ orderUUID: string;
41
+ orderId: number;
42
+ deliveryAddress?: string | null | undefined;
43
+ deliveryCost?: number | null | undefined;
44
+ };
45
+ }, {
46
+ order: {
47
+ createdAt: Date;
48
+ clientUUID: string;
49
+ totalCost: number;
50
+ clientName: string;
51
+ orderUUID: string;
52
+ orderId: number;
53
+ deliveryAddress?: string | null | undefined;
54
+ deliveryCost?: number | null | undefined;
55
+ };
56
+ }>;
57
+ uuid: z.ZodString;
58
+ companyUUID: z.ZodString;
59
+ userUUID: z.ZodString;
60
+ entityUUID: z.ZodString;
61
+ createdAt: z.ZodDate;
62
+ }, "strip", z.ZodTypeAny, {
63
+ uuid: string;
64
+ createdAt: Date;
65
+ companyUUID: string;
66
+ userUUID: string;
67
+ entityUUID: string;
68
+ actionType: ActionLogTypeEnum.DELETE_ORDER;
69
+ payload: {
70
+ order: {
71
+ createdAt: Date;
72
+ clientUUID: string;
73
+ totalCost: number;
74
+ clientName: string;
75
+ orderUUID: string;
76
+ orderId: number;
77
+ deliveryAddress?: string | null | undefined;
78
+ deliveryCost?: number | null | undefined;
79
+ };
80
+ };
81
+ }, {
82
+ uuid: string;
83
+ createdAt: Date;
84
+ companyUUID: string;
85
+ userUUID: string;
86
+ entityUUID: string;
87
+ actionType: ActionLogTypeEnum.DELETE_ORDER;
88
+ payload: {
89
+ order: {
90
+ createdAt: Date;
91
+ clientUUID: string;
92
+ totalCost: number;
93
+ clientName: string;
94
+ orderUUID: string;
95
+ orderId: number;
96
+ deliveryAddress?: string | null | undefined;
97
+ deliveryCost?: number | null | undefined;
98
+ };
99
+ };
100
+ }>, z.ZodObject<{
101
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_ORDER_ITEM>;
102
+ payload: z.ZodObject<{
103
+ orderProduct: z.ZodObject<{
104
+ orderUUID: z.ZodString;
105
+ orderProductUUID: z.ZodString;
106
+ productUUID: z.ZodString;
107
+ productName: z.ZodString;
108
+ categoryUUID: z.ZodNullable<z.ZodString>;
109
+ categoryName: z.ZodNullable<z.ZodString>;
110
+ quantity: z.ZodNumber;
111
+ price: z.ZodNumber;
112
+ consignmentUUID: z.ZodNullable<z.ZodString>;
113
+ consignmentDeliveryDate: z.ZodNullable<z.ZodDate>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ categoryUUID: string | null;
116
+ consignmentUUID: string | null;
117
+ quantity: number;
118
+ price: number;
119
+ productUUID: string;
120
+ orderProductUUID: string;
121
+ orderUUID: string;
122
+ productName: string;
123
+ categoryName: string | null;
124
+ consignmentDeliveryDate: Date | null;
125
+ }, {
126
+ categoryUUID: string | null;
127
+ consignmentUUID: string | null;
128
+ quantity: number;
129
+ price: number;
130
+ productUUID: string;
131
+ orderProductUUID: string;
132
+ orderUUID: string;
133
+ productName: string;
134
+ categoryName: string | null;
135
+ consignmentDeliveryDate: Date | null;
136
+ }>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ orderProduct: {
139
+ categoryUUID: string | null;
140
+ consignmentUUID: string | null;
141
+ quantity: number;
142
+ price: number;
143
+ productUUID: string;
144
+ orderProductUUID: string;
145
+ orderUUID: string;
146
+ productName: string;
147
+ categoryName: string | null;
148
+ consignmentDeliveryDate: Date | null;
149
+ };
150
+ }, {
151
+ orderProduct: {
152
+ categoryUUID: string | null;
153
+ consignmentUUID: string | null;
154
+ quantity: number;
155
+ price: number;
156
+ productUUID: string;
157
+ orderProductUUID: string;
158
+ orderUUID: string;
159
+ productName: string;
160
+ categoryName: string | null;
161
+ consignmentDeliveryDate: Date | null;
162
+ };
163
+ }>;
164
+ uuid: z.ZodString;
165
+ companyUUID: z.ZodString;
166
+ userUUID: z.ZodString;
167
+ entityUUID: z.ZodString;
168
+ createdAt: z.ZodDate;
169
+ }, "strip", z.ZodTypeAny, {
170
+ uuid: string;
171
+ createdAt: Date;
172
+ companyUUID: string;
173
+ userUUID: string;
174
+ entityUUID: string;
175
+ actionType: ActionLogTypeEnum.DELETE_ORDER_ITEM;
176
+ payload: {
177
+ orderProduct: {
178
+ categoryUUID: string | null;
179
+ consignmentUUID: string | null;
180
+ quantity: number;
181
+ price: number;
182
+ productUUID: string;
183
+ orderProductUUID: string;
184
+ orderUUID: string;
185
+ productName: string;
186
+ categoryName: string | null;
187
+ consignmentDeliveryDate: Date | null;
188
+ };
189
+ };
190
+ }, {
191
+ uuid: string;
192
+ createdAt: Date;
193
+ companyUUID: string;
194
+ userUUID: string;
195
+ entityUUID: string;
196
+ actionType: ActionLogTypeEnum.DELETE_ORDER_ITEM;
197
+ payload: {
198
+ orderProduct: {
199
+ categoryUUID: string | null;
200
+ consignmentUUID: string | null;
201
+ quantity: number;
202
+ price: number;
203
+ productUUID: string;
204
+ orderProductUUID: string;
205
+ orderUUID: string;
206
+ productName: string;
207
+ categoryName: string | null;
208
+ consignmentDeliveryDate: Date | null;
209
+ };
210
+ };
211
+ }>, z.ZodObject<{
212
+ actionType: z.ZodLiteral<ActionLogTypeEnum.UPDATE_ORDER_ITEM>;
213
+ payload: z.ZodObject<{
214
+ orderProduct: z.ZodObject<{
215
+ orderUUID: z.ZodString;
216
+ orderProductUUID: z.ZodString;
217
+ productUUID: z.ZodString;
218
+ productName: z.ZodString;
219
+ categoryUUID: z.ZodNullable<z.ZodString>;
220
+ categoryName: z.ZodNullable<z.ZodString>;
221
+ quantity: z.ZodNumber;
222
+ price: z.ZodNumber;
223
+ consignmentUUID: z.ZodNullable<z.ZodString>;
224
+ consignmentDeliveryDate: z.ZodNullable<z.ZodDate>;
225
+ }, "strip", z.ZodTypeAny, {
226
+ categoryUUID: string | null;
227
+ consignmentUUID: string | null;
228
+ quantity: number;
229
+ price: number;
230
+ productUUID: string;
231
+ orderProductUUID: string;
232
+ orderUUID: string;
233
+ productName: string;
234
+ categoryName: string | null;
235
+ consignmentDeliveryDate: Date | null;
236
+ }, {
237
+ categoryUUID: string | null;
238
+ consignmentUUID: string | null;
239
+ quantity: number;
240
+ price: number;
241
+ productUUID: string;
242
+ orderProductUUID: string;
243
+ orderUUID: string;
244
+ productName: string;
245
+ categoryName: string | null;
246
+ consignmentDeliveryDate: Date | null;
247
+ }>;
248
+ newQuantity: z.ZodNumber;
249
+ newPrice: z.ZodNumber;
250
+ }, "strip", z.ZodTypeAny, {
251
+ orderProduct: {
252
+ categoryUUID: string | null;
253
+ consignmentUUID: string | null;
254
+ quantity: number;
255
+ price: number;
256
+ productUUID: string;
257
+ orderProductUUID: string;
258
+ orderUUID: string;
259
+ productName: string;
260
+ categoryName: string | null;
261
+ consignmentDeliveryDate: Date | null;
262
+ };
263
+ newQuantity: number;
264
+ newPrice: number;
265
+ }, {
266
+ orderProduct: {
267
+ categoryUUID: string | null;
268
+ consignmentUUID: string | null;
269
+ quantity: number;
270
+ price: number;
271
+ productUUID: string;
272
+ orderProductUUID: string;
273
+ orderUUID: string;
274
+ productName: string;
275
+ categoryName: string | null;
276
+ consignmentDeliveryDate: Date | null;
277
+ };
278
+ newQuantity: number;
279
+ newPrice: number;
280
+ }>;
281
+ uuid: z.ZodString;
282
+ companyUUID: z.ZodString;
283
+ userUUID: z.ZodString;
284
+ entityUUID: z.ZodString;
285
+ createdAt: z.ZodDate;
286
+ }, "strip", z.ZodTypeAny, {
287
+ uuid: string;
288
+ createdAt: Date;
289
+ companyUUID: string;
290
+ userUUID: string;
291
+ entityUUID: string;
292
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_ITEM;
293
+ payload: {
294
+ orderProduct: {
295
+ categoryUUID: string | null;
296
+ consignmentUUID: string | null;
297
+ quantity: number;
298
+ price: number;
299
+ productUUID: string;
300
+ orderProductUUID: string;
301
+ orderUUID: string;
302
+ productName: string;
303
+ categoryName: string | null;
304
+ consignmentDeliveryDate: Date | null;
305
+ };
306
+ newQuantity: number;
307
+ newPrice: number;
308
+ };
309
+ }, {
310
+ uuid: string;
311
+ createdAt: Date;
312
+ companyUUID: string;
313
+ userUUID: string;
314
+ entityUUID: string;
315
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_ITEM;
316
+ payload: {
317
+ orderProduct: {
318
+ categoryUUID: string | null;
319
+ consignmentUUID: string | null;
320
+ quantity: number;
321
+ price: number;
322
+ productUUID: string;
323
+ orderProductUUID: string;
324
+ orderUUID: string;
325
+ productName: string;
326
+ categoryName: string | null;
327
+ consignmentDeliveryDate: Date | null;
328
+ };
329
+ newQuantity: number;
330
+ newPrice: number;
331
+ };
332
+ }>, z.ZodObject<{
333
+ actionType: z.ZodLiteral<ActionLogTypeEnum.UPDATE_ORDER_STATUS>;
334
+ payload: z.ZodObject<{
335
+ oldStatus: z.ZodNativeEnum<typeof import("../../enum").OrderStatusEnum>;
336
+ newStatus: z.ZodNativeEnum<typeof import("../../enum").OrderStatusEnum>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ oldStatus: import("../../enum").OrderStatusEnum;
339
+ newStatus: import("../../enum").OrderStatusEnum;
340
+ }, {
341
+ oldStatus: import("../../enum").OrderStatusEnum;
342
+ newStatus: import("../../enum").OrderStatusEnum;
343
+ }>;
344
+ uuid: z.ZodString;
345
+ companyUUID: z.ZodString;
346
+ userUUID: z.ZodString;
347
+ entityUUID: z.ZodString;
348
+ createdAt: z.ZodDate;
349
+ }, "strip", z.ZodTypeAny, {
350
+ uuid: string;
351
+ createdAt: Date;
352
+ companyUUID: string;
353
+ userUUID: string;
354
+ entityUUID: string;
355
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_STATUS;
356
+ payload: {
357
+ oldStatus: import("../../enum").OrderStatusEnum;
358
+ newStatus: import("../../enum").OrderStatusEnum;
359
+ };
360
+ }, {
361
+ uuid: string;
362
+ createdAt: Date;
363
+ companyUUID: string;
364
+ userUUID: string;
365
+ entityUUID: string;
366
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_STATUS;
367
+ payload: {
368
+ oldStatus: import("../../enum").OrderStatusEnum;
369
+ newStatus: import("../../enum").OrderStatusEnum;
370
+ };
371
+ }>, z.ZodObject<{
372
+ actionType: z.ZodLiteral<ActionLogTypeEnum.ADD_PAYMENT>;
373
+ payload: z.ZodObject<{
374
+ transaction: z.ZodObject<{
375
+ transactionUUID: z.ZodString;
376
+ createdAt: z.ZodDate;
377
+ amount: z.ZodNumber;
378
+ moneyAccountName: z.ZodString;
379
+ type: z.ZodNativeEnum<typeof import("../../enum").TransactionTypeEnum>;
380
+ clientName: z.ZodNullable<z.ZodString>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ type: import("../../enum").TransactionTypeEnum;
383
+ createdAt: Date;
384
+ clientName: string | null;
385
+ amount: number;
386
+ transactionUUID: string;
387
+ moneyAccountName: string;
388
+ }, {
389
+ type: import("../../enum").TransactionTypeEnum;
390
+ createdAt: Date;
391
+ clientName: string | null;
392
+ amount: number;
393
+ transactionUUID: string;
394
+ moneyAccountName: string;
395
+ }>;
396
+ }, "strip", z.ZodTypeAny, {
397
+ transaction: {
398
+ type: import("../../enum").TransactionTypeEnum;
399
+ createdAt: Date;
400
+ clientName: string | null;
401
+ amount: number;
402
+ transactionUUID: string;
403
+ moneyAccountName: string;
404
+ };
405
+ }, {
406
+ transaction: {
407
+ type: import("../../enum").TransactionTypeEnum;
408
+ createdAt: Date;
409
+ clientName: string | null;
410
+ amount: number;
411
+ transactionUUID: string;
412
+ moneyAccountName: string;
413
+ };
414
+ }>;
415
+ uuid: z.ZodString;
416
+ companyUUID: z.ZodString;
417
+ userUUID: z.ZodString;
418
+ entityUUID: z.ZodString;
419
+ createdAt: z.ZodDate;
420
+ }, "strip", z.ZodTypeAny, {
421
+ uuid: string;
422
+ createdAt: Date;
423
+ companyUUID: string;
424
+ userUUID: string;
425
+ entityUUID: string;
426
+ actionType: ActionLogTypeEnum.ADD_PAYMENT;
427
+ payload: {
428
+ transaction: {
429
+ type: import("../../enum").TransactionTypeEnum;
430
+ createdAt: Date;
431
+ clientName: string | null;
432
+ amount: number;
433
+ transactionUUID: string;
434
+ moneyAccountName: string;
435
+ };
436
+ };
437
+ }, {
438
+ uuid: string;
439
+ createdAt: Date;
440
+ companyUUID: string;
441
+ userUUID: string;
442
+ entityUUID: string;
443
+ actionType: ActionLogTypeEnum.ADD_PAYMENT;
444
+ payload: {
445
+ transaction: {
446
+ type: import("../../enum").TransactionTypeEnum;
447
+ createdAt: Date;
448
+ clientName: string | null;
449
+ amount: number;
450
+ transactionUUID: string;
451
+ moneyAccountName: string;
452
+ };
453
+ };
454
+ }>, z.ZodObject<{
455
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_PAYMENT>;
456
+ payload: z.ZodObject<{
457
+ transaction: z.ZodObject<{
458
+ transactionUUID: z.ZodString;
459
+ createdAt: z.ZodDate;
460
+ amount: z.ZodNumber;
461
+ moneyAccountName: z.ZodString;
462
+ type: z.ZodNativeEnum<typeof import("../../enum").TransactionTypeEnum>;
463
+ clientName: z.ZodNullable<z.ZodString>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ type: import("../../enum").TransactionTypeEnum;
466
+ createdAt: Date;
467
+ clientName: string | null;
468
+ amount: number;
469
+ transactionUUID: string;
470
+ moneyAccountName: string;
471
+ }, {
472
+ type: import("../../enum").TransactionTypeEnum;
473
+ createdAt: Date;
474
+ clientName: string | null;
475
+ amount: number;
476
+ transactionUUID: string;
477
+ moneyAccountName: string;
478
+ }>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ transaction: {
481
+ type: import("../../enum").TransactionTypeEnum;
482
+ createdAt: Date;
483
+ clientName: string | null;
484
+ amount: number;
485
+ transactionUUID: string;
486
+ moneyAccountName: string;
487
+ };
488
+ }, {
489
+ transaction: {
490
+ type: import("../../enum").TransactionTypeEnum;
491
+ createdAt: Date;
492
+ clientName: string | null;
493
+ amount: number;
494
+ transactionUUID: string;
495
+ moneyAccountName: string;
496
+ };
497
+ }>;
498
+ uuid: z.ZodString;
499
+ companyUUID: z.ZodString;
500
+ userUUID: z.ZodString;
501
+ entityUUID: z.ZodString;
502
+ createdAt: z.ZodDate;
503
+ }, "strip", z.ZodTypeAny, {
504
+ uuid: string;
505
+ createdAt: Date;
506
+ companyUUID: string;
507
+ userUUID: string;
508
+ entityUUID: string;
509
+ actionType: ActionLogTypeEnum.DELETE_PAYMENT;
510
+ payload: {
511
+ transaction: {
512
+ type: import("../../enum").TransactionTypeEnum;
513
+ createdAt: Date;
514
+ clientName: string | null;
515
+ amount: number;
516
+ transactionUUID: string;
517
+ moneyAccountName: string;
518
+ };
519
+ };
520
+ }, {
521
+ uuid: string;
522
+ createdAt: Date;
523
+ companyUUID: string;
524
+ userUUID: string;
525
+ entityUUID: string;
526
+ actionType: ActionLogTypeEnum.DELETE_PAYMENT;
527
+ payload: {
528
+ transaction: {
529
+ type: import("../../enum").TransactionTypeEnum;
530
+ createdAt: Date;
531
+ clientName: string | null;
532
+ amount: number;
533
+ transactionUUID: string;
534
+ moneyAccountName: string;
535
+ };
536
+ };
537
+ }>, z.ZodObject<{
538
+ actionType: z.ZodLiteral<ActionLogTypeEnum.CREATE_ORDER>;
539
+ payload: z.ZodObject<{
540
+ order: z.ZodObject<{
541
+ orderUUID: z.ZodString;
542
+ orderId: z.ZodNumber;
543
+ clientUUID: z.ZodString;
544
+ clientName: z.ZodString;
545
+ createdAt: z.ZodDate;
546
+ totalCost: z.ZodNumber;
547
+ deliveryAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
548
+ deliveryCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ createdAt: Date;
551
+ clientUUID: string;
552
+ totalCost: number;
553
+ clientName: string;
554
+ orderUUID: string;
555
+ orderId: number;
556
+ deliveryAddress?: string | null | undefined;
557
+ deliveryCost?: number | null | undefined;
558
+ }, {
559
+ createdAt: Date;
560
+ clientUUID: string;
561
+ totalCost: number;
562
+ clientName: string;
563
+ orderUUID: string;
564
+ orderId: number;
565
+ deliveryAddress?: string | null | undefined;
566
+ deliveryCost?: number | null | undefined;
567
+ }>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ order: {
570
+ createdAt: Date;
571
+ clientUUID: string;
572
+ totalCost: number;
573
+ clientName: string;
574
+ orderUUID: string;
575
+ orderId: number;
576
+ deliveryAddress?: string | null | undefined;
577
+ deliveryCost?: number | null | undefined;
578
+ };
579
+ }, {
580
+ order: {
581
+ createdAt: Date;
582
+ clientUUID: string;
583
+ totalCost: number;
584
+ clientName: string;
585
+ orderUUID: string;
586
+ orderId: number;
587
+ deliveryAddress?: string | null | undefined;
588
+ deliveryCost?: number | null | undefined;
589
+ };
590
+ }>;
591
+ uuid: z.ZodString;
592
+ companyUUID: z.ZodString;
593
+ userUUID: z.ZodString;
594
+ entityUUID: z.ZodString;
595
+ createdAt: z.ZodDate;
596
+ }, "strip", z.ZodTypeAny, {
597
+ uuid: string;
598
+ createdAt: Date;
599
+ companyUUID: string;
600
+ userUUID: string;
601
+ entityUUID: string;
602
+ actionType: ActionLogTypeEnum.CREATE_ORDER;
603
+ payload: {
604
+ order: {
605
+ createdAt: Date;
606
+ clientUUID: string;
607
+ totalCost: number;
608
+ clientName: string;
609
+ orderUUID: string;
610
+ orderId: number;
611
+ deliveryAddress?: string | null | undefined;
612
+ deliveryCost?: number | null | undefined;
613
+ };
614
+ };
615
+ }, {
616
+ uuid: string;
617
+ createdAt: Date;
618
+ companyUUID: string;
619
+ userUUID: string;
620
+ entityUUID: string;
621
+ actionType: ActionLogTypeEnum.CREATE_ORDER;
622
+ payload: {
623
+ order: {
624
+ createdAt: Date;
625
+ clientUUID: string;
626
+ totalCost: number;
627
+ clientName: string;
628
+ orderUUID: string;
629
+ orderId: number;
630
+ deliveryAddress?: string | null | undefined;
631
+ deliveryCost?: number | null | undefined;
632
+ };
633
+ };
634
+ }>, z.ZodObject<{
635
+ actionType: z.ZodLiteral<ActionLogTypeEnum.CREATE_PREORDER>;
636
+ payload: z.ZodObject<{
637
+ preOrder: z.ZodObject<{
638
+ preOrderUUID: z.ZodString;
639
+ preOrderId: z.ZodNumber;
640
+ clientUUID: z.ZodString;
641
+ clientName: z.ZodString;
642
+ createdAt: z.ZodDate;
643
+ }, "strip", z.ZodTypeAny, {
644
+ createdAt: Date;
645
+ clientUUID: string;
646
+ clientName: string;
647
+ preOrderUUID: string;
648
+ preOrderId: number;
649
+ }, {
650
+ createdAt: Date;
651
+ clientUUID: string;
652
+ clientName: string;
653
+ preOrderUUID: string;
654
+ preOrderId: number;
655
+ }>;
656
+ }, "strip", z.ZodTypeAny, {
657
+ preOrder: {
658
+ createdAt: Date;
659
+ clientUUID: string;
660
+ clientName: string;
661
+ preOrderUUID: string;
662
+ preOrderId: number;
663
+ };
664
+ }, {
665
+ preOrder: {
666
+ createdAt: Date;
667
+ clientUUID: string;
668
+ clientName: string;
669
+ preOrderUUID: string;
670
+ preOrderId: number;
671
+ };
672
+ }>;
673
+ uuid: z.ZodString;
674
+ companyUUID: z.ZodString;
675
+ userUUID: z.ZodString;
676
+ entityUUID: z.ZodString;
677
+ createdAt: z.ZodDate;
678
+ }, "strip", z.ZodTypeAny, {
679
+ uuid: string;
680
+ createdAt: Date;
681
+ companyUUID: string;
682
+ userUUID: string;
683
+ entityUUID: string;
684
+ actionType: ActionLogTypeEnum.CREATE_PREORDER;
685
+ payload: {
686
+ preOrder: {
687
+ createdAt: Date;
688
+ clientUUID: string;
689
+ clientName: string;
690
+ preOrderUUID: string;
691
+ preOrderId: number;
692
+ };
693
+ };
694
+ }, {
695
+ uuid: string;
696
+ createdAt: Date;
697
+ companyUUID: string;
698
+ userUUID: string;
699
+ entityUUID: string;
700
+ actionType: ActionLogTypeEnum.CREATE_PREORDER;
701
+ payload: {
702
+ preOrder: {
703
+ createdAt: Date;
704
+ clientUUID: string;
705
+ clientName: string;
706
+ preOrderUUID: string;
707
+ preOrderId: number;
708
+ };
709
+ };
710
+ }>, z.ZodObject<{
711
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_PREORDER>;
712
+ payload: z.ZodObject<{
713
+ preOrder: z.ZodObject<{
714
+ preOrderUUID: z.ZodString;
715
+ preOrderId: z.ZodNumber;
716
+ clientUUID: z.ZodString;
717
+ clientName: z.ZodString;
718
+ createdAt: z.ZodDate;
719
+ }, "strip", z.ZodTypeAny, {
720
+ createdAt: Date;
721
+ clientUUID: string;
722
+ clientName: string;
723
+ preOrderUUID: string;
724
+ preOrderId: number;
725
+ }, {
726
+ createdAt: Date;
727
+ clientUUID: string;
728
+ clientName: string;
729
+ preOrderUUID: string;
730
+ preOrderId: number;
731
+ }>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ preOrder: {
734
+ createdAt: Date;
735
+ clientUUID: string;
736
+ clientName: string;
737
+ preOrderUUID: string;
738
+ preOrderId: number;
739
+ };
740
+ }, {
741
+ preOrder: {
742
+ createdAt: Date;
743
+ clientUUID: string;
744
+ clientName: string;
745
+ preOrderUUID: string;
746
+ preOrderId: number;
747
+ };
748
+ }>;
749
+ uuid: z.ZodString;
750
+ companyUUID: z.ZodString;
751
+ userUUID: z.ZodString;
752
+ entityUUID: z.ZodString;
753
+ createdAt: z.ZodDate;
754
+ }, "strip", z.ZodTypeAny, {
755
+ uuid: string;
756
+ createdAt: Date;
757
+ companyUUID: string;
758
+ userUUID: string;
759
+ entityUUID: string;
760
+ actionType: ActionLogTypeEnum.DELETE_PREORDER;
761
+ payload: {
762
+ preOrder: {
763
+ createdAt: Date;
764
+ clientUUID: string;
765
+ clientName: string;
766
+ preOrderUUID: string;
767
+ preOrderId: number;
768
+ };
769
+ };
770
+ }, {
771
+ uuid: string;
772
+ createdAt: Date;
773
+ companyUUID: string;
774
+ userUUID: string;
775
+ entityUUID: string;
776
+ actionType: ActionLogTypeEnum.DELETE_PREORDER;
777
+ payload: {
778
+ preOrder: {
779
+ createdAt: Date;
780
+ clientUUID: string;
781
+ clientName: string;
782
+ preOrderUUID: string;
783
+ preOrderId: number;
784
+ };
785
+ };
786
+ }>, z.ZodObject<{
787
+ actionType: z.ZodLiteral<ActionLogTypeEnum.UPDATE_PREORDER_ITEM>;
788
+ payload: z.ZodObject<{
789
+ preOrderProduct: z.ZodObject<{
790
+ preOrderUUID: z.ZodString;
791
+ preOrderProductUUID: z.ZodString;
792
+ name: z.ZodString;
793
+ categoryName: z.ZodNullable<z.ZodString>;
794
+ quantity: z.ZodNumber;
795
+ price: z.ZodNumber;
796
+ comment: z.ZodNullable<z.ZodString>;
797
+ }, "strip", z.ZodTypeAny, {
798
+ name: string;
799
+ comment: string | null;
800
+ quantity: number;
801
+ price: number;
802
+ preOrderUUID: string;
803
+ categoryName: string | null;
804
+ preOrderProductUUID: string;
805
+ }, {
806
+ name: string;
807
+ comment: string | null;
808
+ quantity: number;
809
+ price: number;
810
+ preOrderUUID: string;
811
+ categoryName: string | null;
812
+ preOrderProductUUID: string;
813
+ }>;
814
+ newQuantity: z.ZodNumber;
815
+ newPrice: z.ZodNumber;
816
+ newComment: z.ZodNullable<z.ZodString>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ preOrderProduct: {
819
+ name: string;
820
+ comment: string | null;
821
+ quantity: number;
822
+ price: number;
823
+ preOrderUUID: string;
824
+ categoryName: string | null;
825
+ preOrderProductUUID: string;
826
+ };
827
+ newQuantity: number;
828
+ newPrice: number;
829
+ newComment: string | null;
830
+ }, {
831
+ preOrderProduct: {
832
+ name: string;
833
+ comment: string | null;
834
+ quantity: number;
835
+ price: number;
836
+ preOrderUUID: string;
837
+ categoryName: string | null;
838
+ preOrderProductUUID: string;
839
+ };
840
+ newQuantity: number;
841
+ newPrice: number;
842
+ newComment: string | null;
843
+ }>;
844
+ uuid: z.ZodString;
845
+ companyUUID: z.ZodString;
846
+ userUUID: z.ZodString;
847
+ entityUUID: z.ZodString;
848
+ createdAt: z.ZodDate;
849
+ }, "strip", z.ZodTypeAny, {
850
+ uuid: string;
851
+ createdAt: Date;
852
+ companyUUID: string;
853
+ userUUID: string;
854
+ entityUUID: string;
855
+ actionType: ActionLogTypeEnum.UPDATE_PREORDER_ITEM;
856
+ payload: {
857
+ preOrderProduct: {
858
+ name: string;
859
+ comment: string | null;
860
+ quantity: number;
861
+ price: number;
862
+ preOrderUUID: string;
863
+ categoryName: string | null;
864
+ preOrderProductUUID: string;
865
+ };
866
+ newQuantity: number;
867
+ newPrice: number;
868
+ newComment: string | null;
869
+ };
870
+ }, {
871
+ uuid: string;
872
+ createdAt: Date;
873
+ companyUUID: string;
874
+ userUUID: string;
875
+ entityUUID: string;
876
+ actionType: ActionLogTypeEnum.UPDATE_PREORDER_ITEM;
877
+ payload: {
878
+ preOrderProduct: {
879
+ name: string;
880
+ comment: string | null;
881
+ quantity: number;
882
+ price: number;
883
+ preOrderUUID: string;
884
+ categoryName: string | null;
885
+ preOrderProductUUID: string;
886
+ };
887
+ newQuantity: number;
888
+ newPrice: number;
889
+ newComment: string | null;
890
+ };
891
+ }>, z.ZodObject<{
892
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_PREORDER_ITEM>;
893
+ payload: z.ZodObject<{
894
+ preOrderProduct: z.ZodObject<{
895
+ preOrderUUID: z.ZodString;
896
+ preOrderProductUUID: z.ZodString;
897
+ name: z.ZodString;
898
+ categoryName: z.ZodNullable<z.ZodString>;
899
+ quantity: z.ZodNumber;
900
+ price: z.ZodNumber;
901
+ comment: z.ZodNullable<z.ZodString>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ name: string;
904
+ comment: string | null;
905
+ quantity: number;
906
+ price: number;
907
+ preOrderUUID: string;
908
+ categoryName: string | null;
909
+ preOrderProductUUID: string;
910
+ }, {
911
+ name: string;
912
+ comment: string | null;
913
+ quantity: number;
914
+ price: number;
915
+ preOrderUUID: string;
916
+ categoryName: string | null;
917
+ preOrderProductUUID: string;
918
+ }>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ preOrderProduct: {
921
+ name: string;
922
+ comment: string | null;
923
+ quantity: number;
924
+ price: number;
925
+ preOrderUUID: string;
926
+ categoryName: string | null;
927
+ preOrderProductUUID: string;
928
+ };
929
+ }, {
930
+ preOrderProduct: {
931
+ name: string;
932
+ comment: string | null;
933
+ quantity: number;
934
+ price: number;
935
+ preOrderUUID: string;
936
+ categoryName: string | null;
937
+ preOrderProductUUID: string;
938
+ };
939
+ }>;
940
+ uuid: z.ZodString;
941
+ companyUUID: z.ZodString;
942
+ userUUID: z.ZodString;
943
+ entityUUID: z.ZodString;
944
+ createdAt: z.ZodDate;
945
+ }, "strip", z.ZodTypeAny, {
946
+ uuid: string;
947
+ createdAt: Date;
948
+ companyUUID: string;
949
+ userUUID: string;
950
+ entityUUID: string;
951
+ actionType: ActionLogTypeEnum.DELETE_PREORDER_ITEM;
952
+ payload: {
953
+ preOrderProduct: {
954
+ name: string;
955
+ comment: string | null;
956
+ quantity: number;
957
+ price: number;
958
+ preOrderUUID: string;
959
+ categoryName: string | null;
960
+ preOrderProductUUID: string;
961
+ };
962
+ };
963
+ }, {
964
+ uuid: string;
965
+ createdAt: Date;
966
+ companyUUID: string;
967
+ userUUID: string;
968
+ entityUUID: string;
969
+ actionType: ActionLogTypeEnum.DELETE_PREORDER_ITEM;
970
+ payload: {
971
+ preOrderProduct: {
972
+ name: string;
973
+ comment: string | null;
974
+ quantity: number;
975
+ price: number;
976
+ preOrderUUID: string;
977
+ categoryName: string | null;
978
+ preOrderProductUUID: string;
979
+ };
980
+ };
981
+ }>, z.ZodObject<{
982
+ actionType: z.ZodLiteral<ActionLogTypeEnum.CONFIRM_ORDER>;
983
+ payload: z.ZodNull;
984
+ uuid: z.ZodString;
985
+ companyUUID: z.ZodString;
986
+ userUUID: z.ZodString;
987
+ entityUUID: z.ZodString;
988
+ createdAt: z.ZodDate;
989
+ }, "strip", z.ZodTypeAny, {
990
+ uuid: string;
991
+ createdAt: Date;
992
+ companyUUID: string;
993
+ userUUID: string;
994
+ entityUUID: string;
995
+ actionType: ActionLogTypeEnum.CONFIRM_ORDER;
996
+ payload: null;
997
+ }, {
998
+ uuid: string;
999
+ createdAt: Date;
1000
+ companyUUID: string;
1001
+ userUUID: string;
1002
+ entityUUID: string;
1003
+ actionType: ActionLogTypeEnum.CONFIRM_ORDER;
1004
+ payload: null;
1005
+ }>]>;
1006
+ export declare const CreateActionLogSchema: z.ZodObject<{
1007
+ actionType: z.ZodNativeEnum<typeof ActionLogTypeEnum>;
1008
+ entityUUID: z.ZodString;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ entityUUID: string;
1011
+ actionType: ActionLogTypeEnum;
1012
+ }, {
1013
+ entityUUID: string;
1014
+ actionType: ActionLogTypeEnum;
1015
+ }>;
1016
+ export declare const ActionLogListSchema: z.ZodObject<{
1017
+ list: z.ZodArray<z.ZodDiscriminatedUnion<"actionType", [z.ZodObject<{
1018
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_ORDER>;
1019
+ payload: z.ZodObject<{
1020
+ order: z.ZodObject<{
1021
+ orderUUID: z.ZodString;
1022
+ orderId: z.ZodNumber;
1023
+ clientUUID: z.ZodString;
1024
+ clientName: z.ZodString;
1025
+ createdAt: z.ZodDate;
1026
+ totalCost: z.ZodNumber;
1027
+ deliveryAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1028
+ deliveryCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ createdAt: Date;
1031
+ clientUUID: string;
1032
+ totalCost: number;
1033
+ clientName: string;
1034
+ orderUUID: string;
1035
+ orderId: number;
1036
+ deliveryAddress?: string | null | undefined;
1037
+ deliveryCost?: number | null | undefined;
1038
+ }, {
1039
+ createdAt: Date;
1040
+ clientUUID: string;
1041
+ totalCost: number;
1042
+ clientName: string;
1043
+ orderUUID: string;
1044
+ orderId: number;
1045
+ deliveryAddress?: string | null | undefined;
1046
+ deliveryCost?: number | null | undefined;
1047
+ }>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ order: {
1050
+ createdAt: Date;
1051
+ clientUUID: string;
1052
+ totalCost: number;
1053
+ clientName: string;
1054
+ orderUUID: string;
1055
+ orderId: number;
1056
+ deliveryAddress?: string | null | undefined;
1057
+ deliveryCost?: number | null | undefined;
1058
+ };
1059
+ }, {
1060
+ order: {
1061
+ createdAt: Date;
1062
+ clientUUID: string;
1063
+ totalCost: number;
1064
+ clientName: string;
1065
+ orderUUID: string;
1066
+ orderId: number;
1067
+ deliveryAddress?: string | null | undefined;
1068
+ deliveryCost?: number | null | undefined;
1069
+ };
1070
+ }>;
1071
+ uuid: z.ZodString;
1072
+ companyUUID: z.ZodString;
1073
+ userUUID: z.ZodString;
1074
+ entityUUID: z.ZodString;
1075
+ createdAt: z.ZodDate;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ uuid: string;
1078
+ createdAt: Date;
1079
+ companyUUID: string;
1080
+ userUUID: string;
1081
+ entityUUID: string;
1082
+ actionType: ActionLogTypeEnum.DELETE_ORDER;
1083
+ payload: {
1084
+ order: {
1085
+ createdAt: Date;
1086
+ clientUUID: string;
1087
+ totalCost: number;
1088
+ clientName: string;
1089
+ orderUUID: string;
1090
+ orderId: number;
1091
+ deliveryAddress?: string | null | undefined;
1092
+ deliveryCost?: number | null | undefined;
1093
+ };
1094
+ };
1095
+ }, {
1096
+ uuid: string;
1097
+ createdAt: Date;
1098
+ companyUUID: string;
1099
+ userUUID: string;
1100
+ entityUUID: string;
1101
+ actionType: ActionLogTypeEnum.DELETE_ORDER;
1102
+ payload: {
1103
+ order: {
1104
+ createdAt: Date;
1105
+ clientUUID: string;
1106
+ totalCost: number;
1107
+ clientName: string;
1108
+ orderUUID: string;
1109
+ orderId: number;
1110
+ deliveryAddress?: string | null | undefined;
1111
+ deliveryCost?: number | null | undefined;
1112
+ };
1113
+ };
1114
+ }>, z.ZodObject<{
1115
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_ORDER_ITEM>;
1116
+ payload: z.ZodObject<{
1117
+ orderProduct: z.ZodObject<{
1118
+ orderUUID: z.ZodString;
1119
+ orderProductUUID: z.ZodString;
1120
+ productUUID: z.ZodString;
1121
+ productName: z.ZodString;
1122
+ categoryUUID: z.ZodNullable<z.ZodString>;
1123
+ categoryName: z.ZodNullable<z.ZodString>;
1124
+ quantity: z.ZodNumber;
1125
+ price: z.ZodNumber;
1126
+ consignmentUUID: z.ZodNullable<z.ZodString>;
1127
+ consignmentDeliveryDate: z.ZodNullable<z.ZodDate>;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ categoryUUID: string | null;
1130
+ consignmentUUID: string | null;
1131
+ quantity: number;
1132
+ price: number;
1133
+ productUUID: string;
1134
+ orderProductUUID: string;
1135
+ orderUUID: string;
1136
+ productName: string;
1137
+ categoryName: string | null;
1138
+ consignmentDeliveryDate: Date | null;
1139
+ }, {
1140
+ categoryUUID: string | null;
1141
+ consignmentUUID: string | null;
1142
+ quantity: number;
1143
+ price: number;
1144
+ productUUID: string;
1145
+ orderProductUUID: string;
1146
+ orderUUID: string;
1147
+ productName: string;
1148
+ categoryName: string | null;
1149
+ consignmentDeliveryDate: Date | null;
1150
+ }>;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ orderProduct: {
1153
+ categoryUUID: string | null;
1154
+ consignmentUUID: string | null;
1155
+ quantity: number;
1156
+ price: number;
1157
+ productUUID: string;
1158
+ orderProductUUID: string;
1159
+ orderUUID: string;
1160
+ productName: string;
1161
+ categoryName: string | null;
1162
+ consignmentDeliveryDate: Date | null;
1163
+ };
1164
+ }, {
1165
+ orderProduct: {
1166
+ categoryUUID: string | null;
1167
+ consignmentUUID: string | null;
1168
+ quantity: number;
1169
+ price: number;
1170
+ productUUID: string;
1171
+ orderProductUUID: string;
1172
+ orderUUID: string;
1173
+ productName: string;
1174
+ categoryName: string | null;
1175
+ consignmentDeliveryDate: Date | null;
1176
+ };
1177
+ }>;
1178
+ uuid: z.ZodString;
1179
+ companyUUID: z.ZodString;
1180
+ userUUID: z.ZodString;
1181
+ entityUUID: z.ZodString;
1182
+ createdAt: z.ZodDate;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ uuid: string;
1185
+ createdAt: Date;
1186
+ companyUUID: string;
1187
+ userUUID: string;
1188
+ entityUUID: string;
1189
+ actionType: ActionLogTypeEnum.DELETE_ORDER_ITEM;
1190
+ payload: {
1191
+ orderProduct: {
1192
+ categoryUUID: string | null;
1193
+ consignmentUUID: string | null;
1194
+ quantity: number;
1195
+ price: number;
1196
+ productUUID: string;
1197
+ orderProductUUID: string;
1198
+ orderUUID: string;
1199
+ productName: string;
1200
+ categoryName: string | null;
1201
+ consignmentDeliveryDate: Date | null;
1202
+ };
1203
+ };
1204
+ }, {
1205
+ uuid: string;
1206
+ createdAt: Date;
1207
+ companyUUID: string;
1208
+ userUUID: string;
1209
+ entityUUID: string;
1210
+ actionType: ActionLogTypeEnum.DELETE_ORDER_ITEM;
1211
+ payload: {
1212
+ orderProduct: {
1213
+ categoryUUID: string | null;
1214
+ consignmentUUID: string | null;
1215
+ quantity: number;
1216
+ price: number;
1217
+ productUUID: string;
1218
+ orderProductUUID: string;
1219
+ orderUUID: string;
1220
+ productName: string;
1221
+ categoryName: string | null;
1222
+ consignmentDeliveryDate: Date | null;
1223
+ };
1224
+ };
1225
+ }>, z.ZodObject<{
1226
+ actionType: z.ZodLiteral<ActionLogTypeEnum.UPDATE_ORDER_ITEM>;
1227
+ payload: z.ZodObject<{
1228
+ orderProduct: z.ZodObject<{
1229
+ orderUUID: z.ZodString;
1230
+ orderProductUUID: z.ZodString;
1231
+ productUUID: z.ZodString;
1232
+ productName: z.ZodString;
1233
+ categoryUUID: z.ZodNullable<z.ZodString>;
1234
+ categoryName: z.ZodNullable<z.ZodString>;
1235
+ quantity: z.ZodNumber;
1236
+ price: z.ZodNumber;
1237
+ consignmentUUID: z.ZodNullable<z.ZodString>;
1238
+ consignmentDeliveryDate: z.ZodNullable<z.ZodDate>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ categoryUUID: string | null;
1241
+ consignmentUUID: string | null;
1242
+ quantity: number;
1243
+ price: number;
1244
+ productUUID: string;
1245
+ orderProductUUID: string;
1246
+ orderUUID: string;
1247
+ productName: string;
1248
+ categoryName: string | null;
1249
+ consignmentDeliveryDate: Date | null;
1250
+ }, {
1251
+ categoryUUID: string | null;
1252
+ consignmentUUID: string | null;
1253
+ quantity: number;
1254
+ price: number;
1255
+ productUUID: string;
1256
+ orderProductUUID: string;
1257
+ orderUUID: string;
1258
+ productName: string;
1259
+ categoryName: string | null;
1260
+ consignmentDeliveryDate: Date | null;
1261
+ }>;
1262
+ newQuantity: z.ZodNumber;
1263
+ newPrice: z.ZodNumber;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ orderProduct: {
1266
+ categoryUUID: string | null;
1267
+ consignmentUUID: string | null;
1268
+ quantity: number;
1269
+ price: number;
1270
+ productUUID: string;
1271
+ orderProductUUID: string;
1272
+ orderUUID: string;
1273
+ productName: string;
1274
+ categoryName: string | null;
1275
+ consignmentDeliveryDate: Date | null;
1276
+ };
1277
+ newQuantity: number;
1278
+ newPrice: number;
1279
+ }, {
1280
+ orderProduct: {
1281
+ categoryUUID: string | null;
1282
+ consignmentUUID: string | null;
1283
+ quantity: number;
1284
+ price: number;
1285
+ productUUID: string;
1286
+ orderProductUUID: string;
1287
+ orderUUID: string;
1288
+ productName: string;
1289
+ categoryName: string | null;
1290
+ consignmentDeliveryDate: Date | null;
1291
+ };
1292
+ newQuantity: number;
1293
+ newPrice: number;
1294
+ }>;
1295
+ uuid: z.ZodString;
1296
+ companyUUID: z.ZodString;
1297
+ userUUID: z.ZodString;
1298
+ entityUUID: z.ZodString;
1299
+ createdAt: z.ZodDate;
1300
+ }, "strip", z.ZodTypeAny, {
1301
+ uuid: string;
1302
+ createdAt: Date;
1303
+ companyUUID: string;
1304
+ userUUID: string;
1305
+ entityUUID: string;
1306
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_ITEM;
1307
+ payload: {
1308
+ orderProduct: {
1309
+ categoryUUID: string | null;
1310
+ consignmentUUID: string | null;
1311
+ quantity: number;
1312
+ price: number;
1313
+ productUUID: string;
1314
+ orderProductUUID: string;
1315
+ orderUUID: string;
1316
+ productName: string;
1317
+ categoryName: string | null;
1318
+ consignmentDeliveryDate: Date | null;
1319
+ };
1320
+ newQuantity: number;
1321
+ newPrice: number;
1322
+ };
1323
+ }, {
1324
+ uuid: string;
1325
+ createdAt: Date;
1326
+ companyUUID: string;
1327
+ userUUID: string;
1328
+ entityUUID: string;
1329
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_ITEM;
1330
+ payload: {
1331
+ orderProduct: {
1332
+ categoryUUID: string | null;
1333
+ consignmentUUID: string | null;
1334
+ quantity: number;
1335
+ price: number;
1336
+ productUUID: string;
1337
+ orderProductUUID: string;
1338
+ orderUUID: string;
1339
+ productName: string;
1340
+ categoryName: string | null;
1341
+ consignmentDeliveryDate: Date | null;
1342
+ };
1343
+ newQuantity: number;
1344
+ newPrice: number;
1345
+ };
1346
+ }>, z.ZodObject<{
1347
+ actionType: z.ZodLiteral<ActionLogTypeEnum.UPDATE_ORDER_STATUS>;
1348
+ payload: z.ZodObject<{
1349
+ oldStatus: z.ZodNativeEnum<typeof import("../../enum").OrderStatusEnum>;
1350
+ newStatus: z.ZodNativeEnum<typeof import("../../enum").OrderStatusEnum>;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ oldStatus: import("../../enum").OrderStatusEnum;
1353
+ newStatus: import("../../enum").OrderStatusEnum;
1354
+ }, {
1355
+ oldStatus: import("../../enum").OrderStatusEnum;
1356
+ newStatus: import("../../enum").OrderStatusEnum;
1357
+ }>;
1358
+ uuid: z.ZodString;
1359
+ companyUUID: z.ZodString;
1360
+ userUUID: z.ZodString;
1361
+ entityUUID: z.ZodString;
1362
+ createdAt: z.ZodDate;
1363
+ }, "strip", z.ZodTypeAny, {
1364
+ uuid: string;
1365
+ createdAt: Date;
1366
+ companyUUID: string;
1367
+ userUUID: string;
1368
+ entityUUID: string;
1369
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_STATUS;
1370
+ payload: {
1371
+ oldStatus: import("../../enum").OrderStatusEnum;
1372
+ newStatus: import("../../enum").OrderStatusEnum;
1373
+ };
1374
+ }, {
1375
+ uuid: string;
1376
+ createdAt: Date;
1377
+ companyUUID: string;
1378
+ userUUID: string;
1379
+ entityUUID: string;
1380
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_STATUS;
1381
+ payload: {
1382
+ oldStatus: import("../../enum").OrderStatusEnum;
1383
+ newStatus: import("../../enum").OrderStatusEnum;
1384
+ };
1385
+ }>, z.ZodObject<{
1386
+ actionType: z.ZodLiteral<ActionLogTypeEnum.ADD_PAYMENT>;
1387
+ payload: z.ZodObject<{
1388
+ transaction: z.ZodObject<{
1389
+ transactionUUID: z.ZodString;
1390
+ createdAt: z.ZodDate;
1391
+ amount: z.ZodNumber;
1392
+ moneyAccountName: z.ZodString;
1393
+ type: z.ZodNativeEnum<typeof import("../../enum").TransactionTypeEnum>;
1394
+ clientName: z.ZodNullable<z.ZodString>;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ type: import("../../enum").TransactionTypeEnum;
1397
+ createdAt: Date;
1398
+ clientName: string | null;
1399
+ amount: number;
1400
+ transactionUUID: string;
1401
+ moneyAccountName: string;
1402
+ }, {
1403
+ type: import("../../enum").TransactionTypeEnum;
1404
+ createdAt: Date;
1405
+ clientName: string | null;
1406
+ amount: number;
1407
+ transactionUUID: string;
1408
+ moneyAccountName: string;
1409
+ }>;
1410
+ }, "strip", z.ZodTypeAny, {
1411
+ transaction: {
1412
+ type: import("../../enum").TransactionTypeEnum;
1413
+ createdAt: Date;
1414
+ clientName: string | null;
1415
+ amount: number;
1416
+ transactionUUID: string;
1417
+ moneyAccountName: string;
1418
+ };
1419
+ }, {
1420
+ transaction: {
1421
+ type: import("../../enum").TransactionTypeEnum;
1422
+ createdAt: Date;
1423
+ clientName: string | null;
1424
+ amount: number;
1425
+ transactionUUID: string;
1426
+ moneyAccountName: string;
1427
+ };
1428
+ }>;
1429
+ uuid: z.ZodString;
1430
+ companyUUID: z.ZodString;
1431
+ userUUID: z.ZodString;
1432
+ entityUUID: z.ZodString;
1433
+ createdAt: z.ZodDate;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ uuid: string;
1436
+ createdAt: Date;
1437
+ companyUUID: string;
1438
+ userUUID: string;
1439
+ entityUUID: string;
1440
+ actionType: ActionLogTypeEnum.ADD_PAYMENT;
1441
+ payload: {
1442
+ transaction: {
1443
+ type: import("../../enum").TransactionTypeEnum;
1444
+ createdAt: Date;
1445
+ clientName: string | null;
1446
+ amount: number;
1447
+ transactionUUID: string;
1448
+ moneyAccountName: string;
1449
+ };
1450
+ };
1451
+ }, {
1452
+ uuid: string;
1453
+ createdAt: Date;
1454
+ companyUUID: string;
1455
+ userUUID: string;
1456
+ entityUUID: string;
1457
+ actionType: ActionLogTypeEnum.ADD_PAYMENT;
1458
+ payload: {
1459
+ transaction: {
1460
+ type: import("../../enum").TransactionTypeEnum;
1461
+ createdAt: Date;
1462
+ clientName: string | null;
1463
+ amount: number;
1464
+ transactionUUID: string;
1465
+ moneyAccountName: string;
1466
+ };
1467
+ };
1468
+ }>, z.ZodObject<{
1469
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_PAYMENT>;
1470
+ payload: z.ZodObject<{
1471
+ transaction: z.ZodObject<{
1472
+ transactionUUID: z.ZodString;
1473
+ createdAt: z.ZodDate;
1474
+ amount: z.ZodNumber;
1475
+ moneyAccountName: z.ZodString;
1476
+ type: z.ZodNativeEnum<typeof import("../../enum").TransactionTypeEnum>;
1477
+ clientName: z.ZodNullable<z.ZodString>;
1478
+ }, "strip", z.ZodTypeAny, {
1479
+ type: import("../../enum").TransactionTypeEnum;
1480
+ createdAt: Date;
1481
+ clientName: string | null;
1482
+ amount: number;
1483
+ transactionUUID: string;
1484
+ moneyAccountName: string;
1485
+ }, {
1486
+ type: import("../../enum").TransactionTypeEnum;
1487
+ createdAt: Date;
1488
+ clientName: string | null;
1489
+ amount: number;
1490
+ transactionUUID: string;
1491
+ moneyAccountName: string;
1492
+ }>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ transaction: {
1495
+ type: import("../../enum").TransactionTypeEnum;
1496
+ createdAt: Date;
1497
+ clientName: string | null;
1498
+ amount: number;
1499
+ transactionUUID: string;
1500
+ moneyAccountName: string;
1501
+ };
1502
+ }, {
1503
+ transaction: {
1504
+ type: import("../../enum").TransactionTypeEnum;
1505
+ createdAt: Date;
1506
+ clientName: string | null;
1507
+ amount: number;
1508
+ transactionUUID: string;
1509
+ moneyAccountName: string;
1510
+ };
1511
+ }>;
1512
+ uuid: z.ZodString;
1513
+ companyUUID: z.ZodString;
1514
+ userUUID: z.ZodString;
1515
+ entityUUID: z.ZodString;
1516
+ createdAt: z.ZodDate;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ uuid: string;
1519
+ createdAt: Date;
1520
+ companyUUID: string;
1521
+ userUUID: string;
1522
+ entityUUID: string;
1523
+ actionType: ActionLogTypeEnum.DELETE_PAYMENT;
1524
+ payload: {
1525
+ transaction: {
1526
+ type: import("../../enum").TransactionTypeEnum;
1527
+ createdAt: Date;
1528
+ clientName: string | null;
1529
+ amount: number;
1530
+ transactionUUID: string;
1531
+ moneyAccountName: string;
1532
+ };
1533
+ };
1534
+ }, {
1535
+ uuid: string;
1536
+ createdAt: Date;
1537
+ companyUUID: string;
1538
+ userUUID: string;
1539
+ entityUUID: string;
1540
+ actionType: ActionLogTypeEnum.DELETE_PAYMENT;
1541
+ payload: {
1542
+ transaction: {
1543
+ type: import("../../enum").TransactionTypeEnum;
1544
+ createdAt: Date;
1545
+ clientName: string | null;
1546
+ amount: number;
1547
+ transactionUUID: string;
1548
+ moneyAccountName: string;
1549
+ };
1550
+ };
1551
+ }>, z.ZodObject<{
1552
+ actionType: z.ZodLiteral<ActionLogTypeEnum.CREATE_ORDER>;
1553
+ payload: z.ZodObject<{
1554
+ order: z.ZodObject<{
1555
+ orderUUID: z.ZodString;
1556
+ orderId: z.ZodNumber;
1557
+ clientUUID: z.ZodString;
1558
+ clientName: z.ZodString;
1559
+ createdAt: z.ZodDate;
1560
+ totalCost: z.ZodNumber;
1561
+ deliveryAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1562
+ deliveryCost: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ createdAt: Date;
1565
+ clientUUID: string;
1566
+ totalCost: number;
1567
+ clientName: string;
1568
+ orderUUID: string;
1569
+ orderId: number;
1570
+ deliveryAddress?: string | null | undefined;
1571
+ deliveryCost?: number | null | undefined;
1572
+ }, {
1573
+ createdAt: Date;
1574
+ clientUUID: string;
1575
+ totalCost: number;
1576
+ clientName: string;
1577
+ orderUUID: string;
1578
+ orderId: number;
1579
+ deliveryAddress?: string | null | undefined;
1580
+ deliveryCost?: number | null | undefined;
1581
+ }>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ order: {
1584
+ createdAt: Date;
1585
+ clientUUID: string;
1586
+ totalCost: number;
1587
+ clientName: string;
1588
+ orderUUID: string;
1589
+ orderId: number;
1590
+ deliveryAddress?: string | null | undefined;
1591
+ deliveryCost?: number | null | undefined;
1592
+ };
1593
+ }, {
1594
+ order: {
1595
+ createdAt: Date;
1596
+ clientUUID: string;
1597
+ totalCost: number;
1598
+ clientName: string;
1599
+ orderUUID: string;
1600
+ orderId: number;
1601
+ deliveryAddress?: string | null | undefined;
1602
+ deliveryCost?: number | null | undefined;
1603
+ };
1604
+ }>;
1605
+ uuid: z.ZodString;
1606
+ companyUUID: z.ZodString;
1607
+ userUUID: z.ZodString;
1608
+ entityUUID: z.ZodString;
1609
+ createdAt: z.ZodDate;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ uuid: string;
1612
+ createdAt: Date;
1613
+ companyUUID: string;
1614
+ userUUID: string;
1615
+ entityUUID: string;
1616
+ actionType: ActionLogTypeEnum.CREATE_ORDER;
1617
+ payload: {
1618
+ order: {
1619
+ createdAt: Date;
1620
+ clientUUID: string;
1621
+ totalCost: number;
1622
+ clientName: string;
1623
+ orderUUID: string;
1624
+ orderId: number;
1625
+ deliveryAddress?: string | null | undefined;
1626
+ deliveryCost?: number | null | undefined;
1627
+ };
1628
+ };
1629
+ }, {
1630
+ uuid: string;
1631
+ createdAt: Date;
1632
+ companyUUID: string;
1633
+ userUUID: string;
1634
+ entityUUID: string;
1635
+ actionType: ActionLogTypeEnum.CREATE_ORDER;
1636
+ payload: {
1637
+ order: {
1638
+ createdAt: Date;
1639
+ clientUUID: string;
1640
+ totalCost: number;
1641
+ clientName: string;
1642
+ orderUUID: string;
1643
+ orderId: number;
1644
+ deliveryAddress?: string | null | undefined;
1645
+ deliveryCost?: number | null | undefined;
1646
+ };
1647
+ };
1648
+ }>, z.ZodObject<{
1649
+ actionType: z.ZodLiteral<ActionLogTypeEnum.CREATE_PREORDER>;
1650
+ payload: z.ZodObject<{
1651
+ preOrder: z.ZodObject<{
1652
+ preOrderUUID: z.ZodString;
1653
+ preOrderId: z.ZodNumber;
1654
+ clientUUID: z.ZodString;
1655
+ clientName: z.ZodString;
1656
+ createdAt: z.ZodDate;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ createdAt: Date;
1659
+ clientUUID: string;
1660
+ clientName: string;
1661
+ preOrderUUID: string;
1662
+ preOrderId: number;
1663
+ }, {
1664
+ createdAt: Date;
1665
+ clientUUID: string;
1666
+ clientName: string;
1667
+ preOrderUUID: string;
1668
+ preOrderId: number;
1669
+ }>;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ preOrder: {
1672
+ createdAt: Date;
1673
+ clientUUID: string;
1674
+ clientName: string;
1675
+ preOrderUUID: string;
1676
+ preOrderId: number;
1677
+ };
1678
+ }, {
1679
+ preOrder: {
1680
+ createdAt: Date;
1681
+ clientUUID: string;
1682
+ clientName: string;
1683
+ preOrderUUID: string;
1684
+ preOrderId: number;
1685
+ };
1686
+ }>;
1687
+ uuid: z.ZodString;
1688
+ companyUUID: z.ZodString;
1689
+ userUUID: z.ZodString;
1690
+ entityUUID: z.ZodString;
1691
+ createdAt: z.ZodDate;
1692
+ }, "strip", z.ZodTypeAny, {
1693
+ uuid: string;
1694
+ createdAt: Date;
1695
+ companyUUID: string;
1696
+ userUUID: string;
1697
+ entityUUID: string;
1698
+ actionType: ActionLogTypeEnum.CREATE_PREORDER;
1699
+ payload: {
1700
+ preOrder: {
1701
+ createdAt: Date;
1702
+ clientUUID: string;
1703
+ clientName: string;
1704
+ preOrderUUID: string;
1705
+ preOrderId: number;
1706
+ };
1707
+ };
1708
+ }, {
1709
+ uuid: string;
1710
+ createdAt: Date;
1711
+ companyUUID: string;
1712
+ userUUID: string;
1713
+ entityUUID: string;
1714
+ actionType: ActionLogTypeEnum.CREATE_PREORDER;
1715
+ payload: {
1716
+ preOrder: {
1717
+ createdAt: Date;
1718
+ clientUUID: string;
1719
+ clientName: string;
1720
+ preOrderUUID: string;
1721
+ preOrderId: number;
1722
+ };
1723
+ };
1724
+ }>, z.ZodObject<{
1725
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_PREORDER>;
1726
+ payload: z.ZodObject<{
1727
+ preOrder: z.ZodObject<{
1728
+ preOrderUUID: z.ZodString;
1729
+ preOrderId: z.ZodNumber;
1730
+ clientUUID: z.ZodString;
1731
+ clientName: z.ZodString;
1732
+ createdAt: z.ZodDate;
1733
+ }, "strip", z.ZodTypeAny, {
1734
+ createdAt: Date;
1735
+ clientUUID: string;
1736
+ clientName: string;
1737
+ preOrderUUID: string;
1738
+ preOrderId: number;
1739
+ }, {
1740
+ createdAt: Date;
1741
+ clientUUID: string;
1742
+ clientName: string;
1743
+ preOrderUUID: string;
1744
+ preOrderId: number;
1745
+ }>;
1746
+ }, "strip", z.ZodTypeAny, {
1747
+ preOrder: {
1748
+ createdAt: Date;
1749
+ clientUUID: string;
1750
+ clientName: string;
1751
+ preOrderUUID: string;
1752
+ preOrderId: number;
1753
+ };
1754
+ }, {
1755
+ preOrder: {
1756
+ createdAt: Date;
1757
+ clientUUID: string;
1758
+ clientName: string;
1759
+ preOrderUUID: string;
1760
+ preOrderId: number;
1761
+ };
1762
+ }>;
1763
+ uuid: z.ZodString;
1764
+ companyUUID: z.ZodString;
1765
+ userUUID: z.ZodString;
1766
+ entityUUID: z.ZodString;
1767
+ createdAt: z.ZodDate;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ uuid: string;
1770
+ createdAt: Date;
1771
+ companyUUID: string;
1772
+ userUUID: string;
1773
+ entityUUID: string;
1774
+ actionType: ActionLogTypeEnum.DELETE_PREORDER;
1775
+ payload: {
1776
+ preOrder: {
1777
+ createdAt: Date;
1778
+ clientUUID: string;
1779
+ clientName: string;
1780
+ preOrderUUID: string;
1781
+ preOrderId: number;
1782
+ };
1783
+ };
1784
+ }, {
1785
+ uuid: string;
1786
+ createdAt: Date;
1787
+ companyUUID: string;
1788
+ userUUID: string;
1789
+ entityUUID: string;
1790
+ actionType: ActionLogTypeEnum.DELETE_PREORDER;
1791
+ payload: {
1792
+ preOrder: {
1793
+ createdAt: Date;
1794
+ clientUUID: string;
1795
+ clientName: string;
1796
+ preOrderUUID: string;
1797
+ preOrderId: number;
1798
+ };
1799
+ };
1800
+ }>, z.ZodObject<{
1801
+ actionType: z.ZodLiteral<ActionLogTypeEnum.UPDATE_PREORDER_ITEM>;
1802
+ payload: z.ZodObject<{
1803
+ preOrderProduct: z.ZodObject<{
1804
+ preOrderUUID: z.ZodString;
1805
+ preOrderProductUUID: z.ZodString;
1806
+ name: z.ZodString;
1807
+ categoryName: z.ZodNullable<z.ZodString>;
1808
+ quantity: z.ZodNumber;
1809
+ price: z.ZodNumber;
1810
+ comment: z.ZodNullable<z.ZodString>;
1811
+ }, "strip", z.ZodTypeAny, {
1812
+ name: string;
1813
+ comment: string | null;
1814
+ quantity: number;
1815
+ price: number;
1816
+ preOrderUUID: string;
1817
+ categoryName: string | null;
1818
+ preOrderProductUUID: string;
1819
+ }, {
1820
+ name: string;
1821
+ comment: string | null;
1822
+ quantity: number;
1823
+ price: number;
1824
+ preOrderUUID: string;
1825
+ categoryName: string | null;
1826
+ preOrderProductUUID: string;
1827
+ }>;
1828
+ newQuantity: z.ZodNumber;
1829
+ newPrice: z.ZodNumber;
1830
+ newComment: z.ZodNullable<z.ZodString>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ preOrderProduct: {
1833
+ name: string;
1834
+ comment: string | null;
1835
+ quantity: number;
1836
+ price: number;
1837
+ preOrderUUID: string;
1838
+ categoryName: string | null;
1839
+ preOrderProductUUID: string;
1840
+ };
1841
+ newQuantity: number;
1842
+ newPrice: number;
1843
+ newComment: string | null;
1844
+ }, {
1845
+ preOrderProduct: {
1846
+ name: string;
1847
+ comment: string | null;
1848
+ quantity: number;
1849
+ price: number;
1850
+ preOrderUUID: string;
1851
+ categoryName: string | null;
1852
+ preOrderProductUUID: string;
1853
+ };
1854
+ newQuantity: number;
1855
+ newPrice: number;
1856
+ newComment: string | null;
1857
+ }>;
1858
+ uuid: z.ZodString;
1859
+ companyUUID: z.ZodString;
1860
+ userUUID: z.ZodString;
1861
+ entityUUID: z.ZodString;
1862
+ createdAt: z.ZodDate;
1863
+ }, "strip", z.ZodTypeAny, {
1864
+ uuid: string;
1865
+ createdAt: Date;
1866
+ companyUUID: string;
1867
+ userUUID: string;
1868
+ entityUUID: string;
1869
+ actionType: ActionLogTypeEnum.UPDATE_PREORDER_ITEM;
1870
+ payload: {
1871
+ preOrderProduct: {
1872
+ name: string;
1873
+ comment: string | null;
1874
+ quantity: number;
1875
+ price: number;
1876
+ preOrderUUID: string;
1877
+ categoryName: string | null;
1878
+ preOrderProductUUID: string;
1879
+ };
1880
+ newQuantity: number;
1881
+ newPrice: number;
1882
+ newComment: string | null;
1883
+ };
1884
+ }, {
1885
+ uuid: string;
1886
+ createdAt: Date;
1887
+ companyUUID: string;
1888
+ userUUID: string;
1889
+ entityUUID: string;
1890
+ actionType: ActionLogTypeEnum.UPDATE_PREORDER_ITEM;
1891
+ payload: {
1892
+ preOrderProduct: {
1893
+ name: string;
1894
+ comment: string | null;
1895
+ quantity: number;
1896
+ price: number;
1897
+ preOrderUUID: string;
1898
+ categoryName: string | null;
1899
+ preOrderProductUUID: string;
1900
+ };
1901
+ newQuantity: number;
1902
+ newPrice: number;
1903
+ newComment: string | null;
1904
+ };
1905
+ }>, z.ZodObject<{
1906
+ actionType: z.ZodLiteral<ActionLogTypeEnum.DELETE_PREORDER_ITEM>;
1907
+ payload: z.ZodObject<{
1908
+ preOrderProduct: z.ZodObject<{
1909
+ preOrderUUID: z.ZodString;
1910
+ preOrderProductUUID: z.ZodString;
1911
+ name: z.ZodString;
1912
+ categoryName: z.ZodNullable<z.ZodString>;
1913
+ quantity: z.ZodNumber;
1914
+ price: z.ZodNumber;
1915
+ comment: z.ZodNullable<z.ZodString>;
1916
+ }, "strip", z.ZodTypeAny, {
1917
+ name: string;
1918
+ comment: string | null;
1919
+ quantity: number;
1920
+ price: number;
1921
+ preOrderUUID: string;
1922
+ categoryName: string | null;
1923
+ preOrderProductUUID: string;
1924
+ }, {
1925
+ name: string;
1926
+ comment: string | null;
1927
+ quantity: number;
1928
+ price: number;
1929
+ preOrderUUID: string;
1930
+ categoryName: string | null;
1931
+ preOrderProductUUID: string;
1932
+ }>;
1933
+ }, "strip", z.ZodTypeAny, {
1934
+ preOrderProduct: {
1935
+ name: string;
1936
+ comment: string | null;
1937
+ quantity: number;
1938
+ price: number;
1939
+ preOrderUUID: string;
1940
+ categoryName: string | null;
1941
+ preOrderProductUUID: string;
1942
+ };
1943
+ }, {
1944
+ preOrderProduct: {
1945
+ name: string;
1946
+ comment: string | null;
1947
+ quantity: number;
1948
+ price: number;
1949
+ preOrderUUID: string;
1950
+ categoryName: string | null;
1951
+ preOrderProductUUID: string;
1952
+ };
1953
+ }>;
1954
+ uuid: z.ZodString;
1955
+ companyUUID: z.ZodString;
1956
+ userUUID: z.ZodString;
1957
+ entityUUID: z.ZodString;
1958
+ createdAt: z.ZodDate;
1959
+ }, "strip", z.ZodTypeAny, {
1960
+ uuid: string;
1961
+ createdAt: Date;
1962
+ companyUUID: string;
1963
+ userUUID: string;
1964
+ entityUUID: string;
1965
+ actionType: ActionLogTypeEnum.DELETE_PREORDER_ITEM;
1966
+ payload: {
1967
+ preOrderProduct: {
1968
+ name: string;
1969
+ comment: string | null;
1970
+ quantity: number;
1971
+ price: number;
1972
+ preOrderUUID: string;
1973
+ categoryName: string | null;
1974
+ preOrderProductUUID: string;
1975
+ };
1976
+ };
1977
+ }, {
1978
+ uuid: string;
1979
+ createdAt: Date;
1980
+ companyUUID: string;
1981
+ userUUID: string;
1982
+ entityUUID: string;
1983
+ actionType: ActionLogTypeEnum.DELETE_PREORDER_ITEM;
1984
+ payload: {
1985
+ preOrderProduct: {
1986
+ name: string;
1987
+ comment: string | null;
1988
+ quantity: number;
1989
+ price: number;
1990
+ preOrderUUID: string;
1991
+ categoryName: string | null;
1992
+ preOrderProductUUID: string;
1993
+ };
1994
+ };
1995
+ }>, z.ZodObject<{
1996
+ actionType: z.ZodLiteral<ActionLogTypeEnum.CONFIRM_ORDER>;
1997
+ payload: z.ZodNull;
1998
+ uuid: z.ZodString;
1999
+ companyUUID: z.ZodString;
2000
+ userUUID: z.ZodString;
2001
+ entityUUID: z.ZodString;
2002
+ createdAt: z.ZodDate;
2003
+ }, "strip", z.ZodTypeAny, {
2004
+ uuid: string;
2005
+ createdAt: Date;
2006
+ companyUUID: string;
2007
+ userUUID: string;
2008
+ entityUUID: string;
2009
+ actionType: ActionLogTypeEnum.CONFIRM_ORDER;
2010
+ payload: null;
2011
+ }, {
2012
+ uuid: string;
2013
+ createdAt: Date;
2014
+ companyUUID: string;
2015
+ userUUID: string;
2016
+ entityUUID: string;
2017
+ actionType: ActionLogTypeEnum.CONFIRM_ORDER;
2018
+ payload: null;
2019
+ }>]>, "many">;
2020
+ total: z.ZodNumber;
2021
+ }, "strip", z.ZodTypeAny, {
2022
+ total: number;
2023
+ list: ({
2024
+ uuid: string;
2025
+ createdAt: Date;
2026
+ companyUUID: string;
2027
+ userUUID: string;
2028
+ entityUUID: string;
2029
+ actionType: ActionLogTypeEnum.DELETE_ORDER;
2030
+ payload: {
2031
+ order: {
2032
+ createdAt: Date;
2033
+ clientUUID: string;
2034
+ totalCost: number;
2035
+ clientName: string;
2036
+ orderUUID: string;
2037
+ orderId: number;
2038
+ deliveryAddress?: string | null | undefined;
2039
+ deliveryCost?: number | null | undefined;
2040
+ };
2041
+ };
2042
+ } | {
2043
+ uuid: string;
2044
+ createdAt: Date;
2045
+ companyUUID: string;
2046
+ userUUID: string;
2047
+ entityUUID: string;
2048
+ actionType: ActionLogTypeEnum.DELETE_ORDER_ITEM;
2049
+ payload: {
2050
+ orderProduct: {
2051
+ categoryUUID: string | null;
2052
+ consignmentUUID: string | null;
2053
+ quantity: number;
2054
+ price: number;
2055
+ productUUID: string;
2056
+ orderProductUUID: string;
2057
+ orderUUID: string;
2058
+ productName: string;
2059
+ categoryName: string | null;
2060
+ consignmentDeliveryDate: Date | null;
2061
+ };
2062
+ };
2063
+ } | {
2064
+ uuid: string;
2065
+ createdAt: Date;
2066
+ companyUUID: string;
2067
+ userUUID: string;
2068
+ entityUUID: string;
2069
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_ITEM;
2070
+ payload: {
2071
+ orderProduct: {
2072
+ categoryUUID: string | null;
2073
+ consignmentUUID: string | null;
2074
+ quantity: number;
2075
+ price: number;
2076
+ productUUID: string;
2077
+ orderProductUUID: string;
2078
+ orderUUID: string;
2079
+ productName: string;
2080
+ categoryName: string | null;
2081
+ consignmentDeliveryDate: Date | null;
2082
+ };
2083
+ newQuantity: number;
2084
+ newPrice: number;
2085
+ };
2086
+ } | {
2087
+ uuid: string;
2088
+ createdAt: Date;
2089
+ companyUUID: string;
2090
+ userUUID: string;
2091
+ entityUUID: string;
2092
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_STATUS;
2093
+ payload: {
2094
+ oldStatus: import("../../enum").OrderStatusEnum;
2095
+ newStatus: import("../../enum").OrderStatusEnum;
2096
+ };
2097
+ } | {
2098
+ uuid: string;
2099
+ createdAt: Date;
2100
+ companyUUID: string;
2101
+ userUUID: string;
2102
+ entityUUID: string;
2103
+ actionType: ActionLogTypeEnum.ADD_PAYMENT;
2104
+ payload: {
2105
+ transaction: {
2106
+ type: import("../../enum").TransactionTypeEnum;
2107
+ createdAt: Date;
2108
+ clientName: string | null;
2109
+ amount: number;
2110
+ transactionUUID: string;
2111
+ moneyAccountName: string;
2112
+ };
2113
+ };
2114
+ } | {
2115
+ uuid: string;
2116
+ createdAt: Date;
2117
+ companyUUID: string;
2118
+ userUUID: string;
2119
+ entityUUID: string;
2120
+ actionType: ActionLogTypeEnum.DELETE_PAYMENT;
2121
+ payload: {
2122
+ transaction: {
2123
+ type: import("../../enum").TransactionTypeEnum;
2124
+ createdAt: Date;
2125
+ clientName: string | null;
2126
+ amount: number;
2127
+ transactionUUID: string;
2128
+ moneyAccountName: string;
2129
+ };
2130
+ };
2131
+ } | {
2132
+ uuid: string;
2133
+ createdAt: Date;
2134
+ companyUUID: string;
2135
+ userUUID: string;
2136
+ entityUUID: string;
2137
+ actionType: ActionLogTypeEnum.CREATE_ORDER;
2138
+ payload: {
2139
+ order: {
2140
+ createdAt: Date;
2141
+ clientUUID: string;
2142
+ totalCost: number;
2143
+ clientName: string;
2144
+ orderUUID: string;
2145
+ orderId: number;
2146
+ deliveryAddress?: string | null | undefined;
2147
+ deliveryCost?: number | null | undefined;
2148
+ };
2149
+ };
2150
+ } | {
2151
+ uuid: string;
2152
+ createdAt: Date;
2153
+ companyUUID: string;
2154
+ userUUID: string;
2155
+ entityUUID: string;
2156
+ actionType: ActionLogTypeEnum.CREATE_PREORDER;
2157
+ payload: {
2158
+ preOrder: {
2159
+ createdAt: Date;
2160
+ clientUUID: string;
2161
+ clientName: string;
2162
+ preOrderUUID: string;
2163
+ preOrderId: number;
2164
+ };
2165
+ };
2166
+ } | {
2167
+ uuid: string;
2168
+ createdAt: Date;
2169
+ companyUUID: string;
2170
+ userUUID: string;
2171
+ entityUUID: string;
2172
+ actionType: ActionLogTypeEnum.DELETE_PREORDER;
2173
+ payload: {
2174
+ preOrder: {
2175
+ createdAt: Date;
2176
+ clientUUID: string;
2177
+ clientName: string;
2178
+ preOrderUUID: string;
2179
+ preOrderId: number;
2180
+ };
2181
+ };
2182
+ } | {
2183
+ uuid: string;
2184
+ createdAt: Date;
2185
+ companyUUID: string;
2186
+ userUUID: string;
2187
+ entityUUID: string;
2188
+ actionType: ActionLogTypeEnum.UPDATE_PREORDER_ITEM;
2189
+ payload: {
2190
+ preOrderProduct: {
2191
+ name: string;
2192
+ comment: string | null;
2193
+ quantity: number;
2194
+ price: number;
2195
+ preOrderUUID: string;
2196
+ categoryName: string | null;
2197
+ preOrderProductUUID: string;
2198
+ };
2199
+ newQuantity: number;
2200
+ newPrice: number;
2201
+ newComment: string | null;
2202
+ };
2203
+ } | {
2204
+ uuid: string;
2205
+ createdAt: Date;
2206
+ companyUUID: string;
2207
+ userUUID: string;
2208
+ entityUUID: string;
2209
+ actionType: ActionLogTypeEnum.DELETE_PREORDER_ITEM;
2210
+ payload: {
2211
+ preOrderProduct: {
2212
+ name: string;
2213
+ comment: string | null;
2214
+ quantity: number;
2215
+ price: number;
2216
+ preOrderUUID: string;
2217
+ categoryName: string | null;
2218
+ preOrderProductUUID: string;
2219
+ };
2220
+ };
2221
+ } | {
2222
+ uuid: string;
2223
+ createdAt: Date;
2224
+ companyUUID: string;
2225
+ userUUID: string;
2226
+ entityUUID: string;
2227
+ actionType: ActionLogTypeEnum.CONFIRM_ORDER;
2228
+ payload: null;
2229
+ })[];
2230
+ }, {
2231
+ total: number;
2232
+ list: ({
2233
+ uuid: string;
2234
+ createdAt: Date;
2235
+ companyUUID: string;
2236
+ userUUID: string;
2237
+ entityUUID: string;
2238
+ actionType: ActionLogTypeEnum.DELETE_ORDER;
2239
+ payload: {
2240
+ order: {
2241
+ createdAt: Date;
2242
+ clientUUID: string;
2243
+ totalCost: number;
2244
+ clientName: string;
2245
+ orderUUID: string;
2246
+ orderId: number;
2247
+ deliveryAddress?: string | null | undefined;
2248
+ deliveryCost?: number | null | undefined;
2249
+ };
2250
+ };
2251
+ } | {
2252
+ uuid: string;
2253
+ createdAt: Date;
2254
+ companyUUID: string;
2255
+ userUUID: string;
2256
+ entityUUID: string;
2257
+ actionType: ActionLogTypeEnum.DELETE_ORDER_ITEM;
2258
+ payload: {
2259
+ orderProduct: {
2260
+ categoryUUID: string | null;
2261
+ consignmentUUID: string | null;
2262
+ quantity: number;
2263
+ price: number;
2264
+ productUUID: string;
2265
+ orderProductUUID: string;
2266
+ orderUUID: string;
2267
+ productName: string;
2268
+ categoryName: string | null;
2269
+ consignmentDeliveryDate: Date | null;
2270
+ };
2271
+ };
2272
+ } | {
2273
+ uuid: string;
2274
+ createdAt: Date;
2275
+ companyUUID: string;
2276
+ userUUID: string;
2277
+ entityUUID: string;
2278
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_ITEM;
2279
+ payload: {
2280
+ orderProduct: {
2281
+ categoryUUID: string | null;
2282
+ consignmentUUID: string | null;
2283
+ quantity: number;
2284
+ price: number;
2285
+ productUUID: string;
2286
+ orderProductUUID: string;
2287
+ orderUUID: string;
2288
+ productName: string;
2289
+ categoryName: string | null;
2290
+ consignmentDeliveryDate: Date | null;
2291
+ };
2292
+ newQuantity: number;
2293
+ newPrice: number;
2294
+ };
2295
+ } | {
2296
+ uuid: string;
2297
+ createdAt: Date;
2298
+ companyUUID: string;
2299
+ userUUID: string;
2300
+ entityUUID: string;
2301
+ actionType: ActionLogTypeEnum.UPDATE_ORDER_STATUS;
2302
+ payload: {
2303
+ oldStatus: import("../../enum").OrderStatusEnum;
2304
+ newStatus: import("../../enum").OrderStatusEnum;
2305
+ };
2306
+ } | {
2307
+ uuid: string;
2308
+ createdAt: Date;
2309
+ companyUUID: string;
2310
+ userUUID: string;
2311
+ entityUUID: string;
2312
+ actionType: ActionLogTypeEnum.ADD_PAYMENT;
2313
+ payload: {
2314
+ transaction: {
2315
+ type: import("../../enum").TransactionTypeEnum;
2316
+ createdAt: Date;
2317
+ clientName: string | null;
2318
+ amount: number;
2319
+ transactionUUID: string;
2320
+ moneyAccountName: string;
2321
+ };
2322
+ };
2323
+ } | {
2324
+ uuid: string;
2325
+ createdAt: Date;
2326
+ companyUUID: string;
2327
+ userUUID: string;
2328
+ entityUUID: string;
2329
+ actionType: ActionLogTypeEnum.DELETE_PAYMENT;
2330
+ payload: {
2331
+ transaction: {
2332
+ type: import("../../enum").TransactionTypeEnum;
2333
+ createdAt: Date;
2334
+ clientName: string | null;
2335
+ amount: number;
2336
+ transactionUUID: string;
2337
+ moneyAccountName: string;
2338
+ };
2339
+ };
2340
+ } | {
2341
+ uuid: string;
2342
+ createdAt: Date;
2343
+ companyUUID: string;
2344
+ userUUID: string;
2345
+ entityUUID: string;
2346
+ actionType: ActionLogTypeEnum.CREATE_ORDER;
2347
+ payload: {
2348
+ order: {
2349
+ createdAt: Date;
2350
+ clientUUID: string;
2351
+ totalCost: number;
2352
+ clientName: string;
2353
+ orderUUID: string;
2354
+ orderId: number;
2355
+ deliveryAddress?: string | null | undefined;
2356
+ deliveryCost?: number | null | undefined;
2357
+ };
2358
+ };
2359
+ } | {
2360
+ uuid: string;
2361
+ createdAt: Date;
2362
+ companyUUID: string;
2363
+ userUUID: string;
2364
+ entityUUID: string;
2365
+ actionType: ActionLogTypeEnum.CREATE_PREORDER;
2366
+ payload: {
2367
+ preOrder: {
2368
+ createdAt: Date;
2369
+ clientUUID: string;
2370
+ clientName: string;
2371
+ preOrderUUID: string;
2372
+ preOrderId: number;
2373
+ };
2374
+ };
2375
+ } | {
2376
+ uuid: string;
2377
+ createdAt: Date;
2378
+ companyUUID: string;
2379
+ userUUID: string;
2380
+ entityUUID: string;
2381
+ actionType: ActionLogTypeEnum.DELETE_PREORDER;
2382
+ payload: {
2383
+ preOrder: {
2384
+ createdAt: Date;
2385
+ clientUUID: string;
2386
+ clientName: string;
2387
+ preOrderUUID: string;
2388
+ preOrderId: number;
2389
+ };
2390
+ };
2391
+ } | {
2392
+ uuid: string;
2393
+ createdAt: Date;
2394
+ companyUUID: string;
2395
+ userUUID: string;
2396
+ entityUUID: string;
2397
+ actionType: ActionLogTypeEnum.UPDATE_PREORDER_ITEM;
2398
+ payload: {
2399
+ preOrderProduct: {
2400
+ name: string;
2401
+ comment: string | null;
2402
+ quantity: number;
2403
+ price: number;
2404
+ preOrderUUID: string;
2405
+ categoryName: string | null;
2406
+ preOrderProductUUID: string;
2407
+ };
2408
+ newQuantity: number;
2409
+ newPrice: number;
2410
+ newComment: string | null;
2411
+ };
2412
+ } | {
2413
+ uuid: string;
2414
+ createdAt: Date;
2415
+ companyUUID: string;
2416
+ userUUID: string;
2417
+ entityUUID: string;
2418
+ actionType: ActionLogTypeEnum.DELETE_PREORDER_ITEM;
2419
+ payload: {
2420
+ preOrderProduct: {
2421
+ name: string;
2422
+ comment: string | null;
2423
+ quantity: number;
2424
+ price: number;
2425
+ preOrderUUID: string;
2426
+ categoryName: string | null;
2427
+ preOrderProductUUID: string;
2428
+ };
2429
+ };
2430
+ } | {
2431
+ uuid: string;
2432
+ createdAt: Date;
2433
+ companyUUID: string;
2434
+ userUUID: string;
2435
+ entityUUID: string;
2436
+ actionType: ActionLogTypeEnum.CONFIRM_ORDER;
2437
+ payload: null;
2438
+ })[];
2439
+ }>;