@floristcloud/api-lib 1.0.1 → 1.0.3

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