sm-types 1.9.9 → 1.9.10

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/errors/index.d.ts CHANGED
@@ -24,3 +24,10 @@ export declare const SUPPORT_ERROR_CODES: {
24
24
  };
25
25
  };
26
26
  };
27
+ export declare const REQUEST_ERRORS: {
28
+ TIMEOUT: string;
29
+ NOT_FOUND: string;
30
+ UNAUTHORIZED: string;
31
+ UNEXPECTED: string;
32
+ BAD_REQUEST: string;
33
+ };
package/errors/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.SUPPORT_ERROR_CODES = exports.USER_ERRORS = void 0;
26
+ exports.REQUEST_ERRORS = exports.SUPPORT_ERROR_CODES = exports.USER_ERRORS = void 0;
27
27
  exports.USER_ERRORS = __importStar(require("./user"));
28
28
  exports.SUPPORT_ERROR_CODES = {
29
29
  SUPPLIER_CONFIG_REPLICATION: {
@@ -50,3 +50,10 @@ exports.SUPPORT_ERROR_CODES = {
50
50
  },
51
51
  },
52
52
  };
53
+ exports.REQUEST_ERRORS = {
54
+ TIMEOUT: 'TIMEOUT',
55
+ NOT_FOUND: 'NOT_FOUND',
56
+ UNAUTHORIZED: 'UNAUTHORIZED',
57
+ UNEXPECTED: 'UNEXPECTED',
58
+ BAD_REQUEST: 'BAD_REQUEST',
59
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.9.9",
6
+ "version": "1.9.10",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",