cecon-interfaces 1.7.93 → 1.7.95
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/natipay/orders/entities/order.entity.mjs +4 -5
- package/dist/esm2022/natipay/orders/enums/index.mjs +1 -2
- package/dist/esm2022/natipay/orders/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/transaction/entities/transaction.entity.mjs +3 -2
- package/dist/esm2022/transaction/enums/index.mjs +2 -1
- package/dist/esm2022/transaction/enums/provider.enum.mjs +8 -0
- package/dist/esm2022/transaction/interfaces/i-transaction.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +10 -10
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/orders/entities/order.entity.d.ts +6 -7
- package/dist/natipay/orders/entities/order.entity.js +0 -1
- package/dist/natipay/orders/enums/index.d.ts +0 -1
- package/dist/natipay/orders/enums/index.js +1 -3
- package/dist/natipay/orders/interfaces/i-order.d.ts +5 -6
- package/dist/package.json +1 -1
- package/dist/transaction/entities/transaction.entity.d.ts +2 -1
- package/dist/transaction/entities/transaction.entity.js +1 -0
- package/dist/transaction/enums/index.d.ts +1 -0
- package/dist/transaction/enums/index.js +3 -1
- package/dist/transaction/enums/provider.enum.d.ts +5 -0
- package/dist/transaction/enums/provider.enum.js +10 -0
- package/dist/transaction/interfaces/i-transaction.d.ts +2 -1
- package/package.json +1 -1
- package/dist/esm2022/natipay/orders/enums/provider.enum.mjs +0 -8
- package/dist/natipay/orders/enums/provider.enum.d.ts +0 -5
- package/dist/natipay/orders/enums/provider.enum.js +0 -10
@@ -1,9 +1,9 @@
|
|
1
|
-
import { EFrom } from
|
2
|
-
import { IOrderAdditionalFee, IOrderBenefits, IOrderCancellation, IOrderCustomer, IOrderPayment, OrderTotalEntity } from
|
3
|
-
import { ENatipayOrderStatus,
|
4
|
-
import { INatipayOrder } from
|
5
|
-
import { NatipayOrderItemEntity } from
|
6
|
-
import { NatipayMercadoPagoEntity } from
|
1
|
+
import { EFrom } from '../../../general';
|
2
|
+
import { IOrderAdditionalFee, IOrderBenefits, IOrderCancellation, IOrderCustomer, IOrderPayment, OrderTotalEntity } from '../../../order';
|
3
|
+
import { ENatipayOrderStatus, ENatipaySaleChannel } from '../enums';
|
4
|
+
import { INatipayOrder } from '../interfaces/i-order';
|
5
|
+
import { NatipayOrderItemEntity } from './item.entity';
|
6
|
+
import { NatipayMercadoPagoEntity } from './mercado-pago.entity';
|
7
7
|
export declare class NatipayOrderEntity implements INatipayOrder {
|
8
8
|
additionalFees: IOrderAdditionalFee[];
|
9
9
|
benefits: IOrderBenefits[];
|
@@ -19,7 +19,6 @@ export declare class NatipayOrderEntity implements INatipayOrder {
|
|
19
19
|
items: NatipayOrderItemEntity[];
|
20
20
|
mercadoPago: NatipayMercadoPagoEntity | null;
|
21
21
|
payments: IOrderPayment | null;
|
22
|
-
provider: ENatipayProvider;
|
23
22
|
reference: string;
|
24
23
|
saleChannel: ENatipaySaleChannel;
|
25
24
|
sandbox: boolean;
|
@@ -20,7 +20,6 @@ var NatipayOrderEntity = /** @class */ (function () {
|
|
20
20
|
this.items = [];
|
21
21
|
this.mercadoPago = null;
|
22
22
|
this.payments = null;
|
23
|
-
this.provider = enums_1.ENatipayProvider.DEFAULT;
|
24
23
|
this.reference = '';
|
25
24
|
this.saleChannel = enums_1.ENatipaySaleChannel.NATI_PDV;
|
26
25
|
this.sandbox = false;
|
@@ -1,10 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
// index.ts
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.ENatipaySaleChannel = exports.
|
4
|
+
exports.ENatipaySaleChannel = exports.ENatipayOrderStatus = void 0;
|
5
5
|
var order_status_enum_1 = require("./order-status.enum");
|
6
6
|
Object.defineProperty(exports, "ENatipayOrderStatus", { enumerable: true, get: function () { return order_status_enum_1.ENatipayOrderStatus; } });
|
7
|
-
var provider_enum_1 = require("./provider.enum");
|
8
|
-
Object.defineProperty(exports, "ENatipayProvider", { enumerable: true, get: function () { return provider_enum_1.ENatipayProvider; } });
|
9
7
|
var sale_channel_enum_1 = require("./sale-channel.enum");
|
10
8
|
Object.defineProperty(exports, "ENatipaySaleChannel", { enumerable: true, get: function () { return sale_channel_enum_1.ENatipaySaleChannel; } });
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { EFrom } from
|
2
|
-
import { IOrderAdditionalFee, IOrderBenefits, IOrderCancellation, IOrderCustomer, IOrderPayment, IOrderTotal } from
|
3
|
-
import { ENatipayOrderStatus,
|
4
|
-
import { INatipayOrderItem } from
|
5
|
-
import { INatipayMercadoPago } from
|
1
|
+
import { EFrom } from '../../../general';
|
2
|
+
import { IOrderAdditionalFee, IOrderBenefits, IOrderCancellation, IOrderCustomer, IOrderPayment, IOrderTotal } from '../../../order';
|
3
|
+
import { ENatipayOrderStatus, ENatipaySaleChannel } from '../enums';
|
4
|
+
import { INatipayOrderItem } from './i-item';
|
5
|
+
import { INatipayMercadoPago } from './i-mercado-pago';
|
6
6
|
export interface INatipayOrder {
|
7
7
|
additionalFees: IOrderAdditionalFee[];
|
8
8
|
benefits: IOrderBenefits[];
|
@@ -18,7 +18,6 @@ export interface INatipayOrder {
|
|
18
18
|
items: INatipayOrderItem[];
|
19
19
|
mercadoPago: INatipayMercadoPago | null;
|
20
20
|
payments: IOrderPayment | null;
|
21
|
-
provider: ENatipayProvider;
|
22
21
|
reference: string;
|
23
22
|
saleChannel: ENatipaySaleChannel;
|
24
23
|
sandbox: boolean;
|
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { EFrom, IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { ENatipaySaleChannel } from '../../natipay';
|
3
|
-
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
3
|
+
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionProvider, ETransactionStatus } from '../enums';
|
4
4
|
import { ITransaction } from '../interfaces';
|
5
5
|
import { FeeDetailEntity } from './fee-detail.entity';
|
6
6
|
import { TransactionBalanceEntity } from './transaction-balance.entity';
|
@@ -30,6 +30,7 @@ export declare class TransactionEntity implements ITransaction {
|
|
30
30
|
paymentMethod: TransactionPaymentMethodEntity | null;
|
31
31
|
paymentMethodId: EPaymentMethodId;
|
32
32
|
posId: string;
|
33
|
+
provider: ETransactionProvider;
|
33
34
|
referenceId: string;
|
34
35
|
resumeVersion: string;
|
35
36
|
saleChannel: ENatipaySaleChannel;
|
@@ -29,6 +29,7 @@ var TransactionEntity = /** @class */ (function () {
|
|
29
29
|
this.paymentMethod = null;
|
30
30
|
this.paymentMethodId = enums_1.EPaymentMethodId.ACCOUNT_MONEY;
|
31
31
|
this.posId = '';
|
32
|
+
this.provider = enums_1.ETransactionProvider.DEFAULT;
|
32
33
|
this.referenceId = '';
|
33
34
|
this.resumeVersion = '';
|
34
35
|
this.saleChannel = natipay_1.ENatipaySaleChannel.NATI_PDV;
|
@@ -7,3 +7,4 @@ export { EReleaseStatus } from './release-status.enum';
|
|
7
7
|
export { ETransactionResumesTargetType } from './transaction-resumes-target-type.enum';
|
8
8
|
export { ETransactionStatus } from './transaction-status.enum';
|
9
9
|
export { EAmountMode } from './amount-mode.enum';
|
10
|
+
export { ETransactionProvider } from './provider.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EAmountMode = exports.ETransactionStatus = exports.ETransactionResumesTargetType = exports.EReleaseStatus = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = exports.EOperationType = exports.EMpStatus = exports.EMpStatusDetail = void 0;
|
3
|
+
exports.ETransactionProvider = exports.EAmountMode = exports.ETransactionStatus = exports.ETransactionResumesTargetType = exports.EReleaseStatus = exports.EPaymentTypeId = exports.EPaymentMethodId = exports.ESponsorIdentifier = 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");
|
@@ -20,3 +20,5 @@ var transaction_status_enum_1 = require("./transaction-status.enum");
|
|
20
20
|
Object.defineProperty(exports, "ETransactionStatus", { enumerable: true, get: function () { return transaction_status_enum_1.ETransactionStatus; } });
|
21
21
|
var amount_mode_enum_1 = require("./amount-mode.enum");
|
22
22
|
Object.defineProperty(exports, "EAmountMode", { enumerable: true, get: function () { return amount_mode_enum_1.EAmountMode; } });
|
23
|
+
var provider_enum_1 = require("./provider.enum");
|
24
|
+
Object.defineProperty(exports, "ETransactionProvider", { enumerable: true, get: function () { return provider_enum_1.ETransactionProvider; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ETransactionProvider = void 0;
|
4
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
5
|
+
var ETransactionProvider;
|
6
|
+
(function (ETransactionProvider) {
|
7
|
+
ETransactionProvider["MERCADO_PAGO"] = "MERCADO-PAGO";
|
8
|
+
ETransactionProvider["FIRE_BANK"] = "FIRE-BANK";
|
9
|
+
ETransactionProvider["DEFAULT"] = "DEFAULT";
|
10
|
+
})(ETransactionProvider || (exports.ETransactionProvider = ETransactionProvider = {}));
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { EFrom, IDesenfilaInfo, IInfo, IMobyoInfo } from '../../general';
|
2
2
|
import { ENatipaySaleChannel } from '../../natipay/orders/enums';
|
3
|
-
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionStatus } from '../enums';
|
3
|
+
import { EMpStatus, EMpStatusDetail, EOperationType, EPaymentMethodId, EReleaseStatus, ETransactionProvider, ETransactionStatus } from '../enums';
|
4
4
|
import { ITransactionBalance } from './i-balance';
|
5
5
|
import { IFeeDetail } from './i-fee-detail';
|
6
6
|
import { ITransactionPaymentMethod } from './i-payment-method';
|
@@ -22,6 +22,7 @@ export interface ITransaction {
|
|
22
22
|
installments: number;
|
23
23
|
liveMode: boolean;
|
24
24
|
mobyoInfo: IMobyoInfo | null;
|
25
|
+
provider: ETransactionProvider;
|
25
26
|
moneyReleaseDate: Date | null;
|
26
27
|
moneyReleaseStatus: EReleaseStatus;
|
27
28
|
natiInfo: IInfo | null;
|
package/package.json
CHANGED
@@ -1,8 +0,0 @@
|
|
1
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
2
|
-
export var ENatipayProvider;
|
3
|
-
(function (ENatipayProvider) {
|
4
|
-
ENatipayProvider["MAERCADO_PAGO"] = "MERCADO-PAGO";
|
5
|
-
ENatipayProvider["FIRE_BANK"] = "FIRE-BANK";
|
6
|
-
ENatipayProvider["DEFAULT"] = "DEFAULT";
|
7
|
-
})(ENatipayProvider || (ENatipayProvider = {}));
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXIuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9uYXRpcGF5L29yZGVycy9lbnVtcy9wcm92aWRlci5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxNQUFNLENBQU4sSUFBWSxnQkFJWDtBQUpELFdBQVksZ0JBQWdCO0lBQzFCLGtEQUE4QixDQUFBO0lBQzlCLDJDQUF1QixDQUFBO0lBQ3ZCLHVDQUFtQixDQUFBO0FBQ3JCLENBQUMsRUFKVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBSTNCIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uICovXHJcbmV4cG9ydCBlbnVtIEVOYXRpcGF5UHJvdmlkZXIge1xyXG4gIE1BRVJDQURPX1BBR08gPSAnTUVSQ0FETy1QQUdPJyxcclxuICBGSVJFX0JBTksgPSAnRklSRS1CQU5LJyxcclxuICBERUZBVUxUID0gJ0RFRkFVTFQnLFxyXG59XHJcbiJdfQ==
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ENatipayProvider = void 0;
|
4
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
5
|
-
var ENatipayProvider;
|
6
|
-
(function (ENatipayProvider) {
|
7
|
-
ENatipayProvider["MAERCADO_PAGO"] = "MERCADO-PAGO";
|
8
|
-
ENatipayProvider["FIRE_BANK"] = "FIRE-BANK";
|
9
|
-
ENatipayProvider["DEFAULT"] = "DEFAULT";
|
10
|
-
})(ENatipayProvider || (exports.ENatipayProvider = ENatipayProvider = {}));
|