b2b-platform-utils 1.1.45 → 1.1.46
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/errorsMap.js +7 -0
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -581,6 +581,13 @@ const STATIC_ERRORS = [
|
|
|
581
581
|
httpCode: 403,
|
|
582
582
|
description: "User is under active self-exclusion.",
|
|
583
583
|
},
|
|
584
|
+
{
|
|
585
|
+
errorCode: 1095,
|
|
586
|
+
errorKey: "manualStatusChangeNotAllowedForNonInternalPaymentMethod",
|
|
587
|
+
httpCode: 422,
|
|
588
|
+
description:
|
|
589
|
+
"Manual BO status change is allowed only for internal payment methods.",
|
|
590
|
+
},
|
|
584
591
|
];
|
|
585
592
|
|
|
586
593
|
const STATIC_BY_KEY = Object.fromEntries(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "b2b-platform-utils",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.46",
|
|
4
4
|
"description": "Shared utilities for Node.js microservices: errors map, local cache, logger, numbers, dates, filesystem, media optimization, paginator, slugger, crypto wrapper, sanitize HTML, sorting.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "KingSizer",
|