@floristcloud/api-lib 1.0.3 → 1.0.5

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