cecon-interfaces 1.4.6 → 1.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  export declare enum EOrderDeliveredBy {
2
2
  merchant = "MERCHANT",
3
- mottu = "MOBYO ENTREGAS",
3
+ mobyo = "MOBYO ENTREGAS",
4
4
  lalamove = "LALAMOVE"
5
5
  }
@@ -4,6 +4,6 @@ exports.EOrderDeliveredBy = void 0;
4
4
  var EOrderDeliveredBy;
5
5
  (function (EOrderDeliveredBy) {
6
6
  EOrderDeliveredBy["merchant"] = "MERCHANT";
7
- EOrderDeliveredBy["mottu"] = "MOBYO ENTREGAS";
7
+ EOrderDeliveredBy["mobyo"] = "MOBYO ENTREGAS";
8
8
  EOrderDeliveredBy["lalamove"] = "LALAMOVE";
9
9
  })(EOrderDeliveredBy || (exports.EOrderDeliveredBy = EOrderDeliveredBy = {}));
@@ -1,8 +1,4 @@
1
1
  export declare enum EPaymentType {
2
- credit = "credit",
3
- debit = "debit",
4
- cash = "default",
5
- voucher = "voucher",
6
- wallet = "wallet",
7
- checkoutPro = "CHECKOUT-PRO"
2
+ app = "app",
3
+ ondelivery = "ondelivery"
8
4
  }
@@ -3,10 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EPaymentType = void 0;
4
4
  var EPaymentType;
5
5
  (function (EPaymentType) {
6
- EPaymentType["credit"] = "credit";
7
- EPaymentType["debit"] = "debit";
8
- EPaymentType["cash"] = "default";
9
- EPaymentType["voucher"] = "voucher";
10
- EPaymentType["wallet"] = "wallet";
11
- EPaymentType["checkoutPro"] = "CHECKOUT-PRO";
6
+ EPaymentType["app"] = "app";
7
+ EPaymentType["ondelivery"] = "ondelivery";
12
8
  })(EPaymentType || (exports.EPaymentType = EPaymentType = {}));
@@ -1,10 +1,11 @@
1
+ import { EOrderPaymentMethod } from '../enum/order-payment-method.enum';
1
2
  import { EPaymentType } from '../enum/payment-type.enum';
2
3
  export declare class IPaymentMethod {
3
4
  active: boolean;
4
5
  createdAt: number;
5
6
  id: string;
6
7
  index: number;
7
- method: 'app' | 'ondelivery';
8
+ method: EOrderPaymentMethod;
8
9
  name: string;
9
10
  type: EPaymentType;
10
11
  updatedAt: number;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.06",
3
+ "version": "1.4.08",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.4.06",
3
+ "version": "1.4.08",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",