@floristcloud/api-lib 1.0.2 → 1.0.3

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