cecon-interfaces 1.2.96 → 1.2.97

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.96",
3
+ "version": "1.2.97",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,11 +2,15 @@ export declare enum EOperationType {
2
2
  INVESTMENT = "investment",
3
3
  REGULAR_PAYMENT = "regular_payment",
4
4
  MONEY_TRANSFER = "money_transfer",
5
- GOLIVE = "go_live",
6
5
  RECURRING_PAYMENT = "recurring_payment",
7
6
  ACCOUNT_FUND = "account_fund",
8
7
  PAYMENT_ADDITION = "payment_addition",
9
8
  CELLPHONE_RECHARGE = "cellphone_recharge",
10
9
  POS_PAYMENT = "pos_payment",
11
- MONEY_EXCHANGE = "money_exchange"
10
+ MONEY_EXCHANGE = "money_exchange",
11
+ NATI_PAY = "Nati Pay",
12
+ GOLIVE = "Go Live",
13
+ FEE_SHIPPING = "Taxa de Entrega",
14
+ FIN_TAX = "Taxa Financeira",
15
+ WITHDRAW = "Saque em Conta"
12
16
  }
@@ -3,16 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EOperationType = void 0;
4
4
  var EOperationType;
5
5
  (function (EOperationType) {
6
+ // mp enums :
6
7
  EOperationType["INVESTMENT"] = "investment";
7
8
  EOperationType["REGULAR_PAYMENT"] = "regular_payment";
8
9
  EOperationType["MONEY_TRANSFER"] = "money_transfer";
9
- EOperationType["GOLIVE"] = "go_live";
10
10
  EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
11
11
  EOperationType["ACCOUNT_FUND"] = "account_fund";
12
12
  EOperationType["PAYMENT_ADDITION"] = "payment_addition";
13
13
  EOperationType["CELLPHONE_RECHARGE"] = "cellphone_recharge";
14
14
  EOperationType["POS_PAYMENT"] = "pos_payment";
15
15
  EOperationType["MONEY_EXCHANGE"] = "money_exchange";
16
+ // arcnet enums :
17
+ EOperationType["NATI_PAY"] = "Nati Pay";
18
+ EOperationType["GOLIVE"] = "Go Live";
19
+ EOperationType["FEE_SHIPPING"] = "Taxa de Entrega";
20
+ EOperationType["FIN_TAX"] = "Taxa Financeira";
21
+ EOperationType["WITHDRAW"] = "Saque em Conta";
16
22
  })(EOperationType || (exports.EOperationType = EOperationType = {}));
17
23
  // É o tipo de pagamento. Os tipos disponíveis são os seguintes.
18
24
  // investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
@@ -27,7 +27,7 @@ export interface ITransaction {
27
27
  paymentMethod: ITransactionPaymentMethod | null;
28
28
  paymentMethodId: EPaymentMethodId;
29
29
  posId: string;
30
- referenceId: string;
30
+ referenceId: 'goLive' | 'engine_mobyo_fee' | 'withdraw' | string;
31
31
  status: EMpStatus;
32
32
  statusDetail: EMpStatusDetail;
33
33
  total: ITransactionTotal | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.96",
3
+ "version": "1.2.97",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",