cecon-interfaces 1.2.96 → 1.2.98

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.96",
3
+ "version": "1.2.98",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,11 +2,16 @@ 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
+ FEE_SHIPPING = "Taxa de Entrega",
12
+ FEE_CONVENIENCE = "Taxa de Conveni\u00EAncia",
13
+ NATI_PAY = "Nati Pay",
14
+ GOLIVE = "Go Live",
15
+ FIN_TAX = "Taxa Financeira",
16
+ WITHDRAW = "Saque em Conta"
12
17
  }
@@ -3,16 +3,23 @@ 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["FEE_SHIPPING"] = "Taxa de Entrega";
18
+ EOperationType["FEE_CONVENIENCE"] = "Taxa de Conveni\u00EAncia";
19
+ EOperationType["NATI_PAY"] = "Nati Pay";
20
+ EOperationType["GOLIVE"] = "Go Live";
21
+ EOperationType["FIN_TAX"] = "Taxa Financeira";
22
+ EOperationType["WITHDRAW"] = "Saque em Conta";
16
23
  })(EOperationType || (exports.EOperationType = EOperationType = {}));
17
24
  // É o tipo de pagamento. Os tipos disponíveis são os seguintes.
18
25
  // 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.98",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",