@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,2047 +0,0 @@
1
- export declare const ERRORS: {
2
- readonly COMPANY_NOT_CREATED: {
3
- readonly code: "C001";
4
- readonly message: "Failed to create company";
5
- readonly httpCode: 500;
6
- };
7
- readonly COMPANY_NOT_DELETED: {
8
- readonly code: "C002";
9
- readonly message: "Failed to delete company";
10
- readonly httpCode: 500;
11
- };
12
- readonly COMPANY_NOT_UPDATED: {
13
- readonly code: "C003";
14
- readonly message: "Failed to update company";
15
- readonly httpCode: 500;
16
- };
17
- readonly COMPANY_NOT_FOUND: {
18
- readonly code: "C004";
19
- readonly message: "The company with the specified UUID was not found";
20
- readonly httpCode: 404;
21
- };
22
- readonly COMPANY_FETCH_FAILED: {
23
- readonly code: "C006";
24
- readonly message: "Error when retrieving a list of companies";
25
- readonly httpCode: 500;
26
- };
27
- readonly COMPANY_ALREADY_EXIST: {
28
- readonly code: "C007";
29
- readonly message: "Company with this name already exist";
30
- readonly httpCode: 409;
31
- };
32
- readonly COMPANY_NOT_ACTIVATED: {
33
- readonly code: "C008";
34
- readonly message: "Company has not been activated";
35
- readonly httpCode: 403;
36
- };
37
- readonly MONEY_ACCOUNT_NOT_CREATED: {
38
- readonly code: "M001";
39
- readonly message: "Failed to create money account";
40
- readonly httpCode: 500;
41
- };
42
- readonly MONEY_ACCOUNT_NOT_DELETED: {
43
- readonly code: "M002";
44
- readonly message: "Failed to delete money account";
45
- readonly httpCode: 500;
46
- };
47
- readonly MONEY_ACCOUNT_NOT_UPDATED: {
48
- readonly code: "M003";
49
- readonly message: "Failed to update money account";
50
- readonly httpCode: 500;
51
- };
52
- readonly MONEY_ACCOUNT_NOT_FOUND: {
53
- readonly code: "M004";
54
- readonly message: "The money account with the specified UUID was not found";
55
- readonly httpCode: 404;
56
- };
57
- readonly MONEY_ACCOUNT_WITH_SAME_NAME_ALREADY_EXISTS: {
58
- readonly code: "M005";
59
- readonly message: "The money account with the specified name already exist";
60
- readonly httpCode: 400;
61
- };
62
- readonly MONEY_ACCOUNT_FETCH_FAILED: {
63
- readonly code: "M006";
64
- readonly message: "Error when retrieving a list of money accounts";
65
- readonly httpCode: 500;
66
- };
67
- readonly MONEY_ACCOUNT_HAS_TRANSACTIONS: {
68
- readonly code: "M007";
69
- readonly message: "Money account has transactions";
70
- readonly httpCode: 400;
71
- };
72
- readonly MONEY_ACCOUNT_ACCESS_DENIED: {
73
- readonly code: "M008";
74
- readonly message: "Money account access denied";
75
- readonly httpCode: 500;
76
- };
77
- readonly NOTIFICATION_NOT_CREATED: {
78
- readonly code: "N001";
79
- readonly message: "Failed to create Notification";
80
- readonly httpCode: 500;
81
- };
82
- readonly NOTIFICATION_NOT_FOUND: {
83
- readonly code: "N002";
84
- readonly message: "Notification not found";
85
- readonly httpCode: 400;
86
- };
87
- readonly NOTIFICATION_NOT_UPDATED: {
88
- readonly code: "N003";
89
- readonly message: "Failed to update Notification";
90
- readonly httpCode: 500;
91
- };
92
- readonly NOTIFICATION_FETCH_FAILED: {
93
- readonly code: "N004";
94
- readonly message: "Error when retrieving a notification";
95
- readonly httpCode: 500;
96
- };
97
- readonly NOTIFICATION_MAX_RETRIES_REACHED: {
98
- readonly code: "N004";
99
- readonly message: "Maximum retry attempts reached for notification";
100
- readonly httpCode: 500;
101
- };
102
- readonly NOTIFICATION_UNSUPPORTED_CHANNEL: {
103
- readonly code: "N005";
104
- readonly message: "Unsupported channel for status checking";
105
- readonly httpCode: 500;
106
- };
107
- readonly NOTIFICATION_ALL_CHANNELS_EXHAUSTED: {
108
- readonly code: "N006";
109
- readonly message: "All channels exhausted";
110
- readonly httpCode: 500;
111
- };
112
- readonly NOTIFICATION_SEND_FAILED: {
113
- readonly code: "N007";
114
- readonly message: "Failed to send notification";
115
- readonly httpCode: 500;
116
- };
117
- readonly NOTIFICATION_CHANNEL_CONFIG_NOT_FOUND: {
118
- readonly code: "N008";
119
- readonly message: "Notification channel config not found";
120
- readonly httpCode: 500;
121
- };
122
- readonly PRODUCT_IMAGE_NOT_CREATED: {
123
- readonly code: "PI001";
124
- readonly message: "Failed to create Product Image";
125
- readonly httpCode: 500;
126
- };
127
- readonly PRODUCT_IMAGE_NOT_DELETED: {
128
- readonly code: "PI002";
129
- readonly message: "Failed to delete Product Image";
130
- readonly httpCode: 500;
131
- };
132
- readonly PRODUCT_IMAGE_NOT_UPDATED: {
133
- readonly code: "PI003";
134
- readonly message: "Failed to update Product Image";
135
- readonly httpCode: 500;
136
- };
137
- readonly PRODUCT_IMAGE_NAME_ALREADY_EXISTS: {
138
- readonly code: "PI004";
139
- readonly message: "Product Image name already exists";
140
- readonly httpCode: 409;
141
- };
142
- readonly PRODUCT_IMAGE_NOT_FOUND: {
143
- readonly code: "PI005";
144
- readonly message: "Product Image with the specified UUID was not found";
145
- readonly httpCode: 404;
146
- };
147
- readonly PRODUCT_IMAGE_FETCH_FAILED: {
148
- readonly code: "PI006";
149
- readonly message: "Error when retrieving a Product Image";
150
- readonly httpCode: 500;
151
- };
152
- readonly PRODUCT_IMAGE_FILTERS_VALUES_FETCH_FAILED: {
153
- readonly code: "PI007";
154
- readonly message: "Error when retrieving a Product Image filters values";
155
- readonly httpCode: 500;
156
- };
157
- readonly PRODUCT_IMAGE_ALIAS_NOT_CREATED: {
158
- readonly code: "PI008";
159
- readonly message: "Failed to create Product Image Alias";
160
- readonly httpCode: 500;
161
- };
162
- readonly PRODUCT_IMAGE_ALIAS_NOT_FOUND: {
163
- readonly code: "PI009";
164
- readonly message: "Product Image Alias with the specified UUID was not found";
165
- readonly httpCode: 404;
166
- };
167
- readonly PRODUCT_IMAGE_ALIAS_NOT_UPDATED: {
168
- readonly code: "PI011";
169
- readonly message: "Failed to update Product Image Alias";
170
- readonly httpCode: 500;
171
- };
172
- readonly PRODUCT_IMAGE_ALIAS_NOT_DELETED: {
173
- readonly code: "PI012";
174
- readonly message: "Failed to delete Product Image Alias";
175
- readonly httpCode: 500;
176
- };
177
- readonly PRODUCT_IMAGE_ALIAS_NAME_ALREADY_EXISTS: {
178
- readonly code: "PI013";
179
- readonly message: "Product Image Alias name already exists";
180
- readonly httpCode: 409;
181
- };
182
- readonly SETTINGS_NOT_CREATED: {
183
- readonly code: "S001";
184
- readonly message: "Failed to create settings";
185
- readonly httpCode: 500;
186
- };
187
- readonly SETTINGS_NOT_DELETED: {
188
- readonly code: "S002";
189
- readonly message: "Failed to delete settings";
190
- readonly httpCode: 500;
191
- };
192
- readonly SETTINGS_NOT_UPDATED: {
193
- readonly code: "S003";
194
- readonly message: "Failed to update settings";
195
- readonly httpCode: 500;
196
- };
197
- readonly SETTINGS_NOT_FOUND: {
198
- readonly code: "S005";
199
- readonly message: "Settings not found";
200
- readonly httpCode: 404;
201
- };
202
- readonly SETTINGS_FETCH_FAILED: {
203
- readonly code: "S006";
204
- readonly message: "Error when retrieving a Settings";
205
- readonly httpCode: 500;
206
- };
207
- readonly FORBIDDEN_API: {
208
- readonly code: "A011";
209
- readonly message: "Access denied";
210
- readonly httpCode: 403;
211
- };
212
- readonly FAILED_TO_DEFINE_ROLE: {
213
- readonly code: "A008";
214
- readonly message: "User role could not be determined";
215
- readonly httpCode: 400;
216
- };
217
- readonly ACCOUNT_WITH_PAYLOAD_NOT_FOUND: {
218
- readonly code: "A016";
219
- readonly message: "Account not be found based on information from the token";
220
- readonly httpCode: 404;
221
- };
222
- readonly ORIGIN_HEADER_NOT_FOUND: {
223
- readonly code: "H001";
224
- readonly message: "Origin header of the user current address was not found";
225
- readonly httpCode: 404;
226
- };
227
- readonly USER_FETCH_FAILED: {
228
- readonly code: "U002";
229
- readonly message: "Error when retrieving a user";
230
- readonly httpCode: 500;
231
- };
232
- readonly USER_NOT_UPDATED: {
233
- readonly code: "U003";
234
- readonly message: "Failed to update user";
235
- readonly httpCode: 500;
236
- };
237
- readonly NO_USER: {
238
- readonly code: "U004";
239
- readonly message: "User not found";
240
- readonly httpCode: 404;
241
- };
242
- readonly USER_NOT_ACTIVATED: {
243
- readonly code: "U005";
244
- readonly message: "Account has not been activated";
245
- readonly httpCode: 403;
246
- };
247
- readonly USER_ALREADY_EXISTS: {
248
- readonly code: "U006";
249
- readonly message: "User with this email or phone already exists";
250
- readonly httpCode: 409;
251
- };
252
- readonly USER_NOT_FOUND: {
253
- readonly code: "U007";
254
- readonly message: "User with this email not found";
255
- readonly httpCode: 404;
256
- };
257
- readonly USER_CREATE_FAILED: {
258
- readonly code: "U008";
259
- readonly message: "Failed to create user";
260
- readonly httpCode: 500;
261
- };
262
- readonly USER_UPDATE_FAILED: {
263
- readonly code: "U009";
264
- readonly message: "Failed to update user";
265
- readonly httpCode: 400;
266
- };
267
- readonly USER_LIST_FETCH_FAILED: {
268
- readonly code: "U010";
269
- readonly message: "Failed fetching user list";
270
- readonly httpCode: 500;
271
- };
272
- readonly USER_NO_BELONGS_COMPANY: {
273
- readonly code: "U011";
274
- readonly message: "This user does not belongs to the company ";
275
- readonly httpCode: 403;
276
- };
277
- readonly USER_MISSING_EMAIL_OR_PHONE: {
278
- readonly code: "U012";
279
- readonly message: "Не указан email или телефон ";
280
- readonly httpCode: 400;
281
- };
282
- readonly USER_ROLE_MISMATCH_CLIENT: {
283
- readonly code: "U013";
284
- readonly message: "User does not have BUYER role required for client login";
285
- readonly httpCode: 403;
286
- };
287
- readonly USER_ROLE_MISMATCH_EMPLOYEE: {
288
- readonly code: "U014";
289
- readonly message: "User does not have employee role required for employee login";
290
- readonly httpCode: 403;
291
- };
292
- readonly FAILED_TO_UPDATE: {
293
- readonly code: "A010";
294
- readonly message: "User update failed";
295
- readonly httpCode: 500;
296
- };
297
- readonly RESTORE_TOKEN_ERROR: {
298
- readonly code: "A012";
299
- readonly message: "Invalid recovery token";
300
- readonly httpCode: 500;
301
- };
302
- readonly INVALID_RESTORE_TOKEN: {
303
- readonly code: "A013";
304
- readonly message: "Invalid recovery token";
305
- readonly httpCode: 400;
306
- };
307
- readonly ERROR_WHILE_RESET_PASSWORD: {
308
- readonly code: "A014";
309
- readonly message: "Password reset failed";
310
- readonly httpCode: 500;
311
- };
312
- readonly ERROR_WHILE_UPDATE_PASSWORD: {
313
- readonly code: "A017";
314
- readonly message: "Password update failed";
315
- readonly httpCode: 500;
316
- };
317
- readonly NO_TOKEN: {
318
- readonly code: "A004";
319
- readonly message: "Token has already been used or does not exist";
320
- readonly httpCode: 404;
321
- };
322
- readonly TOKEN_WAS_CHANGED: {
323
- readonly code: "A015";
324
- readonly message: "The token cannot be decrypted. Perhaps the integrity of the token has been violated or it has been changed";
325
- readonly httpCode: 400;
326
- };
327
- readonly INCORRECT_CREDENTIALS: {
328
- readonly code: "A002";
329
- readonly message: "Invalid email or password";
330
- readonly httpCode: 400;
331
- };
332
- readonly ALREADY_REGISTERED: {
333
- readonly code: "A001";
334
- readonly message: "User already exists";
335
- readonly httpCode: 409;
336
- };
337
- readonly INVALID_USER_TYPE: {
338
- readonly code: "A018";
339
- readonly message: "Invalid user type";
340
- readonly httpCode: 400;
341
- };
342
- readonly DOMAIN_LIST_FETCH_FAILED: {
343
- readonly code: "D001";
344
- readonly message: "Error when retrieving a domain list";
345
- readonly httpCode: 500;
346
- };
347
- readonly DOMAIN_FETCH_FAILED: {
348
- readonly code: "D002";
349
- readonly message: "Error when retrieving a domain";
350
- readonly httpCode: 500;
351
- };
352
- readonly DOMAIN_ALREADY_EXIST: {
353
- readonly code: "D003";
354
- readonly message: "Domain with name already exists";
355
- readonly httpCode: 409;
356
- };
357
- readonly DOMAIN_NOT_FOUND: {
358
- readonly code: "D004";
359
- readonly message: "Domain with name not found";
360
- readonly httpCode: 404;
361
- };
362
- readonly DOMAIN_NOT_CREATED: {
363
- readonly code: "D005";
364
- readonly message: "Failed to create domain";
365
- readonly httpCode: 500;
366
- };
367
- readonly DOMAIN_NOT_UPDATED: {
368
- readonly code: "D006";
369
- readonly message: "Failed to update domain";
370
- readonly httpCode: 500;
371
- };
372
- readonly DOMAIN_NOT_DELETED: {
373
- readonly code: "D007";
374
- readonly message: "Failed to delete domain";
375
- readonly httpCode: 500;
376
- };
377
- readonly DOMAIN_IS_INVALID: {
378
- readonly code: "D008";
379
- readonly message: "Domain is invalid";
380
- readonly httpCode: 403;
381
- };
382
- readonly CLIENT_NOT_CREATED: {
383
- readonly code: "CL001";
384
- readonly message: "Failed to create client";
385
- readonly httpCode: 500;
386
- };
387
- readonly CLIENT_NOT_DELETED: {
388
- readonly code: "CL002";
389
- readonly message: "Failed to delete client";
390
- readonly httpCode: 500;
391
- };
392
- readonly CLIENT_NOT_UPDATED: {
393
- readonly code: "CL003";
394
- readonly message: "Failed to update client";
395
- readonly httpCode: 500;
396
- };
397
- readonly CLIENT_NOT_FOUND: {
398
- readonly code: "CL004";
399
- readonly message: "The client with the specified UUID was not found";
400
- readonly httpCode: 404;
401
- };
402
- readonly CLIENT_FETCH_FAILED: {
403
- readonly code: "CL005";
404
- readonly message: "Error when retrieving a list of clients";
405
- readonly httpCode: 500;
406
- };
407
- readonly CLIENT_ALREADY_EXIST: {
408
- readonly code: "CL006";
409
- readonly message: "Client with this properties already exist";
410
- readonly httpCode: 409;
411
- };
412
- readonly CLIENT_EMAIL_ALREADY_EXIST: {
413
- readonly code: "CL007";
414
- readonly message: "Client with this email already exist";
415
- readonly httpCode: 409;
416
- };
417
- readonly CLIENT_PHONE_ALREADY_EXIST: {
418
- readonly code: "CL008";
419
- readonly message: "Client with this phone already exist";
420
- readonly httpCode: 409;
421
- };
422
- readonly CLIENT_WITH_SAME_USER_ALREADY_EXIST: {
423
- readonly code: "CL009";
424
- readonly message: "Client with same user already exist";
425
- readonly httpCode: 409;
426
- };
427
- readonly CLIENT_NOT_REGISTERED: {
428
- readonly code: "CL010";
429
- readonly message: "Failed to register client";
430
- readonly httpCode: 500;
431
- };
432
- readonly CLIENT_ORDER_COUNTS_FETCH_FAILED: {
433
- readonly code: "CL011";
434
- readonly message: "Error when retrieving a list with count of client orders";
435
- readonly httpCode: 500;
436
- };
437
- readonly CLIENT_BALANCE_NOT_UPDATED: {
438
- readonly code: "CL012";
439
- readonly message: "Failed to update client balance";
440
- readonly httpCode: 500;
441
- };
442
- readonly CLIENT_HAS_ORDERS: {
443
- readonly code: "CL025";
444
- readonly message: "Client has orders";
445
- readonly httpCode: 400;
446
- };
447
- readonly CLIENT_IMPORT_FAILED: {
448
- readonly code: "CL024";
449
- readonly message: "Ошибка при импорте клиентов";
450
- readonly httpCode: 400;
451
- };
452
- readonly CLIENT_FILTERS_VALUES_FETCH_FAILED: {
453
- readonly code: "CL026";
454
- readonly message: "Error when retrieving a client filters values";
455
- readonly httpCode: 500;
456
- };
457
- readonly CLIENT_MARKING_NOT_CREATED: {
458
- readonly code: "CL027";
459
- readonly message: "Client marking not created";
460
- readonly httpCode: 500;
461
- };
462
- readonly CLIENT_MARKING_NOT_DELETED: {
463
- readonly code: "CL028";
464
- readonly message: "Client marking not deleted";
465
- readonly httpCode: 500;
466
- };
467
- readonly CLIENT_MARKING_ALREADY_EXISTS: {
468
- readonly code: "CL029";
469
- readonly message: "Client marking already exists";
470
- readonly httpCode: 409;
471
- };
472
- readonly CLIENT_MARKING_NOT_UPDATED: {
473
- readonly code: "CL030";
474
- readonly message: "Client marking not updated";
475
- readonly httpCode: 500;
476
- };
477
- readonly CLIENT_HAS_TRANSACTIONS: {
478
- readonly code: "CL031";
479
- readonly message: "Client has transactions";
480
- readonly httpCode: 400;
481
- };
482
- readonly CLIENT_INDIVIDUAL_PROFILE_NOT_CREATED: {
483
- readonly code: "CL013";
484
- readonly message: "Failed to create client individual profile";
485
- readonly httpCode: 500;
486
- };
487
- readonly CLIENT_INDIVIDUAL_PROFILE_ALREADY_EXIST: {
488
- readonly code: "CL014";
489
- readonly message: "Individual profile already exist";
490
- readonly httpCode: 409;
491
- };
492
- readonly CLIENT_INDIVIDUAL_PROFILE_NOT_FOUND: {
493
- readonly code: "CL015";
494
- readonly message: "Individual profile not founded";
495
- readonly httpCode: 404;
496
- };
497
- readonly CLIENT_INDIVIDUAL_PROFILE_NOT_DELETED: {
498
- readonly code: "CL016";
499
- readonly message: "Individual profile not deleted";
500
- readonly httpCode: 500;
501
- };
502
- readonly CLIENT_INDIVIDUAL_PROFILE_NOT_UPDATED: {
503
- readonly code: "CL017";
504
- readonly message: "Individual profile not updated";
505
- readonly httpCode: 500;
506
- };
507
- readonly CLIENT_LEGAL_PROFILE_NOT_CREATED: {
508
- readonly code: "CL018";
509
- readonly message: "Failed to create client legal profile";
510
- readonly httpCode: 500;
511
- };
512
- readonly CLIENT_LEGAL_PROFILE_ALREADY_EXIST: {
513
- readonly code: "CL019";
514
- readonly message: "Legal profile already exist";
515
- readonly httpCode: 409;
516
- };
517
- readonly CLIENT_LEGAL_PROFILE_NOT_FOUND: {
518
- readonly code: "CL020";
519
- readonly message: "Legal profile not founded";
520
- readonly httpCode: 404;
521
- };
522
- readonly CLIENT_LEGAL_PROFILE_NOT_DELETED: {
523
- readonly code: "CL021";
524
- readonly message: "Legal profile not deleted";
525
- readonly httpCode: 500;
526
- };
527
- readonly CLIENT_LEGAL_PROFILE_NOT_UPDATED: {
528
- readonly code: "CL022";
529
- readonly message: "Legal profile not updated";
530
- readonly httpCode: 500;
531
- };
532
- readonly CLIENT_CALCULATE_FAILED: {
533
- readonly code: "CL023";
534
- readonly message: "Failed calculate by client";
535
- readonly httpCode: 500;
536
- };
537
- readonly BRANCH_NOT_CREATED: {
538
- readonly code: "B001";
539
- readonly message: "Failed to create branch";
540
- readonly httpCode: 500;
541
- };
542
- readonly BRANCH_ALREADY_EXIST: {
543
- readonly code: "B002";
544
- readonly message: "Branch already exist";
545
- readonly httpCode: 409;
546
- };
547
- readonly BRANCH_FETCH_FAILED: {
548
- readonly code: "B003";
549
- readonly message: "Error when retrieving a branch";
550
- readonly httpCode: 500;
551
- };
552
- readonly BRANCH_NOT_FOUND: {
553
- readonly code: "B004";
554
- readonly message: "Branch not founded";
555
- readonly httpCode: 404;
556
- };
557
- readonly BRANCH_NOT_DELETED: {
558
- readonly code: "B005";
559
- readonly message: "Branch not deleted";
560
- readonly httpCode: 500;
561
- };
562
- readonly BRANCH_NOT_UPDATED: {
563
- readonly code: "B006";
564
- readonly message: "Branch not updated";
565
- readonly httpCode: 500;
566
- };
567
- readonly PRODUCT_NOT_CREATED: {
568
- readonly code: "P001";
569
- readonly message: "Failed to create product";
570
- readonly httpCode: 500;
571
- };
572
- readonly PRODUCT_FETCH_FAILED: {
573
- readonly code: "P002";
574
- readonly message: "Error when retrieving a product";
575
- readonly httpCode: 500;
576
- };
577
- readonly PRODUCT_NOT_FOUND: {
578
- readonly code: "P003";
579
- readonly message: "Product not founded";
580
- readonly httpCode: 404;
581
- };
582
- readonly PRODUCT_NOT_DELETED: {
583
- readonly code: "P004";
584
- readonly message: "Product not deleted";
585
- readonly httpCode: 500;
586
- };
587
- readonly PRODUCT_NOT_UPDATED: {
588
- readonly code: "P005";
589
- readonly message: "Product not updated";
590
- readonly httpCode: 500;
591
- };
592
- readonly PRODUCT_GROUP_NOT_UPDATED: {
593
- readonly code: "P006";
594
- readonly message: "Product group not updated";
595
- readonly httpCode: 500;
596
- };
597
- readonly PRODUCT_GROUP_NOT_DELETED: {
598
- readonly code: "P007";
599
- readonly message: "Product group not deleted";
600
- readonly httpCode: 500;
601
- };
602
- readonly PRODUCT_MANY_NOT_CREATED: {
603
- readonly code: "P008";
604
- readonly message: "Product many not created";
605
- readonly httpCode: 500;
606
- };
607
- readonly PRODUCT_CLIENT_LIST_FILTERS_FETCH_FAILED: {
608
- readonly code: "P009";
609
- readonly message: "Error when retrieving a product client list filters";
610
- readonly httpCode: 500;
611
- };
612
- readonly PRODUCTS_IN_ORDER: {
613
- readonly code: "P010";
614
- readonly message: "Product not deleted, product are in order";
615
- readonly httpCode: 400;
616
- };
617
- readonly PRODUCT_QR_NOT_FETCHED: {
618
- readonly code: "P011";
619
- readonly message: "Product QR not fetched";
620
- readonly httpCode: 500;
621
- };
622
- readonly PRODUCT_QUANTITY_NEGATIVE: {
623
- readonly code: "P012";
624
- readonly message: "Product quantity is negative";
625
- readonly httpCode: 400;
626
- };
627
- readonly PRODUCT_BALANCE_NEGATIVE: {
628
- readonly code: "P013";
629
- readonly message: "Product balance is negative";
630
- readonly httpCode: 400;
631
- };
632
- readonly PRODUCT_PRICE_NEGATIVE: {
633
- readonly code: "P014";
634
- readonly message: "Product price is negative";
635
- readonly httpCode: 400;
636
- };
637
- readonly PRODUCT_COST_PRICE_NEGATIVE: {
638
- readonly code: "P015";
639
- readonly message: "Product cost price is negative";
640
- readonly httpCode: 400;
641
- };
642
- readonly PRODUCT_GROUP_UPDATE_BATCH_MAX_SIZE_EXCEEDED: {
643
- readonly code: "P016";
644
- readonly message: "Batch size exceeded";
645
- readonly httpCode: 400;
646
- };
647
- readonly PRODUCT_MULTIPLICITY_OPTION_NOT_FOUND: {
648
- readonly code: "P017";
649
- readonly message: "Product multiplicity option not found";
650
- readonly httpCode: 404;
651
- };
652
- readonly PRODUCT_CONFIGURATION_NOT_CREATED: {
653
- readonly code: "PCFG001";
654
- readonly message: "Failed to create product configuration";
655
- readonly httpCode: 500;
656
- };
657
- readonly PRODUCT_CONFIGURATION_NOT_DELETED: {
658
- readonly code: "PCFG002";
659
- readonly message: "Failed to delete product configuration";
660
- readonly httpCode: 500;
661
- };
662
- readonly PRODUCT_CONFIGURATION_NOT_UPDATED: {
663
- readonly code: "PCFG003";
664
- readonly message: "Failed to update product configuration";
665
- readonly httpCode: 500;
666
- };
667
- readonly PRODUCT_CONFIGURATION_NOT_FOUND: {
668
- readonly code: "PCFG004";
669
- readonly message: "Product configuration not found";
670
- readonly httpCode: 404;
671
- };
672
- readonly PRODUCT_CONFIGURATION_FETCH_FAILED: {
673
- readonly code: "PCFG005";
674
- readonly message: "Error when retrieving a product configuration";
675
- readonly httpCode: 500;
676
- };
677
- readonly CONSIGNMENT_NOT_CREATED: {
678
- readonly code: "CON001";
679
- readonly message: "Failed to create consignment";
680
- readonly httpCode: 500;
681
- };
682
- readonly CONSIGNMENT_FETCH_FAILED: {
683
- readonly code: "CON002";
684
- readonly message: "Error when retrieving a consignment";
685
- readonly httpCode: 500;
686
- };
687
- readonly CONSIGNMENT_NOT_FOUND: {
688
- readonly code: "CON003";
689
- readonly message: "Consignment not founded";
690
- readonly httpCode: 404;
691
- };
692
- readonly CONSIGNMENT_NOT_DELETED: {
693
- readonly code: "CON004";
694
- readonly message: "Consignment not deleted";
695
- readonly httpCode: 500;
696
- };
697
- readonly CONSIGNMENT_NOT_UPDATED: {
698
- readonly code: "CON005";
699
- readonly message: "Consignment not updated";
700
- readonly httpCode: 500;
701
- };
702
- readonly CONSIGNMENT_PRODUCTS_IN_ORDER: {
703
- readonly code: "CON006";
704
- readonly message: "Consignment not deleted, products are in order";
705
- readonly httpCode: 400;
706
- };
707
- readonly CONSIGNMENT_EXPORT_FAILED: {
708
- readonly code: "CON007";
709
- readonly message: "Failed to export consignment";
710
- readonly httpCode: 500;
711
- };
712
- readonly CONSIGNMENT_IMPORT_FAILED: {
713
- readonly code: "CON008";
714
- readonly message: "Failed to import consignment";
715
- readonly httpCode: 500;
716
- };
717
- readonly CONSIGNMENT_IMPORT_VALIDATION_FAILED: {
718
- readonly code: "CON009";
719
- readonly message: "Validation error for consignment import";
720
- readonly httpCode: 400;
721
- };
722
- readonly CONSIGNMENT_DISTRIBUTION_FAILED: {
723
- readonly code: "CON010";
724
- readonly message: "Failed to distribute consignment";
725
- readonly httpCode: 500;
726
- };
727
- readonly CONSIGNMENT_DISTRIBUTION_ALREADY_EXIST: {
728
- readonly code: "CON011";
729
- readonly message: "Distribution for the consignment already exists";
730
- readonly httpCode: 409;
731
- };
732
- readonly CONSIGNMENT_PRODUCTS_SORTED: {
733
- readonly code: "CON012";
734
- readonly message: "Some of the products in the consignment are already sorted";
735
- readonly httpCode: 409;
736
- };
737
- readonly CONSIGNMENT_DISTRIBUTION_CHECKING_FAILED: {
738
- readonly code: "CON013";
739
- readonly message: "Failed to checking consignment distribution";
740
- readonly httpCode: 500;
741
- };
742
- readonly CONSIGNMENT_FILTERS_VALUES_FAILED: {
743
- readonly code: "CON014";
744
- readonly message: "Failed when retrieving consignment filters values";
745
- readonly httpCode: 500;
746
- };
747
- readonly CONSIGNMENT_WRITE_OFF_NOT_EMPTY: {
748
- readonly code: "CON015";
749
- readonly message: "Consignment not deleted, write-off not empty";
750
- readonly httpCode: 400;
751
- };
752
- readonly CONSIGNMENT_IMPORT_SCHEME_NOT_CREATED: {
753
- readonly code: "CS001";
754
- readonly message: "Failed to create consignment import scheme";
755
- readonly httpCode: 500;
756
- };
757
- readonly CONSIGNMENT_IMPORT_SCHEME_FETCH_FAILED: {
758
- readonly code: "CS002";
759
- readonly message: "Error when retrieving a consignment import scheme";
760
- readonly httpCode: 500;
761
- };
762
- readonly CONSIGNMENT_IMPORT_SCHEME_ALREADY_EXIST: {
763
- readonly code: "CS003";
764
- readonly message: "Consignment import scheme with the same name already exists";
765
- readonly httpCode: 409;
766
- };
767
- readonly CONSIGNMENT_IMPORT_SCHEME_NOT_FOUND: {
768
- readonly code: "CS004";
769
- readonly message: "Consignment import scheme not founded";
770
- readonly httpCode: 404;
771
- };
772
- readonly CONSIGNMENT_IMPORT_SCHEME_NOT_DELETED: {
773
- readonly code: "CS005";
774
- readonly message: "Consignment import scheme not deleted";
775
- readonly httpCode: 500;
776
- };
777
- readonly CONSIGNMENT_IMPORT_SCHEME_NOT_UPDATED: {
778
- readonly code: "CS006";
779
- readonly message: "Failed to update consignment import scheme";
780
- readonly httpCode: 500;
781
- };
782
- readonly CONSIGNMENT_IMPORT_SCHEMA_RELATION_NOT_CREATED: {
783
- readonly code: "CSR001";
784
- readonly message: "Failed to create consignment import schema relation";
785
- readonly httpCode: 500;
786
- };
787
- readonly CONSIGNMENT_IMPORT_SCHEMA_RELATION_NOT_UPDATED: {
788
- readonly code: "CSR002";
789
- readonly message: "Failed to update consignment import schema relation";
790
- readonly httpCode: 500;
791
- };
792
- readonly CONSIGNMENT_IMPORT_SCHEMA_RELATION_FETCH_BY_SHEME_UUID_FAILED: {
793
- readonly code: "CSR003";
794
- readonly message: "Error when retrieving a consignment import schema relation";
795
- readonly httpCode: 500;
796
- };
797
- readonly CATEGORY_TEMPLATE_NOT_CREATED: {
798
- readonly code: "CT001";
799
- readonly message: "Failed to create category template";
800
- readonly httpCode: 500;
801
- };
802
- readonly CATEGORY_TEMPLATE_NOT_DELETED: {
803
- readonly code: "CT002";
804
- readonly message: "Failed to delete category template";
805
- readonly httpCode: 500;
806
- };
807
- readonly CATEGORY_TEMPLATE_NOT_UPDATED: {
808
- readonly code: "CT003";
809
- readonly message: "Failed to update category template";
810
- readonly httpCode: 500;
811
- };
812
- readonly CATEGORY_TEMPLATE_NOT_FOUND: {
813
- readonly code: "CT004";
814
- readonly message: "Category template not found";
815
- readonly httpCode: 404;
816
- };
817
- readonly CATEGORY_TEMPLATE_FETCH_FAILED: {
818
- readonly code: "CT005";
819
- readonly message: "Error when retrieving a category template";
820
- readonly httpCode: 500;
821
- };
822
- readonly PRODUCT_IMAGE_TEMPLATE_NOT_CREATED: {
823
- readonly code: "PIT001";
824
- readonly message: "Failed to create product image template";
825
- readonly httpCode: 500;
826
- };
827
- readonly PRODUCT_IMAGE_TEMPLATE_NOT_DELETED: {
828
- readonly code: "PIT002";
829
- readonly message: "Failed to delete product image template";
830
- readonly httpCode: 500;
831
- };
832
- readonly PRODUCT_IMAGE_TEMPLATE_NOT_UPDATED: {
833
- readonly code: "PIT003";
834
- readonly message: "Failed to update product image template";
835
- readonly httpCode: 500;
836
- };
837
- readonly PRODUCT_IMAGE_TEMPLATE_NOT_FOUND: {
838
- readonly code: "PIT004";
839
- readonly message: "Product image template not found";
840
- readonly httpCode: 404;
841
- };
842
- readonly PRODUCT_IMAGE_TEMPLATE_FETCH_FAILED: {
843
- readonly code: "PIT005";
844
- readonly message: "Error when retrieving a product image template";
845
- readonly httpCode: 500;
846
- };
847
- readonly PRODUCT_IMAGE_TEMPLATE_SYNC_FAILED: {
848
- readonly code: "PIT006";
849
- readonly message: "Error when sync product image template";
850
- readonly httpCode: 500;
851
- };
852
- readonly PRODUCT_IMAGE_GROUP_NOT_DELETED: {
853
- readonly code: "PIT007";
854
- readonly message: "Product image group not deleted";
855
- readonly httpCode: 500;
856
- };
857
- readonly PRODUCT_IMAGE_GROUP_NOT_UPDATED: {
858
- readonly code: "PIT008";
859
- readonly message: "Product image group not updated";
860
- readonly httpCode: 500;
861
- };
862
- readonly WRITE_OFF_NOT_CREATED: {
863
- readonly code: "W001";
864
- readonly message: "Failed to create write off";
865
- readonly httpCode: 500;
866
- };
867
- readonly WRITE_OFF_FETCH_FAILED: {
868
- readonly code: "W002";
869
- readonly message: "Error when retrieving a write off";
870
- readonly httpCode: 500;
871
- };
872
- readonly WRITE_OFF_NOT_FOUND: {
873
- readonly code: "W003";
874
- readonly message: "Write off not founded";
875
- readonly httpCode: 404;
876
- };
877
- readonly WRITE_OFF_NOT_DELETED: {
878
- readonly code: "W004";
879
- readonly message: "Write off not deleted";
880
- readonly httpCode: 500;
881
- };
882
- readonly WRITE_OFF_NOT_UPDATED: {
883
- readonly code: "W005";
884
- readonly message: "Write off not updated";
885
- readonly httpCode: 500;
886
- };
887
- readonly WRITE_OFF_IMAGE_NOT_CREATED: {
888
- readonly code: "W006";
889
- readonly message: "Failed to create write off image";
890
- readonly httpCode: 500;
891
- };
892
- readonly WRITE_OFF_IMAGE_NOT_DELETED: {
893
- readonly code: "W007";
894
- readonly message: "Write off image not deleted";
895
- readonly httpCode: 500;
896
- };
897
- readonly WRITE_OFF_REASONS_FETCH_FAILED: {
898
- readonly code: "W008";
899
- readonly message: "Error when retrieving a write off reason list";
900
- readonly httpCode: 500;
901
- };
902
- readonly WRITE_OFF_INSUFFICIENT_PRODUCT_BALANCE: {
903
- readonly code: "W009";
904
- readonly message: "Insufficient product balance when creating a write-off for the product";
905
- readonly httpCode: 500;
906
- };
907
- readonly WRITE_OFF_INSUFFICIENT_ORDER_PRODUCT_BALANCE: {
908
- readonly code: "W010";
909
- readonly message: "Insufficient order-product balance when creating a write-off from order";
910
- readonly httpCode: 500;
911
- };
912
- readonly WRITE_OFF_MUST_BE_PENDING: {
913
- readonly code: "W011";
914
- readonly message: "To create a write-off, the status must be PENDING.";
915
- readonly httpCode: 500;
916
- };
917
- readonly WRITE_OFF_SUM_NOT_FETCHED: {
918
- readonly code: "W012";
919
- readonly message: "Write-off sum not fetched";
920
- readonly httpCode: 500;
921
- };
922
- readonly WRITE_OFF_IMAGE_FETCH_FAILED: {
923
- readonly code: "W013";
924
- readonly message: "Error when retrieving a write-off-image";
925
- readonly httpCode: 500;
926
- };
927
- readonly WRITE_OFF_ARCHIVE_TOTAL_SIZE_EXCEEDED: {
928
- readonly code: "W014";
929
- readonly message: "Total size of write-off archive exceeded";
930
- readonly httpCode: 500;
931
- };
932
- readonly ORDER_NOT_CREATED: {
933
- readonly code: "O001";
934
- readonly message: "Failed to create order";
935
- readonly httpCode: 500;
936
- };
937
- readonly ORDER_FETCH_FAILED: {
938
- readonly code: "O002";
939
- readonly message: "Error when retrieving a order";
940
- readonly httpCode: 500;
941
- };
942
- readonly ORDER_NOT_FOUND: {
943
- readonly code: "O003";
944
- readonly message: "Order not found";
945
- readonly httpCode: 404;
946
- };
947
- readonly ORDER_NOT_DELETED: {
948
- readonly code: "O004";
949
- readonly message: "Order not deleted";
950
- readonly httpCode: 500;
951
- };
952
- readonly ORDER_NOT_UPDATED: {
953
- readonly code: "O005";
954
- readonly message: "Order not updated";
955
- readonly httpCode: 500;
956
- };
957
- readonly ORDER_NOT_COPIED: {
958
- readonly code: "O006";
959
- readonly message: "Order not copied";
960
- readonly httpCode: 500;
961
- };
962
- readonly ORDER_GROUP_NOT_UPDATED: {
963
- readonly code: "O007";
964
- readonly message: "Order group not updated";
965
- readonly httpCode: 500;
966
- };
967
- readonly ORDER_GROUP_NOT_DELETED: {
968
- readonly code: "O008";
969
- readonly message: "Order group not deleted";
970
- readonly httpCode: 500;
971
- };
972
- readonly ORDER_EXPORT_INVOICE_FAILED: {
973
- readonly code: "O009";
974
- readonly message: "Order export invoice failed";
975
- readonly httpCode: 500;
976
- };
977
- readonly ORDER_SEND_INVOICE_FAILED: {
978
- readonly code: "O010";
979
- readonly message: "Order send invoice failed";
980
- readonly httpCode: 500;
981
- };
982
- readonly CART_NOT_FOUND: {
983
- readonly code: "O011";
984
- readonly message: "Cart not found";
985
- readonly httpCode: 404;
986
- };
987
- readonly CART_ALREADY_EXIST: {
988
- readonly code: "O012";
989
- readonly message: "Cart already exist";
990
- readonly httpCode: 409;
991
- };
992
- readonly CART_NOT_DELETED: {
993
- readonly code: "O013";
994
- readonly message: "Cart not deleted";
995
- readonly httpCode: 500;
996
- };
997
- readonly ORDER_SEND_INVOICE_FAILED_NO_EMAIL: {
998
- readonly code: "O014";
999
- readonly message: "Order send invoice failed, client does not have email";
1000
- readonly httpCode: 500;
1001
- };
1002
- readonly ORDER_SEND_INVOICE_FAILED_NO_PHONE: {
1003
- readonly code: "O017";
1004
- readonly message: "Order send invoice failed, client does not have phone";
1005
- readonly httpCode: 500;
1006
- };
1007
- readonly ORDER_SEND_INVOICE_FAILED_NO_CONTACTS: {
1008
- readonly code: "O025";
1009
- readonly message: "Order send invoice failed, client does not have contact methods";
1010
- readonly httpCode: 500;
1011
- };
1012
- readonly ORDER_MODIFY_NOT_ALLOWED: {
1013
- readonly code: "O018";
1014
- readonly message: "Modifying the order is not allowed";
1015
- readonly httpCode: 500;
1016
- };
1017
- readonly ORDER_SPLIT_ERROR: {
1018
- readonly code: "O015";
1019
- readonly message: "Error splitting orders";
1020
- readonly httpCode: 500;
1021
- };
1022
- readonly ORDER_PAYMENT_NOT_EMPTY: {
1023
- readonly code: "O016";
1024
- readonly message: "Order not deleted, the order contains payments";
1025
- readonly httpCode: 400;
1026
- };
1027
- readonly ORDER_SPLIT_NOT_COMPLETELY_ERROR: {
1028
- readonly code: "O019";
1029
- readonly message: "Error splitting orders, not all orders were split";
1030
- readonly httpCode: 500;
1031
- };
1032
- readonly ORDER_TOTAL_COST_NEGATIVE: {
1033
- readonly code: "O020";
1034
- readonly message: "Order total cost is negative";
1035
- readonly httpCode: 400;
1036
- };
1037
- readonly ORDER_SUBTOTAL_NEGATIVE: {
1038
- readonly code: "O021";
1039
- readonly message: "Order subtotal is negative";
1040
- readonly httpCode: 400;
1041
- };
1042
- readonly ORDER_DELIVERY_COST_NEGATIVE: {
1043
- readonly code: "O022";
1044
- readonly message: "Order delivery cost is negative";
1045
- readonly httpCode: 400;
1046
- };
1047
- readonly ORDER_TOTAL_QUANTITY_NEGATIVE: {
1048
- readonly code: "O023";
1049
- readonly message: "Order total quantity is negative";
1050
- readonly httpCode: 400;
1051
- };
1052
- readonly ORDER_VALUE_NEGATIVE: {
1053
- readonly code: "O024";
1054
- readonly message: "Order value is negative";
1055
- readonly httpCode: 400;
1056
- };
1057
- readonly ORDER_DELIVERY_ALREADY_EXIST: {
1058
- readonly code: "OD006";
1059
- readonly message: "Delivery for the order already exists";
1060
- readonly httpCode: 409;
1061
- };
1062
- readonly ORDER_DELIVERY_NOT_CREATED: {
1063
- readonly code: "OD007";
1064
- readonly message: "Failed to create order delivery";
1065
- readonly httpCode: 500;
1066
- };
1067
- readonly ORDER_DELIVERY_NOT_UPDATED: {
1068
- readonly code: "OD008";
1069
- readonly message: "Failed to update order delivery";
1070
- readonly httpCode: 500;
1071
- };
1072
- readonly ORDER_DELIVERY_NOT_DELETED: {
1073
- readonly code: "OD009";
1074
- readonly message: "Failed to delete order delivery";
1075
- readonly httpCode: 500;
1076
- };
1077
- readonly ORDER_DELIVERY_NOT_EXIST: {
1078
- readonly code: "OD010";
1079
- readonly message: "Order delivery not exist";
1080
- readonly httpCode: 400;
1081
- };
1082
- readonly ORDER_DELIVERY_FETCH_FAILED: {
1083
- readonly code: "OD011";
1084
- readonly message: "Order delivery fetch failed";
1085
- readonly httpCode: 500;
1086
- };
1087
- readonly ORDER_PRODUCT_NOT_CREATED: {
1088
- readonly code: "OP001";
1089
- readonly message: "Failed to create product in order";
1090
- readonly httpCode: 500;
1091
- };
1092
- readonly ORDER_PRODUCT_FETCH_FAILED: {
1093
- readonly code: "OP002";
1094
- readonly message: "Error when retrieving a product in order";
1095
- readonly httpCode: 500;
1096
- };
1097
- readonly ORDER_PRODUCT_NOT_FOUND: {
1098
- readonly code: "OP003";
1099
- readonly message: "Product in order not found";
1100
- readonly httpCode: 404;
1101
- };
1102
- readonly ORDER_PRODUCT_NOT_DELETED: {
1103
- readonly code: "OP004";
1104
- readonly message: "Product in order not deleted";
1105
- readonly httpCode: 500;
1106
- };
1107
- readonly ORDER_PRODUCT_NOT_UPDATED: {
1108
- readonly code: "OP005";
1109
- readonly message: "Product in order not updated";
1110
- readonly httpCode: 500;
1111
- };
1112
- readonly ORDER_PRODUCT_VALIDATION_FAILED: {
1113
- readonly code: "OP006";
1114
- readonly message: "Validation error for product in order";
1115
- readonly httpCode: 500;
1116
- };
1117
- readonly ORDER_PRODUCT_GROUP_NOT_UPDATED: {
1118
- readonly code: "OP007";
1119
- readonly message: "Group of product in order not updated";
1120
- readonly httpCode: 500;
1121
- };
1122
- readonly ORDER_PRODUCT_GROUP_NOT_DELETED: {
1123
- readonly code: "OP008";
1124
- readonly message: "Group of product in order not deleted";
1125
- readonly httpCode: 500;
1126
- };
1127
- readonly ORDER_PRODUCT_MODIFY_NOT_ALLOWED: {
1128
- readonly code: "OP009";
1129
- readonly message: "Modifying the product is not allowed";
1130
- readonly httpCode: 500;
1131
- };
1132
- readonly ORDER_PRODUCT_MOVE_ERROR: {
1133
- readonly code: "OP010";
1134
- readonly message: "The transfer of the product failed; an error occurred during the process";
1135
- readonly httpCode: 500;
1136
- };
1137
- readonly ORDER_PRODUCT_NOT_EXPORTED: {
1138
- readonly code: "OP011";
1139
- readonly message: "The export of the product failed; an error occurred during the process";
1140
- readonly httpCode: 500;
1141
- };
1142
- readonly ORDER_PRODUCT_PRICE_NEGATIVE: {
1143
- readonly code: "OP012";
1144
- readonly message: "The price of the product is negative";
1145
- readonly httpCode: 500;
1146
- };
1147
- readonly ORDER_PRODUCT_INSUFFICIENT_BALANCE: {
1148
- readonly code: "OP013";
1149
- readonly message: "Insufficient product balance when creating a order product";
1150
- readonly httpCode: 500;
1151
- };
1152
- readonly ORDER_PRODUCT_NOT_DELETED_WRITE_OFF: {
1153
- readonly code: "OP014";
1154
- readonly message: "The product is not deleted, because it has write-off";
1155
- readonly httpCode: 500;
1156
- };
1157
- readonly TRANSACTION_NOT_CREATED: {
1158
- readonly code: "TR001";
1159
- readonly message: "Failed to transaction product";
1160
- readonly httpCode: 500;
1161
- };
1162
- readonly TRANSACTION_FETCH_FAILED: {
1163
- readonly code: "TR002";
1164
- readonly message: "Error when retrieving a transaction";
1165
- readonly httpCode: 500;
1166
- };
1167
- readonly TRANSACTION_NOT_FOUND: {
1168
- readonly code: "TR003";
1169
- readonly message: "Transaction not founded";
1170
- readonly httpCode: 404;
1171
- };
1172
- readonly TRANSACTIONS_NOT_FOUND: {
1173
- readonly code: "TR004";
1174
- readonly message: "Transactions not founded";
1175
- readonly httpCode: 404;
1176
- };
1177
- readonly TRANSACTION_NOT_DELETED: {
1178
- readonly code: "TR005";
1179
- readonly message: "Transaction not deleted";
1180
- readonly httpCode: 500;
1181
- };
1182
- readonly TRANSACTION_NOT_UPDATED: {
1183
- readonly code: "TR006";
1184
- readonly message: "Transaction not updated";
1185
- readonly httpCode: 500;
1186
- };
1187
- readonly TRANSACTIONS_EXPORT_FAILED: {
1188
- readonly code: "TR007";
1189
- readonly message: "Transactions export failed";
1190
- readonly httpCode: 500;
1191
- };
1192
- readonly TRANSACTION_COUNT_BY_CRITERIA_FAILED: {
1193
- readonly code: "TR008";
1194
- readonly message: "Failed to count transactions by criteria";
1195
- readonly httpCode: 500;
1196
- };
1197
- readonly TRANSACTION_FETCH_SUM_FAILED: {
1198
- readonly code: "TR009";
1199
- readonly message: "Failed get sum transaction";
1200
- readonly httpCode: 500;
1201
- };
1202
- readonly TRANSACTION_AMOUNT_NEGATIVE: {
1203
- readonly code: "TR010";
1204
- readonly message: "Transaction amount is negative";
1205
- readonly httpCode: 400;
1206
- };
1207
- readonly EXCEL_CREATE_FAILED: {
1208
- readonly code: "E001";
1209
- readonly message: "Failed to create excel";
1210
- readonly httpCode: 500;
1211
- };
1212
- readonly EXCEL_GET_DATA_BY_BUFFER_FAILED: {
1213
- readonly code: "E002";
1214
- readonly message: "Failed to get buffer";
1215
- readonly httpCode: 500;
1216
- };
1217
- readonly EXCEL_FAILED_TO_PARSE: {
1218
- readonly code: "E003";
1219
- readonly message: "Failed to parse excel";
1220
- readonly httpCode: 400;
1221
- };
1222
- readonly CATEGORY_ALREADY_EXIST: {
1223
- readonly code: "CA008";
1224
- readonly message: "Category with this name already exist";
1225
- readonly httpCode: 409;
1226
- };
1227
- readonly CATEGORY_NOT_CREATED: {
1228
- readonly code: "CA009";
1229
- readonly message: "Failed to create category";
1230
- readonly httpCode: 500;
1231
- };
1232
- readonly CATEGORY_NOT_FOUND: {
1233
- readonly code: "CA010";
1234
- readonly message: "Category with this relation not found";
1235
- readonly httpCode: 404;
1236
- };
1237
- readonly CATEGORY_NOT_DELETED: {
1238
- readonly code: "CA011";
1239
- readonly message: "Failed to delete category";
1240
- readonly httpCode: 500;
1241
- };
1242
- readonly CATEGORY_NOT_GET_BY_UUID: {
1243
- readonly code: "CA012";
1244
- readonly message: "Failed to get category by uuid";
1245
- readonly httpCode: 500;
1246
- };
1247
- readonly CATEGORY_FETCH_FAILED: {
1248
- readonly code: "CA013";
1249
- readonly message: "Error when retrieving a list of categories";
1250
- readonly httpCode: 500;
1251
- };
1252
- readonly CATEGORY_NOT_UPDATED: {
1253
- readonly code: "CA014";
1254
- readonly message: "Failed to update category";
1255
- readonly httpCode: 500;
1256
- };
1257
- readonly CATEGORY_CREATE_MANY_FAILED: {
1258
- readonly code: "CA015";
1259
- readonly message: "Failed to create many categories";
1260
- readonly httpCode: 500;
1261
- };
1262
- readonly CATEGORY_USE_IN_PRODUCT: {
1263
- readonly code: "CA016";
1264
- readonly message: "Category use in product";
1265
- readonly httpCode: 500;
1266
- };
1267
- readonly ALIAS_NOT_CREATED: {
1268
- readonly code: "AL009";
1269
- readonly message: "Failed to create category-category-category-alias";
1270
- readonly httpCode: 500;
1271
- };
1272
- readonly ALIAS_NOT_FOUND: {
1273
- readonly code: "AL010";
1274
- readonly message: "Alias with this relation not found";
1275
- readonly httpCode: 404;
1276
- };
1277
- readonly ALIAS_NOT_DELETED: {
1278
- readonly code: "AL011";
1279
- readonly message: "Failed to delete category-category-category-alias";
1280
- readonly httpCode: 500;
1281
- };
1282
- readonly ALIAS_NOT_UPDATED: {
1283
- readonly code: "AL012";
1284
- readonly message: "Failed to update category-category-category-alias";
1285
- readonly httpCode: 500;
1286
- };
1287
- readonly ALIAS_NOT_GET_BY_UUID: {
1288
- readonly code: "AL013";
1289
- readonly message: "Failed to get category-category-category-alias by uuid";
1290
- readonly httpCode: 500;
1291
- };
1292
- readonly ALIAS_NOT_GET_BY_CATEGORY_UUID: {
1293
- readonly code: "AL014";
1294
- readonly message: "Failed to get category-category-category-alias by category uuid";
1295
- readonly httpCode: 500;
1296
- };
1297
- readonly ALIAS_BY_CRITERIA_FETCH_FAILED: {
1298
- readonly code: "AL015";
1299
- readonly message: "Error when retrieving a category-alias by criteria";
1300
- readonly httpCode: 500;
1301
- };
1302
- readonly ALIAS_FETCH_FAILED: {
1303
- readonly code: "AL016";
1304
- readonly message: "Error when retrieving a list of category-alias";
1305
- readonly httpCode: 500;
1306
- };
1307
- readonly ALIAS_WITH_SAME_NAME_ALREADY_EXISTS: {
1308
- readonly code: "AL017";
1309
- readonly message: "Alias with this name already exist";
1310
- readonly httpCode: 400;
1311
- };
1312
- readonly TYPE_NOT_CREATED: {
1313
- readonly code: "T009";
1314
- readonly message: "Failed to create type";
1315
- readonly httpCode: 500;
1316
- };
1317
- readonly TYPE_NOT_FOUND: {
1318
- readonly code: "T010";
1319
- readonly message: "Type with this relation not found";
1320
- readonly httpCode: 404;
1321
- };
1322
- readonly TYPE_NOT_DELETED: {
1323
- readonly code: "T011";
1324
- readonly message: "Failed to delete type";
1325
- readonly httpCode: 500;
1326
- };
1327
- readonly TYPE_NOT_GET_BY_UUID: {
1328
- readonly code: "T012";
1329
- readonly message: "Failed to get type by uuid";
1330
- readonly httpCode: 500;
1331
- };
1332
- readonly TYPE_FETCH_FAILED: {
1333
- readonly code: "T013";
1334
- readonly message: "Error when retrieving a list of types";
1335
- readonly httpCode: 500;
1336
- };
1337
- readonly TYPE_NOT_UPDATED: {
1338
- readonly code: "T014";
1339
- readonly message: "Failed to update type";
1340
- readonly httpCode: 500;
1341
- };
1342
- readonly TYPE_NOT_CREATED_MANY: {
1343
- readonly code: "T015";
1344
- readonly message: "Failed to create types";
1345
- readonly httpCode: 500;
1346
- };
1347
- readonly TYPE_HAS_CATEGORY: {
1348
- readonly code: "T016";
1349
- readonly message: "Type has category";
1350
- readonly httpCode: 400;
1351
- };
1352
- readonly FILE_NOT_FOUND: {
1353
- readonly code: "F001";
1354
- readonly message: "File not found";
1355
- readonly httpCode: 404;
1356
- };
1357
- readonly FILE_NOT_UPLOADED: {
1358
- readonly code: "F002";
1359
- readonly message: "File not uploaded";
1360
- readonly httpCode: 500;
1361
- };
1362
- readonly FILE_NOT_DELETED: {
1363
- readonly code: "F003";
1364
- readonly message: "File not deleted";
1365
- readonly httpCode: 500;
1366
- };
1367
- readonly FILE_SIZE_LIMIT_EXCEEDED: {
1368
- readonly code: "F004";
1369
- readonly message: "File size limit exceeded";
1370
- readonly httpCode: 400;
1371
- };
1372
- readonly FILE_GET_INFO_FAILED: {
1373
- readonly code: "F005";
1374
- readonly message: "Failed to get file info";
1375
- readonly httpCode: 500;
1376
- };
1377
- readonly WHATSAPP_TEXT_NOT_SENT: {
1378
- readonly code: "W001";
1379
- readonly message: "Failed to send text message";
1380
- readonly httpCode: 500;
1381
- };
1382
- readonly WHATSAPP_FILE_NOT_SENT: {
1383
- readonly code: "W002";
1384
- readonly message: "Failed to send file message";
1385
- readonly httpCode: 500;
1386
- };
1387
- readonly WHATSAPP_FETCH_FAILED_NOTIFICATIONS: {
1388
- readonly code: "W003";
1389
- readonly message: "Failed to fetch notifications";
1390
- readonly httpCode: 500;
1391
- };
1392
- readonly WHATSAPP_PHONE_NOT_FOUND: {
1393
- readonly code: "W004";
1394
- readonly message: "Phone number not found or invalid";
1395
- readonly httpCode: 400;
1396
- };
1397
- readonly WHATSAPP_STATUS_CHECK_FAILED: {
1398
- readonly code: "W005";
1399
- readonly message: "Failed to check WhatsApp message status";
1400
- readonly httpCode: 500;
1401
- };
1402
- readonly WHATSAPP_MESSAGE_NOT_FOUND: {
1403
- readonly code: "W006";
1404
- readonly message: "Message not found in notification";
1405
- readonly httpCode: 400;
1406
- };
1407
- readonly PACKAGE_NOT_CREATED: {
1408
- readonly code: "PA001";
1409
- readonly message: "Failed to create package";
1410
- readonly httpCode: 500;
1411
- };
1412
- readonly PACKAGE_NOT_DELETED: {
1413
- readonly code: "PA002";
1414
- readonly message: "Failed to delete package";
1415
- readonly httpCode: 500;
1416
- };
1417
- readonly PACKAGE_NOT_UPDATED: {
1418
- readonly code: "PA003";
1419
- readonly message: "Failed to update package";
1420
- readonly httpCode: 500;
1421
- };
1422
- readonly PACKAGE_NOT_FOUND: {
1423
- readonly code: "PA004";
1424
- readonly message: "The package with the specified UUID was not found";
1425
- readonly httpCode: 404;
1426
- };
1427
- readonly PACKAGE_FETCH_FAILED: {
1428
- readonly code: "PA006";
1429
- readonly message: "Error when retrieving a list of packages";
1430
- readonly httpCode: 500;
1431
- };
1432
- readonly PACKAGE_NOT_CREATED_MANY: {
1433
- readonly code: "PA007";
1434
- readonly message: "Failed to create many packages";
1435
- readonly httpCode: 500;
1436
- };
1437
- readonly PACKAGE_NOT_VALIDATED: {
1438
- readonly code: "PA008";
1439
- readonly message: "The package not validated";
1440
- readonly httpCode: 500;
1441
- };
1442
- readonly PACKAGE_NOT_REORDERED: {
1443
- readonly code: "PA009";
1444
- readonly message: "The package not reordered";
1445
- readonly httpCode: 500;
1446
- };
1447
- readonly PRODUCT_IN_PACKAGE_NOT_CREATED: {
1448
- readonly code: "PIP001";
1449
- readonly message: "Failed to create product in package";
1450
- readonly httpCode: 500;
1451
- };
1452
- readonly PRODUCT_IN_PACKAGE_NOT_DELETED: {
1453
- readonly code: "PIP002";
1454
- readonly message: "Failed to delete product in package";
1455
- readonly httpCode: 500;
1456
- };
1457
- readonly PRODUCT_IN_PACKAGE_NOT_UPDATED: {
1458
- readonly code: "PIP003";
1459
- readonly message: "Failed to update product in package";
1460
- readonly httpCode: 500;
1461
- };
1462
- readonly PRODUCT_IN_PACKAGE_NOT_FOUND: {
1463
- readonly code: "PIP004";
1464
- readonly message: "The product in package with the specified UUID was not found";
1465
- readonly httpCode: 404;
1466
- };
1467
- readonly PRODUCT_IN_PACKAGE_FETCH_FAILED: {
1468
- readonly code: "PIP006";
1469
- readonly message: "Error when retrieving a list of products in package";
1470
- readonly httpCode: 500;
1471
- };
1472
- readonly PRODUCT_IN_PACKAGE_NOT_CREATED_MANY: {
1473
- readonly code: "PIP007";
1474
- readonly message: "Failed to create many products in package";
1475
- readonly httpCode: 500;
1476
- };
1477
- readonly PRODUCT_IN_PACKAGE_NOT_DELETE_ORDER_PRODUCT: {
1478
- readonly code: "PIP008";
1479
- readonly message: "Failed to delete order product in package";
1480
- readonly httpCode: 500;
1481
- };
1482
- readonly PRODUCT_IN_PACKAGE_NOT_DELETE_ORDER_PRODUCT_NEGATIVE_BALANCE: {
1483
- readonly code: "PIP009";
1484
- readonly message: "Failed to delete order product in package, negative balance";
1485
- readonly httpCode: 500;
1486
- };
1487
- readonly DISTRIBUTION_NOT_CREATED: {
1488
- readonly code: "DIS001";
1489
- readonly message: "Failed to create distribution";
1490
- readonly httpCode: 500;
1491
- };
1492
- readonly DISTRIBUTION_NOT_CREATED_MANY: {
1493
- readonly code: "DIS002";
1494
- readonly message: "Failed to create distributions";
1495
- readonly httpCode: 500;
1496
- };
1497
- readonly DISTRIBUTION_NOT_DELETED: {
1498
- readonly code: "DIS003";
1499
- readonly message: "Failed to delete distribution";
1500
- readonly httpCode: 500;
1501
- };
1502
- readonly DISTRIBUTION_NOT_UPDATED: {
1503
- readonly code: "DIS004";
1504
- readonly message: "Failed to update distribution";
1505
- readonly httpCode: 500;
1506
- };
1507
- readonly DISTRIBUTION_NOT_FOUND: {
1508
- readonly code: "DIS005";
1509
- readonly message: "The distribution with the specified UUID was not found";
1510
- readonly httpCode: 404;
1511
- };
1512
- readonly DISTRIBUTION_FETCH_FAILED: {
1513
- readonly code: "DIS006";
1514
- readonly message: "Error when retrieving a list of distributions";
1515
- readonly httpCode: 500;
1516
- };
1517
- readonly DISTRIBUTION_NOT_CREATED_INSUFFICIENT_QUANTITY: {
1518
- readonly code: "DIS007";
1519
- readonly message: "Failed to create distribution, insufficient quantity in package";
1520
- readonly httpCode: 400;
1521
- };
1522
- readonly DISTRIBUTION_NOT_CREATED_ORDER_PRODUCT_DISTRIBUTED: {
1523
- readonly code: "DIS008";
1524
- readonly message: "Failed to create distribution, order product already distributed";
1525
- readonly httpCode: 400;
1526
- };
1527
- readonly DISTRIBUTION_NOT_VALIDATED: {
1528
- readonly code: "DIS009";
1529
- readonly message: "Failed to validate distribution";
1530
- readonly httpCode: 500;
1531
- };
1532
- readonly DISTRIBUTION_EXPORT_FAILED: {
1533
- readonly code: "DIS010";
1534
- readonly message: "Failed to export distribution";
1535
- readonly httpCode: 500;
1536
- };
1537
- readonly PRE_ORDER_NOT_CREATED: {
1538
- readonly code: "PO001";
1539
- readonly message: "Failed to create pre order";
1540
- readonly httpCode: 500;
1541
- };
1542
- readonly PRE_ORDER_NOT_DELETED: {
1543
- readonly code: "PO002";
1544
- readonly message: "Failed to delete pre order";
1545
- readonly httpCode: 500;
1546
- };
1547
- readonly PRE_ORDER_MANY_NOT_DELETED: {
1548
- readonly code: "PO002";
1549
- readonly message: "Failed to delete pre orders";
1550
- readonly httpCode: 500;
1551
- };
1552
- readonly PRE_ORDER_NOT_UPDATED: {
1553
- readonly code: "PO003";
1554
- readonly message: "Failed to update pre order";
1555
- readonly httpCode: 500;
1556
- };
1557
- readonly PRE_ORDER_NOT_FOUND: {
1558
- readonly code: "PO004";
1559
- readonly message: "The pre order with the specified UUID was not found";
1560
- readonly httpCode: 404;
1561
- };
1562
- readonly PRE_ORDER_FETCH_FAILED: {
1563
- readonly code: "PO006";
1564
- readonly message: "Error when retrieving a list of pre orders";
1565
- readonly httpCode: 500;
1566
- };
1567
- readonly PRE_ORDER_ALREADY_EXIST: {
1568
- readonly code: "PO007";
1569
- readonly message: "Pre order with this name already exist";
1570
- readonly httpCode: 409;
1571
- };
1572
- readonly PRE_ORDER_INVALID_STATUS: {
1573
- readonly code: "PO008";
1574
- readonly message: "Invalid pre order status";
1575
- readonly httpCode: 400;
1576
- };
1577
- readonly PRE_ORDER_FROM_STANDING_ORDER_FAILED: {
1578
- readonly code: "PO009";
1579
- readonly message: "Failed to create pre order from standing order";
1580
- readonly httpCode: 500;
1581
- };
1582
- readonly PRE_ORDER_NOT_FOUND_FULL_BY_UUID_LIST: {
1583
- readonly code: "PO010";
1584
- readonly message: "The pre order with the specified UUID list was not found or not full";
1585
- readonly httpCode: 404;
1586
- };
1587
- readonly PRE_ORDER_COPY_ANALYSIS_FAILED: {
1588
- readonly code: "PO011";
1589
- readonly message: "Failed to analyze copy pre order";
1590
- readonly httpCode: 500;
1591
- };
1592
- readonly PRE_ORDER_COPY_FAILED: {
1593
- readonly code: "PO012";
1594
- readonly message: "Failed to copy pre order";
1595
- readonly httpCode: 500;
1596
- };
1597
- readonly STANDING_ORDER_CLIENT_NAME_REQUIRED: {
1598
- readonly code: "SO001";
1599
- readonly message: "Standing order client name is required";
1600
- readonly httpCode: 400;
1601
- };
1602
- readonly STANDING_ORDER_CATEGORY_REQUIRED: {
1603
- readonly code: "SO002";
1604
- readonly message: "Standing order category is required";
1605
- readonly httpCode: 400;
1606
- };
1607
- readonly STANDING_ORDER_NAME_REQUIRED: {
1608
- readonly code: "SO003";
1609
- readonly message: "Standing order name is required";
1610
- readonly httpCode: 400;
1611
- };
1612
- readonly STANDING_ORDER_QUANTITY_REQUIRED: {
1613
- readonly code: "SO004";
1614
- readonly message: "Standing order quantity is required";
1615
- readonly httpCode: 400;
1616
- };
1617
- readonly PRE_ORDER_INVALID_COLLECTION: {
1618
- readonly code: "PO013";
1619
- readonly message: "Pre order invalid collection";
1620
- readonly httpCode: 400;
1621
- };
1622
- readonly PRE_ORDER_PRODUCT_NOT_CREATED: {
1623
- readonly code: "POP001";
1624
- readonly message: "Failed to create pre order product";
1625
- readonly httpCode: 500;
1626
- };
1627
- readonly PRE_ORDER_PRODUCT_NOT_DELETED: {
1628
- readonly code: "POP002";
1629
- readonly message: "Failed to delete pre order product";
1630
- readonly httpCode: 500;
1631
- };
1632
- readonly PRE_ORDER_PRODUCT_NOT_UPDATED: {
1633
- readonly code: "POP003";
1634
- readonly message: "Failed to update pre order product";
1635
- readonly httpCode: 500;
1636
- };
1637
- readonly PRE_ORDER_PRODUCT_NOT_FOUND: {
1638
- readonly code: "POP004";
1639
- readonly message: "The pre order product with the specified UUID was not found";
1640
- readonly httpCode: 404;
1641
- };
1642
- readonly PRE_ORDER_PRODUCT_FETCH_FAILED: {
1643
- readonly code: "POP005";
1644
- readonly message: "Error when retrieving a list of pre order products";
1645
- readonly httpCode: 500;
1646
- };
1647
- readonly PRE_ORDER_PRODUCT_UPDATE_MANY_BY_PRE_ORDER_COLLECTION_ITEM_FAILED: {
1648
- readonly code: "POP006";
1649
- readonly message: "Failed to update many pre order products by pre order collection item";
1650
- readonly httpCode: 500;
1651
- };
1652
- readonly PRE_ORDER_PRODUCT_NEGATIVE_QUANTITY: {
1653
- readonly code: "POP007";
1654
- readonly message: "Pre order product quantity is negative";
1655
- readonly httpCode: 400;
1656
- };
1657
- readonly PRE_ORDER_PRODUCT_NAME_REQUIRED: {
1658
- readonly code: "POP008";
1659
- readonly message: "Pre order product name is required";
1660
- readonly httpCode: 400;
1661
- };
1662
- readonly PRE_ORDER_COLLECTION_NOT_CREATED: {
1663
- readonly code: "POC001";
1664
- readonly message: "Failed to create pre order collection";
1665
- readonly httpCode: 500;
1666
- };
1667
- readonly PRE_ORDER_COLLECTION_NOT_DELETED: {
1668
- readonly code: "POC002";
1669
- readonly message: "Failed to delete pre order collection";
1670
- readonly httpCode: 500;
1671
- };
1672
- readonly PRE_ORDER_COLLECTION_NOT_UPDATED: {
1673
- readonly code: "POC003";
1674
- readonly message: "Failed to update pre order collection";
1675
- readonly httpCode: 500;
1676
- };
1677
- readonly PRE_ORDER_COLLECTION_NOT_FOUND: {
1678
- readonly code: "POC004";
1679
- readonly message: "The pre order collection with the specified UUID was not found";
1680
- readonly httpCode: 404;
1681
- };
1682
- readonly PRE_ORDER_COLLECTION_FETCH_FAILED: {
1683
- readonly code: "POC006";
1684
- readonly message: "Error when retrieving a list of pre order collections";
1685
- readonly httpCode: 500;
1686
- };
1687
- readonly PRE_ORDER_COLLECTION_ALREADY_EXIST: {
1688
- readonly code: "POC007";
1689
- readonly message: "Pre order collection with this name already exist";
1690
- readonly httpCode: 409;
1691
- };
1692
- readonly PRE_ORDER_COLLECTION_COPY_FAILED: {
1693
- readonly code: "POC008";
1694
- readonly message: "Failed to copy pre order collection";
1695
- readonly httpCode: 500;
1696
- };
1697
- readonly PRE_ORDER_COLLECTION_WITH_CATEGORIES_FETCH_FAILED: {
1698
- readonly code: "POC009";
1699
- readonly message: "Error when retrieving a list of pre order collections with categories";
1700
- readonly httpCode: 500;
1701
- };
1702
- readonly PRE_ORDER_COLLECTION_ACCESS_DENIED: {
1703
- readonly code: "POC010";
1704
- readonly message: "Access to pre-order collection denied";
1705
- readonly httpCode: 403;
1706
- };
1707
- readonly PRE_ORDER_COLLECTION_HAS_PRE_ORDERS: {
1708
- readonly code: "POC011";
1709
- readonly message: "Cannot delete pre-order collection with existing pre-orders";
1710
- readonly httpCode: 400;
1711
- };
1712
- readonly PRE_ORDER_COLLECTION_IMAGE_MATCHING_FAILED: {
1713
- readonly code: "POC012";
1714
- readonly message: "Failed to match images for pre order collection";
1715
- readonly httpCode: 500;
1716
- };
1717
- readonly PRE_ORDER_COLLECTION_ITEM_NOT_CREATED: {
1718
- readonly code: "POCI001";
1719
- readonly message: "Failed to create pre order collection item";
1720
- readonly httpCode: 500;
1721
- };
1722
- readonly PRE_ORDER_COLLECTION_ITEM_NOT_DELETED: {
1723
- readonly code: "POCI002";
1724
- readonly message: "Failed to delete pre order collection item";
1725
- readonly httpCode: 500;
1726
- };
1727
- readonly PRE_ORDER_COLLECTION_ITEM_NOT_UPDATED: {
1728
- readonly code: "POCI003";
1729
- readonly message: "Failed to update pre order collection item";
1730
- readonly httpCode: 500;
1731
- };
1732
- readonly PRE_ORDER_COLLECTION_ITEM_NOT_UPDATED_MANY: {
1733
- readonly code: "POCI004";
1734
- readonly message: "Failed to update many pre order collection items";
1735
- readonly httpCode: 500;
1736
- };
1737
- readonly PRE_ORDER_COLLECTION_ITEM_NOT_FOUND: {
1738
- readonly code: "POCI005";
1739
- readonly message: "The pre order collection item with the specified UUID was not found";
1740
- readonly httpCode: 404;
1741
- };
1742
- readonly PRE_ORDER_COLLECTION_ITEM_FETCH_FAILED: {
1743
- readonly code: "POCI006";
1744
- readonly message: "Error when retrieving a list of pre order collection items";
1745
- readonly httpCode: 500;
1746
- };
1747
- readonly PRE_ORDER_COLLECTION_ITEM_ALREADY_EXIST: {
1748
- readonly code: "POCI007";
1749
- readonly message: "Pre order collection item with this name already exist";
1750
- readonly httpCode: 409;
1751
- };
1752
- readonly PRE_ORDER_COLLECTION_ITEM_CREATE_MANY_FAILED: {
1753
- readonly code: "POCI008";
1754
- readonly message: "Failed to create many pre order collection items";
1755
- readonly httpCode: 500;
1756
- };
1757
- readonly PRE_ORDER_COLLECTION_ITEM_INSUFFICIENT_BALANCE: {
1758
- readonly code: "POCI009";
1759
- readonly message: "Insufficient balance in pre order collection item";
1760
- readonly httpCode: 400;
1761
- };
1762
- readonly PRE_ORDER_COLLECTION_ITEM_LIST_FILTER_VALUES_FETCH_FAILED: {
1763
- readonly code: "POCI010";
1764
- readonly message: "Error when retrieving a list of pre order collection item list filter values";
1765
- readonly httpCode: 500;
1766
- };
1767
- readonly PRE_ORDER_COLLECTION_ITEM_FAILED_TO_ENABLE_ALL: {
1768
- readonly code: "POCI011";
1769
- readonly message: "Failed to enable all pre order collection items";
1770
- readonly httpCode: 500;
1771
- };
1772
- readonly PRE_ORDER_COLLECTION_ITEM_FAILED_TO_DISABLE_ALL: {
1773
- readonly code: "POCI012";
1774
- readonly message: "Failed to disable all pre order collection items";
1775
- readonly httpCode: 500;
1776
- };
1777
- readonly PRE_ORDER_COLLECTION_ITEM_GROUP_DELETE_FAILED: {
1778
- readonly code: "POCI013";
1779
- readonly message: "Failed to delete group pre order collection item";
1780
- readonly httpCode: 500;
1781
- };
1782
- readonly PRE_ORDER_COLLECTION_ITEM_GROUP_UPDATE_FAILED: {
1783
- readonly code: "POCI014";
1784
- readonly message: "Failed to update group pre order collection item";
1785
- readonly httpCode: 500;
1786
- };
1787
- readonly PRE_ORDER_COLLECTION_ITEM_IMPORT_FAILED: {
1788
- readonly code: "POCI015";
1789
- readonly message: "Failed to import pre order collection item";
1790
- readonly httpCode: 400;
1791
- };
1792
- readonly PRE_ORDER_COLLECTION_ITEM_HAS_PRE_ORDER_PRODUCT: {
1793
- readonly code: "POCI016";
1794
- readonly message: "Pre order collection item has pre order product";
1795
- readonly httpCode: 400;
1796
- };
1797
- readonly PRE_ORDER_COLLECTION_ITEM_EXPORT_FAILED: {
1798
- readonly code: "POCI017";
1799
- readonly message: "Failed to export pre order collection item";
1800
- readonly httpCode: 500;
1801
- };
1802
- readonly EMPLOYEE_SCHEDULE_NOT_CREATED: {
1803
- readonly code: "ES001";
1804
- readonly message: "Failed to create employee schedule";
1805
- readonly httpCode: 500;
1806
- };
1807
- readonly EMPLOYEE_SCHEDULE_NOT_DELETED: {
1808
- readonly code: "ES002";
1809
- readonly message: "Failed to delete employee schedule";
1810
- readonly httpCode: 500;
1811
- };
1812
- readonly EMPLOYEE_SCHEDULE_NOT_UPDATED: {
1813
- readonly code: "ES003";
1814
- readonly message: "Failed to update employee schedule";
1815
- readonly httpCode: 500;
1816
- };
1817
- readonly EMPLOYEE_SCHEDULE_FETCH_FAILED: {
1818
- readonly code: "ES004";
1819
- readonly message: "Error when retrieving employee schedules";
1820
- readonly httpCode: 500;
1821
- };
1822
- readonly WORK_SESSION_NOT_CREATED: {
1823
- readonly code: "WS001";
1824
- readonly message: "Failed to create work session";
1825
- readonly httpCode: 500;
1826
- };
1827
- readonly WORK_SESSION_NOT_DELETED: {
1828
- readonly code: "WS002";
1829
- readonly message: "Failed to delete work session";
1830
- readonly httpCode: 500;
1831
- };
1832
- readonly WORK_SESSION_NOT_UPDATED: {
1833
- readonly code: "WS003";
1834
- readonly message: "Failed to update work session";
1835
- readonly httpCode: 500;
1836
- };
1837
- readonly WORK_SESSION_FETCH_FAILED: {
1838
- readonly code: "WS004";
1839
- readonly message: "Error when retrieving employee schedules";
1840
- readonly httpCode: 500;
1841
- };
1842
- readonly DISCOUNT_RULES_NOT_CREATED: {
1843
- readonly code: "DR001";
1844
- readonly message: "Failed to create discount-rules";
1845
- readonly httpCode: 500;
1846
- };
1847
- readonly DISCOUNT_RULES_NOT_DELETED: {
1848
- readonly code: "DR002";
1849
- readonly message: "Failed to delete discount-rules";
1850
- readonly httpCode: 500;
1851
- };
1852
- readonly DISCOUNT_RULES_NOT_UPDATED: {
1853
- readonly code: "DR003";
1854
- readonly message: "Failed to update discount-rules";
1855
- readonly httpCode: 500;
1856
- };
1857
- readonly DISCOUNT_RULES_FETCH_FAILED: {
1858
- readonly code: "DR004";
1859
- readonly message: "Error when retrieving discount-rules";
1860
- readonly httpCode: 500;
1861
- };
1862
- readonly ACTION_LOG_NOT_CREATED: {
1863
- readonly code: "ALG001";
1864
- readonly message: "Failed to create action-log";
1865
- readonly httpCode: 500;
1866
- };
1867
- readonly ACTION_LOG_FETCH_FAILED: {
1868
- readonly code: "ALG002";
1869
- readonly message: "Error when retrieving action-log";
1870
- readonly httpCode: 500;
1871
- };
1872
- readonly ACTION_LOG_ENTITY_NOT_FOUND: {
1873
- readonly code: "ALG003";
1874
- readonly message: "Error the entity action-log not found ";
1875
- readonly httpCode: 500;
1876
- };
1877
- readonly KASSA_NOT_CREATED: {
1878
- readonly code: "K001";
1879
- readonly message: "Failed to create kassa document";
1880
- readonly httpCode: 500;
1881
- };
1882
- readonly RECEIPT_SPLIT_FAILED: {
1883
- readonly code: "RS001";
1884
- readonly message: "Failed to receipt split";
1885
- readonly httpCode: 500;
1886
- };
1887
- readonly REPORT_FETCH_FAILED: {
1888
- readonly code: "REP001";
1889
- readonly message: "Failed to fetch report";
1890
- readonly httpCode: 500;
1891
- };
1892
- readonly AUTH_GATEWAY_VOICE_FAILED: {
1893
- readonly code: "AG001";
1894
- readonly message: "Failed to send code via voice call";
1895
- readonly httpCode: 500;
1896
- };
1897
- readonly AUTH_GATEWAY_TELEGRAM_FAILED: {
1898
- readonly code: "AG002";
1899
- readonly message: "Failed to send code via Telegram";
1900
- readonly httpCode: 500;
1901
- };
1902
- readonly AUTH_GATEWAY_WHATSAPP_FAILED: {
1903
- readonly code: "AG003";
1904
- readonly message: "Failed to send code via WhatsApp";
1905
- readonly httpCode: 500;
1906
- };
1907
- readonly AUTH_GATEWAY_ALL_CHANNELS_FAILED: {
1908
- readonly code: "AG004";
1909
- readonly message: "Failed to send code through available channels";
1910
- readonly httpCode: 500;
1911
- };
1912
- readonly AUTH_GATEWAY_INVALID_PHONE: {
1913
- readonly code: "AG005";
1914
- readonly message: "Invalid phone number format";
1915
- readonly httpCode: 400;
1916
- };
1917
- readonly SMS_GATEWAY_SEND_FAILED: {
1918
- readonly code: "SG001";
1919
- readonly message: "Failed to send SMS message";
1920
- readonly httpCode: 500;
1921
- };
1922
- readonly SMS_GATEWAY_INVALID_PHONE: {
1923
- readonly code: "SG002";
1924
- readonly message: "Invalid phone number format";
1925
- readonly httpCode: 400;
1926
- };
1927
- readonly SMS_GATEWAY_COUNTRY_NOT_SUPPORTED: {
1928
- readonly code: "SG003";
1929
- readonly message: "SMS sending to this country is not supported";
1930
- readonly httpCode: 400;
1931
- };
1932
- readonly SMS_GATEWAY_MESSAGE_TOO_LONG: {
1933
- readonly code: "SG004";
1934
- readonly message: "Message is too long. Maximum length is 800 characters";
1935
- readonly httpCode: 400;
1936
- };
1937
- readonly SMS_GATEWAY_VALIDATION_FAILED: {
1938
- readonly code: "SG005";
1939
- readonly message: "Validation failed";
1940
- readonly httpCode: 400;
1941
- };
1942
- readonly SMS_GATEWAY_STATUS_CHECK_FAILED: {
1943
- readonly code: "SG006";
1944
- readonly message: "Failed to check SMS status";
1945
- readonly httpCode: 500;
1946
- };
1947
- readonly NOTISEND_VOICE_SEND_FAILED: {
1948
- readonly code: "NV001";
1949
- readonly message: "Failed to send voice code";
1950
- readonly httpCode: 500;
1951
- };
1952
- readonly NOTISEND_VOICE_INVALID_CODE: {
1953
- readonly code: "NV002";
1954
- readonly message: "Invalid code format";
1955
- readonly httpCode: 400;
1956
- };
1957
- readonly NOTISEND_VOICE_INVALID_PHONE: {
1958
- readonly code: "NV003";
1959
- readonly message: "Only Russian mobile phone numbers are supported";
1960
- readonly httpCode: 400;
1961
- };
1962
- readonly NOTISEND_TG_INVALID_CODE: {
1963
- readonly code: "NV004";
1964
- readonly message: "Invalid code format";
1965
- readonly httpCode: 400;
1966
- };
1967
- readonly NOTISEND_TG_SEND_FAILED: {
1968
- readonly code: "NV005";
1969
- readonly message: "Failed to send telegram code";
1970
- readonly httpCode: 500;
1971
- };
1972
- readonly NOTISEND_VOICE_STATUS_CHECK_FAILED: {
1973
- readonly code: "NV006";
1974
- readonly message: "Failed to check voice status";
1975
- readonly httpCode: 500;
1976
- };
1977
- readonly NOTISEND_TG_STATUS_CHECK_FAILED: {
1978
- readonly code: "NV007";
1979
- readonly message: "Failed to check telegram status";
1980
- readonly httpCode: 500;
1981
- };
1982
- readonly DELIVERY_ROUTE_NOT_CREATED: {
1983
- readonly code: "DLR001";
1984
- readonly message: "Failed to create delivery route";
1985
- readonly httpCode: 500;
1986
- };
1987
- readonly DELIVERY_ROUTE_NOT_FOUND: {
1988
- readonly code: "DLR002";
1989
- readonly message: "Delivery route not found";
1990
- readonly httpCode: 404;
1991
- };
1992
- readonly DELIVERY_ROUTE_NOT_DELETED: {
1993
- readonly code: "DLR003";
1994
- readonly message: "Failed to delete delivery route";
1995
- readonly httpCode: 500;
1996
- };
1997
- readonly DELIVERY_ROUTE_NOT_UPDATED: {
1998
- readonly code: "DLR004";
1999
- readonly message: "Failed to update delivery route";
2000
- readonly httpCode: 500;
2001
- };
2002
- readonly DELIVERY_ROUTE_FETCH_FAILED: {
2003
- readonly code: "DLR005";
2004
- readonly message: "Error when retrieving delivery routes";
2005
- readonly httpCode: 500;
2006
- };
2007
- readonly FAILED_TO_CREATE: {
2008
- readonly code: "FAILED_TO_CREATE";
2009
- readonly message: "Failed to create entity";
2010
- readonly httpCode: 500;
2011
- };
2012
- readonly SECURITY_CODE_CREATE_FAILED: {
2013
- readonly code: "SC001";
2014
- readonly message: "Failed to create security code";
2015
- readonly httpCode: 500;
2016
- };
2017
- readonly SECURITY_CODE_NOT_FOUND: {
2018
- readonly code: "SC002";
2019
- readonly message: "Security code not found";
2020
- readonly httpCode: 404;
2021
- };
2022
- readonly SECURITY_CODE_INVALID: {
2023
- readonly code: "SC003";
2024
- readonly message: "Security code is invalid";
2025
- readonly httpCode: 400;
2026
- };
2027
- readonly SECURITY_CODE_THROTTLED: {
2028
- readonly code: "SC004";
2029
- readonly message: "Security code creation too frequent";
2030
- readonly httpCode: 429;
2031
- };
2032
- readonly IMPORT_DATA_NOT_FOUND: {
2033
- readonly code: "ID001";
2034
- readonly message: "Import data not found";
2035
- readonly httpCode: 400;
2036
- };
2037
- readonly IMPORT_UNKNOWN_ERROR: {
2038
- readonly code: "ID002";
2039
- readonly message: "Unknown error";
2040
- readonly httpCode: 500;
2041
- };
2042
- readonly IMPORT_ITEMS_COUNT_LIMIT_EXCEEDED: {
2043
- readonly code: "ID003";
2044
- readonly message: "Items count limit exceeded";
2045
- readonly httpCode: 400;
2046
- };
2047
- };