b2b-platform-utils 1.1.87 → 1.1.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/errorsMap.js +21 -0
  2. package/package.json +1 -1
package/errorsMap.js CHANGED
@@ -1404,6 +1404,27 @@ const STATIC_ERRORS = [
1404
1404
  httpCode: 422,
1405
1405
  description: "Deposit cannot be reconciled in its current state.",
1406
1406
  },
1407
+ {
1408
+ errorCode: 1231,
1409
+ errorKey: "kycProfileDataIncomplete",
1410
+ httpCode: 422,
1411
+ description:
1412
+ "Required manager-configured Profile Data verification fields are incomplete.",
1413
+ },
1414
+ {
1415
+ errorCode: 1232,
1416
+ errorKey: "kycProfileDataApprovalNotAllowed",
1417
+ httpCode: 422,
1418
+ description:
1419
+ "Profile Data verification approval is not allowed for the current KYC policy or domain state.",
1420
+ },
1421
+ {
1422
+ errorCode: 1233,
1423
+ errorKey: "unsupportedVerificationCapability",
1424
+ httpCode: 422,
1425
+ description:
1426
+ "The requested verification capability is not supported by the current operation or runtime.",
1427
+ },
1407
1428
  ];
1408
1429
 
1409
1430
  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.87",
3
+ "version": "1.1.89",
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",