cecon-interfaces 2.0.10 → 2.0.13
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/esm2022/sponsor/interfaces/i-sponsor-fee.mjs +1 -1
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +2 -2
- package/dist/esm2022/transaction/enums/index.mjs +2 -2
- package/dist/esm2022/transaction/enums/operation-type.enum.mjs +7 -27
- package/dist/fesm2022/cecon-interfaces.mjs +8 -27
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/sponsor/interfaces/i-sponsor-fee.d.ts +2 -2
- package/dist/transaction/entities/transaction.entity.js +1 -1
- package/dist/transaction/enums/index.d.ts +1 -1
- package/dist/transaction/enums/index.js +1 -2
- package/dist/transaction/enums/operation-type.enum.d.ts +6 -15
- package/dist/transaction/enums/operation-type.enum.js +8 -27
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { EOperationType } from '../..';
|
|
1
2
|
import { EDiscountType } from '../../general';
|
|
2
|
-
import { ESponsorIdentifier } from '../../transaction';
|
|
3
3
|
export interface ISponsorFee {
|
|
4
4
|
type: EDiscountType;
|
|
5
5
|
amount: number;
|
|
6
|
-
method:
|
|
6
|
+
method: EOperationType;
|
|
7
7
|
}
|
|
@@ -20,7 +20,7 @@ var TransactionEntity = /** @class */ (function () {
|
|
|
20
20
|
this.moneyReleaseDate = null;
|
|
21
21
|
this.moneyReleaseStatus = enums_1.EReleaseStatus.PENDING;
|
|
22
22
|
this.natiInfo = new general_1.InfoEntity();
|
|
23
|
-
this.operationType = enums_1.EOperationType.
|
|
23
|
+
this.operationType = enums_1.EOperationType.NATIPAY;
|
|
24
24
|
this.payer = new payer_entity_1.TransactionPayerEntity();
|
|
25
25
|
this.posId = '';
|
|
26
26
|
this.provider = enums_1.ETransactionProvider.DEFAULT;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { EMpStatusDetail } from './mp-status-detail.enum';
|
|
2
2
|
export { EMpStatus } from './mp-status.enum';
|
|
3
|
-
export { EOperationType
|
|
3
|
+
export { EOperationType } from './operation-type.enum';
|
|
4
4
|
export { EPaymentMethodId } from './payment-method-id.enum';
|
|
5
5
|
export { EPaymentTypeId } from './payment-type-id.enum';
|
|
6
6
|
export { EReleaseStatus } from './release-status.enum';
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ETax = exports.EFeePayer = exports.ETransactionOperation = exports.ETransactionProvider = exports.ETransactionStatus = exports.ETransactionResumesTargetType = exports.EReleaseStatus = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.
|
|
3
|
+
exports.ETax = exports.EFeePayer = exports.ETransactionOperation = exports.ETransactionProvider = exports.ETransactionStatus = exports.ETransactionResumesTargetType = exports.EReleaseStatus = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.EOperationType = exports.EMpStatus = exports.EMpStatusDetail = void 0;
|
|
4
4
|
var mp_status_detail_enum_1 = require("./mp-status-detail.enum");
|
|
5
5
|
Object.defineProperty(exports, "EMpStatusDetail", { enumerable: true, get: function () { return mp_status_detail_enum_1.EMpStatusDetail; } });
|
|
6
6
|
var mp_status_enum_1 = require("./mp-status.enum");
|
|
7
7
|
Object.defineProperty(exports, "EMpStatus", { enumerable: true, get: function () { return mp_status_enum_1.EMpStatus; } });
|
|
8
8
|
var operation_type_enum_1 = require("./operation-type.enum");
|
|
9
9
|
Object.defineProperty(exports, "EOperationType", { enumerable: true, get: function () { return operation_type_enum_1.EOperationType; } });
|
|
10
|
-
Object.defineProperty(exports, "ESponsorIdentifier", { enumerable: true, get: function () { return operation_type_enum_1.ESponsorIdentifier; } });
|
|
11
10
|
var payment_method_id_enum_1 = require("./payment-method-id.enum");
|
|
12
11
|
Object.defineProperty(exports, "EPaymentMethodId", { enumerable: true, get: function () { return payment_method_id_enum_1.EPaymentMethodId; } });
|
|
13
12
|
var payment_type_id_enum_1 = require("./payment-type-id.enum");
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
export declare enum EOperationType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
ACCOUNT_FUND = "account_fund",
|
|
6
|
-
PAYMENT_ADDITION = "payment_addition",
|
|
7
|
-
CELLPHONE_RECHARGE = "cellphone_recharge",
|
|
8
|
-
POS_PAYMENT = "pos_payment",
|
|
9
|
-
MONEY_EXCHANGE = "money_exchange",
|
|
10
|
-
FEE_SHIPPING = "Taxa de Entrega",
|
|
11
|
-
FEE_CONVENIENCE = "Taxa de Conveniencia",
|
|
12
|
-
NATI_PAY = "Nati Pay",
|
|
2
|
+
FEE_SHIPPING = "Taxa de entrega",
|
|
3
|
+
FEE_CONVENIENCE = "Taxa de conveni\u00EAncia",
|
|
4
|
+
NATIPAY_TRANSFER = "Transfer\u00EAncia",
|
|
13
5
|
NATIPAY = "Natipay",
|
|
14
6
|
NATIPAY_PIX = "Natipay-PIX",
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
FIN_TAX = "Taxa financeira",
|
|
8
|
+
WITHDRAW = "Saque em conta",
|
|
9
|
+
REGULAR_PAYMENT = "Pagamento de conta"
|
|
18
10
|
}
|
|
19
|
-
export { EOperationType as ESponsorIdentifier };
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.EOperationType = void 0;
|
|
4
4
|
var EOperationType;
|
|
5
5
|
(function (EOperationType) {
|
|
6
|
-
// mp enums :
|
|
7
|
-
EOperationType["INVESTMENT"] = "investment";
|
|
8
|
-
EOperationType["REGULAR_PAYMENT"] = "regular_payment";
|
|
9
|
-
EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
|
|
10
|
-
EOperationType["ACCOUNT_FUND"] = "account_fund";
|
|
11
|
-
EOperationType["PAYMENT_ADDITION"] = "payment_addition";
|
|
12
|
-
EOperationType["CELLPHONE_RECHARGE"] = "cellphone_recharge";
|
|
13
|
-
EOperationType["POS_PAYMENT"] = "pos_payment";
|
|
14
|
-
EOperationType["MONEY_EXCHANGE"] = "money_exchange";
|
|
15
6
|
// arcnet enums :
|
|
16
|
-
EOperationType["FEE_SHIPPING"] = "Taxa de
|
|
17
|
-
EOperationType["FEE_CONVENIENCE"] = "Taxa de
|
|
18
|
-
EOperationType["
|
|
7
|
+
EOperationType["FEE_SHIPPING"] = "Taxa de entrega";
|
|
8
|
+
EOperationType["FEE_CONVENIENCE"] = "Taxa de conveni\u00EAncia";
|
|
9
|
+
EOperationType["NATIPAY_TRANSFER"] = "Transfer\u00EAncia";
|
|
19
10
|
EOperationType["NATIPAY"] = "Natipay";
|
|
20
11
|
EOperationType["NATIPAY_PIX"] = "Natipay-PIX";
|
|
21
|
-
EOperationType["
|
|
22
|
-
EOperationType["
|
|
23
|
-
EOperationType["
|
|
24
|
-
})(EOperationType || (exports.
|
|
25
|
-
// É o tipo de pagamento. Os tipos disponíveis são os seguintes.
|
|
26
|
-
// investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
|
|
27
|
-
// regular_payment: Typification by default of a purchase being paid using Mercado Pago.
|
|
28
|
-
// money_transfer: Funds transfer between two users.
|
|
29
|
-
// recurring_payment: Automatic recurring payment due to an active user subscription.
|
|
30
|
-
// account_fund: Money income in the user's account.
|
|
31
|
-
// payment_addition: Addition of money to an existing payment, made through a Mercado Pago account.
|
|
32
|
-
// cellphone_recharge: Recharge of a user's cellphone account.
|
|
33
|
-
// pos_payment: Payment done through a Point of Sale.
|
|
34
|
-
// money_exchange: Payment to exchange currency for a user.
|
|
12
|
+
EOperationType["FIN_TAX"] = "Taxa financeira";
|
|
13
|
+
EOperationType["WITHDRAW"] = "Saque em conta";
|
|
14
|
+
EOperationType["REGULAR_PAYMENT"] = "Pagamento de conta";
|
|
15
|
+
})(EOperationType || (exports.EOperationType = EOperationType = {}));
|