@floristcloud/api-lib 1.0.0 → 1.0.2

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 (564) hide show
  1. package/package.json +6 -9
  2. package/tsconfig.json +3 -3
  3. package/build/commands/action-log/create-action-log.command.d.ts +0 -1439
  4. package/build/commands/action-log/get-action-log-list-for-client.query.d.ts +0 -1888
  5. package/build/commands/action-log/get-action-log-list.query.d.ts +0 -1893
  6. package/build/commands/action-log/index.d.ts +0 -3
  7. package/build/commands/auth/index.d.ts +0 -7
  8. package/build/commands/auth/login-user.command.d.ts +0 -51
  9. package/build/commands/auth/register-user.command.d.ts +0 -41
  10. package/build/commands/auth/reset-password-by-admin.command.d.ts +0 -19
  11. package/build/commands/auth/reset-password-by-security-code.command.d.ts +0 -77
  12. package/build/commands/auth/reset-password-by-token.command.d.ts +0 -97
  13. package/build/commands/auth/reset-password-by-user.command.d.ts +0 -19
  14. package/build/commands/auth/restore-password-by-security-code.command.d.ts +0 -39
  15. package/build/commands/branch/create-branch.command.d.ts +0 -100
  16. package/build/commands/branch/delete-branch.command.d.ts +0 -32
  17. package/build/commands/branch/get-branch-list-all-by-client-uuid.query.d.ts +0 -115
  18. package/build/commands/branch/get-branch-list.query.d.ts +0 -124
  19. package/build/commands/branch/get-branch.query.d.ts +0 -76
  20. package/build/commands/branch/index.d.ts +0 -6
  21. package/build/commands/branch/update-branch.command.d.ts +0 -100
  22. package/build/commands/category/create-category.command.d.ts +0 -84
  23. package/build/commands/category/delete-category.command.d.ts +0 -32
  24. package/build/commands/category/get-category-by-uuid.query.d.ts +0 -126
  25. package/build/commands/category/get-category-list.query.d.ts +0 -194
  26. package/build/commands/category/index.d.ts +0 -5
  27. package/build/commands/category/update-category-command.d.ts +0 -88
  28. package/build/commands/category/webshop/get-category-list-for-client.query.d.ts +0 -118
  29. package/build/commands/category-alias/create-category-alias.command.d.ts +0 -62
  30. package/build/commands/category-alias/delete-category-alias.command.d.ts +0 -32
  31. package/build/commands/category-alias/get-category-alias-by-uuid.query.d.ts +0 -62
  32. package/build/commands/category-alias/get-category-alias-list-by-category-uuid.query.d.ts +0 -58
  33. package/build/commands/category-alias/get-category-alias-list.query.d.ts +0 -64
  34. package/build/commands/category-alias/index.d.ts +0 -1
  35. package/build/commands/category-alias/update-category-alias.command.d.ts +0 -65
  36. package/build/commands/category-template/create-category-template.command.d.ts +0 -116
  37. package/build/commands/category-template/get-category-template-by-uuid.query.d.ts +0 -80
  38. package/build/commands/category-template/get-category-template-list.query.d.ts +0 -80
  39. package/build/commands/category-template/index.d.ts +0 -4
  40. package/build/commands/category-template/update-category-template.command.d.ts +0 -116
  41. package/build/commands/client/attach-user-to-client.command.d.ts +0 -152
  42. package/build/commands/client/create-client.command.d.ts +0 -202
  43. package/build/commands/client/delete-client.command.d.ts +0 -32
  44. package/build/commands/client/detach-user-from-client.command.d.ts +0 -146
  45. package/build/commands/client/get-client-calculate.query.d.ts +0 -39
  46. package/build/commands/client/get-client-filters-values.query.d.ts +0 -31
  47. package/build/commands/client/get-client-list.query.d.ts +0 -1257
  48. package/build/commands/client/get-client.query.d.ts +0 -938
  49. package/build/commands/client/import-client.command.d.ts +0 -75
  50. package/build/commands/client/index.d.ts +0 -17
  51. package/build/commands/client/marking/create-client-marking.command.d.ts +0 -37
  52. package/build/commands/client/marking/delete-client-marking.command.d.ts +0 -31
  53. package/build/commands/client/marking/get-client-marking-by-client-list.command.d.ts +0 -22
  54. package/build/commands/client/marking/update-client-marking.command.d.ts +0 -37
  55. package/build/commands/client/profile/create-client-individual-profile.command.d.ts +0 -71
  56. package/build/commands/client/profile/create-client-legal-profile.command.d.ts +0 -162
  57. package/build/commands/client/profile/delete-client-individual-profile.command.d.ts +0 -26
  58. package/build/commands/client/profile/delete-client-legal-profile.command.d.ts +0 -26
  59. package/build/commands/client/profile/get-client-individual-profile.query.d.ts +0 -62
  60. package/build/commands/client/profile/index.d.ts +0 -7
  61. package/build/commands/client/profile/update-client-individual-profile.command.d.ts +0 -71
  62. package/build/commands/client/profile/update-client-legal-profile.command.d.ts +0 -162
  63. package/build/commands/client/set-balance-calculate-client.command.d.ts +0 -144
  64. package/build/commands/client/update-client.command.d.ts +0 -208
  65. package/build/commands/client/webshop/register-client-webshop.command.d.ts +0 -168
  66. package/build/commands/client/webshop/update-client-for-client.command.d.ts +0 -164
  67. package/build/commands/company/createCompany.command.d.ts +0 -341
  68. package/build/commands/company/createCompanyWithUser.command.d.ts +0 -105
  69. package/build/commands/company/deleteCompany.command.d.ts +0 -32
  70. package/build/commands/company/getCompany.query.d.ts +0 -62
  71. package/build/commands/company/getCompanyList.query.d.ts +0 -96
  72. package/build/commands/company/index.d.ts +0 -6
  73. package/build/commands/company/updateCompany.command.d.ts +0 -62
  74. package/build/commands/consignment/create-consignment.command.d.ts +0 -119
  75. package/build/commands/consignment/delete-consignment.command.d.ts +0 -32
  76. package/build/commands/consignment/export-consignment.command.d.ts +0 -32
  77. package/build/commands/consignment/get-access-clients-consignment.query.d.ts +0 -144
  78. package/build/commands/consignment/get-client-uuids-consignment.query.d.ts +0 -24
  79. package/build/commands/consignment/get-consignment-filters-values.query.d.ts +0 -26
  80. package/build/commands/consignment/get-consignment-list.query.d.ts +0 -242
  81. package/build/commands/consignment/get-consignment.query.d.ts +0 -159
  82. package/build/commands/consignment/import-consignment.command.d.ts +0 -159
  83. package/build/commands/consignment/import-packing-consignment.command.d.ts +0 -123
  84. package/build/commands/consignment/index.d.ts +0 -13
  85. package/build/commands/consignment/update-consignment.command.d.ts +0 -119
  86. package/build/commands/consignment/upsert-access-clients-consignment.command.d.ts +0 -300
  87. package/build/commands/consignment/validate-consignment-distribution.query.d.ts +0 -1997
  88. package/build/commands/consignment-import-schema/create-consignment-import-scheme.command.d.ts +0 -60
  89. package/build/commands/consignment-import-schema/get-all-consignment-import-schema.query.d.ts +0 -88
  90. package/build/commands/consignment-import-schema/get-cosignment-import-schema.query.d.ts +0 -88
  91. package/build/commands/consignment-import-schema/index.d.ts +0 -2
  92. package/build/commands/consignment-import-schema/update-consignment-import-schema.command.d.ts +0 -47
  93. package/build/commands/delivery-route/attach-order-list-to-delivery-route.command.d.ts +0 -32
  94. package/build/commands/delivery-route/create-delivery-route.command.d.ts +0 -84
  95. package/build/commands/delivery-route/delete-delivery-route.command.d.ts +0 -24
  96. package/build/commands/delivery-route/detach-order-list-to-delivery-route.command.d.ts +0 -32
  97. package/build/commands/delivery-route/get-delivery-route-list.query.d.ts +0 -280
  98. package/build/commands/delivery-route/get-delivery-route.query.d.ts +0 -190
  99. package/build/commands/delivery-route/index.d.ts +0 -7
  100. package/build/commands/delivery-route/update-delivery-route.command.d.ts +0 -87
  101. package/build/commands/discount-rules/create-discount-rules.command.d.ts +0 -649
  102. package/build/commands/discount-rules/delete-discount-rules.command.d.ts +0 -24
  103. package/build/commands/discount-rules/get-discount-rules-all.query.d.ts +0 -286
  104. package/build/commands/discount-rules/get-discount-rules-extended.query.d.ts +0 -1213
  105. package/build/commands/discount-rules/get-discount-rules-list.query.d.ts +0 -391
  106. package/build/commands/discount-rules/get-discount-rules.query.d.ts +0 -347
  107. package/build/commands/discount-rules/index.d.ts +0 -9
  108. package/build/commands/discount-rules/split-quantity-discount-rules-for-client.query.d.ts +0 -71
  109. package/build/commands/discount-rules/split-quantity-discount-rules.query.d.ts +0 -73
  110. package/build/commands/discount-rules/update-discount-rules.command.d.ts +0 -662
  111. package/build/commands/distribution/create-distribution.command.d.ts +0 -72
  112. package/build/commands/distribution/index.d.ts +0 -3
  113. package/build/commands/distribution/update-is-packed-distribution.command.d.ts +0 -72
  114. package/build/commands/distribution/validate-distribution-by-product.query.d.ts +0 -36
  115. package/build/commands/domain/create-domain.command.d.ts +0 -60
  116. package/build/commands/domain/delete-domain.command.d.ts +0 -24
  117. package/build/commands/domain/get-domain-by-uuid.query.d.ts +0 -49
  118. package/build/commands/domain/get-domain-list.query.d.ts +0 -89
  119. package/build/commands/domain/index.d.ts +0 -5
  120. package/build/commands/domain/update-domain.command.d.ts +0 -57
  121. package/build/commands/employee-schedule/create-employee-schedule.command.d.ts +0 -92
  122. package/build/commands/employee-schedule/delete-employee-schedule.command.d.ts +0 -24
  123. package/build/commands/employee-schedule/get-employee-schedule-extended-list.query.d.ts +0 -237
  124. package/build/commands/employee-schedule/get-employee-schedule-list.query.d.ts +0 -133
  125. package/build/commands/employee-schedule/index.d.ts +0 -5
  126. package/build/commands/employee-schedule/update-employee-schedule.command.d.ts +0 -92
  127. package/build/commands/file/deleteFile.command.d.ts +0 -32
  128. package/build/commands/file/index.d.ts +0 -2
  129. package/build/commands/file/uploadFile.command.d.ts +0 -11
  130. package/build/commands/index.d.ts +0 -44
  131. package/build/commands/message/get-clients-messages-context-with-unread.query.d.ts +0 -116
  132. package/build/commands/message/get-context-unread-count.query.d.ts +0 -39
  133. package/build/commands/message/get-contexts-with-unread.query.d.ts +0 -134
  134. package/build/commands/message/index.d.ts +0 -6
  135. package/build/commands/message/list-context-messages.query.d.ts +0 -152
  136. package/build/commands/message/mark-context-read.command.d.ts +0 -39
  137. package/build/commands/message/send-context-message.command.d.ts +0 -95
  138. package/build/commands/money-account/create-money-account.command.d.ts +0 -76
  139. package/build/commands/money-account/delete-money-account.command.d.ts +0 -24
  140. package/build/commands/money-account/get-money-account-by-criteria.query.d.ts +0 -61
  141. package/build/commands/money-account/get-money-account-list.query.d.ts +0 -103
  142. package/build/commands/money-account/get-money-account.query.d.ts +0 -59
  143. package/build/commands/money-account/index.d.ts +0 -6
  144. package/build/commands/money-account/update-money-account.command.d.ts +0 -78
  145. package/build/commands/order/apply-order-discount.command.d.ts +0 -32
  146. package/build/commands/order/copy-order.command.d.ts +0 -159
  147. package/build/commands/order/create-order.command.d.ts +0 -228
  148. package/build/commands/order/delete-order.command.d.ts +0 -24
  149. package/build/commands/order/export-order-invoice.command.d.ts +0 -14
  150. package/build/commands/order/get-order-list.query.d.ts +0 -864
  151. package/build/commands/order/get-order.query.d.ts +0 -578
  152. package/build/commands/order/group/deletet-group-order.command.d.ts +0 -32
  153. package/build/commands/order/group/split-group-order.command.d.ts +0 -167
  154. package/build/commands/order/group/update-group-order-status.command.d.ts +0 -36
  155. package/build/commands/order/group/update-group-order-tag.command.d.ts +0 -35
  156. package/build/commands/order/group/update-group-order-type.command.d.ts +0 -36
  157. package/build/commands/order/index.d.ts +0 -20
  158. package/build/commands/order/send-order-invoice.command.d.ts +0 -33
  159. package/build/commands/order/update-order.command.d.ts +0 -198
  160. package/build/commands/order/webshop/create-cart.command.d.ts +0 -153
  161. package/build/commands/order/webshop/get-order-for-client.query.d.ts +0 -498
  162. package/build/commands/order/webshop/get-order-list-for-client.query.d.ts +0 -705
  163. package/build/commands/order/webshop/get-order-sales-by-month.query.d.ts +0 -22
  164. package/build/commands/order/webshop/update-cart.command.d.ts +0 -185
  165. package/build/commands/order/zeroing-receipt-delivery-order.command.d.ts +0 -24
  166. package/build/commands/order-delivery/create-order-delivery.command.d.ts +0 -74
  167. package/build/commands/order-delivery/delete-order-delivery.command.d.ts +0 -26
  168. package/build/commands/order-delivery/index.d.ts +0 -3
  169. package/build/commands/order-delivery/update-order-delivery.command.d.ts +0 -78
  170. package/build/commands/order-product/create-order-product.command.d.ts +0 -347
  171. package/build/commands/order-product/delete-order-product.command.d.ts +0 -26
  172. package/build/commands/order-product/get-order-product-list-all.query.d.ts +0 -1378
  173. package/build/commands/order-product/get-order-product-list-for-distribute.query.d.ts +0 -1162
  174. package/build/commands/order-product/get-order-product-list.query.d.ts +0 -1390
  175. package/build/commands/order-product/get-order-product.query.d.ts +0 -1077
  176. package/build/commands/order-product/group/delete-group-order-product.command.d.ts +0 -32
  177. package/build/commands/order-product/group/update-group-order-product-order.command.d.ts +0 -56
  178. package/build/commands/order-product/group/update-group-order-product-tag.command.d.ts +0 -35
  179. package/build/commands/order-product/group/verify-group-order-product.command.d.ts +0 -35
  180. package/build/commands/order-product/group/zeroing-receipt-order-product.command.d.ts +0 -32
  181. package/build/commands/order-product/index.d.ts +0 -15
  182. package/build/commands/order-product/update-order-product.command.d.ts +0 -350
  183. package/build/commands/order-product/verify-order-product.command.d.ts +0 -326
  184. package/build/commands/order-product/webshop/create-order-product-for-client.command.d.ts +0 -323
  185. package/build/commands/order-product/webshop/get-order-product-for-client-list.query.d.ts +0 -670
  186. package/build/commands/order-product/webshop/update-order-product-for-client.command.d.ts +0 -326
  187. package/build/commands/package/create-package.command.d.ts +0 -96
  188. package/build/commands/package/delete-package.command.d.ts +0 -26
  189. package/build/commands/package/get-package-by-uuid.query.d.ts +0 -71
  190. package/build/commands/package/get-package-filters-values.query.d.ts +0 -99
  191. package/build/commands/package/get-package-list.query.d.ts +0 -753
  192. package/build/commands/package/index.d.ts +0 -7
  193. package/build/commands/package/reorder-packages.command.d.ts +0 -47
  194. package/build/commands/package/update-package.command.d.ts +0 -91
  195. package/build/commands/package/validate-product-package.query.d.ts +0 -36
  196. package/build/commands/pre-order/create-order-from-pre-order.command.d.ts +0 -240
  197. package/build/commands/pre-order/create-pre-order.command.d.ts +0 -79
  198. package/build/commands/pre-order/delete-pre-order.command.d.ts +0 -24
  199. package/build/commands/pre-order/get-pre-order-by-pre-order-collection-uuid.command.d.ts +0 -56
  200. package/build/commands/pre-order/get-pre-order-list.query.d.ts +0 -587
  201. package/build/commands/pre-order/get-pre-order.query.d.ts +0 -415
  202. package/build/commands/pre-order/get-standing-order-import-template.command.d.ts +0 -21
  203. package/build/commands/pre-order/group/analyze-copy-pre-orders.command.d.ts +0 -4582
  204. package/build/commands/pre-order/group/analyze-create-orders-from-pre-orders.command.d.ts +0 -3665
  205. package/build/commands/pre-order/group/analyze-create-pre-orders-from-standing-orders.command.d.ts +0 -2784
  206. package/build/commands/pre-order/group/group-copy-pre-orders-to-collection.command.d.ts +0 -221
  207. package/build/commands/pre-order/group/group-create-orders-from-pre-orders.command.d.ts +0 -415
  208. package/build/commands/pre-order/group/group-create-pre-orders-from-standing-orders.command.d.ts +0 -230
  209. package/build/commands/pre-order/group/group-delete-pre-order.command.d.ts +0 -32
  210. package/build/commands/pre-order/group/group-update-pre-order.command.d.ts +0 -65
  211. package/build/commands/pre-order/group/index.d.ts +0 -9
  212. package/build/commands/pre-order/import-standing-order.command.d.ts +0 -132
  213. package/build/commands/pre-order/index.d.ts +0 -12
  214. package/build/commands/pre-order/update-pre-order.command.d.ts +0 -79
  215. package/build/commands/pre-order/webshop/checkout-pre-order-webshop.command.d.ts +0 -61
  216. package/build/commands/pre-order/webshop/create-pre-order-webshop.command.d.ts +0 -73
  217. package/build/commands/pre-order/webshop/delete-pre-order-webshop.command.d.ts +0 -24
  218. package/build/commands/pre-order/webshop/get-pre-order-list-webshop.command.d.ts +0 -569
  219. package/build/commands/pre-order/webshop/index.d.ts +0 -5
  220. package/build/commands/pre-order/webshop/update-pre-order-webshop.command.d.ts +0 -70
  221. package/build/commands/pre-order-collection/copy-pre-order-collection.command.d.ts +0 -59
  222. package/build/commands/pre-order-collection/create-pre-order-collection.command.d.ts +0 -85
  223. package/build/commands/pre-order-collection/delete-pre-order-collection.command.d.ts +0 -24
  224. package/build/commands/pre-order-collection/get-pre-order-collection-all.query.d.ts +0 -59
  225. package/build/commands/pre-order-collection/get-pre-order-collection-list.query.d.ts +0 -168
  226. package/build/commands/pre-order-collection/get-pre-order-collection.query.d.ts +0 -99
  227. package/build/commands/pre-order-collection/index.d.ts +0 -8
  228. package/build/commands/pre-order-collection/match-images-for-collection.command.d.ts +0 -40
  229. package/build/commands/pre-order-collection/update-pre-order-collection.command.d.ts +0 -85
  230. package/build/commands/pre-order-collection/webshop/get-pre-order-collection-list-with-categories.query.d.ts +0 -85
  231. package/build/commands/pre-order-collection-item/create-group-pre-order-collection-item.command.d.ts +0 -101
  232. package/build/commands/pre-order-collection-item/create-pre-order-collection-item.command.d.ts +0 -236
  233. package/build/commands/pre-order-collection-item/delete-group-pre-order-collection-item.command.d.ts +0 -37
  234. package/build/commands/pre-order-collection-item/delete-pre-order-collection-item.command.d.ts +0 -24
  235. package/build/commands/pre-order-collection-item/execute-pre-order-collection-item-update.command.d.ts +0 -226
  236. package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-horizontal.query.d.ts +0 -26
  237. package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-vertical.query.d.ts +0 -33
  238. package/build/commands/pre-order-collection-item/get-active-pre-order-collection-item-list.query.d.ts +0 -693
  239. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-extended-with-clients-pre-order-product-list.query.d.ts +0 -1031
  240. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values-for-client.query.d.ts +0 -85
  241. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values.query.d.ts +0 -77
  242. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-for-client.query.d.ts +0 -760
  243. package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list.query.d.ts +0 -708
  244. package/build/commands/pre-order-collection-item/get-pre-order-collection-item.query.d.ts +0 -504
  245. package/build/commands/pre-order-collection-item/index.d.ts +0 -23
  246. package/build/commands/pre-order-collection-item/multiplicity-option/create-pre-order-collection-item-multiplicity-option.command.d.ts +0 -61
  247. package/build/commands/pre-order-collection-item/multiplicity-option/delete-pre-order-collection-item-multiplicity-option.command.d.ts +0 -26
  248. package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-option-titles.query.d.ts +0 -16
  249. package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-options.query.d.ts +0 -68
  250. package/build/commands/pre-order-collection-item/multiplicity-option/reorder-pre-order-collection-item-multiplicity-options.command.d.ts +0 -47
  251. package/build/commands/pre-order-collection-item/multiplicity-option/update-pre-order-collection-item-multiplicity-option.command.d.ts +0 -61
  252. package/build/commands/pre-order-collection-item/update-group-pre-order-collection-item.command.d.ts +0 -165
  253. package/build/commands/pre-order-collection-item/update-pre-order-collection-item-product-maching.command.d.ts +0 -32
  254. package/build/commands/pre-order-collection-item/update-pre-order-collection-item.command.d.ts +0 -239
  255. package/build/commands/pre-order-product/create-manually-pre-order-product-for-standing-order.command.d.ts +0 -234
  256. package/build/commands/pre-order-product/create-manually-pre-order-product.command.d.ts +0 -262
  257. package/build/commands/pre-order-product/create-pre-order-product-webshop.command.d.ts +0 -214
  258. package/build/commands/pre-order-product/create-pre-order-product.command.d.ts +0 -242
  259. package/build/commands/pre-order-product/delete-many-pre-order-product-by-pre-order-collection-item.command.d.ts +0 -24
  260. package/build/commands/pre-order-product/delete-pre-order-product-webshop.command.d.ts +0 -24
  261. package/build/commands/pre-order-product/delete-pre-order-product.command.d.ts +0 -24
  262. package/build/commands/pre-order-product/get-pre-order-product-extended-list.query.d.ts +0 -1155
  263. package/build/commands/pre-order-product/get-pre-order-product-list.query.d.ts +0 -234
  264. package/build/commands/pre-order-product/get-pre-order-product.query.d.ts +0 -891
  265. package/build/commands/pre-order-product/get-pre-order-products-by-pre-order-list.command.d.ts +0 -899
  266. package/build/commands/pre-order-product/get-pre-order-products-by-pre-order.command.d.ts +0 -891
  267. package/build/commands/pre-order-product/index.d.ts +0 -15
  268. package/build/commands/pre-order-product/purchase-many-pre-order-product-by-pre-order-collection-item.command.d.ts +0 -39
  269. package/build/commands/pre-order-product/update-pre-order-product-webshop.command.d.ts +0 -179
  270. package/build/commands/pre-order-product/update-pre-order-product.command.d.ts +0 -242
  271. package/build/commands/product/create-product.command.d.ts +0 -630
  272. package/build/commands/product/delete-product.command.d.ts +0 -26
  273. package/build/commands/product/generate-product-qr.query.d.ts +0 -89
  274. package/build/commands/product/get-all-product-by-consignment.query.d.ts +0 -445
  275. package/build/commands/product/get-product-list-filters-values.query.d.ts +0 -102
  276. package/build/commands/product/get-product-list.query.d.ts +0 -784
  277. package/build/commands/product/get-product-quantity-calculate.query.d.ts +0 -57
  278. package/build/commands/product/get-product.query.d.ts +0 -555
  279. package/build/commands/product/get-products-unique.query.d.ts +0 -614
  280. package/build/commands/product/group/delete-group-product.command.d.ts +0 -58
  281. package/build/commands/product/group/index.d.ts +0 -7
  282. package/build/commands/product/group/update-group-product-category.command.d.ts +0 -35
  283. package/build/commands/product/group/update-group-product-consignment.command.d.ts +0 -35
  284. package/build/commands/product/group/update-group-product-is-open-by-consignment.command.d.ts +0 -32
  285. package/build/commands/product/group/update-group-product-is-open.command.d.ts +0 -35
  286. package/build/commands/product/group/update-group-product-prices.command.d.ts +0 -52
  287. package/build/commands/product/group/update-group-product-update-batch.command.d.ts +0 -141
  288. package/build/commands/product/index.d.ts +0 -19
  289. package/build/commands/product/multiplicity-option/create-product-multiplicity-option.command.d.ts +0 -61
  290. package/build/commands/product/multiplicity-option/delete-product-multiplicity-option.command.d.ts +0 -26
  291. package/build/commands/product/multiplicity-option/get-product-multiplicity-option-titles.query.d.ts +0 -16
  292. package/build/commands/product/multiplicity-option/get-product-multiplicity-options.query.d.ts +0 -68
  293. package/build/commands/product/multiplicity-option/reorder-product-multiplicity-options.command.d.ts +0 -47
  294. package/build/commands/product/multiplicity-option/update-product-multiplicity-option.command.d.ts +0 -61
  295. package/build/commands/product/update-product.command.d.ts +0 -630
  296. package/build/commands/product/webshop/get-client-product-list-filters-values.query.d.ts +0 -70
  297. package/build/commands/product/webshop/get-product-for-client.query.d.ts +0 -336
  298. package/build/commands/product/webshop/get-product-list-for-client.query.d.ts +0 -484
  299. package/build/commands/product-configuration/create-product-configuration.command.d.ts +0 -86
  300. package/build/commands/product-configuration/delete-product-configuration.command.d.ts +0 -26
  301. package/build/commands/product-configuration/get-product-configuration-list.query.d.ts +0 -119
  302. package/build/commands/product-configuration/get-product-configuration.query.d.ts +0 -61
  303. package/build/commands/product-configuration/index.d.ts +0 -5
  304. package/build/commands/product-configuration/update-product-configuration.command.d.ts +0 -82
  305. package/build/commands/product-image/alias/create-product-image-alias.command.d.ts +0 -37
  306. package/build/commands/product-image/alias/delete-product-image-alias.command.d.ts +0 -31
  307. package/build/commands/product-image/alias/update-product-image-alias.command.d.ts +0 -37
  308. package/build/commands/product-image/create-product-image.command.d.ts +0 -113
  309. package/build/commands/product-image/delete-product-image.command.d.ts +0 -84
  310. package/build/commands/product-image/get-product-image-filter-values.query.d.ts +0 -77
  311. package/build/commands/product-image/get-product-image-list.query.d.ts +0 -377
  312. package/build/commands/product-image/get-product-image.query.d.ts +0 -255
  313. package/build/commands/product-image/group/delete-group-product-image.command.d.ts +0 -32
  314. package/build/commands/product-image/group/update-group-product-image.command.d.ts +0 -80
  315. package/build/commands/product-image/index.d.ts +0 -12
  316. package/build/commands/product-image/sync-product-image.command.d.ts +0 -24
  317. package/build/commands/product-image/update-product-image.command.d.ts +0 -113
  318. package/build/commands/product-image-template/create-product-image-template.command.d.ts +0 -90
  319. package/build/commands/product-image-template/delete-group-product-image-template.command.d.ts +0 -32
  320. package/build/commands/product-image-template/delete-product-image-template.command.d.ts +0 -24
  321. package/build/commands/product-image-template/get-product-image-template-list.query.d.ts +0 -116
  322. package/build/commands/product-image-template/get-product-image-template.query.d.ts +0 -64
  323. package/build/commands/product-image-template/index.d.ts +0 -7
  324. package/build/commands/product-image-template/start-parsing-product-image-template.command.d.ts +0 -24
  325. package/build/commands/product-image-template/update-product-image-template.command.d.ts +0 -87
  326. package/build/commands/product-in-package/create-product-in-package.command.d.ts +0 -94
  327. package/build/commands/product-in-package/delete-from-orders-by-package.command.d.ts +0 -26
  328. package/build/commands/product-in-package/delete-product-in-package.command.d.ts +0 -24
  329. package/build/commands/product-in-package/get-product-in-package-by-uuid.query.d.ts +0 -69
  330. package/build/commands/product-in-package/index.d.ts +0 -5
  331. package/build/commands/product-in-package/update-product-in-package.command.d.ts +0 -92
  332. package/build/commands/report/export-client-statement.query.d.ts +0 -68
  333. package/build/commands/report/export-inventory-movement.query.d.ts +0 -124
  334. package/build/commands/report/export-inventory-stock.query.d.ts +0 -82
  335. package/build/commands/report/export-inventory-turnover.query.d.ts +0 -148
  336. package/build/commands/report/export-sales-by-client.query.d.ts +0 -83
  337. package/build/commands/report/export-sales-revenue.query.d.ts +0 -64
  338. package/build/commands/report/get-report-by-client-weeks.query.d.ts +0 -81
  339. package/build/commands/report/get-report-for-period.query.d.ts +0 -106
  340. package/build/commands/report/get-report-group-by-client.query.d.ts +0 -146
  341. package/build/commands/report/get-report-group-by-position.query.d.ts +0 -266
  342. package/build/commands/report/index.d.ts +0 -10
  343. package/build/commands/settings/get-settings-for-admin.query.d.ts +0 -352
  344. package/build/commands/settings/get-settings.query.d.ts +0 -312
  345. package/build/commands/settings/index.d.ts +0 -3
  346. package/build/commands/settings/update-settings.command.d.ts +0 -486
  347. package/build/commands/transaction/create-transaction.command.d.ts +0 -100
  348. package/build/commands/transaction/delete-transaction.command.d.ts +0 -26
  349. package/build/commands/transaction/export-transactions.command.d.ts +0 -62
  350. package/build/commands/transaction/generate-check-transaction.command.d.ts +0 -35
  351. package/build/commands/transaction/generate-pre-payment-check.command.d.ts +0 -35
  352. package/build/commands/transaction/get-sum-transaction-by-money-account.query.d.ts +0 -46
  353. package/build/commands/transaction/get-transaction-list.query.d.ts +0 -763
  354. package/build/commands/transaction/get-transaction-summary.query.d.ts +0 -77
  355. package/build/commands/transaction/get-transaction.query.d.ts +0 -539
  356. package/build/commands/transaction/index.d.ts +0 -11
  357. package/build/commands/transaction/update-transaction.command.d.ts +0 -85
  358. package/build/commands/transaction/webshop/get-transaction-list-for-client.query.d.ts +0 -742
  359. package/build/commands/type/create-type.command.d.ts +0 -60
  360. package/build/commands/type/delete-type.command.d.ts +0 -32
  361. package/build/commands/type/get-type-by-criteria.query.d.ts +0 -51
  362. package/build/commands/type/get-type-by-uuid.query.d.ts +0 -57
  363. package/build/commands/type/get-type-list.query.d.ts +0 -102
  364. package/build/commands/type/index.d.ts +0 -8
  365. package/build/commands/type/update-type-rank-many.command.d.ts +0 -72
  366. package/build/commands/type/update-type-rank.command.d.ts +0 -39
  367. package/build/commands/type/update-type.command.d.ts +0 -75
  368. package/build/commands/user/attachUserToCompany.command.d.ts +0 -84
  369. package/build/commands/user/create-user-global.command.d.ts +0 -101
  370. package/build/commands/user/createUser.command.d.ts +0 -107
  371. package/build/commands/user/createUserByClientId.command.d.ts +0 -138
  372. package/build/commands/user/createUserForCompany.command.d.ts +0 -105
  373. package/build/commands/user/generate-and-send-password-by-admin.command.d.ts +0 -20
  374. package/build/commands/user/get-user-list.query.d.ts +0 -149
  375. package/build/commands/user/getUser.command.d.ts +0 -107
  376. package/build/commands/user/index.d.ts +0 -10
  377. package/build/commands/user/update-password-by-user.command.d.ts +0 -19
  378. package/build/commands/user/update-user.command.d.ts +0 -98
  379. package/build/commands/user/updateRole.command.d.ts +0 -106
  380. package/build/commands/work-session/close-work-session-for-employee.command.d.ts +0 -69
  381. package/build/commands/work-session/create-many-work-session.command.d.ts +0 -108
  382. package/build/commands/work-session/create-work-session-for-employee.command.d.ts +0 -86
  383. package/build/commands/work-session/delete-work-session.command.d.ts +0 -24
  384. package/build/commands/work-session/get-work-session-extended-list.query.d.ts +0 -243
  385. package/build/commands/work-session/index.d.ts +0 -6
  386. package/build/commands/work-session/update-work-session.command.d.ts +0 -86
  387. package/build/commands/wrire-off-archive/create-wrire-off-archive.command.d.ts +0 -32
  388. package/build/commands/wrire-off-archive/index.d.ts +0 -2
  389. package/build/commands/wrire-off-archive/info-wrire-off-archive.command.d.ts +0 -32
  390. package/build/commands/write-off/create-write-off-from-order.command.d.ts +0 -1679
  391. package/build/commands/write-off/create-write-off-from-pending.command.d.ts +0 -1674
  392. package/build/commands/write-off/create-write-off-images.command.d.ts +0 -52
  393. package/build/commands/write-off/create-write-off.command.d.ts +0 -1676
  394. package/build/commands/write-off/delete-write-off-image.command.d.ts +0 -26
  395. package/build/commands/write-off/delete-write-off.command.d.ts +0 -26
  396. package/build/commands/write-off/get-write-off-list.query.d.ts +0 -2144
  397. package/build/commands/write-off/get-write-off-reason-list.query.d.ts +0 -22
  398. package/build/commands/write-off/get-write-off-sum-by-order.query.d.ts +0 -16
  399. package/build/commands/write-off/get-write-off.query.d.ts +0 -1659
  400. package/build/commands/write-off/index.d.ts +0 -13
  401. package/build/commands/write-off/update-write-off-price.command.d.ts +0 -1670
  402. package/build/commands/write-off/update-write-off-status.command.d.ts +0 -1671
  403. package/build/commands/write-off/webshop/create-write-off-from-order-for-client.command.d.ts +0 -1676
  404. package/build/commands/write-off/webshop/get-write-off-list-by-order.query.d.ts +0 -1661
  405. package/build/commands/write-off/webshop/index.d.ts +0 -2
  406. package/build/constant/error-i18n-key.d.ts +0 -5
  407. package/build/constant/error.d.ts +0 -2047
  408. package/build/constant/index.d.ts +0 -2
  409. package/build/constant/verbose.d.ts +0 -42
  410. package/build/enum/action-log-type.enum.d.ts +0 -14
  411. package/build/enum/category-status.enum.d.ts +0 -4
  412. package/build/enum/client-import-entity-property.enum.d.ts +0 -30
  413. package/build/enum/client-legal-type.enum.d.ts +0 -4
  414. package/build/enum/client-statement-type.enum.d.ts +0 -5
  415. package/build/enum/client-status.enum.d.ts +0 -5
  416. package/build/enum/client-type.enum.d.ts +0 -4
  417. package/build/enum/companyStatus.enum.d.ts +0 -5
  418. package/build/enum/consignment-access-client-status.enum.d.ts +0 -4
  419. package/build/enum/consignment-distribution-validation-status.enum.d.ts +0 -4
  420. package/build/enum/consignment-distribution-validation-type.enum.d.ts +0 -4
  421. package/build/enum/consignment-import-errors.enum.d.ts +0 -5
  422. package/build/enum/consignment-import-schema-relation-entity-property.enum.d.ts +0 -30
  423. package/build/enum/consignment-status.enum.d.ts +0 -5
  424. package/build/enum/consignment-write-off-archives-status.enum.d.ts +0 -5
  425. package/build/enum/context-message-context-type.enum.d.ts +0 -5
  426. package/build/enum/country-code.enum.d.ts +0 -253
  427. package/build/enum/delivery-route-status.enum.d.ts +0 -5
  428. package/build/enum/discount-price-routing.enum.d.ts +0 -6
  429. package/build/enum/discount-rules-apply-type.enum.d.ts +0 -4
  430. package/build/enum/discount-rules-mode-type.enum.d.ts +0 -4
  431. package/build/enum/discount-rules-status.enum.d.ts +0 -4
  432. package/build/enum/discount-rules-type.enum.d.ts +0 -7
  433. package/build/enum/image-type.enum.d.ts +0 -4
  434. package/build/enum/import-error-code.enum.d.ts +0 -7
  435. package/build/enum/index.d.ts +0 -59
  436. package/build/enum/inventory-movement-type.enum.d.ts +0 -6
  437. package/build/enum/language.enum.d.ts +0 -4
  438. package/build/enum/menu-items-url.enum.d.ts +0 -11
  439. package/build/enum/money-account-status.enum.d.ts +0 -4
  440. package/build/enum/notification-channel.enum.d.ts +0 -9
  441. package/build/enum/notification-status.enum.d.ts +0 -6
  442. package/build/enum/notification-type.enum.d.ts +0 -6
  443. package/build/enum/order-active-status-list.d.ts +0 -2
  444. package/build/enum/order-balance-status-list.d.ts +0 -2
  445. package/build/enum/order-by.enum.d.ts +0 -4
  446. package/build/enum/order-delivery-status.enum.d.ts +0 -4
  447. package/build/enum/order-distribute-status-list.d.ts +0 -2
  448. package/build/enum/order-restricted-status-list.d.ts +0 -2
  449. package/build/enum/order-status.enum.d.ts +0 -13
  450. package/build/enum/order-type.enum.d.ts +0 -4
  451. package/build/enum/order-webshop-available-status-list.d.ts +0 -2
  452. package/build/enum/package-status.enum.d.ts +0 -5
  453. package/build/enum/package-type.enum.d.ts +0 -32
  454. package/build/enum/parse-status.enum.d.ts +0 -5
  455. package/build/enum/position-report-type.enum.d.ts +0 -4
  456. package/build/enum/pre-order-aggregation-mode.enum.d.ts +0 -5
  457. package/build/enum/pre-order-collection-item-import-entity-property.enum.d.ts +0 -21
  458. package/build/enum/pre-order-collection-status.enum.d.ts +0 -4
  459. package/build/enum/pre-order-status.enum.d.ts +0 -8
  460. package/build/enum/product-image-created-from.enum.d.ts +0 -4
  461. package/build/enum/product-image-order.enum.d.ts +0 -4
  462. package/build/enum/product-in-package-status.enum.d.ts +0 -4
  463. package/build/enum/report-period-type.enum.d.ts +0 -5
  464. package/build/enum/sales-unit.enum.d.ts +0 -5
  465. package/build/enum/security-code-status.enum.d.ts +0 -7
  466. package/build/enum/transaction-type-groups.d.ts +0 -4
  467. package/build/enum/transaction-type.enum.d.ts +0 -6
  468. package/build/enum/user-type.enum.d.ts +0 -4
  469. package/build/enum/userRole.enum.d.ts +0 -12
  470. package/build/enum/userStatus.enum.d.ts +0 -5
  471. package/build/enum/webshop-main-display-mode.enum.d.ts +0 -4
  472. package/build/enum/webshop-mode.enum.d.ts +0 -4
  473. package/build/enum/write-off-status.enum.d.ts +0 -5
  474. package/build/helpers/date.helper.d.ts +0 -3
  475. package/build/index.d.ts +0 -5
  476. package/build/schemas/action-log/action-log-payload.schema.d.ts +0 -496
  477. package/build/schemas/action-log/action-log.schema.d.ts +0 -2439
  478. package/build/schemas/action-log/index.d.ts +0 -14
  479. package/build/schemas/action-log/order-create-action-log.schema.d.ts +0 -53
  480. package/build/schemas/action-log/order-delete-action-log-payload.schema.d.ts +0 -53
  481. package/build/schemas/action-log/order-info.schema.d.ts +0 -29
  482. package/build/schemas/action-log/order-product-delete-action-log.schema.d.ts +0 -63
  483. package/build/schemas/action-log/order-product-info.schema.d.ts +0 -35
  484. package/build/schemas/action-log/order-product-update-action-log.schema.d.ts +0 -69
  485. package/build/schemas/action-log/order-update-action-log.schema.d.ts +0 -12
  486. package/build/schemas/action-log/pre-order-create-action-log.schema.d.ts +0 -38
  487. package/build/schemas/action-log/pre-order-delete-action-log.schema.d.ts +0 -38
  488. package/build/schemas/action-log/pre-order-info.schema.d.ts +0 -20
  489. package/build/schemas/action-log/pre-order-product-delete-action-log.schema.d.ts +0 -48
  490. package/build/schemas/action-log/pre-order-product-info.schema.d.ts +0 -26
  491. package/build/schemas/action-log/pre-order-product-update-action-log.schema.d.ts +0 -57
  492. package/build/schemas/action-log/transaction-add-action-log.schema.d.ts +0 -43
  493. package/build/schemas/action-log/transaction-delete-action-log.schema.d.ts +0 -43
  494. package/build/schemas/action-log/transaction-info.schema.d.ts +0 -24
  495. package/build/schemas/branch/branch-list.schema.d.ts +0 -71
  496. package/build/schemas/branch/branch.schema.d.ts +0 -38
  497. package/build/schemas/category/category.schema.d.ts +0 -102
  498. package/build/schemas/category-alias/category-alias.schema.d.ts +0 -36
  499. package/build/schemas/category-template/category-template.schema.d.ts +0 -55
  500. package/build/schemas/category-template/index.d.ts +0 -1
  501. package/build/schemas/client/client-individual-profile.schema.d.ts +0 -26
  502. package/build/schemas/client/client-legal-profile.schema.d.ts +0 -60
  503. package/build/schemas/client/client-marking.schema.d.ts +0 -11
  504. package/build/schemas/client/client.schema.d.ts +0 -1665
  505. package/build/schemas/client/index.d.ts +0 -4
  506. package/build/schemas/company/company.schema.d.ts +0 -27
  507. package/build/schemas/company/companyList.schema.d.ts +0 -51
  508. package/build/schemas/consignment/consignment-distribution-validation.schema.d.ts +0 -2487
  509. package/build/schemas/consignment/consignment-list.schema.d.ts +0 -133
  510. package/build/schemas/consignment/consignment.schema.d.ts +0 -420
  511. package/build/schemas/consignment-import-schema/consignment-import-schema.scheme.d.ts +0 -136
  512. package/build/schemas/consignment-import-schema/index.d.ts +0 -1
  513. package/build/schemas/consignment-import-schema-relation/consignment-import-schema-relation.schema.d.ts +0 -21
  514. package/build/schemas/delete-data-response.schema.d.ts +0 -8
  515. package/build/schemas/delivery-route/delivery-route.schema.d.ts +0 -193
  516. package/build/schemas/discount-rules/discount-rules.schema.d.ts +0 -1794
  517. package/build/schemas/distribution/distribution.schema.d.ts +0 -55
  518. package/build/schemas/distribution/validate-distribution-by-product.schema.d.ts +0 -14
  519. package/build/schemas/domain/domain.schema.d.ts +0 -85
  520. package/build/schemas/employee-schedule/employee-schedule.schema.d.ts +0 -399
  521. package/build/schemas/file/file.schema.d.ts +0 -8
  522. package/build/schemas/file/index.d.ts +0 -1
  523. package/build/schemas/index.d.ts +0 -53
  524. package/build/schemas/message/client-inbox-item.schema.d.ts +0 -32
  525. package/build/schemas/message/context-inbox.schema.d.ts +0 -109
  526. package/build/schemas/message/context-message-list.schema.d.ts +0 -80
  527. package/build/schemas/message/context-message.schema.d.ts +0 -39
  528. package/build/schemas/message/index.d.ts +0 -4
  529. package/build/schemas/money-account/money-account.schema.d.ts +0 -31
  530. package/build/schemas/order/order.schema.d.ts +0 -884
  531. package/build/schemas/order-delivery/order-delivery.schema.d.ts +0 -27
  532. package/build/schemas/order-product/order-product-list.schema.d.ts +0 -1587
  533. package/build/schemas/order-product/order-product-multiplicity-optiom.schema.d.ts +0 -17
  534. package/build/schemas/order-product/order-product.schema.d.ts +0 -2173
  535. package/build/schemas/package/package.schema.d.ts +0 -1111
  536. package/build/schemas/package/validate-package.schema.d.ts +0 -14
  537. package/build/schemas/pre-order/pre-order-copy.schema.d.ts +0 -3083
  538. package/build/schemas/pre-order/pre-order.schema.d.ts +0 -1058
  539. package/build/schemas/pre-order-collection/pre-order-collection.schema.d.ts +0 -277
  540. package/build/schemas/pre-order-collection-item/pre-order-collection-item-multiplicity-option.schema.d.ts +0 -20
  541. package/build/schemas/pre-order-collection-item/pre-order-collection-item.schema.d.ts +0 -2725
  542. package/build/schemas/pre-order-product/pre-order-product.schema.d.ts +0 -2039
  543. package/build/schemas/product/product-list.schema.d.ts +0 -885
  544. package/build/schemas/product/product-multiplicity-option.schema.d.ts +0 -20
  545. package/build/schemas/product/product.schema.d.ts +0 -1383
  546. package/build/schemas/product-configuration/product-configuration.schema.d.ts +0 -78
  547. package/build/schemas/product-image/product-image-alias.schema.d.ts +0 -11
  548. package/build/schemas/product-image/product-image.schema.d.ts +0 -240
  549. package/build/schemas/product-image-template/product-image-template.schema.d.ts +0 -139
  550. package/build/schemas/product-in-package/product-in-package.schema.d.ts +0 -86
  551. package/build/schemas/report/client-by-weeks.schema.d.ts +0 -29
  552. package/build/schemas/report/client-statement.schema.d.ts +0 -24
  553. package/build/schemas/settings/settings.schema.d.ts +0 -770
  554. package/build/schemas/transaction/transaction-list.schema.d.ts +0 -1055
  555. package/build/schemas/transaction/transaction.schema.d.ts +0 -763
  556. package/build/schemas/type/type.schema.d.ts +0 -36
  557. package/build/schemas/type/typeList.schema.d.ts +0 -14
  558. package/build/schemas/user/user.schema.d.ts +0 -67
  559. package/build/schemas/work-session/work-session.schema.d.ts +0 -344
  560. package/build/schemas/write-off/write-off-image.schema.d.ts +0 -20
  561. package/build/schemas/write-off/write-off-list.schema.d.ts +0 -1656
  562. package/build/schemas/write-off/write-off.schema.d.ts +0 -1214
  563. package/build/types/client-import-data.type.d.ts +0 -34
  564. package/build/types/index.d.ts +0 -1
@@ -1,1888 +0,0 @@
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
- }