@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,662 +0,0 @@
1
- import { z } from 'zod';
2
- export declare namespace UpdateDiscountRulesContractCommand {
3
- const RequestSchema: z.ZodObject<{
4
- data: z.ZodIntersection<z.ZodObject<{
5
- type: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").DiscountRulesTypeEnum>>;
6
- status: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").DiscountRulesStatusEnum>>;
7
- defaultApplyProduct: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").DiscountRulesApplyTypeEnum>>;
8
- defaultApplyClient: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").DiscountRulesApplyTypeEnum>>;
9
- clientsUUID: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- productsUUID: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
- }, "strip", z.ZodTypeAny, {
12
- type?: import("../..").DiscountRulesTypeEnum | undefined;
13
- status?: import("../..").DiscountRulesStatusEnum | undefined;
14
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
15
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
16
- clientsUUID?: string[] | undefined;
17
- productsUUID?: string[] | undefined;
18
- }, {
19
- type?: import("../..").DiscountRulesTypeEnum | undefined;
20
- status?: import("../..").DiscountRulesStatusEnum | undefined;
21
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
22
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
23
- clientsUUID?: string[] | undefined;
24
- productsUUID?: string[] | undefined;
25
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
26
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
27
- data: z.ZodObject<{
28
- discountPercent: z.ZodNumber;
29
- }, "strip", z.ZodTypeAny, {
30
- discountPercent: number;
31
- }, {
32
- discountPercent: number;
33
- }>;
34
- }, "strip", z.ZodTypeAny, {
35
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
36
- data: {
37
- discountPercent: number;
38
- };
39
- }, {
40
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
41
- data: {
42
- discountPercent: number;
43
- };
44
- }>, z.ZodObject<{
45
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
46
- data: z.ZodObject<{
47
- range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
48
- discountPercent: z.ZodNumber;
49
- }, "strip", z.ZodTypeAny, {
50
- discountPercent: number;
51
- range: number[];
52
- }, {
53
- discountPercent: number;
54
- range: number[];
55
- }>;
56
- }, "strip", z.ZodTypeAny, {
57
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
58
- data: {
59
- discountPercent: number;
60
- range: number[];
61
- };
62
- }, {
63
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
64
- data: {
65
- discountPercent: number;
66
- range: number[];
67
- };
68
- }>, z.ZodObject<{
69
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.QUANTITY_BASED>;
70
- data: z.ZodIntersection<z.ZodObject<{
71
- multipleQuantity: z.ZodNumber;
72
- }, "strip", z.ZodTypeAny, {
73
- multipleQuantity: number;
74
- }, {
75
- multipleQuantity: number;
76
- }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
77
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.PERCENT>;
78
- discountValue: z.ZodNumber;
79
- }, "strip", z.ZodTypeAny, {
80
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
81
- discountValue: number;
82
- }, {
83
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
84
- discountValue: number;
85
- }>, z.ZodObject<{
86
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.FIXED>;
87
- discountValue: z.ZodNumber;
88
- }, "strip", z.ZodTypeAny, {
89
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
90
- discountValue: number;
91
- }, {
92
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
93
- discountValue: number;
94
- }>]>>;
95
- }, "strip", z.ZodTypeAny, {
96
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
97
- data: ({
98
- multipleQuantity: number;
99
- } & {
100
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
101
- discountValue: number;
102
- }) | ({
103
- multipleQuantity: number;
104
- } & {
105
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
106
- discountValue: number;
107
- });
108
- }, {
109
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
110
- data: ({
111
- multipleQuantity: number;
112
- } & {
113
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
114
- discountValue: number;
115
- }) | ({
116
- multipleQuantity: number;
117
- } & {
118
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
119
- discountValue: number;
120
- });
121
- }>, z.ZodObject<{
122
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT>;
123
- data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
124
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.PERCENT>;
125
- discountValue: z.ZodNumber;
126
- }, "strip", z.ZodTypeAny, {
127
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
128
- discountValue: number;
129
- }, {
130
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
131
- discountValue: number;
132
- }>, z.ZodObject<{
133
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.FIXED>;
134
- discountValue: z.ZodNumber;
135
- }, "strip", z.ZodTypeAny, {
136
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
137
- discountValue: number;
138
- }, {
139
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
140
- discountValue: number;
141
- }>]>>;
142
- }, "strip", z.ZodTypeAny, {
143
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
144
- data: ({} & {
145
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
146
- discountValue: number;
147
- }) | ({} & {
148
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
149
- discountValue: number;
150
- });
151
- }, {
152
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
153
- data: ({} & {
154
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
155
- discountValue: number;
156
- }) | ({} & {
157
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
158
- discountValue: number;
159
- });
160
- }>, z.ZodObject<{
161
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
162
- data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
163
- }, "strip", z.ZodTypeAny, {
164
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
165
- data: {};
166
- }, {
167
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
168
- data?: {} | undefined;
169
- }>]>>;
170
- }, "strip", z.ZodTypeAny, {
171
- data: ({
172
- type?: import("../..").DiscountRulesTypeEnum | undefined;
173
- status?: import("../..").DiscountRulesStatusEnum | undefined;
174
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
175
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
176
- clientsUUID?: string[] | undefined;
177
- productsUUID?: string[] | undefined;
178
- } & {
179
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
180
- data: {
181
- discountPercent: number;
182
- };
183
- }) | ({
184
- type?: import("../..").DiscountRulesTypeEnum | undefined;
185
- status?: import("../..").DiscountRulesStatusEnum | undefined;
186
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
187
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
188
- clientsUUID?: string[] | undefined;
189
- productsUUID?: string[] | undefined;
190
- } & {
191
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
192
- data: {
193
- discountPercent: number;
194
- range: number[];
195
- };
196
- }) | ({
197
- type?: import("../..").DiscountRulesTypeEnum | undefined;
198
- status?: import("../..").DiscountRulesStatusEnum | undefined;
199
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
200
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
201
- clientsUUID?: string[] | undefined;
202
- productsUUID?: string[] | undefined;
203
- } & {
204
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
205
- data: ({
206
- multipleQuantity: number;
207
- } & {
208
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
209
- discountValue: number;
210
- }) | ({
211
- multipleQuantity: number;
212
- } & {
213
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
214
- discountValue: number;
215
- });
216
- }) | ({
217
- type?: import("../..").DiscountRulesTypeEnum | undefined;
218
- status?: import("../..").DiscountRulesStatusEnum | undefined;
219
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
220
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
221
- clientsUUID?: string[] | undefined;
222
- productsUUID?: string[] | undefined;
223
- } & {
224
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
225
- data: ({} & {
226
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
227
- discountValue: number;
228
- }) | ({} & {
229
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
230
- discountValue: number;
231
- });
232
- }) | ({
233
- type?: import("../..").DiscountRulesTypeEnum | undefined;
234
- status?: import("../..").DiscountRulesStatusEnum | undefined;
235
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
236
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
237
- clientsUUID?: string[] | undefined;
238
- productsUUID?: string[] | undefined;
239
- } & {
240
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
241
- data: {};
242
- });
243
- }, {
244
- data: ({
245
- type?: import("../..").DiscountRulesTypeEnum | undefined;
246
- status?: import("../..").DiscountRulesStatusEnum | undefined;
247
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
248
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
249
- clientsUUID?: string[] | undefined;
250
- productsUUID?: string[] | undefined;
251
- } & {
252
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
253
- data: {
254
- discountPercent: number;
255
- };
256
- }) | ({
257
- type?: import("../..").DiscountRulesTypeEnum | undefined;
258
- status?: import("../..").DiscountRulesStatusEnum | undefined;
259
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
260
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
261
- clientsUUID?: string[] | undefined;
262
- productsUUID?: string[] | undefined;
263
- } & {
264
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
265
- data: {
266
- discountPercent: number;
267
- range: number[];
268
- };
269
- }) | ({
270
- type?: import("../..").DiscountRulesTypeEnum | undefined;
271
- status?: import("../..").DiscountRulesStatusEnum | undefined;
272
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
273
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
274
- clientsUUID?: string[] | undefined;
275
- productsUUID?: string[] | undefined;
276
- } & {
277
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
278
- data: ({
279
- multipleQuantity: number;
280
- } & {
281
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
282
- discountValue: number;
283
- }) | ({
284
- multipleQuantity: number;
285
- } & {
286
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
287
- discountValue: number;
288
- });
289
- }) | ({
290
- type?: import("../..").DiscountRulesTypeEnum | undefined;
291
- status?: import("../..").DiscountRulesStatusEnum | undefined;
292
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
293
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
294
- clientsUUID?: string[] | undefined;
295
- productsUUID?: string[] | undefined;
296
- } & {
297
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
298
- data: ({} & {
299
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
300
- discountValue: number;
301
- }) | ({} & {
302
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
303
- discountValue: number;
304
- });
305
- }) | ({
306
- type?: import("../..").DiscountRulesTypeEnum | undefined;
307
- status?: import("../..").DiscountRulesStatusEnum | undefined;
308
- defaultApplyProduct?: import("../..").DiscountRulesApplyTypeEnum | undefined;
309
- defaultApplyClient?: import("../..").DiscountRulesApplyTypeEnum | undefined;
310
- clientsUUID?: string[] | undefined;
311
- productsUUID?: string[] | undefined;
312
- } & {
313
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
314
- data?: {} | undefined;
315
- });
316
- }>;
317
- type Request = z.infer<typeof RequestSchema>;
318
- const ResponseSchema: z.ZodObject<{
319
- message: z.ZodOptional<z.ZodString>;
320
- data: z.ZodIntersection<z.ZodObject<{
321
- uuid: z.ZodString;
322
- companyUUID: z.ZodString;
323
- type: z.ZodNativeEnum<typeof import("../..").DiscountRulesTypeEnum>;
324
- defaultApplyProduct: z.ZodNativeEnum<typeof import("../..").DiscountRulesApplyTypeEnum>;
325
- defaultApplyClient: z.ZodNativeEnum<typeof import("../..").DiscountRulesApplyTypeEnum>;
326
- status: z.ZodNativeEnum<typeof import("../..").DiscountRulesStatusEnum>;
327
- createdAt: z.ZodDate;
328
- updatedAt: z.ZodDate;
329
- }, "strip", z.ZodTypeAny, {
330
- type: import("../..").DiscountRulesTypeEnum;
331
- status: import("../..").DiscountRulesStatusEnum;
332
- uuid: string;
333
- createdAt: Date;
334
- updatedAt: Date;
335
- companyUUID: string;
336
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
337
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
338
- }, {
339
- type: import("../..").DiscountRulesTypeEnum;
340
- status: import("../..").DiscountRulesStatusEnum;
341
- uuid: string;
342
- createdAt: Date;
343
- updatedAt: Date;
344
- companyUUID: string;
345
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
346
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
347
- }>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
348
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT>;
349
- data: z.ZodObject<{
350
- discountPercent: z.ZodNumber;
351
- }, "strip", z.ZodTypeAny, {
352
- discountPercent: number;
353
- }, {
354
- discountPercent: number;
355
- }>;
356
- }, "strip", z.ZodTypeAny, {
357
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
358
- data: {
359
- discountPercent: number;
360
- };
361
- }, {
362
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
363
- data: {
364
- discountPercent: number;
365
- };
366
- }>, z.ZodObject<{
367
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM>;
368
- data: z.ZodObject<{
369
- range: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, number[], number[]>;
370
- discountPercent: z.ZodNumber;
371
- }, "strip", z.ZodTypeAny, {
372
- discountPercent: number;
373
- range: number[];
374
- }, {
375
- discountPercent: number;
376
- range: number[];
377
- }>;
378
- }, "strip", z.ZodTypeAny, {
379
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
380
- data: {
381
- discountPercent: number;
382
- range: number[];
383
- };
384
- }, {
385
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
386
- data: {
387
- discountPercent: number;
388
- range: number[];
389
- };
390
- }>, z.ZodObject<{
391
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.QUANTITY_BASED>;
392
- data: z.ZodIntersection<z.ZodObject<{
393
- multipleQuantity: z.ZodNumber;
394
- }, "strip", z.ZodTypeAny, {
395
- multipleQuantity: number;
396
- }, {
397
- multipleQuantity: number;
398
- }>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
399
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.PERCENT>;
400
- discountValue: z.ZodNumber;
401
- }, "strip", z.ZodTypeAny, {
402
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
403
- discountValue: number;
404
- }, {
405
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
406
- discountValue: number;
407
- }>, z.ZodObject<{
408
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.FIXED>;
409
- discountValue: z.ZodNumber;
410
- }, "strip", z.ZodTypeAny, {
411
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
412
- discountValue: number;
413
- }, {
414
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
415
- discountValue: number;
416
- }>]>>;
417
- }, "strip", z.ZodTypeAny, {
418
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
419
- data: ({
420
- multipleQuantity: number;
421
- } & {
422
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
423
- discountValue: number;
424
- }) | ({
425
- multipleQuantity: number;
426
- } & {
427
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
428
- discountValue: number;
429
- });
430
- }, {
431
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
432
- data: ({
433
- multipleQuantity: number;
434
- } & {
435
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
436
- discountValue: number;
437
- }) | ({
438
- multipleQuantity: number;
439
- } & {
440
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
441
- discountValue: number;
442
- });
443
- }>, z.ZodObject<{
444
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT>;
445
- data: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"typeDiscount", [z.ZodObject<{
446
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.PERCENT>;
447
- discountValue: z.ZodNumber;
448
- }, "strip", z.ZodTypeAny, {
449
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
450
- discountValue: number;
451
- }, {
452
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
453
- discountValue: number;
454
- }>, z.ZodObject<{
455
- typeDiscount: z.ZodLiteral<import("../..").DiscountRulesModeTypeEnum.FIXED>;
456
- discountValue: z.ZodNumber;
457
- }, "strip", z.ZodTypeAny, {
458
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
459
- discountValue: number;
460
- }, {
461
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
462
- discountValue: number;
463
- }>]>>;
464
- }, "strip", z.ZodTypeAny, {
465
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
466
- data: ({} & {
467
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
468
- discountValue: number;
469
- }) | ({} & {
470
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
471
- discountValue: number;
472
- });
473
- }, {
474
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
475
- data: ({} & {
476
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
477
- discountValue: number;
478
- }) | ({} & {
479
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
480
- discountValue: number;
481
- });
482
- }>, z.ZodObject<{
483
- type: z.ZodLiteral<import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED>;
484
- data: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
485
- }, "strip", z.ZodTypeAny, {
486
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
487
- data: {};
488
- }, {
489
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
490
- data?: {} | undefined;
491
- }>]>>;
492
- }, "strip", z.ZodTypeAny, {
493
- data: ({
494
- type: import("../..").DiscountRulesTypeEnum;
495
- status: import("../..").DiscountRulesStatusEnum;
496
- uuid: string;
497
- createdAt: Date;
498
- updatedAt: Date;
499
- companyUUID: string;
500
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
501
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
502
- } & {
503
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
504
- data: {
505
- discountPercent: number;
506
- };
507
- }) | ({
508
- type: import("../..").DiscountRulesTypeEnum;
509
- status: import("../..").DiscountRulesStatusEnum;
510
- uuid: string;
511
- createdAt: Date;
512
- updatedAt: Date;
513
- companyUUID: string;
514
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
515
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
516
- } & {
517
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
518
- data: {
519
- discountPercent: number;
520
- range: number[];
521
- };
522
- }) | ({
523
- type: import("../..").DiscountRulesTypeEnum;
524
- status: import("../..").DiscountRulesStatusEnum;
525
- uuid: string;
526
- createdAt: Date;
527
- updatedAt: Date;
528
- companyUUID: string;
529
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
530
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
531
- } & {
532
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
533
- data: ({
534
- multipleQuantity: number;
535
- } & {
536
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
537
- discountValue: number;
538
- }) | ({
539
- multipleQuantity: number;
540
- } & {
541
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
542
- discountValue: number;
543
- });
544
- }) | ({
545
- type: import("../..").DiscountRulesTypeEnum;
546
- status: import("../..").DiscountRulesStatusEnum;
547
- uuid: string;
548
- createdAt: Date;
549
- updatedAt: Date;
550
- companyUUID: string;
551
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
552
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
553
- } & {
554
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
555
- data: ({} & {
556
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
557
- discountValue: number;
558
- }) | ({} & {
559
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
560
- discountValue: number;
561
- });
562
- }) | ({
563
- type: import("../..").DiscountRulesTypeEnum;
564
- status: import("../..").DiscountRulesStatusEnum;
565
- uuid: string;
566
- createdAt: Date;
567
- updatedAt: Date;
568
- companyUUID: string;
569
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
570
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
571
- } & {
572
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
573
- data: {};
574
- });
575
- message?: string | undefined;
576
- }, {
577
- data: ({
578
- type: import("../..").DiscountRulesTypeEnum;
579
- status: import("../..").DiscountRulesStatusEnum;
580
- uuid: string;
581
- createdAt: Date;
582
- updatedAt: Date;
583
- companyUUID: string;
584
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
585
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
586
- } & {
587
- type: import("../..").DiscountRulesTypeEnum.PERSONAL_DISCOUNT;
588
- data: {
589
- discountPercent: number;
590
- };
591
- }) | ({
592
- type: import("../..").DiscountRulesTypeEnum;
593
- status: import("../..").DiscountRulesStatusEnum;
594
- uuid: string;
595
- createdAt: Date;
596
- updatedAt: Date;
597
- companyUUID: string;
598
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
599
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
600
- } & {
601
- type: import("../..").DiscountRulesTypeEnum.MONTHLY_ORDER_SUM;
602
- data: {
603
- discountPercent: number;
604
- range: number[];
605
- };
606
- }) | ({
607
- type: import("../..").DiscountRulesTypeEnum;
608
- status: import("../..").DiscountRulesStatusEnum;
609
- uuid: string;
610
- createdAt: Date;
611
- updatedAt: Date;
612
- companyUUID: string;
613
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
614
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
615
- } & {
616
- type: import("../..").DiscountRulesTypeEnum.QUANTITY_BASED;
617
- data: ({
618
- multipleQuantity: number;
619
- } & {
620
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
621
- discountValue: number;
622
- }) | ({
623
- multipleQuantity: number;
624
- } & {
625
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
626
- discountValue: number;
627
- });
628
- }) | ({
629
- type: import("../..").DiscountRulesTypeEnum;
630
- status: import("../..").DiscountRulesStatusEnum;
631
- uuid: string;
632
- createdAt: Date;
633
- updatedAt: Date;
634
- companyUUID: string;
635
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
636
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
637
- } & {
638
- type: import("../..").DiscountRulesTypeEnum.ITEM_DISCOUNT;
639
- data: ({} & {
640
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.PERCENT;
641
- discountValue: number;
642
- }) | ({} & {
643
- typeDiscount: import("../..").DiscountRulesModeTypeEnum.FIXED;
644
- discountValue: number;
645
- });
646
- }) | ({
647
- type: import("../..").DiscountRulesTypeEnum;
648
- status: import("../..").DiscountRulesStatusEnum;
649
- uuid: string;
650
- createdAt: Date;
651
- updatedAt: Date;
652
- companyUUID: string;
653
- defaultApplyProduct: import("../..").DiscountRulesApplyTypeEnum;
654
- defaultApplyClient: import("../..").DiscountRulesApplyTypeEnum;
655
- } & {
656
- type: import("../..").DiscountRulesTypeEnum.DISCOUNT_PROHIBITED;
657
- data?: {} | undefined;
658
- });
659
- message?: string | undefined;
660
- }>;
661
- type Response = z.infer<typeof ResponseSchema>;
662
- }