cecon-interfaces 1.2.76 → 1.2.77
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/transaction/enums/index.mjs +8 -0
- package/dist/esm2022/transaction/enums/mp-status-detail.enum.mjs +34 -0
- package/dist/esm2022/transaction/enums/mp-status.enum.mjs +23 -0
- package/dist/esm2022/transaction/enums/operation-type.enum.mjs +23 -0
- package/dist/esm2022/transaction/enums/payment-method-id.enum.mjs +17 -0
- package/dist/esm2022/transaction/enums/payment-type-id.enum.mjs +25 -0
- package/dist/esm2022/transaction/enums/release-status.enum.mjs +7 -0
- package/dist/esm2022/transaction/enums/transaction-status.enum.mjs +7 -0
- package/dist/esm2022/transaction/index.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-balance.mjs +3 -0
- package/dist/esm2022/transaction/interfaces/i-fee-detail.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-payment-method.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-total.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +2 -0
- package/dist/esm2022/transaction/interfaces/index.mjs +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/package.json +1 -1
- package/dist/transaction/enums/index.d.ts +7 -0
- package/dist/transaction/enums/index.js +17 -0
- package/dist/transaction/enums/mp-status-detail.enum.d.ts +17 -0
- package/dist/transaction/enums/mp-status-detail.enum.js +36 -0
- package/dist/transaction/enums/mp-status.enum.d.ts +11 -0
- package/dist/transaction/enums/mp-status.enum.js +25 -0
- package/dist/transaction/enums/operation-type.enum.d.ts +11 -0
- package/dist/transaction/enums/operation-type.enum.js +25 -0
- package/dist/transaction/enums/payment-method-id.enum.d.ts +8 -0
- package/dist/transaction/enums/payment-method-id.enum.js +19 -0
- package/dist/transaction/enums/payment-type-id.enum.d.ts +12 -0
- package/dist/transaction/enums/payment-type-id.enum.js +27 -0
- package/dist/transaction/enums/release-status.enum.d.ts +4 -0
- package/dist/transaction/enums/release-status.enum.js +9 -0
- package/dist/transaction/enums/transaction-status.enum.d.ts +5 -0
- package/dist/transaction/enums/transaction-status.enum.js +9 -0
- package/dist/transaction/index.d.ts +1 -0
- package/dist/transaction/index.js +17 -0
- package/dist/transaction/interfaces/i-balance.d.ts +4 -0
- package/dist/transaction/interfaces/i-balance.js +3 -0
- package/dist/transaction/interfaces/i-fee-detail.d.ts +5 -0
- package/dist/transaction/interfaces/i-fee-detail.js +2 -0
- package/dist/transaction/interfaces/i-payment-method.d.ts +6 -0
- package/dist/transaction/interfaces/i-payment-method.js +2 -0
- package/dist/transaction/interfaces/i-total.d.ts +5 -0
- package/dist/transaction/interfaces/i-total.js +2 -0
- package/dist/transaction/interfaces/i-transaction.d.ts +34 -0
- package/dist/transaction/interfaces/i-transaction.js +2 -0
- package/dist/transaction/interfaces/index.d.ts +5 -0
- package/dist/transaction/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/esm2022/index.mjs
CHANGED
@@ -43,8 +43,9 @@ export * from './subscription-customer';
|
|
43
43
|
export * from './token';
|
44
44
|
export * from './token-jwt';
|
45
45
|
// export * from './v1-entities'; // importacoes das tabelas do nati V1
|
46
|
+
export * from './transaction';
|
46
47
|
export * from './verifier-token';
|
47
48
|
export * from './viacep';
|
48
49
|
export * from './voucher';
|
49
50
|
export * from './wa-server';
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUM7QUFDdEIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLF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vbic7XG5leHBvcnQgKiBmcm9tICcuL3ZlcmlmaWVyLXRva2VuJztcbmV4cG9ydCAqIGZyb20gJy4vdmlhY2VwJztcbmV4cG9ydCAqIGZyb20gJy4vdm91Y2hlcic7XG5leHBvcnQgKiBmcm9tICcuL3dhLXNlcnZlcic7XG4iXX0=
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export { EReleaseStatus } from './release-status.enum';
|
2
|
+
export { ETransactionStatus } from './transaction-status.enum';
|
3
|
+
export { EMpStatus } from './mp-status.enum';
|
4
|
+
export { EMpStatusDetail } from './mp-status-detail.enum';
|
5
|
+
export { EOperationType } from './operation-type.enum';
|
6
|
+
export { EPaymentMethodId } from './payment-method-id.enum';
|
7
|
+
export { EPaymentTypeId } from './payment-type-id.enum';
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQy9ELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDMUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzVELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEVSZWxlYXNlU3RhdHVzIH0gZnJvbSAnLi9yZWxlYXNlLXN0YXR1cy5lbnVtJztcbmV4cG9ydCB7IEVUcmFuc2FjdGlvblN0YXR1cyB9IGZyb20gJy4vdHJhbnNhY3Rpb24tc3RhdHVzLmVudW0nO1xuZXhwb3J0IHsgRU1wU3RhdHVzIH0gZnJvbSAnLi9tcC1zdGF0dXMuZW51bSc7XG5leHBvcnQgeyBFTXBTdGF0dXNEZXRhaWwgfSBmcm9tICcuL21wLXN0YXR1cy1kZXRhaWwuZW51bSc7XG5leHBvcnQgeyBFT3BlcmF0aW9uVHlwZSB9IGZyb20gJy4vb3BlcmF0aW9uLXR5cGUuZW51bSc7XG5leHBvcnQgeyBFUGF5bWVudE1ldGhvZElkIH0gZnJvbSAnLi9wYXltZW50LW1ldGhvZC1pZC5lbnVtJztcbmV4cG9ydCB7IEVQYXltZW50VHlwZUlkIH0gZnJvbSAnLi9wYXltZW50LXR5cGUtaWQuZW51bSc7XG5cblxuXG4iXX0=
|
@@ -0,0 +1,34 @@
|
|
1
|
+
export var EMpStatusDetail;
|
2
|
+
(function (EMpStatusDetail) {
|
3
|
+
EMpStatusDetail["ACCREDITED"] = "accredited";
|
4
|
+
EMpStatusDetail["PENDING_CONTINGENCY"] = "pending_contingency";
|
5
|
+
EMpStatusDetail["PENDING_REVIEW_MANUAL"] = "pending_review_manual";
|
6
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_DATE"] = "cc_rejected_bad_filled_date";
|
7
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_OTHER"] = "cc_rejected_bad_filled_other";
|
8
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_SECURITY_CODE"] = "cc_rejected_bad_filled_security_code";
|
9
|
+
EMpStatusDetail["CC_REJECTED_BLACKLIST"] = "cc_rejected_blacklist";
|
10
|
+
EMpStatusDetail["CC_REJECTED_CALL_FOR_AUTHORIZE"] = "cc_rejected_call_for_authorize";
|
11
|
+
EMpStatusDetail["CC_REJECTED_CARD_DISABLED"] = "cc_rejected_card_disabled";
|
12
|
+
EMpStatusDetail["CC_REJECTED_DUPLICATED_PAYMENT"] = "cc_rejected_duplicated_payment";
|
13
|
+
EMpStatusDetail["CC_REJECTED_HIGH_RISK"] = "cc_rejected_high_risk";
|
14
|
+
EMpStatusDetail["CC_REJECTED_INSUFFICIENT_AMOUNT"] = "cc_rejected_insufficient_amount";
|
15
|
+
EMpStatusDetail["CC_REJECTED_INVALID_INSTALLMENTS"] = "cc_rejected_invalid_installments";
|
16
|
+
EMpStatusDetail["CC_REJECTED_MAX_ATTEMPTS"] = "cc_rejected_max_attempts";
|
17
|
+
EMpStatusDetail["CC_REJECTED_OTHER_REASON"] = "cc_rejected_other_reason";
|
18
|
+
})(EMpStatusDetail || (EMpStatusDetail = {}));
|
19
|
+
// Accredited: credited payment.
|
20
|
+
// pending_contingency: the payment is being processed.
|
21
|
+
// pending_review_manual: the payment is under review to determine its approval or rejection.
|
22
|
+
// cc_rejected_bad_filled_date: incorrect expiration date.
|
23
|
+
// cc_rejected_bad_filled_other: incorrect card details.
|
24
|
+
// cc_rejected_bad_filled_security_code: incorrect CVV.
|
25
|
+
// cc_rejected_blacklist: the card is in the denial list, being present in problems related to theft/complaints/fraud.
|
26
|
+
// cc_rejected_call_for_authorize: the payment method requires prior authorization of the transaction value.
|
27
|
+
// cc_rejected_card_disabled: the card is inactive.
|
28
|
+
// cc_rejected_duplicated_payment: duplicated transaction.
|
29
|
+
// cc_rejected_high_risk: rejected by Fraud Prevention.
|
30
|
+
// cc_rejected_insufficient_amount: insufficient amount.
|
31
|
+
// cc_rejected_invalid_installments: invalid number of installments.
|
32
|
+
// cc_rejected_max_attempts: maximum number of attempts exceeded.
|
33
|
+
// cc_rejected_other_reason: generic error.
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXAtc3RhdHVzLWRldGFpbC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNv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Y3RlZCBieSBGcmF1ZCBQcmV2ZW50aW9uLlxyXG4vLyBjY19yZWplY3RlZF9pbnN1ZmZpY2llbnRfYW1vdW50OiBpbnN1ZmZpY2llbnQgYW1vdW50LlxyXG4vLyBjY19yZWplY3RlZF9pbnZhbGlkX2luc3RhbGxtZW50czogaW52YWxpZCBudW1iZXIgb2YgaW5zdGFsbG1lbnRzLlxyXG4vLyBjY19yZWplY3RlZF9tYXhfYXR0ZW1wdHM6IG1heGltdW0gbnVtYmVyIG9mIGF0dGVtcHRzIGV4Y2VlZGVkLlxyXG4vLyBjY19yZWplY3RlZF9vdGhlcl9yZWFzb246IGdlbmVyaWMgZXJyb3IuIl19
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export var EMpStatus;
|
2
|
+
(function (EMpStatus) {
|
3
|
+
EMpStatus["PENDING"] = "pending";
|
4
|
+
EMpStatus["APPROVED"] = "approved";
|
5
|
+
EMpStatus["AUTHORIZED"] = "authorized";
|
6
|
+
EMpStatus["IN_PROCESS"] = "in_process";
|
7
|
+
EMpStatus["IN_MEDIATION"] = "in_mediation";
|
8
|
+
EMpStatus["REJECTED"] = "rejected";
|
9
|
+
EMpStatus["CANCELLED"] = "cancelled";
|
10
|
+
EMpStatus["REFUNDED"] = "refunded";
|
11
|
+
EMpStatus["CHARGED_BACK"] = "charged_back";
|
12
|
+
})(EMpStatus || (EMpStatus = {}));
|
13
|
+
// É o estado atual do pagamento. Podem ser ser dos seguintes tipos.
|
14
|
+
// pending: The user has not concluded the payment process (for example, by generating a payment by boleto, it will be concluded at the moment in which the user makes the payment in the selected place).
|
15
|
+
// approved: The payment has been approved and credited.
|
16
|
+
// authorized: The payment has been authorized but not captured yet.
|
17
|
+
// in_process: The payment is in analysis.
|
18
|
+
// in_mediation: The user started a dispute.
|
19
|
+
// rejected: The payment was rejected (the user can try to pay again).
|
20
|
+
// cancelled: Either the payment was canceled by one of the parties or expired.
|
21
|
+
// refunded: The payment was returned to the user.
|
22
|
+
// charged_back: A charg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gdGhlIHVzZXIuXHJcbi8vIGNoYXJnZWRfYmFjazogQSBjaGFyZ2ViYWNrIHdhcyBwbGFjZWQgb24gdGhlIGJ1eWVyJ3MgY3JlZGl0IGNhcmQuIl19
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export var EOperationType;
|
2
|
+
(function (EOperationType) {
|
3
|
+
EOperationType["INVESTMENT"] = "investment";
|
4
|
+
EOperationType["REGULAR_PAYMENT"] = "regular_payment";
|
5
|
+
EOperationType["MONEY_TRANSFER"] = "money_transfer";
|
6
|
+
EOperationType["RECURRING_PAYMENT"] = "recurring_payment";
|
7
|
+
EOperationType["ACCOUNT_FUND"] = "account_fund";
|
8
|
+
EOperationType["PAYMENT_ADDITION"] = "payment_addition";
|
9
|
+
EOperationType["CELLPHONE_RECHARGE"] = "cellphone_recharge";
|
10
|
+
EOperationType["POS_PAYMENT"] = "pos_payment";
|
11
|
+
EOperationType["MONEY_EXCHANGE"] = "money_exchange";
|
12
|
+
})(EOperationType || (EOperationType = {}));
|
13
|
+
// É o tipo de pagamento. Os tipos disponíveis são os seguintes.
|
14
|
+
// investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
|
15
|
+
// regular_payment: Typification by default of a purchase being paid using Mercado Pago.
|
16
|
+
// money_transfer: Funds transfer between two users.
|
17
|
+
// recurring_payment: Automatic recurring payment due to an active user subscription.
|
18
|
+
// account_fund: Money income in the user's account.
|
19
|
+
// payment_addition: Addition of money to an existing payment, made through a Mercado Pago account.
|
20
|
+
// cellphone_recharge: Recharge of a user's cellphone account.
|
21
|
+
// pos_payment: Payment done through a Point of Sale.
|
22
|
+
// money_exchange: Payment to exchange currency for a user.
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlcmF0aW9uLXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmFuc2FjdGlvbi9lbnVtcy9vcGV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aymentMethodId;
|
2
|
+
(function (EPaymentMethodId) {
|
3
|
+
EPaymentMethodId["ACCOUNT_MONEY"] = "account_money";
|
4
|
+
EPaymentMethodId["PIX"] = "pix";
|
5
|
+
EPaymentMethodId["TED"] = "ted";
|
6
|
+
// casos internacionais
|
7
|
+
EPaymentMethodId["DEBIN_TRANSFER"] = "debin_transfer";
|
8
|
+
EPaymentMethodId["CVU"] = "cvu";
|
9
|
+
EPaymentMethodId["PSE"] = "pse";
|
10
|
+
})(EPaymentMethodId || (EPaymentMethodId = {}));
|
11
|
+
// Indica o identificador do meio de pagamento selecionado para efetuar o pagamento. A seguir, apresentamos alguns exemplos. Obtenha todos os meios de pagamento disponíveis consultando a API de 'Obter meios de pagamento'.
|
12
|
+
// Pix: Método de pagamento digital instantâneo utilizado no Brasil.
|
13
|
+
// Debin_transfer: Método de pagamento digital utilizado na Argentina que debita imediatamente um valor da conta, solicitando autorização prévia.
|
14
|
+
// Ted: É o pagamento por Transferência Eletrônica Disponível, usado no Brasil, que possui taxas de utilização. O pagamento é realizado no mesmo dia da transação, mas para isso, é necessário realizar a transferência dentro do período estipulado.
|
15
|
+
// CVU: Método de pagamento utilizado na Argentina.
|
16
|
+
// PSE: Método de pagamento digital utilizado na Colômbia, no qual os usuários autorizam o débito de fundos de seu banco por meio da banca virtual, seja de suas contas de poupança, corrente ou depósito eletrônico.
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1tZXRob2QtaWQuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmFuc2FjdGlvbi9lbnVtcy9wYXltZW50LW1ldGhvZC1pZC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQVFYO0FBUkQsV0FBWSxnQkFBZ0I7SUFDMUIsbURBQStCLENBQUE7SUFDL0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vIG5hIEFyZ2VudGluYSBxdWUgZGViaXRhIGltZWRpYXRhbWVudGUgdW0gdmFsb3IgZGEgY29udGEsIHNvbGljaXRhbmRvIGF1dG9yaXphw6fDo28gcHLDqXZpYS5cclxuLy8gVGVkOiDDiSBvIHBhZ2FtZW50byBwb3IgVHJhbnNmZXLDqm5jaWEgRWxldHLDtG5pY2EgRGlzcG9uw612ZWwsIHVzYWRvIG5vIEJyYXNpbCwgcXVlIHBvc3N1aSB0YXhhcyBkZSB1dGlsaXphw6fDo28uIE8gcGFnYW1lbnRvIMOpIHJlYWxpemFkbyBubyBtZXNtbyBkaWEgZGEgdHJhbnNhw6fDo28sIG1hcyBwYXJhIGlzc28sIMOpIG5lY2Vzc8OhcmlvIHJlYWxpemFyIGEgdHJhbnNmZXLDqm5jaWEgZGVudHJvIGRvIHBlcsOtb2RvIGVzdGlwdWxhZG8uXHJcbi8vIENWVTogTcOpdG9kbyBkZSBwYWdhbWVudG8gdXRpbGl6YWRvIG5hIEFyZ2VudGluYS5cclxuLy8gUFNFOiBNw6l0b2RvIGRlIHBhZ2FtZW50byBkaWdpdGFsIHV0aWxpemFkbyBuYSBDb2zDtG1iaWEsIG5vIHF1YWwgb3MgdXN1w6FyaW9zIGF1dG9yaXphbSBvIGTDqWJpdG8gZGUgZnVuZG9zIGRlIHNldSBiYW5jbyBwb3IgbWVpbyBkYSBiYW5jYSB2aXJ0dWFsLCBzZWphIGRlIHN1YXMgY29udGFzIGRlIHBvdXBhbsOnYSwgY29ycmVudGUgb3UgZGVww7NzaXRvIGVsZXRyw7RuaWNvLiJdfQ==
|
@@ -0,0 +1,25 @@
|
|
1
|
+
export var EPaymentTypeId;
|
2
|
+
(function (EPaymentTypeId) {
|
3
|
+
EPaymentTypeId["TICKET"] = "ticket";
|
4
|
+
EPaymentTypeId["BANK_TRANSFER"] = "bank_transfer";
|
5
|
+
EPaymentTypeId["ATM"] = "atm";
|
6
|
+
EPaymentTypeId["CREDIT_CARD"] = "credit_card";
|
7
|
+
EPaymentTypeId["DEBIT_CARD"] = "debit_card";
|
8
|
+
EPaymentTypeId["PREPAID_CARD"] = "prepaid_card";
|
9
|
+
EPaymentTypeId["DIGITAL_CURRENCY"] = "digital_currency";
|
10
|
+
EPaymentTypeId["DIGITAL_WALLET"] = "digital_wallet";
|
11
|
+
EPaymentTypeId["VOUCHER_CARD"] = "voucher_card";
|
12
|
+
EPaymentTypeId["CRYPTO_TRANSFER"] = "crypto_transfer";
|
13
|
+
})(EPaymentTypeId || (EPaymentTypeId = {}));
|
14
|
+
// É o tipo da forma de pagamento (cartão, transferência bancária, boleto, caixa eletrônico, etc). Podem ser dos seguintes tipos.
|
15
|
+
// ticket: Boletos, Caixa Electronica Payment, PayCash, Efecty, Oxxo, etc.
|
16
|
+
// bank_transfer: Pix e PSE (Pagos Seguros en Línea).
|
17
|
+
// atm: Pagamento em caixa eletrônico (amplamente utilizado no México através do BBVA Bancomer).
|
18
|
+
// credit_card: Pagamento com cartão de crédito.
|
19
|
+
// debit_card: Pagamento com cartão de débito.
|
20
|
+
// prepaid_card: Pagamento com cartão pré-pago.
|
21
|
+
// digital_currency: Compras com Mercado Crédito.
|
22
|
+
// digital_wallet: Paypal.
|
23
|
+
// voucher_card: Benefícios Alelo e Sodexo.
|
24
|
+
// crypto_transfer: Pagamento com criptomoedas como Ethereum e Bitcoin.
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC10eXBlLWlkLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vZW51bXMvcGF5bWVudC10eXBlLWlkLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksY0FXWDtBQVhELFdBQVksY0FBYztJQUN4QixtQ0FBaUIsQ0FBQTtJQUNqQixpREFBK0IsQ0FBQTtJQUMvQiw2QkF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ywgY2FpeGEgZWxldHLDtG5pY28sIGV0YykuIFBvZGVtIHNlciBkb3Mgc2VndWludGVzIHRpcG9zLlxyXG4vLyB0aWNrZXQ6IEJvbGV0b3MsIENhaXhhIEVsZWN0cm9uaWNhIFBheW1lbnQsIFBheUNhc2gsIEVmZWN0eSwgT3h4bywgZXRjLlxyXG4vLyBiYW5rX3RyYW5zZmVyOiBQaXggZSBQU0UgKFBhZ29zIFNlZ3Vyb3MgZW4gTMOtbmVhKS5cclxuLy8gYXRtOiBQYWdhbWVudG8gZW0gY2FpeGEgZWxldHLDtG5pY28gKGFtcGxhbWVudGUgdXRpbGl6YWRvIG5vIE3DqXhpY28gYXRyYXbDqXMgZG8gQkJWQSBCYW5jb21lcikuXHJcbi8vIGNyZWRpdF9jYXJkOiBQYWdhbWVudG8gY29tIGNhcnTDo28gZGUgY3LDqWRpdG8uXHJcbi8vIGRlYml0X2NhcmQ6IFBhZ2FtZW50byBjb20gY2FydMOjbyBkZSBkw6liaXRvLlxyXG4vLyBwcmVwYWlkX2NhcmQ6IFBhZ2FtZW50byBjb20gY2FydMOjbyBwcsOpLXBhZ28uXHJcbi8vIGRpZ2l0YWxfY3VycmVuY3k6IENvbXByYXMgY29tIE1lcmNhZG8gQ3LDqWRpdG8uXHJcbi8vIGRpZ2l0YWxfd2FsbGV0OiBQYXlwYWwuXHJcbi8vIHZvdWNoZXJfY2FyZDogQmVuZWbDrWNpb3MgQWxlbG8gZSBTb2RleG8uXHJcbi8vIGNyeXB0b190cmFuc2ZlcjogUGFnYW1lbnRvIGNvbSBjcmlwdG9tb2VkYXMgY29tbyBFdGhlcmV1bSBlIEJpdGNvaW4uIl19
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export var EReleaseStatus;
|
2
|
+
(function (EReleaseStatus) {
|
3
|
+
EReleaseStatus["RELEASED"] = "released";
|
4
|
+
EReleaseStatus["PENDING"] = "pending";
|
5
|
+
})(EReleaseStatus || (EReleaseStatus = {}));
|
6
|
+
// Data em que o pagamento é liquidado e o dinheiro é disponibilizado na conta Mercado Pago do Collector (aquele que recebe o pagamento). O campo pode assumir os valores “pending” ou “released”, sendo que o primeiro indica que o pagamento ainda não foi liberado (dinheiro retido por tempo) e “released” significa que o dinheiro já foi liberado para o saldo disponível do usuário.
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVsZWFzZS1zdGF0dXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmFuc2FjdGlvbi9lbnVtcy9yZWxlYXNlLXN0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGNBR1g7QUFIRCxXQUFZLGNBQWM7SUFDeEIsdUNBQXFCLENBQUE7SUFDckIscUNBQW1CLENBQUE7QUFDckIsQ0FBQyxFQUhXLGNBQWMsS0FBZCxjQUFjLFFBR3pCO0FBQ0QsMlhBQTJYIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVJlbGVhc2VTdGF0dXMge1xyXG4gIFJFTEVBU0VEID0gJ3JlbGVhc2VkJyxcclxuICBQRU5ESU5HID0gJ3BlbmRpbmcnLFxyXG59XHJcbi8vIERhdGEgZW0gcXVlIG8gcGFnYW1lbnRvIMOpIGxpcXVpZGFkbyBlIG8gZGluaGVpcm8gw6kgZGlzcG9uaWJpbGl6YWRvIG5hIGNvbnRhIE1lcmNhZG8gUGFnbyBkbyBDb2xsZWN0b3IgKGFxdWVsZSBxdWUgcmVjZWJlIG8gcGFnYW1lbnRvKS4gTyBjYW1wbyBwb2RlIGFzc3VtaXIgb3MgdmFsb3JlcyDigJxwZW5kaW5n4oCdIG91IOKAnHJlbGVhc2Vk4oCdLCBzZW5kbyBxdWUgbyBwcmltZWlybyBpbmRpY2EgcXVlIG8gcGFnYW1lbnRvIGFpbmRhIG7Do28gZm9pIGxpYmVyYWRvIChkaW5oZWlybyByZXRpZG8gcG9yIHRlbXBvKSBlIOKAnHJlbGVhc2Vk4oCdIHNpZ25pZmljYSBxdWUgbyBkaW5oZWlybyBqw6EgZm9pIGxpYmVyYWRvIHBhcmEgbyBzYWxkbyBkaXNwb27DrXZlbCBkbyB1c3XDoXJpby5cclxuIl19
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export var ETransactionStatus;
|
2
|
+
(function (ETransactionStatus) {
|
3
|
+
ETransactionStatus["BLOCKED"] = "BLOCKED";
|
4
|
+
ETransactionStatus["PROCESSED"] = "PROCESSED";
|
5
|
+
ETransactionStatus["PROCESSING"] = "PROCESSING";
|
6
|
+
})(ETransactionStatus || (ETransactionStatus = {}));
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tc3RhdHVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vZW51bXMvdHJhbnNhY3Rpb24tc3RhdHVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksa0JBSVg7QUFKRCxXQUFZLGtCQUFrQjtJQUM1Qix5Q0FBbUIsQ0FBQTtJQUNuQiw2Q0FBdUIsQ0FBQTtJQUN2QiwrQ0FBeUIsQ0FBQTtBQUMzQixDQUFDLEVBSlcsa0JBQWtCLEtBQWxCLGtCQUFrQixRQUk3QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVUcmFuc2FjdGlvblN0YXR1cyB7XHJcbiAgQkxPQ0tFRCA9ICdCTE9DS0VEJyxcclxuICBQUk9DRVNTRUQgPSAnUFJPQ0VTU0VEJyxcclxuICBQUk9DRVNTSU5HID0gJ1BST0NFU1NJTkcnLFxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './interfaces';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHJhbnNhY3Rpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xuIl19
|
@@ -0,0 +1,3 @@
|
|
1
|
+
;
|
2
|
+
export {};
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1iYWxhbmNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyYW5zYWN0aW9uL2ludGVyZmFjZXMvaS1iYWxhbmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdHLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElUcmFuc2FjdGlvbkJhbGFuY2Uge1xyXG4gICAgYmVmb3JlOiBudW1iZXI7XHJcbiAgICBhZnRlcjogbnVtYmVyO1xyXG4gIH07XHJcbiAgIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1mZWUtZGV0YWlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3RyYW5zYWN0aW9uL2ludGVyZmFjZXMvaS1mZWUtZGV0YWlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElGZWVEZWF0aWwge1xyXG4gIGFtb3VudDogbnVtYmVyO1xyXG4gIGZlZVBheWVyOiAnY29sbGVjdG9yJyB8IHN0cmluZztcclxuICB0eXBlOiAnbWVyY2Fkb3BhZ29fZmVlJyB8ICdhcHBsaWNhdGlvbl9mZWUnIHwgc3RyaW5nO1xyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wYXltZW50LW1ldGhvZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmFuc2FjdGlvbi9pbnRlcmZhY2VzL2ktcGF5bWVudC1tZXRob2QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVQYXltZW50TWV0aG9kSWQsIEVQYXltZW50VHlwZUlkIH0gZnJvbSBcIi4uL2VudW1zXCI7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElUcmFuc2FjdGlvblBheW1lbnRNZXRob2Qge1xyXG4gIGlkOiBFUGF5bWVudE1ldGhvZElkO1xyXG4gIGlzc3VlcklkOiBzdHJpbmc7XHJcbiAgdHlwZTogIEVQYXltZW50VHlwZUlkO1xyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS10b3RhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy90cmFuc2FjdGlvbi9pbnRlcmZhY2VzL2ktdG90YWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVRyYW5zYWN0aW9uVG90YWwge1xyXG4gIHN1YlRvdGFsOiBudW1iZXI7XH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Li8uLi9zcmMvdHJhbnNhY3Rpb24vaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSVRyYW5zYWN0aW9uIH0gZnJvbSAnLi9pLXRyYW5zYWN0aW9uJztcbmV4cG9ydCB7IElUcmFuc2FjdGlvbkJhbGFuY2UgfSBmcm9tICcuL2ktYmFsYW5jZSc7XG5leHBvcnQgeyBJRmVlRGVhdGlsIH0gZnJvbSAnLi9pLWZlZS1kZXRhaWwnO1xuZXhwb3J0IHsgSVRyYW5zYWN0aW9uUGF5bWVudE1ldGhvZCB9IGZyb20gJy4vaS1wYXltZW50LW1ldGhvZCc7XG5leHBvcnQgeyBJVHJhbnNhY3Rpb25Ub3RhbCB9IGZyb20gJy4vaS10b3RhbCc7XG5cbiJdfQ==
|
package/dist/index.d.ts
CHANGED
@@ -42,6 +42,7 @@ export * from './subscription-company';
|
|
42
42
|
export * from './subscription-customer';
|
43
43
|
export * from './token';
|
44
44
|
export * from './token-jwt';
|
45
|
+
export * from './transaction';
|
45
46
|
export * from './verifier-token';
|
46
47
|
export * from './viacep';
|
47
48
|
export * from './voucher';
|
package/dist/index.js
CHANGED
@@ -59,6 +59,7 @@ __exportStar(require("./subscription-customer"), exports);
|
|
59
59
|
__exportStar(require("./token"), exports);
|
60
60
|
__exportStar(require("./token-jwt"), exports);
|
61
61
|
// export * from './v1-entities'; // importacoes das tabelas do nati V1
|
62
|
+
__exportStar(require("./transaction"), exports);
|
62
63
|
__exportStar(require("./verifier-token"), exports);
|
63
64
|
__exportStar(require("./viacep"), exports);
|
64
65
|
__exportStar(require("./voucher"), exports);
|
package/dist/package.json
CHANGED
@@ -0,0 +1,7 @@
|
|
1
|
+
export { EReleaseStatus } from './release-status.enum';
|
2
|
+
export { ETransactionStatus } from './transaction-status.enum';
|
3
|
+
export { EMpStatus } from './mp-status.enum';
|
4
|
+
export { EMpStatusDetail } from './mp-status-detail.enum';
|
5
|
+
export { EOperationType } from './operation-type.enum';
|
6
|
+
export { EPaymentMethodId } from './payment-method-id.enum';
|
7
|
+
export { EPaymentTypeId } from './payment-type-id.enum';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPaymentTypeId = exports.EPaymentMethodId = exports.EOperationType = exports.EMpStatusDetail = exports.EMpStatus = exports.ETransactionStatus = exports.EReleaseStatus = void 0;
|
4
|
+
var release_status_enum_1 = require("./release-status.enum");
|
5
|
+
Object.defineProperty(exports, "EReleaseStatus", { enumerable: true, get: function () { return release_status_enum_1.EReleaseStatus; } });
|
6
|
+
var transaction_status_enum_1 = require("./transaction-status.enum");
|
7
|
+
Object.defineProperty(exports, "ETransactionStatus", { enumerable: true, get: function () { return transaction_status_enum_1.ETransactionStatus; } });
|
8
|
+
var mp_status_enum_1 = require("./mp-status.enum");
|
9
|
+
Object.defineProperty(exports, "EMpStatus", { enumerable: true, get: function () { return mp_status_enum_1.EMpStatus; } });
|
10
|
+
var mp_status_detail_enum_1 = require("./mp-status-detail.enum");
|
11
|
+
Object.defineProperty(exports, "EMpStatusDetail", { enumerable: true, get: function () { return mp_status_detail_enum_1.EMpStatusDetail; } });
|
12
|
+
var operation_type_enum_1 = require("./operation-type.enum");
|
13
|
+
Object.defineProperty(exports, "EOperationType", { enumerable: true, get: function () { return operation_type_enum_1.EOperationType; } });
|
14
|
+
var payment_method_id_enum_1 = require("./payment-method-id.enum");
|
15
|
+
Object.defineProperty(exports, "EPaymentMethodId", { enumerable: true, get: function () { return payment_method_id_enum_1.EPaymentMethodId; } });
|
16
|
+
var payment_type_id_enum_1 = require("./payment-type-id.enum");
|
17
|
+
Object.defineProperty(exports, "EPaymentTypeId", { enumerable: true, get: function () { return payment_type_id_enum_1.EPaymentTypeId; } });
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare enum EMpStatusDetail {
|
2
|
+
ACCREDITED = "accredited",
|
3
|
+
PENDING_CONTINGENCY = "pending_contingency",
|
4
|
+
PENDING_REVIEW_MANUAL = "pending_review_manual",
|
5
|
+
CC_REJECTED_BAD_FILLED_DATE = "cc_rejected_bad_filled_date",
|
6
|
+
CC_REJECTED_BAD_FILLED_OTHER = "cc_rejected_bad_filled_other",
|
7
|
+
CC_REJECTED_BAD_FILLED_SECURITY_CODE = "cc_rejected_bad_filled_security_code",
|
8
|
+
CC_REJECTED_BLACKLIST = "cc_rejected_blacklist",
|
9
|
+
CC_REJECTED_CALL_FOR_AUTHORIZE = "cc_rejected_call_for_authorize",
|
10
|
+
CC_REJECTED_CARD_DISABLED = "cc_rejected_card_disabled",
|
11
|
+
CC_REJECTED_DUPLICATED_PAYMENT = "cc_rejected_duplicated_payment",
|
12
|
+
CC_REJECTED_HIGH_RISK = "cc_rejected_high_risk",
|
13
|
+
CC_REJECTED_INSUFFICIENT_AMOUNT = "cc_rejected_insufficient_amount",
|
14
|
+
CC_REJECTED_INVALID_INSTALLMENTS = "cc_rejected_invalid_installments",
|
15
|
+
CC_REJECTED_MAX_ATTEMPTS = "cc_rejected_max_attempts",
|
16
|
+
CC_REJECTED_OTHER_REASON = "cc_rejected_other_reason"
|
17
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EMpStatusDetail = void 0;
|
4
|
+
var EMpStatusDetail;
|
5
|
+
(function (EMpStatusDetail) {
|
6
|
+
EMpStatusDetail["ACCREDITED"] = "accredited";
|
7
|
+
EMpStatusDetail["PENDING_CONTINGENCY"] = "pending_contingency";
|
8
|
+
EMpStatusDetail["PENDING_REVIEW_MANUAL"] = "pending_review_manual";
|
9
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_DATE"] = "cc_rejected_bad_filled_date";
|
10
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_OTHER"] = "cc_rejected_bad_filled_other";
|
11
|
+
EMpStatusDetail["CC_REJECTED_BAD_FILLED_SECURITY_CODE"] = "cc_rejected_bad_filled_security_code";
|
12
|
+
EMpStatusDetail["CC_REJECTED_BLACKLIST"] = "cc_rejected_blacklist";
|
13
|
+
EMpStatusDetail["CC_REJECTED_CALL_FOR_AUTHORIZE"] = "cc_rejected_call_for_authorize";
|
14
|
+
EMpStatusDetail["CC_REJECTED_CARD_DISABLED"] = "cc_rejected_card_disabled";
|
15
|
+
EMpStatusDetail["CC_REJECTED_DUPLICATED_PAYMENT"] = "cc_rejected_duplicated_payment";
|
16
|
+
EMpStatusDetail["CC_REJECTED_HIGH_RISK"] = "cc_rejected_high_risk";
|
17
|
+
EMpStatusDetail["CC_REJECTED_INSUFFICIENT_AMOUNT"] = "cc_rejected_insufficient_amount";
|
18
|
+
EMpStatusDetail["CC_REJECTED_INVALID_INSTALLMENTS"] = "cc_rejected_invalid_installments";
|
19
|
+
EMpStatusDetail["CC_REJECTED_MAX_ATTEMPTS"] = "cc_rejected_max_attempts";
|
20
|
+
EMpStatusDetail["CC_REJECTED_OTHER_REASON"] = "cc_rejected_other_reason";
|
21
|
+
})(EMpStatusDetail || (exports.EMpStatusDetail = EMpStatusDetail = {}));
|
22
|
+
// Accredited: credited payment.
|
23
|
+
// pending_contingency: the payment is being processed.
|
24
|
+
// pending_review_manual: the payment is under review to determine its approval or rejection.
|
25
|
+
// cc_rejected_bad_filled_date: incorrect expiration date.
|
26
|
+
// cc_rejected_bad_filled_other: incorrect card details.
|
27
|
+
// cc_rejected_bad_filled_security_code: incorrect CVV.
|
28
|
+
// cc_rejected_blacklist: the card is in the denial list, being present in problems related to theft/complaints/fraud.
|
29
|
+
// cc_rejected_call_for_authorize: the payment method requires prior authorization of the transaction value.
|
30
|
+
// cc_rejected_card_disabled: the card is inactive.
|
31
|
+
// cc_rejected_duplicated_payment: duplicated transaction.
|
32
|
+
// cc_rejected_high_risk: rejected by Fraud Prevention.
|
33
|
+
// cc_rejected_insufficient_amount: insufficient amount.
|
34
|
+
// cc_rejected_invalid_installments: invalid number of installments.
|
35
|
+
// cc_rejected_max_attempts: maximum number of attempts exceeded.
|
36
|
+
// cc_rejected_other_reason: generic error.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum EMpStatus {
|
2
|
+
PENDING = "pending",
|
3
|
+
APPROVED = "approved",
|
4
|
+
AUTHORIZED = "authorized",
|
5
|
+
IN_PROCESS = "in_process",
|
6
|
+
IN_MEDIATION = "in_mediation",
|
7
|
+
REJECTED = "rejected",
|
8
|
+
CANCELLED = "cancelled",
|
9
|
+
REFUNDED = "refunded",
|
10
|
+
CHARGED_BACK = "charged_back"
|
11
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EMpStatus = void 0;
|
4
|
+
var EMpStatus;
|
5
|
+
(function (EMpStatus) {
|
6
|
+
EMpStatus["PENDING"] = "pending";
|
7
|
+
EMpStatus["APPROVED"] = "approved";
|
8
|
+
EMpStatus["AUTHORIZED"] = "authorized";
|
9
|
+
EMpStatus["IN_PROCESS"] = "in_process";
|
10
|
+
EMpStatus["IN_MEDIATION"] = "in_mediation";
|
11
|
+
EMpStatus["REJECTED"] = "rejected";
|
12
|
+
EMpStatus["CANCELLED"] = "cancelled";
|
13
|
+
EMpStatus["REFUNDED"] = "refunded";
|
14
|
+
EMpStatus["CHARGED_BACK"] = "charged_back";
|
15
|
+
})(EMpStatus || (exports.EMpStatus = EMpStatus = {}));
|
16
|
+
// É o estado atual do pagamento. Podem ser ser dos seguintes tipos.
|
17
|
+
// pending: The user has not concluded the payment process (for example, by generating a payment by boleto, it will be concluded at the moment in which the user makes the payment in the selected place).
|
18
|
+
// approved: The payment has been approved and credited.
|
19
|
+
// authorized: The payment has been authorized but not captured yet.
|
20
|
+
// in_process: The payment is in analysis.
|
21
|
+
// in_mediation: The user started a dispute.
|
22
|
+
// rejected: The payment was rejected (the user can try to pay again).
|
23
|
+
// cancelled: Either the payment was canceled by one of the parties or expired.
|
24
|
+
// refunded: The payment was returned to the user.
|
25
|
+
// charged_back: A chargeback was placed on the buyer's credit card.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum EOperationType {
|
2
|
+
INVESTMENT = "investment",
|
3
|
+
REGULAR_PAYMENT = "regular_payment",
|
4
|
+
MONEY_TRANSFER = "money_transfer",
|
5
|
+
RECURRING_PAYMENT = "recurring_payment",
|
6
|
+
ACCOUNT_FUND = "account_fund",
|
7
|
+
PAYMENT_ADDITION = "payment_addition",
|
8
|
+
CELLPHONE_RECHARGE = "cellphone_recharge",
|
9
|
+
POS_PAYMENT = "pos_payment",
|
10
|
+
MONEY_EXCHANGE = "money_exchange"
|
11
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EOperationType = void 0;
|
4
|
+
var EOperationType;
|
5
|
+
(function (EOperationType) {
|
6
|
+
EOperationType["INVESTMENT"] = "investment";
|
7
|
+
EOperationType["REGULAR_PAYMENT"] = "regular_payment";
|
8
|
+
EOperationType["MONEY_TRANSFER"] = "money_transfer";
|
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
|
+
})(EOperationType || (exports.EOperationType = EOperationType = {}));
|
16
|
+
// É o tipo de pagamento. Os tipos disponíveis são os seguintes.
|
17
|
+
// investment: When money is put into an investment, such as CDB, in the Mercado Pago application;
|
18
|
+
// regular_payment: Typification by default of a purchase being paid using Mercado Pago.
|
19
|
+
// money_transfer: Funds transfer between two users.
|
20
|
+
// recurring_payment: Automatic recurring payment due to an active user subscription.
|
21
|
+
// account_fund: Money income in the user's account.
|
22
|
+
// payment_addition: Addition of money to an existing payment, made through a Mercado Pago account.
|
23
|
+
// cellphone_recharge: Recharge of a user's cellphone account.
|
24
|
+
// pos_payment: Payment done through a Point of Sale.
|
25
|
+
// money_exchange: Payment to exchange currency for a user.
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPaymentMethodId = void 0;
|
4
|
+
var EPaymentMethodId;
|
5
|
+
(function (EPaymentMethodId) {
|
6
|
+
EPaymentMethodId["ACCOUNT_MONEY"] = "account_money";
|
7
|
+
EPaymentMethodId["PIX"] = "pix";
|
8
|
+
EPaymentMethodId["TED"] = "ted";
|
9
|
+
// casos internacionais
|
10
|
+
EPaymentMethodId["DEBIN_TRANSFER"] = "debin_transfer";
|
11
|
+
EPaymentMethodId["CVU"] = "cvu";
|
12
|
+
EPaymentMethodId["PSE"] = "pse";
|
13
|
+
})(EPaymentMethodId || (exports.EPaymentMethodId = EPaymentMethodId = {}));
|
14
|
+
// Indica o identificador do meio de pagamento selecionado para efetuar o pagamento. A seguir, apresentamos alguns exemplos. Obtenha todos os meios de pagamento disponíveis consultando a API de 'Obter meios de pagamento'.
|
15
|
+
// Pix: Método de pagamento digital instantâneo utilizado no Brasil.
|
16
|
+
// Debin_transfer: Método de pagamento digital utilizado na Argentina que debita imediatamente um valor da conta, solicitando autorização prévia.
|
17
|
+
// Ted: É o pagamento por Transferência Eletrônica Disponível, usado no Brasil, que possui taxas de utilização. O pagamento é realizado no mesmo dia da transação, mas para isso, é necessário realizar a transferência dentro do período estipulado.
|
18
|
+
// CVU: Método de pagamento utilizado na Argentina.
|
19
|
+
// PSE: Método de pagamento digital utilizado na Colômbia, no qual os usuários autorizam o débito de fundos de seu banco por meio da banca virtual, seja de suas contas de poupança, corrente ou depósito eletrônico.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare enum EPaymentTypeId {
|
2
|
+
TICKET = "ticket",
|
3
|
+
BANK_TRANSFER = "bank_transfer",
|
4
|
+
ATM = "atm",
|
5
|
+
CREDIT_CARD = "credit_card",
|
6
|
+
DEBIT_CARD = "debit_card",
|
7
|
+
PREPAID_CARD = "prepaid_card",
|
8
|
+
DIGITAL_CURRENCY = "digital_currency",
|
9
|
+
DIGITAL_WALLET = "digital_wallet",
|
10
|
+
VOUCHER_CARD = "voucher_card",
|
11
|
+
CRYPTO_TRANSFER = "crypto_transfer"
|
12
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPaymentTypeId = void 0;
|
4
|
+
var EPaymentTypeId;
|
5
|
+
(function (EPaymentTypeId) {
|
6
|
+
EPaymentTypeId["TICKET"] = "ticket";
|
7
|
+
EPaymentTypeId["BANK_TRANSFER"] = "bank_transfer";
|
8
|
+
EPaymentTypeId["ATM"] = "atm";
|
9
|
+
EPaymentTypeId["CREDIT_CARD"] = "credit_card";
|
10
|
+
EPaymentTypeId["DEBIT_CARD"] = "debit_card";
|
11
|
+
EPaymentTypeId["PREPAID_CARD"] = "prepaid_card";
|
12
|
+
EPaymentTypeId["DIGITAL_CURRENCY"] = "digital_currency";
|
13
|
+
EPaymentTypeId["DIGITAL_WALLET"] = "digital_wallet";
|
14
|
+
EPaymentTypeId["VOUCHER_CARD"] = "voucher_card";
|
15
|
+
EPaymentTypeId["CRYPTO_TRANSFER"] = "crypto_transfer";
|
16
|
+
})(EPaymentTypeId || (exports.EPaymentTypeId = EPaymentTypeId = {}));
|
17
|
+
// É o tipo da forma de pagamento (cartão, transferência bancária, boleto, caixa eletrônico, etc). Podem ser dos seguintes tipos.
|
18
|
+
// ticket: Boletos, Caixa Electronica Payment, PayCash, Efecty, Oxxo, etc.
|
19
|
+
// bank_transfer: Pix e PSE (Pagos Seguros en Línea).
|
20
|
+
// atm: Pagamento em caixa eletrônico (amplamente utilizado no México através do BBVA Bancomer).
|
21
|
+
// credit_card: Pagamento com cartão de crédito.
|
22
|
+
// debit_card: Pagamento com cartão de débito.
|
23
|
+
// prepaid_card: Pagamento com cartão pré-pago.
|
24
|
+
// digital_currency: Compras com Mercado Crédito.
|
25
|
+
// digital_wallet: Paypal.
|
26
|
+
// voucher_card: Benefícios Alelo e Sodexo.
|
27
|
+
// crypto_transfer: Pagamento com criptomoedas como Ethereum e Bitcoin.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EReleaseStatus = void 0;
|
4
|
+
var EReleaseStatus;
|
5
|
+
(function (EReleaseStatus) {
|
6
|
+
EReleaseStatus["RELEASED"] = "released";
|
7
|
+
EReleaseStatus["PENDING"] = "pending";
|
8
|
+
})(EReleaseStatus || (exports.EReleaseStatus = EReleaseStatus = {}));
|
9
|
+
// Data em que o pagamento é liquidado e o dinheiro é disponibilizado na conta Mercado Pago do Collector (aquele que recebe o pagamento). O campo pode assumir os valores “pending” ou “released”, sendo que o primeiro indica que o pagamento ainda não foi liberado (dinheiro retido por tempo) e “released” significa que o dinheiro já foi liberado para o saldo disponível do usuário.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ETransactionStatus = void 0;
|
4
|
+
var ETransactionStatus;
|
5
|
+
(function (ETransactionStatus) {
|
6
|
+
ETransactionStatus["BLOCKED"] = "BLOCKED";
|
7
|
+
ETransactionStatus["PROCESSED"] = "PROCESSED";
|
8
|
+
ETransactionStatus["PROCESSING"] = "PROCESSING";
|
9
|
+
})(ETransactionStatus || (exports.ETransactionStatus = ETransactionStatus = {}));
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './interfaces';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { EReleaseStatus, EOperationType, EPaymentMethodId, EMpStatus, EMpStatusDetail, ETransactionStatus } from "../enums";
|
2
|
+
import { ITransactionBalance } from "./i-balance";
|
3
|
+
import { IFeeDeatil } from "./i-fee-detail";
|
4
|
+
import { ITransactionPaymentMethod } from "./i-payment-method";
|
5
|
+
import { ITransactionTotal } from "./i-total";
|
6
|
+
export interface ITransaction {
|
7
|
+
id: string;
|
8
|
+
referenceId: string;
|
9
|
+
card: {};
|
10
|
+
merchantId: string;
|
11
|
+
containerId: string;
|
12
|
+
dateApproved: Date;
|
13
|
+
dateCreated: Date;
|
14
|
+
dateLastUpdated: Date;
|
15
|
+
dateOfExpiration: Date;
|
16
|
+
description: string;
|
17
|
+
externalOrderReference: string;
|
18
|
+
feeDetails: IFeeDeatil[];
|
19
|
+
installments: number;
|
20
|
+
liveMode: boolean;
|
21
|
+
moneyReleaseDate: Date;
|
22
|
+
moneyReleaseStatus: EReleaseStatus;
|
23
|
+
operationType: EOperationType;
|
24
|
+
paymentMethod: ITransactionPaymentMethod;
|
25
|
+
paymentMethodId: EPaymentMethodId;
|
26
|
+
posId: string;
|
27
|
+
status: EMpStatus;
|
28
|
+
statusDetail: EMpStatusDetail;
|
29
|
+
transactionAmount: number;
|
30
|
+
transactionAmountRefunded: number;
|
31
|
+
total: ITransactionTotal;
|
32
|
+
balance: ITransactionBalance;
|
33
|
+
transactionStatus: ETransactionStatus;
|
34
|
+
}
|