@floristcloud/api-lib 1.0.2 → 1.0.3

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