b2b-platform-utils 1.1.90 → 1.1.92
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 +38 -0
- package/package.json +1 -1
package/errorsMap.js
CHANGED
|
@@ -1648,6 +1648,44 @@ const STATIC_ERRORS = [
|
|
|
1648
1648
|
description:
|
|
1649
1649
|
"Responsible Gaming loss exposure is in an invalid state for this operation.",
|
|
1650
1650
|
},
|
|
1651
|
+
{
|
|
1652
|
+
errorCode: 1269,
|
|
1653
|
+
errorKey: "withdrawalCardDataExpired",
|
|
1654
|
+
httpCode: 422,
|
|
1655
|
+
description:
|
|
1656
|
+
"Withdrawal card data expired before payout retry. The withdrawal was declined and held funds were returned.",
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
errorCode: 1270,
|
|
1660
|
+
errorKey: "withdrawalCardDataUnavailable",
|
|
1661
|
+
httpCode: 422,
|
|
1662
|
+
description:
|
|
1663
|
+
"Withdrawal card data is unavailable. Please start a new withdrawal if card details are required again.",
|
|
1664
|
+
},
|
|
1665
|
+
{
|
|
1666
|
+
errorCode: 1271,
|
|
1667
|
+
errorKey: "paymentProviderConfigurationInvalid",
|
|
1668
|
+
httpCode: 500,
|
|
1669
|
+
description: "Payment provider configuration is missing or invalid.",
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
errorCode: 1272,
|
|
1673
|
+
errorKey: "paymentProviderUnavailable",
|
|
1674
|
+
httpCode: 503,
|
|
1675
|
+
description: "Payment provider is temporarily unavailable.",
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
errorCode: 1273,
|
|
1679
|
+
errorKey: "paymentProviderTimeout",
|
|
1680
|
+
httpCode: 504,
|
|
1681
|
+
description: "Payment provider request timed out.",
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
errorCode: 1274,
|
|
1685
|
+
errorKey: "invalidPaymentProviderResponse",
|
|
1686
|
+
httpCode: 502,
|
|
1687
|
+
description: "Payment provider response is invalid or unsupported.",
|
|
1688
|
+
},
|
|
1651
1689
|
];
|
|
1652
1690
|
|
|
1653
1691
|
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.92",
|
|
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",
|