@floristcloud/api-lib 1.2.0 → 1.2.1
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.
- package/commands/index.ts +7 -1
- package/commands/session/get-active-sessions.query.ts +11 -2
- package/package.json +1 -1
- package/schemas/index.ts +0 -1
- package/build/commands/action-log/create-action-log.command.js +0 -15
- package/build/commands/action-log/get-action-log-list-for-client.query.js +0 -34
- package/build/commands/action-log/get-action-log-list.query.js +0 -35
- package/build/commands/action-log/index.js +0 -19
- package/build/commands/auth/index.js +0 -24
- package/build/commands/auth/login-user.command.js +0 -22
- package/build/commands/auth/mobile-login-user.command.js +0 -22
- package/build/commands/auth/register-user.command.js +0 -21
- package/build/commands/auth/reset-password-by-admin.command.js +0 -15
- package/build/commands/auth/reset-password-by-security-code.command.js +0 -24
- package/build/commands/auth/reset-password-by-token.command.js +0 -26
- package/build/commands/auth/reset-password-by-user.command.js +0 -15
- package/build/commands/auth/restore-password-by-security-code.command.js +0 -16
- package/build/commands/bank-payment/apply-bank-payment-event.command.js +0 -18
- package/build/commands/bank-payment/get-bank-payment-list.query.js +0 -38
- package/build/commands/bank-payment/get-bank-payment-match-suggestions.query.js +0 -12
- package/build/commands/bank-payment/index.js +0 -20
- package/build/commands/bank-payment/update-bank-payment-status.query.js +0 -19
- package/build/commands/bank-payment-rule/create-bank-payment-rule.command.js +0 -22
- package/build/commands/bank-payment-rule/delete-bank-payment-rule.command.js +0 -14
- package/build/commands/bank-payment-rule/get-bank-payment-rule-list.query.js +0 -18
- package/build/commands/bank-payment-rule/get-bank-payment-rule.query.js +0 -13
- package/build/commands/bank-payment-rule/index.js +0 -21
- package/build/commands/bank-payment-rule/update-bank-payment-rule.command.js +0 -22
- package/build/commands/branch/create-branch.command.js +0 -23
- package/build/commands/branch/delete-branch.command.js +0 -19
- package/build/commands/branch/get-branch-list-all-by-client-uuid.query.js +0 -15
- package/build/commands/branch/get-branch-list.query.js +0 -18
- package/build/commands/branch/get-branch.query.js +0 -15
- package/build/commands/branch/index.js +0 -22
- package/build/commands/branch/update-branch.command.js +0 -23
- package/build/commands/category/create-category.command.js +0 -21
- package/build/commands/category/delete-category.command.js +0 -19
- package/build/commands/category/get-category-by-uuid.query.js +0 -17
- package/build/commands/category/get-category-list.query.js +0 -30
- package/build/commands/category/index.js +0 -22
- package/build/commands/category/update-category-command.js +0 -23
- package/build/commands/category/webshop/get-category-list-for-client.query.js +0 -13
- package/build/commands/category-alias/create-category-alias.command.js +0 -17
- package/build/commands/category-alias/delete-category-alias.command.js +0 -19
- package/build/commands/category-alias/get-category-alias-by-uuid.query.js +0 -17
- package/build/commands/category-alias/get-category-alias-list-by-category-uuid.query.js +0 -21
- package/build/commands/category-alias/get-category-alias-list.query.js +0 -23
- package/build/commands/category-alias/index.js +0 -17
- package/build/commands/category-alias/update-category-alias.command.js +0 -18
- package/build/commands/category-template/create-category-template.command.js +0 -20
- package/build/commands/category-template/get-category-template-by-uuid.query.js +0 -13
- package/build/commands/category-template/get-category-template-list.query.js +0 -13
- package/build/commands/category-template/index.js +0 -20
- package/build/commands/category-template/update-category-template.command.js +0 -20
- package/build/commands/client/attach-user-to-client.command.js +0 -17
- package/build/commands/client/create-client.command.js +0 -36
- package/build/commands/client/delete-client.command.js +0 -19
- package/build/commands/client/detach-user-from-client.command.js +0 -15
- package/build/commands/client/get-client-calculate.query.js +0 -17
- package/build/commands/client/get-client-debt-list.query.js +0 -25
- package/build/commands/client/get-client-filters-values.query.js +0 -17
- package/build/commands/client/get-client-list.query.js +0 -31
- package/build/commands/client/get-client.query.js +0 -15
- package/build/commands/client/import-client.command.js +0 -22
- package/build/commands/client/index.js +0 -36
- package/build/commands/client/marking/create-client-marking.command.js +0 -17
- package/build/commands/client/marking/delete-client-marking.command.js +0 -15
- package/build/commands/client/marking/get-client-marking-by-client-list.command.js +0 -16
- package/build/commands/client/marking/update-client-marking.command.js +0 -17
- package/build/commands/client/profile/create-client-individual-profile.command.js +0 -20
- package/build/commands/client/profile/create-client-legal-profile.command.js +0 -19
- package/build/commands/client/profile/delete-client-individual-profile.command.js +0 -17
- package/build/commands/client/profile/delete-client-legal-profile.command.js +0 -17
- package/build/commands/client/profile/get-client-individual-profile.query.js +0 -17
- package/build/commands/client/profile/index.js +0 -23
- package/build/commands/client/profile/update-client-individual-profile.command.js +0 -20
- package/build/commands/client/profile/update-client-legal-profile.command.js +0 -19
- package/build/commands/client/set-balance-calculate-client.command.js +0 -13
- package/build/commands/client/update-client.command.js +0 -38
- package/build/commands/client/webshop/register-client-webshop.command.js +0 -23
- package/build/commands/client/webshop/update-client-for-client.command.js +0 -21
- package/build/commands/client-payment-identifier/create-client-payment-identifier.command.js +0 -22
- package/build/commands/client-payment-identifier/delete-client-payment-identifier.command.js +0 -14
- package/build/commands/client-payment-identifier/get-client-payment-identifier-list.query.js +0 -27
- package/build/commands/client-payment-identifier/index.js +0 -19
- package/build/commands/company/createCompany.command.js +0 -20
- package/build/commands/company/createCompanyWithUser.command.js +0 -27
- package/build/commands/company/deleteCompany.command.js +0 -19
- package/build/commands/company/getCompany.query.js +0 -17
- package/build/commands/company/getCompanyList.query.js +0 -18
- package/build/commands/company/index.js +0 -22
- package/build/commands/company/updateCompany.command.js +0 -17
- package/build/commands/consignment/create-consignment.command.js +0 -25
- package/build/commands/consignment/delete-consignment.command.js +0 -18
- package/build/commands/consignment/execute-consignment-product-update.command.js +0 -53
- package/build/commands/consignment/export-consignment.command.js +0 -30
- package/build/commands/consignment/get-access-clients-consignment.query.js +0 -13
- package/build/commands/consignment/get-client-uuids-consignment.query.js +0 -14
- package/build/commands/consignment/get-consignment-filters-values.query.js +0 -16
- package/build/commands/consignment/get-consignment-list.query.js +0 -42
- package/build/commands/consignment/get-consignment.query.js +0 -15
- package/build/commands/consignment/import-consignment.command.js +0 -38
- package/build/commands/consignment/import-packing-consignment.command.js +0 -26
- package/build/commands/consignment/index.js +0 -30
- package/build/commands/consignment/update-consignment.command.js +0 -25
- package/build/commands/consignment/upsert-access-clients-consignment.command.js +0 -23
- package/build/commands/consignment/validate-consignment-distribution.query.js +0 -15
- package/build/commands/consignment-import-schema/create-consignment-import-scheme.command.js +0 -17
- package/build/commands/consignment-import-schema/get-all-consignment-import-schema.query.js +0 -15
- package/build/commands/consignment-import-schema/get-cosignment-import-schema.query.js +0 -15
- package/build/commands/consignment-import-schema/index.js +0 -18
- package/build/commands/consignment-import-schema/update-consignment-import-schema.command.js +0 -14
- package/build/commands/delivery-route/attach-order-list-to-delivery-route.command.js +0 -16
- package/build/commands/delivery-route/create-delivery-route.command.js +0 -14
- package/build/commands/delivery-route/delete-delivery-route.command.js +0 -14
- package/build/commands/delivery-route/detach-order-list-to-delivery-route.command.js +0 -17
- package/build/commands/delivery-route/get-delivery-route-list.query.js +0 -25
- package/build/commands/delivery-route/get-delivery-route.query.js +0 -15
- package/build/commands/delivery-route/index.js +0 -23
- package/build/commands/delivery-route/update-delivery-route.command.js +0 -14
- package/build/commands/discount-rules/create-discount-rules.command.js +0 -17
- package/build/commands/discount-rules/delete-discount-rules.command.js +0 -13
- package/build/commands/discount-rules/get-discount-rules-all.query.js +0 -20
- package/build/commands/discount-rules/get-discount-rules-extended.query.js +0 -13
- package/build/commands/discount-rules/get-discount-rules-list.query.js +0 -18
- package/build/commands/discount-rules/get-discount-rules.query.js +0 -13
- package/build/commands/discount-rules/index.js +0 -25
- package/build/commands/discount-rules/split-quantity-discount-rules-for-client.query.js +0 -15
- package/build/commands/discount-rules/split-quantity-discount-rules.query.js +0 -15
- package/build/commands/discount-rules/update-discount-rules.command.js +0 -17
- package/build/commands/distribution/create-distribution.command.js +0 -15
- package/build/commands/distribution/index.js +0 -19
- package/build/commands/distribution/update-is-packed-distribution.command.js +0 -17
- package/build/commands/distribution/validate-distribution-by-product.query.js +0 -15
- package/build/commands/domain/create-domain.command.js +0 -14
- package/build/commands/domain/delete-domain.command.js +0 -13
- package/build/commands/domain/get-domain-by-uuid.query.js +0 -13
- package/build/commands/domain/get-domain-list.query.js +0 -18
- package/build/commands/domain/index.js +0 -21
- package/build/commands/domain/update-domain.command.js +0 -14
- package/build/commands/employee-schedule/create-employee-schedule.command.js +0 -14
- package/build/commands/employee-schedule/delete-employee-schedule.command.js +0 -13
- package/build/commands/employee-schedule/get-employee-schedule-extended-list.query.js +0 -19
- package/build/commands/employee-schedule/get-employee-schedule-list.query.js +0 -38
- package/build/commands/employee-schedule/index.js +0 -21
- package/build/commands/employee-schedule/update-employee-schedule.command.js +0 -14
- package/build/commands/file/deleteFile.command.js +0 -17
- package/build/commands/file/index.js +0 -18
- package/build/commands/file/uploadFile.command.js +0 -8
- package/build/commands/index.js +0 -65
- package/build/commands/integration/index.js +0 -18
- package/build/commands/integration/telegram/generate-telegram-link.command.js +0 -17
- package/build/commands/integration/telegram/get-telegram-link-status.command.js +0 -19
- package/build/commands/integration/telegram/index.js +0 -19
- package/build/commands/integration/telegram/unlink-telegram.command.js +0 -14
- package/build/commands/integration/telegram-staff/generate-telegram-staff-link.command.js +0 -17
- package/build/commands/integration/telegram-staff/get-telegram-staff-link-status.command.js +0 -19
- package/build/commands/integration/telegram-staff/index.js +0 -19
- package/build/commands/integration/telegram-staff/unlink-telegram-staff.command.js +0 -16
- package/build/commands/message/get-clients-messages-context-with-unread.query.js +0 -23
- package/build/commands/message/get-context-unread-count.query.js +0 -21
- package/build/commands/message/get-contexts-with-unread.query.js +0 -22
- package/build/commands/message/index.js +0 -22
- package/build/commands/message/list-context-messages.query.js +0 -23
- package/build/commands/message/mark-context-read.command.js +0 -21
- package/build/commands/message/send-context-message.command.js +0 -22
- package/build/commands/money-account/create-money-account.command.js +0 -18
- package/build/commands/money-account/delete-money-account.command.js +0 -14
- package/build/commands/money-account/get-money-account-by-criteria.query.js +0 -15
- package/build/commands/money-account/get-money-account-list.query.js +0 -21
- package/build/commands/money-account/get-money-account.query.js +0 -13
- package/build/commands/money-account/index.js +0 -22
- package/build/commands/money-account/update-money-account.command.js +0 -19
- package/build/commands/notification/index.js +0 -17
- package/build/commands/notification/send-staff-notification-s2s.command.js +0 -21
- package/build/commands/order/apply-order-discount.command.js +0 -18
- package/build/commands/order/copy-order.command.js +0 -13
- package/build/commands/order/create-order.command.js +0 -26
- package/build/commands/order/delete-order.command.js +0 -14
- package/build/commands/order/export-order-invoice.command.js +0 -12
- package/build/commands/order/get-order-list.query.js +0 -49
- package/build/commands/order/get-order.query.js +0 -15
- package/build/commands/order/group/deletet-group-order.command.js +0 -18
- package/build/commands/order/group/get-group-order-invoice-info.query.js +0 -27
- package/build/commands/order/group/merge-orders.command.js +0 -26
- package/build/commands/order/group/send-group-order-invoice.command.js +0 -21
- package/build/commands/order/group/split-group-order.command.js +0 -17
- package/build/commands/order/group/update-group-order-status.command.js +0 -20
- package/build/commands/order/group/update-group-order-tag.command.js +0 -19
- package/build/commands/order/group/update-group-order-type.command.js +0 -20
- package/build/commands/order/index.js +0 -41
- package/build/commands/order/send-order-invoice.command.js +0 -26
- package/build/commands/order/update-order.command.js +0 -30
- package/build/commands/order/webshop/create-cart.command.js +0 -15
- package/build/commands/order/webshop/get-order-for-client.query.js +0 -15
- package/build/commands/order/webshop/get-order-list-for-client.query.js +0 -53
- package/build/commands/order/webshop/get-order-sales-by-month.query.js +0 -16
- package/build/commands/order/webshop/update-cart.command.js +0 -27
- package/build/commands/order/zeroing-receipt-delivery-order.command.js +0 -13
- package/build/commands/order-delivery/create-order-delivery.command.js +0 -21
- package/build/commands/order-delivery/delete-order-delivery.command.js +0 -16
- package/build/commands/order-delivery/index.js +0 -19
- package/build/commands/order-delivery/update-order-delivery.command.js +0 -25
- package/build/commands/order-product/create-order-product.command.js +0 -22
- package/build/commands/order-product/delete-order-product.command.js +0 -16
- package/build/commands/order-product/get-order-product-list-all.query.js +0 -15
- package/build/commands/order-product/get-order-product-list-for-distribute.query.js +0 -18
- package/build/commands/order-product/get-order-product-list.query.js +0 -19
- package/build/commands/order-product/get-order-product.query.js +0 -15
- package/build/commands/order-product/group/delete-group-order-product.command.js +0 -18
- package/build/commands/order-product/group/update-group-order-product-order.command.js +0 -24
- package/build/commands/order-product/group/update-group-order-product-tag.command.js +0 -19
- package/build/commands/order-product/group/verify-group-order-product.command.js +0 -19
- package/build/commands/order-product/group/zeroing-receipt-order-product.command.js +0 -17
- package/build/commands/order-product/index.js +0 -35
- package/build/commands/order-product/update-order-product.command.js +0 -23
- package/build/commands/order-product/verify-order-product.command.js +0 -15
- package/build/commands/order-product/webshop/create-order-product-for-client.command.js +0 -18
- package/build/commands/order-product/webshop/get-active-stepper-positions-order.query.js +0 -14
- package/build/commands/order-product/webshop/get-order-product-for-client-list.query.js +0 -15
- package/build/commands/order-product/webshop/set-order-product-quantity-webshop.command.js +0 -14
- package/build/commands/order-product/webshop/update-order-product-for-client.command.js +0 -19
- package/build/commands/package/create-package.command.js +0 -14
- package/build/commands/package/delete-package.command.js +0 -16
- package/build/commands/package/get-package-by-uuid.query.js +0 -12
- package/build/commands/package/get-package-filters-values.query.js +0 -27
- package/build/commands/package/get-package-list.query.js +0 -21
- package/build/commands/package/index.js +0 -23
- package/build/commands/package/reorder-packages.command.js +0 -21
- package/build/commands/package/update-package.command.js +0 -14
- package/build/commands/package/validate-product-package.query.js +0 -15
- package/build/commands/pre-order/create-order-from-pre-order.command.js +0 -20
- package/build/commands/pre-order/create-pre-order.command.js +0 -14
- package/build/commands/pre-order/delete-pre-order.command.js +0 -13
- package/build/commands/pre-order/export-pre-order.command.js +0 -12
- package/build/commands/pre-order/get-pre-order-by-pre-order-collection-uuid.command.js +0 -12
- package/build/commands/pre-order/get-pre-order-list.query.js +0 -26
- package/build/commands/pre-order/get-pre-order.query.js +0 -12
- package/build/commands/pre-order/get-standing-order-import-template.command.js +0 -13
- package/build/commands/pre-order/group/analyze-copy-pre-orders.command.js +0 -23
- package/build/commands/pre-order/group/analyze-create-orders-from-pre-orders.command.js +0 -41
- package/build/commands/pre-order/group/analyze-create-pre-orders-from-standing-orders.command.js +0 -38
- package/build/commands/pre-order/group/group-copy-pre-orders-to-collection.command.js +0 -40
- package/build/commands/pre-order/group/group-create-orders-from-pre-orders.command.js +0 -39
- package/build/commands/pre-order/group/group-create-pre-orders-from-standing-orders.command.js +0 -36
- package/build/commands/pre-order/group/group-delete-pre-order.command.js +0 -18
- package/build/commands/pre-order/group/group-update-pre-order.command.js +0 -20
- package/build/commands/pre-order/group/index.js +0 -26
- package/build/commands/pre-order/group/merge-pre-orders.command.js +0 -33
- package/build/commands/pre-order/import-standing-order.command.js +0 -24
- package/build/commands/pre-order/index.js +0 -29
- package/build/commands/pre-order/update-pre-order.command.js +0 -14
- package/build/commands/pre-order/webshop/checkout-pre-order-webshop.command.js +0 -20
- package/build/commands/pre-order/webshop/create-pre-order-webshop.command.js +0 -14
- package/build/commands/pre-order/webshop/delete-pre-order-webshop.command.js +0 -13
- package/build/commands/pre-order/webshop/get-pre-order-list-webshop.command.js +0 -19
- package/build/commands/pre-order/webshop/index.js +0 -21
- package/build/commands/pre-order/webshop/update-pre-order-webshop.command.js +0 -14
- package/build/commands/pre-order-collection/copy-pre-order-collection.command.js +0 -13
- package/build/commands/pre-order-collection/create-pre-order-collection.command.js +0 -14
- package/build/commands/pre-order-collection/delete-pre-order-collection.command.js +0 -14
- package/build/commands/pre-order-collection/get-pre-order-collection-all.query.js +0 -13
- package/build/commands/pre-order-collection/get-pre-order-collection-list.query.js +0 -23
- package/build/commands/pre-order-collection/get-pre-order-collection.query.js +0 -13
- package/build/commands/pre-order-collection/index.js +0 -24
- package/build/commands/pre-order-collection/match-images-for-collection.command.js +0 -20
- package/build/commands/pre-order-collection/update-pre-order-collection.command.js +0 -14
- package/build/commands/pre-order-collection/webshop/get-pre-order-collection-list-with-categories.query.js +0 -13
- package/build/commands/pre-order-collection-item/create-group-pre-order-collection-item.command.js +0 -16
- package/build/commands/pre-order-collection-item/create-pre-order-collection-item.command.js +0 -14
- package/build/commands/pre-order-collection-item/delete-group-pre-order-collection-item.command.js +0 -19
- package/build/commands/pre-order-collection-item/delete-pre-order-collection-item.command.js +0 -14
- package/build/commands/pre-order-collection-item/execute-pre-order-collection-item-update.command.js +0 -50
- package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-horizontal.query.js +0 -16
- package/build/commands/pre-order-collection-item/export-pre-order-collection-item-with-clients-vertical.query.js +0 -19
- package/build/commands/pre-order-collection-item/get-active-pre-order-collection-item-list.query.js +0 -19
- package/build/commands/pre-order-collection-item/get-pre-order-collection-item-extended-with-clients-pre-order-product-list.query.js +0 -22
- package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values-for-client.query.js +0 -26
- package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-filter-values.query.js +0 -24
- package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list-for-client.query.js +0 -24
- package/build/commands/pre-order-collection-item/get-pre-order-collection-item-list.query.js +0 -24
- package/build/commands/pre-order-collection-item/get-pre-order-collection-item.query.js +0 -13
- package/build/commands/pre-order-collection-item/index.js +0 -42
- package/build/commands/pre-order-collection-item/move-pre-order-collection-items-analyze.command.js +0 -51
- package/build/commands/pre-order-collection-item/move-pre-order-collection-items-execute.command.js +0 -16
- package/build/commands/pre-order-collection-item/multiplicity-option/create-pre-order-collection-item-multiplicity-option.command.js +0 -20
- package/build/commands/pre-order-collection-item/multiplicity-option/delete-pre-order-collection-item-multiplicity-option.command.js +0 -14
- package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-option-titles.query.js +0 -14
- package/build/commands/pre-order-collection-item/multiplicity-option/get-pre-order-collection-item-multiplicity-options.query.js +0 -15
- package/build/commands/pre-order-collection-item/multiplicity-option/reorder-pre-order-collection-item-multiplicity-options.command.js +0 -21
- package/build/commands/pre-order-collection-item/multiplicity-option/update-pre-order-collection-item-multiplicity-option.command.js +0 -22
- package/build/commands/pre-order-collection-item/update-group-pre-order-collection-item.command.js +0 -20
- package/build/commands/pre-order-collection-item/update-pre-order-collection-item-product-maching.command.js +0 -18
- package/build/commands/pre-order-collection-item/update-pre-order-collection-item.command.js +0 -14
- package/build/commands/pre-order-product/create-manually-pre-order-product-for-standing-order.command.js +0 -22
- package/build/commands/pre-order-product/create-manually-pre-order-product.command.js +0 -23
- package/build/commands/pre-order-product/create-pre-order-product-webshop.command.js +0 -14
- package/build/commands/pre-order-product/create-pre-order-product.command.js +0 -14
- package/build/commands/pre-order-product/delete-many-pre-order-product-by-pre-order-collection-item.command.js +0 -14
- package/build/commands/pre-order-product/delete-pre-order-product-webshop.command.js +0 -14
- package/build/commands/pre-order-product/delete-pre-order-product.command.js +0 -13
- package/build/commands/pre-order-product/get-active-stepper-positions.query.js +0 -17
- package/build/commands/pre-order-product/get-pre-order-product-extended-list.query.js +0 -18
- package/build/commands/pre-order-product/get-pre-order-product-list.query.js +0 -18
- package/build/commands/pre-order-product/get-pre-order-product.query.js +0 -13
- package/build/commands/pre-order-product/get-pre-order-products-by-pre-order-list.command.js +0 -17
- package/build/commands/pre-order-product/get-pre-order-products-by-pre-order.command.js +0 -13
- package/build/commands/pre-order-product/group/move-group-pre-order-product.command.js +0 -20
- package/build/commands/pre-order-product/index.js +0 -34
- package/build/commands/pre-order-product/purchase-many-pre-order-product-by-pre-order-collection-item.command.js +0 -18
- package/build/commands/pre-order-product/set-pre-order-product-quantity-webshop.command.js +0 -14
- package/build/commands/pre-order-product/update-pre-order-product-webshop.command.js +0 -14
- package/build/commands/pre-order-product/update-pre-order-product.command.js +0 -14
- package/build/commands/product/create-product.command.js +0 -43
- package/build/commands/product/delete-product.command.js +0 -16
- package/build/commands/product/generate-product-qr.query.js +0 -27
- package/build/commands/product/get-all-product-by-consignment.query.js +0 -15
- package/build/commands/product/get-product-list-filters-values.query.js +0 -38
- package/build/commands/product/get-product-list.query.js +0 -26
- package/build/commands/product/get-product-quantity-calculate.query.js +0 -25
- package/build/commands/product/get-product.query.js +0 -15
- package/build/commands/product/get-products-unique.query.js +0 -22
- package/build/commands/product/group/delete-group-product.command.js +0 -25
- package/build/commands/product/group/index.js +0 -23
- package/build/commands/product/group/update-group-product-category.command.js +0 -19
- package/build/commands/product/group/update-group-product-consignment.command.js +0 -19
- package/build/commands/product/group/update-group-product-is-open-by-consignment.command.js +0 -18
- package/build/commands/product/group/update-group-product-is-open.command.js +0 -19
- package/build/commands/product/group/update-group-product-prices.command.js +0 -24
- package/build/commands/product/group/update-group-product-update-batch.command.js +0 -44
- package/build/commands/product/index.js +0 -39
- package/build/commands/product/match-images-for-products.command.js +0 -20
- package/build/commands/product/multiplicity-option/create-product-multiplicity-option.command.js +0 -20
- package/build/commands/product/multiplicity-option/delete-product-multiplicity-option.command.js +0 -14
- package/build/commands/product/multiplicity-option/get-product-multiplicity-option-titles.query.js +0 -14
- package/build/commands/product/multiplicity-option/get-product-multiplicity-options.query.js +0 -15
- package/build/commands/product/multiplicity-option/reorder-product-multiplicity-options.command.js +0 -21
- package/build/commands/product/multiplicity-option/update-product-multiplicity-option.command.js +0 -22
- package/build/commands/product/update-product.command.js +0 -43
- package/build/commands/product/webshop/get-client-product-list-filters-values.query.js +0 -31
- package/build/commands/product/webshop/get-product-delivery-dates.query.js +0 -16
- package/build/commands/product/webshop/get-product-for-client.query.js +0 -15
- package/build/commands/product/webshop/get-product-list-for-client.query.js +0 -29
- package/build/commands/product-configuration/create-product-configuration.command.js +0 -14
- package/build/commands/product-configuration/delete-product-configuration.command.js +0 -15
- package/build/commands/product-configuration/find-product-configuration-by-attributes.query.js +0 -24
- package/build/commands/product-configuration/get-product-configuration-list.query.js +0 -28
- package/build/commands/product-configuration/get-product-configuration.query.js +0 -15
- package/build/commands/product-configuration/index.js +0 -22
- package/build/commands/product-configuration/update-product-configuration.command.js +0 -14
- package/build/commands/product-image/alias/create-product-image-alias.command.js +0 -17
- package/build/commands/product-image/alias/delete-product-image-alias.command.js +0 -15
- package/build/commands/product-image/alias/update-product-image-alias.command.js +0 -17
- package/build/commands/product-image/create-product-image.command.js +0 -23
- package/build/commands/product-image/delete-product-image.command.js +0 -13
- package/build/commands/product-image/get-product-image-filter-values.query.js +0 -24
- package/build/commands/product-image/get-product-image-list.query.js +0 -29
- package/build/commands/product-image/get-product-image.query.js +0 -13
- package/build/commands/product-image/group/delete-group-product-image.command.js +0 -18
- package/build/commands/product-image/group/update-group-product-image.command.js +0 -20
- package/build/commands/product-image/index.js +0 -28
- package/build/commands/product-image/sync-product-image.command.js +0 -14
- package/build/commands/product-image/update-product-image.command.js +0 -23
- package/build/commands/product-image-template/create-product-image-template.command.js +0 -15
- package/build/commands/product-image-template/delete-group-product-image-template.command.js +0 -17
- package/build/commands/product-image-template/delete-product-image-template.command.js +0 -13
- package/build/commands/product-image-template/get-product-image-template-list.query.js +0 -20
- package/build/commands/product-image-template/get-product-image-template.query.js +0 -13
- package/build/commands/product-image-template/index.js +0 -23
- package/build/commands/product-image-template/start-parsing-product-image-template.command.js +0 -14
- package/build/commands/product-image-template/update-product-image-template.command.js +0 -15
- package/build/commands/product-in-package/create-product-in-package.command.js +0 -15
- package/build/commands/product-in-package/delete-from-orders-by-package.command.js +0 -16
- package/build/commands/product-in-package/delete-product-in-package.command.js +0 -14
- package/build/commands/product-in-package/get-product-in-package-by-uuid.query.js +0 -13
- package/build/commands/product-in-package/index.js +0 -21
- package/build/commands/product-in-package/update-product-in-package.command.js +0 -15
- package/build/commands/report/export-client-statement.query.js +0 -31
- package/build/commands/report/export-inventory-movement.query.js +0 -52
- package/build/commands/report/export-inventory-stock.query.js +0 -32
- package/build/commands/report/export-inventory-turnover.query.js +0 -56
- package/build/commands/report/export-sales-by-client.query.js +0 -39
- package/build/commands/report/export-sales-revenue.query.js +0 -36
- package/build/commands/report/get-report-by-client-weeks.query.js +0 -31
- package/build/commands/report/get-report-for-period.query.js +0 -44
- package/build/commands/report/get-report-group-by-client.query.js +0 -46
- package/build/commands/report/get-report-group-by-position.query.js +0 -68
- package/build/commands/report/index.js +0 -26
- package/build/commands/session/create-ws-ticket.command.js +0 -11
- package/build/commands/session/get-active-sessions.query.js +0 -12
- package/build/commands/session/index.js +0 -15
- package/build/commands/session/session-logout.command.js +0 -11
- package/build/commands/session/session-revoke-all.command.js +0 -11
- package/build/commands/session/validate-session-s2s.query.js +0 -25
- package/build/commands/session/validate-ws-ticket-s2s.query.js +0 -12
- package/build/commands/settings/get-settings-for-admin.query.js +0 -13
- package/build/commands/settings/get-settings.query.js +0 -13
- package/build/commands/settings/index.js +0 -19
- package/build/commands/settings/update-settings.command.js +0 -14
- package/build/commands/transaction/apply-prepayment-transaction.command.js +0 -17
- package/build/commands/transaction/create-transaction.command.js +0 -24
- package/build/commands/transaction/delete-transaction.command.js +0 -16
- package/build/commands/transaction/export-transactions.command.js +0 -36
- package/build/commands/transaction/generate-check-transaction.command.js +0 -18
- package/build/commands/transaction/generate-pre-payment-check.command.js +0 -18
- package/build/commands/transaction/get-sum-transaction-by-money-account.query.js +0 -32
- package/build/commands/transaction/get-transaction-list.query.js +0 -38
- package/build/commands/transaction/get-transaction-summary.query.js +0 -39
- package/build/commands/transaction/get-transaction.query.js +0 -15
- package/build/commands/transaction/index.js +0 -28
- package/build/commands/transaction/update-transaction.command.js +0 -19
- package/build/commands/transaction/webshop/get-transaction-list-for-client.query.js +0 -37
- package/build/commands/type/create-type.command.js +0 -18
- package/build/commands/type/delete-type.command.js +0 -17
- package/build/commands/type/get-type-by-criteria.query.js +0 -15
- package/build/commands/type/get-type-by-uuid.query.js +0 -17
- package/build/commands/type/get-type-list.query.js +0 -24
- package/build/commands/type/index.js +0 -24
- package/build/commands/type/update-type-rank-many.command.js +0 -22
- package/build/commands/type/update-type-rank.command.js +0 -19
- package/build/commands/type/update-type.command.js +0 -18
- package/build/commands/user/attachUserToCompany.command.js +0 -13
- package/build/commands/user/create-user-global.command.js +0 -28
- package/build/commands/user/createUser.command.js +0 -14
- package/build/commands/user/createUserByClientId.command.js +0 -29
- package/build/commands/user/createUserForCompany.command.js +0 -27
- package/build/commands/user/generate-and-send-password-by-admin.command.js +0 -16
- package/build/commands/user/get-user-list-s2s.query.js +0 -13
- package/build/commands/user/get-user-list.query.js +0 -26
- package/build/commands/user/getUser.command.js +0 -14
- package/build/commands/user/index.js +0 -27
- package/build/commands/user/update-password-by-user.command.js +0 -15
- package/build/commands/user/update-user.command.js +0 -19
- package/build/commands/user/updateRole.command.js +0 -18
- package/build/commands/work-session/close-work-session-for-employee.command.js +0 -13
- package/build/commands/work-session/create-many-work-session.command.js +0 -17
- package/build/commands/work-session/create-work-session-for-employee.command.js +0 -14
- package/build/commands/work-session/delete-work-session.command.js +0 -13
- package/build/commands/work-session/export-overtime.query.js +0 -26
- package/build/commands/work-session/get-work-session-extended-list.query.js +0 -21
- package/build/commands/work-session/index.js +0 -23
- package/build/commands/work-session/update-work-session.command.js +0 -14
- package/build/commands/wrire-off-archive/create-wrire-off-archive.command.js +0 -20
- package/build/commands/wrire-off-archive/get-write-off-archive-files.command.js +0 -22
- package/build/commands/wrire-off-archive/index.js +0 -19
- package/build/commands/wrire-off-archive/info-wrire-off-archive.command.js +0 -20
- package/build/commands/write-off/create-write-off-from-order.command.js +0 -21
- package/build/commands/write-off/create-write-off-from-pending.command.js +0 -30
- package/build/commands/write-off/create-write-off-images.command.js +0 -17
- package/build/commands/write-off/create-write-off.command.js +0 -20
- package/build/commands/write-off/delete-write-off-image.command.js +0 -15
- package/build/commands/write-off/delete-write-off.command.js +0 -16
- package/build/commands/write-off/get-write-off-list.query.js +0 -27
- package/build/commands/write-off/get-write-off-reason-list.query.js +0 -16
- package/build/commands/write-off/get-write-off-sum-by-order.query.js +0 -14
- package/build/commands/write-off/get-write-off.query.js +0 -13
- package/build/commands/write-off/index.js +0 -29
- package/build/commands/write-off/update-write-off-price.command.js +0 -18
- package/build/commands/write-off/update-write-off-status.command.js +0 -29
- package/build/commands/write-off/webshop/create-write-off-from-order-for-client.command.js +0 -20
- package/build/commands/write-off/webshop/get-write-off-list-by-order.query.js +0 -15
- package/build/commands/write-off/webshop/index.js +0 -18
- package/build/constant/error-i18n-key.js +0 -21
- package/build/constant/error.js +0 -915
- package/build/constant/index.js +0 -19
- package/build/constant/verbose.js +0 -22
- package/build/enum/action-log-type.enum.js +0 -18
- package/build/enum/bank-payment-event-status.enum.js +0 -9
- package/build/enum/bank-payment-rule-match-type.enum.js +0 -10
- package/build/enum/bank-provider.enum.js +0 -7
- package/build/enum/category-status.enum.js +0 -8
- package/build/enum/chat-has-manager-mode.enum.js +0 -9
- package/build/enum/chat-no-manager-mode.enum.js +0 -8
- package/build/enum/client-import-entity-property.enum.js +0 -37
- package/build/enum/client-legal-type.enum.js +0 -8
- package/build/enum/client-statement-type.enum.js +0 -9
- package/build/enum/client-status.enum.js +0 -9
- package/build/enum/client-type.enum.js +0 -8
- package/build/enum/companyStatus.enum.js +0 -9
- package/build/enum/consignment-access-client-status.enum.js +0 -8
- package/build/enum/consignment-distribution-validation-status.enum.js +0 -8
- package/build/enum/consignment-distribution-validation-type.enum.js +0 -8
- package/build/enum/consignment-import-errors.enum.js +0 -9
- package/build/enum/consignment-import-schema-relation-entity-property.enum.js +0 -38
- package/build/enum/consignment-status.enum.js +0 -9
- package/build/enum/consignment-write-off-archives-status.enum.js +0 -9
- package/build/enum/context-message-context-type.enum.js +0 -9
- package/build/enum/country-code.enum.js +0 -264
- package/build/enum/delivery-route-status.enum.js +0 -9
- package/build/enum/discount-price-routing.enum.js +0 -10
- package/build/enum/discount-rules-apply-type.enum.js +0 -8
- package/build/enum/discount-rules-mode-type.enum.js +0 -8
- package/build/enum/discount-rules-status.enum.js +0 -8
- package/build/enum/discount-rules-type.enum.js +0 -11
- package/build/enum/file-expire-prefix.enum.js +0 -8
- package/build/enum/image-type.enum.js +0 -8
- package/build/enum/import-error-code.enum.js +0 -11
- package/build/enum/index.js +0 -82
- package/build/enum/inventory-movement-type.enum.js +0 -10
- package/build/enum/language.enum.js +0 -8
- package/build/enum/match-confidence.enum.js +0 -9
- package/build/enum/menu-items-url.enum.js +0 -15
- package/build/enum/money-account-status.enum.js +0 -8
- package/build/enum/notification-channel.enum.js +0 -15
- package/build/enum/notification-status.enum.js +0 -10
- package/build/enum/notification-type.enum.js +0 -12
- package/build/enum/order-active-status-list.js +0 -13
- package/build/enum/order-balance-status-list.js +0 -11
- package/build/enum/order-by.enum.js +0 -8
- package/build/enum/order-delivery-status.enum.js +0 -8
- package/build/enum/order-distribute-status-list.js +0 -10
- package/build/enum/order-restricted-status-list.js +0 -5
- package/build/enum/order-status.enum.js +0 -17
- package/build/enum/order-type.enum.js +0 -8
- package/build/enum/order-webshop-available-status-list.js +0 -15
- package/build/enum/package-status.enum.js +0 -9
- package/build/enum/package-type.enum.js +0 -36
- package/build/enum/parse-status.enum.js +0 -9
- package/build/enum/position-report-type.enum.js +0 -8
- package/build/enum/pre-order-aggregation-mode.enum.js +0 -9
- package/build/enum/pre-order-collection-item-import-entity-property.enum.js +0 -29
- package/build/enum/pre-order-collection-status.enum.js +0 -8
- package/build/enum/pre-order-collection-type.enum.js +0 -8
- package/build/enum/pre-order-status.enum.js +0 -12
- package/build/enum/product-image-created-from.enum.js +0 -8
- package/build/enum/product-image-order.enum.js +0 -8
- package/build/enum/product-in-package-status.enum.js +0 -8
- package/build/enum/report-period-type.enum.js +0 -9
- package/build/enum/sales-unit.enum.js +0 -9
- package/build/enum/security-code-status.enum.js +0 -11
- package/build/enum/session-platform.enum.js +0 -8
- package/build/enum/transaction-type-groups.js +0 -16
- package/build/enum/transaction-type.enum.js +0 -10
- package/build/enum/user-type.enum.js +0 -8
- package/build/enum/userRole.enum.js +0 -17
- package/build/enum/userStatus.enum.js +0 -9
- package/build/enum/webshop-main-display-mode.enum.js +0 -8
- package/build/enum/webshop-mode.enum.js +0 -8
- package/build/enum/write-off-status.enum.js +0 -9
- package/build/helpers/date.helper.js +0 -15
- package/build/helpers/index.js +0 -17
- package/build/index.js +0 -22
- package/build/schemas/action-log/action-log-payload.schema.js +0 -29
- package/build/schemas/action-log/action-log.schema.js +0 -105
- package/build/schemas/action-log/index.js +0 -30
- package/build/schemas/action-log/order-create-action-log.schema.js +0 -8
- package/build/schemas/action-log/order-delete-action-log-payload.schema.js +0 -8
- package/build/schemas/action-log/order-info.schema.js +0 -14
- package/build/schemas/action-log/order-product-delete-action-log.schema.js +0 -8
- package/build/schemas/action-log/order-product-info.schema.js +0 -16
- package/build/schemas/action-log/order-product-update-action-log.schema.js +0 -10
- package/build/schemas/action-log/order-update-action-log.schema.js +0 -9
- package/build/schemas/action-log/pre-order-create-action-log.schema.js +0 -8
- package/build/schemas/action-log/pre-order-delete-action-log.schema.js +0 -8
- package/build/schemas/action-log/pre-order-info.schema.js +0 -11
- package/build/schemas/action-log/pre-order-product-delete-action-log.schema.js +0 -8
- package/build/schemas/action-log/pre-order-product-info.schema.js +0 -13
- package/build/schemas/action-log/pre-order-product-update-action-log.schema.js +0 -11
- package/build/schemas/action-log/transaction-add-action-log.schema.js +0 -8
- package/build/schemas/action-log/transaction-delete-action-log.schema.js +0 -8
- package/build/schemas/action-log/transaction-info.schema.js +0 -13
- package/build/schemas/bank-payment/bank-payment.schema.js +0 -26
- package/build/schemas/bank-payment/get-bank-payment-match-suggestions.schema.js +0 -18
- package/build/schemas/bank-payment/index.js +0 -17
- package/build/schemas/bank-payment-rule/bank-payment-rule.schema.js +0 -19
- package/build/schemas/branch/branch-list.schema.js +0 -9
- package/build/schemas/branch/branch.schema.js +0 -17
- package/build/schemas/category/category.schema.js +0 -20
- package/build/schemas/category-alias/category-alias.schema.js +0 -17
- package/build/schemas/category-template/category-template.schema.js +0 -19
- package/build/schemas/category-template/index.js +0 -17
- package/build/schemas/client/client-debt.schema.js +0 -22
- package/build/schemas/client/client-individual-profile.schema.js +0 -13
- package/build/schemas/client/client-legal-profile.schema.js +0 -25
- package/build/schemas/client/client-marking.schema.js +0 -8
- package/build/schemas/client/client.schema.js +0 -53
- package/build/schemas/client/index.js +0 -21
- package/build/schemas/client-payment-identifier/client-payment-identifier.schema.js +0 -20
- package/build/schemas/company/company.schema.js +0 -14
- package/build/schemas/company/companyList.schema.js +0 -9
- package/build/schemas/consignment/consignment-distribution-validation.schema.js +0 -20
- package/build/schemas/consignment/consignment-list.schema.js +0 -9
- package/build/schemas/consignment/consignment.schema.js +0 -55
- package/build/schemas/consignment-import-schema/consignment-import-schema.scheme.js +0 -32
- package/build/schemas/consignment-import-schema/index.js +0 -17
- package/build/schemas/consignment-import-schema-relation/consignment-import-schema-relation.schema.js +0 -12
- package/build/schemas/delete-data-response.schema.js +0 -7
- package/build/schemas/delivery-route/delivery-route.schema.js +0 -49
- package/build/schemas/discount-rules/discount-rules.schema.js +0 -108
- package/build/schemas/distribution/distribution.schema.js +0 -24
- package/build/schemas/distribution/validate-distribution-by-product.schema.js +0 -9
- package/build/schemas/domain/domain.schema.js +0 -23
- package/build/schemas/employee-schedule/employee-schedule.schema.js +0 -42
- package/build/schemas/error-message.schema.js +0 -10
- package/build/schemas/file/file.schema.js +0 -7
- package/build/schemas/file/index.js +0 -17
- package/build/schemas/index.js +0 -77
- package/build/schemas/message/client-inbox-item.schema.js +0 -15
- package/build/schemas/message/context-inbox.schema.js +0 -22
- package/build/schemas/message/context-message-list.schema.js +0 -12
- package/build/schemas/message/context-message.schema.js +0 -18
- package/build/schemas/message/index.js +0 -20
- package/build/schemas/messenger-profile/index.js +0 -17
- package/build/schemas/messenger-profile/user-messenger-profile.schema.js +0 -18
- package/build/schemas/money-account/money-account.schema.js +0 -16
- package/build/schemas/order/order.schema.js +0 -62
- package/build/schemas/order-delivery/order-delivery.schema.js +0 -14
- package/build/schemas/order-product/order-product-list.schema.js +0 -13
- package/build/schemas/order-product/order-product-multiplicity-optiom.schema.js +0 -10
- package/build/schemas/order-product/order-product.schema.js +0 -70
- package/build/schemas/package/package.schema.js +0 -93
- package/build/schemas/package/validate-package.schema.js +0 -9
- package/build/schemas/pre-order/pre-order-copy.schema.js +0 -21
- package/build/schemas/pre-order/pre-order.schema.js +0 -49
- package/build/schemas/pre-order-collection/pre-order-collection.schema.js +0 -53
- package/build/schemas/pre-order-collection-item/pre-order-collection-item-multiplicity-option.schema.js +0 -11
- package/build/schemas/pre-order-collection-item/pre-order-collection-item.schema.js +0 -132
- package/build/schemas/pre-order-product/pre-order-product.schema.js +0 -126
- package/build/schemas/product/product-list.schema.js +0 -13
- package/build/schemas/product/product-multiplicity-option.schema.js +0 -11
- package/build/schemas/product/product.schema.js +0 -107
- package/build/schemas/product-configuration/product-configuration.schema.js +0 -34
- package/build/schemas/product-image/product-image-alias.schema.js +0 -8
- package/build/schemas/product-image/product-image.schema.js +0 -32
- package/build/schemas/product-image-template/product-image-template.schema.js +0 -21
- package/build/schemas/product-in-package/product-in-package.schema.js +0 -30
- package/build/schemas/report/client-by-weeks.schema.js +0 -14
- package/build/schemas/report/client-statement.schema.js +0 -13
- package/build/schemas/session/session.schema.js +0 -13
- package/build/schemas/settings/settings.schema.js +0 -224
- package/build/schemas/transaction/transaction-list.schema.js +0 -13
- package/build/schemas/transaction/transaction.schema.js +0 -31
- package/build/schemas/type/type.schema.js +0 -17
- package/build/schemas/type/typeList.schema.js +0 -9
- package/build/schemas/user/user.schema.js +0 -30
- package/build/schemas/work-session/work-session.schema.js +0 -41
- package/build/schemas/write-off/write-off-image.schema.js +0 -11
- package/build/schemas/write-off/write-off-list.schema.js +0 -9
- package/build/schemas/write-off/write-off.schema.js +0 -31
- package/build/types/client-import-data.type.js +0 -3
- package/build/types/index.js +0 -17
package/build/constant/error.js
DELETED
|
@@ -1,915 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERRORS = void 0;
|
|
4
|
-
exports.ERRORS = {
|
|
5
|
-
// COMPANY
|
|
6
|
-
COMPANY_NOT_CREATED: { code: 'C001', message: 'Failed to create company', httpCode: 500 },
|
|
7
|
-
COMPANY_NOT_DELETED: { code: 'C002', message: 'Failed to delete company', httpCode: 500 },
|
|
8
|
-
COMPANY_NOT_UPDATED: { code: 'C003', message: 'Failed to update company', httpCode: 500 },
|
|
9
|
-
COMPANY_NOT_FOUND: { code: 'C004', message: 'The company with the specified UUID was not found', httpCode: 404 },
|
|
10
|
-
COMPANY_FETCH_FAILED: { code: 'C006', message: 'Error when retrieving a list of companies', httpCode: 500 },
|
|
11
|
-
COMPANY_ALREADY_EXIST: { code: 'C007', message: 'Company with this name already exist', httpCode: 409 },
|
|
12
|
-
COMPANY_NOT_ACTIVATED: { code: 'C008', message: 'Company has not been activated', httpCode: 403 },
|
|
13
|
-
//MONEY_ACCOUNT
|
|
14
|
-
MONEY_ACCOUNT_NOT_CREATED: { code: 'M001', message: 'Failed to create money account', httpCode: 500 },
|
|
15
|
-
MONEY_ACCOUNT_NOT_DELETED: { code: 'M002', message: 'Failed to delete money account', httpCode: 500 },
|
|
16
|
-
MONEY_ACCOUNT_NOT_UPDATED: { code: 'M003', message: 'Failed to update money account', httpCode: 500 },
|
|
17
|
-
MONEY_ACCOUNT_NOT_FOUND: { code: 'M004', message: 'The money account with the specified UUID was not found', httpCode: 404 },
|
|
18
|
-
MONEY_ACCOUNT_WITH_SAME_NAME_ALREADY_EXISTS: {
|
|
19
|
-
code: 'M005',
|
|
20
|
-
message: 'The money account with the specified name already exist',
|
|
21
|
-
httpCode: 400,
|
|
22
|
-
},
|
|
23
|
-
MONEY_ACCOUNT_FETCH_FAILED: { code: 'M006', message: 'Error when retrieving a list of money accounts', httpCode: 500 },
|
|
24
|
-
MONEY_ACCOUNT_HAS_TRANSACTIONS: { code: 'M007', message: 'Money account has transactions', httpCode: 400 },
|
|
25
|
-
MONEY_ACCOUNT_ACCESS_DENIED: { code: 'M008', message: 'Money account access denied', httpCode: 500 },
|
|
26
|
-
//NOTIFICATION
|
|
27
|
-
NOTIFICATION_NOT_CREATED: { code: 'N001', message: 'Failed to create Notification', httpCode: 500 },
|
|
28
|
-
NOTIFICATION_NOT_FOUND: { code: 'N002', message: 'Notification not found', httpCode: 400 },
|
|
29
|
-
NOTIFICATION_NOT_UPDATED: { code: 'N003', message: 'Failed to update Notification', httpCode: 500 },
|
|
30
|
-
NOTIFICATION_FETCH_FAILED: { code: 'N004', message: 'Error when retrieving a notification', httpCode: 500 },
|
|
31
|
-
NOTIFICATION_MAX_RETRIES_REACHED: {
|
|
32
|
-
code: 'N004',
|
|
33
|
-
message: 'Maximum retry attempts reached for notification',
|
|
34
|
-
httpCode: 500,
|
|
35
|
-
},
|
|
36
|
-
NOTIFICATION_UNSUPPORTED_CHANNEL: {
|
|
37
|
-
code: 'N005',
|
|
38
|
-
message: 'Unsupported channel for status checking',
|
|
39
|
-
httpCode: 500,
|
|
40
|
-
},
|
|
41
|
-
NOTIFICATION_ALL_CHANNELS_EXHAUSTED: {
|
|
42
|
-
code: 'N006',
|
|
43
|
-
message: 'All channels exhausted',
|
|
44
|
-
httpCode: 500,
|
|
45
|
-
},
|
|
46
|
-
NOTIFICATION_SEND_FAILED: {
|
|
47
|
-
code: 'N007',
|
|
48
|
-
message: 'Failed to send notification',
|
|
49
|
-
httpCode: 500,
|
|
50
|
-
},
|
|
51
|
-
NOTIFICATION_CHANNEL_CONFIG_NOT_FOUND: {
|
|
52
|
-
code: 'N008',
|
|
53
|
-
message: 'Notification channel config not found',
|
|
54
|
-
httpCode: 500,
|
|
55
|
-
},
|
|
56
|
-
// PRODUCT_IMAGE
|
|
57
|
-
PRODUCT_IMAGE_NOT_CREATED: { code: 'PI001', message: 'Failed to create Product Image', httpCode: 500 },
|
|
58
|
-
PRODUCT_IMAGE_NOT_DELETED: { code: 'PI002', message: 'Failed to delete Product Image', httpCode: 500 },
|
|
59
|
-
PRODUCT_IMAGE_NOT_UPDATED: { code: 'PI003', message: 'Failed to update Product Image', httpCode: 500 },
|
|
60
|
-
PRODUCT_IMAGE_NAME_ALREADY_EXISTS: { code: 'PI004', message: 'Product Image name already exists', httpCode: 409 },
|
|
61
|
-
PRODUCT_IMAGE_NOT_FOUND: { code: 'PI005', message: 'Product Image with the specified UUID was not found', httpCode: 404 },
|
|
62
|
-
PRODUCT_IMAGE_FETCH_FAILED: { code: 'PI006', message: 'Error when retrieving a Product Image', httpCode: 500 },
|
|
63
|
-
PRODUCT_IMAGE_FILTERS_VALUES_FETCH_FAILED: {
|
|
64
|
-
code: 'PI007',
|
|
65
|
-
message: 'Error when retrieving a Product Image filters values',
|
|
66
|
-
httpCode: 500,
|
|
67
|
-
},
|
|
68
|
-
PRODUCT_IMAGE_ALIAS_NOT_CREATED: { code: 'PI008', message: 'Failed to create Product Image Alias', httpCode: 500 },
|
|
69
|
-
PRODUCT_IMAGE_ALIAS_NOT_FOUND: { code: 'PI009', message: 'Product Image Alias with the specified UUID was not found', httpCode: 404 },
|
|
70
|
-
PRODUCT_IMAGE_ALIAS_NOT_UPDATED: { code: 'PI011', message: 'Failed to update Product Image Alias', httpCode: 500 },
|
|
71
|
-
PRODUCT_IMAGE_ALIAS_NOT_DELETED: { code: 'PI012', message: 'Failed to delete Product Image Alias', httpCode: 500 },
|
|
72
|
-
PRODUCT_IMAGE_ALIAS_NAME_ALREADY_EXISTS: { code: 'PI013', message: 'Product Image Alias name already exists', httpCode: 409 },
|
|
73
|
-
// SETTINGS
|
|
74
|
-
SETTINGS_NOT_CREATED: { code: 'S001', message: 'Failed to create settings', httpCode: 500 },
|
|
75
|
-
SETTINGS_NOT_DELETED: { code: 'S002', message: 'Failed to delete settings', httpCode: 500 },
|
|
76
|
-
SETTINGS_NOT_UPDATED: { code: 'S003', message: 'Failed to update settings', httpCode: 500 },
|
|
77
|
-
SETTINGS_NOT_FOUND: { code: 'S005', message: 'Settings not found', httpCode: 404 },
|
|
78
|
-
SETTINGS_FETCH_FAILED: { code: 'S006', message: 'Error when retrieving a Settings', httpCode: 500 },
|
|
79
|
-
FORBIDDEN_API: { code: 'A011', message: 'Access denied', httpCode: 403 },
|
|
80
|
-
FAILED_TO_DEFINE_ROLE: { code: 'A008', message: 'User role could not be determined', httpCode: 400 },
|
|
81
|
-
ACCOUNT_WITH_PAYLOAD_NOT_FOUND: { code: 'A016', message: 'Account not be found based on information from the token', httpCode: 404 },
|
|
82
|
-
ORIGIN_HEADER_NOT_FOUND: { code: 'H001', message: 'Origin header of the user current address was not found', httpCode: 404 },
|
|
83
|
-
//USER
|
|
84
|
-
USER_FETCH_FAILED: { code: 'U002', message: 'Error when retrieving a user', httpCode: 500 },
|
|
85
|
-
USER_NOT_UPDATED: { code: 'U003', message: 'Failed to update user', httpCode: 500 },
|
|
86
|
-
NO_USER: { code: 'U004', message: 'User not found', httpCode: 404 },
|
|
87
|
-
USER_NOT_ACTIVATED: { code: 'U005', message: 'Account has not been activated', httpCode: 403 },
|
|
88
|
-
USER_ALREADY_EXISTS: { code: 'U006', message: 'User with this email or phone already exists', httpCode: 409 },
|
|
89
|
-
USER_NOT_FOUND: { code: 'U007', message: 'User with this email not found', httpCode: 404 },
|
|
90
|
-
USER_CREATE_FAILED: { code: 'U008', message: 'Failed to create user', httpCode: 500 },
|
|
91
|
-
USER_UPDATE_FAILED: { code: 'U009', message: 'Failed to update user', httpCode: 400 },
|
|
92
|
-
USER_LIST_FETCH_FAILED: { code: 'U010', message: 'Failed fetching user list', httpCode: 500 },
|
|
93
|
-
USER_NO_BELONGS_COMPANY: { code: 'U011', message: 'This user does not belongs to the company ', httpCode: 403 },
|
|
94
|
-
USER_MISSING_EMAIL_OR_PHONE: { code: 'U012', message: 'Не указан email или телефон ', httpCode: 400 },
|
|
95
|
-
USER_ROLE_MISMATCH_CLIENT: { code: 'U013', message: 'User does not have BUYER role required for client login', httpCode: 403 },
|
|
96
|
-
USER_ROLE_MISMATCH_EMPLOYEE: { code: 'U014', message: 'User does not have employee role required for employee login', httpCode: 403 },
|
|
97
|
-
//AUTH
|
|
98
|
-
FAILED_TO_UPDATE: { code: 'A010', message: 'User update failed', httpCode: 500 },
|
|
99
|
-
RESTORE_TOKEN_ERROR: { code: 'A012', message: 'Invalid recovery token', httpCode: 500 },
|
|
100
|
-
INVALID_RESTORE_TOKEN: { code: 'A013', message: 'Invalid recovery token', httpCode: 400 },
|
|
101
|
-
ERROR_WHILE_RESET_PASSWORD: { code: 'A014', message: 'Password reset failed', httpCode: 500 },
|
|
102
|
-
ERROR_WHILE_UPDATE_PASSWORD: { code: 'A017', message: 'Password update failed', httpCode: 500 },
|
|
103
|
-
NO_TOKEN: { code: 'A004', message: 'Token has already been used or does not exist', httpCode: 404 },
|
|
104
|
-
TOKEN_WAS_CHANGED: {
|
|
105
|
-
code: 'A015',
|
|
106
|
-
message: 'The token cannot be decrypted. Perhaps the integrity of the token has been violated or it has been changed',
|
|
107
|
-
httpCode: 400,
|
|
108
|
-
},
|
|
109
|
-
INCORRECT_CREDENTIALS: { code: 'A002', message: 'Invalid email or password', httpCode: 400 },
|
|
110
|
-
ALREADY_REGISTERED: { code: 'A001', message: 'User already exists', httpCode: 409 },
|
|
111
|
-
INVALID_USER_TYPE: { code: 'A018', message: 'Invalid user type', httpCode: 400 },
|
|
112
|
-
TOO_MANY_REQUESTS: { code: 'A019', message: 'Too many requests', httpCode: 429 },
|
|
113
|
-
//DOMAIN
|
|
114
|
-
DOMAIN_LIST_FETCH_FAILED: { code: 'D001', message: 'Error when retrieving a domain list', httpCode: 500 },
|
|
115
|
-
DOMAIN_FETCH_FAILED: { code: 'D002', message: 'Error when retrieving a domain', httpCode: 500 },
|
|
116
|
-
DOMAIN_ALREADY_EXIST: { code: 'D003', message: 'Domain with name already exists', httpCode: 409 },
|
|
117
|
-
DOMAIN_NOT_FOUND: { code: 'D004', message: 'Domain with name not found', httpCode: 404 },
|
|
118
|
-
DOMAIN_NOT_CREATED: { code: 'D005', message: 'Failed to create domain', httpCode: 500 },
|
|
119
|
-
DOMAIN_NOT_UPDATED: { code: 'D006', message: 'Failed to update domain', httpCode: 500 },
|
|
120
|
-
DOMAIN_NOT_DELETED: { code: 'D007', message: 'Failed to delete domain', httpCode: 500 },
|
|
121
|
-
DOMAIN_IS_INVALID: { code: 'D008', message: 'Domain is invalid', httpCode: 403 },
|
|
122
|
-
//CLIENT ERROR
|
|
123
|
-
CLIENT_NOT_CREATED: { code: 'CL001', message: 'Failed to create client', httpCode: 500 },
|
|
124
|
-
CLIENT_NOT_DELETED: { code: 'CL002', message: 'Failed to delete client', httpCode: 500 },
|
|
125
|
-
CLIENT_NOT_UPDATED: { code: 'CL003', message: 'Failed to update client', httpCode: 500 },
|
|
126
|
-
CLIENT_NOT_FOUND: { code: 'CL004', message: 'The client with the specified UUID was not found', httpCode: 404 },
|
|
127
|
-
CLIENT_FETCH_FAILED: { code: 'CL005', message: 'Error when retrieving a list of clients', httpCode: 500 },
|
|
128
|
-
CLIENT_ALREADY_EXIST: { code: 'CL006', message: 'Client with this properties already exist', httpCode: 409 },
|
|
129
|
-
CLIENT_EMAIL_ALREADY_EXIST: { code: 'CL007', message: 'Client with this email already exist', httpCode: 409 },
|
|
130
|
-
CLIENT_PHONE_ALREADY_EXIST: { code: 'CL008', message: 'Client with this phone already exist', httpCode: 409 },
|
|
131
|
-
CLIENT_WITH_SAME_USER_ALREADY_EXIST: { code: 'CL009', message: 'Client with same user already exist', httpCode: 409 },
|
|
132
|
-
CLIENT_NOT_REGISTERED: { code: 'CL010', message: 'Failed to register client', httpCode: 500 },
|
|
133
|
-
CLIENT_ORDER_COUNTS_FETCH_FAILED: {
|
|
134
|
-
code: 'CL011',
|
|
135
|
-
message: 'Error when retrieving a list with count of client orders',
|
|
136
|
-
httpCode: 500,
|
|
137
|
-
},
|
|
138
|
-
CLIENT_BALANCE_NOT_UPDATED: { code: 'CL012', message: 'Failed to update client balance', httpCode: 500 },
|
|
139
|
-
CLIENT_HAS_ORDERS: { code: 'CL025', message: 'Client has orders', httpCode: 400 },
|
|
140
|
-
CLIENT_IMPORT_FAILED: {
|
|
141
|
-
code: 'CL024',
|
|
142
|
-
message: 'Ошибка при импорте клиентов',
|
|
143
|
-
httpCode: 400,
|
|
144
|
-
},
|
|
145
|
-
CLIENT_FILTERS_VALUES_FETCH_FAILED: {
|
|
146
|
-
code: 'CL026',
|
|
147
|
-
message: 'Error when retrieving a client filters values',
|
|
148
|
-
httpCode: 500,
|
|
149
|
-
},
|
|
150
|
-
CLIENT_MARKING_NOT_CREATED: { code: 'CL027', message: 'Client marking not created', httpCode: 500 },
|
|
151
|
-
CLIENT_MARKING_NOT_DELETED: { code: 'CL028', message: 'Client marking not deleted', httpCode: 500 },
|
|
152
|
-
CLIENT_MARKING_ALREADY_EXISTS: { code: 'CL029', message: 'Client marking already exists', httpCode: 409 },
|
|
153
|
-
CLIENT_MARKING_NOT_UPDATED: { code: 'CL030', message: 'Client marking not updated', httpCode: 500 },
|
|
154
|
-
CLIENT_HAS_TRANSACTIONS: { code: 'CL031', message: 'Client has transactions', httpCode: 400 },
|
|
155
|
-
CLIENT_DEBT_LIST_FETCH_FAILED: { code: 'CL032', message: 'Failed to get client debt list', httpCode: 500 },
|
|
156
|
-
CLIENT_OVERDUE_STATUS_FETCH_FAILED: { code: 'CL033', message: 'Failed to get client overdue status', httpCode: 500 },
|
|
157
|
-
//INDIVIDUAL PROFILE
|
|
158
|
-
CLIENT_INDIVIDUAL_PROFILE_NOT_CREATED: { code: 'CL013', message: 'Failed to create client individual profile', httpCode: 500 },
|
|
159
|
-
CLIENT_INDIVIDUAL_PROFILE_ALREADY_EXIST: { code: 'CL014', message: 'Individual profile already exist', httpCode: 409 },
|
|
160
|
-
CLIENT_INDIVIDUAL_PROFILE_NOT_FOUND: { code: 'CL015', message: 'Individual profile not founded', httpCode: 404 },
|
|
161
|
-
CLIENT_INDIVIDUAL_PROFILE_NOT_DELETED: { code: 'CL016', message: 'Individual profile not deleted', httpCode: 500 },
|
|
162
|
-
CLIENT_INDIVIDUAL_PROFILE_NOT_UPDATED: { code: 'CL017', message: 'Individual profile not updated', httpCode: 500 },
|
|
163
|
-
//LEGAL PROFILE
|
|
164
|
-
CLIENT_LEGAL_PROFILE_NOT_CREATED: { code: 'CL018', message: 'Failed to create client legal profile', httpCode: 500 },
|
|
165
|
-
CLIENT_LEGAL_PROFILE_ALREADY_EXIST: { code: 'CL019', message: 'Legal profile already exist', httpCode: 409 },
|
|
166
|
-
CLIENT_LEGAL_PROFILE_NOT_FOUND: { code: 'CL020', message: 'Legal profile not founded', httpCode: 404 },
|
|
167
|
-
CLIENT_LEGAL_PROFILE_NOT_DELETED: { code: 'CL021', message: 'Legal profile not deleted', httpCode: 500 },
|
|
168
|
-
CLIENT_LEGAL_PROFILE_NOT_UPDATED: { code: 'CL022', message: 'Legal profile not updated', httpCode: 500 },
|
|
169
|
-
CLIENT_CALCULATE_FAILED: { code: 'CL023', message: 'Failed calculate by client', httpCode: 500 },
|
|
170
|
-
//BRANCH
|
|
171
|
-
BRANCH_NOT_CREATED: { code: 'B001', message: 'Failed to create branch', httpCode: 500 },
|
|
172
|
-
BRANCH_ALREADY_EXIST: { code: 'B002', message: 'Branch already exist', httpCode: 409 },
|
|
173
|
-
BRANCH_FETCH_FAILED: { code: 'B003', message: 'Error when retrieving a branch', httpCode: 500 },
|
|
174
|
-
BRANCH_NOT_FOUND: { code: 'B004', message: 'Branch not founded', httpCode: 404 },
|
|
175
|
-
BRANCH_NOT_DELETED: { code: 'B005', message: 'Branch not deleted', httpCode: 500 },
|
|
176
|
-
BRANCH_NOT_UPDATED: { code: 'B006', message: 'Branch not updated', httpCode: 500 },
|
|
177
|
-
//PRODUCT
|
|
178
|
-
PRODUCT_NOT_CREATED: { code: 'P001', message: 'Failed to create product', httpCode: 500 },
|
|
179
|
-
PRODUCT_FETCH_FAILED: { code: 'P002', message: 'Error when retrieving a product', httpCode: 500 },
|
|
180
|
-
PRODUCT_NOT_FOUND: { code: 'P003', message: 'Product not founded', httpCode: 404 },
|
|
181
|
-
PRODUCT_NOT_DELETED: { code: 'P004', message: 'Product not deleted', httpCode: 500 },
|
|
182
|
-
PRODUCT_NOT_UPDATED: { code: 'P005', message: 'Product not updated', httpCode: 500 },
|
|
183
|
-
PRODUCT_GROUP_NOT_UPDATED: { code: 'P006', message: 'Product group not updated', httpCode: 500 },
|
|
184
|
-
PRODUCT_GROUP_NOT_DELETED: { code: 'P007', message: 'Product group not deleted', httpCode: 500 },
|
|
185
|
-
PRODUCT_MANY_NOT_CREATED: { code: 'P008', message: 'Product many not created', httpCode: 500 },
|
|
186
|
-
PRODUCT_CLIENT_LIST_FILTERS_FETCH_FAILED: {
|
|
187
|
-
code: 'P009',
|
|
188
|
-
message: 'Error when retrieving a product client list filters',
|
|
189
|
-
httpCode: 500,
|
|
190
|
-
},
|
|
191
|
-
PRODUCTS_IN_ORDER: { code: 'P010', message: 'Product not deleted, product are in order', httpCode: 400 },
|
|
192
|
-
PRODUCT_QR_NOT_FETCHED: { code: 'P011', message: 'Product QR not fetched', httpCode: 500 },
|
|
193
|
-
PRODUCT_QUANTITY_NEGATIVE: { code: 'P012', message: 'Product quantity is negative', httpCode: 400 },
|
|
194
|
-
PRODUCT_BALANCE_NEGATIVE: { code: 'P013', message: 'Product balance is negative', httpCode: 400 },
|
|
195
|
-
PRODUCT_PRICE_NEGATIVE: { code: 'P014', message: 'Product price is negative', httpCode: 400 },
|
|
196
|
-
PRODUCT_COST_PRICE_NEGATIVE: { code: 'P015', message: 'Product cost price is negative', httpCode: 400 },
|
|
197
|
-
PRODUCT_GROUP_UPDATE_BATCH_MAX_SIZE_EXCEEDED: {
|
|
198
|
-
code: 'P016',
|
|
199
|
-
message: 'Batch size exceeded',
|
|
200
|
-
httpCode: 400,
|
|
201
|
-
},
|
|
202
|
-
PRODUCT_MULTIPLICITY_OPTION_NOT_FOUND: { code: 'P017', message: 'Product multiplicity option not found', httpCode: 404 },
|
|
203
|
-
PRODUCT_MULTIPLICITY_OPTION_USED_IN_ORDER: { code: 'P018', message: 'Product multiplicity option used in order', httpCode: 400 },
|
|
204
|
-
PRODUCT_MULTIPLICITY_OPTION_NOT_DELETED: { code: 'P019', message: 'Failed to delete product multiplicity option', httpCode: 500 },
|
|
205
|
-
PRODUCT_IMAGE_MATCHING_FAILED: { code: 'P020', message: 'Failed to match images for products', httpCode: 500 },
|
|
206
|
-
// PRODUCT CONFIGURATION
|
|
207
|
-
PRODUCT_CONFIGURATION_NOT_CREATED: { code: 'PCFG001', message: 'Failed to create product configuration', httpCode: 500 },
|
|
208
|
-
PRODUCT_CONFIGURATION_NOT_DELETED: { code: 'PCFG002', message: 'Failed to delete product configuration', httpCode: 500 },
|
|
209
|
-
PRODUCT_CONFIGURATION_NOT_UPDATED: { code: 'PCFG003', message: 'Failed to update product configuration', httpCode: 500 },
|
|
210
|
-
PRODUCT_CONFIGURATION_NOT_FOUND: { code: 'PCFG004', message: 'Product configuration not found', httpCode: 404 },
|
|
211
|
-
PRODUCT_CONFIGURATION_FETCH_FAILED: { code: 'PCFG005', message: 'Error when retrieving a product configuration', httpCode: 500 },
|
|
212
|
-
//CONSIGNMENT
|
|
213
|
-
CONSIGNMENT_NOT_CREATED: { code: 'CON001', message: 'Failed to create consignment', httpCode: 500 },
|
|
214
|
-
CONSIGNMENT_FETCH_FAILED: { code: 'CON002', message: 'Error when retrieving a consignment', httpCode: 500 },
|
|
215
|
-
CONSIGNMENT_NOT_FOUND: { code: 'CON003', message: 'Consignment not founded', httpCode: 404 },
|
|
216
|
-
CONSIGNMENT_NOT_DELETED: { code: 'CON004', message: 'Consignment not deleted', httpCode: 500 },
|
|
217
|
-
CONSIGNMENT_NOT_UPDATED: { code: 'CON005', message: 'Consignment not updated', httpCode: 500 },
|
|
218
|
-
CONSIGNMENT_PRODUCTS_IN_ORDER: { code: 'CON006', message: 'Consignment not deleted, products are in order', httpCode: 400 },
|
|
219
|
-
CONSIGNMENT_EXPORT_FAILED: { code: 'CON007', message: 'Failed to export consignment', httpCode: 500 },
|
|
220
|
-
CONSIGNMENT_IMPORT_FAILED: { code: 'CON008', message: 'Failed to import consignment', httpCode: 500 },
|
|
221
|
-
CONSIGNMENT_IMPORT_VALIDATION_FAILED: { code: 'CON009', message: 'Validation error for consignment import', httpCode: 400 },
|
|
222
|
-
CONSIGNMENT_DISTRIBUTION_FAILED: { code: 'CON010', message: 'Failed to distribute consignment', httpCode: 500 },
|
|
223
|
-
CONSIGNMENT_DISTRIBUTION_ALREADY_EXIST: { code: 'CON011', message: 'Distribution for the consignment already exists', httpCode: 409 },
|
|
224
|
-
CONSIGNMENT_PRODUCTS_SORTED: { code: 'CON012', message: 'Some of the products in the consignment are already sorted', httpCode: 409 },
|
|
225
|
-
CONSIGNMENT_DISTRIBUTION_CHECKING_FAILED: { code: 'CON013', message: 'Failed to checking consignment distribution', httpCode: 500 },
|
|
226
|
-
CONSIGNMENT_FILTERS_VALUES_FAILED: { code: 'CON014', message: 'Failed when retrieving consignment filters values', httpCode: 500 },
|
|
227
|
-
CONSIGNMENT_WRITE_OFF_NOT_EMPTY: { code: 'CON015', message: 'Consignment not deleted, write-off not empty', httpCode: 400 },
|
|
228
|
-
CONSIGNMENT_PRODUCT_UPDATE_FILE_REQUIRED: { code: 'CON016', message: 'File is required', httpCode: 400 },
|
|
229
|
-
CONSIGNMENT_PRODUCT_UPDATE_FILE_TOO_LARGE: { code: 'CON017', message: 'File size too large', httpCode: 400 },
|
|
230
|
-
CONSIGNMENT_PRODUCT_UPDATE_INVALID_CONFIG: { code: 'CON018', message: 'Invalid config format', httpCode: 400 },
|
|
231
|
-
CONSIGNMENT_PRODUCT_UPDATE_NO_DATA_ROWS: { code: 'CON019', message: 'File has no data rows', httpCode: 400 },
|
|
232
|
-
CONSIGNMENT_PRODUCT_UPDATE_TOO_MANY_ROWS: { code: 'CON020', message: 'Too many rows', httpCode: 400 },
|
|
233
|
-
CONSIGNMENT_PRODUCT_UPDATE_DUPLICATE_MATCH: { code: 'CON021', message: 'Multiple matches for row, first used', httpCode: 200 },
|
|
234
|
-
CONSIGNMENT_PRODUCT_UPDATE_ANALYSIS_FAILED: { code: 'CON022', message: 'Update analysis failed', httpCode: 500 },
|
|
235
|
-
CONSIGNMENT_PRODUCT_UPDATE_BATCH_TOO_LARGE: { code: 'CON023', message: 'Batch size too large', httpCode: 400 },
|
|
236
|
-
// CONSIGNMENT-IMPORT-SCHEME
|
|
237
|
-
CONSIGNMENT_IMPORT_SCHEME_NOT_CREATED: { code: 'CS001', message: 'Failed to create consignment import scheme', httpCode: 500 },
|
|
238
|
-
CONSIGNMENT_IMPORT_SCHEME_FETCH_FAILED: { code: 'CS002', message: 'Error when retrieving a consignment import scheme', httpCode: 500 },
|
|
239
|
-
CONSIGNMENT_IMPORT_SCHEME_ALREADY_EXIST: {
|
|
240
|
-
code: 'CS003',
|
|
241
|
-
message: 'Consignment import scheme with the same name already exists',
|
|
242
|
-
httpCode: 409,
|
|
243
|
-
},
|
|
244
|
-
CONSIGNMENT_IMPORT_SCHEME_NOT_FOUND: { code: 'CS004', message: 'Consignment import scheme not founded', httpCode: 404 },
|
|
245
|
-
CONSIGNMENT_IMPORT_SCHEME_NOT_DELETED: { code: 'CS005', message: 'Consignment import scheme not deleted', httpCode: 500 },
|
|
246
|
-
CONSIGNMENT_IMPORT_SCHEME_NOT_UPDATED: { code: 'CS006', message: 'Failed to update consignment import scheme', httpCode: 500 },
|
|
247
|
-
// CONSIGNMENT-IMPORT-SCHEMA-RELATION
|
|
248
|
-
CONSIGNMENT_IMPORT_SCHEMA_RELATION_NOT_CREATED: {
|
|
249
|
-
code: 'CSR001',
|
|
250
|
-
message: 'Failed to create consignment import schema relation',
|
|
251
|
-
httpCode: 500,
|
|
252
|
-
},
|
|
253
|
-
CONSIGNMENT_IMPORT_SCHEMA_RELATION_NOT_UPDATED: {
|
|
254
|
-
code: 'CSR002',
|
|
255
|
-
message: 'Failed to update consignment import schema relation',
|
|
256
|
-
httpCode: 500,
|
|
257
|
-
},
|
|
258
|
-
CONSIGNMENT_IMPORT_SCHEMA_RELATION_FETCH_BY_SHEME_UUID_FAILED: {
|
|
259
|
-
code: 'CSR003',
|
|
260
|
-
message: 'Error when retrieving a consignment import schema relation',
|
|
261
|
-
httpCode: 500,
|
|
262
|
-
},
|
|
263
|
-
// CategoryTemplate
|
|
264
|
-
CATEGORY_TEMPLATE_NOT_CREATED: { code: 'CT001', message: 'Failed to create category template', httpCode: 500 },
|
|
265
|
-
CATEGORY_TEMPLATE_NOT_DELETED: { code: 'CT002', message: 'Failed to delete category template', httpCode: 500 },
|
|
266
|
-
CATEGORY_TEMPLATE_NOT_UPDATED: { code: 'CT003', message: 'Failed to update category template', httpCode: 500 },
|
|
267
|
-
CATEGORY_TEMPLATE_NOT_FOUND: { code: 'CT004', message: 'Category template not found', httpCode: 404 },
|
|
268
|
-
CATEGORY_TEMPLATE_FETCH_FAILED: { code: 'CT005', message: 'Error when retrieving a category template', httpCode: 500 },
|
|
269
|
-
// ProductImageTemplate
|
|
270
|
-
PRODUCT_IMAGE_TEMPLATE_NOT_CREATED: { code: 'PIT001', message: 'Failed to create product image template', httpCode: 500 },
|
|
271
|
-
PRODUCT_IMAGE_TEMPLATE_NOT_DELETED: { code: 'PIT002', message: 'Failed to delete product image template', httpCode: 500 },
|
|
272
|
-
PRODUCT_IMAGE_TEMPLATE_NOT_UPDATED: { code: 'PIT003', message: 'Failed to update product image template', httpCode: 500 },
|
|
273
|
-
PRODUCT_IMAGE_TEMPLATE_NOT_FOUND: { code: 'PIT004', message: 'Product image template not found', httpCode: 404 },
|
|
274
|
-
PRODUCT_IMAGE_TEMPLATE_FETCH_FAILED: { code: 'PIT005', message: 'Error when retrieving a product image template', httpCode: 500 },
|
|
275
|
-
PRODUCT_IMAGE_TEMPLATE_SYNC_FAILED: { code: 'PIT006', message: 'Error when sync product image template', httpCode: 500 },
|
|
276
|
-
PRODUCT_IMAGE_GROUP_NOT_DELETED: { code: 'PIT007', message: 'Product image group not deleted', httpCode: 500 },
|
|
277
|
-
PRODUCT_IMAGE_GROUP_NOT_UPDATED: { code: 'PIT008', message: 'Product image group not updated', httpCode: 500 },
|
|
278
|
-
//WRITE OFF
|
|
279
|
-
WRITE_OFF_NOT_CREATED: { code: 'W001', message: 'Failed to create write off', httpCode: 500 },
|
|
280
|
-
WRITE_OFF_FETCH_FAILED: { code: 'W002', message: 'Error when retrieving a write off', httpCode: 500 },
|
|
281
|
-
WRITE_OFF_NOT_FOUND: { code: 'W003', message: 'Write off not founded', httpCode: 404 },
|
|
282
|
-
WRITE_OFF_NOT_DELETED: { code: 'W004', message: 'Write off not deleted', httpCode: 500 },
|
|
283
|
-
WRITE_OFF_NOT_UPDATED: { code: 'W005', message: 'Write off not updated', httpCode: 500 },
|
|
284
|
-
WRITE_OFF_IMAGE_NOT_CREATED: { code: 'W006', message: 'Failed to create write off image', httpCode: 500 },
|
|
285
|
-
WRITE_OFF_IMAGE_NOT_DELETED: { code: 'W007', message: 'Write off image not deleted', httpCode: 500 },
|
|
286
|
-
WRITE_OFF_REASONS_FETCH_FAILED: { code: 'W008', message: 'Error when retrieving a write off reason list', httpCode: 500 },
|
|
287
|
-
WRITE_OFF_INSUFFICIENT_PRODUCT_BALANCE: {
|
|
288
|
-
code: 'W009',
|
|
289
|
-
message: 'Insufficient product balance when creating a write-off for the product',
|
|
290
|
-
httpCode: 500,
|
|
291
|
-
},
|
|
292
|
-
WRITE_OFF_INSUFFICIENT_ORDER_PRODUCT_BALANCE: {
|
|
293
|
-
code: 'W010',
|
|
294
|
-
message: 'Insufficient order-product balance when creating a write-off from order',
|
|
295
|
-
httpCode: 500,
|
|
296
|
-
},
|
|
297
|
-
WRITE_OFF_MUST_BE_PENDING: {
|
|
298
|
-
code: 'W011',
|
|
299
|
-
message: 'To create a write-off, the status must be PENDING.',
|
|
300
|
-
httpCode: 500,
|
|
301
|
-
},
|
|
302
|
-
WRITE_OFF_SUM_NOT_FETCHED: {
|
|
303
|
-
code: 'W012',
|
|
304
|
-
message: 'Write-off sum not fetched',
|
|
305
|
-
httpCode: 500,
|
|
306
|
-
},
|
|
307
|
-
WRITE_OFF_IMAGE_FETCH_FAILED: { code: 'W013', message: 'Error when retrieving a write-off-image', httpCode: 500 },
|
|
308
|
-
WRITE_OFF_ARCHIVE_TOTAL_SIZE_EXCEEDED: { code: 'W014', message: 'Total size of write-off archive exceeded', httpCode: 500 },
|
|
309
|
-
//ORDER
|
|
310
|
-
ORDER_NOT_CREATED: { code: 'O001', message: 'Failed to create order', httpCode: 500 },
|
|
311
|
-
ORDER_FETCH_FAILED: { code: 'O002', message: 'Error when retrieving a order', httpCode: 500 },
|
|
312
|
-
ORDER_NOT_FOUND: { code: 'O003', message: 'Order not found', httpCode: 404 },
|
|
313
|
-
ORDER_NOT_DELETED: { code: 'O004', message: 'Order not deleted', httpCode: 500 },
|
|
314
|
-
ORDER_NOT_UPDATED: { code: 'O005', message: 'Order not updated', httpCode: 500 },
|
|
315
|
-
ORDER_NOT_COPIED: { code: 'O006', message: 'Order not copied', httpCode: 500 },
|
|
316
|
-
ORDER_GROUP_NOT_UPDATED: { code: 'O007', message: 'Order group not updated', httpCode: 500 },
|
|
317
|
-
ORDER_GROUP_NOT_DELETED: { code: 'O008', message: 'Order group not deleted', httpCode: 500 },
|
|
318
|
-
ORDER_EXPORT_INVOICE_FAILED: { code: 'O009', message: 'Order export invoice failed', httpCode: 500 },
|
|
319
|
-
ORDER_SEND_INVOICE_FAILED: { code: 'O010', message: 'Order send invoice failed', httpCode: 500 },
|
|
320
|
-
CART_NOT_FOUND: { code: 'O011', message: 'Cart not found', httpCode: 404 },
|
|
321
|
-
CART_ALREADY_EXIST: { code: 'O012', message: 'Cart already exist', httpCode: 409 },
|
|
322
|
-
CART_NOT_DELETED: { code: 'O013', message: 'Cart not deleted', httpCode: 500 },
|
|
323
|
-
ORDER_SEND_INVOICE_FAILED_NO_EMAIL: { code: 'O014', message: 'Order send invoice failed, client does not have email', httpCode: 500 },
|
|
324
|
-
ORDER_SEND_INVOICE_FAILED_NO_PHONE: { code: 'O017', message: 'Order send invoice failed, client does not have phone', httpCode: 500 },
|
|
325
|
-
ORDER_SEND_INVOICE_FAILED_NO_CONTACTS: {
|
|
326
|
-
code: 'O025',
|
|
327
|
-
message: 'Order send invoice failed, client does not have contact methods',
|
|
328
|
-
httpCode: 500,
|
|
329
|
-
},
|
|
330
|
-
ORDER_MODIFY_NOT_ALLOWED: { code: 'O018', message: 'Modifying the order is not allowed', httpCode: 500 },
|
|
331
|
-
ORDER_SPLIT_ERROR: { code: 'O015', message: 'Error splitting orders', httpCode: 500 },
|
|
332
|
-
ORDER_PAYMENT_NOT_EMPTY: { code: 'O016', message: 'Order not deleted, the order contains payments', httpCode: 400 },
|
|
333
|
-
ORDER_SPLIT_NOT_COMPLETELY_ERROR: { code: 'O019', message: 'Error splitting orders, not all orders were split', httpCode: 500 },
|
|
334
|
-
ORDER_TOTAL_COST_NEGATIVE: { code: 'O020', message: 'Order total cost is negative', httpCode: 400 },
|
|
335
|
-
ORDER_SUBTOTAL_NEGATIVE: { code: 'O021', message: 'Order subtotal is negative', httpCode: 400 },
|
|
336
|
-
ORDER_DELIVERY_COST_NEGATIVE: { code: 'O022', message: 'Order delivery cost is negative', httpCode: 400 },
|
|
337
|
-
ORDER_TOTAL_QUANTITY_NEGATIVE: { code: 'O023', message: 'Order total quantity is negative', httpCode: 400 },
|
|
338
|
-
ORDER_VALUE_NEGATIVE: { code: 'O024', message: 'Order value is negative', httpCode: 400 },
|
|
339
|
-
ORDER_MERGE_FAILED: { code: 'O026', message: 'Order merge failed', httpCode: 500 },
|
|
340
|
-
ORDER_MERGE_NOT_ENOUGH_ORDERS: { code: 'O027', message: 'Not enough orders to merge', httpCode: 400 },
|
|
341
|
-
ORDER_MERGE_STATUS_NOT_ALLOWED: { code: 'O028', message: 'Order status is not allowed for merge', httpCode: 400 },
|
|
342
|
-
ORDER_MERGE_DIFFERENT_STATUSES: { code: 'O029', message: 'All orders must have the same status', httpCode: 400 },
|
|
343
|
-
ORDER_MERGE_HAS_DELIVERY_ROUTE: { code: 'O030', message: 'Order is assigned to a delivery route', httpCode: 400 },
|
|
344
|
-
ORDER_MERGE_HAS_WRITE_OFFS: { code: 'O031', message: 'Order has write-offs', httpCode: 400 },
|
|
345
|
-
ORDER_MERGE_HAS_DISTRIBUTION: { code: 'O032', message: 'Order has products with distribution', httpCode: 400 },
|
|
346
|
-
ORDER_MERGE_BALANCE_STATUS_NOT_ALLOWED: {
|
|
347
|
-
code: 'O033',
|
|
348
|
-
message: 'Order status is balance affecting, merge not allowed',
|
|
349
|
-
httpCode: 400,
|
|
350
|
-
},
|
|
351
|
-
ORDER_MERGE_DELIVERY_MERGE: {
|
|
352
|
-
code: 'O034',
|
|
353
|
-
message: 'Multiple orders have delivery. Comments will be merged, but final delivery cost will be as in the target order.',
|
|
354
|
-
httpCode: 400,
|
|
355
|
-
},
|
|
356
|
-
ORDER_MERGE_DELIVERY_TRANSFER: {
|
|
357
|
-
code: 'O035',
|
|
358
|
-
message: 'Delivery information will be transferred to the target order.',
|
|
359
|
-
httpCode: 400,
|
|
360
|
-
},
|
|
361
|
-
//ORDER DELIVERY
|
|
362
|
-
ORDER_DELIVERY_ALREADY_EXIST: { code: 'OD006', message: 'Delivery for the order already exists', httpCode: 409 },
|
|
363
|
-
ORDER_DELIVERY_NOT_CREATED: { code: 'OD007', message: 'Failed to create order delivery', httpCode: 500 },
|
|
364
|
-
ORDER_DELIVERY_NOT_UPDATED: { code: 'OD008', message: 'Failed to update order delivery', httpCode: 500 },
|
|
365
|
-
ORDER_DELIVERY_NOT_DELETED: { code: 'OD009', message: 'Failed to delete order delivery', httpCode: 500 },
|
|
366
|
-
ORDER_DELIVERY_NOT_EXIST: { code: 'OD010', message: 'Order delivery not exist', httpCode: 400 },
|
|
367
|
-
ORDER_DELIVERY_FETCH_FAILED: { code: 'OD011', message: 'Order delivery fetch failed', httpCode: 500 },
|
|
368
|
-
//ORDER PRODUCT
|
|
369
|
-
ORDER_PRODUCT_NOT_CREATED: { code: 'OP001', message: 'Failed to create product in order', httpCode: 500 },
|
|
370
|
-
ORDER_PRODUCT_FETCH_FAILED: { code: 'OP002', message: 'Error when retrieving a product in order', httpCode: 500 },
|
|
371
|
-
ORDER_PRODUCT_NOT_FOUND: { code: 'OP003', message: 'Product in order not found', httpCode: 404 },
|
|
372
|
-
ORDER_PRODUCT_NOT_DELETED: { code: 'OP004', message: 'Product in order not deleted', httpCode: 500 },
|
|
373
|
-
ORDER_PRODUCT_NOT_UPDATED: { code: 'OP005', message: 'Product in order not updated', httpCode: 500 },
|
|
374
|
-
ORDER_PRODUCT_VALIDATION_FAILED: { code: 'OP006', message: 'Validation error for product in order', httpCode: 500 },
|
|
375
|
-
ORDER_PRODUCT_GROUP_NOT_UPDATED: { code: 'OP007', message: 'Group of product in order not updated', httpCode: 500 },
|
|
376
|
-
ORDER_PRODUCT_GROUP_NOT_DELETED: { code: 'OP008', message: 'Group of product in order not deleted', httpCode: 500 },
|
|
377
|
-
ORDER_PRODUCT_MODIFY_NOT_ALLOWED: { code: 'OP009', message: 'Modifying the product is not allowed', httpCode: 500 },
|
|
378
|
-
ORDER_PRODUCT_MOVE_ERROR: {
|
|
379
|
-
code: 'OP010',
|
|
380
|
-
message: 'The transfer of the product failed; an error occurred during the process',
|
|
381
|
-
httpCode: 500,
|
|
382
|
-
},
|
|
383
|
-
ORDER_PRODUCT_NOT_EXPORTED: {
|
|
384
|
-
code: 'OP011',
|
|
385
|
-
message: 'The export of the product failed; an error occurred during the process',
|
|
386
|
-
httpCode: 500,
|
|
387
|
-
},
|
|
388
|
-
ORDER_PRODUCT_PRICE_NEGATIVE: {
|
|
389
|
-
code: 'OP012',
|
|
390
|
-
message: 'The price of the product is negative',
|
|
391
|
-
httpCode: 500,
|
|
392
|
-
},
|
|
393
|
-
ORDER_PRODUCT_INSUFFICIENT_BALANCE: {
|
|
394
|
-
code: 'OP013',
|
|
395
|
-
message: 'Insufficient product balance when creating a order product',
|
|
396
|
-
httpCode: 500,
|
|
397
|
-
},
|
|
398
|
-
ORDER_PRODUCT_NOT_DELETED_WRITE_OFF: {
|
|
399
|
-
code: 'OP014',
|
|
400
|
-
message: 'The product is not deleted, because it has write-off',
|
|
401
|
-
httpCode: 500,
|
|
402
|
-
},
|
|
403
|
-
//TRANSACTION
|
|
404
|
-
TRANSACTION_NOT_CREATED: { code: 'TR001', message: 'Failed to transaction product', httpCode: 500 },
|
|
405
|
-
TRANSACTION_FETCH_FAILED: { code: 'TR002', message: 'Error when retrieving a transaction', httpCode: 500 },
|
|
406
|
-
TRANSACTION_NOT_FOUND: { code: 'TR003', message: 'Transaction not founded', httpCode: 404 },
|
|
407
|
-
TRANSACTIONS_NOT_FOUND: { code: 'TR004', message: 'Transactions not founded', httpCode: 404 },
|
|
408
|
-
TRANSACTION_NOT_DELETED: { code: 'TR005', message: 'Transaction not deleted', httpCode: 500 },
|
|
409
|
-
TRANSACTION_NOT_UPDATED: { code: 'TR006', message: 'Transaction not updated', httpCode: 500 },
|
|
410
|
-
TRANSACTIONS_EXPORT_FAILED: { code: 'TR007', message: 'Transactions export failed', httpCode: 500 },
|
|
411
|
-
TRANSACTION_COUNT_BY_CRITERIA_FAILED: { code: 'TR008', message: 'Failed to count transactions by criteria', httpCode: 500 },
|
|
412
|
-
TRANSACTION_FETCH_SUM_FAILED: { code: 'TR009', message: 'Failed get sum transaction', httpCode: 500 },
|
|
413
|
-
TRANSACTION_AMOUNT_NEGATIVE: { code: 'TR010', message: 'Transaction amount is negative', httpCode: 400 },
|
|
414
|
-
TRANSACTION_NOT_APPLIED: { code: 'TR011', message: 'Transaction not applied', httpCode: 500 },
|
|
415
|
-
MONEY_ACCOUNT_REQUIRED: { code: 'TR012', message: 'moneyAccountUUID is required to apply bank payment event', httpCode: 400 },
|
|
416
|
-
TRANSACTION_CREATE_FAILED: { code: 'TR013', message: 'Failed to create transaction', httpCode: 500 },
|
|
417
|
-
// CLIENT_PAYMENT_IDENTIFIER
|
|
418
|
-
CLIENT_PAYMENT_IDENTIFIER_NOT_CREATED: { code: 'CPI001', message: 'Failed to create client payment identifier', httpCode: 500 },
|
|
419
|
-
CLIENT_PAYMENT_IDENTIFIER_NOT_DELETED: { code: 'CPI002', message: 'Failed to delete client payment identifier', httpCode: 500 },
|
|
420
|
-
CLIENT_PAYMENT_IDENTIFIER_NOT_FOUND: { code: 'CPI003', message: 'Client payment identifier not found', httpCode: 404 },
|
|
421
|
-
CLIENT_PAYMENT_IDENTIFIER_ALREADY_EXISTS: {
|
|
422
|
-
code: 'CPI004',
|
|
423
|
-
message: 'Client payment identifier with this provider, key and value already exists',
|
|
424
|
-
httpCode: 409,
|
|
425
|
-
},
|
|
426
|
-
CLIENT_PAYMENT_IDENTIFIER_FETCH_FAILED: {
|
|
427
|
-
code: 'CPI005',
|
|
428
|
-
message: 'Failed to fetch client payment identifiers',
|
|
429
|
-
httpCode: 500,
|
|
430
|
-
},
|
|
431
|
-
// BANK_PAYMENT_RULE
|
|
432
|
-
BANK_PAYMENT_RULE_NOT_FOUND: { code: 'BPR001', message: 'Bank payment rule not found', httpCode: 404 },
|
|
433
|
-
BANK_PAYMENT_RULE_NOT_CREATED: { code: 'BPR002', message: 'Failed to create bank payment rule', httpCode: 500 },
|
|
434
|
-
BANK_PAYMENT_RULE_NOT_UPDATED: { code: 'BPR003', message: 'Failed to update bank payment rule', httpCode: 500 },
|
|
435
|
-
BANK_PAYMENT_RULE_NOT_DELETED: { code: 'BPR004', message: 'Failed to delete bank payment rule', httpCode: 500 },
|
|
436
|
-
BANK_PAYMENT_RULE_PRIORITY_CONFLICT: {
|
|
437
|
-
code: 'BPR005',
|
|
438
|
-
message: 'A bank payment rule with the same priority already exists',
|
|
439
|
-
httpCode: 409,
|
|
440
|
-
},
|
|
441
|
-
BANK_PAYMENT_RULE_FETCH_FAILED: { code: 'BPR006', message: 'Failed to fetch bank payment rules', httpCode: 500 },
|
|
442
|
-
// BANK_PAYMENT_EVENT
|
|
443
|
-
BANK_EVENT_NOT_FOUND: { code: 'BPE001', message: 'Bank payment event not found', httpCode: 404 },
|
|
444
|
-
BANK_EVENT_LIST_FAILED: { code: 'BPE002', message: 'Error when retrieving bank payment events list', httpCode: 500 },
|
|
445
|
-
BANK_EVENT_GET_FAILED: { code: 'BPE003', message: 'Error when retrieving bank payment event', httpCode: 500 },
|
|
446
|
-
BANK_EVENT_FETCH_FAILED: { code: 'BPE004', message: 'Failed to fetch bank payment event', httpCode: 500 },
|
|
447
|
-
BANK_EVENT_UPSERT_FAILED: { code: 'BPE005', message: 'Failed to upsert bank payment event', httpCode: 500 },
|
|
448
|
-
BANK_EVENT_UNSUPPORTED_STATUS: { code: 'BPE006', message: 'Unsupported bank payment event status', httpCode: 400 },
|
|
449
|
-
BANK_EVENT_ALREADY_APPLIED: { code: 'BPE007', message: 'Bank payment event already applied', httpCode: 400 },
|
|
450
|
-
BANK_EVENT_UPDATE_STATUS_FAILED: { code: 'BPE008', message: 'Failed to update bank payment event status', httpCode: 500 },
|
|
451
|
-
BANK_EVENT_NOT_FOUND_OR_NOT_NEW: {
|
|
452
|
-
code: 'BPE009',
|
|
453
|
-
message: 'Bank payment event not found or not in NEW status',
|
|
454
|
-
httpCode: 400,
|
|
455
|
-
},
|
|
456
|
-
BANK_PAYMENT_APPLY_FAILED: { code: 'BPE010', message: 'Failed to apply bank payment event', httpCode: 500 },
|
|
457
|
-
BANK_EVENT_MATCH_SUGGESTIONS_FAILED: {
|
|
458
|
-
code: 'BPE011',
|
|
459
|
-
message: 'Failed to get match suggestions for bank payment event',
|
|
460
|
-
httpCode: 500,
|
|
461
|
-
},
|
|
462
|
-
// EXCEL
|
|
463
|
-
EXCEL_CREATE_FAILED: { code: 'E001', message: 'Failed to create excel', httpCode: 500 },
|
|
464
|
-
EXCEL_GET_DATA_BY_BUFFER_FAILED: { code: 'E002', message: 'Failed to get buffer', httpCode: 500 },
|
|
465
|
-
EXCEL_FAILED_TO_PARSE: { code: 'E003', message: 'Failed to parse excel', httpCode: 400 },
|
|
466
|
-
//CATEGORY
|
|
467
|
-
CATEGORY_ALREADY_EXIST: { code: 'CA008', message: 'Category with this name already exist', httpCode: 409 },
|
|
468
|
-
CATEGORY_NOT_CREATED: { code: 'CA009', message: 'Failed to create category', httpCode: 500 },
|
|
469
|
-
CATEGORY_NOT_FOUND: { code: 'CA010', message: 'Category with this relation not found', httpCode: 404 },
|
|
470
|
-
CATEGORY_NOT_DELETED: { code: 'CA011', message: 'Failed to delete category', httpCode: 500 },
|
|
471
|
-
CATEGORY_NOT_GET_BY_UUID: { code: 'CA012', message: 'Failed to get category by uuid', httpCode: 500 },
|
|
472
|
-
CATEGORY_FETCH_FAILED: { code: 'CA013', message: 'Error when retrieving a list of categories', httpCode: 500 },
|
|
473
|
-
CATEGORY_NOT_UPDATED: { code: 'CA014', message: 'Failed to update category', httpCode: 500 },
|
|
474
|
-
CATEGORY_CREATE_MANY_FAILED: { code: 'CA015', message: 'Failed to create many categories', httpCode: 500 },
|
|
475
|
-
CATEGORY_USE_IN_PRODUCT: { code: 'CA016', message: 'Category use in product', httpCode: 500 },
|
|
476
|
-
// CATEGORY ALIAS
|
|
477
|
-
ALIAS_NOT_CREATED: { code: 'AL009', message: 'Failed to create category-category-category-alias', httpCode: 500 },
|
|
478
|
-
ALIAS_NOT_FOUND: { code: 'AL010', message: 'Alias with this relation not found', httpCode: 404 },
|
|
479
|
-
ALIAS_NOT_DELETED: { code: 'AL011', message: 'Failed to delete category-category-category-alias', httpCode: 500 },
|
|
480
|
-
ALIAS_NOT_UPDATED: { code: 'AL012', message: 'Failed to update category-category-category-alias', httpCode: 500 },
|
|
481
|
-
ALIAS_NOT_GET_BY_UUID: { code: 'AL013', message: 'Failed to get category-category-category-alias by uuid', httpCode: 500 },
|
|
482
|
-
ALIAS_NOT_GET_BY_CATEGORY_UUID: {
|
|
483
|
-
code: 'AL014',
|
|
484
|
-
message: 'Failed to get category-category-category-alias by category uuid',
|
|
485
|
-
httpCode: 500,
|
|
486
|
-
},
|
|
487
|
-
ALIAS_BY_CRITERIA_FETCH_FAILED: { code: 'AL015', message: 'Error when retrieving a category-alias by criteria', httpCode: 500 },
|
|
488
|
-
ALIAS_FETCH_FAILED: { code: 'AL016', message: 'Error when retrieving a list of category-alias', httpCode: 500 },
|
|
489
|
-
ALIAS_WITH_SAME_NAME_ALREADY_EXISTS: { code: 'AL017', message: 'Alias with this name already exist', httpCode: 400 },
|
|
490
|
-
// TYPE
|
|
491
|
-
TYPE_NOT_CREATED: { code: 'T009', message: 'Failed to create type', httpCode: 500 },
|
|
492
|
-
TYPE_NOT_FOUND: { code: 'T010', message: 'Type with this relation not found', httpCode: 404 },
|
|
493
|
-
TYPE_NOT_DELETED: { code: 'T011', message: 'Failed to delete type', httpCode: 500 },
|
|
494
|
-
TYPE_NOT_GET_BY_UUID: { code: 'T012', message: 'Failed to get type by uuid', httpCode: 500 },
|
|
495
|
-
TYPE_FETCH_FAILED: { code: 'T013', message: 'Error when retrieving a list of types', httpCode: 500 },
|
|
496
|
-
TYPE_NOT_UPDATED: { code: 'T014', message: 'Failed to update type', httpCode: 500 },
|
|
497
|
-
TYPE_NOT_CREATED_MANY: { code: 'T015', message: 'Failed to create types', httpCode: 500 },
|
|
498
|
-
TYPE_HAS_CATEGORY: { code: 'T016', message: 'Type has category', httpCode: 400 },
|
|
499
|
-
//FILES
|
|
500
|
-
FILE_NOT_FOUND: { code: 'F001', message: 'File not found', httpCode: 404 },
|
|
501
|
-
FILE_NOT_UPLOADED: { code: 'F002', message: 'File not uploaded', httpCode: 500 },
|
|
502
|
-
FILE_NOT_DELETED: { code: 'F003', message: 'File not deleted', httpCode: 500 },
|
|
503
|
-
FILE_SIZE_LIMIT_EXCEEDED: { code: 'F004', message: 'File size limit exceeded', httpCode: 400 },
|
|
504
|
-
FILE_GET_INFO_FAILED: { code: 'F005', message: 'Failed to get file info', httpCode: 500 },
|
|
505
|
-
FILE_NOT_SUPPORTED: { code: 'F006', message: 'File not supported', httpCode: 400 },
|
|
506
|
-
FILE_S3_FORBIDDEN: { code: 'F007', message: 'File S3 forbidden', httpCode: 403 },
|
|
507
|
-
//WHATSAPP
|
|
508
|
-
WHATSAPP_TEXT_NOT_SENT: { code: 'W001', message: 'Failed to send text message', httpCode: 500 },
|
|
509
|
-
WHATSAPP_FILE_NOT_SENT: { code: 'W002', message: 'Failed to send file message', httpCode: 500 },
|
|
510
|
-
WHATSAPP_FETCH_FAILED_NOTIFICATIONS: { code: 'W003', message: 'Failed to fetch notifications', httpCode: 500 },
|
|
511
|
-
WHATSAPP_PHONE_NOT_FOUND: { code: 'W004', message: 'Phone number not found or invalid', httpCode: 400 },
|
|
512
|
-
WHATSAPP_STATUS_CHECK_FAILED: { code: 'W005', message: 'Failed to check WhatsApp message status', httpCode: 500 },
|
|
513
|
-
WHATSAPP_MESSAGE_NOT_FOUND: { code: 'W006', message: 'Message not found in notification', httpCode: 400 },
|
|
514
|
-
WHATSAPP_CHANNEL_NOT_IN_USE: { code: 'W007', message: 'WhatsApp channel is not in use', httpCode: 410 },
|
|
515
|
-
//MAX MESSENGER
|
|
516
|
-
MAX_MESSENGER_TEXT_NOT_SENT: { code: 'MX001', message: 'Failed to send text message via Max Messenger', httpCode: 500 },
|
|
517
|
-
MAX_MESSENGER_FILE_NOT_SENT: { code: 'MX002', message: 'Failed to send file message via Max Messenger', httpCode: 500 },
|
|
518
|
-
MAX_MESSENGER_MESSAGE_MISSING: { code: 'MX003', message: 'Message is missing for Max Messenger notification', httpCode: 400 },
|
|
519
|
-
// TELEGRAM BOT
|
|
520
|
-
TELEGRAM_BOT_MESSAGE_NOT_SENT: { code: 'TB001', message: 'Failed to send text message via Telegram Bot', httpCode: 500 },
|
|
521
|
-
TELEGRAM_BOT_TOKEN_MISSING: { code: 'TB002', message: 'Telegram Bot token is missing in environment variables', httpCode: 500 },
|
|
522
|
-
TELEGRAM_BOT_NAME_MISSING: { code: 'TB003', message: 'Telegram Bot Name is not configured', httpCode: 500 },
|
|
523
|
-
TELEGRAM_CHAT_ID_MISSING: { code: 'TB004', message: 'Telegram chat_id is missing and profile not linked', httpCode: 400 },
|
|
524
|
-
//PACKAGE
|
|
525
|
-
PACKAGE_NOT_CREATED: { code: 'PA001', message: 'Failed to create package', httpCode: 500 },
|
|
526
|
-
PACKAGE_NOT_DELETED: { code: 'PA002', message: 'Failed to delete package', httpCode: 500 },
|
|
527
|
-
PACKAGE_NOT_UPDATED: { code: 'PA003', message: 'Failed to update package', httpCode: 500 },
|
|
528
|
-
PACKAGE_NOT_FOUND: { code: 'PA004', message: 'The package with the specified UUID was not found', httpCode: 404 },
|
|
529
|
-
PACKAGE_FETCH_FAILED: { code: 'PA006', message: 'Error when retrieving a list of packages', httpCode: 500 },
|
|
530
|
-
PACKAGE_NOT_CREATED_MANY: { code: 'PA007', message: 'Failed to create many packages', httpCode: 500 },
|
|
531
|
-
PACKAGE_NOT_VALIDATED: { code: 'PA008', message: 'The package not validated', httpCode: 500 },
|
|
532
|
-
PACKAGE_NOT_REORDERED: { code: 'PA009', message: 'The package not reordered', httpCode: 500 },
|
|
533
|
-
//PRODUCT IN PACKAGE
|
|
534
|
-
PRODUCT_IN_PACKAGE_NOT_CREATED: { code: 'PIP001', message: 'Failed to create product in package', httpCode: 500 },
|
|
535
|
-
PRODUCT_IN_PACKAGE_NOT_DELETED: { code: 'PIP002', message: 'Failed to delete product in package', httpCode: 500 },
|
|
536
|
-
PRODUCT_IN_PACKAGE_NOT_UPDATED: { code: 'PIP003', message: 'Failed to update product in package', httpCode: 500 },
|
|
537
|
-
PRODUCT_IN_PACKAGE_NOT_FOUND: {
|
|
538
|
-
code: 'PIP004',
|
|
539
|
-
message: 'The product in package with the specified UUID was not found',
|
|
540
|
-
httpCode: 404,
|
|
541
|
-
},
|
|
542
|
-
PRODUCT_IN_PACKAGE_FETCH_FAILED: { code: 'PIP006', message: 'Error when retrieving a list of products in package', httpCode: 500 },
|
|
543
|
-
PRODUCT_IN_PACKAGE_NOT_CREATED_MANY: { code: 'PIP007', message: 'Failed to create many products in package', httpCode: 500 },
|
|
544
|
-
PRODUCT_IN_PACKAGE_NOT_DELETE_ORDER_PRODUCT: { code: 'PIP008', message: 'Failed to delete order product in package', httpCode: 500 },
|
|
545
|
-
PRODUCT_IN_PACKAGE_NOT_DELETE_ORDER_PRODUCT_NEGATIVE_BALANCE: {
|
|
546
|
-
code: 'PIP009',
|
|
547
|
-
message: 'Failed to delete order product in package, negative balance',
|
|
548
|
-
httpCode: 500,
|
|
549
|
-
},
|
|
550
|
-
//DISTRIBUTION
|
|
551
|
-
DISTRIBUTION_NOT_CREATED: { code: 'DIS001', message: 'Failed to create distribution', httpCode: 500 },
|
|
552
|
-
DISTRIBUTION_NOT_CREATED_MANY: { code: 'DIS002', message: 'Failed to create distributions', httpCode: 500 },
|
|
553
|
-
DISTRIBUTION_NOT_DELETED: { code: 'DIS003', message: 'Failed to delete distribution', httpCode: 500 },
|
|
554
|
-
DISTRIBUTION_NOT_UPDATED: { code: 'DIS004', message: 'Failed to update distribution', httpCode: 500 },
|
|
555
|
-
DISTRIBUTION_NOT_FOUND: { code: 'DIS005', message: 'The distribution with the specified UUID was not found', httpCode: 404 },
|
|
556
|
-
DISTRIBUTION_FETCH_FAILED: { code: 'DIS006', message: 'Error when retrieving a list of distributions', httpCode: 500 },
|
|
557
|
-
DISTRIBUTION_NOT_CREATED_INSUFFICIENT_QUANTITY: {
|
|
558
|
-
code: 'DIS007',
|
|
559
|
-
message: 'Failed to create distribution, insufficient quantity in package',
|
|
560
|
-
httpCode: 400,
|
|
561
|
-
},
|
|
562
|
-
DISTRIBUTION_NOT_CREATED_ORDER_PRODUCT_DISTRIBUTED: {
|
|
563
|
-
code: 'DIS008',
|
|
564
|
-
message: 'Failed to create distribution, order product already distributed',
|
|
565
|
-
httpCode: 400,
|
|
566
|
-
},
|
|
567
|
-
DISTRIBUTION_NOT_VALIDATED: {
|
|
568
|
-
code: 'DIS009',
|
|
569
|
-
message: 'Failed to validate distribution',
|
|
570
|
-
httpCode: 500,
|
|
571
|
-
},
|
|
572
|
-
DISTRIBUTION_EXPORT_FAILED: { code: 'DIS010', message: 'Failed to export distribution', httpCode: 500 },
|
|
573
|
-
//PRE ORDER
|
|
574
|
-
PRE_ORDER_NOT_CREATED: { code: 'PO001', message: 'Failed to create pre order', httpCode: 500 },
|
|
575
|
-
PRE_ORDER_NOT_DELETED: { code: 'PO002', message: 'Failed to delete pre order', httpCode: 500 },
|
|
576
|
-
PRE_ORDER_MANY_NOT_DELETED: { code: 'PO002', message: 'Failed to delete pre orders', httpCode: 500 },
|
|
577
|
-
PRE_ORDER_NOT_UPDATED: { code: 'PO003', message: 'Failed to update pre order', httpCode: 500 },
|
|
578
|
-
PRE_ORDER_NOT_FOUND: { code: 'PO004', message: 'The pre order with the specified UUID was not found', httpCode: 404 },
|
|
579
|
-
PRE_ORDER_FETCH_FAILED: { code: 'PO006', message: 'Error when retrieving a list of pre orders', httpCode: 500 },
|
|
580
|
-
PRE_ORDER_ALREADY_EXIST: { code: 'PO007', message: 'Pre order with this name already exist', httpCode: 409 },
|
|
581
|
-
PRE_ORDER_INVALID_STATUS: { code: 'PO008', message: 'Invalid pre order status', httpCode: 400 },
|
|
582
|
-
PRE_ORDER_EXPORT_FAILED: { code: 'PO005', message: 'Failed to export pre order', httpCode: 500 },
|
|
583
|
-
PRE_ORDER_FROM_STANDING_ORDER_FAILED: {
|
|
584
|
-
code: 'PO009',
|
|
585
|
-
message: 'Failed to create pre order from standing order',
|
|
586
|
-
httpCode: 500,
|
|
587
|
-
},
|
|
588
|
-
PRE_ORDER_NOT_FOUND_FULL_BY_UUID_LIST: {
|
|
589
|
-
code: 'PO010',
|
|
590
|
-
message: 'The pre order with the specified UUID list was not found or not full',
|
|
591
|
-
httpCode: 404,
|
|
592
|
-
},
|
|
593
|
-
PRE_ORDER_COPY_ANALYSIS_FAILED: {
|
|
594
|
-
code: 'PO011',
|
|
595
|
-
message: 'Failed to analyze copy pre order',
|
|
596
|
-
httpCode: 500,
|
|
597
|
-
},
|
|
598
|
-
PRE_ORDER_COPY_FAILED: {
|
|
599
|
-
code: 'PO012',
|
|
600
|
-
message: 'Failed to copy pre order',
|
|
601
|
-
httpCode: 500,
|
|
602
|
-
},
|
|
603
|
-
PRE_ORDER_MERGE_FAILED: { code: 'PO013', message: 'Pre-order merge failed', httpCode: 500 },
|
|
604
|
-
PRE_ORDER_MERGE_ANALYSIS_FAILED: { code: 'PO014', message: 'Pre-order merge analysis failed', httpCode: 500 },
|
|
605
|
-
PRE_ORDER_MERGE_NO_VALID_GROUPS: { code: 'PO015', message: 'No valid groups found for merge', httpCode: 400 },
|
|
606
|
-
PRE_ORDER_MERGE_NO_COLLECTION: { code: 'PO016', message: 'All pre-orders must belong to a collection for merge', httpCode: 400 },
|
|
607
|
-
PRE_ORDER_MERGE_NOT_ENOUGH: { code: 'PO017', message: 'At least 2 pre-orders required for merge', httpCode: 400 },
|
|
608
|
-
PRE_ORDER_MERGE_STATUS_NOT_ALLOWED: { code: 'PO018', message: 'Pre-order status not allowed for merge', httpCode: 400 },
|
|
609
|
-
PRE_ORDER_MERGE_DIFFERENT_STATUSES: { code: 'PO019', message: 'Pre-orders have different statuses', httpCode: 400 },
|
|
610
|
-
PRE_ORDER_MERGE_DIFFERENT_COLLECTIONS: { code: 'PO020', message: 'All pre-orders must belong to the same collection', httpCode: 400 },
|
|
611
|
-
PRE_ORDER_MERGE_HAS_EMPTY: { code: 'PO021', message: 'Some pre-orders are empty and will be deleted', httpCode: 400 },
|
|
612
|
-
PRE_ORDER_MERGE_TAGS_CONCATENATE: { code: 'PO022', message: 'Pre-orders have different tags', httpCode: 400 },
|
|
613
|
-
PRE_ORDER_MERGE_COMMENTS_CONCATENATE: { code: 'PO023', message: 'Pre-orders have different comments', httpCode: 400 },
|
|
614
|
-
STANDING_ORDER_CLIENT_NAME_REQUIRED: {
|
|
615
|
-
code: 'SO001',
|
|
616
|
-
message: 'Standing order client name is required',
|
|
617
|
-
httpCode: 400,
|
|
618
|
-
},
|
|
619
|
-
STANDING_ORDER_CATEGORY_REQUIRED: {
|
|
620
|
-
code: 'SO002',
|
|
621
|
-
message: 'Standing order category is required',
|
|
622
|
-
httpCode: 400,
|
|
623
|
-
},
|
|
624
|
-
STANDING_ORDER_NAME_REQUIRED: {
|
|
625
|
-
code: 'SO003',
|
|
626
|
-
message: 'Standing order name is required',
|
|
627
|
-
httpCode: 400,
|
|
628
|
-
},
|
|
629
|
-
STANDING_ORDER_QUANTITY_REQUIRED: {
|
|
630
|
-
code: 'SO004',
|
|
631
|
-
message: 'Standing order quantity is required',
|
|
632
|
-
httpCode: 400,
|
|
633
|
-
},
|
|
634
|
-
PRE_ORDER_INVALID_COLLECTION: {
|
|
635
|
-
code: 'PO013',
|
|
636
|
-
message: 'Pre order invalid collection',
|
|
637
|
-
httpCode: 400,
|
|
638
|
-
},
|
|
639
|
-
//PRE ORDER PRODUCT
|
|
640
|
-
PRE_ORDER_PRODUCT_NOT_CREATED: { code: 'POP001', message: 'Failed to create pre order product', httpCode: 500 },
|
|
641
|
-
PRE_ORDER_PRODUCT_NOT_DELETED: { code: 'POP002', message: 'Failed to delete pre order product', httpCode: 500 },
|
|
642
|
-
PRE_ORDER_PRODUCT_NOT_UPDATED: { code: 'POP003', message: 'Failed to update pre order product', httpCode: 500 },
|
|
643
|
-
PRE_ORDER_PRODUCT_NOT_FOUND: {
|
|
644
|
-
code: 'POP004',
|
|
645
|
-
message: 'The pre order product with the specified UUID was not found',
|
|
646
|
-
httpCode: 404,
|
|
647
|
-
},
|
|
648
|
-
PRE_ORDER_PRODUCT_FETCH_FAILED: { code: 'POP005', message: 'Error when retrieving a list of pre order products', httpCode: 500 },
|
|
649
|
-
PRE_ORDER_PRODUCT_UPDATE_MANY_BY_PRE_ORDER_COLLECTION_ITEM_FAILED: {
|
|
650
|
-
code: 'POP006',
|
|
651
|
-
message: 'Failed to update many pre order products by pre order collection item',
|
|
652
|
-
httpCode: 500,
|
|
653
|
-
},
|
|
654
|
-
PRE_ORDER_PRODUCT_NEGATIVE_QUANTITY: {
|
|
655
|
-
code: 'POP007',
|
|
656
|
-
message: 'Pre order product quantity is negative',
|
|
657
|
-
httpCode: 400,
|
|
658
|
-
},
|
|
659
|
-
PRE_ORDER_PRODUCT_NAME_REQUIRED: {
|
|
660
|
-
code: 'POP008',
|
|
661
|
-
message: 'Pre order product name is required',
|
|
662
|
-
httpCode: 400,
|
|
663
|
-
},
|
|
664
|
-
// PRE ORDER COLLECTION
|
|
665
|
-
PRE_ORDER_COLLECTION_NOT_CREATED: { code: 'POC001', message: 'Failed to create pre order collection', httpCode: 500 },
|
|
666
|
-
PRE_ORDER_COLLECTION_NOT_DELETED: { code: 'POC002', message: 'Failed to delete pre order collection', httpCode: 500 },
|
|
667
|
-
PRE_ORDER_COLLECTION_NOT_UPDATED: { code: 'POC003', message: 'Failed to update pre order collection', httpCode: 500 },
|
|
668
|
-
PRE_ORDER_COLLECTION_NOT_FOUND: {
|
|
669
|
-
code: 'POC004',
|
|
670
|
-
message: 'The pre order collection with the specified UUID was not found',
|
|
671
|
-
httpCode: 404,
|
|
672
|
-
},
|
|
673
|
-
PRE_ORDER_COLLECTION_FETCH_FAILED: { code: 'POC006', message: 'Error when retrieving a list of pre order collections', httpCode: 500 },
|
|
674
|
-
PRE_ORDER_COLLECTION_ALREADY_EXIST: { code: 'POC007', message: 'Pre order collection with this name already exist', httpCode: 409 },
|
|
675
|
-
PRE_ORDER_COLLECTION_COPY_FAILED: { code: 'POC008', message: 'Failed to copy pre order collection', httpCode: 500 },
|
|
676
|
-
PRE_ORDER_COLLECTION_WITH_CATEGORIES_FETCH_FAILED: {
|
|
677
|
-
code: 'POC009',
|
|
678
|
-
message: 'Error when retrieving a list of pre order collections with categories',
|
|
679
|
-
httpCode: 500,
|
|
680
|
-
},
|
|
681
|
-
PRE_ORDER_COLLECTION_ACCESS_DENIED: {
|
|
682
|
-
code: 'POC010',
|
|
683
|
-
message: 'Access to pre-order collection denied',
|
|
684
|
-
httpCode: 403,
|
|
685
|
-
},
|
|
686
|
-
PRE_ORDER_COLLECTION_HAS_PRE_ORDERS: {
|
|
687
|
-
code: 'POC011',
|
|
688
|
-
message: 'Cannot delete pre-order collection with existing pre-orders',
|
|
689
|
-
httpCode: 400,
|
|
690
|
-
},
|
|
691
|
-
PRE_ORDER_COLLECTION_SYSTEM_CATALOG_CANNOT_BE_DELETED: {
|
|
692
|
-
code: 'POC013',
|
|
693
|
-
message: 'System standing-order catalog cannot be deleted',
|
|
694
|
-
httpCode: 400,
|
|
695
|
-
},
|
|
696
|
-
PRE_ORDER_COLLECTION_SYSTEM_CATALOG_CANNOT_BE_COPIED: {
|
|
697
|
-
code: 'POC014',
|
|
698
|
-
message: 'System standing-order catalog cannot be copied',
|
|
699
|
-
httpCode: 400,
|
|
700
|
-
},
|
|
701
|
-
PRE_ORDER_COLLECTION_IMAGE_MATCHING_FAILED: {
|
|
702
|
-
code: 'POC012',
|
|
703
|
-
message: 'Failed to match images for pre order collection',
|
|
704
|
-
httpCode: 500,
|
|
705
|
-
},
|
|
706
|
-
// PRE ORDER COLLECTION ITEM
|
|
707
|
-
PRE_ORDER_COLLECTION_ITEM_NOT_CREATED: {
|
|
708
|
-
code: 'POCI001',
|
|
709
|
-
message: 'Failed to create pre order collection item',
|
|
710
|
-
httpCode: 500,
|
|
711
|
-
},
|
|
712
|
-
PRE_ORDER_COLLECTION_ITEM_NOT_DELETED: {
|
|
713
|
-
code: 'POCI002',
|
|
714
|
-
message: 'Failed to delete pre order collection item',
|
|
715
|
-
httpCode: 500,
|
|
716
|
-
},
|
|
717
|
-
PRE_ORDER_COLLECTION_ITEM_NOT_UPDATED: {
|
|
718
|
-
code: 'POCI003',
|
|
719
|
-
message: 'Failed to update pre order collection item',
|
|
720
|
-
httpCode: 500,
|
|
721
|
-
},
|
|
722
|
-
PRE_ORDER_COLLECTION_ITEM_NOT_UPDATED_MANY: {
|
|
723
|
-
code: 'POCI004',
|
|
724
|
-
message: 'Failed to update many pre order collection items',
|
|
725
|
-
httpCode: 500,
|
|
726
|
-
},
|
|
727
|
-
PRE_ORDER_COLLECTION_ITEM_NOT_FOUND: {
|
|
728
|
-
code: 'POCI005',
|
|
729
|
-
message: 'The pre order collection item with the specified UUID was not found',
|
|
730
|
-
httpCode: 404,
|
|
731
|
-
},
|
|
732
|
-
PRE_ORDER_COLLECTION_ITEM_FETCH_FAILED: {
|
|
733
|
-
code: 'POCI006',
|
|
734
|
-
message: 'Error when retrieving a list of pre order collection items',
|
|
735
|
-
httpCode: 500,
|
|
736
|
-
},
|
|
737
|
-
PRE_ORDER_COLLECTION_ITEM_ALREADY_EXIST: {
|
|
738
|
-
code: 'POCI007',
|
|
739
|
-
message: 'Pre order collection item with this name already exist',
|
|
740
|
-
httpCode: 409,
|
|
741
|
-
},
|
|
742
|
-
PRE_ORDER_COLLECTION_ITEM_CREATE_MANY_FAILED: {
|
|
743
|
-
code: 'POCI008',
|
|
744
|
-
message: 'Failed to create many pre order collection items',
|
|
745
|
-
httpCode: 500,
|
|
746
|
-
},
|
|
747
|
-
PRE_ORDER_COLLECTION_ITEM_INSUFFICIENT_BALANCE: {
|
|
748
|
-
code: 'POCI009',
|
|
749
|
-
message: 'Insufficient balance in pre order collection item',
|
|
750
|
-
httpCode: 400,
|
|
751
|
-
},
|
|
752
|
-
PRE_ORDER_COLLECTION_ITEM_LIST_FILTER_VALUES_FETCH_FAILED: {
|
|
753
|
-
code: 'POCI010',
|
|
754
|
-
message: 'Error when retrieving a list of pre order collection item list filter values',
|
|
755
|
-
httpCode: 500,
|
|
756
|
-
},
|
|
757
|
-
PRE_ORDER_COLLECTION_ITEM_FAILED_TO_ENABLE_ALL: {
|
|
758
|
-
code: 'POCI011',
|
|
759
|
-
message: 'Failed to enable all pre order collection items',
|
|
760
|
-
httpCode: 500,
|
|
761
|
-
},
|
|
762
|
-
PRE_ORDER_COLLECTION_ITEM_FAILED_TO_DISABLE_ALL: {
|
|
763
|
-
code: 'POCI012',
|
|
764
|
-
message: 'Failed to disable all pre order collection items',
|
|
765
|
-
httpCode: 500,
|
|
766
|
-
},
|
|
767
|
-
PRE_ORDER_COLLECTION_ITEM_GROUP_DELETE_FAILED: {
|
|
768
|
-
code: 'POCI013',
|
|
769
|
-
message: 'Failed to delete group pre order collection item',
|
|
770
|
-
httpCode: 500,
|
|
771
|
-
},
|
|
772
|
-
PRE_ORDER_COLLECTION_ITEM_GROUP_UPDATE_FAILED: {
|
|
773
|
-
code: 'POCI014',
|
|
774
|
-
message: 'Failed to update group pre order collection item',
|
|
775
|
-
httpCode: 500,
|
|
776
|
-
},
|
|
777
|
-
PRE_ORDER_COLLECTION_ITEM_IMPORT_FAILED: { code: 'POCI015', message: 'Failed to import pre order collection item', httpCode: 400 },
|
|
778
|
-
PRE_ORDER_COLLECTION_ITEM_HAS_PRE_ORDER_PRODUCT: {
|
|
779
|
-
code: 'POCI016',
|
|
780
|
-
message: 'Pre order collection item has pre order product',
|
|
781
|
-
httpCode: 400,
|
|
782
|
-
},
|
|
783
|
-
PRE_ORDER_COLLECTION_ITEM_EXPORT_FAILED: { code: 'POCI017', message: 'Failed to export pre order collection item', httpCode: 500 },
|
|
784
|
-
PRE_ORDER_COLLECTION_ITEM_MULTIPLICITY_OPTION_USED_IN_PRE_ORDER: {
|
|
785
|
-
code: 'POCI018',
|
|
786
|
-
message: 'Multiplicity option used in pre order',
|
|
787
|
-
httpCode: 400,
|
|
788
|
-
},
|
|
789
|
-
PRE_ORDER_COLLECTION_ITEM_MULTIPLICITY_OPTION_NOT_DELETED: {
|
|
790
|
-
code: 'POCI019',
|
|
791
|
-
message: 'Failed to delete multiplicity option',
|
|
792
|
-
httpCode: 500,
|
|
793
|
-
},
|
|
794
|
-
PRE_ORDER_COLLECTION_ITEM_MOVE_TARGET_NOT_FOUND: {
|
|
795
|
-
code: 'POCI020',
|
|
796
|
-
message: 'Target pre order collection not found',
|
|
797
|
-
httpCode: 404,
|
|
798
|
-
},
|
|
799
|
-
PRE_ORDER_COLLECTION_ITEM_MOVE_SAME_COLLECTION: {
|
|
800
|
-
code: 'POCI021',
|
|
801
|
-
message: 'Target collection must differ from source collection',
|
|
802
|
-
httpCode: 400,
|
|
803
|
-
},
|
|
804
|
-
PRE_ORDER_COLLECTION_ITEM_MOVE_BATCH_LIMIT_EXCEEDED: {
|
|
805
|
-
code: 'POCI022',
|
|
806
|
-
message: 'Move batch size limit exceeded',
|
|
807
|
-
httpCode: 400,
|
|
808
|
-
},
|
|
809
|
-
PRE_ORDER_COLLECTION_ITEM_MOVE_ITEMS_NOT_FOUND: {
|
|
810
|
-
code: 'POCI023',
|
|
811
|
-
message: 'Some items not found or not in source collection',
|
|
812
|
-
httpCode: 400,
|
|
813
|
-
},
|
|
814
|
-
PRE_ORDER_COLLECTION_ITEM_MOVE_FAILED: {
|
|
815
|
-
code: 'POCI024',
|
|
816
|
-
message: 'Failed to move pre order collection items',
|
|
817
|
-
httpCode: 500,
|
|
818
|
-
},
|
|
819
|
-
// EMPLOYEE SCHEDULE
|
|
820
|
-
EMPLOYEE_SCHEDULE_NOT_CREATED: { code: 'ES001', message: 'Failed to create employee schedule', httpCode: 500 },
|
|
821
|
-
EMPLOYEE_SCHEDULE_NOT_DELETED: { code: 'ES002', message: 'Failed to delete employee schedule', httpCode: 500 },
|
|
822
|
-
EMPLOYEE_SCHEDULE_NOT_UPDATED: { code: 'ES003', message: 'Failed to update employee schedule', httpCode: 500 },
|
|
823
|
-
EMPLOYEE_SCHEDULE_FETCH_FAILED: { code: 'ES004', message: 'Error when retrieving employee schedules', httpCode: 500 },
|
|
824
|
-
// WORK SESSION
|
|
825
|
-
WORK_SESSION_NOT_CREATED: { code: 'WS001', message: 'Failed to create work session', httpCode: 500 },
|
|
826
|
-
WORK_SESSION_NOT_DELETED: { code: 'WS002', message: 'Failed to delete work session', httpCode: 500 },
|
|
827
|
-
WORK_SESSION_NOT_UPDATED: { code: 'WS003', message: 'Failed to update work session', httpCode: 500 },
|
|
828
|
-
WORK_SESSION_FETCH_FAILED: { code: 'WS004', message: 'Error when retrieving employee schedules', httpCode: 500 },
|
|
829
|
-
// DISCOUNT RULES
|
|
830
|
-
DISCOUNT_RULES_NOT_CREATED: { code: 'DR001', message: 'Failed to create discount-rules', httpCode: 500 },
|
|
831
|
-
DISCOUNT_RULES_NOT_DELETED: { code: 'DR002', message: 'Failed to delete discount-rules', httpCode: 500 },
|
|
832
|
-
DISCOUNT_RULES_NOT_UPDATED: { code: 'DR003', message: 'Failed to update discount-rules', httpCode: 500 },
|
|
833
|
-
DISCOUNT_RULES_FETCH_FAILED: { code: 'DR004', message: 'Error when retrieving discount-rules', httpCode: 500 },
|
|
834
|
-
// ACTION LOG
|
|
835
|
-
ACTION_LOG_NOT_CREATED: { code: 'ALG001', message: 'Failed to create action-log', httpCode: 500 },
|
|
836
|
-
ACTION_LOG_FETCH_FAILED: { code: 'ALG002', message: 'Error when retrieving action-log', httpCode: 500 },
|
|
837
|
-
ACTION_LOG_ENTITY_NOT_FOUND: { code: 'ALG003', message: 'Error the entity action-log not found ', httpCode: 500 },
|
|
838
|
-
// KASSA
|
|
839
|
-
KASSA_NOT_CREATED: { code: 'K001', message: 'Failed to create kassa document', httpCode: 500 },
|
|
840
|
-
// RECEIPT SPLIT
|
|
841
|
-
RECEIPT_SPLIT_FAILED: { code: 'RS001', message: 'Failed to receipt split', httpCode: 500 },
|
|
842
|
-
// REPORT
|
|
843
|
-
REPORT_FETCH_FAILED: { code: 'REP001', message: 'Failed to fetch report', httpCode: 500 },
|
|
844
|
-
REPORT_EXPORT_FAILED: { code: 'REP002', message: 'Failed to export report', httpCode: 500 },
|
|
845
|
-
REPORT_NO_DATA: { code: 'REP003', message: 'No data available for the selected period', httpCode: 404 },
|
|
846
|
-
// AUTH GATEWAY
|
|
847
|
-
AUTH_GATEWAY_VOICE_FAILED: { code: 'AG001', message: 'Failed to send code via voice call', httpCode: 500 },
|
|
848
|
-
AUTH_GATEWAY_TELEGRAM_FAILED: { code: 'AG002', message: 'Failed to send code via Telegram', httpCode: 500 },
|
|
849
|
-
AUTH_GATEWAY_WHATSAPP_FAILED: { code: 'AG003', message: 'Failed to send code via WhatsApp', httpCode: 500 },
|
|
850
|
-
AUTH_GATEWAY_ALL_CHANNELS_FAILED: { code: 'AG004', message: 'Failed to send code through available channels', httpCode: 500 },
|
|
851
|
-
AUTH_GATEWAY_INVALID_PHONE: { code: 'AG005', message: 'Invalid phone number format', httpCode: 400 },
|
|
852
|
-
// SMS GATEWAY
|
|
853
|
-
SMS_GATEWAY_SEND_FAILED: { code: 'SG001', message: 'Failed to send SMS message', httpCode: 500 },
|
|
854
|
-
SMS_GATEWAY_INVALID_PHONE: { code: 'SG002', message: 'Invalid phone number format', httpCode: 400 },
|
|
855
|
-
SMS_GATEWAY_COUNTRY_NOT_SUPPORTED: { code: 'SG003', message: 'SMS sending to this country is not supported', httpCode: 400 },
|
|
856
|
-
SMS_GATEWAY_MESSAGE_TOO_LONG: { code: 'SG004', message: 'Message is too long. Maximum length is 800 characters', httpCode: 400 },
|
|
857
|
-
SMS_GATEWAY_VALIDATION_FAILED: { code: 'SG005', message: 'Validation failed', httpCode: 400 },
|
|
858
|
-
SMS_GATEWAY_STATUS_CHECK_FAILED: { code: 'SG006', message: 'Failed to check SMS status', httpCode: 500 },
|
|
859
|
-
// NOTISEND
|
|
860
|
-
NOTISEND_VOICE_SEND_FAILED: { code: 'NV001', message: 'Failed to send voice code', httpCode: 500 },
|
|
861
|
-
NOTISEND_VOICE_INVALID_CODE: { code: 'NV002', message: 'Invalid code format', httpCode: 400 },
|
|
862
|
-
NOTISEND_VOICE_INVALID_PHONE: { code: 'NV003', message: 'Only Russian mobile phone numbers are supported', httpCode: 400 },
|
|
863
|
-
NOTISEND_TG_INVALID_CODE: { code: 'NV004', message: 'Invalid code format', httpCode: 400 },
|
|
864
|
-
NOTISEND_TG_SEND_FAILED: { code: 'NV005', message: 'Failed to send telegram code', httpCode: 500 },
|
|
865
|
-
NOTISEND_VOICE_STATUS_CHECK_FAILED: { code: 'NV006', message: 'Failed to check voice status', httpCode: 500 },
|
|
866
|
-
NOTISEND_TG_STATUS_CHECK_FAILED: { code: 'NV007', message: 'Failed to check telegram status', httpCode: 500 },
|
|
867
|
-
// DELIVERY ROUTE
|
|
868
|
-
DELIVERY_ROUTE_NOT_CREATED: { code: 'DLR001', message: 'Failed to create delivery route', httpCode: 500 },
|
|
869
|
-
DELIVERY_ROUTE_NOT_FOUND: { code: 'DLR002', message: 'Delivery route not found', httpCode: 404 },
|
|
870
|
-
DELIVERY_ROUTE_NOT_DELETED: { code: 'DLR003', message: 'Failed to delete delivery route', httpCode: 500 },
|
|
871
|
-
DELIVERY_ROUTE_NOT_UPDATED: { code: 'DLR004', message: 'Failed to update delivery route', httpCode: 500 },
|
|
872
|
-
DELIVERY_ROUTE_FETCH_FAILED: { code: 'DLR005', message: 'Error when retrieving delivery routes', httpCode: 500 },
|
|
873
|
-
FAILED_TO_CREATE: {
|
|
874
|
-
code: 'FAILED_TO_CREATE',
|
|
875
|
-
message: 'Failed to create entity',
|
|
876
|
-
httpCode: 500,
|
|
877
|
-
},
|
|
878
|
-
SECURITY_CODE_CREATE_FAILED: { code: 'SC001', message: 'Failed to create security code', httpCode: 500 },
|
|
879
|
-
SECURITY_CODE_NOT_FOUND: { code: 'SC002', message: 'Security code not found', httpCode: 404 },
|
|
880
|
-
SECURITY_CODE_INVALID: { code: 'SC003', message: 'Security code is invalid', httpCode: 400 },
|
|
881
|
-
SECURITY_CODE_THROTTLED: { code: 'SC004', message: 'Security code creation too frequent', httpCode: 429 },
|
|
882
|
-
// MESSENGER PROFILE
|
|
883
|
-
MESSENGER_VERIFICATION_CODE_NOT_FOUND: { code: 'MP001', message: 'Verification code not found', httpCode: 404 },
|
|
884
|
-
MESSENGER_VERIFICATION_CODE_EXPIRED: { code: 'MP002', message: 'Verification code expired', httpCode: 400 },
|
|
885
|
-
MESSENGER_VERIFICATION_FAILED: { code: 'MP003', message: 'Failed to verify profile', httpCode: 500 },
|
|
886
|
-
MESSENGER_PROFILE_NOT_FOUND: { code: 'MP004', message: 'Profile not found', httpCode: 404 },
|
|
887
|
-
MESSENGER_PROFILE_UNLINK_FAILED: { code: 'MP005', message: 'Failed to unlink profile', httpCode: 500 },
|
|
888
|
-
MESSENGER_PROFILE_GET_FAILED: { code: 'MP006', message: 'Failed to get profile', httpCode: 500 },
|
|
889
|
-
MESSENGER_VERIFICATION_CREATION_FAILED: { code: 'MP007', message: 'Failed to create verification code', httpCode: 500 },
|
|
890
|
-
MESSENGER_PROFILE_ALREADY_LINKED: {
|
|
891
|
-
code: 'MP008',
|
|
892
|
-
message: 'Messenger account already linked to another user in this company',
|
|
893
|
-
httpCode: 409,
|
|
894
|
-
},
|
|
895
|
-
IMPORT_DATA_NOT_FOUND: { code: 'ID001', message: 'Import data not found', httpCode: 400 },
|
|
896
|
-
IMPORT_UNKNOWN_ERROR: { code: 'ID002', message: 'Unknown error', httpCode: 500 },
|
|
897
|
-
IMPORT_ITEMS_COUNT_LIMIT_EXCEEDED: { code: 'ID003', message: 'Items count limit exceeded', httpCode: 400 },
|
|
898
|
-
NOT_IMPLEMENTED: { code: 'G001', message: 'Not implemented', httpCode: 501 },
|
|
899
|
-
// SESSION
|
|
900
|
-
SESSION_NOT_FOUND: { code: 'SES001', message: 'Session not found', httpCode: 401 },
|
|
901
|
-
SESSION_REVOKED: { code: 'SES002', message: 'Session has been revoked', httpCode: 401 },
|
|
902
|
-
SESSION_CROSS_TENANT: { code: 'SES003', message: 'Session does not belong to this tenant', httpCode: 401 },
|
|
903
|
-
SESSION_CREATE_FAILED: { code: 'SES004', message: 'Failed to create session', httpCode: 500 },
|
|
904
|
-
SESSION_LIMIT_EXCEEDED: { code: 'SES005', message: 'Maximum number of active sessions exceeded', httpCode: 429 },
|
|
905
|
-
SESSION_REVOKE_FAILED: { code: 'SES006', message: 'Failed to revoke session', httpCode: 500 },
|
|
906
|
-
SESSION_FETCH_FAILED: { code: 'SES007', message: 'Failed to fetch sessions', httpCode: 500 },
|
|
907
|
-
// CSRF
|
|
908
|
-
CSRF_TOKEN_MISSING: { code: 'CSRF001', message: 'CSRF token is missing', httpCode: 403 },
|
|
909
|
-
CSRF_TOKEN_INVALID: { code: 'CSRF002', message: 'CSRF token is invalid', httpCode: 403 },
|
|
910
|
-
// MOBILE AUTH
|
|
911
|
-
MOBILE_BROWSER_REQUEST_REJECTED: { code: 'MOB001', message: 'Browser requests are not allowed on this endpoint', httpCode: 403 },
|
|
912
|
-
MOBILE_RATE_LIMIT_EXCEEDED: { code: 'MOB002', message: 'Too many requests to mobile login endpoint', httpCode: 429 },
|
|
913
|
-
// UNIFIED AUTH (replaces separate USER_NOT_FOUND / INCORRECT_CREDENTIALS for login)
|
|
914
|
-
INVALID_CREDENTIALS: { code: 'AUTH001', message: 'Invalid credentials', httpCode: 401 },
|
|
915
|
-
};
|