@takeshape/errors 8.190.0 → 8.193.0

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/dist/index.d.ts CHANGED
@@ -26,4 +26,5 @@ export * from './import';
26
26
  export * from './directive-mapping-error';
27
27
  export * from './parameter-serialization-error';
28
28
  export * from './api-indexing';
29
+ export * from './payment-method';
29
30
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAC,yBAAyB,EAAC,MAAM,qBAAqB,CAAC;AACnE,YAAY,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAGjE,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAC,yBAAyB,EAAC,MAAM,qBAAqB,CAAC;AACnE,YAAY,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAGjE,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -340,4 +340,17 @@ Object.keys(_apiIndexing).forEach(function (key) {
340
340
  return _apiIndexing[key];
341
341
  }
342
342
  });
343
+ });
344
+
345
+ var _paymentMethod = require("./payment-method");
346
+
347
+ Object.keys(_paymentMethod).forEach(function (key) {
348
+ if (key === "default" || key === "__esModule") return;
349
+ if (key in exports && exports[key] === _paymentMethod[key]) return;
350
+ Object.defineProperty(exports, key, {
351
+ enumerable: true,
352
+ get: function () {
353
+ return _paymentMethod[key];
354
+ }
355
+ });
343
356
  });
@@ -0,0 +1,7 @@
1
+ import BaseError from './base-error';
2
+ export declare class PaymentMethodError extends BaseError {
3
+ static code: string;
4
+ static statusCode: number;
5
+ constructor(message?: string);
6
+ }
7
+ //# sourceMappingURL=payment-method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payment-method.d.ts","sourceRoot":"","sources":["../../src/payment-method.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C,OAAc,IAAI,SAAwB;IAC1C,OAAc,UAAU,SAAO;gBAEZ,OAAO,SAAyB;CAGpD"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PaymentMethodError = void 0;
7
+
8
+ var _baseError = _interopRequireDefault(require("./base-error"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
+
14
+ class PaymentMethodError extends _baseError.default {
15
+ constructor(message = 'Payment Method Error') {
16
+ super(message);
17
+ }
18
+
19
+ }
20
+
21
+ exports.PaymentMethodError = PaymentMethodError;
22
+
23
+ _defineProperty(PaymentMethodError, "code", 'PaymentMethodError');
24
+
25
+ _defineProperty(PaymentMethodError, "statusCode", 500);
package/es/index.js CHANGED
@@ -27,4 +27,5 @@ export * from './import';
27
27
  export * from './directive-mapping-error';
28
28
  export * from './parameter-serialization-error';
29
29
  export * from './api-indexing';
30
+ export * from './payment-method';
30
31
  export {};
@@ -0,0 +1,13 @@
1
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
+
3
+ import BaseError from './base-error';
4
+ export class PaymentMethodError extends BaseError {
5
+ constructor(message = 'Payment Method Error') {
6
+ super(message);
7
+ }
8
+
9
+ }
10
+
11
+ _defineProperty(PaymentMethodError, "code", 'PaymentMethodError');
12
+
13
+ _defineProperty(PaymentMethodError, "statusCode", 500);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/errors",
3
- "version": "8.190.0",
3
+ "version": "8.193.0",
4
4
  "description": "Custom error objects.",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {